]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
soft-fp: make extensions quiet signaling NaNs (bug 16041).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e5c2c2d0
JM
12013-10-17 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16041]
4 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5 make result into a quiet NaN.
6
51ca9e29
JM
72013-10-16 Joseph Myers <joseph@codesourcery.com>
8
9 * soft-fp/adddf3.c: Fix horizontal whitespace.
10 * soft-fp/addsf3.c: Likewise.
11 * soft-fp/addtf3.c: Likewise.
12 * soft-fp/divdf3.c: Likewise.
13 * soft-fp/divsf3.c: Likewise.
14 * soft-fp/divtf3.c: Likewise.
15 * soft-fp/double.h: Likewise.
16 * soft-fp/eqdf2.c: Likewise.
17 * soft-fp/eqsf2.c: Likewise.
18 * soft-fp/eqtf2.c: Likewise.
19 * soft-fp/extenddftf2.c: Likewise.
20 * soft-fp/extended.h: Likewise.
21 * soft-fp/extendsfdf2.c: Likewise.
22 * soft-fp/extendsftf2.c: Likewise.
23 * soft-fp/extendxftf2.c: Likewise.
24 * soft-fp/fixdfdi.c: Likewise.
25 * soft-fp/fixdfsi.c: Likewise.
26 * soft-fp/fixdfti.c: Likewise.
27 * soft-fp/fixsfdi.c: Likewise.
28 * soft-fp/fixsfsi.c: Likewise.
29 * soft-fp/fixsfti.c: Likewise.
30 * soft-fp/fixtfdi.c: Likewise.
31 * soft-fp/fixtfsi.c: Likewise.
32 * soft-fp/fixtfti.c: Likewise.
33 * soft-fp/fixunsdfdi.c: Likewise.
34 * soft-fp/fixunsdfsi.c: Likewise.
35 * soft-fp/fixunsdfti.c: Likewise.
36 * soft-fp/fixunssfdi.c: Likewise.
37 * soft-fp/fixunssfsi.c: Likewise.
38 * soft-fp/fixunssfti.c: Likewise.
39 * soft-fp/fixunstfdi.c: Likewise.
40 * soft-fp/fixunstfsi.c: Likewise.
41 * soft-fp/fixunstfti.c: Likewise.
42 * soft-fp/floatdidf.c: Likewise.
43 * soft-fp/floatdisf.c: Likewise.
44 * soft-fp/floatditf.c: Likewise.
45 * soft-fp/floatsidf.c: Likewise.
46 * soft-fp/floatsisf.c: Likewise.
47 * soft-fp/floatsitf.c: Likewise.
48 * soft-fp/floattidf.c: Likewise.
49 * soft-fp/floattisf.c: Likewise.
50 * soft-fp/floattitf.c: Likewise.
51 * soft-fp/floatundidf.c: Likewise.
52 * soft-fp/floatundisf.c: Likewise.
53 * soft-fp/floatunditf.c: Likewise.
54 * soft-fp/floatunsidf.c: Likewise.
55 * soft-fp/floatunsisf.c: Likewise.
56 * soft-fp/floatunsitf.c: Likewise.
57 * soft-fp/floatuntidf.c: Likewise.
58 * soft-fp/floatuntisf.c: Likewise.
59 * soft-fp/floatuntitf.c: Likewise.
60 * soft-fp/fmadf4.c: Likewise.
61 * soft-fp/fmasf4.c: Likewise.
62 * soft-fp/fmatf4.c: Likewise.
63 * soft-fp/gedf2.c: Likewise.
64 * soft-fp/gesf2.c: Likewise.
65 * soft-fp/getf2.c: Likewise.
66 * soft-fp/ledf2.c: Likewise.
67 * soft-fp/lesf2.c: Likewise.
68 * soft-fp/letf2.c: Likewise.
69 * soft-fp/muldf3.c: Likewise.
70 * soft-fp/mulsf3.c: Likewise.
71 * soft-fp/multf3.c: Likewise.
72 * soft-fp/negdf2.c: Likewise.
73 * soft-fp/negsf2.c: Likewise.
74 * soft-fp/negtf2.c: Likewise.
75 * soft-fp/op-1.h: Likewise.
76 * soft-fp/op-2.h: Likewise.
77 * soft-fp/op-4.h: Likewise.
78 * soft-fp/op-8.h: Likewise.
79 * soft-fp/op-common.h: Likewise.
80 * soft-fp/quad.h: Likewise.
81 * soft-fp/single.h: Likewise.
82 * soft-fp/soft-fp.h: Likewise.
83 * soft-fp/sqrtdf2.c: Likewise.
84 * soft-fp/sqrtsf2.c: Likewise.
85 * soft-fp/sqrttf2.c: Likewise.
86 * soft-fp/subdf3.c: Likewise.
87 * soft-fp/subsf3.c: Likewise.
88 * soft-fp/subtf3.c: Likewise.
89 * soft-fp/truncdfsf2.c: Likewise.
90 * soft-fp/trunctfdf2.c: Likewise.
91 * soft-fp/trunctfsf2.c: Likewise.
92 * soft-fp/trunctfxf2.c: Likewise.
93 * soft-fp/unorddf2.c: Likewise.
94 * soft-fp/unordsf2.c: Likewise.
95 * soft-fp/unordtf2.c: Likewise.
96
9ebb0332
JM
972013-10-15 Joseph Myers <joseph@codesourcery.com>
98
99 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
100 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
101
4b1a6d8b
OB
1022013-10-15 Ondřej Bílka <neleai@seznam.cz>
103
104 * elf/dl-libc.c: Clear initfini list after freeing.
105
1e145589
JM
1062013-10-14 Joseph Myers <joseph@codesourcery.com>
107
108 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
109 * soft-fp/addsf3.c: Likewise.
110 * soft-fp/addtf3.c: Likewise.
111 * soft-fp/divdf3.c: Likewise.
112 * soft-fp/divsf3.c: Likewise.
113 * soft-fp/divtf3.c: Likewise.
114 * soft-fp/double.h: Likewise.
115 * soft-fp/eqdf2.c: Likewise.
116 * soft-fp/eqsf2.c: Likewise.
117 * soft-fp/eqtf2.c: Likewise.
118 * soft-fp/extenddftf2.c: Likewise.
119 * soft-fp/extended.h: Likewise.
120 * soft-fp/extendsfdf2.c: Likewise.
121 * soft-fp/extendsftf2.c: Likewise.
122 * soft-fp/extendxftf2.c: Likewise.
123 * soft-fp/fixdfdi.c: Likewise.
124 * soft-fp/fixdfsi.c: Likewise.
125 * soft-fp/fixdfti.c: Likewise.
126 * soft-fp/fixsfdi.c: Likewise.
127 * soft-fp/fixsfsi.c: Likewise.
128 * soft-fp/fixsfti.c: Likewise.
129 * soft-fp/fixtfdi.c: Likewise.
130 * soft-fp/fixtfsi.c: Likewise.
131 * soft-fp/fixtfti.c: Likewise.
132 * soft-fp/fixunsdfdi.c: Likewise.
133 * soft-fp/fixunsdfsi.c: Likewise.
134 * soft-fp/fixunsdfti.c: Likewise.
135 * soft-fp/fixunssfdi.c: Likewise.
136 * soft-fp/fixunssfsi.c: Likewise.
137 * soft-fp/fixunssfti.c: Likewise.
138 * soft-fp/fixunstfdi.c: Likewise.
139 * soft-fp/fixunstfsi.c: Likewise.
140 * soft-fp/fixunstfti.c: Likewise.
141 * soft-fp/floatdidf.c: Likewise.
142 * soft-fp/floatdisf.c: Likewise.
143 * soft-fp/floatditf.c: Likewise.
144 * soft-fp/floatsidf.c: Likewise.
145 * soft-fp/floatsisf.c: Likewise.
146 * soft-fp/floatsitf.c: Likewise.
147 * soft-fp/floattidf.c: Likewise.
148 * soft-fp/floattisf.c: Likewise.
149 * soft-fp/floattitf.c: Likewise.
150 * soft-fp/floatundidf.c: Likewise.
151 * soft-fp/floatundisf.c: Likewise.
152 * soft-fp/floatunsidf.c: Likewise.
153 * soft-fp/floatunsisf.c: Likewise.
154 * soft-fp/floatuntidf.c: Likewise.
155 * soft-fp/floatuntisf.c: Likewise.
156 * soft-fp/floatuntitf.c: Likewise.
157 * soft-fp/fmadf4.c: Likewise.
158 * soft-fp/fmasf4.c: Likewise.
159 * soft-fp/fmatf4.c: Likewise.
160 * soft-fp/gedf2.c: Likewise.
161 * soft-fp/gesf2.c: Likewise.
162 * soft-fp/getf2.c: Likewise.
163 * soft-fp/ledf2.c: Likewise.
164 * soft-fp/lesf2.c: Likewise.
165 * soft-fp/letf2.c: Likewise.
166 * soft-fp/muldf3.c: Likewise.
167 * soft-fp/mulsf3.c: Likewise.
168 * soft-fp/multf3.c: Likewise.
169 * soft-fp/negdf2.c: Likewise.
170 * soft-fp/negsf2.c: Likewise.
171 * soft-fp/negtf2.c: Likewise.
172 * soft-fp/op-1.h: Likewise.
173 * soft-fp/op-2.h: Likewise.
174 * soft-fp/op-4.h: Likewise.
175 * soft-fp/op-8.h: Likewise.
176 * soft-fp/op-common.h: Likewise.
177 * soft-fp/quad.h: Likewise.
178 * soft-fp/single.h: Likewise.
179 * soft-fp/soft-fp.h: Likewise.
180 * soft-fp/sqrtdf2.c: Likewise.
181 * soft-fp/sqrtsf2.c: Likewise.
182 * soft-fp/sqrttf2.c: Likewise.
183 * soft-fp/subdf3.c: Likewise.
184 * soft-fp/subsf3.c: Likewise.
185 * soft-fp/subtf3.c: Likewise.
186 * soft-fp/truncdfsf2.c: Likewise.
187 * soft-fp/trunctfdf2.c: Likewise.
188 * soft-fp/trunctfsf2.c: Likewise.
189 * soft-fp/trunctfxf2.c: Likewise.
190 * soft-fp/unorddf2.c: Likewise.
191 * soft-fp/unordsf2.c: Likewise.
192 * soft-fp/unordtf2.c: Likewise.
193
17c48a60
OB
1942013-10-14 Ondřej Bílka <neleai@seznam.cz>
195
196 [BZ #15672]
197 * misc/error.c (error_tail): Fix possible buffer overflow.
198
cabba934
OB
1992013-10-14 Aurelien Jarno <aurelien@aurel32.net>
200
201 [BZ #13028]
202 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
203 address.
204
94bf958a
PM
2052013-10-14 P. J. McDermott <pj@pehjota.net>
206
207 [BZ #832]
208 * elf/ldd.bash.in (try_trace): New function. Delete previous code
209 testing pipefail option.
210
71b4dea7
JM
2112013-10-12 Joseph Myers <joseph@codesourcery.com>
212
213 * soft-fp/double.h: Indent preprocessor directives inside #if.
214 * soft-fp/extended.h: Likewise.
215 * soft-fp/op-2.h: Likewise.
216 * soft-fp/op-4.h: Likewise.
217 * soft-fp/op-common.h: Likewise.
218 * soft-fp/quad.h: Likewise.
219 * soft-fp/single.h: Likewise.
220 * soft-fp/soft-fp.h: Likewise.
221
55602758
YC
2222013-10-12 Yuri Chornoivan <yurchor@ukr.net>
223
224 * iconv/iconv_prog.c: Fix typos.
225 * stdio-common/psiginfo-data.h: Likewise.
226
9cd83302
RT
2272013-10-12 Reuben Thomas <rrt@sc3d.org>
228
229 [BZ #15764]
230 * locale/setlocale.c: Fix typo.
231
99fd9f47
JM
2322013-10-12 Joseph Myers <joseph@codesourcery.com>
233
b7ea74f0
JM
234 [BZ #16036]
235 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
236 signaling NaN arguments.
237 * soft-fp/unordsf2.c (__unordsf2): Likewise.
238 * soft-fp/unordtf2.c (__unordtf2): Likewise.
239
8a509447
JM
240 [BZ #14910]
241 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
242 unordered operands.
243 * soft-fp/gesf2.c (__gesf2): Likewise.
244 * soft-fp/getf2.c (__getf2): Likewise.
245 * soft-fp/ledf2.c (__ledf2): Likewise.
246 * soft-fp/lesf2.c (__lesf2): Likewise.
247 * soft-fp/letf2.c (__letf2): Likewise.
248
98998e9f
JM
249 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
250 * soft-fp/eqsf2.c (__eqsf2): Likewise.
251 * soft-fp/eqtf2.c (__eqtf2): Likewise.
252 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
253 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
254 * soft-fp/fixdfti.c (__fixdfti): Likewise.
255 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
256 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
257 * soft-fp/fixsfti.c (__fixsfti): Likewise.
258 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
259 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
260 * soft-fp/fixtfti.c (__fixtfti): Likewise.
261 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
262 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
263 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
264 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
265 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
266 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
267 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
268 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
269 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
270 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
271 * soft-fp/floatdisf.c (__floatdisf): Likewise.
272 * soft-fp/floatsisf.c (__floatsisf): Likewise.
273 * soft-fp/floattidf.c (__floattidf): Likewise.
274 * soft-fp/floattisf.c (__floattisf): Likewise.
275 * soft-fp/floattitf.c (__floattitf): Likewise.
276 * soft-fp/floatundidf.c (__floatundidf): Likewise.
277 * soft-fp/floatundisf.c (__floatundisf): Likewise.
278 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
279 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
280 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
281 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
282 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
283 * soft-fp/gesf2.c (__gesf2): Likewise.
284 * soft-fp/getf2.c (__getf2): Likewise.
285 * soft-fp/ledf2.c (__ledf2): Likewise.
286 * soft-fp/lesf2.c (__lesf2): Likewise.
287 * soft-fp/letf2.c (__letf2): Likewise.
288
8edc4a11
JM
289 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
290 Undefine and redefine.
291 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
292 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
293 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
294 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
295 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
296 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
297 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
298 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
299 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
300 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
301 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
302 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
303 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
304 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
305 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
306
8399acaf
JM
307 [BZ #16032]
308 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
309 without decrementing exponent if mantissa >= that for the
310 denominator, not >.
311 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
312 denominator, not >. Decrement exponent in < case instead of
313 incrementing in >= case.
314 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
315 without decrementing exponent if mantissa >= that for the
316 denominator, not >.
317
99fd9f47
JM
318 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
319 computing saturated result for unsigned overflow.
320
10e1cf6b
SP
3212013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
322 Jeff Law <law@redhat.com>
323
324 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
325 (atan2Mp): Add systemtap probe marker.
326 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
327 (__ieee754_log): Add systemtap probe marker.
328 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
329 (atanMp): Add systemtap probe marker.
330 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
331 (tanMp): Add systemtap probe marker.
332 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
333 (__slowexp): Add systemtap probe marker.
334 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
335 (__slowpow): Add systemtap probe marker.
336 * manual/probes.texi: Document probes.
337
3d110c7c
EB
3382013-10-11 Eric Biggers <ebiggers3@gmail.com>
339
340 [BZ #15362]
341 * libio/fileops.c (_IO_new_file_write): Return count of bytes
342 written.
343 (_IO_new_file_xsputn): Don't return EOF if nothing has been
344 written.
345 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
346 written to buffer but not flushed.
347 * libio/iofwrite_u.c: Likewise.
348 * libio/iopadn.c: Return bytes returned even if EOF was
349 encountered.
350 * libio/iowpadn.c: Likewise.
351 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
352 if _IO_padn does not write the whole buffer.
353 [!COMPILE_WPRINTF] (PAD): Likewise.
354
75b4202a
DM
3552013-10-10 David S. Miller <davem@davemloft.net>
356
357 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
358 directory block.
359
6c6352e6
JM
3602013-10-10 Joseph Myers <joseph@codesourcery.com>
361
33b853c3
JM
362 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
363 instead of FSF address.
364 * soft-fp/fixdfti.c: Likewise.
365 * soft-fp/fixsfti.c: Likewise.
366 * soft-fp/fixtfti.c: Likewise.
367 * soft-fp/fixunsdfti.c: Likewise.
368 * soft-fp/fixunssfti.c: Likewise.
369 * soft-fp/fixunstfti.c: Likewise.
370 * soft-fp/floattidf.c: Likewise.
371 * soft-fp/floattisf.c: Likewise.
372 * soft-fp/floattitf.c: Likewise.
373 * soft-fp/floatuntidf.c: Likewise.
374 * soft-fp/floatuntisf.c: Likewise.
375 * soft-fp/floatuntitf.c: Likewise.
376 * soft-fp/trunctfxf2.c: Likewise.
377
6c6352e6
JM
378 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
379 * soft-fp/fixdfti.c: Likewise.
380 * soft-fp/fixsfti.c: Likewise.
381 * soft-fp/fixtfti.c: Likewise.
382 * soft-fp/fixunsdfti.c: Likewise.
383 * soft-fp/fixunssfti.c: Likewise.
384 * soft-fp/fixunstfti.c: Likewise.
385 * soft-fp/floattidf.c: Likewise.
386 * soft-fp/floattisf.c: Likewise.
387 * soft-fp/floattitf.c: Likewise.
388 * soft-fp/floatuntidf.c: Likewise.
389 * soft-fp/floatuntisf.c: Likewise.
390 * soft-fp/floatuntitf.c: Likewise.
391 * soft-fp/trunctfxf2.c: Likewise.
392
3bf78b71
DM
3932013-10-10 David S. Miller <davem@davemloft.net>
394
395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
396
6f10289e
JM
3972013-10-10 Joseph Myers <joseph@codsourcery.com>
398
bd878fc0
JM
399 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
400 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
401 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
402 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
403 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
404 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
405 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
406
6f10289e
JM
407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
408 for NaNs before doing comparisons on argument.
409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
410 Likewise.
411
321e2684
WN
4122013-10-10 Will Newton <will.newton@linaro.org>
413
414 * malloc/hooks.c (memalign_check): Ensure the value of bytes
415 passed to _int_memalign does not overflow.
416
40fefba1
TR
4172013-10-10 Torvald Riegel <triegel@redhat.com>
418
419 * scripts/bench.pl: Add include-sources directive.
420 * benchtests/README: Update documentation.
421
2ae21ed2
JM
4222013-10-10 Joseph Myers <joseph@codesourcery.com>
423
dcc2dd3f
JM
424 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
425 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
426 instead of FP_INIT_ROUNDMODE.
427 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
428 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
429
2ae21ed2
JM
430 [BZ #16034]
431 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
432 copy class of input value.
433 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
434 not handle exceptions.
435 * soft-fp/negsf2.c (__negsf2): Likewise.
436 * soft-fp/negtf2.c (__negtf2): Likewise.
437 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
438
cb8f9562
JM
4392013-10-09 Joseph Myers <joseph@codesourcery.com>
440
441 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
442 semicolon. From Linux kernel.
443
5b60c59d
AB
4442013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
445
446 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
447
b86835ca
YC
4482013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
449
450 [BZ #156]
451 * manual/socket.texi: Added statement about buffer
452 for gethostbyname2_r.
453
e7044ea7
OB
4542013-10-08 Ondřej Bílka <neleai@seznam.cz>
455
456 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
457 Use .p2align directive instead, throughout.
458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
459 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
460 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
463 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
464 * sysdeps/x86_64/strchr.S: Likewise.
465 * sysdeps/x86_64/strrchr.S: Likewise.
466
09544cbc
SP
4672013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
468
88576635
SP
469 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
470
e7b2d1dd
SP
471 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
472
09544cbc
SP
473 * sysdeps/generic/math_private.h (__mpsin1): Remove
474 declaration.
475 (__mpcos1): Likewise.
476 (__mpsin): New argument __range_reduce.
477 (__mpcos): Likewise.
478 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
479 (slow): Use __mpsin and __mpcos.
480 (slow1): Likewise.
481 (slow2): Likewise.
482 (sloww): Likewise.
483 (sloww1): Likewise.
484 (sloww2): Likewise.
485 (bsloww): Likewise.
486 (bsloww1): Likewise.
487 (bsloww2): Likewise.
488 (cslow2): Likewise.
489 (csloww): Likewise.
490 (csloww1): Likewise.
491 (csloww2): Likewise.
492 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
493 range_reduce. Merge in __mpsin1.
494 (__mpcos): Likewise.
495 (__mpsin1): Remove.
496 (__mpcos1): Likewise.
497
7602d070
JM
4982013-10-07 Joseph Myers <joseph@codesourcery.com>
499
500 * locale/loadlocale.c (_nl_intern_locale_data): Use
501 LOCFILE_ALIGNED_P.
502 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
503 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
504 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
505 obstack data is appropriately aligned.
506 (obstack_int32_grow_fast): Likewise.
507 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
508 * locale/programs/locfile.c (add_locale_uint32): Likewise.
509 (add_locale_uint32_array): Likewise.
510
a357259b
SP
5112013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
512
513 * benchtests/Makefile: Remove ARGLIST and RET variables.
514 ($(objpfx)bench-%.c): Pass only function name to the script.
515 * benchtests/README: Update documentation.
516 * benchtests/acos-inputs: Add new directives.
517 * benchtests/acosh-inputs: Likewise.
518 * benchtests/asin-inputs: Likewise.
519 * benchtests/asinh-inputs: Likewise.
520 * benchtests/atan-inputs: Likewise.
521 * benchtests/atanh-inputs: Likewise.
522 * benchtests/cos-inputs: Likewise.
523 * benchtests/cosh-inputs: Likewise.
524 * benchtests/exp-inputs: Likewise.
525 * benchtests/log-inputs: Likewise.
526 * benchtests/pow-inputs: Likewise.
527 * benchtests/rint-inputs: Likewise.
528 * benchtests/sin-inputs: Likewise.
529 * benchtests/sinh-inputs: Likewise.
530 * benchtests/tan-inputs: Likewise.
531 * benchtests/tanh-inputs: Likewise.
532 * scripts/bench.pl: Add support for new directives.
533
9ec1b13d
AM
5342013-10-07 Alan Modra <amodra@gmail.com>
535
536 * README: Fix careless merge.
537
8b7d57cd
AM
5382013-10-05 Alan Modra <amodra@gmail.com>
539
540 * NEWS: Mention powerpc64le support and bugs fixed.
541 * README: Both big-endian and little-endian powerpc64 supported.
542
7b7bab13
ST
5432013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
544
545 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
546 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
547 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
548 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
549
d39baad1
RA
5502013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
551
552 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
553 match prototype.
554
cd78f7e7
JM
5552013-10-04 Joseph Myers <joseph@codesourcery.com>
556
29d73d86
JM
557 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
558 Move -mhard-float appending from
559 ports/sysdeps/powerpc/powerpc32/Makefile.
560 [$(with-fp) = yes] (ASFLAGS): Likewise.
561 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
562 * sysdeps/powerpc/nofpu: Move directory from
563 ports/sysdeps/powerpc/nofpu.
564 * sysdeps/powerpc/soft-fp: Move directory from
565 ports/sysdeps/powerpc/soft-fp.
566 * sysdeps/powerpc/powerpc32/405: Move directory from
567 ports/sysdeps/powerpc/powerpc32/405.
568 * sysdeps/powerpc/powerpc32/440: Move directory from
569 ports/sysdeps/powerpc/powerpc32/440.
570 * sysdeps/powerpc/powerpc32/464: Move directory from
571 ports/sysdeps/powerpc/powerpc32/464.
572 * sysdeps/powerpc/powerpc32/476: Move directory from
573 ports/sysdeps/powerpc/powerpc32/476.
574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
575 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
577 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
579 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
581 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
583 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
584 * README: Update for powerpc-*-linux-gnu software floating point
585 support in libc.
586
e246b347
JM
587 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
588 case to powerpc/powerpc32*.
589 * sysdeps/unix/sysv/linux/configure: Regenerated.
590
89c2003e
JM
591 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
592 (_FPU_MASK_OM): Define as 0x04.
593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
595 0x00c10080.
596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
597 0x0000003c.
598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
599
cd78f7e7
JM
600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
601 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
602 getcontext_e500.
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
604 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
605 setcontext_e500.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
607 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
608 and setcontext_e500.
609
c755294d
CL
6102013-10-04 Chris Leonard <cjl@sugarlabs,.org>
611
612 * locale/iso-3166.def: Update iso-1366.def and related occurrences
613
e16d221c
SP
6142013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
615
616 * manual/threads.texi (Default Thread Attributes): Fix typo.
617
215c7d43
WN
6182013-10-04 Will Newton <will.newton@linaro.org>
619
620 * malloc/Makefile: Add tst-memalign.
621 * malloc/tst-memalign.c: New file.
622
27d0461b
WN
623 * malloc/tst-posix_memalign.c: Add comments.
624 (do_test): Add comments and call free on all potentially
625 allocated pointers. Add space after cast.
626
1bc92709
WN
627 * malloc/tst-pvalloc.c: Add comments.
628 (do_test): Add comments and call free on all potentially
629 allocated pointers. Remove duplicate check for NULL pointer.
630 Add space after cast.
631
66a9be9d
WN
632 * malloc/tst-valloc.c: Add comments.
633 (do_test): Add comments and call free on all potentially
634 allocated pointers. Remove duplicate check for NULL pointer.
635 Add space after cast.
636
4cb81307
AM
6372013-10-04 Alan Modra <amodra@gmail.com>
638
639 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
640 Use stdint types in rather than __attribute__((mode())).
641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
642
f8e3e9f3
AM
6432013-10-04 Alan Modra <amodra@gmail.com>
644
645 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
646 Correct handling of unaligned relocs for little-endian.
647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
648
8f9ebb08
AM
6492013-10-04 Alan Modra <amodra@gmail.com>
650
651 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
652 * configure: Regenerate.
653 * nptl/shlib-versions: Powerpc*le starts at 2.18.
654 * shlib-versions: Likewise.
655
0edf96c2
AM
6562013-10-04 Alan Modra <amodra@gmail.com>
657
658 * string/tester.c (test_memrchr): Increment reported test cycle.
659
e0f7a380
AM
6602013-10-04 Alan Modra <amodra@gmail.com>
661
662 * string/test-memcpy.c (do_one_test): When reporting errors, print
663 string address and don't overrun end of string.
664
466b0393
AM
6652013-10-04 Alan Modra <amodra@gmail.com>
666
667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
668 insrdi. Make better use of reg selection to speed exit slightly.
669 Schedule entry path a little better. Remove useless "are we done"
670 checks on entry to main loop. Handle wrapping around zero address.
671 Correct main loop count. Handle single left-over word from main
672 loop inline rather than by using loop_small. Remove extra word
673 case in loop_small caused by wrong loop count. Add little-endian
674 support.
675 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
677 cache hint.
678 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
680 support. Avoid rlwimi.
681 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
682
3be87c77
AM
6832013-10-04 Alan Modra <amodra@gmail.com>
684
685 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 686 insrdi. Formatting.
3be87c77
AM
687 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
688 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
689 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
690 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
691 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
692 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
693
759cfef3
AM
6942013-10-04 Alan Modra <amodra@gmail.com>
695
696 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
697 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
698 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
699 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
700 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
701 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
703 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
705 use of regs. Use power7 mtocrf. Tidy function tails.
706
fe6e95d7
AM
7072013-10-04 Alan Modra <amodra@gmail.com>
708
709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
710 Formatting. Consistently use rXXX register defines or rN defines.
711 Use early exit labels that avoid restoring unused non-volatile regs.
712 Make cr field use more consistent with rWORDn compares. Rename
713 regs used as shift registers for unaligned loop, using rN defines
714 for short lifetime/multiple use regs.
715 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
716 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
717 addi 1,1,64 to pop stack frame. Simplify return value code.
718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
719
664318c3
AM
7202013-10-04 Alan Modra <amodra@gmail.com>
721
722 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
723 support. Correct typos, formatting. Optimize tail. Use insrdi
724 rather than rlwimi.
725 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
726 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
727 little-endian support. Correct typos.
728 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
729 rather than rlwimi.
730 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
731 in loop and entry code to keep "and." results.
732 (strchr): Add little-endian support. Comment. Move cntlzd
733 earlier in tail.
734 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
735
43b84013
AM
7362013-10-04 Alan Modra <amodra@gmail.com>
737
738 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
739 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
740 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
741 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
742
8a7413f9
AM
7432013-10-04 Alan Modra <amodra@gmail.com>
744
745 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
746 (rTMP): Define as r11.
747 (strcmp): Add little-endian support. Optimise tail.
748 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
749 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
750 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
751 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
755
33ee81de
AM
7562013-10-04 Alan Modra <amodra@gmail.com>
757
758 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
759 little-endian support. Remove unnecessary "are we done" tests.
760 Handle "s" wrapping around zero and extremely large "size".
761 Correct main loop count. Handle single left-over word from main
762 loop inline rather than by using small_loop. Correct comments.
763 Delete "zero" tail, use "end_max" instead.
764 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
765
db9b4570
AM
7662013-10-04 Alan Modra <amodra@gmail.com>
767
768 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
769 support. Don't branch over align.
770 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
771 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
772 support. Rearrange tmp reg use to suit. Comment.
773 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
774
f7c399cf
AM
7752013-10-04 Alan Modra <amodra@gmail.com>
776
777 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
778
0b2c2ace
AM
7792013-10-04 Alan Modra <amodra@gmail.com>
780
781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
782 conditional form of branch and link when obtaining pc.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
784
02f04a6c
AM
7852013-10-04 Alan Modra <amodra@gmail.com>
786
787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
788 HIWORD/LOWORD.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
791
9b874b2f
AM
7922013-10-04 Alan Modra <amodra@gmail.com>
793
794 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
795 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
796 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
797 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
798 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
799 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
800 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
801 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
802 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
803 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
804
be1e5d31
AB
8052013-10-04 Anton Blanchard <anton@au1.ibm.com>
806 Alistair Popple <alistair@ozlabs.au.ibm.com>
807 Alan Modra <amodra@gmail.com>
808
809 [BZ #15723]
810 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
812 _dl_hwcap access for little-endian.
813 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
814 destroy vmx regs when saving unaligned.
815 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
816 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
817 destroy vmx regs when saving unaligned.
818
fef13a78
AM
8192013-10-04 Alan Modra <amodra@gmail.com>
820
821 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
822 Don't use a union to pack hi/low value.
823
76a66d51
AB
8242013-10-04 Anton Blanchard <anton@au1.ibm.com>
825
826 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
827 for little-endian.
828 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
830 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
831 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
832 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
833
6a31fe7f
AM
8342013-10-04 Alan Modra <amodra@gmail.com>
835
836 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
837 constants to usual value for .cst8 section, and remove redundant
838 high address load.
839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
840 constant for 0x1p52. Load little-endian words of double from
841 correct stack offsets.
842
7b88401f
AM
8432013-10-04 Alan Modra <amodra@gmail.com>
844
845 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
846 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
847 words of double from correct stack offsets.
848 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
849 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
850 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
853 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
855 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
856 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
857 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
860 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
861 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
862 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
863 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
864 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
865
9c008155
AM
8662013-10-04 Alan Modra <amodra@gmail.com>
867
868 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
869 64-bit int/double union.
870 (_FPU_SETCW): Likewise.
871 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
872 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
873
da13146d
AM
8742013-10-04 Alan Modra <amodra@gmail.com>
875
876 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
877 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
878
603e8410
AM
8792013-10-04 Alan Modra <amodra@gmail.com>
880
881 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
882 use vector int constants.
883 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
884
4a28b3ca
AB
8852013-10-04 Anton Blanchard <anton@au1.ibm.com>
886
887 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
888 array with long long.
889 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
890 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
891 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
892 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
893 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
894 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
895 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
896 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
897 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
898 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
899 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
900 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
901 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
902
2ca85d2b
AB
9032013-10-04 Anton Blanchard <anton@au1.ibm.com>
904
905 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
906 (__signbit): Likewise. Correct for little-endian.
907 (__signbitl): Call __signbit.
908 (lrint): Correct for little-endian.
909 (lrintf): Call lrint.
910
62a728ae
AM
9112013-10-04 Alan Modra <amodra@gmail.com>
912
913 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
914 union 32-bit int array member with 64-bit int array.
915 (t515, tm256): Double rather than long double.
916 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
917
32c301df
AM
9182013-10-04 Alan Modra <amodra@gmail.com>
919
920 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
921 Delete.
922 (IEEE854_LONG_DOUBLE_BIAS): Delete.
923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
924 version of math_ldbl.h.
925
650ef4bd
AM
9262013-10-04 Alan Modra <amodra@gmail.com>
927
928 [BZ #15734], [BZ #15735]
929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
930 all uses of ieee875 long double macros and unions. Simplify test
931 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
932 ldbl_extract_mantissa value for ix,iy exponents. Properly
933 normalize after ldbl_extract_mantissa, and don't add hidden bit
934 already handled. Don't treat low word of ieee854 mantissa like
935 low word of IBM long double and mask off bit when testing for
936 zero.
937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
938 all uses of ieee875 long double macros and unions. Simplify tests
939 for 0.0L and inf. Correct double adjustment of k. Delete dead code
940 adjusting ha,hb. Simplify code setting kld. Delete two600 and
941 two1022, instead use their values. Recognise that tests for large
942 "a" and small "b" are mutually exclusive. Rename vars. Comment.
943 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
944 Rewrite all uses of ieee875 long double macros and unions. Simplify
945 test for 0.0L and nan. Correct negation.
946 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
947 ieee875 long double macros and unions. Correct output for large
948 magnitude x. Correct absolute value calculation.
949 (__erfcl): Likewise.
950 * math/libm-test.inc: Add tests for errors discovered in IBM long
951 double versions of fmodl, remainderl, erfl and erfcl.
952
765714ca
AM
9532013-10-04 Alan Modra <amodra@gmail.com>
954
955 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
956 all uses of ieee854 long double macros and unions. Simplify tests
957 for long doubles that are fully specified by the high double.
958 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
959 Likewise.
960 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
961 Remove dead code too.
962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
963 (__ieee754_ynl): Likewise.
964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
967 Remove dead code too.
968 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
969 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
970 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
971 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
972 Simplify.
973 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
974 Simplify.
975 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
976 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
978 Comment on variable precision.
979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
981 Likewise.
982 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
985 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
987
4ebd120c
AM
9882013-10-04 Alan Modra <amodra@gmail.com>
989
990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
991 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
992 all uses of ieee854 long double macros and unions.
993 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
995 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
998 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
999 Likewise.
1000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1003 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1004 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1006 Simplify sign and nan test too.
1007 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1009 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1010 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1011 Likewise.
1012 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1013 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1014 Likewise.
1015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1016 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1017 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1018 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1021
1b6adf88
AM
10222013-10-04 Alan Modra <amodra@gmail.com>
1023
1024 * stdio-common/printf_size.c (__printf_size): Don't use
1025 union ieee854_long_double in fpnum union.
1026 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1027 signbit macro to retrieve sign from long double.
1028 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1029 retrieve sign from long double.
1030 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1031 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1032 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1033 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1034 * math/test-misc.c (main): Don't use union ieee854_long_double.
1035
4cf69995
AM
10362013-10-04 Alan Modra <amodra@gmail.com>
1037
1038 [BZ #15680]
1039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1040 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1041 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1042 calculation. Remove unnecessary test for denormal exponent.
1043 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1044 Correct handling of denormals. Avoid undefined shift behaviour.
1045 Correct normalisation of low mantissa when low double is denormal.
1046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1047 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1048 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1049 Correct normalisation of low mantissa. Test for overflow of high
1050 mantissa and normalise.
1051 (ldbl_nearbyint): Use more readable constant for two52.
1052 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1053 (__mpn_construct_long_double): Fix test for overflow of high
1054 mantissa and correct normalisation. Avoid undefined shift.
1055
9605ca6c
AM
10562013-10-04 Alan Modra <amodra@gmail.com>
1057
1058 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1059 (union ibm_extended_long_double): Define as an array of ieee754_double.
1060 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1061 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1062 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1063 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1067 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1068 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1071
975569d0
JM
10722013-10-03 Joseph Myers <joseph@codesourcery.com>
1073
d3d23756
JM
1074 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1075 page size instead of calling getpagesize.
1076
975569d0
JM
1077 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1078 (LOCFILE_ALIGN_MASK): Likewise.
1079 (LOCFILE_ALIGN_UP): Likewise.
1080 (LOCFILE_ALIGNED_P): Likewise.
1081 * locale/programs/ld-collate.c (collate_output): Use the new
1082 macros instead of __alignof__ (int32_t).
1083 * locale/weight.h (findidx): Likewise.
1084
b1fe1f2b
OB
10852013-10-03 Ondřej Bílka <neleai@seznam.cz>
1086
1087 [BZ #431]
1088 * manual/string.texi: Fix strncat and wcsncat.
1089
5f855e35
BM
10902013-10-03 Brooks Moses <bmoses@google.com>
1091
1092 [BZ #15915]
1093 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1094 * Makerules: ...here, and adjust associated comments.
1095
3cef6009
WN
10962013-10-02 Will Newton <will.newton@linaro.org>
1097
1098 * malloc/Makefile: Add tst-pvalloc.
1099 * malloc/tst-pvalloc.c: New file.
1100
7815420b
WN
11012013-10-02 Will Newton <will.newton@linaro.org>
1102
1103 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1104 improve test coverage.
1105
4868b204
WN
11062013-10-02 Will Newton <will.newton@linaro.org>
1107
1108 * malloc/Makefile: Add tst-posix_memalign.
1109 * malloc/tst-posix_memalign.c: New file.
1110
29c793b3
EB
11112013-10-01 Eric Blake <eblake@redhat.com>
1112
1113 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1114 Use __THROWNL rather than __THROW on static functions.
1115
fd967522
PM
11162013-09-30 Petr Machata <pmachata@redhat.com>
1117
1118 * elf/elf.h (R_AARCH64_ABS16): New macro.
1119 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1120 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1121 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1122 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1123 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1124 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1125 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1126 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1127 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1128 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1129 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1130 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1131 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1132 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1133 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1134 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1135 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1136 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1137 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1138 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1139 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1140 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1141 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1142 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1143 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1144 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1145 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1146 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1147 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1148 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1149 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1150 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1151 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1152 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1153 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1154 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1155 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1156 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1157 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1158 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1159 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1160 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1161 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1162 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1163 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1164 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1165 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1166 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1167 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1168 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1169 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1170 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1171 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1172 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1173 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1174 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1175 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1176 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1177 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1178 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1179 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1180 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1181 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1182 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1183 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1184 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1185 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1186 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1187 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1188 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1189 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1190 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1191 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1192 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1193 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1194 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1195 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1196 (R_AARCH64_TLSDESC_LDR): Likewise.
1197 (R_AARCH64_TLSDESC_ADD): Likewise.
1198 (R_AARCH64_TLSDESC_CALL): Likewise.
1199
b2179107
AS
12002013-09-30 Andreas Schwab <schwab@suse.de>
1201
1202 [BZ #15048]
1203 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1204 the nss database lookup.
1205 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1207
47f28d0a
MF
12082013-09-28 Mike Frysinger <vapier@gentoo.org>
1209
1210 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1211
12122013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1213
1214 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1215 ${Bash-specific parameter/pattern/string} parameter expansion.
1216 * sysdeps/unix/make-syscalls.sh: Likewise.
1217
f4518a17
KK
12182013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1219
1220 * sysdeps/sh/stackguard-macros.h: New file.
1221
dc1a95c7
OB
12222013-09-26 Ondřej Bílka <neleai@seznam.cz>
1223
1224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1226 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1227 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1228 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1229 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1230
5ebbff8f
AZ
12312013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1234 Fix thread ID register.
1235
4fd2cf9f
JM
12362013-09-25 Joseph Myers <joseph@codesourcery.com>
1237
1238 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1239 [POSIX || UNIX98]: Require rather than permitting all symbols from
1240 <time.h>.
1241 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1242 element of struct sched_param.
1243 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1244 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1245 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1246 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1247 constant.
1248
12c22bc4
OL
12492013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1250
1251 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1252 argument calculation.
1253
a03d8ea7
JM
12542013-09-24 Joseph Myers <joseph@codesourcery.com>
1255
1256 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1257 Expect macro.
1258 [POSIX] (pthread_attr_t): Do not require type.
1259 [POSIX] (pthread_cond_t): Likewise.
1260 [POSIX] (pthread_condattr_t): Likewise.
1261 [POSIX] (pthread_key_t): Likewise.
1262 [POSIX] (pthread_mutex_t): Likewise.
1263 [POSIX] (pthread_mutexattr_t): Likewise.
1264 [POSIX] (pthread_once_t): Likewise.
1265 [POSIX] (pthread_t): Likewise.
1266 [POSIX-based standards] (pthread_atfork): Expect function.
1267
6055173a
JM
12682013-09-24 Joseph Myers <joseph@codesourcery.com>
1269 Richard Sandiford <richard@codesourcery.com>
1270
1271 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1272 (swap_endianness_p): New extern variable.
1273 (set_big_endian): New inline function.
1274 (maybe_swap_uint32): Likewise.
1275 (maybe_swap_uint32_array): Likewise.
1276 (maybe_swap_uint32_obstack): Likewise.
1277 * locale/programs/locfile.c: Include <stdbool.h>.
1278 (swap_endianness_p): New variable.
1279 (add_locale_uint32): Call maybe_swap_uint32.
1280 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1281 (write_locale_data): Call maybe_swap_uint32_array.
1282 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1283 maybe_swap_uint32.
1284 (obstack_int32_grow_fast): Likewise.
1285 (output_weightwc): Call maybe_swap_uint32_obstack.
1286 (collate_output): Likewise.
1287 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1288 (OPT_LITTLE_ENDIAN): Likewise.
1289 (options): Add --little-endian and --big-endian options.
1290 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1291 * locale/programs/locarchive.c: Include "locfile.h".
1292 (GET): New macro.
1293 (SET): Likewise.
1294 (INC): Likewise.
1295 (create_archive): Use the new macros to access fields of
1296 structures directly mapped from or written to locale archives.
1297 (oldlocrecentcmp): Likewise.
1298 (enlarge_archive): Likewise.
1299 (insert_name): Likewise.
1300 (add_alias): Likewise.
1301 (add_locale): Likewise.
1302 (delete_locales_from_archive): Likewise.
1303 (show_archive_content): Likewise.
1304 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1305 locale data.
1306
39bf0bb4
RM
13072013-09-24 Roland McGrath <roland@hack.frob.com>
1308
1309 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1310 http://www.gnu.org/doc/freemanuals.texi.
1311 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1312
f02eed10
WN
13132013-09-24 Will Newton <will.newton@linaro.org>
1314
1315 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1316 macro.
1317
a3a6c312
JM
13182013-09-23 Joseph Myers <joseph@codesourcery.com>
1319
1320 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1321 unsigned char.
1322
107375ac
MR
13232013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1324
1325 * manual/threads.texi (POSIX Threads): Fix a typo.
1326
141f3a77
SP
13272013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1328
303e567a
SP
1329 [BZ #14547]
1330 * string/tst-strcoll-overflow.c: New test case.
1331 * string/Makefile (xtests): Add tst-strcoll-overflow.
1332 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1333 cache if string sizes may cause integer overflow.
1334
141f3a77
SP
1335 [BZ #14547]
1336 * string/strcoll_l.c (coll_seq): New members rule, idx,
1337 save_idx and back_us.
1338 (get_next_seq_nocache): New function.
1339 (do_compare_nocache): New function.
1340 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1341 when malloc fails.
1342
c61b4d41
CD
13432013-09-23 Carlos O'Donell <carlos@redhat.com>
1344
0b1f8e35
CD
1345 [BZ #15754]
1346 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1347 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1348 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1349
c61b4d41
CD
1350 [BZ #15754]
1351 * elf/Makefile (tests): Add tst-ptrguard1.
1352 (tests-static): Add tst-ptrguard1-static.
1353 (tst-ptrguard1-ARGS): Define.
1354 (tst-ptrguard1-static-ARGS): Define.
1355 * elf/tst-ptrguard1.c: New file.
1356 * elf/tst-ptrguard1-static.c: New file.
1357 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1358 * sysdeps/i386/stackguard-macros.h: Likewise.
1359 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1360 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1361 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1362 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1363 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1364 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1365
13662013-09-23 Hector Marco <hecmargi@upv.es>
1367 Ismael Ripoll <iripoll@disca.upv.es>
1368 Carlos O'Donell <carlos@redhat.com>
1369
1370 [BZ #15754]
1371 * sysdeps/generic/stackguard-macros.h: Define
1372 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1373 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1374 Define __pointer_chk_guard_local.
1375 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1376 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1377
f5f4e7b4
VV
13782013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1379
1380 [BZ #15859]
1381 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1382
5bb43a43
AS
13832013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1384
1385 * include/string.h (__ffs): Declare as hidden.
1386 * string/ffs.c (__ffs): Define as hidden.
1387 * sysdeps/i386/ffs.c (__ffs): Likewise.
1388 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1389 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1390 * sysdeps/s390/ffs.c (__ffs): Likewise.
1391 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1392
3ea5be54
AO
13932013-09-20 Alexandre Oliva <aoliva@redhat.com>
1394
ffb89e53
AO
1395 * NEWS: Mention malloc probes.
1396
322dea08
AO
1397 * malloc/arena.c (new_heap): New memory_heap_new probe.
1398 (grow_heap): New memory_heap_more probe.
1399 (shrink_heap): New memory_heap_less probe.
1400 (heap_trim): New memory_heap_free probe.
1401 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1402 (systrim): New memory_sbrk_less probe.
1403 * manual/probes.texi: Document them.
1404
655673f3
AO
1405 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1406 * manual/probes.texi: Document it.
1407
35fed6f1
AO
1408 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1409 (__libc_realloc): Add memory_realloc_retry probe.
1410 (__libc_memalign): Add memory_memalign_retry probe.
1411 (__libc_valloc): Add memory_valloc_retry probe.
1412 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1413 (__libc_calloc): Add memory_calloc_retry probe.
1414 * manual/probes.texi: Document them.
1415
6999d38c
AO
1416 * malloc/arena.c (get_free_list): Add probe
1417 memory_arena_reuse_free_list.
1418 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1419 and memory_arena_reuse.
1420 (arena_get2) [!PER_THREAD]: Likewise.
1421 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1422 memory_arena_reuse_realloc.
1423 * manual/probes.texi: Document them.
1424
0653427f
AO
1425 * malloc/malloc.c (__libc_free): Add
1426 memory_mallopt_free_dyn_thresholds probe.
1427 (__libc_mallopt): Add multiple memory_mallopt probes.
1428 * manual/probes.texi: Document them.
1429
3ea5be54
AO
1430 * malloc/malloc.c: Include stap-probe.h.
1431 (__libc_mallopt): Add memory_mallopt probe.
1432 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1433 * manual/probes.texi: New.
1434 * manual/Makefile (chapters): Add probes.
1435 * manual/threads.texi: Set next node.
1436
e35696c3 14372013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1438
e35696c3
CL
1439 [BZ #15963, #13985]
1440 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1441 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1442 Add `Chinese' to `nan' entry name.
1443
4aafb73c
SP
14442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1445
1446 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1447 (POLYNOMIAL): Likewise.
1448 (TAYLOR_SINCOS): Likewise.
1449 (TAYLOR_SLOW): Likewise.
1450 (__sin): Use TAYLOR_SINCOS.
1451 (__cos): Likewise.
1452 (slow): Use TAYLOR_SLOW.
1453 (sloww): Likewise.
1454 (bsloww): Likewise.
1455 (csloww): Likewise.
1456
d84f25c7
LD
14572013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1458
1459 * stdlib/strtod_l.c: Fix buffer overrun.
1460
5eea0404
SP
14612013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1462
7849ff93
SP
1463 * benchtests/Makefile (bench): Add sincos.
1464 * benchtests/bench-sincos.c: New file.
1465
cfa3c886
SP
1466 * math/libm-test.inc (cos_test_data): New test inputs.
1467 (sin_test_data): Likewise.
1468
b348e1e3
SP
1469 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1470 macro.
1471 (__sin): Use it.
1472 (__cos): Likewise.
1473 (slow1): Likewise.
1474 (slow2): Likewise.
1475 (sloww1): Likewise.
1476 (sloww2): Likewise.
1477 (bsloww1): Likewise.
1478 (bsloww2): Likewise.
1479 (cslow2): Likewise.
1480 (csloww1): Likewise.
1481 (csloww2): Likewise.
1482
6cce25f8
SP
1483 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1484 function.
1485 (__sin): Use it.
1486 (__cos): Likewise.
1487
5eea0404
SP
1488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1489 gotos.
1490 (__cos): Likewise.
1491
9c21573c
MR
14922013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1493
1494 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1495 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1496 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1497 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1498 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1499 * elf/cache.c (print_entry): Handle the new cache flags.
1500
24d22e65
JM
15012013-09-18 Joseph Myers <joseph@codesourcery.com>
1502 Aldy Hernandez <aldyh@redhat.com>
1503
1504 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1505 Change condition to [_SOFT_FLOAT].
1506 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1507 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1508 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1518 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1521 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1522 declaration.
1523
d13ef066
JM
15242013-09-18 Joseph Myers <joseph@codesourcery.com>
1525
2e071de0
JM
1526 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1527 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1528 (__longjmp): Use LOAD_GP to load saved GPRs.
1529 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1530 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1531 (__sigsetjmp): Use SAVE_GP to save GPRs.
1532
d13ef066
JM
1533 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1534 Do not append -msoft-float.
1535 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1536
97a0650b
SP
15372013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1538
1539 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1540
11ca09e9
JM
15412013-09-17 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #15966]
1544 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1545 (_FPU_GETCW): Use initial "__" on variable and field names but not
1546 on macro parameter name.
1547 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1548 parentheses around reference to macro parameter.
1549
08ffcf34
RS
15502013-09-13 Richard Sandiford <richard@codesourcery.com>
1551
1552 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1553 prototype.
1554 (ctype_startup): Use uint32_t in cast and sizeof for
1555 ctype->charnames.
1556
ae7080d3
JL
15572013-09-11 Jia Liu <proljc@gmail.com>
1558
1559 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1560 __daddr_t_defined.
1561 [__FreeBSD__]: Likewise.
1562
5905e7b3
OB
15632013-09-11 Ondřej Bílka <neleai@seznam.cz>
1564
1565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1566 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1567 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1568 (strchr): Remove __strchr_sse42 ifunc selection.
1569 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1570 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1571
b987c776
WN
15722013-09-11 Will Newton <will.newton@linaro.org>
1573
1574 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1575 parameter to RES. Remove hardcoded 1000 value.
1576 * benchtests/bench-skeleton.c (main): Pass RES parameter
1577 to TIMING_INIT and multiply result by 1000.
1578
ddf985af
AZ
15792013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1580
1581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1582
ffdd3181
AS
15832013-09-11 Andreas Schwab <schwab@suse.de>
1584
1585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1586 if not defined.
1587 (O_TMPFILE) [__USE_GNU]: Define.
1588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1589 Define.
1590
b73ed247
WN
15912013-09-11 Will Newton <will.newton@linaro.org>
1592
1593 [BZ #15857]
1594 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1595 does not overflow.
1596
55e17aad
WN
15972013-09-11 Will Newton <will.newton@linaro.org>
1598
1599 [BZ #15856]
1600 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1601 does not overflow.
1602
1159a193
WN
16032013-09-11 Will Newton <will.newton@linaro.org>
1604
1605 [BZ #15855]
1606 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1607 does not overflow.
1608
5905e7b3 16092013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1610
1611 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1616
cdfc721b
AM
16172013-09-10 Allan McRae <allan@archlinux.org>
1618
aa04af00
AM
1619 [BZ #15748]
1620 * manual/arith.texi (Parsing of Floats): Clarify
1621 cross-reference.
1622
cdfc721b
AM
1623 [BZ #15849]
1624 * manual/install.texi (Running make install): Mention
1625 --enable-pt-chown.
1626 * INSTALL: Regenerated.
1627
95e7cf29
MR
16282013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1629
1630 * csu/init-first.c (_init): Remove the !SHARED condition around
1631 FPU control word initialization.
1632 * elf/dl-support.c (_dl_fpu_control): New variable.
1633 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1634 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1635 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1636 * math/test-fpucw-static.c: New file.
1637 * math/test-fpucw-ieee.c: New file.
1638 * math/test-fpucw-ieee-static.c: New file.
1639 * math/Makefile (tests): Add `test-fpucw-ieee' and
1640 `$(tests-static)'.
1641 (tests-static): New variable.
1642 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1643 dependency to...
1644 [($(build-shared),yes)]
1645 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1646 ... this.
1647 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1648 New dependency.
1649
83e43bf0
AM
16502013-09-09 Allan McRae <allan@archlinux.org>
1651
a9f5ce09
AM
1652 [BZ #15939]
1653 * manual/string.texi (Collation Functions): Fix typo in
1654 strcoll example.
1655 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1656
34829bc2
AM
1657 [BZ #15893]
1658 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1659
3932737d
AM
1660 [BZ #15892]
1661 * libio/memstream.c (open_memstream): Fix memory leak.
1662 * libio/wmemstream.c (open_wmemstream): Likewise.
1663
83e43bf0
AM
1664 [BZ #15895]
1665 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1666
0c66b8e9
WN
16672013-09-09 Will Newton <will.newton@linaro.org>
1668
1669 * malloc/Makefile: Add tst-realloc to tests.
1670 * malloc/tst-realloc.c: New file.
1671
f6b00fd1
AM
16722013-09-09 Allan McRae <allan@archlinux.org>
1673
1674 [BZ #15844]
1675 * COPYING: Update from GNU website to fix FSF address.
1676 * COPYING.LIB: Likewise.
1677
eec55e16
DM
16782013-09-06 David S. Miller <davem@davemloft.net>
1679
1680 * po/zh_TW.po: Update Chinese (traditional) translation from
1681 translation project.
1682
1ecbb381
RS
16832013-09-06 Richard Sandiford <richard@codesourcery.com>
1684 Joseph Myers <joseph@codesourcery.com>
1685
1686 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1687 "localeinfo.h".
1688 (obstack_chunk_alloc): New macro.
1689 (obstack_chunk_free): Likewise.
1690 (record_offset): New function.
1691 (init_locale_data): Likewise.
1692 (align_locale_data): Likewise.
1693 (add_locale_empty): Likewise.
1694 (add_locale_raw_data): Likewise.
1695 (add_locale_raw_obstack): Likewise.
1696 (add_locale_string): Likewise.
1697 (add_locale_wstring): Likewise.
1698 (add_locale_uint32): Likewise.
1699 (add_locale_uint32_array): Likewise.
1700 (add_locale_char): Likewise.
1701 (start_locale_structure): Likewise.
1702 (end_locale_structure): Likewise.
1703 (start_locale_prelude): Likewise.
1704 (end_locale_prelude): Likewise.
1705 (write_locale_data): Take locale_file structure rather than an
1706 iovec.
1707 * locale/programs/locfile.h: Include "obstack.h".
1708 (struct locale_file): Change to store locale file contents instead
1709 of header.
1710 (init_locale_data): New prototype.
1711 (align_locale_data): Likewise.
1712 (add_locale_empty): Likewise.
1713 (add_locale_raw_data): Likewise.
1714 (add_locale_raw_obstack): Likewise.
1715 (add_locale_string): Likewise.
1716 (add_locale_wstring): Likewise.
1717 (add_locale_uint32): Likewise.
1718 (add_locale_uint32_array): Likewise.
1719 (add_locale_char): Likewise.
1720 (start_locale_structure): Likewise.
1721 (end_locale_structure): Likewise.
1722 (start_locale_prelude): Likewise.
1723 (end_locale_prelude): Likewise.
1724 (write_locale_data): Update prototype.
1725 * locale/programs/3level.h (struct TABLE): Remove result field.
1726 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1727 Use new locale_file interface.
1728 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1729 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1730 * locale/programs/ld-address.c (address_output): Use new
1731 locale_file interface.
1732 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1733 NO_ADD_LOCALE.
1734 (collate_finish): Don't call collseq_table_finalize.
1735 (collate_output): Use new locale_file interface.
1736 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1737 in file.
1738 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1739 (TABLE): Move defines earlier in file.
1740 (ELEMENT): Likewise.
1741 (DEFAULT): Likewise.
1742 (wctrans_table_add): Move macro and inline function earlier in
1743 file.
1744 (struct wctype_table): Move type earlier in file.
1745 (add_locale_wctype_table): New static prototype.
1746 (struct locale_ctype_t): Use logical types instead of struct iovec
1747 pointers for members.
1748 (ctype_output): Use new locale_file interface.
1749 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1750 new locale_file interface.
1751 (allocate_arrays): Update for use of new locale_file interface.
1752 * locale/programs/ld-identification.c (identification_output): Use
1753 new locale_file interface.
1754 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1755 * locale/programs/ld-messages.c (messages_output): Likewise.
1756 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1757 * locale/programs/ld-name.c (name_output): Likewise.
1758 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1759 * locale/programs/ld-paper.c (paper_output): Likewise.
1760 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1761 * locale/programs/ld-time.c (time_output): Likewise.
1762
e029e2e5
AZ
17632013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764
1765 * benchtests/Makefile: Add memrchr benchmark.
1766 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1767 benchmark as memrchr.
1768 * benchtests/bench-memrchr-ifunc.c: New file.
1769 * benchtests/bench-memrchr.c: New file.
1770
bbf6e8e4
WN
17712013-09-06 Will Newton <will.newton@linaro.org>
1772
1773 * benchtests/Makefile (string-bench): Add memcpy.
1774
6c82a2f8
CD
17752013-09-05 Carlos O'Donell <carlos@redhat.com>
1776 Cong Wang <amwang@redhat.com>
1777
1778 * sysdeps/unix/sysv/linux/bits/in.h
1779 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1780 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1781 before __USE_KERNEL_IPV6_DEFS uses.
1782 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1783 IPPROTO_BEETPH.
1784 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1785 sockaddr_in6, or ipv6_mreq.
1786
5430fc65
AZ
17872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1790 memory access for final bytes in some large inputs.
1791 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1792
4660856c
AZ
17932013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 * string/test-memrchr.c: New file.
1796 * string/test-memrchr-ifunc.c: New file.
1797 * string/Makefile: Add new memrchr testcase.
1798
bb8ea713
MF
17992013-09-05 Mike Frysinger <vapier@gentoo.org>
1800
1801 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1802 fanotify_init returns EPERM.
1803
b92a20b5
JM
18042013-09-04 Joseph Myers <joseph@codesourcery.com>
1805
1806 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1807 errors.
1808 (top level): Treat second token from macro or constant entries for
1809 allowed headers as allowed.
1810 * include/complex.h: Condition internal declarations on
1811 [!_ISOMAC].
1812 * include/fenv.h: Condition include of <stdbool.h> and internal
1813 declarations on [!_ISOMAC].
7447ccd9
CL
1814
18152013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1816
3e181dda 1817 [BZ #15923]
7447ccd9
CL
1818 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1819
3f2e46a4
JM
18202013-09-04 Joseph Myers <joseph@codesourcery.com>
1821
1822 * configure.in (--enable-versioning): Remove configure option.
1823 (libc_cv_asm_symver_directive): Remove configure test.
1824 (libc_cv_ld_version_script_option): Likewise.
1825 (VERSIONING): Remove variable and AC_SUBST.
1826 (DO_VERSIONING): Remove AC_DEFINE.
1827 * configure: Regenerated.
1828 * config.h.in (DO_VERSIONING): Remove macro.
1829 * Makerules [$(versioning) = yes]: Change conditionals to
1830 [$(build-shared) = yes].
1831 * config.make.in (versioning): Remove variable.
1832 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1833 [$(build-shared) = yes].
1834 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1835 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1836 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1837 [$(build-shared) = yes].
1838 * extra-lib.mk [$(versioning) = yes]: Likewise.
1839 * hurd/Makefile [$(versioning) = yes]: Likewise.
1840 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1841 [SHARED].
1842 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1843 [SHARED].
1844 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1845 [SHARED && !NO_HIDDEN].
1846 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1847 [SHARED].
1848 [SHARED && DO_VERSIONING]: Likewise..
1849 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1850 [$(build-shared) = yes].
1851 * manual/install.texi (--disable-versioning): Remove
1852 documentation.
1853 * INSTALL: Regenerated.
1854 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1855 to [SHARED].
1856 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1857 [$(build-shared) = yes].
1858 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1859 * sysdeps/i386/i686/multiarch/strstr-c.c
1860 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1861 [SHARED && !NO_HIDDEN].
1862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1863 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1864 * sysdeps/powerpc/powerpc32/dl-machine.c
1865 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1866 * sysdeps/powerpc/powerpc32/sysdep.h
1867 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1868 to [SHARED && PIC && !NO_HIDDEN].
1869 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1870 conditional to [SHARED].
1871
44558701
WN
18722013-09-04 Will Newton <will.newton@linaro.org>
1873
1874 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1875 * benchtests/bench-string.h: Include bench-timing.h instead
1876 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1877 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1878 call to HP_TIMING_DIFF_INIT.
1879 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1880 instead of hp-timing.h macros.
1881 * benchtests/bench-memchr.c: Likewise.
1882 * benchtests/bench-memcmp.c: Likewise.
1883 * benchtests/bench-memcpy.c: Likewise.
1884 * benchtests/bench-memmem.c: Likewise.
1885 * benchtests/bench-memmove.c: Likewise.
1886 * benchtests/bench-memset.c: Likewise.
1887 * benchtests/bench-rawmemchr.c: Likewise.
1888 * benchtests/bench-strcasecmp.c: Likewise.
1889 * benchtests/bench-strcasestr.c: Likewise.
1890 * benchtests/bench-strcat.c: Likewise.
1891 * benchtests/bench-strchr.c: Likewise.
1892 * benchtests/bench-strcmp.c: Likewise.
1893 * benchtests/bench-strcpy.c: Likewise.
1894 * benchtests/bench-strcpy_chk.c: Likewise.
1895 * benchtests/bench-strlen.c: Likewise.
1896 * benchtests/bench-strncasecmp.c: Likewise.
1897 * benchtests/bench-strncat.c: Likewise.
1898 * benchtests/bench-strncmp.c: Likewise.
1899 * benchtests/bench-strncpy.c: Likewise.
1900 * benchtests/bench-strnlen.c: Likewise.
1901 * benchtests/bench-strpbrk.c: Likewise.
1902 * benchtests/bench-strrchr.c: Likewise.
1903 * benchtests/bench-strspn.c: Likewise.
1904 * benchtests/bench-strstr.c: Likewise.
1905
cae16d66
WN
19062013-09-04 Will Newton <will.newton@linaro.org>
1907
1908 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1909
ffa3cd7f
JM
19102013-09-03 Joseph Myers <joseph@codesourcery.com>
1911
1912 [BZ #15427]
1913 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1914 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1915 * math/libm-test.inc (lgamma_test_data): Add more tests.
1916 * sysdeps/i386/fpu/libm-test-ulps: Update.
1917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1918
8f02859f
OB
19192013-09-03 Ondřej Bílka <neleai@seznam.cz>
1920
1921 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1923 Add ifunc.
1924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1925 Add strcmp-sse2-unaligned
1926 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1927
18d43716
MF
19282013-09-02 Mike Frysinger <vapier@gentoo.org>
1929
1930 * Versions.def (libc): Add GLIBC_2.19.
1931
ac444012
MF
19322013-09-02 Mike Frysinger <vapier@gentoo.org>
1933
1934 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1935 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1936
b7835e32
JM
19372013-09-02 Joseph Myers <joseph@codesourcery.com>
1938
1939 [BZ #14155]
1940 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1941 intermediate calculations in recurrence.
1942 (__ieee754_ynf): Likewise.
1943 * math/libm-test.inc (jn_test_data): Do not allow spurious
1944 underflow exception. Add more tests.
1945 (yn_test_data): Add more tests.
1946 * sysdeps/i386/fpu/libm-test-ulps: Update.
1947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1948
8220f4f0
OB
19492013-09-02 Ondřej Bílka <neleai@seznam.cz>
1950
1951 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1952
f24a6d08
OB
19532013-08-30 Ondřej Bílka <neleai@seznam.cz>
1954
1955 * csu/init-first.c: Fix then/than typos.
1956 * locale/programs/ld-collate.c: Likewise.
1957 * locale/programs/linereader.h: Likewise.
1958 * manual/charset.texi: Likewise.
1959 * manual/filesys.texi: Likewise.
1960 * manual/stdio.texi: Likewise.
1961 * manual/string.texi: Likewise.
1962 * stdlib/fmtmsg.c: Likewise.
1963 * sysdeps/i386/stpncpy.S: Likewise.
1964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1965 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1966 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1967 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1968
382466e0
OB
19692013-08-30 Ondřej Bílka <neleai@seznam.cz>
1970
1971 * elf/dl-open.c: Fix typos.
1972 * iconvdata/gbbig5.c: Likewise.
1973 * iconvdata/iso-2022-jp.c: Likewise.
1974 * iconv/gconv_int.h: Likewise.
1975 * iconv/loop.c: Likewise.
1976 * nis/rpcsvc/nis.h: Likewise.
1977 * resolv/ns_name.c: Likewise.
1978 * stdio-common/vfscanf.c: Likewise.
1979 * streams/stropts.h: Likewise.
1980 * sunrpc/rpc_thread.c: Likewise.
1981 * sysdeps/i386/strpbrk.S: Likewise.
1982 * sysdeps/ieee754/k_standard.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1985 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1986 * sysdeps/mach/hurd/profil.c: Likewise.
1987 * sysdeps/s390/dl-procinfo.h: Likewise.
1988 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1989 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1990 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1991 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1993
0186c6e9
OB
19942013-08-30 Ondřej Bílka <neleai@seznam.cz>
1995
1996 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1998
d4e16af1
OB
19992013-08-29 Ondřej Bílka <neleai@seznam.cz>
2000
2001 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2002 aix specific files.
2003 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2004 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2005 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2006 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2008 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2009 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2010 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2011
88335980
TS
20122013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2013 Roland McGrath <roland@hack.frob.com>
2014
2015 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2016 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2017
ed479b02
ST
20182013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2019
2020 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2021 __executable_start symbol instead of _start.
2022
f1cc4c86
TS
20232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2024
d821f07c
TS
2025 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2026 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2027 Move macros to...
2028 * sysdeps/gnu/ldsodefs.h: ... this new file.
2029
c54290cf
TS
2030 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2031 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2032 instead of ELFOSABI_LINUX.
2033
0007fc9b 2034 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2035 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2036 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2037 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2038 Likewise.
2039 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2040 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2042 Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2044 (ibm_extended_long_double): Add ieee_nan member.
2045 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2046 (do_test): New function.
2047
f1cc4c86
TS
2048 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2049 TEST_TRUNC.
2050 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2051 functions, renamed from truncdfsf_test, trunctfsf_test,
2052 trunctfdf_test.
2053 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2054 functions.
2055 (do_test): Run all these.
2056
6f65e668
OB
20572013-08-29 Ondřej Bílka <neleai@seznam.cz>
2058
2059 * argp/argp-help.c: Fix typos.
2060 * argp/argp-parse.c: Likewise.
2061 * debug/backtracesyms.c: Likewise.
2062 * elf/elf.h: Likewise.
2063 * malloc/malloc.c: Likewise.
2064 * nis/nis_print.c: Likewise.
2065 * resolv/res_comp.c: Likewise.
2066 * stdlib/stdlib.h: Likewise.
2067 * sunrpc/clnt_tcp.c: Likewise.
2068 * sunrpc/clnt_udp.c: Likewise.
2069 * sunrpc/clnt_unix.c: Likewise.
2070 * sysdeps/unix/bsd/ptsname.c: Likewise.
2071 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2074 Likewise.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2078 Likewise.
6f65e668
OB
2079 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2080
3a309239
SP
20812013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2082
2083 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2085
3b813b29
MF
20862013-08-27 Mike Frysinger <vapier@gentoo.org>
2087
2088 [BZ #15897]
2089 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2090 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2091 ($(objpfx)bug-dl-leaf): New rule.
2092 ($(objpfx)bug-dl-leaf.so): Likewise.
2093 ($(objpfx)bug-dl-leaf.out): Likewise.
2094 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2095 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2096 * dlfcn/bug-dl-leaf.c: New test.
2097 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2098 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2099 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2100 (dlclose): Likewise.
2101 (dlmopen): Likewise.
2102
8cc3269f
RM
21032013-08-27 Roland McGrath <roland@hack.frob.com>
2104
7f9d0034
RM
2105 * include/netdb.h [!_ISOMAC]:
2106 Don't include <tls.h>.
2107 (h_errno, __libc_h_errno): Move declaration and macros out of
2108 [_LIBC_REENTRANT].
2109
fb431262
RM
2110 * include/resolv.h [_RESOLV_H_]:
2111 Don't include <tls.h>.
2112 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2113 * resolv/res_libc.c: Don't include <tls.h>.
2114 (_res): Use __attribute__ ((nocommon)) in place of
2115 __attribute__ ((section (".bss"))).
2116
bd81123a
RM
2117 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2118 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2119
c4e42566
RM
2120 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2121
f890a59b
RM
2122 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2123 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2124
2125 * resolv/res_mkquery.c: Include <sys/time.h>.
2126
5d1f0a09
RM
2127 * inet/ifreq.c: Moved to ...
2128 * sysdeps/unix/ifreq.c: ... here.
2129 * inet/ifreq.c: New file, true stub version.
2130
6fcf28b3
RM
2131 * socket/sa_len.c: New file.
2132 * socket/Makefile (aux): Add it.
2133 * sysdeps/unix/sysv/linux/Makefile
2134 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2135 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2136 and #include <socket/sa_len.c>.
2137 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2138 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2139
e041fb8b
RM
2140 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2141 * bits/socket.h: ... here.
2142
8cc3269f
RM
2143 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2144 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2145 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2146
5d228a43
AS
21472013-08-27 Andreas Schwab <schwab@suse.de>
2148
45b8accc
AS
2149 [BZ #15736]
2150 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2151 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2152 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2153 * string/test-strcasecmp.c (test_main): Run tests in several
2154 locales.
2155 * string/test-strncasecmp.c (test_main): Likewise.
2156
5d228a43
AS
2157 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2158 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2159 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2161 (__strncasecmp_ssse3) [PIC]: Likewise.
2162
59d112a4
RM
21632013-08-26 Roland McGrath <roland@hack.frob.com>
2164
53234cc3
RM
2165 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2166
59d112a4
RM
2167 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2168 instead of explicitly declaring xdecrypt.
2169 * nis/nss_nis/nis-publickey.c: Likewise.
2170
595aba70
SP
21712013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2172
2173 [BZ #15890]
2174 * nscd/aicache.c: Include res_hconf.h.
2175 (addhstaiX): Initialize res_hconf.
2176
ffabd393
AS
21772013-08-26 Andreas Schwab <schwab@suse.de>
2178
2179 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2180 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2181
e0a69f5c
SP
21822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2183
2184 * nscd/aicache.c (addhstaiX): Fix indentation.
2185
8c12f01d
MF
21862013-08-25 Mike Frysinger <vapier@gentoo.org>
2187
2188 * configure.ac: Quote $build_pt_chown test.
2189 * configure: Regenerated.
2190
8fe89494
JM
21912013-08-23 Joseph Myers <joseph@codesourcery.com>
2192
2193 [BZ #15532]
2194 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2195 * math/s_cexpf.c (__cexpf): Likewise.
2196 * math/s_cexpl.c (__cexpl): Likewise.
2197 * math/libm-test.inc (cexp_test_data): Correct expected return
2198 value for NaN + i0. Add another test.
2199
75b181d6
DM
22002013-08-22 David S. Miller <davem@davemloft.net>
2201
2202 * po/ca.po: Update Catalan translation from translation project.
936241e4 2203 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2204
acd06bb1
JM
22052013-08-21 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #15797]
2208 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2209 is infinite, not alongside NaN test.
2210 * math/s_fdimf.c (__fdimf): Likewise.
2211 * math/s_fdiml.c (__fdiml): Likewise.
2212 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2213 errno is unchanged.
2214
c0c3f78a
OB
22152013-08-21 Ondřej Bílka <neleai@seznam.cz>
2216
2217 * argp/argp-help.c: Fix typos.
2218 * crypt/speeds.c: Likewise.
2219 * csu/check_fds.c: Likewise.
2220 * elf/dl-load.c: Likewise.
2221 * elf/dl-open.c: Likewise.
2222 * elf/reldep3.c: Likewise.
2223 * elf/reldep.c: Likewise.
2224 * elf/sprof.c: Likewise.
2225 * iconv/iconv_charmap.c: Likewise.
2226 * iconv/skeleton.c: Likewise.
2227 * iconv/strtab.c: Likewise.
2228 * io/lockf64.c: Likewise.
2229 * libio/libioP.h: Likewise.
2230 * resolv/gai_notify.c: Likewise.
2231 * resolv/ns_name.c: Likewise.
2232 * resolv/ns_samedomain.c: Likewise.
2233 * resolv/res_send.c: Likewise.
2234 * stdlib/random.c: Likewise.
2235 * sunrpc/rpc/xdr.h: Likewise.
2236 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2244 * sysdeps/mach/hurd/check_fds.c: Likewise.
2245 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2250 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2251 * sysdeps/pthread/aio_notify.c: Likewise.
2252 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2253 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2254 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2256 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2257
46ed1038
LD
22582013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2259
2260 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2261 version if bit_Slow_SSE4_2 is set.
2262 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2264
d400dcac
AZ
22652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
2267 [BZ #15867]
2268 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2269 trampoline stack frame information.
2270 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2272 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2273 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2274 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2275 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2276 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2277 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2278 sa_flags value.
2279 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2280 interrupting a syscall and set with option SA_SIGINFO.
2281
42c8fdd8
JM
22822013-08-20 Joseph Myers <joseph@codesourcery.com>
2283
c980f2f4
JM
2284 [BZ #15531]
2285 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2286 argument is infinite.
2287 * math/s_cprojf.c (__cprojf): Likewise.
2288 * math/s_cprojl.c (__cprojl): Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2290 * math/libm-test.inc (cproj_test_data): Add more tests.
2291
0716c4fc
JM
2292 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2293
42c8fdd8
JM
2294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2295 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2296 size. Use __ffs to determine corresponding shift.
2297
b31469d0
JM
22982013-08-20 Joseph Myers <joseph@codesourcery.com>
2299 Roland McGrath <roland@hack.frob.com>
2300
2301 * Makefile (INSTALL): Remove trailing blank lines from output of
2302 makeinfo.
2303
4e39af6e
AK
23042013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2305
2306 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2307 Align 32 bit compat elf_greg to 8 bytes.
2308
f315524e
AA
23092013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2310
2311 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2312
1326ba1a
SP
23132013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2314
2315 * string/strcoll_l.c (coll_seq): New structure.
2316 (get_next_seq_cached): New function.
2317 (get_next_seq): New function.
2318 (do_compare): New function.
2319 (STRCOLL): Use GNU style definition. Simplify implementation
2320 by using get_next_seq, get_next_seq_cached and do_compare.
2321
91ce4085
FW
23222013-08-16 Florian Weimer <fweimer@redhat.com>
2323
2324 [BZ #14699]
2325 CVE-2013-4237
2326 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2327 member.
2328 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2329 member.
2330 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2331 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2332 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2333 conditional.
2334 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2335 GETDENTS_64BIT_ALIGNED.
2336 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2337 * manual/filesys.texi (Reading/Closing Directory): Document
2338 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2339 strongly.
2340 * manual/conf.texi (Limits for Files): Add portability note to
2341 NAME_MAX, PATH_MAX.
2342 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2343
ca0a6bc4
AS
23442013-08-13 Andreas Schwab <schwab@suse.de>
2345
2346 [BZ #15749]
2347 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2348 of fabs.
2349 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2350 LDBL_MAX_EXP >= 16384]: Add tests for it.
2351
6c1fd795
DM
23522013-08-12 David S. Miller <davem@davemloft.net>
2353
2354 * version.h (RELEASE): Set to "development".
2355 (VERSION): Set to "2.18.90".
2356 * NEWS: Add 2.19 section.
2357
31ad488d
DM
23582013-08-03 David S. Miller <davem@davemloft.net>
2359
2360 * po/ko.po: Update Korean translation from translation project.
2361
db24e684
DM
23622013-08-01 David S. Miller <davem@davemloft.net>
2363
2364 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2365 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2366 Bilka.
2367
f723285b
DM
23682013-07-30 David S. Miller <davem@davemloft.net>
2369
2370 * po/fr.po: Update French translation from translation project.
2371
3cbc52db
DM
23722013-07-28 David S. Miller <davem@davemloft.net>
2373
30bbc0cc
DM
2374 * po/cs.po: Update Czech translation from translation project.
2375
3cbc52db
DM
2376 * po/sv.po: Update Swedish translation from translation project.
2377
d492e6d0
DM
23782013-07-27 David S. Miller <davem@davemloft.net>
2379
f1a7f492
DM
2380 * po/eo.po: Update Esperanto translation from translation project.
2381
90e62a4a
DM
2382 * po/vi.po: Update Vietnamese translation from translation project.
2383
d492e6d0
DM
2384 * po/de.po: Update German translation from translation project.
2385
d4baa62d
DM
23862013-07-26 David S. Miller <davem@davemloft.net>
2387
641aa7b4
DM
2388 * po/bg.po: Update Bulgarian translation from translation project.
2389
d4baa62d
DM
2390 * po/nl.po: Update Dutch translation from translation project.
2391 * po/pl.po: Update Polish translation from translation project.
2392 * po/ru.po: Update Russian translation from translation project.
2393
61a9dcb9
DM
23942013-07-24 David S. Miller <davem@davemloft.net>
2395
2396 * po/libc.pot: Update.
2397
7b1f8b58
AZ
23982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2399
2400 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2401 variable page size.
2402 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2403 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2404 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2405
a8fc7a03
AK
24062013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2407
2408 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2409
e4608715
CD
24102013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2411 Andreas Schwab <schwab@suse.de>
2412 Roland McGrath <roland@hack.frob.com>
2413 Joseph Myers <joseph@codesourcery.com>
2414 Carlos O'Donell <carlos@redhat.com>
2415
2416 [BZ #15755]
2417 * config.h.in: Define HAVE_PT_CHOWN.
2418 * config.make.in (build-pt-chown): New variable.
2419 * configure.in (--enable-pt_chown): New configure option.
2420 * configure: Regenerate.
2421 * login/Makefile: Include Makeconfig. Build pt_chown only if
2422 build-pt-chown is enabled.
2423 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2424 pt_chown to fix pty ownership.
2425 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2426 CLOSE_ALL_FDS.
2427 * manual/install.texi (Configuring and compiling): Mention
2428 --enable-pt_chown. Add @findex for grantpt.
2429 * INSTALL: Regenerate.
2430
da2d62df
DM
24312013-07-20 David S. Miller <davem@davemloft.net>
2432
2433 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2434 difference between 32-bit and 64-bit.
2435
d7e06450
CD
24362013-07-15 Carlos O'Donell <carlos@redhat.com>
2437
2438 [BZ #15711]
2439 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2440 Avoid system header dependency with -ffreestanding.
2441 ($(objpfx)bits/syscall%d): Likewise.
2442
f959cfd7
DM
24432013-07-13 David S. Miller <davem@davemloft.net>
2444
2445 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2446 underflows from atanl/atan2l due to bug 15319.
2447 (casinh_test_data): Likewise.
2448
c61f8513
DM
24492013-07-07 David S. Miller <davem@davemloft.net>
2450
2451 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2452
72c90ed0
JA
24532013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2454
2455 * sysdeps/i386/fpu/libm-test-ulps: Update.
2456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457
52dfbe13
SP
24582013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2459
2460 * configure.in (--enable-lock-elision): Fix message text.
2461 * INSTALL: Regenerate.
2462 * configure: Regenerate.
2463
3f169543
AZ
24642013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2465
2466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2467
521c6785
AJ
24682013-07-03 Andreas Jaeger <aj@suse.de>
2469
2470 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2471 define.
2472 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2473 (ptrace_peeksiginfo_args): Add.
2474 (__ptrace_peeksiginfo_flags): Add.
2475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2477 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2478
d2cc15cb
AM
24792013-07-03 Allan McRae <allan@archlinux.org>
2480
2481 * sysdeps/i386/fpu/libm-test-ulps: Update.
2482
3aaeeca7
DM
24832013-07-02 David S. Miller <davem@davemloft.net>
2484
2485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2486
5314ed1a
MT
24872013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2488
2489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2490
67338156
JM
24912013-07-02 Joseph Myers <joseph@codesourcery.com>
2492
2493 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2495
1717da59
AK
24962013-07-02 Andi Kleen <ak@linux.intel.com>
2497
2498 * config.h.in (ENABLE_LOCK_ELISION): Add.
2499 * configure.in (--enable-lock-elision): Add option.
2500 * manual/install.texi: Document --enable lock elision.
2501 * configure: Regenerate
2502 * INSTALL: Regenerate.
2503
1c81621c
L
25042013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2505
2506 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2507 SSE4.2 strcasecmp for libc.a.
2508 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2509
77f01ab5
JM
25102013-07-02 Joseph Myers <joseph@codesourcery.com>
2511
2512 [BZ #13304]
2513 * soft-fp/op-common.h (_FP_FMA): New macro.
2514 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2515 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2516 (_FP_MUL_MEAT_1_imm): ... here.
2517 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2518 (_FP_MUL_MEAT_1_wide): ... here.
2519 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2520 (_FP_MUL_MEAT_1_hard): ... here.
2521 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2522 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2523 (_FP_MUL_MEAT_2_wide): ... here.
2524 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2525 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2526 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2527 (_FP_MUL_MEAT_2_gmp): ... here.
2528 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2529 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2530 (_FP_MUL_MEAT_4_wide): ... here.
2531 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2532 (_FP_MUL_MEAT_4_gmp): ... here.
2533 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2534 (_FP_WFRACBITS_DW_S): Likewise.
2535 (_FP_WFRACXBITS_DW_S): Likewise.
2536 (_FP_HIGHBIT_DW_S): Likewise.
2537 (FP_FMA_S): Likewise.
2538 (_FP_FRAC_HIGH_DW_S): Likewise.
2539 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2540 (_FP_WFRACBITS_DW_D): Likewise.
2541 (_FP_WFRACXBITS_DW_D): Likewise.
2542 (_FP_HIGHBIT_DW_D): Likewise.
2543 (FP_FMA_D): Likewise.
2544 (_FP_FRAC_HIGH_DW_D): Likewise.
2545 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2546 (_FP_WFRACBITS_DW_E): Likewise.
2547 (_FP_WFRACXBITS_DW_E): Likewise.
2548 (_FP_HIGHBIT_DW_E): Likewise.
2549 (FP_FMA_E): Likewise.
2550 (_FP_FRAC_HIGH_DW_E): Likewise.
2551 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2552 (_FP_WFRACBITS_DW_Q): Likewise.
2553 (_FP_WFRACXBITS_DW_Q): Likewise.
2554 (_FP_HIGHBIT_DW_Q): Likewise.
2555 (FP_FMA_Q): Likewise.
2556 (_FP_FRAC_HIGH_DW_Q): Likewise.
2557 * soft-fp/fmasf4.c: New file.
2558 * soft-fp/fmadf4.c: Likewise.
2559 * soft-fp/fmatf4.c: Likewise.
2560
6308fd9a
LD
25612013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2562
2563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2564 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2565 Silvermont.
2566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2567 macro.
2568 (index_Slow_SSE4_2): Likewise.
2569 (index_Prefer_PMINUB_for_stringop): Likewise.
2570 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2571 bit_Slow_SSE4_2 is set.
2572 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2574
89cd9569
RA
25752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2576
2577 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2578 rtld_global._dl_hwcap2.
2579 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2580 POWER8.
2581 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2582 POWER8 feature descriptions defined in _dl_hwcap2.
2583 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2584 string handling for POWER8 feature bits.
2585 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2586 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2587 _dl_powerpc_cap_flags.
2588 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2589 * sysdeps/powerpc/rtld-global-offsets.sym
2590 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2591 _dl_hwcap2 in the rtld_global_ro structure.
2592
1ae8bfe0
RA
25932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2594
2595 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2596 hardware capabilities in support of AT_HWCAP2.
2597 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2598 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2599 GLRO(dl_hwcap2).
2600 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2601 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2602 explicitly the unknown a_type display mechanism is used.
2603 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2604 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2605 struct member.
2606 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2607 to macro prototype for AT_HWCAP2 support.
2608 * sysdeps/i386/dl-procinfo.h: Likewise.
2609 * sysdeps/s390/dl-procinfo.h: Likewise.
2610 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2611 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2612 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2613 return -1 for unknown a_type display fallback.
2614 * sysdeps/sparc/dl-procinfo.h: Likewise.
2615 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2616 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2617
8fbec010
JM
26182013-06-28 Joseph Myers <joseph@codesourcery.com>
2619
2620 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2621 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2622
0432680e
PY
26232013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2624
2625 [BZ #12492]
2626 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2627 mprotect making __stack_prot writable.
2628
ce61a2ad
NF
26292013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2630 Joseph Myers <joseph@codesourcery.com>
2631
2632 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2633 as being properly aligned.
2634
f91f1c0f
MR
26352013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2636
3d0f5d0c
MR
2637 * dlfcn/modstatic5.c: New file.
2638 * dlfcn/tststatic5.c: New file.
2639 * dlfcn/Makefile (tests): Add tststatic5.
2640 (tests-static): Likewise.
2641 (modules-names): Add modstatic5.
2642 (tststatic5-ENV): New variable.
2643 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2644
f91f1c0f
MR
2645 [BZ #15022]
2646 * elf/dl-support.c (_dl_main_map): New variable.
2647 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2648 (_dl_nns, _dl_load_adds): Set to 1.
2649 (_dl_initial_searchlist): Refer to _dl_main_map.
2650 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2651 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2652 call to _dl_get_origin.
2653 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2654 around call_map.
2655 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2656 * dlfcn/modstatic3.c: New file.
2657 * dlfcn/tststatic3.c: New file.
2658 * dlfcn/tststatic4.c: New file.
2659 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2660 (tests-static): Likewise.
2661 (modules-names): Add modstatic3.
2662 (tststatic3-ENV, tststatic4-ENV): New variables.
2663 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2664 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2665
cbe7d24b
JM
26662013-06-26 Joseph Myers <joseph@codesourcery.com>
2667
2668 * configure.in (CC): Require GCC version 4.4 or later.
2669 * configure: Regenerated.
2670 * manual/install.texi (Tools for Compilation): Update GCC version
2671 requirement.
2672 * INSTALL: Regenerated.
2673
11b8a0e1
LD
26742013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2675
2676 [BZ #15674]
bb5bb87c
L
2677 * string/test-memcmp.c (check2): New.
2678 (main): Call check2.
2679
11b8a0e1
LD
2680 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2681
b0037103
MR
26822013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2683
2684 [BZ #15022]
2685 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2686 over to...
2687 (dl_open_worker) [!SHARED]: ... here.
2688
c18c701d
RA
26892013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2690
2691 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2692
1d17fa5f
RH
26932013-06-25 Richard Henderson <rth@redhat.com>
2694
2695 * locale/programs/locarchive.c: Include <libc-internal.h>
2696
8fcb833a
JM
26972013-06-25 Joseph Myers <joseph@codesourcery.com>
2698
2699 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2700 trailing whitespace removed.
2701
17db6e8d
MF
27022013-06-24 Mike Frysinger <vapier@gentoo.org>
2703
2704 [BZ #10283]
17db6e8d
MF
2705 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2706 * locale/programs/locarchive.c: Include libc-mmap.h.
2707 (prepare_address_space): Take two new outputs (the mmap base and len).
2708 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2709 values.
2710 (create_archive): Declare new mmap base and len values for
2711 prepare_address_space, and store the result in ah.
2712 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2713 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2714 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2715 Declare new mmap base and len values for
2716 prepare_address_space, and store the result in new_ah.
2717 (open_archive): Declare new mmap base and len values for
2718 prepare_address_space, and store the result in ah.
2719 (close_archive): If ah->mmap_base is not NULL, use that and
2720 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2721 * sysdeps/generic/libc-mmap.h: New file.
2722
d605071e
MF
27232013-06-24 Mike Frysinger <vapier@gentoo.org>
2724
2725 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2726 (ALIGN_UP): Likewise.
2727 (PTR_ALIGN_DOWN): Likewise.
2728 (PTR_ALIGN_UP): Likewise.
2729
2f063a6e
RA
27302013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2731
2732 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2733 entry mapped to PPC_PLATFORM_POWER8.
2734 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2735 POWER8.
2736 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2737 (_dl_string_platform): Add case for exporting platform position for
2738 POWER8.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2740 search path to sysdeps/powerpc/powerpc32/power8 directory.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2742 search path to sysdeps/powerpc/powerpc64/power8 directory.
2743 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2744 power7 directories.
2745 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2746 power7 directories.
2747
a31ee4b3
SP
27482013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2749
a74ca98f
SP
2750 * INSTALL: Regenerate.
2751
a31ee4b3
SP
2752 * nscd/connections.c (nscd_init): Fix comment.
2753
695c378f
JM
27542013-06-22 Joseph Myers <joseph@codesourcery.com>
2755
d8412221
JM
2756 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2757
695c378f
JM
2758 [BZ #15667]
2759 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2760 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2761
d1d54715
MR
27622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2763
2764 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2765 DL_DST_REQ_STATIC.
2766 (DL_DST_REQ_STATIC): Remove macro.
2767
8fdda7af
JM
27682013-06-21 Joseph Myers <joseph@codesourcery.com>
2769
2770 [BZ #7006]
2771 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2772 with a shift of 0 bits.
2773
f3bc5e5a
MR
27742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2775
2776 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2777 $(tststatic-ENV).
2778
be09e8c9
KK
27792013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2780
2781 [BZ #15655]
2782 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2783
85c2e611
AZ
27842013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785
2786 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2787 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2788 accepts -fno-tree-loop-distribute-patterns.
2789 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2790 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2791 recursive call.
2792 * string/memset.c (memset): Likewise.
2793 * string/test-memmove.c (simple_memmove): Disable loop transformation
2794 to library calls.
2795 * string/test-memset.c (simple_memset): Likewise.
2796 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2797 * benchtests/bench-memset.c (simple_memset): Likewise.
2798 * configure: Regenerated.
2799
c91e0825
JM
28002013-06-20 Joseph Myers <joseph@codesourcery.com>
2801
b8c792af
JM
2802 * math/test-misc.c (main): Ignore fesetround failure when failures
2803 of subsequent rounding tests would be ignored.
2804
c91e0825
JM
2805 [BZ #15654]
2806 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2807 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2808 * math/fegetenv.c (__fegetenv): Return 0.
2809 * math/fegetexcept.c (fegetexcept): Return 0.
2810 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2811 FE_TONEAREST.
2812 * math/feholdexcpt.c (feholdexcept): Return 0.
2813 * math/fesetenv.c (__fesetenv): Return 0.
2814 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2815 argument FE_TONEAREST.
2816 * math/feupdateenv.c (__feupdateenv): Return 0.
2817 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2818
bfcacbde
RM
28192013-06-18 Roland McGrath <roland@hack.frob.com>
2820
2821 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2822 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2823 ($(objpfx)rtld-%.os rules): Use them.
2824
e55a9b25
AZ
28252013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2828 fields.
2829
346d65b3
RM
28302013-06-17 Roland McGrath <roland@hack.frob.com>
2831
12086fb4
RM
2832 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2833 length of target pattern, then descending length of dependency pattern.
2834 * configure.in (AWK): Require gawk 3.1.2 or newer.
2835 * manual/install.texi (Tools for Compilation): Say that we do.
2836 * configure: Regenerated.
2837
346d65b3
RM
2838 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2839 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2840 * scripts/sysd-rules.awk: ... this new script.
2841 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2842 than a glob-style pattern.
2843
1a846317
JM
28442013-06-17 Joseph Myers <joseph@codesourcery.com>
2845
2846 * math/test-misc.c (main): Do not treat incorrectly rounded
2847 conversions as failure unless ROUNDING_TESTS passes.
2848
8fc75e6f
JM
28492013-06-15 Joseph Myers <joseph@codesourcery.com>
2850
3711a167
JM
2851 [BZ #15631]
2852 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2853 restore exception state around main square root computation, then
2854 check for inexactness explicitly.
2855
8fc75e6f
JM
2856 * math/libm-test.inc (fma_test_data): Add another test.
2857
61dd6208
SP
28582013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2859
adf23d2c
SP
2860 * manual/threads.texi (Non-POSIX Extensions): New document
2861 node. Document pthread_getattr_default_np and
2862 pthread_setattr_default_np.
2863
61dd6208
SP
2864 * Versions.def (libpthread): Add GLIBC_2.18.
2865 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2867 Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2869 Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2871 Likewise.
2872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2873 Likewise.
2874 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2875 Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2879 Likewise.
2880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2883 Likewise.
2884
d086fc7b
LD
28852013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2886
2887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2888 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2889
747ef469
SP
28902013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2891 H.J. Lu <hjl.tools@gmail.com>
2892
2893 [BZ #15627]
2894 * sysdeps/x86_64/rtld-memset.c: Remove file.
2895 * sysdeps/x86_64/rtld-memset.S: New file.
2896
1b2feed2
JM
28972013-06-14 Joseph Myers <joseph@codesourcery.com>
2898
2899 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2900 (test_in_one_mode): Take arguments for whether the rounding mode
2901 is supported for each floating-point type.
2902 (do_test): Pass new arguments to test_in_one_mode using
2903 ROUNDING_TESTS.
2904
a58ad3f8
RM
29052013-06-13 Roland McGrath <roland@hack.frob.com>
2906
2907 * posix/tst-waitid.c (do_test): Distinguish different instances of
2908 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2909 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2910 before entering the kernel for waitpid.
2911
c204ab28
SP
29122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2913
2914 * NEWS: Fix note on clock function precision. Text by Roland
2915 McGrath.
2916
f4a29fba
RM
29172013-06-13 Roland McGrath <roland@hack.frob.com>
2918
2919 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2920 it into place only when and if the sanity check passes.
2921
1f24b9ad
JM
29222013-06-13 Joseph Myers <joseph@codesourcery.com>
2923
2924 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2925 output for whether conversion result is exact. Take argument
2926 indicating whether type is IBM long double.
2927 (round_for_all): Change need_exact field to ibm_ld.
2928 * stdlib/tst-strtod-round.c (struct exactness): New type.
2929 (struct test): Change bool ld_ok field to struct exactness exact.
2930 (TEST): Update all definitions for change to field.
2931 (tests): Regenerate array contents.
2932 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2933 field value. Check for IBM long double here.
2934 (do_test): Update calls to test_in_one_mode.
2935
58206c68
SP
29362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2937
2938 [BZ #12515]
2939 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2940 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2941
2d6f4c5b 29422013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2943
2944 [BZ #15605]
2945 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2946 generated by the compiler on loop optimizations.
2947 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2948 general definitions.
2949
94f2c076
JM
29502013-06-12 Joseph Myers <joseph@codesourcery.com>
2951
2952 * math/bug-nextafter.c: Include <math-tests.h>.
2953 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2954 the relevant type.
2955 * math/bug-nexttoward.c: Include <math-tests.h>.
2956 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2957 the relevant type.
2958 * math/test-misc.c: Include <math-tests.h>.
2959 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2960 the relevant type.
2961
e0e50a0a
AJ
29622013-06-12 Andreas Jaeger <aj@suse.de>
2963
2964 * po/ia.po: Update Interlingua translation from translation
2965 project.
2966
25061094
SP
29672013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2968
2969 * include/fenv.h: Include stdbool.h.
2970 (struct rm_ctx): New structure.
2971 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2972 Define macro.
2973 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2974 (SET_RESTORE_ROUNDF): Likewise.
2975 (SET_RESTORE_ROUNDL): Likewise.
2976 (SET_RESTORE_ROUND_NOEX): Likewise.
2977 (SET_RESTORE_ROUND_NOEXF): Likewise.
2978 (SET_RESTORE_ROUND_NOEXL): Likewise.
2979 (SET_RESTORE_ROUND_53BIT): Likewise.
2980 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2981 (libc_feresetround_noexf_ctx): Likewise.
2982 (libc_feresetround_noexl_ctx): Likewise.
2983 (libc_feholdsetround_53bit_ctx): Likewise.
2984 (libc_feresetround_53bit_ctx): Likewise.
2985 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2986 (libc_feholdexcept_setround_sse_ctx): New function.
2987 (libc_fesetenv_sse_ctx): Likewise.
2988 (libc_feupdateenv_sse_ctx): Likewise.
2989 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2990 (libc_feholdexcept_setround_387_ctx): Likewise.
2991 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2992 (libc_feholdsetround_387_prec_ctx): Likewise.
2993 (libc_feholdsetround_387_ctx): Likewise.
2994 (libc_feholdsetround_387_53bit_ctx): Likewise.
2995 (libc_feholdsetround_sse_ctx): Likewise.
2996 (libc_feresetround_sse_ctx): Likewise.
2997 (libc_feresetround_387_ctx): Likewise.
2998 (libc_feupdateenv_387_ctx): Likewise.
2999 (libc_feholdexcept_setroundf_ctx): Define macro.
3000 (libc_fesetenvf_ctx): Likewise.
3001 (libc_feupdateenvf_ctx): Likewise.
3002 (libc_feholdsetroundf_ctx): Likewise.
3003 (libc_feresetroundf_ctx): Likewise.
3004 (libc_feholdexcept_setround_ctx): Likewise.
3005 (libc_fesetenv_ctx): Likewise.
3006 (libc_feupdateenv_ctx): Likewise.
3007 (libc_feholdsetround_ctx): Likewise.
3008 (libc_feresetround_ctx): Likewise.
3009 (libc_feholdexcept_setroundl_ctx): Likewise.
3010 (libc_feupdateenvl_ctx): Likewise.
3011 (libc_feholdsetroundl_ctx): Likewise.
3012 (libc_feresetroundl_ctx): Likewise.
3013 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3014 (libc_feresetround_53bit_ctx): Likewise.
3015
59b30555
SP
30162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 * locale/iso-639.def: Convert to UTF-8.
3019
f1d73d30
JM
30202013-06-11 Joseph Myers <joseph@codesourcery.com>
3021
3022 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3023 (EXCEPTION_TESTS_double): Likewise.
3024 (EXCEPTION_TESTS_long_double): Likewise.
3025 (EXCEPTION_TESTS): Likewise.
3026 * math/libm-test.inc (test_exceptions): Only test exceptions if
3027 EXCEPTION_TESTS (FLOAT).
3028
94aca5e7
SP
30292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3031 * benchtests/Makefile (string-bench): Add strcpy_chk and
3032 stpcpy_chk.
3033 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3034 * benchtests/bench-stpcpy_chk.c: New file.
3035 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3036 * benchtests/bench-strcpy_chk.c: New file.
3037 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3038 code.
3039 (do_test): Likewise.
3040
fac0c5f2
RA
30412013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3042
3043 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3044 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3045 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3046 with tabs where appropriate.
3047 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3048 dl-procinfo.h.
3049 [PPC_PLATFORM_PPC440]: Likewise.
3050 [PPC_PLATFORM_PPC464]: Likewise.
3051 [PPC_PLATFORM_PPC476]: Likewise.
3052 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3053 ppc464, and ppc476 platform strings merging from ports/
3054 dl-procinfo.h.
3055
f22bc486
AS
30562013-06-11 Andreas Schwab <schwab@suse.de>
3057
3058 [BZ #14991]
3059 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3060 (from_ucs4_idx): Regenerate.
3061 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3062 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3063 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3064 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3065 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3066 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3067 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3068 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3069 from FROM_LOOP and TO_LOOP specific macros.
3070 (BODY): Handle combining characters.
3071 * iconvdata/BIG5HKSCS.irreversible: Update.
3072 * iconvdata/BIG5HKSCS.precomposed: New file.
3073 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3074 characters.
3075 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3076
c1f75dc3
SP
30772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
4eacded2
SP
3079 * include/sys/time.h: Fix indentation and add copyright header.
3080
fec799f8
SP
3081 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3082 (do_test): Likewise.
3083 * string/test-memchr.c (do_one_test): Likewise.
3084 (do_test): Likewise.
3085 * string/test-memcmp.c (do_one_test): Likewise.
3086 (do_test): Likewise.
3087 * string/test-memcpy.c (do_one_test): Likewise.
3088 (do_test): Likewise.
3089 * string/test-memmem.c (do_one_test): Likewise.
3090 (do_test): Likewise.
3091 (do_random_tests): Likewise.
3092 * string/test-memmove.c (do_one_test): Likewise.
3093 (do_test): Likewise.
3094 * string/test-memset.c (do_one_test): Likewise.
3095 (do_test): Likewise.
3096 * string/test-rawmemchr.c (do_one_test): Likewise.
3097 (do_test): Likewise.
3098 * string/test-strcasecmp.c (do_one_test): Likewise.
3099 (do_test): Likewise.
3100 * string/test-strcasestr.c (do_one_test): Likewise.
3101 (do_test): Likewise.
3102 * string/test-strcat.c (do_one_test): Likewise.
3103 (do_test): Likewise.
3104 * string/test-strchr.c (do_one_test): Likewise.
3105 (do_test): Likewise.
3106 * string/test-strcmp.c (do_one_test): Likewise.
3107 (do_test): Likewise.
3108 * string/test-strcpy.c (do_one_test): Likewise.
3109 (do_test): Likewise.
3110 * string/test-string.h: Likewise.
3111 (test_init): Likewise.
3112 * string/test-strlen.c (do_one_test): Likewise.
3113 (do_test): Likewise.
3114 * string/test-strncasecmp.c (do_one_test): Likewise.
3115 (do_test): Likewise.
3116 * string/test-strncat.c (do_one_test): Likewise.
3117 (do_test): Likewise.
3118 * string/test-strncmp.c (do_one_test): Likewise.
3119 (do_test_limit): Likewise.
3120 (do_test): Likewise.
3121 * string/test-strncpy.c (do_one_test): Likewise.
3122 (do_test): Likewise.
3123 * string/test-strnlen.c (do_one_test): Likewise.
3124 (do_test): Likewise.
3125 * string/test-strpbrk.c (do_one_test): Likewise.
3126 (do_test): Likewise.
3127 * string/test-strrchr.c (do_one_test): Likewise.
3128 (do_test): Likewise.
3129 * string/test-strspn.c (do_one_test): Likewise.
3130 (do_test): Likewise.
3131 * string/test-strstr.c (do_one_test): Likewise.
3132 (do_test): Likewise.
3133
97020474
SP
3134 * benchtests/Makefile (string-bench): Add string benchmarks.
3135 * benchtests/bench-bcopy-ifunc.c: New file.
3136 * benchtests/bench-bcopy.c: New file.
3137 * benchtests/bench-bzero-ifunc.c: New file.
3138 * benchtests/bench-bzero.c: New file.
3139 * benchtests/bench-memccpy-ifunc.c: New file.
3140 * benchtests/bench-memccpy.c: New file.
3141 * benchtests/bench-memchr-ifunc.c: New file.
3142 * benchtests/bench-memchr.c: New file.
3143 * benchtests/bench-memcmp-ifunc.c: New file.
3144 * benchtests/bench-memcmp.c: New file.
3145 * benchtests/bench-memmem-ifunc.c: New file.
3146 * benchtests/bench-memmem.c: New file.
3147 * benchtests/bench-memmove-ifunc.c: New file.
3148 * benchtests/bench-memmove.c: New file.
3149 * benchtests/bench-mempcpy-ifunc.c: New file.
3150 * benchtests/bench-mempcpy.c: New file.
3151 * benchtests/bench-memset-ifunc.c: New file.
3152 * benchtests/bench-memset.c: New file.
3153 * benchtests/bench-rawmemchr-ifunc.c: New file.
3154 * benchtests/bench-rawmemchr.c: New file.
3155 * benchtests/bench-stpcpy-ifunc.c: New file.
3156 * benchtests/bench-stpcpy.c: New file.
3157 * benchtests/bench-stpncpy-ifunc.c: New file.
3158 * benchtests/bench-stpncpy.c: New file.
3159 * benchtests/bench-strcasecmp-ifunc.c: New file.
3160 * benchtests/bench-strcasecmp.c: New file.
3161 * benchtests/bench-strcasestr-ifunc.c: New file.
3162 * benchtests/bench-strcasestr.c: New file.
3163 * benchtests/bench-strcat-ifunc.c: New file.
3164 * benchtests/bench-strcat.c: New file.
3165 * benchtests/bench-strchr-ifunc.c: New file.
3166 * benchtests/bench-strchr.c: New file.
3167 * benchtests/bench-strchrnul-ifunc.c: New file.
3168 * benchtests/bench-strchrnul.c: New file.
3169 * benchtests/bench-strcmp-ifunc.c: New file.
3170 * benchtests/bench-strcmp.c: New file.
3171 * benchtests/bench-strcpy-ifunc.c: New file.
3172 * benchtests/bench-strcpy.c: New file.
3173 * benchtests/bench-strcspn-ifunc.c: New file.
3174 * benchtests/bench-strcspn.c: New file.
3175 * benchtests/bench-strlen-ifunc.c: New file.
3176 * benchtests/bench-strlen.c: New file.
3177 * benchtests/bench-strncasecmp-ifunc.c: New file.
3178 * benchtests/bench-strncasecmp.c: New file.
3179 * benchtests/bench-strncat-ifunc.c: New file.
3180 * benchtests/bench-strncat.c: New file.
3181 * benchtests/bench-strncmp-ifunc.c: New file.
3182 * benchtests/bench-strncmp.c: New file.
3183 * benchtests/bench-strncpy-ifunc.c: New file.
3184 * benchtests/bench-strncpy.c: New file.
3185 * benchtests/bench-strnlen-ifunc.c: New file.
3186 * benchtests/bench-strnlen.c: New file.
3187 * benchtests/bench-strpbrk-ifunc.c: New file.
3188 * benchtests/bench-strpbrk.c: New file.
3189 * benchtests/bench-strrchr-ifunc.c: New file.
3190 * benchtests/bench-strrchr.c: New file.
3191 * benchtests/bench-strspn-ifunc.c: New file.
3192 * benchtests/bench-strspn.c: New file.
3193 * benchtests/bench-strstr-ifunc.c: New file.
3194 * benchtests/bench-strstr.c: New file.
3195
c1f75dc3
SP
3196 * benchtests/Makefile: Disable parallel execution of targets.
3197 (string-bench): Add memcpy.
3198 (benchset): New variable to store a list of benchmark sets.
3199 (bench-func): Renamed from bench.
3200 (bench-set): New target.
3201 (bench): Depend on bench-func and bench-set.
3202 * benchtests/README: Add section on benchmark sets.
3203 * benchtests/bench-memcpy-ifunc.c: New file.
3204 * benchtests/bench-memcpy.c: New file.
3205 * benchtests/bench-string.h: New file.
3206
50fd745b
AS
32072013-06-11 Andreas Schwab <schwab@suse.de>
3208
3209 [BZ #15577]
3210 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3211 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3212 values in the triple.
3213 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3214 terminator in the group key.
3215
3ee7e9fe
AJ
32162013-06-11 Andreas Jaeger <aj@suse.de>
3217
3218 * po/zh_TW.po: Update Chinese (traditional) translation from
3219 translation project.
3220
89fb6835
SP
32212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3222
3223 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3224 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3225 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3226 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3227 (clock_getcpuclockid): Likewise.
3228 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3229 Add weak_alias and libc_hidden_def.
3230 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3231 * rt/clock_gettime.c (clock_gettime): Rename to
3232 __clock_gettime. Add weak_alias and libc_hidden_def.
3233 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3234 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3235 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3236 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3237 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3238 Likewise.
3239 * rt/clock_settime.c (clock_settime): Rename to
3240 __clock_settime. Add weak_alias and libc_hidden_def.
3241 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3242
0efa6f8b
JM
32432013-06-10 Joseph Myers <joseph@codesourcery.com>
3244
b8c61b4b
JM
3245 * mach/err_boot.sub: Remove trailing whitespace.
3246 * mach/err_ipc.sub: Likewise.
3247 * mach/err_mach.sub: Likewise.
3248
0efa6f8b
JM
3249 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3250 (ROUNDING_TESTS_double): Likewise.
3251 (ROUNDING_TESTS_long_double): Likewise.
3252 (ROUNDING_TESTS): Likewise.
3253 * math/libm-test.inc: Include <math-tests.h>.
3254 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3255 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3256 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3257 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3258
50b818bf
SP
32592013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3262 of assigning.
3263
60d2f8f3
JM
32642013-06-08 Joseph Myers <joseph@codesourcery.com>
3265
4902d2c3
JM
3266 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3267 otherwise empty TRANS lines.
3268 * sysdeps/gnu/errlist.c: Regenerated.
3269
60d2f8f3
JM
3270 * catgets/gencat.c (error_print): Use (void) in function
3271 definition.
3272 * crypt/crypt_util.c (__init_des): Likewise.
3273 * crypt/speeds.c (Stop): Likewise.
3274 (main): Likewise.
3275 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3276 * inet/ruserpass.c (token): Likewise.
3277 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3278 * intl/localealias.c (extend_alias_table): Likewise.
3279 * intl/plural-exp.c (init_germanic_plural): Likewise.
3280 * libio/fcloseall.c (__fcloseall): Likewise.
3281 * libio/genops.c (_IO_flush_all): Likewise.
3282 (_IO_flush_all_linebuffered): Likewise.
3283 (_IO_cleanup): Likewise.
3284 (_IO_iter_begin): Likewise.
3285 (_IO_iter_end): Likewise.
3286 (_IO_list_lock): Likewise.
3287 (_IO_list_unlock): Likewise.
3288 (_IO_list_resetlock): Likewise.
3289 * libio/getchar.c (getchar): Likewise.
3290 * libio/getchar_u.c (getchar_unlocked): Likewise.
3291 * libio/getwchar.c (getwchar): Likewise.
3292 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3293 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3294 * login/getpt.c (__getpt): Likewise.
3295 * login/tst-utmp.c (main): Likewise.
3296 * malloc/hooks.c (__malloc_check_init): Likewise.
3297 * malloc/malloc.c (__malloc_stats): Likewise.
3298 * malloc/mtrace.c (tr_break): Likewise.
3299 (mtrace): Likewise.
3300 (muntrace): Likewise.
3301 * misc/fstab.c (endfsent): Likewise.
3302 * misc/getclktck.c (__getclktck): Likewise.
3303 * misc/getdtsz.c (__getdtablesize): Likewise.
3304 * misc/gethostid.c (gethostid): Likewise.
3305 * misc/getpagesize.c (__getpagesize): Likewise.
3306 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3307 (__get_nprocs): Likewise.
3308 (__get_phys_pages): Likewise.
3309 (__get_avphys_pages): Likewise.
3310 * misc/getttyent.c (getttyent): Likewise.
3311 (setttyent): Likewise.
3312 (endttyent): Likewise.
3313 * misc/getusershell.c (getusershell): Likewise.
3314 (endusershell): Likewise.
3315 (setusershell): Likewise.
3316 (initshells): Likewise.
3317 * misc/hsearch.c (__hdestroy): Likewise.
3318 * misc/sync.c (sync): Likewise.
3319 * misc/syslog.c (closelog_internal): Likewise.
3320 (closelog): Likewise.
3321 * misc/ttyslot.c (ttyslot): Likewise.
3322 * misc/vhangup.c (vhangup): Likewise.
3323 * posix/fork.c (__fork): Likewise.
3324 * posix/getegid.c (__getegid): Likewise.
3325 * posix/geteuid.c (__geteuid): Likewise.
3326 * posix/getgid.c (__getgid): Likewise.
3327 * posix/getpid.c (__getpid): Likewise.
3328 * posix/getppid.c (__getppid): Likewise.
3329 * posix/getuid.c (__getuid): Likewise.
3330 * posix/pause.c (pause): Likewise.
3331 * posix/setpgrp.c (setpgrp): Likewise.
3332 * posix/setsid.c (__setsid): Likewise.
3333 * posix/test-vfork.c (noop): Likewise.
3334 * resolv/gethnamaddr.c (_endhtent): Likewise.
3335 (_gethtent): Likewise.
3336 (ht_endhostent): Likewise.
3337 (gethostent): Likewise.
3338 (dns_service): Likewise.
3339 * stdlib/drand48.c (drand48): Likewise.
3340 * stdlib/lrand48.c (lrand48): Likewise.
3341 * stdlib/mrand48.c (mrand48): Likewise.
3342 * stdlib/rand.c (rand): Likewise.
3343 * stdlib/random.c (__random): Likewise.
3344 * stdlib/setenv.c (clearenv): Likewise.
3345 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3346 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3347 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3348 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3349 (__get_nprocs): Likewise.
3350 (__get_phys_pages): Likewise.
3351 (__get_avphys_pages): Likewise.
3352 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3353 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3354 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3355 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3356 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3357 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3358 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3359 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3360 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3361 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3362 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3363 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3364 * sysdeps/posix/clock.c (clock): Likewise.
3365 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3366 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3367 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3368 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3369 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3371 (__get_nprocs_conf): Likewise.
3372 (__get_phys_pages): Likewise.
3373 (__get_avphys_pages): Likewise.
3374 * time/clock.c (clock): Likewise.
3375 * time/tzset.c (__tzname_max): Likewise.
3376
2e09a79a
JM
33772013-06-07 Joseph Myers <joseph@codesourcery.com>
3378
3379 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3380 (__bswap_32): Do not use "register".
3381 * crypt/crypt.c (_ufc_doit_r): Likewise.
3382 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3383 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3384 * gmon/gmon.c (__monstartup): Likewise.
3385 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3386 * hurd/hurdmalloc.c (more_memory): Likewise.
3387 (malloc): Likewise.
3388 (free): Likewise.
3389 (realloc): Likewise.
3390 (malloc_fork_prepare): Likewise.
3391 (malloc_fork_parent): Likewise.
3392 (malloc_fork_child): Likewise.
3393 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3394 (_svcauth_des): Likewise.
3395 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3396 * inet/inet_net.c (inet_network): Likewise.
3397 * inet/inet_netof.c (inet_netof): Likewise.
3398 * inet/rcmd.c (__validuser2_sa): Likewise.
3399 * io/fts.c (fts_open): Likewise.
3400 (fts_load): Likewise.
3401 (fts_close): Likewise.
3402 (fts_read): Likewise.
3403 (fts_children): Likewise.
3404 (fts_build): Likewise.
3405 (fts_stat): Likewise.
3406 (fts_sort): Likewise.
3407 (fts_alloc): Likewise.
3408 (fts_lfree): Likewise.
3409 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3410 (_IO_file_xsgetn): Likewise.
3411 (_IO_file_xsgetn_mmap): Likewise.
3412 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3413 (_IO_cookie_write): Likewise.
3414 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3415 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3416 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3417 * malloc/obstack.c (_obstack_begin): Likewise.
3418 (_obstack_begin_1): Likewise.
3419 (_obstack_newchunk): Likewise.
3420 (_obstack_allocated_p): Likewise.
3421 (obstack_free): Likewise.
3422 (_obstack_memory_used): Likewise.
3423 * misc/getttyent.c (getttynam): Likewise.
3424 (getttyent): Likewise.
3425 (skip): Likewise.
3426 (value): Likewise.
3427 * misc/getusershell.c (initshells): Likewise.
3428 * misc/syslog.c (__vsyslog_chk): Likewise.
3429 * misc/ttyslot.c (ttyslot): Likewise.
3430 * nis/nis_hash.c (__nis_hash): Likewise.
3431 * posix/fnmatch_loop.c (FCT): Likewise.
3432 * posix/getconf.c (print_all): Likewise.
3433 (main): Likewise.
3434 * posix/getopt.c (exchange): Likewise.
3435 * posix/glob.c (globfree): Likewise.
3436 (prefix_array): Likewise.
3437 (__glob_pattern_type): Likewise.
3438 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3439 (NS_GET32): Likewise.
3440 (NS_PUT16): Likewise.
3441 (NS_PUT32): Likewise.
3442 * resolv/gethnamaddr.c (getanswer): Likewise.
3443 (gethostbyname2): Likewise.
3444 (gethostbyaddr): Likewise.
3445 (_gethtent): Likewise.
3446 (_gethtbyname2): Likewise.
3447 (_gethtbyaddr): Likewise.
3448 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3449 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3450 * resolv/res_init.c (__res_vinit): Likewise.
3451 (net_mask): Likewise.
3452 * resolv/res_mkquery.c (outchar): Likewise.
3453 (PRINT): Likewise.
3454 * stdio-common/printf_fp.c (outchar): Likewise.
3455 (PRINT): Likewise.
3456 * stdio-common/printf_fphex.c (outchar): Likewise.
3457 (PRINT): Likewise.
3458 * stdio-common/printf_size.c (outchar): Likewise.
3459 (PRINT): Likewise.
3460 * stdio-common/test_rdwr.c (main): Likewise.
3461 * stdio-common/tfformat.c (matches): Likewise.
3462 * stdio-common/vfprintf.c (outchar): Likewise.
3463 (printf_unknown): Likewise.
3464 (buffered_vfprintf): Likewise.
3465 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3466 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3467 (ReadFile): Likewise.
3468 * stdlib/qsort.c (SWAP): Likewise.
3469 (_quicksort): Likewise.
3470 * stdlib/setenv.c (__add_to_environ): Likewise.
3471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3472 * stdlib/strtol_l.c (__strtol_l): Likewise.
3473 * stdlib/tst-strtod.c (main): Likewise.
3474 * stdlib/tst-strtol.c (main): Likewise.
3475 * stdlib/tst-strtoll.c (main): Likewise.
3476 * string/bits/string2.h (__strcmp_cc): Likewise.
3477 (__strcmp_cg): Likewise.
3478 (__strcspn_c1): Likewise.
3479 (__strcspn_c2): Likewise.
3480 (__strcspn_c3): Likewise.
3481 (__strspn_c1): Likewise.
3482 (__strspn_c2): Likewise.
3483 (__strspn_c3): Likewise.
3484 (__strsep_1c): Likewise.
3485 (__strsep_2c): Likewise.
3486 (__strsep_3c): Likewise.
3487 * string/memccpy.c (__memccpy): Likewise.
3488 * string/stpcpy.c (__stpcpy): Likewise.
3489 * string/strcmp.c (strcmp): Likewise.
3490 * string/strrchr.c (strrchr): Likewise.
3491 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3492 Likewise.
3493 * sysdeps/mach/hurd/getcwd.c
3494 (_hurd_canonicalize_directory_name_internal): Likewise.
3495 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3496 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3497 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3498 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3499 Likewise, in both definitions.
3500 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3501 definitions.
3502 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3503 64] (__bswap_64): Likewise.
3504 * time/test_time.c (main): Likewise.
3505 * time/tzfile.c (__tzfile_read): Likewise.
3506 (__tzfile_compute): Likewise.
3507 * time/tzset.c (__tzset_parse_tz): Likewise.
3508 (tzset_internal): Likewise.
3509 (compute_change): Likewise.
3510 * wcsmbs/wcscat.c (__wcscat): Likewise.
3511 * wcsmbs/wcschr.c (wcschr): Likewise.
3512 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3513 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3514 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3515 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3516 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3517 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3518 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3519 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3520 * wcsmbs/wmemset.c (wmemset): Likewise.
3521
9e54314b
JM
35222013-06-06 Joseph Myers <joseph@codesourcery.com>
3523
3524 * scripts/config.guess: Update to version 2013-05-16.
3525 * scripts/config.sub: Update to version 2013-04-24.
3526 * scripts/install-sh: Update to version 2011-11-20.07.
3527 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3528 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3529
350635a5
OB
35302013-06-06 Ondřej Bílka <neleai@seznam.cz>
3531
3532 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3533 * elf/sln.c: Likewise.
3534 * hurd/hurd/ioctl.h: Likewise.
3535 * hurd/hurdmalloc.c: Likewise.
3536 * hurd/xattr.c: Likewise.
3537 * include/shlib-compat.h: Likewise.
3538 * inet/ruserpass.c: Likewise.
3539 * libio/iofgets_u.c: Likewise.
3540 * libio/iofgetws_u.c: Likewise.
3541 * locale/programs/ld-identification.c: Likewise.
3542 * locale/programs/ld-time.c: Likewise.
3543 * mach/msg-destroy.c: Likewise.
3544 * nss/nss_files/files-netgrp.c: Likewise.
3545 * resolv/res_data.c: Likewise.
3546 * soft-fp/op-1.h: Likewise.
3547 * soft-fp/op-2.h: Likewise.
3548 * soft-fp/op-4.h: Likewise.
3549 * soft-fp/op-common.h: Likewise.
3550 * stdio-common/printf_fphex.c: Likewise.
3551 * stdlib/strtod_l.c: Likewise.
3552 * sunrpc/rpc/clnt.h: Likewise.
3553 * sysdeps/generic/framestate.c: Likewise.
3554 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3555 * sysdeps/i386/bsd-setjmp.S: Likewise.
3556 * sysdeps/i386/__longjmp.S: Likewise.
3557 * sysdeps/i386/setjmp.S: Likewise.
3558 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3559 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3576 * sysdeps/ieee754/support.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3578 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3579 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3580 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3581 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3582 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3583 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3584 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3585 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3586 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3587 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3588 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3589 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3590 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3591 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3592 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3593 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3595
44a988af
OB
35962013-06-05 Ondřej Bílka <neleai@seznam.cz>
3597
25506f09 3598 * posix/transbug.c: Remove executable mode.
44a988af 3599
9c84384c
JM
36002013-06-05 Joseph Myers <joseph@codesourcery.com>
3601
3602 * crypt/speeds.c: Remove trailing whitespace.
3603 * dlfcn/default.c: Likewise.
3604 * elf/ifuncdep2.c: Likewise.
3605 * elf/ifuncmain1.c: Likewise.
3606 * elf/ifuncmain1vis.c: Likewise.
3607 * elf/testobj.h: Likewise.
3608 * elf/tst-stackguard1.c: Likewise.
3609 * gmon/sys/gmon.h: Likewise.
3610 * hurd/hurdmsg.c: Likewise.
3611 * hurd/new-fd.c: Likewise.
3612 * hurd/ports-get.c: Likewise.
3613 * iconvdata/ibm1008_420.c: Likewise.
3614 * inet/tst-getni1.c: Likewise.
3615 * inet/tst-getni2.c: Likewise.
3616 * libio/ioungetc.c: Likewise.
3617 * libio/wfiledoalloc.c: Likewise.
3618 * manual/libm-err-tab.pl: Likewise.
3619 * math/w_dremf.c: Likewise.
3620 * misc/ftruncate.c: Likewise.
3621 * posix/bug-glob2.c: Likewise.
3622 * posix/tst-pcre.c: Likewise.
3623 * posix/wait4.c: Likewise.
3624 * resolv/README: Likewise.
3625 * resolv/res_debug.h: Likewise.
3626 * resolv/tst-inet_ntop.c: Likewise.
3627 * setjmp/bug269-setjmp.c: Likewise.
3628 * soft-fp/extended.h: Likewise.
3629 * soft-fp/op-1.h: Likewise.
3630 * soft-fp/op-2.h: Likewise.
3631 * soft-fp/op-4.h: Likewise.
3632 * soft-fp/op-8.h: Likewise.
3633 * soft-fp/testit.c: Likewise.
3634 * stdio-common/bug16.c: Likewise.
3635 * stdlib/random.c: Likewise.
3636 * sunrpc/rpcsvc/rquota.x: Likewise.
3637 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3638 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3640 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3641 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3666 * sysdeps/ieee754/s_lib_version.c: Likewise.
3667 * sysdeps/mach/hurd/check_fds.c: Likewise.
3668 * sysdeps/mach/hurd/getsockname.c: Likewise.
3669 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3670 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3671 * sysdeps/powerpc/bits/link.h: Likewise.
3672 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3673 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3674 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3675 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3676 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3677 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3678 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3680 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3681 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3682 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3683 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3684 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3686 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3687 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3690 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3691 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3692 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3693 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3695 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3696 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3697 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3698 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3699 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3700 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3701 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3702 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3703 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3705 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3706 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3708 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3709 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3710 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3720 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3721 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3722 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3726 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3727 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3728 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3729 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3731 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3732 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3733 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3734 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3735 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3736 * sysdeps/powerpc/sysdep.h: Likewise.
3737 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3738 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3739 * sysdeps/sh/dl-trampoline.S: Likewise.
3740 * sysdeps/sh/memset.S: Likewise.
3741 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3742 * sysdeps/sh/strlen.S: Likewise.
3743 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3744 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3745 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3746 * sysdeps/sparc/sparc32/rem.S: Likewise.
3747 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3748 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3749 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3750 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3751 * sysdeps/sparc/sparc32/urem.S: Likewise.
3752 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3753 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3754 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3755 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3756 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3757 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3758 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3759 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3760 * sysdeps/unix/bsd/times.c: Likewise.
3761 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3762 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3767 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3768 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3769 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3770 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3776 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3778 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3779 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3780 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3781 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3782 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3783 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3785 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3786 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3787 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3789 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3790 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3791 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3792 * sysdeps/x86_64/strcspn.S: Likewise.
3793
869378a5
RA
37942013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3795
3796 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3797 generated file. Regenerate properly from gen-translit.pl.
3798 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3799 locale/C-translit.h.
3800
840e2943
AS
38012013-06-05 Andreas Schwab <schwab@suse.de>
3802
3803 [BZ #15100]
3804 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3805 week as 6 instead of -1.
3806 * time/tst-strptime.c (day_tests): Add test case.
3807
4c60cb0c
SP
38082013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3809
3810 * sysdeps/generic/math_private.h
3811 (libc_feholdexcept_setround_53bit): Replace with
3812 libc_feholdsetround_53bit.
3813 (libc_feupdateenv_53bit): Replace with
3814 libc_feresetround_53bit.
3815 (SET_RESTORE_ROUND_53BIT): Adjust.
3816
d180203e
SP
38172013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
96df079a
SP
3819 * string/test-strchrnul.c: Add copyright header.
3820
d180203e
SP
3821 * posix/tst-getaddrinfo4.c: Increase test timeout.
3822
8b0ccb2d
CD
38232013-06-03 Carlos O'Donell <carlos@redhat.com>
3824
3825 [BZ #15536]
3826 * math/libm-test.inc (MAX_EXP): Remove
3827 (MIN_EXP): Define.
3828 (ulp): Use MIN_EXP - MANT_DIG.
3829 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3830
3b3c4d40
CD
38312013-05-31 Carlos O'Donell <carlos@redhat.com>
3832
3833 * po/be.po: Revert last change.
3834 * po/zh_CN.po: Likewise.
3835 * po/header.pot: Likewise.
3836
fab7ce3f
JM
38372013-05-31 Joseph Myers <joseph@codesourcery.com>
3838
3839 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3840 link-libc-deps to empty as target-specific variable.
3841 * Makerules (link-libc-args): New variable.
3842 (libc-for-link): Likewise.
3843 (link-libc-deps): Likewise.
3844 (lib%.so): Depend on $(link-libc-deps). Link with
3845 $(link-libc-args).
3846 (build-module): Link with $(link-libc-args).
3847 (build-module-asneeded): Likewise.
3848 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3849 list of objects.
3850 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3851 target-specific variable.
3852 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3853 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3854 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3855 libc.
3856 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3857 libc and ld.so.
3858 ($(objpfx)libpcprofile.so): Likewise.
3859 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3860 libc_nonshared.a.
3861 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3862 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3863 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3864 $(link-libc-deps).
3865 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3866 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3867 * login/Makefile ($(objpfx)libutil.so): Likewise.
3868 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3869 * math/Makefile ($(objpfx)libm.so): Likewise.
3870 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3871 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3872 variable instead of depending directly on libc.
3873 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3874 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3875 $(link-libc-deps).
3876 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3877 libc.
3878 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3879 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3880 ($(objpfx)libanl.so): Likewise.
3881 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3882 ld.so.
3883 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3884 $(link-libc-deps).
3885 * sysdeps/i386/fpu/Makefile: Remove file.
3886 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3887 ($(objpfx)libm.so): Remove dependency on ld.so.
3888
eca5920c
PF
38892013-05-30 Patsy Franklin <pfrankli@redhat.com>
3890
3891 [BZ # 15553]
3892 * nis/yp_xdr.c (XDRMAXNAME): Define.
3893 (XDRMAXRECORD): Define.
3894 (xdr_domainname): Use XDRMAXNAME.
3895 (xdr_mapname): Likewise.
3896 (xdr_peername): Likewise.
3897 (xdr_keydat): Use XDRMAXRECORD.
3898 (xdr_valdat): Likewise.
3899
39002013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3901
3902 [BZ #14256]
3903 * manual/errno.texi (ESTALE): Update to account for more than
3904 just NFS file systems.
3905 * sysdeps/gnu/errlist.c: Regenerated.
3906
b9375348
SP
39072013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
3909 [BZ #15465]
3910 * elf/Makefile (tests): Add tst-null-argv.
3911 (modules-names): Add tst-null-argv-lib.
3912 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3913 (tst-null-argv-ENV): Set environment for tst-null-argv.
3914 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3915 (RTLD_PROGNAME): New macro.
3916 * elf/tst-null-argv.c: New test case.
3917 * elf/tst-null-argv-lib.c: Library for test case.
3918 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3919 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3920 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3921 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3922 * elf/dl-init.c (call_init): Likewise.
3923 (_dl_init): Likewise.
3924 * elf/dl-load.c (print_search_path): Likewise.
3925 (_dl_map_object): Likewise.
3926 * elf/dl-lookup.c (do_lookup_x): Likewise.
3927 (add_dependency): Likewise.
3928 (_dl_lookup_symbol_x): Likewise.
3929 (_dl_debug_bindings): Likewise.
3930 * elf/dl-open.c (_dl_show_scope): Likewise.
3931 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3932 * elf/dl-version.c (match_symbol): Likewise.
3933 (_dl_check_map_versions): Likewise.
3934 * elf/rtld.c (dl_main): Likewise.
3935 (print_unresolved): Use RTLD_PROGNAME.
3936 (print_missing_version): Likewise.
3937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3938 (elf_machine_rela): Likewise.
3939 * sysdeps/powerpc/powerpc32/dl-machine.c
3940 (__process_machine_rela): Likewise.
3941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3942 Likewise.
3943 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3944 Likewise.
3945 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3946 Likewise.
3947 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3949 Likewise.
3950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3951 Likewise.
3952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3953
8a9f20c8
CD
39542013-05-28 Carlos O'Donell <carlos@redhat.com>
3955
3956 * po/be.po: Add descriptive title.
3957 * po/zh_CN.po: Likewise.
3958 * po/header.pot: Likewise.
3959
0e60d68e
MF
39602013-05-28 Mike Frysinger <vapier@gentoo.org>
3961
3962 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3963 error message.
3964 (enlarge_archive): Likewise.
3965
56b672e9
BN
39662013-05-28 Ben North <ben@redfrontdoor.org>
3967
3968 * manual/arith.texi (frexp): It is the magnitude of the return
3969 value which lies in [0.5, 1), not the return value itself.
3970
5e056687
AZ
39712013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3972
3973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3974
2b66ef5d
TS
39752013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3976
528c2405
TS
3977 * stdio-common/bug26.c (main): Correct fscanf template.
3978
07b4c13d
TS
3979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3980 declare _dl_skip_args.
3981
ec9dd97c
TS
3982 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3983 Don't declare.
3984
2b66ef5d
TS
3985 * manual/platform.texi: Add missing @end deftypefun.
3986
4f8dfe27
JM
39872013-05-24 Joseph Myers <joseph@codesourcery.com>
3988
0323d086
JM
3989 [BZ #15529]
3990 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3991 bit of mantissa of 2^16382.
3992 * math/libm-test.inc (hypot_test_data): Add more tests.
3993
dd4259b9
JM
3994 * math/libm-test.inc: Add drem and pow10 to list of tested
3995 functions.
3996 (pow10_test): New function.
3997 (drem_test): Likewise.
3998 (drem_test_tonearest): Likewise.
3999 (drem_test_towardzero): Likewise.
4000 (drem_test_downward): Likewise.
4001 (drem_test_upward): Likewise.
4002 (main): Call the new functions.
4003
4f8dfe27
JM
4004 * math/libm-test.inc (finite_test_data): Remove.
4005 (finite_test): Run tests from isfinite_test_data.
4006 (gamma_test_data): Remove.
4007 (gamma_test): Run tests from lgamma_test_data.
4008 * sysdeps/i386/fpu/libm-test-ulps: Update.
4009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
d116b7c4
AZ
40112013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4012
4013 * manual/platform.texi: Add PowerPC PPR function set documentation.
4014 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4015 implementation.
4016
e96e3767
CD
40172013-05-24 Carlos O'Donell <carlos@redhat.com>
4018
4019 * math/libm-test.inc (MAX_EXP): Define.
4020 (ULPDIFF): Define.
4021 (ulp): New function.
4022 (check_float_internal): Use ULPDIFF.
4023 (cpow_test): Disable failing test.
4024 (check_ulp): Test ulp() implemetnation.
4025 (main): Call check_ulp before starting tests.
4026
b679a606
JM
40272013-05-24 Joseph Myers <joseph@codesourcery.com>
4028
e8bdba36
JM
4029 * math/gen-libm-test.pl (generate_testfile): Do not handle
4030 START_DATA and END_DATA.
4031 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4032 END_DATA.
4033 (acos_tonearest_test_data): Likewise.
4034 (acos_towardzero_test_data): Likewise.
4035 (acos_downward_test_data): Likewise.
4036 (acos_upward_test_data): Likewise.
4037 (acosh_test_data): Likewise.
4038 (asin_test_data): Likewise.
4039 (asin_tonearest_test_data): Likewise.
4040 (asin_towardzero_test_data): Likewise.
4041 (asin_downward_test_data): Likewise.
4042 (asin_upward_test_data): Likewise.
4043 (asinh_test_data): Likewise.
4044 (atan_test_data): Likewise.
4045 (atanh_test_data): Likewise.
4046 (atan2_test_data): Likewise.
4047 (cabs_test_data): Likewise.
4048 (cacos_test_data): Likewise.
4049 (cacosh_test_data): Likewise.
4050 (carg_test_data): Likewise.
4051 (casin_test_data): Likewise.
4052 (casinh_test_data): Likewise.
4053 (catan_test_data): Likewise.
4054 (catanh_test_data): Likewise.
4055 (cbrt_test_data): Likewise.
4056 (ccos_test_data): Likewise.
4057 (ccosh_test_data): Likewise.
4058 (ceil_test_data): Likewise.
4059 (cexp_test_data): Likewise.
4060 (cimag_test_data): Likewise.
4061 (clog_test_data): Likewise.
4062 (clog10_test_data): Likewise.
4063 (conj_test_data): Likewise.
4064 (copysign_test_data): Likewise.
4065 (cos_test_data): Likewise.
4066 (cos_tonearest_test_data): Likewise.
4067 (cos_towardzero_test_data): Likewise.
4068 (cos_downward_test_data): Likewise.
4069 (cos_upward_test_data): Likewise.
4070 (cosh_test_data): Likewise.
4071 (cosh_tonearest_test_data): Likewise.
4072 (cosh_towardzero_test_data): Likewise.
4073 (cosh_downward_test_data): Likewise.
4074 (cosh_upward_test_data): Likewise.
4075 (cpow_test_data): Likewise.
4076 (cproj_test_data): Likewise.
4077 (creal_test_data): Likewise.
4078 (csin_test_data): Likewise.
4079 (csinh_test_data): Likewise.
4080 (csqrt_test_data): Likewise.
4081 (ctan_test_data): Likewise.
4082 (ctan_tonearest_test_data): Likewise.
4083 (ctan_towardzero_test_data): Likewise.
4084 (ctan_downward_test_data): Likewise.
4085 (ctan_upward_test_data): Likewise.
4086 (ctanh_test_data): Likewise.
4087 (ctanh_tonearest_test_data): Likewise.
4088 (ctanh_towardzero_test_data): Likewise.
4089 (ctanh_downward_test_data): Likewise.
4090 (ctanh_upward_test_data): Likewise.
4091 (erf_test_data): Likewise.
4092 (erfc_test_data): Likewise.
4093 (exp_test_data): Likewise.
4094 (exp_tonearest_test_data): Likewise.
4095 (exp_towardzero_test_data): Likewise.
4096 (exp_downward_test_data): Likewise.
4097 (exp_upward_test_data): Likewise.
4098 (exp10_test_data): Likewise.
4099 (exp2_test_data): Likewise.
4100 (expm1_test_data): Likewise.
4101 (fabs_test_data): Likewise.
4102 (fdim_test_data): Likewise.
4103 (finite_test_data): Likewise.
4104 (floor_test_data): Likewise.
4105 (fma_test_data): Likewise.
4106 (fma_towardzero_test_data): Likewise.
4107 (fma_downward_test_data): Likewise.
4108 (fma_upward_test_data): Likewise.
4109 (fmax_test_data): Likewise.
4110 (fmin_test_data): Likewise.
4111 (fmod_test_data): Likewise.
4112 (fpclassify_test_data): Likewise.
4113 (frexp_test_data): Likewise.
4114 (gamma_test_data): Likewise.
4115 (hypot_test_data): Likewise.
4116 (ilogb_test_data): Likewise.
4117 (isfinite_test_data): Likewise.
4118 (isgreater_test_data): Likewise.
4119 (isgreaterequal_test_data): Likewise.
4120 (isinf_test_data): Likewise.
4121 (isless_test_data): Likewise.
4122 (islessequal_test_data): Likewise.
4123 (islessgreater_test_data): Likewise.
4124 (isnan_test_data): Likewise.
4125 (isnormal_test_data): Likewise.
4126 (issignaling_test_data): Likewise.
4127 (isunordered_test_data): Likewise.
4128 (j0_test_data): Likewise.
4129 (j1_test_data): Likewise.
4130 (jn_test_data): Likewise.
4131 (ldexp_test_data): Likewise.
4132 (lgamma_test_data): Likewise.
4133 (lrint_test_data): Likewise.
4134 (lrint_tonearest_test_data): Likewise.
4135 (lrint_towardzero_test_data): Likewise.
4136 (lrint_downward_test_data): Likewise.
4137 (lrint_upward_test_data): Likewise.
4138 (llrint_test_data): Likewise.
4139 (llrint_tonearest_test_data): Likewise.
4140 (llrint_towardzero_test_data): Likewise.
4141 (llrint_downward_test_data): Likewise.
4142 (llrint_upward_test_data): Likewise.
4143 (log_test_data): Likewise.
4144 (log10_test_data): Likewise.
4145 (log1p_test_data): Likewise.
4146 (log2_test_data): Likewise.
4147 (logb_test_data): Likewise.
4148 (logb_downward_test_data): Likewise.
4149 (lround_test_data): Likewise.
4150 (llround_test_data): Likewise.
4151 (modf_test_data): Likewise.
4152 (nearbyint_test_data): Likewise.
4153 (nextafter_test_data): Likewise.
4154 (nexttoward_test_data): Likewise.
4155 (pow_test_data): Likewise.
4156 (pow_tonearest_test_data): Likewise.
4157 (pow_towardzero_test_data): Likewise.
4158 (pow_downward_test_data): Likewise.
4159 (pow_upward_test_data): Likewise.
4160 (remainder_test_data): Likewise.
4161 (remainder_tonearest_test_data): Likewise.
4162 (remainder_towardzero_test_data): Likewise.
4163 (remainder_downward_test_data): Likewise.
4164 (remainder_upward_test_data): Likewise.
4165 (remquo_test_data): Likewise.
4166 (rint_test_data): Likewise.
4167 (rint_tonearest_test_data): Likewise.
4168 (rint_towardzero_test_data): Likewise.
4169 (rint_downward_test_data): Likewise.
4170 (rint_upward_test_data): Likewise.
4171 (round_test_data): Likewise.
4172 (scalb_test_data): Likewise.
4173 (scalbn_test_data): Likewise.
4174 (scalbln_test_data): Likewise.
4175 (signbit_test_data): Likewise.
4176 (sin_test_data): Likewise.
4177 (sin_tonearest_test_data): Likewise.
4178 (sin_towardzero_test_data): Likewise.
4179 (sin_downward_test_data): Likewise.
4180 (sin_upward_test_data): Likewise.
4181 (sincos_test_data): Likewise.
4182 (sinh_test_data): Likewise.
4183 (sinh_tonearest_test_data): Likewise.
4184 (sinh_towardzero_test_data): Likewise.
4185 (sinh_downward_test_data): Likewise.
4186 (sinh_upward_test_data): Likewise.
4187 (sqrt_test_data): Likewise.
4188 (tan_test_data): Likewise.
4189 (tan_tonearest_test_data): Likewise.
4190 (tan_towardzero_test_data): Likewise.
4191 (tan_downward_test_data): Likewise.
4192 (tan_upward_test_data): Likewise.
4193 (tanh_test_data): Likewise.
4194 (tgamma_test_data): Likewise.
4195 (trunc_test_data): Likewise.
4196 (y0_test_data): Likewise.
4197 (y1_test_data): Likewise.
4198 (yn_test_data): Likewise.
4199 (significand_test_data): Likewise.
4200
b679a606
JM
4201 * math/gen-libm-test.pl (@functions): Remove variable.
4202 (generate_testfile): Don't handle START and END lines.
4203 * math/libm-test.inc (START): New macro.
4204 (END): Likewise.
4205 (END_COMPLEX): Likewise.
4206 (acos_test): Use END macro without arguments.
4207 (acos_test_tonearest): Likewise.
4208 (acos_test_towardzero): Likewise.
4209 (acos_test_downward): Likewise.
4210 (acos_test_upward): Likewise.
4211 (acosh_test): Likewise.
4212 (asin_test): Likewise.
4213 (asin_test_tonearest): Likewise.
4214 (asin_test_towardzero): Likewise.
4215 (asin_test_downward): Likewise.
4216 (asin_test_upward): Likewise.
4217 (asinh_test): Likewise.
4218 (atan_test): Likewise.
4219 (atanh_test): Likewise.
4220 (atan2_test): Likewise.
4221 (cabs_test): Likewise.
4222 (cacos_test): Use END_COMPLEX macro without arguments.
4223 (cacosh_test): Likewise.
4224 (carg_test): Use END macro without arguments.
4225 (casin_test): Use END_COMPLEX macro without arguments.
4226 (casinh_test): Likewise.
4227 (catan_test): Likewise.
4228 (catanh_test): Likewise.
4229 (cbrt_test): Use END macro without arguments.
4230 (ccos_test): Use END_COMPLEX macro without arguments.
4231 (ccosh_test): Likewise.
4232 (ceil_test): Use END macro without arguments.
4233 (cexp_test): Use END_COMPLEX macro without arguments.
4234 (cimag_test): Use END macro without arguments.
4235 (clog_test): Use END_COMPLEX macro without arguments.
4236 (clog10_test): Likewise.
4237 (conj_test): Likewise.
4238 (copysign_test): Use END macro without arguments.
4239 (cos_test): Likewise.
4240 (cos_test_tonearest): Likewise.
4241 (cos_test_towardzero): Likewise.
4242 (cos_test_downward): Likewise.
4243 (cos_test_upward): Likewise.
4244 (cosh_test): Likewise.
4245 (cosh_test_tonearest): Likewise.
4246 (cosh_test_towardzero): Likewise.
4247 (cosh_test_downward): Likewise.
4248 (cosh_test_upward): Likewise.
4249 (cpow_test): Use END_COMPLEX macro without arguments.
4250 (cproj_test): Likewise.
4251 (creal_test): Use END macro without arguments.
4252 (csin_test): Use END_COMPLEX macro without arguments.
4253 (csinh_test): Likewise.
4254 (csqrt_test): Likewise.
4255 (ctan_test): Likewise.
4256 (ctan_test_tonearest): Likewise.
4257 (ctan_test_towardzero): Likewise.
4258 (ctan_test_downward): Likewise.
4259 (ctan_test_upward): Likewise.
4260 (ctanh_test): Likewise.
4261 (ctanh_test_tonearest): Likewise.
4262 (ctanh_test_towardzero): Likewise.
4263 (ctanh_test_downward): Likewise.
4264 (ctanh_test_upward): Likewise.
4265 (erf_test): Use END macro without arguments.
4266 (erfc_test): Likewise.
4267 (exp_test): Likewise.
4268 (exp_test_tonearest): Likewise.
4269 (exp_test_towardzero): Likewise.
4270 (exp_test_downward): Likewise.
4271 (exp_test_upward): Likewise.
4272 (exp10_test): Likewise.
4273 (exp2_test): Likewise.
4274 (expm1_test): Likewise.
4275 (fabs_test): Likewise.
4276 (fdim_test): Likewise.
4277 (finite_test): Likewise.
4278 (floor_test): Likewise.
4279 (fma_test): Likewise.
4280 (fma_test_towardzero): Likewise.
4281 (fma_test_downward): Likewise.
4282 (fma_test_upward): Likewise.
4283 (fmax_test): Likewise.
4284 (fmin_test): Likewise.
4285 (fmod_test): Likewise.
4286 (fpclassify_test): Likewise.
4287 (frexp_test): Likewise.
4288 (gamma_test): Likewise.
4289 (hypot_test): Likewise.
4290 (ilogb_test): Likewise.
4291 (isfinite_test): Likewise.
4292 (isgreater_test): Likewise.
4293 (isgreaterequal_test): Likewise.
4294 (isinf_test): Likewise.
4295 (isless_test): Likewise.
4296 (islessequal_test): Likewise.
4297 (islessgreater_test): Likewise.
4298 (isnan_test): Likewise.
4299 (isnormal_test): Likewise.
4300 (issignaling_test): Likewise.
4301 (isunordered_test): Likewise.
4302 (j0_test): Likewise.
4303 (j1_test): Likewise.
4304 (jn_test): Likewise.
4305 (ldexp_test): Likewise.
4306 (lgamma_test): Likewise.
4307 (lrint_test): Likewise.
4308 (lrint_test_tonearest): Likewise.
4309 (lrint_test_towardzero): Likewise.
4310 (lrint_test_downward): Likewise.
4311 (lrint_test_upward): Likewise.
4312 (llrint_test): Likewise.
4313 (llrint_test_tonearest): Likewise.
4314 (llrint_test_towardzero): Likewise.
4315 (llrint_test_downward): Likewise.
4316 (llrint_test_upward): Likewise.
4317 (log_test): Likewise.
4318 (log10_test): Likewise.
4319 (log1p_test): Likewise.
4320 (log2_test): Likewise.
4321 (logb_test): Likewise.
4322 (logb_test_downward): Likewise.
4323 (lround_test): Likewise.
4324 (llround_test): Likewise.
4325 (modf_test): Likewise.
4326 (nearbyint_test): Likewise.
4327 (nextafter_test): Likewise.
4328 (nexttoward_test): Likewise.
4329 (pow_test): Likewise.
4330 (pow_test_tonearest): Likewise.
4331 (pow_test_towardzero): Likewise.
4332 (pow_test_downward): Likewise.
4333 (pow_test_upward): Likewise.
4334 (remainder_test): Likewise.
4335 (remainder_test_tonearest): Likewise.
4336 (remainder_test_towardzero): Likewise.
4337 (remainder_test_downward): Likewise.
4338 (remainder_test_upward): Likewise.
4339 (remquo_test): Likewise.
4340 (rint_test): Likewise.
4341 (rint_test_tonearest): Likewise.
4342 (rint_test_towardzero): Likewise.
4343 (rint_test_downward): Likewise.
4344 (rint_test_upward): Likewise.
4345 (round_test): Likewise.
4346 (scalb_test): Likewise.
4347 (scalbn_test): Likewise.
4348 (scalbln_test): Likewise.
4349 (signbit_test): Likewise.
4350 (sin_test): Likewise.
4351 (sin_test_tonearest): Likewise.
4352 (sin_test_towardzero): Likewise.
4353 (sin_test_downward): Likewise.
4354 (sin_test_upward): Likewise.
4355 (sincos_test): Likewise.
4356 (sinh_test): Likewise.
4357 (sinh_test_tonearest): Likewise.
4358 (sinh_test_towardzero): Likewise.
4359 (sinh_test_downward): Likewise.
4360 (sinh_test_upward): Likewise.
4361 (sqrt_test): Likewise.
4362 (tan_test): Likewise.
4363 (tan_test_tonearest): Likewise.
4364 (tan_test_towardzero): Likewise.
4365 (tan_test_downward): Likewise.
4366 (tan_test_upward): Likewise.
4367 (tanh_test): Likewise.
4368 (tgamma_test): Likewise.
4369 (trunc_test): Likewise.
4370 (y0_test): Likewise.
4371 (y1_test): Likewise.
4372 (yn_test): Likewise.
4373 (significand_test): Likewise.
4374
bae143d2
OB
43752013-05-24 Ondřej Bílka <neleai@seznam.cz>
4376
4377 [BZ #15381]
4378 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4379
9323d39b
EM
43802013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4381
d4ea44a0 4382 [BZ #14894]
9323d39b
EM
4383 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4384 __ppc_mdoio and __ppc_mdoom.
4385 * manual/platform.texi: Document new functions __ppc_yield,
4386 __ppc_mdoio and __ppc_mdoom.
4387
13e23af7
CD
43882013-05-22 Carlos O'Donell <carlos@redhat.com>
4389
4390 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4391 (main): Mention "tls" pseudo-hwcap is legacy.
4392 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4393
351fe550
JM
43942013-05-22 Joseph Myers <joseph@codesourcery.com>
4395
4396 * math/gen-libm-test.pl (parse_args): Output only string of
4397 arguments as text for test name, not full call or descriptions of
4398 tests for extra outputs.
4399 (generate_testfile): Do not pass function name to parse_args.
4400 Generate this_func variable from START.
4401 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4402 field to arg_str.
4403 (struct test_ff_f_data): Likewise.
4404 (test_ff_f_data_nexttoward): Likewise.
4405 (struct test_fi_f_data): Likewise.
4406 (struct test_fl_f_data): Likewise.
4407 (struct test_if_f_data): Likewise.
4408 (struct test_fff_f_data): Likewise.
4409 (struct test_c_f_data): Likewise.
4410 (struct test_f_f1_data): Likewise. Remove field extra_name.
4411 (struct test_fF_f1_data): Likewise.
4412 (struct test_ffI_f1_data): Likewise.
4413 (struct test_c_c_data): Rename test_name field to arg_str.
4414 (struct test_cc_c_data): Likewise.
4415 (struct test_f_i_data): Likewise.
4416 (struct test_ff_i_data): Likewise.
4417 (struct test_f_l_data): Likewise.
4418 (struct test_f_L_data): Likewise.
4419 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4420 and extra2_name.
4421 (COMMON_TEST_SETUP): New macro.
4422 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4423 (COMMON_TEST_CLEANUP): Likewise.
4424 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4425 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4426 macros.
4427 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4428 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4429 macros.
4430 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4431 (RUN_TEST_fff_f): Take argument string. Call new setup and
4432 cleanup macros.
4433 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4434 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4435 macros.
4436 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4437 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4438 macros.
4439 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4440 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4441 cleanup macros.
4442 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4443 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4444 cleanup macros.
4445 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4446 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4447 cleanup macros.
4448 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4449 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4450 macros.
4451 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4452 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4453 macros.
4454 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4455 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4456 macros.
4457 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4458 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4459 cleanup macros.
4460 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4461 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4462 cleanup macros.
4463 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4464 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4465 macros.
4466 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4467 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4468 cleanup macros.
4469 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4470 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4471 macros.
4472 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4473 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4474 macros.
4475 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4476 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4477 cleanup macros.
4478 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4479
85118d4d
EBM
44802013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4481
4482 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4483 to _sifields.sigfault.
4484 (si_addr_lsb): Define new macro.
4485 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4488
7a44c18f
CD
44892013-05-03 Carlos O'Donell <carlos at redhat.com>
4490
4491 [BZ #15441]
4492 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4493 returns -1.
4494 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4495 null return -1.
4496 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4497 loading the domain.
4498
b50a7181
JM
44992013-05-22 Joseph Myers <joseph@codesourcery.com>
4500
4501 * math/gen-libm-test.pl (parse_args): Do not include expected
4502 result in test name.
4503 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4505 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4506 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4507 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4509
051063c8
SP
45102013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
3ce9e010
SP
4512 * benchtests/Makefile: Sort function entries.
4513
051063c8
SP
4514 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4515 tanh, asinh, acosh, atanh.
4516 * benchtests/acos-inputs: New file.
4517 * benchtests/acosh-inputs: New file.
4518 * benchtests/asin-inputs: New file.
4519 * benchtests/asinh-inputs: New file.
4520 * benchtests/atanh-inputs: New file.
4521 * benchtests/cosh-inputs: New file.
4522 * benchtests/log-inputs: New file.
4523 * benchtests/sinh-inputs: New file.
4524 * benchtests/tanh-inputs: New file.
4525
47c22455
DL
45262013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4527
4528 [BZ #15339]
4529 * posix/tst-getaddrinfo4.c: New test.
4530 * posix/Makefile (tests): Add it.
4531
3d04f5db
SP
45322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4533
4534 [BZ #15339]
4535 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4536 when no services were used.
4537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4538 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4539
d5dd6189
AS
45402013-05-21 Andreas Schwab <schwab@suse.de>
4541
4542 [BZ #15014]
4543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4544 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4545 successful.
4546 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4547 redundant variable declarations and reallocation of buffer when
4548 parsing as IPv6 address. Always set NSS status when called from
4549 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4550 buffer too small. Correct computation of needed size.
4551 * nss/Makefile (tests): Add test-digits-dots.
4552 * nss/test-digits-dots.c: New test.
4553
fef94eab
SP
45542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4555
4556 * benchtests/Makefile: Remove instructions for adding
4557 benchmark tests.
4558 * benchtests/README: New file to explain how to execute and
4559 enhance the benchmark tests.
4560
e39adf43
AS
45612013-05-21 Andreas Schwab <schwab@suse.de>
4562
4563 [BZ #15493]
4564 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4565 * setjmp/tst-sigsetjmp.c: New test.
4566
b2b671b6
OB
45672013-05-20 Ondřej Bílka <neleai@seznam.cz>
4568
4569 * sysdeps/x86_64/memset.S (memset): New implementation.
4570 (__bzero): Likewise.
4571 (__memset_tail): New function.
4572
2d48b41c
OB
45732013-05-20 Ondřej Bílka <neleai@seznam.cz>
4574
4575 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4576 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4577 __memcpy_sse2_unaligned ifunc selection.
4578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4579 Add memcpy-sse2-unaligned.S.
4580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4581 Add: __memcpy_sse2_unaligned.
4582
f16cc3eb
JM
45832013-05-19 Joseph Myers <joseph@codesourcery.com>
4584
3e694268
JM
4585 [BZ #15490]
4586 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4587 math_force_eval before restoring floating-point envrionment.
4588 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4590 Likewise.
4591 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4592 <math_private.h>.
4593 (__nearbyintl): Use math_force_eval before restoring
4594 floating-point environment.
4595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4596
db62a907
JM
4597 * math/gen-libm-test.pl (special_functions): Remove.
4598 (parse_args): Don't handle TEST_extra. Handle functions with no
4599 return value.
4600 * math/libm-test.inc (struct test_sincos_data): Replace with
4601 struct test_fFF_11_data.
4602 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4603 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4604 (sincos_test_data): Change element type to struct
4605 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4606 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4607 RUN_TEST_LOOP_sincos.
4608 * math/README.libm-test: Don't mention special handling of
4609 individual functions.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4612 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4613 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4614 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4616
f16cc3eb
JM
4617 * math/gen-libm-test.pl (get_variable): Remove function.
4618 (parse_args): Don't show pointer parameters to call in test
4619 names. Use "extra output N" in test names for extra outputs
4620 rather than naming variables.
4621
3779b5b6
JM
46222013-05-18 Joseph Myers <joseph@codesourcery.com>
4623
2ee094ff
JM
4624 [BZ #15488]
4625 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4626 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4627 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4628 double tests.
4629 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4630 disable.
4631 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4632 check_long_double.
4633
3779b5b6
JM
4634 * math/gen-libm-test.pl (@tests): Remove variable.
4635 ($count): Likewise.
4636 (new_test): Remove function.
4637 (show_exceptions): New function.
4638 (special_functions): Use show_exceptions instead of new_test.
4639 (parse_args): Likewise.
4640 (generate_testfile): Pass only function name in generated call to
4641 print_max_error or print_complex_max_error.
4642 (get_ulps): Do not handle complex tests specially.
4643 (output_test): Rename to ...
4644 (get_all_ulps_for_test): ... this. Return a string rather than
4645 printing to a file. Require ulps to be present.
4646 (output_ulps): Generate arrays rather than #defines.
4647 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4648 (struct ulp_data): New type.
4649 (BUILD_COMPLEX_ULP): Remove macro.
4650 (compare_ulp_data): New function.
4651 (find_ulps): Likewise.
4652 (find_test_ulps): Likewise.
4653 (find_function_ulps): Likewise.
4654 (find_complex_function_ulps): Likewise.
4655 (print_max_error): Determine allowed ulps using
4656 find_function_ulps.
4657 (print_complex_max_error): Determine allowed ulps using
4658 find_complex_function_ulps.
4659 (check_float_internal): Determine max ulps using find_test_ulps.
4660 (check_float): Do not take max_ulp parameter. Update call to
4661 check_float_internal.
4662 (check_complex): Likewise.
4663 (check_int): Do not take max_ulp parameter.
4664 (check_long): Likewise.
4665 (check_bool): Likewise.
4666 (check_longlong): Likewise.
4667 (struct test_f_f_data): Remove max_ulp field.
4668 (struct test_ff_f_data): Likewise.
4669 (struct test_ff_f_data_nexttoward): Likewise.
4670 (struct test_fi_f_data): Likewise.
4671 (struct test_fl_f_data): Likewise.
4672 (struct test_if_f_data): Likewise.
4673 (struct test_fff_f_data): Likewise.
4674 (struct test_c_f_data): Likewise.
4675 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4676 (struct test_fF_f1_data): Likewise.
4677 (struct test_ffI_f1_data): Likewise.
4678 (struct test_c_c_data): Remove max_ulp field.
4679 (struct test_cc_c_data): Likewise.
4680 (struct test_f_i_data): Likewise.
4681 (struct test_ff_i_data): Likewise.
4682 (struct test_f_l_data): Likewise.
4683 (struct test_f_L_data): Likewise.
4684 (struct test_sincos_data): Likewise.
4685 (RUN_TEST_f_f): Do not handle ulps.
4686 (RUN_TEST_LOOP_f_f): Likewise.
4687 (RUN_TEST_2_f): Likewise.
4688 (RUN_TEST_LOOP_2_f): Likewise.
4689 (RUN_TEST_fff_f): Likewise.
4690 (RUN_TEST_LOOP_fff_f): Likewise.
4691 (RUN_TEST_c_f): Likewise.
4692 (RUN_TEST_LOOP_c_f): Likewise.
4693 (RUN_TEST_f_f1): Likewise.
4694 (RUN_TEST_LOOP_f_f1): Likewise.
4695 (RUN_TEST_fF_f1): Likewise.
4696 (RUN_TEST_LOOP_fF_f1): Likewise.
4697 (RUN_TEST_fI_f1): Likewise.
4698 (RUN_TEST_LOOP_fI_f1): Likewise.
4699 (RUN_TEST_ffI_f1): Likewise.
4700 (RUN_TEST_LOOP_ffI_f1): Likewise.
4701 (RUN_TEST_c_c): Likewise.
4702 (RUN_TEST_LOOP_c_c): Likewise.
4703 (RUN_TEST_cc_c): Likewise.
4704 (RUN_TEST_LOOP_cc_c): Likewise.
4705 (RUN_TEST_f_i): Likewise.
4706 (RUN_TEST_LOOP_f_i): Likewise.
4707 (RUN_TEST_f_i_tg): Likewise.
4708 (RUN_TEST_LOOP_f_i_tg): Likewise.
4709 (RUN_TEST_ff_i_tg): Likewise.
4710 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4711 (RUN_TEST_f_b): Likewise.
4712 (RUN_TEST_LOOP_f_b): Likewise.
4713 (RUN_TEST_f_b_tg): Likewise.
4714 (RUN_TEST_LOOP_f_b_tg): Likewise.
4715 (RUN_TEST_f_l): Likewise.
4716 (RUN_TEST_LOOP_f_l): Likewise.
4717 (RUN_TEST_f_L): Likewise.
4718 (RUN_TEST_LOOP_f_L): Likewise.
4719 (RUN_TEST_sincos): Likewise.
4720 (RUN_TEST_LOOP_sincos): Likewise.
4721
8269107f
JM
47222013-05-17 Joseph Myers <joseph@codesourcery.com>
4723
bb38759d
JM
4724 [BZ #15480]
4725 [BZ #15485]
4726 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4727 main case of finite arguments, set rounding mode to FE_TONEAREST
4728 and discard exceptions.
4729 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4730 exceptions.
4731 (remainder_tonearest_test_data): New variable.
4732 (remainder_test_tonearest): New function.
4733 (remainder_towardzero_test_data): New variable.
4734 (remainder_test_towardzero): New function.
4735 (remainder_downward_test_data): New variable.
4736 (remainder_test_downward): New function.
4737 (remainder_upward_test_data): New variable.
4738 (remainder_test_upward): New function.
4739 (main): Call the new test functions.
4740
a00bdcf0
JM
4741 * math/libm-test.inc (struct test_f_f1_data): Remove field
4742 extra_init.
4743 (struct test_fF_f1_data): Likewise.
4744 (struct test_ffI_f1_data): Likewise.
4745 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4746 based on value of EXTRA_EXPECTED.
4747 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4748 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4749 EXTRA_VAR based on value of EXTRA_EXPECTED.
4750 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4751 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4752 EXTRA_VAR based on value of EXTRA_EXPECTED.
4753 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4754 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4755 EXTRA_VAR based on value of EXTRA_EXPECTED.
4756 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4757 * math/gen-libm-test.pl (parse_args): Don't output initializers
4758 for extra output values.
4759
de407f79
JM
4760 * math/libm-test.inc (check_int): Expect result to be exactly
4761 equal to expected value and do not handle ulps.
4762 (check_long): Likewise.
4763 (check_longlong): Likewise.
4764
8269107f
JM
4765 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4766 exceptions.
4767 (cimag_test_data): Likewise.
4768 (conj_test_data): Likewise.
4769 (copysign_test_data): Likewise.
4770 (cproj_test_data): Likewise.
4771 (creal_test_data): Likewise.
4772 (fabs_test_data): Likewise.
4773 (fdim_test_data): Likewise.
4774 (finite_test_data): Likewise.
4775 (floor_test_data): Likewise.
4776 (fmax_test_data): Likewise.
4777 (fmin_test_data): Likewise.
4778 (fmod_test_data): Likewise.
4779 (fpclassify_test_data): Likewise.
4780 (frexp_test_data): Likewise.
4781 (ilogb_test_data): Likewise.
4782 (isfinite_test_data): Likewise.
4783 (isgreater_test_data): Likewise.
4784 (isgreaterequal_test_data): Likewise.
4785 (isinf_test_data): Likewise.
4786 (isless_test_data): Likewise.
4787 (islessequal_test_data): Likewise.
4788 (islessgreater_test_data): Likewise.
4789 (isnan_test_data): Likewise.
4790 (isnormal_test_data): Likewise.
4791 (issignaling_test_data): Likewise.
4792 (isunordered_test_data): Likewise.
4793 (ldexp_test_data): Likewise.
4794 (lrint_test_data): Likewise.
4795 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4796 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4797 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4798 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4799 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4800 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4801 test input.
4802 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4803 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4804 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4805 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4806 that test input.
4807 (lrint_downward_test_data): Test for "inexact" exceptions.
4808 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4809 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4810 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4811 test input.
4812 (lrint_upward_test_data): Test for "inexact" exceptions.
4813 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4814 test input.
4815 (llrint_test_data): Test for "inexact" exceptions.
4816 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4817 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4818 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4819 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4820 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4821 (llrint_downward_test_data): Test for "inexact" exceptions.
4822 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4823 (llrint_upward_test_data): Test for "inexact" exceptions.
4824 (logb_test_data): Likewise.
4825 (logb_downward_test_data): Likewise.
4826 (nextafter_test_data): Likewise.
4827 (nexttoward_test_data): Likewise.
4828 (remainder_test_data): Likewise.
4829 (remquo_test_data): Likewise.
4830 (scalbn_test_data): Likewise.
4831 (scalbln_test_data): Likewise.
4832 (signbit_test_data): Likewise.
4833 (sqrt_test_data): Likewise.
4834 (significand_test_data): Likewise.
4835
48a18de1
SP
48362013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4837
4838 [BZ #15424]
4839 * benchtests/bench-modf.c (struct args): Mark arg0 as
4840 volatile.
4841 * scripts/bench.pl: Mark members of struct args as volatile.
4842
13d3b41a
AZ
48432013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844
68191c1d 4845 [BZ # 15497]
13d3b41a
AZ
4846 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4847 negative infinity on POWER6 or lower.
4848 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4849
2848b105
MR
48502013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4851
4852 [BZ #15442]
4853 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4854 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4855 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4856 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4857 (_FP_SETQNAN): New macro.
4858 (_FP_SETQNAN_SEMIRAW): Likewise.
4859 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4860 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4861 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4862 (FP_EXTEND): Use _FP_FRAC_SNANP.
4863 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4864 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4865 into account.
4866 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4867 New macro.
4868 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4869 Likewise.
4870
323e5cb7
JM
48712013-05-16 Joseph Myers <joseph@codesourcery.com>
4872
c58b274f
JM
4873 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4874 with DIVIDE_BY_ZERO_EXCEPTION.
4875 (gamma_test_data): Likewise.
4876 (lgamma_test_data): Likewise.
4877 (log_test_data): Likewise.
4878 (log10_test_data): Likewise.
4879 (log2_test_data): Likewise.
4880 (tgamma_test_data): Likewise.
4881
0ab34904
JM
4882 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4883 (acos_test_tonearest): Likewise.
4884 (acos_test_towardzero): Likewise.
4885 (acos_test_downward): Likewise.
4886 (acos_test_upward): Likewise.
4887 (acosh_test): Likewise.
4888 (asin_test): Likewise.
4889 (asin_test_tonearest): Likewise.
4890 (asin_test_towardzero): Likewise.
4891 (asin_test_downward): Likewise.
4892 (asin_test_upward): Likewise.
4893 (asinh_test): Likewise.
4894 (atan_test): Likewise.
4895 (atanh_test): Likewise.
4896 (atan2_test): Likewise.
4897 (cabs_test): Likewise.
4898 (cacos_test): Likewise.
4899 (cacosh_test): Likewise.
4900 (casin_test): Likewise.
4901 (casinh_test): Likewise.
4902 (catan_test): Likewise.
4903 (catanh_test): Likewise.
4904 (cbrt_test): Likewise.
4905 (ccos_test): Likewise.
4906 (ccosh_test): Likewise.
4907 (cexp_test): Likewise.
4908 (clog_test): Likewise.
4909 (clog10_test): Likewise.
4910 (cos_test): Likewise.
4911 (cos_test_tonearest): Likewise.
4912 (cos_test_towardzero): Likewise.
4913 (cos_test_downward): Likewise.
4914 (cos_test_upward): Likewise.
4915 (cosh_test): Likewise.
4916 (cosh_test_tonearest): Likewise.
4917 (cosh_test_towardzero): Likewise.
4918 (cosh_test_downward): Likewise.
4919 (cosh_test_upward): Likewise.
4920 (cpow_test): Likewise.
4921 (csin_test): Likewise.
4922 (csinh_test): Likewise.
4923 (csqrt_test): Likewise.
4924 (ctan_test): Likewise.
4925 (ctan_test_tonearest): Likewise.
4926 (ctan_test_towardzero): Likewise.
4927 (ctan_test_downward): Likewise.
4928 (ctan_test_upward): Likewise.
4929 (ctanh_test): Likewise.
4930 (ctanh_test_tonearest): Likewise.
4931 (ctanh_test_towardzero): Likewise.
4932 (ctanh_test_downward): Likewise.
4933 (ctanh_test_upward): Likewise.
4934 (erf_test): Likewise.
4935 (erfc_test): Likewise.
4936 (exp_test): Likewise.
4937 (exp_test_tonearest): Likewise.
4938 (exp_test_towardzero): Likewise.
4939 (exp_test_downward): Likewise.
4940 (exp_test_upward): Likewise.
4941 (exp10_test): Likewise.
4942 (exp2_test): Likewise.
4943 (expm1_test): Likewise.
4944 (fmod_test): Likewise.
4945 (gamma_test): Likewise.
4946 (hypot_test): Likewise.
4947 (j0_test): Likewise.
4948 (j1_test): Likewise.
4949 (jn_test): Likewise.
4950 (lgamma_test): Likewise.
4951 (log_test): Likewise.
4952 (log10_test): Likewise.
4953 (log1p_test): Likewise.
4954 (log2_test): Likewise.
4955 (logb_test_downward): Likewise.
4956 (pow_test): Likewise.
4957 (pow_test_tonearest): Likewise.
4958 (pow_test_towardzero): Likewise.
4959 (pow_test_downward): Likewise.
4960 (pow_test_upward): Likewise.
4961 (remainder_test): Likewise.
4962 (remquo_test): Likewise.
4963 (sin_test): Likewise.
4964 (sin_test_tonearest): Likewise.
4965 (sin_test_towardzero): Likewise.
4966 (sin_test_downward): Likewise.
4967 (sin_test_upward): Likewise.
4968 (sincos_test): Likewise.
4969 (sinh_test): Likewise.
4970 (sinh_test_tonearest): Likewise.
4971 (sinh_test_towardzero): Likewise.
4972 (sinh_test_downward): Likewise.
4973 (sinh_test_upward): Likewise.
4974 (sqrt_test): Likewise.
4975 (tan_test): Likewise.
4976 (tan_test_tonearest): Likewise.
4977 (tan_test_towardzero): Likewise.
4978 (tan_test_downward): Likewise.
4979 (tan_test_upward): Likewise.
4980 (tanh_test): Likewise.
4981 (tgamma_test): Likewise.
4982 (y0_test): Likewise.
4983 (y1_test): Likewise.
4984 (yn_test): Likewise.
4985
323e5cb7
JM
4986 * math/gen-libm-test.pl (adjust_arg): Remove function.
4987 (special_function): Remove argument $in_func. Only handle
4988 generating output for tables of tests, not inside functions.
4989 (parse_args): Likewise.
4990 (generate_testfile): Remove variable $in_func. Update call to
4991 parse_args.
4992 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4993 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4994 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4995 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4996 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4997 (MAX_VALUE_INIT): Rename macro to max_value.
4998 (MIN_VALUE_INIT): Rename macro to min_value.
4999 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5000 (plus_zero): Remove variable.
5001 (minus_zero): Likewise.
5002 (plus_infty): Likewise.
5003 (minus_infty): Likewise.
5004 (qnan_value): Likewise.
5005 (max_value): Likewise.
5006 (min_value): Likewise.
5007 (min_subnorm_value): Likewise.
5008
e054f494
RA
50092013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5010
5011 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5012 uint64_t or uint32_t usage.
5013 * crypt/sha256-block.c: Likewise.
5014 * crypt/sha256-crypt.c: Likewise.
5015 * crypt/sha256.c: Likewise.
5016 * crypt/sha512-block.c: Likewise.
5017 * crypt/sha512-crypt.c: Likewise.
5018 * crypt/sha512.c: Likewise.
5019 * debug/backtrace-tst.c: Likewise.
5020 * debug/pcprofiledump.c: Likewise.
5021 * elf/cache.c: Likewise.
5022 * elf/dl-cache.c: Likewise.
5023 * elf/dl-misc.c: Likewise.
5024 * elf/dl-profile.c: Likewise.
5025 * elf/dl-support.c: Likewise.
5026 * elf/ldconfig.c: Likewise.
5027 * elf/sprof.c: Likewise.
5028 * iconv/dummy-repertoire.c: Likewise.
5029 * iconv/iconv_charmap.c: Likewise.
5030 * iconv/skeleton.c: Likewise.
5031 * iconvdata/8bit-generic.c: Likewise.
5032 * iconvdata/cp737.h: Likewise.
5033 * iconvdata/cp775.h: Likewise.
5034 * iconvdata/ibm1008.h: Likewise.
5035 * iconvdata/ibm1025.h: Likewise.
5036 * iconvdata/ibm1046.h: Likewise.
5037 * iconvdata/ibm1097.h: Likewise.
5038 * iconvdata/ibm1112.h: Likewise.
5039 * iconvdata/ibm1122.h: Likewise.
5040 * iconvdata/ibm1123.h: Likewise.
5041 * iconvdata/ibm1124.h: Likewise.
5042 * iconvdata/ibm1129.h: Likewise.
5043 * iconvdata/ibm1130.h: Likewise.
5044 * iconvdata/ibm1132.h: Likewise.
5045 * iconvdata/ibm1133.h: Likewise.
5046 * iconvdata/ibm1137.h: Likewise.
5047 * iconvdata/ibm1140.h: Likewise.
5048 * iconvdata/ibm1141.h: Likewise.
5049 * iconvdata/ibm1142.h: Likewise.
5050 * iconvdata/ibm1143.h: Likewise.
5051 * iconvdata/ibm1144.h: Likewise.
5052 * iconvdata/ibm1145.h: Likewise.
5053 * iconvdata/ibm1146.h: Likewise.
5054 * iconvdata/ibm1147.h: Likewise.
5055 * iconvdata/ibm1148.h: Likewise.
5056 * iconvdata/ibm1149.h: Likewise.
5057 * iconvdata/ibm1153.h: Likewise.
5058 * iconvdata/ibm1154.h: Likewise.
5059 * iconvdata/ibm1155.h: Likewise.
5060 * iconvdata/ibm1156.h: Likewise.
5061 * iconvdata/ibm1157.h: Likewise.
5062 * iconvdata/ibm1158.h: Likewise.
5063 * iconvdata/ibm1160.h: Likewise.
5064 * iconvdata/ibm1161.h: Likewise.
5065 * iconvdata/ibm1162.h: Likewise.
5066 * iconvdata/ibm1163.h: Likewise.
5067 * iconvdata/ibm1164.h: Likewise.
5068 * iconvdata/ibm1166.h: Likewise.
5069 * iconvdata/ibm1167.h: Likewise.
5070 * iconvdata/ibm12712.h: Likewise.
5071 * iconvdata/ibm1390.h: Likewise.
5072 * iconvdata/ibm1399.h: Likewise.
5073 * iconvdata/ibm16804.h: Likewise.
5074 * iconvdata/ibm4517.h: Likewise.
5075 * iconvdata/ibm4899.h: Likewise.
5076 * iconvdata/ibm4909.h: Likewise.
5077 * iconvdata/ibm4971.h: Likewise.
5078 * iconvdata/ibm5347.h: Likewise.
5079 * iconvdata/ibm803.h: Likewise.
5080 * iconvdata/ibm856.h: Likewise.
5081 * iconvdata/ibm901.h: Likewise.
5082 * iconvdata/ibm902.h: Likewise.
5083 * iconvdata/ibm9030.h: Likewise.
5084 * iconvdata/ibm9066.h: Likewise.
5085 * iconvdata/ibm921.h: Likewise.
5086 * iconvdata/ibm922.h: Likewise.
5087 * iconvdata/ibm9448.h: Likewise.
5088 * iconvdata/isiri-3342.h: Likewise.
5089 * iconvdata/jis0201.h: Likewise.
5090 * include/link.h: Likewise.
5091 * include/netdb.h: Likewise.
5092 * inet/check_native.c: Likewise.
5093 * inet/check_pf.c: Likewise.
5094 * inet/getipv4sourcefilter.c: Likewise.
5095 * inet/getnameinfo.c: Likewise.
5096 * inet/getsourcefilter.c: Likewise.
5097 * inet/htonl.c: Likewise.
5098 * inet/setipv4sourcefilter.c: Likewise.
5099 * inet/setsourcefilter.c: Likewise.
5100 * inet/test-inet6_opt.c: Likewise.
5101 * inet/tst-network.c: Likewise.
5102 * locale/C-collate.c: Likewise.
5103 * locale/C-ctype.c: Likewise.
5104 * locale/C-time.c: Likewise.
5105 * locale/C-translit.h: Likewise.
5106 * locale/loadarchive.c: Likewise.
5107 * locale/programs/3level.h: Likewise.
5108 * locale/programs/charmap.c: Likewise.
5109 * locale/programs/charmap.h: Likewise.
5110 * locale/programs/ld-address.c: Likewise.
5111 * locale/programs/ld-collate.c: Likewise.
5112 * locale/programs/ld-ctype.c: Likewise.
5113 * locale/programs/ld-identification.c: Likewise.
5114 * locale/programs/ld-measurement.c: Likewise.
5115 * locale/programs/ld-messages.c: Likewise.
5116 * locale/programs/ld-monetary.c: Likewise.
5117 * locale/programs/ld-name.c: Likewise.
5118 * locale/programs/ld-numeric.c: Likewise.
5119 * locale/programs/ld-paper.c: Likewise.
5120 * locale/programs/ld-telephone.c: Likewise.
5121 * locale/programs/ld-time.c: Likewise.
5122 * locale/programs/linereader.c: Likewise.
5123 * locale/programs/locale.c: Likewise.
5124 * locale/programs/locarchive.c: Likewise.
5125 * locale/programs/locfile.h: Likewise.
5126 * locale/programs/repertoire.c: Likewise.
5127 * locale/programs/simple-hash.c: Likewise.
5128 * locale/programs/simple-hash.h: Likewise.
5129 * malloc/memusage.c: Likewise.
5130 * malloc/memusagestat.c: Likewise.
5131 * nis/nis_defaults.c: Likewise.
5132 * nis/nis_hash.c: Likewise.
5133 * nis/nis_print.c: Likewise.
5134 * nis/nis_xdr.c: Likewise.
5135 * nscd/connections.c: Likewise.
5136 * nscd/hstcache.c: Likewise.
5137 * nscd/nscd_gethst_r.c: Likewise.
5138 * nscd/nscd_getserv_r.c: Likewise.
5139 * nscd/nscd_helper.c: Likewise.
5140 * nscd/servicescache.c: Likewise.
5141 * nss/makedb.c: Likewise.
5142 * nss/nss_db/db-XXX.c: Likewise.
5143 * nss/nss_db/db-initgroups.c: Likewise.
5144 * nss/nss_db/db-netgrp.c: Likewise.
5145 * nss/nss_files/files-network.c: Likewise.
5146 * nss/nss_files/files-parse.c: Likewise.
5147 * posix/bug-regex5.c: Likewise.
5148 * posix/fnmatch_loop.c: Likewise.
5149 * posix/regcomp.c: Likewise.
5150 * posix/regexec.c: Likewise.
5151 * posix/tst-rfc3484-2.c: Likewise.
5152 * posix/tst-rfc3484-3.c: Likewise.
5153 * posix/tst-rfc3484.c: Likewise.
5154 * resolv/nss_dns/dns-canon.c: Likewise.
5155 * resolv/nss_dns/dns-network.c: Likewise.
5156 * resolv/res_init.c: Likewise.
5157 * resolv/res_mkquery.c: Likewise.
5158 * resolv/tst-aton.c: Likewise.
5159 * stdlib/cxa_atexit.c: Likewise.
5160 * stdlib/cxa_finalize.c: Likewise.
5161 * stdlib/gen-fpioconst.c: Likewise.
5162 * stdlib/strtol_l.c: Likewise.
5163 * string/tst-endian.c: Likewise.
5164 * sunrpc/auth_des.c: Likewise.
5165 * sunrpc/clnt_udp.c: Likewise.
5166 * sunrpc/rtime.c: Likewise.
5167 * sunrpc/svcauth_des.c: Likewise.
5168 * sunrpc/xdr.c: Likewise.
5169 * sunrpc/xdr_intXX_t.c: Likewise.
5170 * sunrpc/xdr_rec.c: Likewise.
5171 * sysdeps/generic/ldconfig.h: Likewise.
5172 * sysdeps/generic/ldsodefs.h: Likewise.
5173 * sysdeps/generic/memusage.h: Likewise.
5174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5177 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5184 * sysdeps/posix/getaddrinfo.c: Likewise.
5185 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5187 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5188 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5189 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5190 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5191 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5192 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5193 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5194 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5195 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5196 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5197 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5198 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5200 * sysdeps/x86_64/dl-tls.h: Likewise.
5201 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5202 * time/alt_digit.c: Likewise.
5203 * time/era.c: Likewise.
5204 * wcsmbs/tst-c16c32-1.c: Likewise.
5205
8c75f674
JM
52062013-05-16 Joseph Myers <joseph@codesourcery.com>
5207
5208 * math/libm-test.inc (struct test_sincos_data): New type.
5209 (RUN_TEST_LOOP_sincos): New macro.
5210 (sincos_test_data): New variable.
5211 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5212
e6e49e59
RH
52132013-05-16 Richard Henderson <rth@redhat.com>
5214
5215 * math/atest-exp2.c (LIMB64): New macro.
5216 (CONSTSZ): New macro.
5217 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5218 (hexdig): Move ...
5219 (print_mpn_fp): ... to function scope.
5220 (read_mpn_hex): Remove.
5221 (get_log2): Remove.
5222 (exp2_mpn): Use mp_log2.
5223 (main): Use mp_exp1.
5224
15c7c18d
JM
52252013-05-16 Joseph Myers <joseph@codesourcery.com>
5226
105a07df
JM
5227 * math/libm-test.inc: Remove comment about not testing "inexact"
5228 exceptions.
5229 (INEXACT_EXCEPTION): New macro.
5230 (NO_INEXACT_EXCEPTION): Likewise.
5231 (INVALID_EXCEPTION_OK): Update value.
5232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5233 (OVERFLOW_EXCEPTION_OK): Likewise.
5234 (UNDERFLOW_EXCEPTION_OK): Likewise.
5235 (IGNORE_ZERO_INF_SIGN): Likewise.
5236 (ERRNO_UNCHANGED): Likewise.
5237 (ERRNO_EDOM): Likewise.
5238 (ERRNO_ERANGE): Likewise.
5239 (test_exceptions): Handle testing "inexact" exceptions.
5240 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5241 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5242 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5243 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5244 INEXACT_EXCEPTION.
5245 (rint_towardzero_test_data): Likewise.
5246 (rint_downward_test_data): Likewise.
5247 (rint_upward_test_data): Likewise.
5248
e9eee333
JM
5249 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5250 with OVERFLOW_EXCEPTION.
5251 (exp10_test_data): Likewise.
5252 (exp2_test_data): Likewise.
5253 (expm1_test_data): Likewise.
5254 (lgamma_test_data): Likewise.
5255 (pow_test_data): Likewise.
5256 (tgamma_test_data): Likewise.
5257 (yn_test_data): Remove duplicate test of overflow.
5258
1c38ff73
JM
5259 * math/libm-test.inc (struct test_cc_c_data): New type.
5260 (RUN_TEST_LOOP_cc_c): New macro.
5261 (cpow_test_data): New variable.
5262 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5263
15c7c18d
JM
5264 * math/libm-test.inc (struct test_f_L_data): New type.
5265 (RUN_TEST_LOOP_f_L): New macro.
5266 (llrint_test_data): New variable.
5267 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5268 (llrint_tonearest_test_data): New variable.
5269 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5270 (llrint_towardzero_test_data): New variable.
5271 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5272 (llrint_downward_test_data): New variable.
5273 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5274 (llrint_upward_test_data): New variable.
5275 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5276 (llround_test_data): New variable.
5277 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5278
f137ff13
PC
52792013-05-13 Peter Collingbourne <pcc@google.com>
5280
5281 * math/atest-exp2.c (get_log2): Remove const attribute.
5282
3608cb24
JM
52832013-05-15 Joseph Myers <joseph@codesourcery.com>
5284
5285 * math/libm-test.inc (struct test_f_l_data): New type.
5286 (RUN_TEST_LOOP_f_l): New macro.
5287 (lrint_test_data): New variable.
5288 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5289 (lrint_tonearest_test_data): New variable.
5290 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5291 (lrint_towardzero_test_data): New variable.
5292 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5293 (lrint_downward_test_data): New variable.
5294 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5295 (lrint_upward_test_data): New variable.
5296 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5297 (lround_test_data): New variable.
5298 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5299
39b1f617
PC
53002013-05-15 Peter Collingbourne <pcc@google.com>
5301
1deff3dc
PC
5302 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5303 (EXTRACT_WORDS64) Use where appropriate.
5304 (INSERT_WORDS64) Likewise.
5305
791f3ba0
PC
5306 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5307 constraints with x constraints.
5308 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5309
39b1f617
PC
5310 * malloc/obstack.c (_obstack_compat): Add initializer.
5311
12fba011
EM
53122013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5313
5314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5315 si_trapno and add si_addr_lsb to _sifields.sigfault.
5316 (si_trapno): Remove macro.
5317 (si_addr_lsb): Define new macro.
5318 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5319
d369f531
JM
53202013-05-15 Joseph Myers <joseph@codesourcery.com>
5321
b861c6c4
JM
5322 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5323 instead of TEST_f_l.
5324 (llrint_test_tonearest): Likewise.
5325 (llrint_test_towardzero): Likewise.
5326 (llrint_test_downward): Likewise.
5327 (llrint_test_upward): Likewise.
5328 (llround_test): Likewise.
5329
7abeee12
JM
5330 * math/libm-test.inc (struct test_f_i_data): Add comment.
5331 (RUN_TEST_LOOP_f_b): New macro.
5332 (RUN_TEST_LOOP_f_b_tg): Likewise.
5333 (finite_test_data): New variable.
5334 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5335 (isfinite_test_data): New variable.
5336 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5337 (isinf_test_data): New variable.
5338 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5339 (isnan_test_data): New variable.
5340 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5341 (isnormal_test_data): New variable.
5342 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5343 (issignaling_test_data): New variable.
5344 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5345 (signbit_test_data): New variable.
5346 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5347
cbe8c4d3
JM
5348 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5349 with INVALID_EXCEPTION.
5350 (acosh_test_data): Likewise.
5351 (asin_test_data): Likewise.
5352 (atanh_test_data): Likewise.
5353 (fmod_test_data): Likewise.
5354 (log_test_data): Likewise.
5355 (log10_test_data): Likewise.
5356 (log2_test_data): Likewise.
5357 (pow_test_data): Likewise.
5358 (sqrt_test_data): Likewise.
5359 (y0_test_data): Likewise.
5360 (y1_test_data): Likewise.
5361 (yn_test_data): Likewise.
5362
5575c0e5
JM
5363 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5364 function contents.
5365
d369f531
JM
5366 * math/libm-test.inc (struct test_ff_i_data): New type.
5367 (RUN_TEST_LOOP_ff_i_tg): New macro.
5368 (isgreater_test_data): New variable.
5369 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5370 (isgreaterequal_test_data): New variable.
5371 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5372 (isless_test_data): New variable.
5373 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5374 (islessequal_test_data): New variable.
5375 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5376 (islessgreater_test_data): New variable.
5377 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5378 (isunordered_test_data): New variable.
5379 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5380
781fd748
DM
53812013-05-14 David S. Miller <davem@davemloft.net>
5382
5383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5384
87aa21df
JM
53852013-05-14 Joseph Myers <joseph@codesourcery.com>
5386
5e908270
JM
5387 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5388
f71172e5
JM
5389 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5390 extra_test to int.
5391 (struct test_f_i_data): Change type of max_ulp to int.
5392
8cfa635a
JM
5393 * math/libm-test.inc (test_ffI_f1_data): New type.
5394 (RUN_TEST_LOOP_ffI_f1): New macro.
5395 (remquo_test_data): New variable.
5396 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5397
2bcb36b2
JM
5398 * setjmp/tst-setjmp-fp.c: New file.
5399 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5400 (link-libm): New variable.
5401 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5402
acbd839a
JM
5403 * math/libm-test.inc (struct test_f_i_data): New type.
5404 (RUN_TEST_LOOP_f_i): New macro.
5405 (RUN_TEST_LOOP_f_i_tg): Likewise.
5406 (fpclassify_test_data): New variable.
5407 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5408 (ilogb_test_data): New variable.
5409 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5410
e414d745
JM
5411 * math/libm-test.inc (scalbln_test): Correct function name in END
5412 call.
5413
d9c2a0fd
JM
5414 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5415 (RUN_TEST_LOOP_fI_f1): New macro.
5416 (frexp_test_data): New variable.
5417 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5418
9dc9095d
JM
5419 * math/libm-test.inc (struct test_fF_f1_data): New type.
5420 (RUN_TEST_LOOP_fF_f1): New macro.
5421 (modf_test_data): New variable.
5422 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5423
87aa21df
JM
5424 * math/libm-test.inc (struct test_f_f1_data): New type.
5425 (RUN_TEST_LOOP_f_f1): New macro.
5426 (gamma_test_data): New variable.
5427 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5428 (lgamma_test_data): New variable.
5429 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5430
141af660
CD
54312013-05-13 Carlos O'Donell <carlos@redhat.com>
5432
5433 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5434 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5435 (main): Comment "tls" pseudo-hwcap.
5436
6d33265c
JM
54372013-05-13 Joseph Myers <joseph@codesourcery.com>
5438
68fc074c
JM
5439 * math/libm-test.inc (struct test_fl_f_data): New type.
5440 (RUN_TEST_LOOP_fl_f): New variable.
5441 (scalbln_test_data): New variable.
5442 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5443
243216e1
JM
5444 * math/libm-test.inc (struct test_fi_f_data): New type.
5445 (RUN_TEST_LOOP_fi_f): New macro.
5446 (ldexp_test_data): New variable.
5447 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5448 (scalbn_test_data): New variable.
5449 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5450
6a1992e2
JM
5451 * math/libm-test.inc (struct test_c_f_data): New type.
5452 (RUN_TEST_LOOP_c_f): New macro.
5453 (cabs_test_data): New variable.
5454 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5455 (carg_test_data): New variable.
5456 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5457 (cimag_test_data): New variable.
5458 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5459 (creal_test_data): New variable.
5460 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5461
0e400df5
JM
5462 * math/libm-test.inc (struct test_if_f_data): New type.
5463 (RUN_TEST_LOOP_if_f): New macro.
5464 (jn_test_data): New variable.
5465 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5466 (yn_test_data): New variable.
5467 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5468
6d33265c
JM
5469 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5470
f98ece5f
AZ
54712013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
5473 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5474 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5475
0f7d347b
SP
54762013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5477
43fe811b
SP
5478 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5479 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5480 (bench-deps): Add bench-timing.h.
5481 * benchtests-bench-skeleton.c: Include bench-timing.h.
5482 (main): Use TIMING_* macros instead of clock_gettime.
5483 * benchtests/bench-timing.h: New file.
5484
0f7d347b
SP
5485 [BZ #14582]
5486 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5487 Renamed from _LIB_VERSION.
5488 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5489
601a3a5f
JM
54902013-05-12 Joseph Myers <joseph@codesourcery.com>
5491
4f184d30
JM
5492 * math/libm-test.inc (struct test_fff_f_data): New type.
5493 (RUN_TEST_LOOP_fff_f): New macro.
5494 (fma_test_data): New variable.
5495 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5496 (fma_towardzero_test_data): New variable.
5497 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5498 (fma_downward_test_data): New variable.
5499 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5500 (fma_upward_test_data): New variable.
5501 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5502
08198877
JM
5503 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5504 (struct test_c_c_data): New type.
5505 (RUN_TEST_LOOP_c_c): New macro.
5506 (cacos_test_data): New variable.
5507 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5508 (cacosh_test_data): New variable.
5509 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5510 (casin_test_data): New variable.
5511 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5512 (casinh_test_data): New variable.
5513 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5514 (catan_test_data): New variable.
5515 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5516 (catanh_test_data): New variable.
5517 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5518 (ccos_test_data): New variable.
5519 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5520 (ccosh_test_data): New variable.
5521 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5522 (cexp_test_data): New variable.
5523 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5524 (clog_test_data): New variable.
5525 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5526 (clog10_test_data): New variable.
5527 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5528 (conj_test_data): New variable.
5529 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5530 (cproj_test_data): New variable.
5531 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5532 (csin_test_data): New variable.
5533 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5534 (csinh_test_data): New variable.
5535 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5536 (csqrt_test_data): New variable.
5537 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5538 (ctan_test_data): New variable.
5539 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5540 (ctan_tonearest_test_data): New variable.
5541 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5542 (ctan_towardzero_test_data): New variable.
5543 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5544 (ctan_downward_test_data): New variable.
5545 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5546 (ctan_upward_test_data): New variable.
5547 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5548 (ctanh_test_data): New variable.
5549 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5550 (ctanh_tonearest_test_data): New variable.
5551 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5552 (ctanh_towardzero_test_data): New variable.
5553 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5554 (ctanh_downward_test_data): New variable.
5555 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5556 (ctanh_upward_test_data): New variable.
5557 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5558 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5559 of BUILD_COMPLEX.
5560
601a3a5f
JM
5561 * math/libm-test.inc (struct test_ff_f_data): New type.
5562 (struct test_ff_f_data_nexttoward): Likewise.
5563 (RUN_TEST_LOOP_2_f): New macro.
5564 (RUN_TEST_LOOP_ff_f): Likewise.
5565 (atan2_test_data): New variable.
5566 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5567 (copysign_test_data): New variable.
5568 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5569 (fdim_test_data): New variable.
5570 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5571 (fmax_test_data): New variable.
5572 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5573 (fmin_test_data): New variable.
5574 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5575 (fmod_test_data): New variable.
5576 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5577 (hypot_test_data): New variable.
5578 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5579 (nextafter_test_data): New variable.
5580 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5581 (nexttoward_test_data): New variable.
5582 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5583 (pow_test_data): New variable.
5584 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5585 (pow_tonearest_test_data): New variable.
5586 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5587 (pow_towardzero_test_data): New variable.
5588 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5589 (pow_downward_test_data): New variable.
5590 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5591 (pow_upward_test_data): New variable.
5592 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5593 (remainder_test_data): New variable.
5594 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5595 (scalb_test_data): New variable.
5596 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5597 * sysdeps/i386/fpu/libm-test-ulps: Update.
5598
74c57478
JM
55992013-05-11 Joseph Myers <joseph@codesourcery.com>
5600
8329e4da
JM
5601 * math/libm-test.inc (fma_test): Use max_value instead of local
5602 variable fltmax.
5603 (nextafter_test): Likewise.
5604
74c57478
JM
5605 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5606 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5607 (acos_downward_test_data): New variable.
5608 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5609 (acos_upward_test_data): New variable.
5610 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5611 (acosh_test_data): New variable.
5612 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5613 (asin_test_data): New variable.
5614 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5615 (asin_tonearest_test_data): New variable.
5616 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5617 (asin_towardzero_test_data): New variable.
5618 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5619 (asin_downward_test_data): New variable.
5620 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5621 (asin_upward_test_data): New variable.
5622 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5623 (asinh_test_data): New variable.
5624 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5625 (atan_test_data): New variable.
5626 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5627 (atanh_test_data): New variable.
5628 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5629 (cbrt_test_data): New variable.
5630 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5631 (ceil_test_data): New variable.
5632 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5633 (cos_test_data): New variable.
5634 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5635 (cos_tonearest_test_data): New variable.
5636 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5637 (cos_towardzero_test_data): New variable.
5638 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5639 (cos_downward_test_data): New variable.
5640 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5641 (cos_upward_test_data): New variable.
5642 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5643 (cosh_test_data): New variable.
5644 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5645 (cosh_tonearest_test_data): New variable.
5646 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5647 (cosh_towardzero_test_data): New variable.
5648 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5649 (cosh_downward_test_data): New variable.
5650 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5651 (cosh_upward_test_data): New variable.
5652 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5653 (erf_test_data): New variable.
5654 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5655 (erfc_test_data): New variable.
5656 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5657 (exp_test_data): New variable.
5658 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5659 (exp_tonearest_test_data): New variable.
5660 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5661 (exp_towardzero_test_data): New variable.
5662 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5663 (exp_downward_test_data): New variable.
5664 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5665 (exp_upward_test_data): New variable.
5666 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5667 (exp10_test_data): New variable.
5668 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5669 (exp2_test_data): New variable.
5670 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5671 (expm1_test_data): New variable.
5672 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5673 (fabs_test_data): New variable.
5674 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5675 (floor_test_data): New variable.
5676 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5677 (j0_test_data): New variable.
5678 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5679 (j1_test_data): New variable.
5680 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5681 (log_test_data): New variable.
5682 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5683 (log10_test_data): New variable.
5684 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5685 (log1p_test_data): New variable.
5686 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5687 (log2_test_data): New variable.
5688 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5689 (logb_test_data): New variable.
5690 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5691 (logb_downward_test_data): New variable.
5692 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5693 (nearbyint_test_data): New variable.
5694 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5695 (rint_test_data): New variable.
5696 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5697 (rint_tonearest_test_data): New variable.
5698 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5699 (rint_towardzero_test_data): New variable.
5700 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5701 (rint_downward_test_data): New variable.
5702 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5703 (rint_upward_test_data): New variable.
5704 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5705 (round_test_data): New variable.
5706 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5707 (sin_test_data): New variable.
5708 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5709 (sin_tonearest_test_data): New variable.
5710 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5711 (sin_towardzero_test_data): New variable.
5712 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5713 (sin_downward_test_data): New variable.
5714 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5715 (sin_upward_test_data): New variable.
5716 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5717 (sinh_test_data): New variable.
5718 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5719 (sinh_tonearest_test_data): New variable.
5720 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5721 (sinh_towardzero_test_data): New variable.
5722 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5723 (sinh_downward_test_data): New variable.
5724 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5725 (sinh_upward_test_data): New variable.
5726 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5727 (sqrt_test_data): New variable.
5728 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5729 (tan_test_data): New variable.
5730 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5731 (tan_tonearest_test_data): New variable.
5732 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5733 (tan_towardzero_test_data): New variable.
5734 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5735 (tan_downward_test_data): New variable.
5736 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5737 (tan_upward_test_data): New variable.
5738 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5739 (tanh_test_data): New variable.
5740 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5741 (tgamma_test_data): New variable.
5742 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5743 (trunc_test_data): New variable.
5744 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5745 (y0_test_data): New variable.
5746 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5747 (y1_test_data): New variable.
5748 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5749 (significand_test_data): New variable.
5750 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5751
7187d844
CG
57522013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5753
5754 [BZ #12387]
5755 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5756
f63fae73
PT
57572013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5758
5759 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5760
8a67a4b3
AJ
57612013-05-10 Andreas Jaeger <aj@suse.de>
5762
5763 [BZ #15448]
5764 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5765 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5766
51df539d
JM
57672013-05-10 Joseph Myers <joseph@codesourcery.com>
5768
5769 * math/gen-libm-test.pl (adjust_arg): New function.
5770 (special_functions): Handle generating output in both functions
5771 and arrays.
5772 (parse_args): Likewise.
5773 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5774 $in_func argument to parse_args.
5775 * math/libm-test.inc (struct test_f_f_data): New type.
5776 (IF_ROUND_INIT_): New macro.
5777 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5778 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5779 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5780 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5781 (ROUND_RESTORE_): Likewise.
5782 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5783 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5784 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5785 (ROUND_RESTORE_FE_UPWARD): Likewise.
5786 (RUN_TEST_LOOP_f_f): New macro.
5787 (acos_test_data): New variable.
5788 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5789 (acos_tonearest_test_data): New variable.
5790 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5791
5c637fe5
SP
57922013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5793
5794 * benchtests/bench-skeleton.c (startup): Fix coding style.
5795
ab2b9461
JM
57962013-05-10 Joseph Myers <joseph@codesourcery.com>
5797
5798 [BZ #6809]
5799 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5800 negative infinity argument.
5801 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5802 negative infinity argument.
5803 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5804 negative infinity argument.
5805 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5806 domain errors.
5807
4c0fe6fe
FW
58082013-05-10 Florian Weimer <fweimer@redhat.com>
5809
5810 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5811 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5812 * iconv/iconv_prog.c (main): Likewise.
5813 * locale/programs/charmap-dir.c (charmap_readdir)
5814 (fopen_uncompressed): Likewise.
5815 * locale/programs/locfile.c (siblings_uncached)
5816 (write_locale_data): Use lstat64 instead of lstat.
5817 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5818 stat.
5819
a3375d29
AJ
58202013-05-10 Andreas Jaeger <aj@suse.de>
5821
5822 [BZ #15395]
5823 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5824 localization.
5825 Include <locale.h>.
5826
36129722
CD
58272013-05-09 Carlos O'Donell <carlos@redhat.com>
5828
5829 * elf/dl-close.c (_dl_close_worker): Add comments.
5830
faa7f811
JM
58312013-05-09 Joseph Myers <joseph@codesourcery.com>
5832
ed41ffef
JM
5833 [BZ #15359]
5834 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5835 high part of pi/2.
5836 (__ieee754_rem_pio2l): Update comments.
5837
d0213cd0
JM
5838 [BZ #15429]
5839 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5840 high part of pi/2.
5841 (__ieee754_rem_pio2l): Update comments.
5842
0d3e777a
JM
5843 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5844 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5845
24f56066
JM
5846 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5847 M_PI_4l.
5848
faa7f811
JM
5849 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5850 (M_PI_34_LOG10El): Likewise.
5851 (M_PI2_LOG10El): Likewise.
5852 (M_PI4_LOG10El): Likewise.
5853 (M_PI_LOG10El): Likewise.
5854
e9a5e0fd
AZ
58552013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5856
5857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5858
d8cd06db
JM
58592013-05-08 Joseph Myers <joseph@codesourcery.com>
5860
a0d9f9d7
JM
5861 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5862 (MINUS_ZERO_INIT): Likewise.
5863 (PLUS_INFTY_INIT): Likewise.
5864 (MINUS_INFTY_INIT): Likewise.
5865 (QNAN_VALUE_INIT): Likewise.
5866 (MAX_VALUE_INIT): Likewise.
5867 (MIN_VALUE_INIT): Likewise.
5868 (MIN_SUBNORM_VALUE_INIT): Likewise.
5869 (plus_zero): Initialize with PLUS_ZERO_INIT.
5870 (minus_zero): Initialize with MINUS_ZERO_INIT.
5871 (plus_infty): Initialize with PLUS_INFTY_INIT.
5872 (minus_infty): Initialize with MINUS_INFTY_INIT.
5873 (qnan_value): Initialize with QNAN_VALUE_INIT.
5874 (max_value): Initialize with MAX_VALUE_INIT.
5875 (min_value): Initialize with MIN_VALUE_INIT.
5876 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5877
ae08db3b
JM
5878 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5879 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5880 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5881 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5882
f44bf14a
JM
5883 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5884 (RUN_TEST_2_f): Likewise.
5885 (RUN_TEST_ff_f): Likewise.
5886 (RUN_TEST_fi_f): Likewise.
5887 (RUN_TEST_fl_f): Likewise.
5888 (RUN_TEST_fff_f): Likewise.
5889 (RUN_TEST_c_f): Likewise.
5890 (RUN_TEST_f_f1): Likewise.
5891 (RUN_TEST_fF_f1): Likewise.
5892 (RUN_TEST_fI_f1): Likewise.
5893 (RUN_TEST_ffI_f1): Likewise.
5894 (RUN_TEST_c_c): Likewise.
5895 (RUN_TEST_cc_c): Likewise.
5896 (RUN_TEST_f_i): Likewise.
5897 (RUN_TEST_f_i_tg): Likewise.
5898 (RUN_TEST_ff_i_tg): Likewise.
5899 (RUN_TEST_f_b): Likewise.
5900 (RUN_TEST_f_b_tg): Likewise.
5901 (RUN_TEST_f_l): Likewise.
5902 (RUN_TEST_f_L): Likewise.
5903 (RUN_TEST_sincos): Likewise.
5904 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5905 whether to show exceptions. Do not include ");\n" in return
5906 value.
5907 (special_functions): Output call to RUN_TEST_sincos instead of
5908 check_float calls. Update calls to new_test.
5909 (parse_args): Output call to single RUN_TEST_* macro instead of
5910 check_* calls and other assignments. Update calls to new_test.
5911
d8cd06db
JM
5912 [BZ #2546]
5913 [BZ #2560]
5914 [BZ #5159]
5915 [BZ #15426]
5916 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5917 input to result for tgamma overflow.
5918 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5919 (gamma_coeff): New variable.
5920 (NCOEFF): New macro.
5921 (gamma_positive): New function.
5922 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5923 underflow here. Use gamma_positive instead of exp (lgamma) for
5924 other arguments.
5925 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5926 (gamma_coeff): New variable.
5927 (NCOEFF): New macro.
5928 (gammaf_positive): New function.
5929 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5930 underflow here. Use gamma_positive instead of exp (lgamma) for
5931 other arguments.
5932 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5933 (gamma_coeff): New variable.
5934 (NCOEFF): New macro.
5935 (gammal_positive): New function.
5936 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5937 underflow here. Use gamma_positive instead of exp (lgamma) for
5938 other arguments.
5939 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5940 (gamma_coeff): New variable.
5941 (NCOEFF): New macro.
5942 (gammal_positive): New function.
5943 (__ieee754_gammal_r): Handle positive infinity, overflow and
5944 underflow here. Handle NaN the same as positive infinity. Remove
5945 check x < 0xffffffff for negative integers. Use gamma_positive
5946 instead of exp (lgamma) for other arguments.
5947 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5948 (gamma_coeff): New variable.
5949 (NCOEFF): New macro.
5950 (gammal_positive): New function.
5951 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5952 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5956 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5957 * sysdeps/generic/math_private.h (__gamma_productf): New
5958 prototype.
5959 (__gamma_product): Likewise.
5960 (__gamma_productl): Likewise.
5961 * math/Makefile (libm-calls): Add gamma_product.
5962 * math/libm-test.inc (tgamma_test): Add more tests.
5963 * sysdeps/i386/fpu/libm-test-ulps: Update.
5964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965
bb7cf681
OB
59662013-05-08 Ondřej Bílka <neleai@seznam.cz>
5967
5968 * benchtests/bench-skeleton.c (main): Preheat CPU.
5969
ba853947
AJ
59702013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5971
5972 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5973
8347c74c
RM
59742013-05-07 Roland McGrath <roland@hack.frob.com>
5975
5976 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5977 and _dl_skip_args_internal.
5978
e8dd4791
CD
59792013-05-07 Carlos O'Donell <carlos@redhat.com>
5980
5981 * manual/message.texi (Message Translation): Talk about users.
5982 Message to key mapping impacts design.
5983
c7405830
RM
59842013-05-06 Roland McGrath <roland@hack.frob.com>
5985
a9173057
RM
5986 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5987
976e2f03
RM
5988 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5989
9723ffc5
RM
5990 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5991 * sysdeps/wordsize-64/glob64.c: ... here.
5992
962e6658
RM
5993 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5994 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5995 New macros.
5996
ee586a6d
RM
5997 * debug/getlogin_r_chk.c: Moved to ...
5998 * login/getlogin_r_chk.c: ... here.
5999 * debug/Makefile (routines): Move getlogin_r_chk to ...
6000 * login/Makefile (routines): ... here.
6001 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6002 * login/Versions (libc: GLIBC_2.4): ... here.
6003
355f9165
RM
6004 * io/poll.c (__poll): Renamed from poll.
6005 Add libc_hidden_def.
6006 (poll): Define as weak alias.
6007
bd9ffde6
RM
6008 * debug/ptsname_r_chk.c: Moved to ...
6009 * login/ptsname_r_chk.c: ... here.
6010 * debug/Makefile (routines): Move ptsname_r_chk to ...
6011 * login/Makefile (routines): ... here.
6012 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6013 * login/Versions (libc: GLIBC_2.4): ... here.
6014
8fb16a04
RM
6015 * posix/getlogin.c: Moved to ...
6016 * login/getlogin.c: ... here.
6017 * posix/getlogin_r.c: Moved to ...
6018 * login/getlogin_r.c: ... here.
6019 * posix/getlogin_r.c: Moved to ...
6020 * login/getlogin_r.c: ... here.
6021 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6022 * login/Makefile (routines): ... here.
6023 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6024 * login/Versions (libc: GLIBC_2.0): ... here.
6025
b99b892f
RM
6026 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6027 (setrlimit): Define as weak alias.
6028
c7405830
RM
6029 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6030 Call __ names for open, ftruncate, and close.
6031 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6032 (truncate): Define as weak alias.
6033
5bf96de5
JM
60342013-05-06 Joseph Myers <joseph@codesourcery.com>
6035
9ea3513c
JM
6036 * math/gen-libm-test.pl (parse_args): Initialize x before each
6037 test of frexp, modf and remquo.
6038
5bf96de5
JM
6039 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6040 test signgam value.
6041
16e616a7
AZ
60422013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 [BZ #15418]
6045 [BZ #15419]
6046 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6047 internal tests.
6048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6049
d5e82754
RM
60502013-05-06 Roland McGrath <roland@hack.frob.com>
6051
6052 * elf/dl-writev.h: New file.
6053 * elf/dl-misc.c: Include it.
6054 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6055 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6056
a7548d41
JM
60572013-05-04 Joseph Myers <joseph@codesourcery.com>
6058
b7dab1e4
JM
6059 * math/libm-test.inc (noXFails): Remove variable.
6060 (noXPasses): Likewise.
6061 (BUILD_COMPLEX_INT): Remove macro.
6062 (print_screen): Remove xfail argument.
6063 (print_screen_max_error): Likewise.
6064 (update_stats): Likewise.
6065 (print_max_error): Likewise. Update calls to other affected
6066 functions.
6067 (print_complex_max_error): Likewise.
6068 (test_single_exception): Update calls to print_screen.
6069 (test_single_errno): Likewise.
6070 (check_float_internal): Remove xfail argument. Update calls to
6071 other affected functions.
6072 (check_float): Likewise.
6073 (check_complex): Likewise.
6074 (check_int): Likewise.
6075 (check_long): Likewise.
6076 (check_bool): Likewise.
6077 (check_longlong): Likewise.
6078 (main): Don't print noXFails and noXPasses.
6079 * math/gen-libm-test.pl (top level): Don't mention expected
6080 failure handling in comment.
6081 (new_test): Don't handle expected failures.
6082 (parse_args): Don't mention expected failure handling in comment.
6083 (generate_testfile): Don't handle expected failures.
6084 (parse_ulps): Likewise.
6085 (print_ulps_file): Likewise.
6086 (get_failure): Remove function.
6087 (output_test): Don't handle expected failures.
6088 * make/README.libm-test: Don't mention expected failure handling.
6089
a7548d41
JM
6090 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6091 (minus_zero): Likewise.
6092 (plus_infty): Likewise.
6093 (minus_infty): Likewise.
6094 (qnan_value): Likewise.
6095 (max_value): Likewise.
6096 (min_value): Likewise.
6097 (min_subnorm_value): Likewise.
6098 (initialize): Do not initialize those variables dynamically.
6099
60bfd54c
RM
61002013-05-03 Roland McGrath <roland@hack.frob.com>
6101
cc0e6ed8
RM
6102 * io/open.c (__open_2): Moved to ...
6103 * io/open_2.c: ... this new file.
6104 * io/open64.c (__open64_2): Moved to ...
6105 * io/open64_2.c: ... this new file.
6106 * io/openat.c (__openat_2): Moved to ...
6107 * io/openat_2.c: ... this new file.
6108 * io/openat64.c (__openat64_2): Moved to ...
6109 * io/openat64_2.c: ... this new file.
6110 * io/Makefile (routines): Add them.
6111 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6112 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6113 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6114 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6115 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6116 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6117 (__openat64): Add hidden_ver.
6118 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6119 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6120
60bfd54c
RM
6121 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6122 Separately conditionalize setting of GLRO(dl_sysinfo) so
6123 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6124 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6125
83e7640f
AZ
61262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6129 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6130 definition.
6131 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6132 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6133 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6134 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6135 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6136
d5dc2af3
JM
61372013-05-03 Joseph Myers <joseph@codesourcery.com>
6138
c31a5b1e
JM
6139 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6140 test signgam value.
6141
d5dc2af3
JM
6142 * math/libm-test.inc (hypot_test): Do not use
6143 IGNORE_ZERO_INF_SIGN.
6144
164fd39d
AJ
61452013-05-03 Andreas Jaeger <aj@suse.de>
6146
6147 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6148 Linux 3.9.
6149 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6150 (PF_MAX): Adjust for VSOCK change.
6151
8237f48c
AZ
61522013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6155
9df02941
CD
61562013-05-02 Carlos O'Donell <carlos@redhat.com>
6157
6158 [BZ #15264]
6159 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6160 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6161 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6162
d422395e
DM
61632013-05-02 David S. Miller <davem@davemloft.net>
6164
6165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6166
a07c5731
OB
61672013-05-01 Ondřej Bílka <neleai@seznam.cz>
6168
6169 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6170
1324e37f
RM
61712013-05-01 Roland McGrath <roland@hack.frob.com>
6172
6173 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6174
0695940b
RS
61752013-05-01 Richard Smith <richard@metafoo.co.uk>
6176
bb5f27ad 6177 [BZ #14952]
0695940b
RS
6178 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6179 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6180 Use __attribute__ ((__gnu_inline__)).
6181 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6182 Don't use __attribute__ ((__gnu_inline__)).
6183
10de07f5
JM
61842013-05-01 Joseph Myers <joseph@codesourcery.com>
6185
6186 [BZ #15423]
6187 * math/s_catan.c (__catan): Handle small real or imaginary part of
6188 input specially to avoid spurious underflow.
6189 * math/s_catanf.c (__catanf): Likewise.
6190 * math/s_catanh.c (__catanh): Likewise.
6191 * math/s_catanhf.c (__catanhf): Likewise.
6192 * math/s_catanhl.c (__catanhl): Likewise.
6193 * math/s_catanl.c (__catanl): Likewise.
6194 * math/libm-test.inc (catan_test): Add more tests.
6195 (catanh_test): Likewise.
6196 * sysdeps/i386/fpu/libm-test-ulps: Update.
6197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6198
cb4d5414
AZ
61992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200
6201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6202
caf84319
JM
62032013-04-30 Joseph Myers <joseph@codesourcery.com>
6204
6205 [BZ #15416]
6206 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6207 accurately for denominator in atan2.
6208 * math/s_catanf.c (__catanf): Likewise.
6209 * math/s_catanh.c (__catanh): Likewise.
6210 * math/s_catanhf.c (__catanhf): Likewise.
6211 * math/s_catanhl.c (__catanhl): Likewise.
6212 * math/s_catanl.c (__catanl): Likewise.
6213 * math/libm-test.inc (catan_test): Add more tests.
6214 (catanh_test): Likewise.
6215 * sysdeps/i386/fpu/libm-test-ulps: Update.
6216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6217
d569c6ee
SP
62182013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6219
6dbe713d
SP
6220 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6221
f0ee064b
SP
6222 * benchtests/Makefile (bench): Remove slow benchmarks.
6223 * benchtests/atan-inputs: Add slow benchmark inputs.
6224 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6225 (BENCH_FUNC): Accept variant offset.
6226 (VARIANT): Define.
6227 * benchtests/bench-skeleton.c (main): Run benchmark for each
6228 variant.
6229 * benchtests/cos-inputs: Add slow benchmark inputs.
6230 * benchtests/exp-inputs: Likewise.
6231 * benchtests/pow-inputs: Likewise.
6232 * benchtests/sin-inputs: Likewise.
6233 * benchtests/slowatan-inputs: Remove.
6234 * benchtests/slowatan.c: Remove.
6235 * benchtests/slowcos-inputs: Remove.
6236 * benchtests/slowcos.c: Remove.
6237 * benchtests/slowexp-inputs: Remove.
6238 * benchtests/slowexp.c: Remove.
6239 * benchtests/slowpow-inputs: Remove.
6240 * benchtests/slowpow.c: Remove.
6241 * benchtests/slowsin-inputs: Remove.
6242 * benchtests/slowsin.c: Remove.
6243 * benchtests/slowtan-inputs: Remove.
6244 * benchtests/slowtan.c: Remove.
6245 * benchtests/tan-inputs: Add slow benchmark inputs.
6246 * scripts/bench.pl: Parse comments and directives.
6247
d569c6ee
SP
6248 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6249 in CPPFLAGS.
6250 ($(objpfx)bench-%.c): Remove *-ITER.
6251 * benchtests/bench-modf.c: Remove definition of ITER.
6252 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6253 (main): Loop for DURATION seconds instead of fixed number of
6254 iterations.
6255 * scripts/bench.pl: Don't expect iterations in parameters.
6256
a6a242fe
RM
62572013-04-29 Roland McGrath <roland@hack.frob.com>
6258
6259 * io/fchdir.c (__fchdir): Renamed from fchdir.
6260 (fchdir): Define as weak alias.
6261
f2da7793
JM
62622013-04-29 Joseph Myers <joseph@codesourcery.com>
6263
6264 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6265 (ERRNO_EDOM): Likewise.
6266 (ERRNO_ERANGE): Likewise.
6267 (noErrnoTests): New variable.
6268 (init_max_error): Set errno to 0.
6269 (test_single_errno): New function.
6270 (test_errno): Likewise.
6271 (check_float_internal): Call test_errno. Set errno to 0.
6272 (check_complex): Refer to errno tests in comment.
6273 (check_int): Call test_errno. Set errno to 0.
6274 (check_long): Likewise.
6275 (check_bool): Likewise.
6276 (check_longlong): Likewise.
6277 (cos_test): Use ERRNO_* flags for errno tests instead of
6278 check_int.
6279 (expm1_test): Likewise.
6280 (fmod_test): Likewise.
6281 (ilogb_test): Likewise.
6282 (lgamma_test): Likewise.
6283 (pow_test): Likewise.
6284 (remainder_test): Likewise.
6285 (sin_test): Likewise.
6286 (tan_test): Likewise.
6287 (yn_test): Likewise.
6288 (initialize): Set errno to 0.
6289 (main): Print number of errno tests.
6290 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6291
b1a36ceb
AJ
62922013-04-29 Andreas Jaeger <aj@suse.de>
6293
c3ed8088
AJ
6294 [BZ #15084]
6295 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6296 and RES_USEVC.
6297
f1a24198
AJ
6298 [BZ #15085]
6299 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6300 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6301 unimplemented.
6302
9ce3b2cb
AJ
6303 [BZ #15380]
6304 * stdlib/random.c (__initstate): Return NULL if
6305 __initstate fails.
6306
f1a24198 6307 [BZ #15086]
b1a36ceb
AJ
6308 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6309 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6310 RES_SNGLKUPREOP.
6311
7e7b6f36
AZ
63122013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6313
6314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6315
4d14f449
JM
63162013-04-29 Joseph Myers <joseph@codesourcery.com>
6317
6318 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6319 of individual tests.
6320 (casin_test): Likewise.
6321 (casinh_test): Likewise.
6322
5b4217d7
JM
63232013-04-27 Joseph Myers <joseph@codesourcery.com>
6324
6325 [BZ #15409]
6326 * math/s_catan.c (__catan): Handle arguments with large real or
6327 imaginary part separately without squaring.
6328 * math/s_catanf.c (__catanf): Likewise.
6329 * math/s_catanh.c (__catanh): Likewise.
6330 * math/s_catanhf.c (__catanhf): Likewise.
6331 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6332 and redefine.
6333 (__catanhl): Handle arguments with large real or imaginary part
6334 separately without squaring.
6335 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6336 and redefine.
6337 (__catanl): Handle arguments with large real or imaginary part
6338 separately without squaring.
6339 * math/libm-test.inc (catan_test): Add more tests.
6340 (catanh_test): Likewise.
6341 * sysdeps/i386/fpu/libm-test-ulps: Update.
6342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6343
4220c3ef
AJ
63442013-04-27 Andreas Jaeger <aj@suse.de>
6345
6346 [BZ #15007]
6347 * stdlib/stdlib.h: Update guards for qecvt.
6348 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6349 <stdlib.h>.
6350
4721b2d1
AM
63512013-04-27 Allan McRae <allan@archlinux.org>
6352
6353 * sysdeps/i386/fpu/libm-test-ulps: Update.
6354
f0302940
JM
63552013-04-26 Joseph Myers <joseph@codesourcery.com>
6356
9457fd95
JM
6357 [BZ #15406]
6358 * math/s_catan.c: Include <float.h>.
6359 (__catan): Ensure underflow exception occurs for underflowed
6360 result.
6361 * math/s_catanf.c: Include <float.h>.
6362 (__catanf): Ensure underflow exception occurs for underflowed
6363 result.
6364 * math/s_catanh.c: Include <float.h>.
6365 (__catanh): Ensure underflow exception occurs for underflowed
6366 result.
6367 * math/s_catanhf.c: Include <float.h>.
6368 (__catanhf): Ensure underflow exception occurs for underflowed
6369 result.
6370 * math/s_catanhl.c: Include <float.h>.
6371 (__catanhl): Ensure underflow exception occurs for underflowed
6372 result.
6373 * math/s_catanl.c: Include <float.h>.
6374 (__catanl): Ensure underflow exception occurs for underflowed
6375 result.
6376 * math/libm-test.inc (catan_test): Add more tests.
6377 (catanh_test): Likewise.
6378
f0302940
JM
6379 [BZ #15405]
6380 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6381 underflowed result.
6382 * math/s_ccoshf.c (__ccoshf): Likewise.
6383 * math/s_ccoshl.c (__ccoshl): Likewise.
6384 * math/s_csin.c (__csin): Likewise.
6385 * math/s_csinf.c (__csinf): Likewise.
6386 * math/s_csinh.c (__csinh): Likewise.
6387 * math/s_csinhf.c (__csinhf): Likewise.
6388 * math/s_csinhl.c (__csinhl): Likewise.
6389 * math/s_csinl.c (__csinl): Likewise.
6390 * math/libm-test.inc (ccos_test): Add more tests.
6391 (ccosh_test): Likewise.
6392 (csin_test): Likewise.
6393 (csinh_test): Likewise.
6394
aa630f59
AZ
63952013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6398 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6399 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6400 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6401 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6402 powerpc/power5+/fpu folders.
6403 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6404
6405
1b835983
MT
64062013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6407
6408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6409
73709b26
JM
64102013-04-25 Joseph Myers <joseph@codesourcery.com>
6411
6412 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6413 additions to variable.
6414 [$(config-machine) = x86_64] (modules-names): Likewise.
6415 ($(objpfx)tst-audit3): Remove dependency.
6416 ($(objpfx)tst-audit3.out): Likewise.
6417 ($(objpfx)tst-audit4): Likewise.
6418 ($(objpfx)tst-audit4.out): Likewise.
6419 ($(objpfx)tst-audit5): Likewise.
6420 ($(objpfx)tst-audit5.out): Likewise.
6421 ($(objpfx)tst-audit6): Likewise.
6422 ($(objpfx)tst-audit6.out): Likewise.
6423 ($(objpfx)tst-audit7): Likewise.
6424 ($(objpfx)tst-audit7.out): Likewise.
6425 (tst-audit3-ENV): Remove variable.
6426 (tst-audit4-ENV): Likewise.
6427 (tst-audit5-ENV): Likewise.
6428 (tst-audit6-ENV): Likewise.
6429 (tst-audit7-ENV): Likewise.
6430 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6431 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6432 addition to variable.
6433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6437 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6438 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6439 tst-audit3, tst-audit4 and tst-audit5.
6440 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6441 tst-audit6 and tst-audit7.
6442 [$(subdir) = elf] (modules-names): Add audit modules for those
6443 tests.
6444 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6445 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6446 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6447 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6448 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6449 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6450 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6451 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6452 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6453 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6454 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6455 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6456 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6457 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6458 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6459 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6460 Likewise.
6461 [$(subdir) = elf && $(config-cflags-avx) = yes]
6462 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6463 [$(subdir) = elf && $(config-cflags-avx) = yes]
6464 (CFLAGS-tst-auditmod4a.c): Likewise.
6465 [$(subdir) = elf && $(config-cflags-avx) = yes]
6466 (CFLAGS-tst-auditmod4b.c): Likewise.
6467 [$(subdir) = elf && $(config-cflags-avx) = yes]
6468 (CFLAGS-tst-auditmod6b.c): Likewise.
6469 [$(subdir) = elf && $(config-cflags-avx) = yes]
6470 (CFLAGS-tst-auditmod6c.c): Likewise.
6471 [$(subdir) = elf && $(config-cflags-avx) = yes]
6472 (CFLAGS-tst-auditmod7b.c): Likewise.
6473 * elf/tst-audit3.c: Move to ...
6474 * sysdeps/x86_64/tst-audit3.c: ... here.
6475 * elf/tst-audit4.c: Move to ...
6476 * sysdeps/x86_64/tst-audit4.c: ... here.
6477 * elf/tst-audit5.c: Move to ...
6478 * sysdeps/x86_64/tst-audit5.c: ... here.
6479 * elf/tst-audit6.c: Move to ...
6480 * sysdeps/x86_64/tst-audit6.c: ... here.
6481 * elf/tst-audit7.c: Move to ...
6482 * sysdeps/x86_64/tst-audit7.c: ... here.
6483 * elf/tst-auditmod3a.c: Move to ...
6484 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6485 * elf/tst-auditmod3b.c: Move to ...
6486 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6487 * elf/tst-auditmod4a.c: Move to ...
6488 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6489 * elf/tst-auditmod4b.c: Move to ...
6490 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6491 * elf/tst-auditmod5a.c: Move to ...
6492 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6493 * elf/tst-auditmod5b.c: Move to ...
6494 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6495 * elf/tst-auditmod6a.c: Move to ...
6496 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6497 * elf/tst-auditmod6b.c: Move to ...
6498 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6499 * elf/tst-auditmod6c.c: Move to ...
6500 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6501 * elf/tst-auditmod7a.c: Move to ...
6502 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6503 * elf/tst-auditmod7b.c: Move to ...
6504 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6505
1ef74943
PP
65062013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6507
6508 [BZ #15366]
6509 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6510 define unconditionally.
6511 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6512 define unconditionally.
6513 (INT8_C, INT16_C, etc.): Likewise.
6514
93fd48c5
MR
65152013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6516
ae9552cf
MR
6517 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6518 __ehdr_start with hidden visibility.
6519
93fd48c5
MR
6520 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6521
418601aa
CD
65222013-04-24 Carlos O'Donell <carlos@redhat.com>
6523
6524 * math/libm-test.inc (cos_test): Use accurate hex constants.
6525 (sincost_test): Likewise.
6526
2f38fbfe
JM
65272013-04-24 Joseph Myers <joseph@codesourcery.com>
6528
5e221800
JM
6529 * math/libm-test.inc (catan_test): Add more tests.
6530 (catanh_test): Likewise.
6531
77f143fd
JM
6532 * math/s_catanf.c (__catanf): Use suffixed floating-point
6533 constants.
6534 * math/s_catanhf.c (__catanhf): Likewise.
6535 * math/s_catanhl.c (__catanhl): Likewise.
6536 * math/s_catanl.c (__catanl): Likewise.
6537
2f38fbfe
JM
6538 [BZ #15394]
6539 * math/s_catan.c (__catan): Calculate imaginary part of result
6540 with log1p not log unless computing log of number close to 0.
6541 * math/s_catanf.c (__catanf): Likewise.
6542 * math/s_catanl.c (__catanl): Likewise.
6543 * math/s_catanh.c (__catanh): Calculate real part of result with
6544 log1p not log unless computing log of number close to 0.
6545 * math/s_catanhf.c (__catanhf): Likewise.
6546 * math/s_catanhl.c (__catanhl): Likewise.
6547 * math/libm-test.inc (catan_test): Add more tests.
6548 (catanh_test): Likewise.
6549 * sysdeps/i386/fpu/libm-test-ulps: Update.
6550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6551
45d69176
SP
65522013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6553
6554 * benchtests/Makefile: Mention files in which fast and slow
6555 paths of math functions are implemented.
6556
87f51853
RM
65572013-04-23 Roland McGrath <roland@hack.frob.com>
6558
6559 * sysdeps/posix/timespec_get.c: New file.
6560
3c026539
AZ
65612013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562
6563 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6564 POWER.
6565 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6566 for POWER.
6567 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6568 powerpc/power5/fpu folders.
6569 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6570 * benchtests/Makefile: Add modf testcase.
6571 * benchtests/bench-modf.c: New file: Benchmark test for mo
6572
ff491d14
SP
65732013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 [BZ #14888]
6576 * time/Makefile (tests): Add tst-strptime-whitespace.
6577 * time/strptime_l.c (get_number): Use ISSPACE.
6578 (__strptime_internal): Likewise.
6579 * time/tst-strptime-whitespace.c: New test case.
6580
7ed3f4e8
AS
65812013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6584 member.
6585 (_nss_files_init): Set it here.
6586
5c95f7b6
HC
65872013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6588
6589 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6590 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6591 unsigned.
6592
d34c9158
JBG
65932013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6594
6595 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6596
2169712d
SP
65972013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6600 size just once.
6601
29c5de99
DM
66022013-04-21 David S. Miller <davem@davemloft.net>
6603
6604 * po/ru.po: Update Russion translation from translation project.
6605
ccdad15d
AC
66062013-04-17 Adam Conrad <adconrad@0c3.net>
6607
6608 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6609 and setfsgid.
6610
0f122b8d
CD
66112013-04-17 Carlos O'Donell <carlos@redhat.com>
6612
5c5b07da 6613 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6614 * configure: Regenerate.
5c5b07da 6615 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6616 Add example to error message.
6617 * sysdeps/i386/configure: Regenerate.
6618
037714dd
SP
66192013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6620
6621 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6622 slowtan.
6623 * benchtests/cos-inputs: New file.
6624 * benchtests/slowcos-inputs: New file.
6625 * benchtests/slowcos.c: New file.
6626 * benchtests/slowtan-inputs: New file.
6627 * benchtests/slowtan.c: New file.
6628 * benchtests/tan-inputs: New file.
6629
e913141d
RM
66302013-04-16 Roland McGrath <roland@hack.frob.com>
6631
6632 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6633 considered kosher.
6634
a2964074
SP
66352013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6636
4856bcd2
SP
6637 * benchtests/Makefile: Include cppflags-iterator.mk to add
6638 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6639
a2964074
SP
6640 * Makefile.in (bench-clean): New target.
6641 * benchtests/Makefile (bench-clean): Likewise.
6642
9fbf9aca
DH
66432013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6644
6645 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6646
207d1e2a
TS
66472013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6648
6649 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6650
306dfba9
AS
66512013-04-15 Andreas Schwab <schwab@suse.de>
6652
6653 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6654 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6655 * nscd/pwdcache.c (cache_addpw): Likewise.
6656 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6657 more than recsize.
6658
206a6699
SP
66592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6660
6661 * benchtests/Makefile (bench): Write all output to
6662 bench-out.tmp together.
6663
0582f6b3
AS
66642013-04-15 Andreas Schwab <schwab@suse.de>
6665
6666 * nscd/nscd.c (main): Don't fork again after closing files.
6667
acb4325f
SP
66682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6669
5cb26d0a
SP
6670 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6671
acb4325f
SP
6672 * benchtests/Rules (bench-deps): Collect dependencies into a
6673 single variable. Add Makefile to dependencies.
6674 ($(objpfx)bench-%.c): Depend on bench-deps.
6675
47792506
RM
66762013-04-12 Roland McGrath <roland@hack.frob.com>
6677 Xavier Roche <roche+kml2@exalead.com>
6678
6679 [BZ #15361]
6680 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6681 just that it's a file descriptor.
6682 * manual/llio.texi (Synchronizing AIO Operations): Update description
6683 for EBADF error from aio_fsync.
6684
8fc1bee5
SP
66852013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6686
6687 * Rules (bench): Move target definition...
6688 * benchtests/Makefile: ... here.
6689
aba5e333
CD
66902013-04-11 Carlos O'Donell <carlos@redhat.com>
6691
6692 * math/libm-test.inc (cos_test): Fix PI/2 test.
6693 (sincos_test): Likewise.
6694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6695 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6696
273cdee8
AS
66972013-04-11 Andreas Schwab <schwab@suse.de>
6698
6ecec3b6
AS
6699 [BZ #13988]
6700 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6701 accept exponent character only when digits were seen.
6702 * stdio-common/Makefile (tests): Add bug26.
6703 * stdio-common/bug26.c: New file.
6704
273cdee8
AS
6705 [BZ #14293]
6706 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6707 non-freeable.
6708
8da491f5
SP
67092013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6710
01dc6df9
SP
6711 * Makeconfig (rtld-prefix): Define built linker prefix.
6712 * Rules (run-bench): Use it.
6713 * math/Makefile (run-regen-ulps): Likewise.
6714
8da491f5
SP
6715 * Rules (bench): Remove eval.
6716
abe7f530
SP
67172013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 Roland McGrath <roland@hack.frob.com>
6719 Ondrej Bilka <neleai@seznam.cz>
6720
6721 [BZ #15346]
6722 * time/getdate.c: Include ctype.h and alloca.h.
6723 (__getdate_r): Trim leading and trailing spaces of input.
6724 * time/tst-getdate.c (tests): Add tests with leading and
6725 trailing spaces.
6726
61c23e62
RM
67272013-04-08 Roland McGrath <roland@hack.frob.com>
6728
6729 [BZ #14280]
6730 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6731 when computing value.
6732
7208a313
CD
67332013-04-06 Carlos O'Donell <carlos@redhat.com>
6734
085b2d41
CD
6735 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6736 Use testrun.sh to run libm tests.
6737
7208a313
CD
6738 [BZ #15309]
6739 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6740
872c0acd
MM
67412013-04-06 Marko Myllynen <myllynen@redhat.com>
6742
6743 [BZ #15264]
6744 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6745
26510bdd
CD
67462013-04-06 Carlos O'Donell <carlos@redhat.com>
6747
6748 * Makefile.in (regen-ulps): New target.
6749 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6750 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6751 [ifneq (no,$(PERL)] (regen-ulps): New target.
6752 [ifeq (no,$(PERL)] (regen-ulps): New target.
6753 * math/libm-test.inc (ulps_file_name): Define.
6754 (output_dir): New variable.
6755 (options): Add "output-dir" option.
6756 (parse_opt): Handle 'o' case.
6757 (main): If output_dir is non-NULL use it as a prefix
6758 otherwise use "".
6759 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6760
a01f19c8
CD
67612013-04-06 Carlos O'Donell <carlos@redhat.com>
6762
6763 [BZ #10060, #10062]
6764 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6765 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6766 fail configure if __sync_val_compare_and_swap is not inlined.
6767 * sysdeps/i386/configure: Regenerate.
6768 * configure.in: Build for i686 when configured for i386.
6769 * configure: Regenerate.
6770 * README: Remove i386 reference.
6771
b7a329a5
CD
67722013-04-06 Carlos O'Donell <carlos@redhat.com>
6773
6774 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6776
bf0f50df
TS
67772013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6778
ee091edf
TS
6779 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6780 (lmsnanval): New variables.
6781 (F): Add conversion tests.
6782 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6783 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6784
a8b792d6
TS
6785 * stdio-common/tstdiomisc.c (F): Properly collect individual
6786 tests' results.
6787
a1cbf437
TS
6788 [BZ #14686, #15336]
6789 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6790 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6791 Instead, use input NaN values or generate a qNaN by arithmetic
6792 operation. Also fix bugs to comply with the standard.
6793 * math/libm-test.inc (remainder_test): Add more tests.
6794
8b43a0c9
TS
6795 [BZ #15335, #15342]
6796 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6798 input NaN values or generate a qNaN by arithmetic operation.
6799
d91da4ce
TS
6800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6801 unreachable code.
6802
bf0f50df
TS
6803 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6804 definitions.
6805
05e166c8
JM
68062013-04-03 Joseph Myers <joseph@codesourcery.com>
6807
6808 [BZ #14478]
6809 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6810 underflowed result.
6811 * math/s_cexpf.c (__cexpf): Likewise.
6812 * math/s_cexpl.c (__cexpl): Likewise.
6813 * math/libm-test.inc (cexp_test): Add more tests.
6814
1cef1b19
AS
68152013-04-03 Andreas Schwab <schwab@suse.de>
6816
6817 [BZ #15330]
6818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6819 order arrays from heap if bigger than alloca cutoff.
6820
74d87055
TS
68212013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6822
6823 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6824 (SNAN_TESTS_double): Refer to GCC PR56831.
6825 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6826 GCC PR56828.
6827
d755bba4
SP
68282013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6829
90d5d5bb
SP
6830 * Rules (bench): Move bench.out after the run is complete.
6831
73e0cd5d
SP
6832 * Rules (bench): Echo currently running benchmark.
6833
64aabd4b
SP
6834 * benchtests/Makefile (bench): Add atan and slowatan.
6835 * benchtests/atan-inputs: New file.
6836 * benchtests/slowatan-inputs: New file.
6837 * benchtests/slowatan.c: New file.
6838
c871eccd
SP
6839 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6840 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6841 its value.
6842
d755bba4
SP
6843 [BZ #15305]
6844 * sysdeps/unix/sysv/linux/kernel-features.h
6845 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6846 __ASSUME_XFS_RESTRICTED_CHOWN.
6847 * sysdeps/unix/sysv/linux/pathconf.c
6848 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6849 Save and restore errno.
6850
52ce4860
JM
68512013-04-02 Joseph Myers <joseph@codesourcery.com>
6852
6853 [BZ #15327]
6854 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6855 arguments using __kernel_casinh.
6856 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6857 arguments using __kernel_casinhf.
6858 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6859 arguments using __kernel_casinhl.
6860 * math/libm-test.inc (cacosh_test): Add more tests.
6861 * sysdeps/i386/fpu/libm-test-ulps: Update.
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863
81f311c2
SP
68642013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6865
e7906a47
SP
6866 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6868
92e3664b
SP
6869 * bench/Makefile (bench): Add sin and slowsin.
6870 * benchtests/sin-inputs: New file.
6871 * benchtests/slowsin-inputs: New file.
6872 * benchtests/slowsin.c: New file.
6873
81f311c2
SP
6874 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6875 (bench): Add slowexp and slowpow.
6876 (exp-ITER): Increase iterations.
6877 (pow-ITER): Likewise.
6878 * benchtests/exp-inputs: Change input.
6879 * benchtests/pow-inputs: Likewise.
6880 * benchtests/slowexp-inputs: New file.
6881 * benchtests/slowexp.c: New file.
6882 * benchtests/slowpow-inputs: New file.
6883 * benchtests/slowpow.c: New file.
6884
ab0f1aa9
AZ
68852013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886
6887 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6888 instructions.
6889 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6890 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6891 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6892 * benchtests/Makefile: Add rint benchtest.
6893 * benchtests/rint-inputs: Input for rint benchtest.
6894
57267616
TS
68952013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6896
6897 * Versions.def (libm): Add GLIBC_2.18.
6898 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6899 hidden libm prototypes.
6900 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6901 * math/Makefile (libm-calls): Add s_issignaling.
6902 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6903 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6904 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6905 declaration.
6906 * math/math.h [__USE_GNU] (issignaling): New macro.
6907 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6908 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6913 * manual/arith.texi (issignaling): New section.
6914 * manual/libm-err-tab.pl (@all_functions): Update comment.
6915 * math/gen-libm-test.pl (parse_args): Apply special handling for
6916 issignaling.
6917 * math/libm-test.inc (print_float, issignaling_test): New
6918 functions.
6919 (check_float_internal): Add issignaling checks.
6920 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6921 default definition.
6922 * sysdeps/powerpc/math-tests.h: New file.
6923 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6924 tests.
6925 * math/test-snan.c (TEST_FUNC): Likewise.
6926
6142896d
DM
69272013-03-30 David S. Miller <davem@davemloft.net>
6928
6929 * po/de.po: Update from translation team.
6930
ccc8cadf
JM
69312013-03-30 Joseph Myers <joseph@codesourcery.com>
6932
6933 [BZ #10357]
6934 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6935 imaginary part less than 1.0 and real part less than 0.5
6936 specially.
6937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6939 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6940 (cacos_test): Add more tests.
6941 (casin_test): Likewise.
6942 (casinh_test): Likewise.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945
0f6a8d4b
SP
69462013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6947
0d1029de
SP
6948 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6949 ONE with its value.
6950
c2d94018
SP
6951 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6952 (__pow_mp): Replace ONE and MONE with their values.
6953 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6955 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6956 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6957 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6958 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6959
27ec37f1
SP
6960 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6961
a64d7e0e
SP
6962 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6963 (__pow_mp): Replace ZERO and MZERO with their values.
6964 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6965 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6966 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6968 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6969 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6970 (__sqr): Likewise.
6971
d26dd3eb
SP
6972 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6973
0f6a8d4b
SP
6974 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6975
e57b0c61
RM
69762013-03-28 Roland McGrath <roland@hack.frob.com>
6977
6978 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6979 Declare with __attribute__ ((weak)).
6980 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6981 Call __call_tls_dtors only if it's not NULL.
6982
356b3480
RM
69832013-03-28 Roland McGrath <roland@hack.frob.com>
6984
288f7d79
RM
6985 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6986 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6987 magic __ehdr_start linker symbol if it's defined.
6988 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6989 them up here if it was already done.
6990
dc0a0263
RM
6991 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6992 (_dl_aux_init): Use const in cast when setting it.
6993 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6994 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6995 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6996
3d3436ae
RM
6997 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6998 Declare them here.
6999 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7000 * csu/libc-tls.c: Nor here.
7001 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7002
356b3480
RM
7003 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7004 (__libc_message): Never call vsyslog.
7005
b0f1246a
AM
70062013-03-28 Alan Modra <amodra@gmail.com>
7007
7008 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7009 Define as empty.
7010 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7011 Likewise.
7012
fbbe2b9a
AZ
70132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014
7015 [BZ #15214]
7016 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7017 underflow.
7018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7019
1728ab37
SP
70202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7021
7a86be6e
SP
7022 [BZ #15304]
7023 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7024 Don't add gid passed as argument.
7025
1728ab37
SP
7026 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7027
3a7182a1
JM
70282013-03-27 Joseph Myers <joseph@codesourcery.com>
7029
7030 [BZ #15307]
7031 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7032 imaginary part between 1.0 and 1.5 and real part less than 0.5
7033 specially.
7034 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7035 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7036 * math/libm-test.inc (cacos_test): Add more tests.
7037 (casin_test): Likewise.
7038 (casinh_test): Likewise.
7039 * sysdeps/i386/fpu/libm-test-ulps: Update.
7040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7041
6f2e90e7
SP
70422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7043
5739f705
SP
7044 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7045 constants.
7046 (norm): Likewise.
7047 (denorm): Likewise.
7048 (__dbl_mp): Likewise.
7049 (add_magnitudes): Likewise.
7050 (sub_magnitudes): Likewise.
7051 (__add): Likewise.
7052 (__sub): Likewise.
7053 (__mul): Likewise.
7054 (__sqr): Likewise.
7055 (__inv): Likewise.
7056 (__dvd): Likewise.
7057
e375e83d
SP
7058 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7059 commented code.
7060 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7061 (__dubcos): Likewise.
7062 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7063 (__ieee754_acos): Likewise.
7064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7065 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7066 (__exp1): Likewise.
7067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7069 (log1): Likewise.
7070 (my_log2): Likewise.
7071 (checkint): Likewise.
7072 * sysdeps/ieee754/dbl-64/e_remainder.c
7073 (__ieee754_remainder): Likewise.
7074 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7076 (bsloww): Likewise.
7077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7078
6f2e90e7
SP
7079 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7080 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7081 MANTISSA_STORE_T to store computations on mantissa. Use
7082 macros for rounding and division.
7083 (denorm): Likewise.
7084 (__dbl_mp): Likewise.
7085 (add_magnitudes): Likewise.
7086 (sub_magnitudes): Likewise.
7087 (__mul): Likewise.
7088 (__sqr): Likewise.
7089 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7090 powers of two in terms of TWOPOW macro.
7091 (mp_no): Make type of mantissa as MANTISSA_T.
7092 [!RADIXI]: Define RADIXI.
7093 [!TWO52]: Define TWO52.
7094 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7095
fce14d4e
AZ
70962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7097
7098 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7099 llroundl symbol when building for PPC32.
7100
9ad027fb
MW
71012013-03-24 Mark H Weaver <mhw@netris.org>
7102
7103 * manual/arith.texi (Normalization Functions): Fix prototypes for
7104 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7105
e42a38dd
AZ
71062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7107
7108 [BZ #13889]
7109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7110 high value to check if expl overflow.
7111 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7112 to check for underflow and overflow.
7113 * math/libm-test.inc: Add exp test.
7114
2e0fb521
DL
71152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7116
7117 [BZ #11120]
7118 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7119 with NOT_IN_libc.
7120
b5784d95
AZ
71212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7122
7123 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7124 symbol.
7125
5aa4a1a1
TS
71262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7127
bdef0be7
TS
7128 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7129 wrap blocks consisting of several statements.
7130
5aa4a1a1
TS
7131 * sysdeps/generic/math-tests.h: New file.
7132 * sysdeps/i386/fpu/math-tests.h: Likewise.
7133 * math/test-snan.c: Include it.
7134 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7135
98c48fe5
JM
71362013-03-21 Joseph Myers <joseph@codesourcery.com>
7137
7138 [BZ #15285]
7139 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7140 (__ieee754_j0l): Do not improve calculations using cos of twice
7141 input for inputs above LDBL_MAX / 2.0L.
7142 (__ieee754_y0l): Likewise.
7143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7144 (__ieee754_j1l): Do not improve calculations using cos of twice
7145 input for inputs above LDBL_MAX / 2.0L.
7146 (__ieee754_y1l): Likewise.
7147 * math/libm-test.inc (j0_test): Add another test.
7148 (j1_test): Likewise.
7149 (y0_test): Likewise.
7150 (y1_test): Likewise.
7151 * sysdeps/i386/fpu/libm-test-ulps: Update.
7152
3775a8bc
SP
71532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7154
7155 * Rules ($(objpfx)bench-%.c): Include code from a C source
7156 file.
7157
0a1b2ae6
JM
71582013-03-21 Joseph Myers <joseph@codesourcery.com>
7159
7160 [BZ #15287]
7161 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7162 imaginary part 1.0 and real part less than 0.5 specially.
7163 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7164 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7165 * math/libm-test.inc (cacos_test): Add more tests.
7166 (casin_test): Likewise.
7167 (casinh_test): Likewise.
7168 * sysdeps/i386/fpu/libm-test-ulps: Update.
7169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7170
b33d4ce4
SP
71712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7172
7173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7174 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7175
bef0b507
JM
71762013-03-20 Joseph Myers <joseph@codesourcery.com>
7177
7178 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7179 * config.make.in (config-cflags-sse4): Remove variable.
7180 (config-cflags-avx): Likewise.
7181 (config-cflags-sse2avx): Likewise.
7182 (config-cflags-novzeroupper): Likewise.
7183 (config-asflags-i686): Likewise.
7184 (have-mfma4): Likewise.
7185 (have-as-vis3): Likewise.
7186 (MIG): Likewise.
7187 * configure.in (MIG): Do not AC_SUBST.
7188 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7189 (libc_cv_cc_sse4): Do not AC_SUBST.
7190 (libc_cv_cc_avx): Likewise.
7191 (libc_cv_cc_sse2avx): Likewise.
7192 (libc_cv_cc_novzeroupper): Likewise.
7193 (libc_cv_cc_fma4): Likewise.
7194 (libc_cv_as_i686): Likewise.
7195 (libc_cv_sparc_as_vis3): Likewise.
7196 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7197 LIBC_CONFIG_VAR.
7198 (config-asflags-i686): Likewise.
7199 (config-cflags-avx): Likewise.
7200 (config-cflags-sse2avx): Likewise.
7201 (have-mfma4): Likewise.
7202 (config-cflags-novzeroupper): Likewise.
7203 * sysdeps/mach/configure.in (MIG): Likewise.
7204 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7205 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7206 LIBC_CONFIG_VAR.
7207 (config-cflags-avx): Likewise.
7208 (config-cflags-sse2avx): Likewise.
7209 (have-mfma4): Likewise.
7210 (config-cflags-novzeroupper): Likewise.
7211 * configure: Regenerated.
7212 * sysdeps/i386/configure: Likewise.
7213 * sysdeps/mach/configure: Likewise.
7214 * sysdeps/sparc/configure: Likewise.
7215 * sysdeps/x86_64/configure: Likewise.
7216
912cc4b3
RM
72172013-03-20 Roland McGrath <roland@hack.frob.com>
7218
7219 [BZ #14812]
7220 * locale/programs/localedef.c (options): Put N_ translation marker
7221 on argument names, not just descriptions.
7222
04eed2b0
MS
72232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7224
7225 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7226
a065ceff
OB
72272013-03-20 Ondřej Bílka <neleai@seznam.cz>
7228
9bb2a810 7229 [BZ #14176]
a065ceff
OB
7230 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7231
a600e5ce
RM
72322013-03-19 Roland McGrath <roland@hack.frob.com>
7233
7234 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7235 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7236 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7237 [!BEFORE_ABORT] (before_abort): New function.
7238 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7239 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7240 (writev_for_fatal): New function.
7241 (WRITEV_FOR_FATAL): New macro; call that.
7242 (backtrace_and_maps): New function.
7243 (BEFORE_ABORT): New macro; call that.
7244 (struct str_list): Type removed.
7245 (__libc_message, __libc_fatal): Functions removed.
7246 Include <sysdeps/posix/libc_fatal.c> instead.
7247
6b18bea6
JM
72482013-03-19 Joseph Myers <joseph@codesourcery.com>
7249
7250 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7251 constants.
7252 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7253 double constants.
7254
aaa8cb4b
AS
72552013-03-19 Andreas Schwab <schwab@suse.de>
7256
44673770
AS
7257 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7258 * sysdeps/gnu/configure: Regenerate.
7259
aaa8cb4b
AS
7260 * configure.in: Substitute libc_cv_rtlddir.
7261 * configure: Regenerate.
7262 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7263 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7264 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7265 * elf/Makefile (install-others, CFLAGS-interp.c)
7266 (ldso_install, common-ldd-rewrite): Likewise.
7267 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7268 $(inst_slibdir)/$(rtld-installed-name).
7269 * scripts/rellns-sh: Add -p option.
7270 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7271 for source.
7272
d3cfc668
SP
72732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * manual/nptl.texi: Renamed to ...
7276 * manual/threads.texi: ... this.
7277 * manual/Makefile (chapters): Update.
7278
0e2b9cdd
RM
72792013-03-18 Roland McGrath <roland@hack.frob.com>
7280
7281 [BZ #14812]
7282 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7283 on argument names, not just descriptions.
0e2b9cdd
RM
7284 * malloc/memusagestat.c (options): Likewise.
7285 * nss/getent.c (options): Likewise.
63270c24
RM
7286
72872013-03-18 Benno Schulenberg <bensberg@justemail.net>
7288
7289 [BZ #14812]
7290 * iconv/iconv_prog.c (options): Put N_ translation marker
7291 on argument names, not just descriptions.
7292 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7293
b2e1393c
OB
72942013-03-18 Ondrej Bilka <neleai@seznam.cz>
7295
7296 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7297 implementation which is faster on all x86_64 architectures.
7298 Tested on AMD, Intel Nehalem, SNB, IVB.
7299 * sysdeps/x86_64/strnlen.S: Likewise.
7300
7301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7302 Remove all multiarch strlen and strnlen versions.
7303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7304 Remove strlen and strnlen related parts.
7305
7306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7307 Inline strlen part.
7308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7309
7310 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7311 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7312 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7313 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7314 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7315 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7316
ec4ff04d
CD
73172013-03-17 Carlos O'Donell <carlos@redhat.com>
7318
7319 * manual/memory.texi (Malloc Tunable Parameters):
7320 Sort parameters alphabetically. Add comments for missing entries.
7321
cd18e90a
DM
73222013-03-17 David S. Miller <davem@davemloft.net>
7323
7324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7325
2a185d32
JM
73262013-03-16 Joseph Myers <joseph@codesourcery.com>
7327
d2f9799e
JM
7328 [BZ #15283]
7329 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7330 for arguments at most half maximum finite value.
7331 * math/libm-test.inc (j0_test): Add more tests.
7332 (j1_test): Likewise.
7333 (y0_test): Likewise.
7334 (y1_test): Likewise.
7335 * sysdeps/i386/fpu/libm-test-ulps: Update.
7336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7337
2a185d32
JM
7338 [BZ #14155]
7339 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7340 1 / x and functions P and Q for arguments above 0x1p256L.
7341 (__ieee754_y0l): Likewise.
7342 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7343 (__ieee754_y1l): Likewise.
7344 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7345 (j1_test): Likewise.
7346 (y0_test): Likewise.
7347 (y1_test): Likewise.
7348
6cbec759
TS
73492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7350
7351 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7352 variable.
7353
bc16e260
RM
73542013-03-15 Roland McGrath <roland@hack.frob.com>
7355
aefc9b8c
RM
7356 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7357 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7358 zero since it's initialized to EXEC_PAGESIZE.
7359
bc16e260
RM
7360 * sysdeps/unix/sysv/linux/ldsodefs.h
7361 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7362 * sysdeps/generic/ldsodefs.h: ... here.
7363
a57da955
TS
73642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7365
af00a34d
TS
7366 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7367
495ded2c
TS
7368 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7369 math/test-snan.c.
7370 * math/test-snan.c: Renamed from
7371 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7372 * math/Makefile (tests): Add test-snan.
7373 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7374 test-powerpc-snan.
7375
777b0332
TS
7376 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7377 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7378 functions.
7379 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7380 __builtin_nan family of functions.
7381 * math/libm-test.inc (initialize): Initialize qnan_value with
7382 __builtin_nan family of functions.
7383 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7384 Remove variables.
7385 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7386 Remove functions.
7387 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7388 storage class. Initialize qNaN_var and sNaN_var with
7389 __builtin_nan and __builtin_nans families of functions,
7390 respectively.
7391
64d063b8
TS
7392 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7393 (sqrt_test): Remove duplicate test with qNaN input.
7394 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7395 (round_test, signbit_test, significand_test): Note missing +/-Inf
7396 as well as qNaN tests.
7397
67e971f1
TS
7398 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7399 qNaN_var. Fix a few strings, too.
7400 * math/libm-test.inc (nan_value): Rename to qnan_value.
7401 * math/gen-libm-test.pl (%beautify): Adjust to that.
7402 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7403 * math/test-misc.c (main): Likewise.
7404 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7405 to __qnan_bytes, and __qnan_union, respectively.
7406 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7407 Likewise.
7408 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7409 and lqnanval, respectively.
7410 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7411 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7412 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7413 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7414
64487e12
TS
7415 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7416 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7417 doubles.
7418
e015e27b
TS
7419 * math/test-misc.c (main): Fix copy'n'pastos.
7420 * misc/tst-efgcvt.c (special): Likewise.
7421
a57da955
TS
7422 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7423 Remove declarations.
7424
1e380345
SP
74252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7426
7427 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7428 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7429 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7430 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7431
ef26eece
AZ
74322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7433
7434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7435 macro to return vdso values correctly in IFUNC implementations.
7436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7437 Optimization by using IFUNC.
7438
8cfdb7e0
SP
74392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7440 Richard Henderson <rth@redhat.com>
7441 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7442
7443 * Makefile.in (bench): New target.
7444 * NEWS: Mention the benchmark framework.
7445 * Rules (bench): Likewise.
7446 (binaries-bench): Generate binaries for functions to
7447 benchmark.
7448 * benchtests/Makefile: New makefile for benchmark tests.
7449 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7450 programs.
7451 * benchtests/exp-inputs: New input file for EXP function.
7452 * benchtests/pow-inputs: New input file for POW function.
7453 * scripts/bench.pl: New script to generate source files for
7454 benchmark programs.
7455
bcda9880
SP
74562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7457
d22ca8cd
SP
7458 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7460 computations on mantissa. Use macros for rounding and
7461 division.
7462 (denorm): Likewise.
7463 (__dbl_mp): Likewise.
7464 (add_magnitudes): Likewise.
7465 (sub_magnitudes): Likewise.
7466 (__mul): Likewise.
7467 (__sqr): Likewise.
7468 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7469 powers of two in terms of TWOPOW macro.
7470 (mp_no): Make type of mantissa as MANTISSA_T.
7471 [!RADIXI]: Define RADIXI.
7472 [!TWO52]: Define TWO52.
7473 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7474
bcda9880
SP
7475 * manual/nptl.texi (cindex): Modify threads to pthreads.
7476
06d5adfb
JM
74772013-03-15 Joseph Myers <joseph@codesourcery.com>
7478
7479 * sysdeps/x86_64/preconfigure: Regenerated.
7480
41c7328e
JM
74812013-03-14 Joseph Myers <joseph@codesourcery.com>
7482
7483 [BZ #14155]
7484 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7485 0x1p28 and above.
7486 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7487 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7488 0x1p28 and above.
7489 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7490 * math/libm-test.inc (j0_test): Do not allow one spurious
7491 underflow exception.
7492 (y1_test): Likewise.
7493
e25cfa60
SP
74942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7495
0409959c
SP
7496 * manual/Makefile (chapters): Add nptl.
7497 * manual/debug.texi (Debugging Support): Add link to Threads
7498 chapter.
7499 * manual/nptl.texi: New file.
7500
e25cfa60
SP
7501 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7502
58a1335e
PB
75032013-03-14 Petr Baudis <pasky@ucw.cz>
7504
7505 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7506 for non-NULL pointer before the memory validity test. Pointed
7507 out by Holger Brunck <holger.brunck@keymile.com>.
7508
9dc7c64f
AS
75092013-03-13 Andreas Schwab <schwab@suse.de>
7510
7511 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7512 instead of .os.
7513
54206aa6
JM
75142013-03-13 Joseph Myers <joseph@codesourcery.com>
7515
7516 * timezone/zic.c: Update from tzcode 2013b.
7517
e98cdb38
CD
75182013-03-12 Carlos O'Donell <carlos@redhat.com>
7519
7520 * manual/install.texi (Configuring and compiling):
7521 Mention i686 and i586.
7522 * INSTALL: Regenerate.
7523
9967e003
RM
75242013-03-12 Roland McGrath <roland@hack.frob.com>
7525
7526 * sysdeps/init_array/elf-init.c: New file.
7527 * csu/elf-init.c
7528 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7529 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7530
7531 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7532 __gmon_start__ as global, but as static with a .preinit_array pointer.
7533 * sysdeps/init_array/gmon-start.c: New file. Use that.
7534 * sysdeps/init_array/crti.S: New file, empty except for comments.
7535 * sysdeps/init_array/crtn.S: Likewise.
7536
e6b5a293 75372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7538
7539 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7540 definining bcopy.
80f844c9
OB
7541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7542 Remove Prefer_SSE_for_memop.
7543 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7544 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7545 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7547 memset-x86-64.
80f844c9 7548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7549 Remove bzero, memset ifunc support.
80f844c9
OB
7550 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7551 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7554
fb6b0fcb
AS
75552013-03-11 Andreas Schwab <schwab@suse.de>
7556
7557 [BZ #15234]
7558 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7559 by SHLIB_COMPAT.
7560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7561 (GLIBC_2.16): Remove pthread_atfork.
7562
3e6bd4b1
PP
75632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7564
7565 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7566 (ptestcases.h): Likewise.
7567
222d7f00
RM
75682013-03-08 Roland McGrath <roland@hack.frob.com>
7569
7570 * Makeconfig ($(common-objpfx)config.status): Depend on
7571 sysdeps/*/preconfigure{,.in} too.
7572
1ba4f030
JM
75732013-03-08 Joseph Myers <joseph@codesourcery.com>
7574
a222d91a
JM
7575 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7576 (__free_hook): Use void * instead of __malloc_ptr_t.
7577 (__malloc_hook): Likewise.
7578 (__realloc_hook): Likewise.
7579 (__memalign_hook): Likewise.
7580 (__after_morecore_hook): Likewise.
7581 * malloc/arena.c (save_malloc_hook): Likewise.
7582 (save_free_hook): Likewise.
7583 * malloc/hooks.c (malloc_hook_ini): Likewise.
7584 (realloc_hook_ini): Likewise.
7585 (memalign_hook_ini): Likewise.
7586 * malloc/malloc.c (malloc_hook_ini): Likewise.
7587 (realloc_hook_ini): Likewise.
7588 (memalign_hook_ini): Likewise.
7589 (__free_hook): Likewise.
7590 (__malloc_hook): Likewise.
7591 (__realloc_hook): Likewise.
7592 (__memalign_hook): Likewise.
7593 (__libc_malloc): Likewise.
7594 (__libc_free): Likewise.
7595 (__libc_realloc): Likewise.
7596 (__libc_memalign): Likewise.
7597 (__libc_valloc): Likewise.
7598 (__libc_pvalloc): Likewise.
7599 (__libc_calloc): Likewise.
7600 (__posix_memalign): Likewise.
7601 * malloc/morecore.c (__sbrk): Likewise.
7602 (__default_morecore): Likewise.
7603
5cc45e10
JM
7604 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7605
dd54b864
JM
7606 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7607 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7608 __malloc_ptrdiff_t.
7609
1ba4f030
JM
7610 * malloc/malloc.h (__malloc_size_t): Remove macro.
7611 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7612 __malloc_size_t.
7613 (old_memalign_hook): Likewise.
7614 (old_realloc_hook): Likewise.
7615 (struct hdr): Likewise.
7616 (flood): Likewise.
7617 (mallochook): Likewise.
7618 (memalignhook): Likewise.
7619 (reallochook): Likewise.
7620 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7621 (tr_old_realloc_hook): Likewise.
7622 (tr_old_memalign_hook): Likewise.
7623 (tr_mallochook): Likewise.
7624 (tr_reallochook): Likewise.
7625 (tr_memalignhook): Likewise.
7626
edf66e57
AZ
76272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
7629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7630 default_ldbl_pack and using as default implementation.
7631 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7632 implementation.
7633 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7634 redundant definition.
7635 (ldbl_insert_mantissa): Likewise.
7636 (ldbl_canonicalize): Likewise.
7637 (ldbl_nearbyint): Likewise.
7638 (ldbl_pack): Rename to ldbl_pack_ppc.
7639 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7640 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7641 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7642
6d9145d8
SP
76432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7644
7645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7646 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7648 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7651 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7652 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7653
4dd4e157
AJ
76542013-03-07 Andreas Jaeger <aj@suse.de>
7655
7656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7657 bits/mman-linux.h.
7658
adbb8027
SP
76592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7660
ce544b5b
SP
7661 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7662 Include mpa.h and declare __MPEXP.
7663 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7664 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7665 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7666 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7668 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7669 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7670
4cc149fd
SP
7671 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7672 (__slowpow): Use long double EXPL and LOGL functions to
7673 compute POW.
7674 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7675 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7676 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7677 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7678 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7679 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7680
e6ebd4a7
SP
7681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7682 intermediate variable to calculate exponent.
7683 (__sqr): Likewise.
7684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7685 Likewise.
7686 (__sqr): Likewise.
7687
82a9811d
SP
7688 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7689 [!NO__SQR]: Define __sqr.
7690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7691 and NO__SQR. Remove all code except __mul and __sqr. Include
7692 sysdeps/ieee754/dbl-64/mpa.c.
7693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7694
adbb8027
SP
7695 [BZ #12723]
7696 * posix/Makefile (tests): Add tst-pathconf.
7697 * posix/tst-pathconf.c: New test case.
7698 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7699 _PC_PIPE_BUF.
7700 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7701
39120df9
PF
77022013-03-06 Patsy Franklin <pfrankli@redhat.com>
7703
7704 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7705
67525cb8
AJ
77062013-03-06 Andreas Jaeger <aj@suse.de>
7707
664a9ce4
AJ
7708 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7709 definition via __MAP_ANONYMOUS.
7710
8e39047d
AJ
7711 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7712 it's not part of Linux headers.
7713
67525cb8
AJ
7714 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7715 (MAP_HUGE_MASK): Define.
7716
7717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7718 Define.
7719 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7721 Define.
7722 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7723 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7724 Define.
7725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7727 Define.
7728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7729
7730 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7731 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7732 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7733 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7734 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7735 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7736
7737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7738 Handle f2fs.
7739
7740 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7741 Handle f2fs and efivarfs.
7742
7743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7744 f2fs.
7745
7746 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7747 (EFIVARFS_MAGIC): Add.
7748 (F2FS_LINK_MAX): Add.
7749
e1b42695
PP
77502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7751
7752 * stdio-common/vfprintf.c: Replace __builtin_expect with
7753 __glibc_unlikely.
7754
2d67d91a
JM
77552013-03-06 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #13550]
7758 * sysdeps/generic/bp-sym.h: Remove file.
7759 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7761 <bp-sym.h> and <bp-asm.h>.
7762 (__longjmp): Don't use BP_SYM.
7763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7764 and <bp-asm.h>.
7765 (memcpy): Don't use BP_SYM.
7766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7767 <bp-sym.h> and <bp-asm.h>.
7768 (memcpy): Don't use BP_SYM.
7769 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7770 <bp-asm.h>.
7771 (memcpy): Don't use BP_SYM.
7772 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7773 <bp-asm.h>.
7774 (memset): Don't use BP_SYM.
7775 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7776 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7777 (__bzero): Don't use BP_SYM.
7778 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7779 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7780 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7781 <bp-sym.h> and <bp-asm.h>.
7782 (memcmp): Don't use BP_SYM. Remove comment about bounded
7783 pointers.
7784 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7785 <bp-sym.h> and <bp-asm.h>.
7786 (memcpy): Don't use BP_SYM.
7787 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7788 <bp-sym.h> and <bp-asm.h>.
7789 (memset): Don't use BP_SYM.
7790 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7791 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7792 (__bzero): Don't use BP_SYM.
7793 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7794 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7795 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7796 <bp-sym.h> and <bp-asm.h>.
7797 (strncmp): Don't use BP_SYM. Remove comment about bounded
7798 pointers.
7799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7800 <bp-sym.h> and <bp-asm.h>.
7801 (memcpy): Don't use BP_SYM.
7802 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7803 <bp-sym.h> and <bp-asm.h>.
7804 (memset): Don't use BP_SYM.
7805 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7806 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7807 (__bzero): Don't use BP_SYM.
7808 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7809 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7811 <bp-sym.h> and <bp-asm.h>.
7812 (__memchr): Don't use BP_SYM.
7813 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7814 <bp-sym.h> and <bp-asm.h>.
7815 (memcmp): Don't use BP_SYM. Remove comment about bounded
7816 pointers.
7817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7818 <bp-sym.h> and <bp-asm.h>.
7819 (memcpy): Don't use BP_SYM.
7820 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7821 <bp-sym.h> and <bp-asm.h>.
7822 (__mempcpy): Don't use BP_SYM.
7823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7824 <bp-sym.h> and <bp-asm.h>.
7825 (__memrchr): Don't use BP_SYM.
7826 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7827 <bp-sym.h> and <bp-asm.h>.
7828 (memset): Don't use BP_SYM.
7829 (__bzero): Likewise.
7830 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7831 <bp-sym.h> and <bp-asm.h>.
7832 (__rawmemchr): Don't use BP_SYM.
7833 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7834 <bp-sym.h> and <bp-asm.h>.
7835 (__STRCMP): Don't use BP_SYM.
7836 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7837 <bp-sym.h> and <bp-asm.h>.
7838 (strchr): Don't use BP_SYM.
7839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7840 <bp-sym.h> and <bp-asm.h>.
7841 (__strchrnul): Don't use BP_SYM.
7842 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7843 <bp-sym.h> and <bp-asm.h>.
7844 (strlen): Don't use BP_SYM.
7845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7846 <bp-sym.h> and <bp-asm.h>.
7847 (strncmp): Don't use BP_SYM. Remove comment about bounded
7848 pointers.
7849 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7850 <bp-sym.h> and <bp-asm.h>.
7851 (__strnlen): Don't use BP_SYM.
7852 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7853 <bp-sym.h> and <bp-asm.h>.
7854 (__GI__setjmp): Don't use BP_SYM.
7855 (_setjmp): Likewise.
7856 (__sigsetjmp): Likewise.
7857 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7858 (L(start_addresses)): Don't use BP_SYM.
7859 (_start): Likewise.
7860 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7861 <bp-asm.h>.
7862 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7863 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7864 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7865 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7866 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7867 <bp-asm.h>.
7868 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7869 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7870 about bounded pointers.
7871 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7872 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7873 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7874 <bp-asm.h>.
7875 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7876 about bounded pointers. Remove GKM FIXME comments.
7877 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7878 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7879 <bp-asm.h>.
7880 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7881 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7882 Remove GKM FIXME comments.
7883 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7884 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7885 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7886 <bp-asm.h>.
7887 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7888 about bounded pointers. Remove GKM FIXME comment.
7889 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7890 and <bp-asm.h>.
7891 (strncmp): Don't use BP_SYM. Remove comment about bounded
7892 pointers.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7894 <bp-sym.h> and <bp-asm.h>.
7895 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7897 <bp-sym.h> and <bp-asm.h>.
7898 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7899 comment.
7900
cdcf361f
PP
79012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7902
7903 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7904 call free(NULL).
7905
3c4a2b15
DM
79062013-03-05 David S. Miller <davem@davemloft.net>
7907
7908 * po/es.po: Update from translation team.
7909
cdcf361f 79102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7911
7912 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7913 <bits/mman-linux.h>.
7914 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7915 is fine.
7916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7917 <bits/mman-linux.h> to end of file.
7918 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7919 is fine.
7920 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7921 <bits/mman-linux.h> to end of file.
7922 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7923 is fine.
7924 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7925 <bits/mman-linux.h> to end of file.
7926
7927 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7928 (MCL_CURRENT, MCL_FUTURE): Define here.
7929
5f67c04f
AK
79302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7931
8a4473cc 7932 [BZ #15232]
5f67c04f
AK
7933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7934 attribute_hidden.
7935 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7936
c3e94a95
AK
79372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7938
7939 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7940 fourth parameter needed for rt_sigprocmask syscall.
7941 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7942 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7943 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7944 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7947
cfb6382a
JM
79482013-03-04 Joseph Myers <joseph@codesourcery.com>
7949
7950 [BZ #13550]
7951 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7952 comment about bounded pointers.
7953 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7954 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7955
539d8e01
AJ
79562013-03-04 Andreas Jaeger <aj@suse.de>
7957
7958 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7959 common definitions.
7960
7961 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7962 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7964 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7967
2e167a70 79682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7969
7970 [BZ #15055]
7971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7972 __ieee754_sqrl instead of __sqrl.
7973
68508633
JM
79742013-03-01 Joseph Myers <joseph@codesourcery.com>
7975
7976 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7977 * sysdeps/powerpc/fpu_control.h: ... here.
7978 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7979 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7980 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7981 * sysdeps/powerpc/bits/mathinline.h: ... here.
7982
7775448e
RM
79832013-03-01 Roland McGrath <roland@hack.frob.com>
7984
7985 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7986 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7987 to just [NEED_DL_SYSINFO_DSO].
7988 * elf/dl-support.c: Likewise.
7989 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7990 * elf/rtld.c (dl_main): Likewise.
7991 * elf/setup-vdso.h (setup_vdso): Likewise.
7992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7993 * sysdeps/unix/sysv/linux/dl-sysdep.c
7994 (_dl_discover_osversion): Likewise.
7995
4e9b5995
CD
79962013-03-01 Carlos O'Donell <carlos@redhat.com>
7997
7998 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7999 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8000
e23872c8
SP
80012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8002
e5c74c63
SP
8003 * NEWS: Mention libm performance improvements and non-x86 PI
8004 futex support.
8005
e23872c8
SP
8006 * csu/libc-start.c (__pthread_initialize_minimal): Change
8007 function arguments.
8008 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8009
b5510883
JM
80102013-02-28 Joseph Myers <joseph@codesourcery.com>
8011
8012 [BZ #13550]
8013 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8014 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8015 <bp-sym.h> and <bp-asm.h>.
8016 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8018 and <bp-asm.h>.
8019 (memcpy): Don't use BP_SYM.
8020 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8021 <bp-asm.h>.
8022 (__mpn_add_n): Don't use BP_SYM.
8023 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8024 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8025 and <bp-asm.h>.
8026 (__mpn_addmul_1): Don't use BP_SYM.
8027 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8028 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8029 <bp-sym.h>.
8030 (_setjmp): Don't use BP_SYM.
8031 (__novmx_setjmp): Likewise.
8032 (__GI__setjmp): Likewise.
8033 (__vmx_setjmp): Likewise.
8034 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8035 <bp-sym.h>.
8036 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8037 (__bzero): Don't use BP_SYM.
8038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8040 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8041 <bp-sym.h> and <bp-asm.h>.
8042 (memcpy): Don't use BP_SYM.
8043 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8044 <bp-sym.h> and <bp-asm.h>.
8045 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8047 <bp-sym.h> and <bp-asm.h>.
8048 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8049 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8050 <bp-asm.h>.
8051 (__mpn_lshift): Don't use BP_SYM.
8052 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8053 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8054 <bp-asm.h>.
8055 (memset): Don't use BP_SYM.
8056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8058 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8059 <bp-asm.h>.
8060 (__mpn_mul_1): Don't use BP_SYM.
8061 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8063 <bp-sym.h> and <bp-asm.h>.
8064 (memcmp): Don't use BP_SYM.
8065 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8066 <bp-sym.h> and <bp-asm.h>.
8067 (memcpy): Don't use BP_SYM.
8068 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8069 <bp-sym.h> and <bp-asm.h>.
8070 (memset): Don't use BP_SYM.
8071 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8072 <bp-sym.h> and <bp-asm.h>.
8073 (strncmp): Don't use BP_SYM.
8074 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8075 <bp-sym.h> and <bp-asm.h>.
8076 (memcpy): Don't use BP_SYM.
8077 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8078 <bp-sym.h> and <bp-asm.h>.
8079 (memset): Don't use BP_SYM.
8080 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8081 <bp-sym.h> and <bp-asm.h>.
8082 (__memchr): Don't use BP_SYM.
8083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8084 <bp-sym.h> and <bp-asm.h>.
8085 (memcmp): Don't use BP_SYM.
8086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8087 <bp-sym.h> and <bp-asm.h>.
8088 (memcpy): Don't use BP_SYM.
8089 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8090 <bp-sym.h> and <bp-asm.h>.
8091 (__mempcpy): Don't use BP_SYM.
8092 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8093 <bp-sym.h> and <bp-asm.h>.
8094 (__memrchr): Don't use BP_SYM.
8095 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8096 <bp-sym.h> and <bp-asm.h>.
8097 (memset): Don't use BP_SYM.
8098 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8099 <bp-sym.h> and <bp-asm.h>.
8100 (__rawmemchr): Don't use BP_SYM.
8101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8102 <bp-sym.h> and <bp-asm.h>.
8103 (__STRCMP): Don't use BP_SYM.
8104 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8105 <bp-sym.h> and <bp-asm.h>.
8106 (strchr): Don't use BP_SYM.
8107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8108 <bp-sym.h> and <bp-asm.h>.
8109 (__strchrnul): Don't use BP_SYM.
8110 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8111 <bp-sym.h> and <bp-asm.h>.
8112 (strlen): Don't use BP_SYM.
8113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8114 <bp-sym.h> and <bp-asm.h>.
8115 (strncmp): Don't use BP_SYM.
8116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8117 <bp-sym.h> and <bp-asm.h>.
8118 (__strnlen): Don't use BP_SYM.
8119 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8120 <bp-asm.h>.
8121 (__mpn_rshift): Don't use BP_SYM.
8122 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8123 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8124 <bp-sym.h> and <bp-asm.h>.
8125 (__sigsetjmp): Don't use BP_SYM.
8126 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8127 (L(start_addresses)): Don't use BP_SYM.
8128 (_start): Likewise.
8129 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8130 <bp-asm.h>.
8131 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8132 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8133 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8134 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8135 <bp-asm.h>.
8136 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8137 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8138 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8139 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8140 <bp-asm.h>.
8141 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8142 comments.
8143 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8144 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8145 <bp-asm.h>.
8146 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8147 FIXME comments.
8148 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8149 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8150 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8151 <bp-asm.h>.
8152 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8153 comment.
8154 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8155 and <bp-asm.h>.
8156 (strncmp): Don't use BP_SYM,
8157 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8158 <bp-asm.h>.
8159 (__mpn_sub_n): Don't use BP_SYM.
8160 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8161 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8162 and <bp-asm.h>.
8163 (__mpn_submul_1): Don't use BP_SYM.
8164 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8166 <bp-sym.h> and <bp-asm.h>.
8167 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8169 <bp-sym.h> and <bp-asm.h>.
8170 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8171 comment.
8172
8d19fe64
SP
81732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8174
8175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8176 Use ZK to minimize writes to Z.
8177 (sub_magnitudes): Simplify code a bit.
8178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8179 Use ZK to minimize writes to Z.
8180 (sub_magnitudes): Simplify code a bit.
8181
85bd816a
RM
81822013-02-27 Roland McGrath <roland@hack.frob.com>
8183
8184 * csu/gmon-start.c: Add special exception to license text.
8185
b5977bf2
RH
81862013-02-27 Richard Henderson <rth@redhat.com>
8187
8188 * scripts/config.guess: Update from config.git.
8189 * scripts/config.sub: Likewise.
8190
11d6e2f2
SP
81912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8192
09c14ed2
SP
8193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8194
a688864e
SP
8195 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8196
6295157a
SP
8197 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8198
b8de2202
SP
8199 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8200
11d6e2f2
SP
8201 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8202
7e80ddb8
RM
82032013-02-26 Roland McGrath <roland@hack.frob.com>
8204
8205 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8206 [$(build-shared = yes].
7e80ddb8 8207
7da6d9ed
SP
82082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8209
45f05884
SP
8210 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8211 (__mul): Reduce iterations for calculating mantissa.
8212
2236d359
SP
8213 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8214 MPTWO.
8215 (__mpranred): Likewise.
8216
7da6d9ed
SP
8217 [BZ #15160]
8218 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8219 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8220
b7688c42
PE
82212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8222
8223 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8224 Define __attribute__.
8225
53a5c423
SP
82262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8227
8228 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8229 unused.
8230 * posix/regex_internal.h (__attribute): Remove.
8231 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8232 (re_string_context_at): Likewise.
8233 (bitset_not): Use __attribute__ and mark function as possibly
8234 unused.
8235 (bitset_merge): Likewise.
8236 (bitset_mask): Likewise.
8237 (re_string_char_size_at): Likewise.
8238 (re_string_wchar_at): Likewise.
8239 (re_string_elem_size_at): Likewise.
8240
60f5a8b5
SP
82412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
2a983a2e
SP
8243 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8244 code.
8245 (cc32): Likewise.
8246
e69804d1
SP
8247 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8248 (__acr): Likewise.
8249 (__cpy): Likewise.
8250 (norm): Likewise.
8251 (denorm): Likewise.
8252 (__dbl_mp): Likewise.
8253 (add_magnitudes): Likewise.
8254 (sub_magnitudes): Likewise.
8255 (__mul): Likewise.
8256 (__inv): Likewise.
8257
2f22a1e8
SP
8258 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8259 style.
8260
8930ddc7
SP
8261 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8262 style.
8263
dc60cb11
SP
8264 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8265 code.
8266
60f5a8b5
SP
8267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8268 up changes with default code.
8269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8270 Likewise.
8271
b4d1fd33
AM
82722013-02-24 Allan McRae <allan@archlinux.org>
8273
faf6f8bc
AM
8274 * manual/socket.texi (The Internet Namespace): Order menu items
8275 to match that in the file.
8276
b4d1fd33
AM
8277 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8278 node listing of the info page menu.
8279
2366713d
JM
82802013-02-21 Joseph Myers <joseph@codesourcery.com>
8281
8282 [BZ #13550]
8283 * sysdeps/i386/bp-asm.h: Remove file.
8284 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8285 (PARMS): Do not use macros from bp-asm.h.
8286 (S1): Likewise.
8287 (S2): Likewise.
8288 (SIZE): Likewise.
8289 (__mpn_add_n): Do not use BP_SYM
8290 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8291 "bp-asm.h".
8292 (PARMS): Do not use macros from bp-asm.h.
8293 (S1): Likewise.
8294 (SIZE): Likewise.
8295 (__mpn_addmul_1): Do not use BP_SYM
8296 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8297 "bp-asm.h".
8298 (PARMS): Do not use macros from bp-asm.h.
8299 (SIGMSK): Likewise.
8300 (_setjmp): Likewise. Do not use BP_SYM.
8301 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8302 "bp-asm.h".
8303 (PARMS): Do not use macros from bp-asm.h.
8304 (SIGMSK): Likewise.
8305 (setjmp): Likewise. Do not use BP_SYM.
8306 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8307 "bp-asm.h".
8308 (PARMS): Do not use macros from bp-asm.h.
8309 (__frexp): Do not use BP_SYM.
8310 (frexp): Likewise.
8311 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8312 "bp-asm.h".
8313 (PARMS): Do not use macros from bp-asm.h.
8314 (__frexpf): Do not use BP_SYM.
8315 (frexpf): Likewise.
8316 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8317 "bp-asm.h".
8318 (PARMS): Do not use macros from bp-asm.h.
8319 (__frexpl): Do not use BP_SYM.
8320 (frexpl): Likewise.
8321 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8322 "bp-asm.h".
8323 (PARMS): Do not use macros from bp-asm.h.
8324 (__remquo): Do not use BP_SYM.
8325 (remquo): Likewise.
8326 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8327 "bp-asm.h".
8328 (PARMS): Do not use macros from bp-asm.h.
8329 (__remquof): Do not use BP_SYM.
8330 (remquof): Likewise.
8331 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8332 "bp-asm.h".
8333 (PARMS): Do not use macros from bp-asm.h.
8334 (__remquol): Do not use BP_SYM.
8335 (remquol): Likewise.
8336 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8337 "bp-asm.h".
8338 (PARMS): Do not use macros from bp-asm.h.
8339 (DEST): Likewise.
8340 (SRC): Likewise.
8341 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8342 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8343 "bp-asm.h".
8344 (PARMS): Do not use macros from bp-asm.h.
8345 (strlen): Do not use BP_SYM.
8346 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8347 "bp-asm.h".
8348 (PARMS): Do not use macros from bp-asm.h.
8349 (S1): Likewise.
8350 (S2): Likewise.
8351 (SIZE): Likewise.
8352 (__mpn_add_n): Do not use BP_SYM.
8353 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8354 "bp-asm.h".
8355 (PARMS): Do not use macros from bp-asm.h.
8356 (S1): Likewise.
8357 (SIZE): Likewise.
8358 (__mpn_addmul_1): Do not use BP_SYM.
8359 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8360 weak_alias.
8361 (bzero): Likewise.
8362 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8363 "bp-asm.h".
8364 (PARMS): Do not use macros from bp-asm.h.
8365 (S): Likewise.
8366 (SIZE): Likewise.
8367 (__mpn_lshift): Do not use BP_SYM.
8368 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8369 "bp-asm.h".
8370 (PARMS): Do not use macros from bp-asm.h.
8371 (DEST): Likewise.
8372 (SRC): Likewise.
8373 (LEN): Likewise.
8374 (memcpy): Likewise. Do not use BP_SYM.
8375 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8376 libc_hidden_def and weak_alias.
8377 (mempcpy): Do not use BP_SYM in weak_alias.
8378 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8379 "bp-asm.h".
8380 (PARMS): Do not use macros from bp-asm.h.
8381 (DEST): Likewise.
8382 (LEN): Likewise.
8383 [!BZERO_P] (CHR): Likewise.
8384 (memset): Likewise. Do not use BP_SYM.
8385 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8386 "bp-asm.h".
8387 (PARMS): Do not use macros from bp-asm.h.
8388 (S1): Likewise.
8389 (SIZE): Likewise.
8390 (__mpn_mul_1): Do not use BP_SYM.
8391 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8392 "bp-asm.h".
8393 (PARMS): Do not use macros from bp-asm.h.
8394 (S): Likewise.
8395 (SIZE): Likewise.
8396 (__mpn_rshift): Do not use BP_SYM.
8397 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8398 "bp-asm.h".
8399 (PARMS): Do not use macros from bp-asm.h.
8400 (STR): Likewise.
8401 (CHR): Likewise.
8402 (strchr): Likewise. Do not use BP_SYM.
8403 (index): Do not use BP_SYM in weak_alias.
8404 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8405 "bp-asm.h".
8406 (PARMS): Do not use macros from bp-asm.h.
8407 (DEST): Likewise.
8408 (SRC): Likewise.
8409 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8410 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8411 "bp-asm.h".
8412 (PARMS): Do not use macros from bp-asm.h.
8413 (strlen): Do not use BP_SYM.
8414 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8415 "bp-asm.h".
8416 (PARMS): Do not use macros from bp-asm.h.
8417 (S1): Likewise.
8418 (S2): Likewise.
8419 (SIZE): Likewise.
8420 (__mpn_sub_n): Do not use BP_SYM.
8421 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8422 "bp-asm.h".
8423 (PARMS): Do not use macros from bp-asm.h.
8424 (S1): Likewise.
8425 (SIZE): Likewise.
8426 (__mpn_submul_1): Do not use BP_SYM.
8427 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8428 "bp-asm.h".
8429 (PARMS): Do not use macros from bp-asm.h.
8430 (S1): Likewise.
8431 (S2): Likewise.
8432 (SIZE): Likewise.
8433 (__mpn_add_n): Do not use BP_SYM.
8434 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8435 weak_alias.
8436 (bzero): Likewise.
8437 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8438 "bp-asm.h".
8439 (PARMS): Do not use macros from bp-asm.h.
8440 (BLK2): Likewise.
8441 (LEN): Likewise.
8442 (memcmp): Do not use BP_SYM.
8443 (bcmp): Do not use BP_SYM in weak_alias.
8444 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8445 "bp-asm.h".
8446 (PARMS): Do not use macros from bp-asm.h.
8447 (DEST): Likewise.
8448 (SRC): Likewise.
8449 (LEN): Likewise.
8450 (memcpy): Likewise. Do not use BP_SYM.
8451 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8452 "bp-asm.h".
8453 (PARMS): Do not use macros from bp-asm.h.
8454 (DEST): Likewise.
8455 (SRC): Likewise.
8456 (LEN): Likewise.
8457 (memmove): Likewise. Do not use BP_SYM.
8458 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8459 "bp-asm.h".
8460 (PARMS): Do not use macros from bp-asm.h.
8461 (DEST): Likewise.
8462 (SRC): Likewise.
8463 (LEN): Likewise.
8464 (__mempcpy): Likewise. Do not use BP_SYM.
8465 (mempcpy): Do not use BP_SYM in weak_alias.
8466 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8467 "bp-asm.h".
8468 (PARMS): Do not use macros from bp-asm.h.
8469 (DEST): Likewise.
8470 (LEN): Likewise.
8471 [!BZERO_P] (CHR): Likewise.
8472 (memset): Likewise. Do not use BP_SYM.
8473 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8474 "bp-asm.h".
8475 (PARMS): Do not use macros from bp-asm.h.
8476 (STR2): Likewise.
8477 (strcmp): Do not use BP_SYM.
8478 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8479 "bp-asm.h".
8480 (PARMS): Do not use macros from bp-asm.h.
8481 (STR): Likewise.
8482 (DELIM): Likewise.
8483 [USE_AS_STRTOK_R] (SAVE): Likewise.
8484 (FUNCTION): Likewise. Do not use BP_SYM.
8485 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8486 aliases.
8487 (strtok_r): Likewise.
8488 (__GI___strtok_r): Likewise.
8489 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8490 (PARMS): Do not use macros from bp-asm.h.
8491 (S): Likewise.
8492 (SIZE): Likewise.
8493 (__mpn_lshift): Do not use BP_SYM.
8494 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8495 (PARMS): Do not use macros from bp-asm.h.
8496 (STR): Likewise.
8497 (CHR): Likewise.
8498 (__memchr): Do not use BP_SYM.
8499 (memchr): Do not use BP_SYM in weak_alias.
8500 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8501 (PARMS): Do not use macros from bp-asm.h.
8502 (BLK2): Likewise.
8503 (LEN): Likewise.
8504 (memcmp): Do not use BP_SYM.
8505 (bcmp): Do not use BP_SYM in weak_alias.
8506 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8507 (PARMS): Do not use macros from bp-asm.h.
8508 (S1): Likewise.
8509 (SIZE): Likewise.
8510 (__mpn_mul_1): Do not use BP_SYM.
8511 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8512 "bp-asm.h".
8513 (PARMS): Do not use macros from bp-asm.h.
8514 (STR): Likewise.
8515 (CHR): Likewise.
8516 (__rawmemchr): Do not use BP_SYM.
8517 (rawmemchr): Do not use BP_SYM in weak_alias.
8518 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8519 (PARMS): Do not use macros from bp-asm.h.
8520 (S): Likewise.
8521 (SIZE): Likewise.
8522 (__mpn_rshift): Do not use BP_SYM.
8523 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8524 (PARMS): Do not use macros from bp-asm.h.
8525 (SIGMSK): Likewise.
8526 (__sigsetjmp): Likewise. Do not use BP_SYM.
8527 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8528 (_start): Do not use BP_SYM.
8529 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8530 (PARMS): Do not use macros from bp-asm.h.
8531 (DEST): Likewise.
8532 (SRC): Likewise.
8533 (__stpcpy): Likewise. Do not use BP_SYM.
8534 (stpcpy): Do not use BP_SYM in weak_alias.
8535 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8536 "bp-asm.h".
8537 (PARMS): Do not use macros from bp-asm.h.
8538 (DEST): Likewise.
8539 (SRC): Likewise.
8540 (LEN): Likewise.
8541 (__stpncpy): Likewise. Do not use BP_SYM.
8542 (stpncpy): Do not use BP_SYM in weak_alias.
8543 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8544 (PARMS): Do not use macros from bp-asm.h.
8545 (STR): Likewise.
8546 (CHR): Likewise.
8547 (strchr): Likewise. Do not use BP_SYM.
8548 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8549 "bp-asm.h".
8550 (PARMS): Do not use macros from bp-asm.h.
8551 (STR): Likewise.
8552 (CHR): Likewise.
8553 (__strchrnul): Likewise. Do not use BP_SYM.
8554 (strchrnul): Do not use BP_SYM in weak_alias.
8555 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8556 "bp-asm.h".
8557 (PARMS): Do not use macros from bp-asm.h.
8558 (STOP): Likewise.
8559 (strcspn): Do not use BP_SYM.
8560 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8561 "bp-asm.h".
8562 (PARMS): Do not use macros from bp-asm.h.
8563 (STR): Likewise.
8564 (STOP): Likewise.
8565 (strpbrk): Likewise. Do not use BP_SYM.
8566 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8567 "bp-asm.h".
8568 (PARMS): Do not use macros from bp-asm.h.
8569 (STR): Likewise.
8570 (CHR): Likewise.
8571 (strrchr): Likewise. Do not use BP_SYM.
8572 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8573 (PARMS): Do not use macros from bp-asm.h.
8574 (SKIP): Likewise.
8575 (strspn): Do not use BP_SYM.
8576 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8577 (PARMS): Do not use macros from bp-asm.h.
8578 (STR): Likewise.
8579 (DELIM): Likewise.
8580 (SAVE): Likewise.
8581 (FUNCTION): Likewise. Do not use BP_SYM.
8582 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8583 aliases.
8584 (strtok_r): Likewise.
8585 (__GI___strtok_r): Likewise.
8586 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8587 (PARMS): Do not use macros from bp-asm.h.
8588 (S1): Likewise.
8589 (S2): Likewise.
8590 (SIZE): Likewise.
8591 (__mpn_sub_n): Do not use BP_SYM.
8592 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8593 "bp-asm.h".
8594 (PARMS): Do not use macros from bp-asm.h.
8595 (S1): Likewise.
8596 (SIZE): Likewise.
8597 (__mpn_submul_1): Do not use BP_SYM.
8598 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8599 <bp-sym.h>.
8600 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8601 and <bp-asm.h>.
8602 (PARMS): Do not use macros from bp-asm.h.
8603 (FLAGS): Likewise.
8604 (PTID): Likewise.
8605 (TLS): Likewise.
8606 (CTID): Likewise.
8607 (__clone): Do not use BP_SYM.
8608 (clone): Do not use BP_SYM in weak_alias.
8609 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8610 and <bp-asm.h>.
8611 (PARMS): Do not use macros from bp-asm.h.
8612 (LEN): Likewise.
8613 (__mmap64): Do not use BP_SYM.
8614 (mmap64): Do not use BP_SYM in weak_alias.
8615 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8616 <bp-sym.h> and <bp-asm.h>.
8617 (PARMS): Do not use macros from bp-asm.h.
8618 (__posix_fadvise64_l64): Do not use BP_SYM.
8619 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8620 (PARMS): Do not use macros from bp-asm.h.
8621 (NSOPS): Likewise.
8622 (semtimedop): Do not use BP_SYM.
8623 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8624 and <bp-asm.h>.
8625
582a3cff
AM
86262013-02-21 Allan McRae <allan@archlinux.org>
8627
8628 * manual/message.texi (Charset conversion in gettext):
8629 Move @end statement to beginning of line.
8630
bab8a695
SP
86312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
80945231
SP
8633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8634 static.
8635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8636 Likewise.
8637
bab8a695
SP
8638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8639 (denorm): Likewise.
8640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8642
e21d7aa7
AK
86432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8644
8645 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8646 tail-call to the resolved function if pltexit isn't needed.
8647
4c7a4263
SP
86482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8651 or Y being zero as being unlikely.
8652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8653 Likewise.
8654
41f49342
CD
86552013-02-20 Carlos O'Donell <carlos@redhat.com>
8656
8657 * manual/nss.texi (System Databases and Name Service Switch):
8658 Remove frobnicate @pxref.
8659
50022a93
TS
86602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8661
8662 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8663 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8664
08cbd996
PM
86652013-02-20 Petr Machata <pmachata@redhat.com>
8666
8667 * elf/elf.h (R_ARM_TARGET1): New macro.
8668 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8669 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8670 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8671 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8672 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8673 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8674 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8675 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8676 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8677 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8678 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8679 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8680 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8681 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8682 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8683 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8684 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8685 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8686 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8687 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8688 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8689 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8690 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8691 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8692 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8693 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8694 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8695 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8696 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8697 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8698 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8699 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8700 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8701 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8702 (R_ARM_THM_GOT_BREL12): Likewise.
8703 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8704 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8705 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8706 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8707 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8708 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8709 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8710 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8711 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8712
c7b275d6
TS
87132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8714
8715 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8716 __attribute_used__ to __attribute__ ((unused)).
8717
20cd7fb3
SP
87182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8719
8720 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8721 powerpc mpa.c.
8722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8723 comment formatting.
8724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8725
92945b52
JM
87262013-02-19 Joseph Myers <joseph@codesourcery.com>
8727
8728 [BZ #13550]
8729 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8730 Remove macro.
8731 (ENTER): Remove both macro definitions.
8732 (LEAVE): Likewise.
8733 (CHECK_BOUNDS_LOW): Likewise.
8734 (CHECK_BOUNDS_HIGH): Likewise.
8735 (CHECK_BOUNDS_BOTH): Likewise.
8736 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8737 (RETURN_BOUNDED_POINTER): Likewise.
8738 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8739 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8740 (POP_ERRNO_LOCATION_RETURN): Likewise.
8741 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8742 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8743 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8744 macros.
8745 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8746 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8747 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8748 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8749 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8750 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8751 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8752 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8753 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8754 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8755 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8756 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8757 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8758 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8759 removed macros.
8760 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8761 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8762 macros.
8763 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8764 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8765 * sysdeps/i386/i586/memset.S (memset): Likewise.
8766 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8767 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8768 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8769 macros.
8770 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8771 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8772 Change uses of L(2) to L(out).
8773 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8774 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8775 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8776 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8777 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8778 removed macros.
8779 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8780 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8781 macros.
8782 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8783 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8784 (RETURN): Do not use macro LEAVE.
8785 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8786 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8787 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8788 * sysdeps/i386/i686/memset.S (memset): Likewise.
8789 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8790 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8791 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8792 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8793 Likewise.
8794 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8795 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8796 L(1_2) and L(1_3) into L(1).
8797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8798 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8800 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8801 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8802 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8803 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8804 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8805 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8806 macros.
8807 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8808 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8809 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8810 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8811 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8812 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8813 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8814 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8815 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8816 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8817 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8818 * sysdeps/i386/strspn.S (strspn): Likewise.
8819 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8820 conditional code.
8821 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8822 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8823 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8824 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8825 L(1_3) into L(1_1).
8826 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8828 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8829 macros.
8830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8831
2389741a
JJ
88322013-02-19 Jakub Jelinek <jakub@redhat.com>
8833
8834 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8835 macro.
8836
2016b3cd
SP
88372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
e4f22324
SP
8839 * math/atest-exp.c (exp_mpn): Remove ROUND.
8840 * math/atest-exp2.c (exp_mpn): Likewise.
8841 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8842
2016b3cd
SP
8843 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8844 * stdlib/tst-tls-atexit-lib.c: Likewise.
8845 * stdlib/tst-tls-atexit.c: Likewise.
8846
4be9b544
MF
88472013-02-18 Mike Frysinger <vapier@gentoo.org>
8848
8849 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8850 and __attribute_alloc_size__.
8851
2f62b9ee
MF
88522013-02-18 Mike Frysinger <vapier@gentoo.org>
8853
8854 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8855 __attribute_alloc_size__.
8856 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8857 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8858
6ff444c4
MF
88592013-02-18 Mike Frysinger <vapier@gentoo.org>
8860
8861 * include/programs/xmalloc.h: New file.
8862 * catgets/gencat.c: Include it.
8863 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8864 * elf/pldd.c: Likewise.
8865 * iconv/iconv_charmap.c: Likewise.
8866 * iconv/iconvconfig.c: Likewise.
8867 * iconv/strtab.c: Likewise.
8868 * locale/programs/locale.c: Likewise.
8869 * locale/programs/localedef.h: Likewise.
8870 * locale/programs/simple-hash.c: Likewise.
8871 * nscd/nscd.h: Likewise.
8872 * nss/makedb.c: Likewise.
8873 * sysdeps/generic/ldconfig.h: Likewise.
8874
be179c8a
SP
88752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8876
ba384f6e
SP
8877 * Versions.def: Add GLIBC_2.18.
8878 * include/link.h (struct link_map): New member l_tls_dtor_count.
8879 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8880 (__call_tls_dtors): Likewise.
8881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8882 __cxa_thread_atexit_impl.
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8884 Likewise.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8886 Likewise.
8887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8888 Likewise.
8889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8890 Likewise.
8891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8893 Likewise.
8894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8895 Likewise.
8896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8898 Likewise.
8899 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8900 (tests): Add test case tst-tls-atexit.
8901 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8902 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8903 (GLIBC_PRIVATE): Add __call_tls_dtors.
8904 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8905 for libstdc++.
8906 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8907 * stdlib/tst-tls-atexit.c: New test case.
8908 * stdlib/tst-tls-atexit-lib.c: New test case.
8909
ffaa74cf 8910 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8911
be179c8a
SP
8912 * elf/Versions (ld): Add _dl_find_dso_for_object.
8913 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8914 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8915 (dl_open_worker): Use _dl_find_dso_for_object.
8916 * elf/dl-sym.c (do_sym): Likewise.
8917 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8918
f78b5caa
AK
89192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8920
8921 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8922 Syntactic changes only.
8923 (_dl_runtime_profile): Do a tail-call to the resolved function.
8924
29691210
JM
89252013-02-17 Joseph Myers <joseph@codesourcery.com>
8926
8927 [BZ #13550]
8928 * sysdeps/x86_64/bp-asm.h: Remove file.
8929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8930 <bp-sym.h> and <bp-asm.h>.
8931 (__clone): Do not use BP_SYM.
8932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8933 <bp-sym.h> and <bp-asm.h>.
8934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8935 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8936 "bp-asm.h".
8937 (_setjmp): Do not use BP_SYM.
8938 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8939 "bp-asm.h".
8940 (setjmp): Do not use BP_SYM.
8941 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8942 libc_hidden_def.
8943 (mempcpy): Do not use BP_SYM in weak_alias.
8944 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8945 "bp-asm.h".
8946 (strchr): Do not use BP_SYM.
8947 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8948 "bp-asm.h".
8949 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8950 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8951 (_start): Do not use BP_SYM.
8952 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8953 "bp-asm.h".
8954 (strcat): Do not use BP_SYM.
8955 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8956 "bp-asm.h".
8957 (STRCMP): Do not use BP_SYM.
8958 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8959 "bp-asm.h".
8960 (STRCPY): Do not use BP_SYM.
8961 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8962 "bp-asm.h".
8963 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8964 "bp-asm.h".
8965 (FUNCTION): Do not use BP_SYM.
8966 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8967 weak_alias.
8968 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8969
f238fd19
AJ
89702013-02-17 Andreas Jaeger <aj@suse.de>
8971
8972 * time/Versions: Sort entries.
8973 * string/Versions: Likewise.
8974 * resolv/Versions: Likewise.
8975 * posix/Versions: Likewise.
8976 * iconv/Versions: Likewise.
8977 * elf/Versions: Likewise.
8978 * wcsmbs/Versions: Likewise.
8979
bd07f23c 89802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8981
22af19f9
SP
8982 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8983 loop termination condition.
8984
4709fe76
SP
8985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8986 variable to calculate EZ.
8987 (__sqr): Likewise.
2d0e0f29
SP
8988
8989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8990 the lower precision input.
8991
daaa7713
JM
89922013-02-15 Joseph Myers <joseph@codesourcery.com>
8993
8994 [BZ #13550]
8995 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8996 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8997 (run-via-rtld-prefix): Do not handle %-bp tests.
8998 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8999 (all-object-suffixes): Remove .ob.
9000 (bppfx): Remove variable.
9001 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9002 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9003 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9004 [$(build-bounded) = yes] (libtype.ob): Likewise.
9005 * Makerules (elide-routines.ob): Remove variable.
9006 (do-tests-clean): Do not handle *-bp.out.
9007 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9008 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9009 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9010 (tests): Do not include $(tests-bp.out).
9011 (xtests): Do not include $(xtests-bp.out).
9012 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9013 [$(build-bounded) = yes] ($(addprefix
9014 $(objpfx),$(binaries-bounded))): Remove rule.
9015 ($(objpfx)%-bp.out): Remove rule.
9016 * config.make.in (build-bounded): Remove variable.
9017 * crypt/Makefile [$(build-bounded) = yes]
9018 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9019 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9020 append to variable.
9021 [$(build-bounded) = yes] (install-lib): Likewise.
9022 [$(build-bounded) = yes] (generated): Likewise.
9023 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9024 Remove rule.
9025 * intl/Makefile [$(build-bounded) = yes]
9026 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9027 * math/Makefile [$(build-bounded) = yes]
9028 ($(tests:%=$(objpfx)%-bp): Likewise.
9029 * misc/Makefile [$(build-bounded) = yes]
9030 ($(objpfx)tst-tsearch-bp): Likewise.
9031 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9032 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9033 Remove dependency.
9034 * string/Makefile (o-objects.ob): Remove variable.
9035 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9036 (CFLAGS-.ob): Remove variable.
9037 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9039 both definitions of variable.
9040 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9041 (ASFLAGS-.ob): Remove variable.
9042
e97ed6dd
JM
90432013-02-14 Joseph Myers <joseph@codesourcery.com>
9044
2bdd4ca6
JM
9045 [BZ #13550]
9046 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9047 Remove __BOUNDED_POINTERS__ from condition.
9048 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9049 * string/bits/string2.h [!__NO_STRING_INLINES &&
9050 !__BOUNDED_POINTERS__]: Likewise.
9051 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9052 Likewise.
9053 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9054 Remove conditional code.
9055 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9056 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9057 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9058 condition.
9059
e97ed6dd
JM
9060 [BZ #13550]
9061 * csu/libc-start.c: Do not include <bp-sym.h>.
9062 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9063 * elf/dl-open.c: Do not include <bp-sym.h>.
9064 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9065 * math/fegetenv.c: Do not include <bp-sym.h>.
9066 (fegetenv): Do not use BP_SYM in versioned symbols.
9067 * nptl/sysdeps/pthread/bits/libc-lockP.h
9068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9069 <bp-sym.h>.
9070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9071 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9073 (__pthread_mutex_destroy): Likewise.
9074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9075 (__pthread_mutex_lock): Likewise.
9076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9077 (__pthread_mutex_trylock): Likewise.
9078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9079 (__pthread_mutex_unlock): Likewise.
9080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9081 (__pthread_mutexattr_init): Likewise.
9082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9083 (__pthread_mutexattr_destroy): Likewise.
9084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9085 (__pthread_mutexattr_settype): Likewise.
9086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9087 (__pthread_rwlock_init): Likewise.
9088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9089 (__pthread_rwlock_destroy): Likewise.
9090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9091 (__pthread_rwlock_rdlock): Likewise.
9092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9093 (__pthread_rwlock_tryrdlock): Likewise.
9094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9095 (__pthread_rwlock_wrlock): Likewise.
9096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9097 (__pthread_rwlock_trywrlock): Likewise.
9098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9099 (__pthread_rwlock_unlock): Likewise.
9100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9101 (__pthread_key_create): Likewise.
9102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9103 (__pthread_setspecific): Likewise.
9104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9105 (__pthread_getspecific): Likewise.
9106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9107 Likewise.
9108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9109 (_pthread_cleanup_push_defer): Likewise.
9110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9111 (_pthread_cleanup_pop_restore): Likewise.
9112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9113 (pthread_setcancelstate): Likewise.
9114 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9115 <bp-sym.h>.
9116 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9117 (memchr): Do not use BP_SYM in weak_alias.
9118 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9119 (fegetenv): Do not use BP_SYM in versioned symbols.
9120 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9121 (fesetenv): Do not use BP_SYM in versioned symbols.
9122 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9123 (feupdateenv): Do not use BP_SYM in versioned symbols.
9124 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9125 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9126 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9127 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9128 (open64): Do not use BP_SYM in weak_alias.
9129 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9130 (fegetenv): Do not use BP_SYM in versioned symbols.
9131 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9132 (fesetenv): Do not use BP_SYM in versioned symbols.
9133 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9134 (feupdateenv): Do not use BP_SYM in versioned symbols.
9135 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9136 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9137 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9138 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9139 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9140 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9141 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9142 <bp-sym.h>.
9143 (__libc_start_main): Do not use BP_SYM.
9144
d6752ccd
SP
91452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9146
cb57ce60
SP
9147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9148 redundant return line.
9149 (norm): Likewise.
9150 (denorm): Likewise.
9151 (dbl_mp): Likewise.
9152 (sub_magnitudes): Likewise.
9153 (__add): Likewise.
9154 (__sub): Likewise.
9155 (__mul): Likewise.
9156 (__inv): Likewise.
9157 (__dvd): Likewise.
9158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9159 (norm): Likewise.
9160 (denorm): Likewise.
9161 (dbl_mp): Likewise.
9162 (sub_magnitudes): Likewise.
9163 (__add): Likewise.
9164 (__sub): Likewise.
9165 (__mul): Likewise.
9166 (__inv): Likewise.
9167 (__dvd): Likewise.
9168
f414520d
SP
9169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9170 instead of __mul.
9171 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9172 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9173 (cc32): Likewise.
9174
d6752ccd
SP
9175 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9176 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9178 of __mul for squares.
9179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9180 function
9181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9182 Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9184 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9185
70d9946a
JM
91862013-02-13 Joseph Myers <joseph@codesourcery.com>
9187
9188 [BZ #13550]
9189 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9190 code.
9191 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9192 prototype or function definition. Rename ubp_* variables and
9193 parameters. Remove argv definitions conditional on
9194 [__BOUNDED_POINTERS__].
9195 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9196 * elf/dl-runtime.c (_dl_fixup): Likewise.
9197 * include/set-hooks.h (RUN_HOOK): Likewise.
9198 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9199 definition.
9200 * string/strcpy.c (strcpy): Do not use __unbounded.
9201 * sysdeps/generic/frame.h (struct layout): Likewise.
9202 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9203 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9204 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9205 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9206 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9207 (__backtrace): Likewise.
9208 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9209 use __ptrvalue.
9210 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9212 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9213 Likewise.
9214 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9215 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9216 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9217 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9218 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9219 Do not use __unbounded.
9220 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9221 Rename __unboundedrlimits parameter to rlimits in prototype.
9222 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9223 Do not use __unbounded.
9224 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9225 not use __ptrvalue.
9226 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9227 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9228 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9229 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9230 __ptrvalue or __unbounded.
9231 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9232 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9233 use __unbounded.
9234 (__new_msgctl): Do not use __ptrvalue.
9235 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9236 __unbounded.
9237 (__libc_msgrcv): Do not use __ptrvalue.
9238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9239 startup_info): Do not use __unbounded.
9240 (__libc_start_main): Likewise. Rename ubp_* variables and
9241 parameters. Remove argv definitions conditional on
9242 [__BOUNDED_POINTERS__].
9243 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9244 __ptrvalue.
9245 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9246 use __unbounded.
9247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9248 or __ptrvalue.
9249 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9250 use __unbounded.
9251 (__new_shmctl): Do not use __ptrvalue.
9252 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9253 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9254 Likewise.
9255 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9256 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9257 (__libc_sigaction): Likewise.
9258 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9260 Likewise.
9261 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9262
cc7834d6
OB
92632013-02-13 Ondřej Bílka <neleai@seznam.cz>
9264
ffb1ec7b 9265 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9266
9267 * string/mempcpy.c: Implement by calling memcpy.
9268
bdf02814
SP
92692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9270
c2af38aa
SP
9271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9272
4e92d59e
SP
9273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9274 evaluation.
9275
909279a5
SP
9276 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9277 values in the mantissa.
9278
bdf02814
SP
9279 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9280 minimize writes to Z.
9281 (sub_magnitudes): Simplify code a bit.
9282
cd525923
RM
92832013-02-12 Roland McGrath <roland@hack.frob.com>
9284
9285 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9286 from the message. The linker prefixes all warnings with that already.
9287
7e2f0d2d
AS
92882013-02-12 Andreas Schwab <schwab@suse.de>
9289
a445af0b
AS
9290 [BZ #15078]
9291 * posix/regexec.c (extend_buffers): Add parameter min_len.
9292 (check_matching): Pass minimum needed length.
9293 (clean_state_log_if_needed): Likewise.
9294 (get_subexp): Likewise.
9295 * posix/Makefile (tests): Add bug-regex34.
9296 (bug-regex34-ENV): Define.
9297 * posix/bug-regex34.c: New file.
9298
7e2f0d2d
AS
9299 [BZ #11561]
9300 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9301 elements compare against the byte sequence of it, not its name.
9302 * posix/Makefile (tests): Add bug-regex35.
9303 (bug-regex35-ENV): Define.
9304 * posix/bug-regex35.c: New file.
9305
a175b684
TV
93062013-02-11 Tom de Vries <tom@codesourcery.com>
9307
9308 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9309 comment.
9310 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9311 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9312 (CHECK_EOL): Add undef.
9313
310998fe 93142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9315
9316 * bits/stdlib-bsearch.h: New file.
9317 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9318 * stdlib/stdlib.h: Likewise.
41eda41d 9319
8ded91fb
RM
93202013-02-11 Roland McGrath <roland@hack.frob.com>
9321
9322 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9323 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9324 declaration.
9325 * manual/search.texi (Array Search Function): Add missing const in
9326 lfind prototype.
9327 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9328 declaration to use rlim_t.
9329 (Basic Scheduling Functions): Remove erroneous const from
9330 sched_getparam prototype. Remove erroneous * from
9331 sched_get_priority_max and sched_get_priority_min prototypes.
9332 (Resource Usage): Fix summary @comment on vtimes to refer to
9333 sys/vtimes.h rather than vtimes.h.
9334 Add missing *s in vtimes prototype.
9335 (Limits on Resources): Fix ulimit prototype to return long int.
9336 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9337 prototypes to use long int rather than double.
9338 (BSD Random): Fix initstate and setstate to use char *, not void *.
9339 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9340 prototype to make second argument 'struct aiocb64 *const[]'.
9341 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9342 (Status of AIO Operations): Remove erroneous const in aio_return and
9343 aio_return64 prototypes.
9344 (Synchronizing I/O): Fix sync prototype to return void.
9345 * manual/startup.texi (Suboptions): Remove an erroneous const in
9346 getsubopt prototype.
9347 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9348 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9349 use size_t rather than int.
9350 (Scanning All Users): Likewise for getpwent_r.
9351 (Setting Groups): Add missing const to setgroups prototype.
9352 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9353 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9354 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9355 'const void *' rather than 'const char *'.
9356 (Host Address Functions): Likewise for inet_ntop.
9357 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9358 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9359 ssize_t for return value.
9360 (Sending Data): Likewise for send, sendto, sendmsg.
9361 (Socket Option Functions): Add a missing const in setsockopt prototype.
9362 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9363 use wchar_t for the argument.
9364 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9365 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9366 take no arguments.
9367 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9368 double/float/long double for second argument.
9369 Fix return types of significand, significandf, significandl.
9370 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9371 argument in fchmod prototype.
9372 (File Owner): Use uid_t and gid_t in fchown prototype.
9373 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9374 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9375 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9376 use 'const struct dirent **' as argument types to CMP function pointer
9377 argument.
9378 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9379 (File Times): Fix summary magic @comment for struct utimbuf and utime
9380 to refer to utime.h, not time.h.
9381 * manual/string.texi (Argz Functions): Add missing const in
9382 argz_extract and argz_next prototypes.
9383 (Finding Tokens in a String): Likewise for basename.
9384 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9385 (Copying and Concatenation): Fix typo in wmemmove prototype.
9386 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9387 (Signal Stack): Remove erroneous const in sigstack prototype.
9388 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9389 prototype.
9390 (Simple Calendar Time): Likewise for stime.
9391 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9392 prototype.
9393 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9394 say sys/sysctl.h instead.
9395 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9396 and vsyslog prototypes.
9397
fe77fe6d
TV
93982013-02-11 Tom de Vries <tom@codesourcery.com>
9399
9400 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9401 Remove.
9402
3a09b620
RM
94032013-02-11 Roland McGrath <roland@hack.frob.com>
9404
9405 * misc/sys/mman.h: Fix typo in mremap comment.
9406
550a0b89
RM
94072013-02-08 Roland McGrath <roland@hack.frob.com>
9408
9409 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9410 the '\0' terminator.
9411
a2da1673
JM
94122013-02-08 Joseph Myers <joseph@codesourcery.com>
9413
9414 [BZ #13550]
9415 * debug/segfault.c: Don't include <bp-checks.h>.
9416 * sysdeps/generic/bp-checks.h: Remove file.
9417 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9418 (__GETDENTS): Don't use CHECK_N.
9419 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9420 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9421 (__getgroups): Don't use CHECK_N.
9422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9423 (setgroups): Don't use CHECK_N.
9424 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9425 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9426 (__libc_msgrcv): Don't use CHECK_N.
9427 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9428 (__libc_msgsnd): Don't use CHECK_N.
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9430 <bp-checks.h>.
9431 (__libc_pread): Don't use CHECK_N.
9432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9433 include <bp-checks.h>.
9434 (__libc_pread64): Don't use CHECK_N.
9435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9436 include <bp-checks.h>.
9437 (__libc_pwrite): Don't use CHECK_N.
9438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9439 include <bp-checks.h>.
9440 (__libc_pwrite64): Don't use CHECK_N.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9442 <bp-checks.h>.
9443 (__libc_pread): Don't use CHECK_N.
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9445 include <bp-checks.h>.
9446 (__libc_pread64): Don't use CHECK_N.
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9448 include <bp-checks.h>.
9449 (__libc_pwrite): Don't use CHECK_N.
9450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9451 include <bp-checks.h>.
9452 (__libc_pwrite64): Don't use CHECK_N.
9453 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9454 (do_pread): Don't use CHECK_N.
9455 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9456 (do_pread64): Don't use CHECK_N.
9457 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9458 (do_pwrite): Don't use CHECK_N.
9459 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9460 (do_pwrite64): Don't use CHECK_N.
9461 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9462 (__libc_readv): Don't use CHECK_N.
9463 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9464 (semop): Don't use CHECK_N.
9465 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9466 <bp-checks.h>.
9467 (semtimedop): Don't use CHECK_N.
9468 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9469 (__libc_pread): Don't use CHECK_N.
9470 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9471 <bp-checks.h>.
9472 (__libc_pread64): Don't use CHECK_N.
9473 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9474 <bp-checks.h>.
9475 (__libc_pwrite): Don't use CHECK_N.
9476 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9477 <bp-checks.h>.
9478 (__libc_pwrite64): Don't use CHECK_N.
9479 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9480 <bp-checks.h>.
9481 (__libc_msgrcv): Don't use CHECK_N.
9482 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9483 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9484 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9485 (__libc_writev): Don't use CHECK_N.
9486
b84660a8
RM
94872013-02-08 Roland McGrath <roland@hack.frob.com>
9488
7f3e75f8
RM
9489 * string/strcpy.c: Removed unused variable.
9490
b84660a8
RM
9491 * Makeconfig (+sysdep-includes): Define with := rather than =.
9492 Use an existing include/ subdir of each sysdeps dir before it.
9493
471514d3
CD
94942013-02-08 Carlos O'Donell <carlos@redhat.com>
9495
9496 * nscd/connection.c (register_traced_file): Comment function.
9497 [HAVE_INOTIFY] (union __inev): Define.
9498 [HAVE_INOTIFY] (inotify_check_files): New function.
9499 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9500 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9501 clear_db_cache.
9502 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9503
b2d3c3be
CD
95042013-02-08 Carlos O'Donell <carlos@redhat.com>
9505
9506 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9507 loaded if not already and that a failure is permanent.
9508
b39949d2
CD
95092013-02-08 Carlos O'Donell <carlos@redhat.com>
9510
ddacd1db 9511 [BZ #15006]
b39949d2
CD
9512 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9513 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9514
b2c9eff4
JM
95152013-02-08 Joseph Myers <joseph@codesourcery.com>
9516
f3aae3f3
JM
9517 [BZ #13550]
9518 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9519 (CHECK_1_NULL_OK): Likewise.
9520 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9521 (__fxstat): Do not use CHECK_1.
9522 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9523 <bp-checks.h>.
9524 (___fxstat64): Do not use CHECK_1.
9525 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9526 <bp-checks.h>.
9527 (__fxstatat): Do not use CHECK_1.
9528 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9529 <bp-checks.h>.
9530 (__fxstatat64): Do not use CHECK_1.
9531 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9532 <bp-checks.h>.
9533 (__fxstat): Do not use CHECK_1.
9534 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9535 <bp-checks.h>.
9536 (__fxstatat): Do not use CHECK_1.
9537 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9538 <bp-checks.h>.
9539 (__getresgid): Do not use CHECK_1.
9540 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9541 <bp-checks.h>.
9542 (__getresuid): Do not use CHECK_1.
9543 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9544 <bp-checks.h>.
9545 (__lxstat): Do not use CHECK_1.
9546 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9547 <bp-checks.h>.
9548 (__old_msgctl): Do not use CHECK_1.
9549 (__new_msgctl): Likewise.
9550 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9551 <bp-checks.h>.
9552 (__new_setrlimit): Do not use CHECK_1.
9553 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9554 <bp-checks.h>.
9555 (__old_shmctl): Do not use CHECK_1.
9556 (__new_shmctl): Likewise.
9557 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9558 <bp-checks.h>.
9559 (__xstat): Do not use CHECK_1.
9560 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9561 (__lxstat): Do not use CHECK_1.
9562 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9563 <bp-checks.h>.
9564 (___lxstat64): Do not use CHECK_1.
9565 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9566 (__old_msgctl): Do not use CHECK_1.
9567 (__new_msgctl): Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9569 <bp-checks.h>.
9570 (__gettimeofday): Do not use CHECK_1.
9571 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9572 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9573 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9574 <bp-checks.h>.
9575 (__gettimeofday): Do not use CHECK_1.
9576 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9577 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9578 (__new_shmctl): Do not use CHECK_1.
9579 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9580 <bp-checks.h>.
9581 (do_sigtimedwait): Do not use CHECK_1.
9582 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9583 <bp-checks.h>.
9584 (do_sigwaitinfo): Do not use CHECK_1.
9585 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9586 <bp-checks.h>.
9587 (msgctl): Do not use CHECK_1.
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9589 <bp-checks.h>.
9590 (shmctl): Do not use CHECK_1.
9591 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9592 (ustat): Do not use CHECK_1.
9593 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9594 <bp-checks.h>.
9595 (__fxstat): Do not use CHECK_1.
9596 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9597 <bp-checks.h>.
9598 (__fxstatat): Do not use CHECK_1.
9599 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9600 <bp-checks.h>.
9601 (__lxstat): Do not use CHECK_1.
9602 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9603 <bp-checks.h>.
9604 (__xstat): Do not use CHECK_1.
9605 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9606 (__xstat): Do not use CHECK_1.
9607 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9608 (___xstat64): Do not use CHECK_1.
9609
b2c9eff4
JM
9610 [BZ #13550]
9611 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9612 definitions.
9613 (CHECK_BOUNDS_HIGH): Likewise.
9614 * string/strcpy.c: Do not include <bp-checks.h>.
9615 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9616
f1d70dad
RM
96172013-02-07 Roland McGrath <roland@hack.frob.com>
9618
9619 * nscd/nscd-client.h (__nscd_drop_map_ref):
9620 Add __attribute__ ((unused)).
9621 * nis/nss-nisplus.h (niserr2nss): Likewise.
9622
9623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9624 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9625
9626 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9627 Remove inline keyword.
9628 * include/rounding-mode.h (round_away): Likewise.
9629 * libio/wfileops.c (adjust_wide_data): Likewise.
9630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9631 (__m128i_strloadu_tolower): Likewise.
9632 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9633 (__m128i_strloadu_tolower): Likewise.
9634 * time/mktime.c (ydhms_diff): Likewise.
9635 * locale/elem-hash.h (elem_hash): Likewise.
9636 * locale/setlocale.c (setdata): Likewise.
9637 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9638 (re_string_wchar_at): Likewise.
9639 (bitset_not, bitset_merge, bitset_mask): Likewise.
9640 [!(__GNUC__ > 3)] (inline): Remove macro.
9641 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9642 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9643 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9644 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9645 * string/memcmp.c (memcmp_bytes): Likewise.
9646 * locale/programs/locarchive.c (compute_hashval): Likewise.
9647 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9648 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9649 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9650 * nss/getent.c (print_rpc, print_protocols): Likewise.
9651 (print_passwd, print_group, print_aliases): Likewise.
9652 * nis/nss-nisplus.h (niserr2nss): Likewise.
9653 * nscd/connections.c (restart_p): Likewise.
9654 Change return type to bool.
9655
eab55bfb
RM
96562013-02-05 Roland McGrath <roland@hack.frob.com>
9657
7bd642f5
RM
9658 * Makeconfig (all-Depend-files): Add existing
9659 $(sorted-subdirs:=/Depend) files.
9660 (all-subdirs): Remove nss.
9661 * sysdeps/unix/inet/Subdirs: Add it here instead.
9662 * hesiod/Depend: New file.
9663
573c29b2
RM
9664 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9665 instead of calling alloca.
9666
b2e25af0
RM
9667 * io/lseek.c (__lseek): Rename to __libc_lseek.
9668 Define __lseek as an alias.
9669
eab55bfb
RM
9670 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9671
9a0d1941
CD
96722013-02-04 Carlos O'Donell <carlos@redhat.com>
9673
9674 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9675 else clause and remove check for non-standard endianness.
9676
b83bbec4
DM
96772013-02-04 David S. Miller <davem@davemloft.net>
9678
9679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9680
6277fdab
JM
96812013-02-04 Joseph Myers <joseph@codesourcery.com>
9682
9683 [BZ #13550]
9684 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9685 (__ubp_memchr): Remove prototype.
9686 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9687 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9688 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9689 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9690 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9691 Remove alias.
9692 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9693 (__ubp_memchr): Likewise.
9694 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9695 (__ubp_memchr): Likewise.
9696 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9697 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9698 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9699 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9700 CHECK_STRING.
9701 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9702 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9703 (__getcwd): Do not use CHECK_STRING.
9704 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9705 <bp-checks.h>.
9706 (__real_chown): Do not use CHECK_STRING.
9707 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9708 <bp-checks.h>.
9709 (fchownat): Do not use CHECK_STRING.
9710 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9711 CHECK_STRING.
9712 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9713 <bp-checks.h>.
9714 (__lchown): Do not use CHECK_STRING.
9715 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9716 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9717 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9718 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9720 include <bp-checks.h>.
9721 (truncate64): Do not use CHECK_STRING.
9722 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9723 <bp-checks.h>.
9724 (__real_chown): Do not use CHECK_STRING.
9725 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9726 <bp-checks.h>.
9727 (__lchown): Do not use CHECK_STRING.
9728 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9729 <bp-checks.h>.
9730 (__chown): Do not use CHECK_STRING.
9731 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9732 <bp-checks.h>.
9733 (truncate64): Do not use CHECK_STRING.
9734 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9735 Likewise.
9736 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9737 (__xmknod): Do not use CHECK_STRING.
9738 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9739 <bp-checks.h>.
9740 (__xmknodat): Do not use CHECK_STRING.
9741 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9742 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9743
903ae060
AS
97442013-02-04 Andreas Schwab <schwab@suse.de>
9745
9746 [BZ #14142]
9747 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9748 * include/netdb.h: Likewise for h_errno.
9749 * elf/tst-stackguard1.c: Include <tls.h>.
9750
542f9466
JK
97512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9752
9753 * elf/link.h (struct link_map): Extend the l_addr comment.
9754 * include/link.h (struct link_map): Likewise.
9755
e782a927
JM
97562013-02-01 Joseph Myers <joseph@codesourcery.com>
9757
9758 [BZ #13550]
9759 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9760 (BOUNDED_1): Remove macro.
9761 * debug/backtrace.c: Don't include <bp-checks.h>.
9762 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9763 (__backtrace): Likewise.
9764 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9765 <bp-checks.h>.
9766 (__backtrace): Don't use BOUNDED_1.
9767 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9768 <bp-checks.h>.
9769 (__backtrace): Don't use BOUNDED_1.
9770 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9771 (__backtrace): Don't use BOUNDED_1.
9772 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9773 (shmat): Don't use BOUNDED_N.
9774
8cf28c5e
JM
97752013-01-31 Joseph Myers <joseph@codesourcery.com>
9776
3a7ac8a0
JM
9777 [BZ #13550]
9778 * sysdeps/generic/bp-start.h: Remove file.
9779 * csu/libc-start.c: Don't include <bp-start.h>.
9780 (LIBC_START_MAIN): Set up __environ directly instead of using
9781 INIT_ARGV_and_ENVIRON.
9782 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9783 <bp-start.h>.
9784
f3499f95
JM
9785 [BZ #13550]
9786 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9787 definitions.
9788 (CHECK_FCNTL): Likewise.
9789 (CHECK_N_PAGES): Likewise.
9790
32a45bea
JM
9791 [BZ #13550]
9792 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9793 definitions.
9794 (CHECK_SIGSET_NULL_OK): Likewise.
9795 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9796 <bp-checks.h>.
9797 (sigpending): Don't use CHECK_SIGSET.
9798 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9799 <bp-checks.h>.
9800 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9801 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9802 <bp-checks.h>.
9803 (do_sigsuspend): Don't use CHECK_SIGSET.
9804 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9805 use CHECK_SIGSET.
9806 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9807 (do_sigwait): Don't use CHECK_SIGSET.
9808 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9809 use CHECK_SIGSET.
9810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9811 include <bp-checks.h>.
9812 (sigpending): Don't use CHECK_SIGSET.
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9814 include <bp-checks.h>.
9815 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9816 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9817 <bp-checks.h>.
9818 (sigpending): Don't use CHECK_SIGSET.
9819 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9820 <bp-checks.h>.
9821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9822
2e8a5c8c
JM
9823 [BZ #13550]
9824 * sysdeps/generic/bp-semctl.h: Remove file.
9825 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9826 <bp-checks.h> and <bp-semctl.h>.
9827 (__old_semctl): Don't use CHECK_SEMCTL.
9828 (__new_semctl): Likewise.
9829 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9830 and <bp-semctl.h>.
9831 (__old_semctl): Don't use CHECK_SEMCTL.
9832 (__new_semctl): Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9834 <bp-checks.h> and <bp-semctl.h>.
9835 (__old_semctl): Don't use CHECK_SEMCTL.
9836 (__new_semctl): Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9838 <bp-checks.h> and <bp-semctl.h>.
9839 (semctl): Don't use CHECK_SEMCTL.
9840
c2d54929
JM
9841 [BZ #13550]
9842 * Makerules (elide-bp-thunks): Remove variable.
9843 (elide-routines.oS): Don't use $(elide-bp-thunks).
9844 (elide-routines.os): Likewise.
9845 (elide-routines.o): Likewise.
9846 (elide-routines.op): Likewise.
9847 (elide-routines.og): Likewise.
9848 (objects): Don't use $(bp-thunks).
9849 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9850 include.
9851 (common-generated): Do not add s-proto-bp.d.
9852 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9853 (int): Likewise.
9854 (typ): Likewise.
9855 Do not generate makefile rules for bounded-pointer thunks.
9856 * sysdeps/generic/bp-thunks.h: Remove file.
9857 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9858 * sysdeps/unix/s-proto-bp.S: Likewise.
9859
8cf28c5e
JM
9860 [BZ #15062]
9861 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9862 parts of result separately when argument is not close to line from
9863 -i to i and one part of argument is small.
9864 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9865 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9866 * math/libm-test.inc (cacos_test): Add more tests.
9867 (casin_test): Likewise.
9868 (casinh_test): Likewise.
9869 * sysdeps/i386/fpu/libm-test-ulps: Update.
9870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9871
c4e33b8d
DM
98722013-01-31 David S. Miller <davem@davemloft.net>
9873
9874 * po/de.po: Update from translation team.
9875
3b60b421
MK
98762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9877
9878 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9879
bb931195
TS
98802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9881
b5a5da23
TS
9882 * configure.in (_AC_PROG_CC_C89): New definition.
9883 * configure: Regenerate.
9884
bb931195
TS
9885 * configure.in (AC_PROG_CPP): New definition.
9886 * configure: Regenerate.
9887
8c53a12c
JM
98882013-01-23 Joseph Myers <joseph@codesourcery.com>
9889
9890 * debug/tst-backtrace.h: New file.
9891 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9892 (ret): Remove variable.
9893 (x): Likewise.
9894 (FAIL): Remove macro.
9895 (NO_INLINE): Likewise.
9896 (fn1): Use match function instead of strstr.
9897 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9898 (ret): Remove variable.
9899 (x): Likewise.
9900 (FAIL): Remove macro.
9901 (NO_INLINE): Likewise.
9902 (fn): Use match function instead of strstr.
9903 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9904 (ret): Remove variable.
9905 (x): Likewise.
9906 (FAIL): Remove macro.
9907 (NO_INLINE): Likewise.
9908 (handle_signal): Use match function instead of strstr.
9909 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9910 (ret): Remove variable.
9911 (x): Likewise.
9912 (FAIL): Remove macro.
9913 (NO_INLINE): Likewise.
9914 (handle_signal): Use match function instead of strstr.
9915
4858fa2a
RM
99162013-01-23 Roland McGrath <roland@hack.frob.com>
9917
9918 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9919
bae8e7f5
DM
99202013-01-23 David S. Miller <davem@davemloft.net>
9921
9922 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9923 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9924 argument of CAS if possible.
9925 * sysdeps/sparc/sparc64/bits/atomic.h
9926 (__arch_compare_and_exchange_val_32_acq): Likewise.
9927 (__arch_compare_and_exchange_val_64_acq): Likewise.
9928
9cbbc4ae
PT
99292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9930
9931 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9932 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9933 Include <limits.h>.
67b3f58c 9934 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9935
5655a0b5
AC
99362013-01-23 Adam Conrad <adconrad@0c3.net>
9937
9938 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9939 (LDFLAGS-tst-array5): Likewise.
9940
052aff95
JM
99412013-01-23 Joseph Myers <joseph@codesourcery.com>
9942
9943 [BZ #15036]
9944 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9945 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9946 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9947 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9948
7c1e01aa
DM
99492013-01-21 David S. Miller <davem@davemloft.net>
9950
9951 * sysdeps/sparc/backtrace.c: New file.
9952 * sysdeps/sparc/sparc32/backtrace.h: New file.
9953 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9954 * sysdeps/sparc/sparc64/backtrace.h: New file.
9955 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9956 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9957 -funwind-tables.
9958
ab087e0a
AS
99592013-01-21 Andreas Schwab <schwab@suse.de>
9960
9961 [BZ #15020]
9962 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9963 closed its stdout.
9964
ed689c2f
AS
99652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9966
9967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9968 "mpa2.h".
9969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9970
31d470ac
JM
99712013-01-18 Joseph Myers <joseph@codesourcery.com>
9972 Mark Mitchell <mark@codesourcery.com>
9973 Tom de Vries <tom@codesourcery.com>
9974 Paul Pluzhnikov <ppluzhnikov@google.com>
9975
9976 * debug/tst-backtrace2.c: New file.
9977 * debug/tst-backtrace3.c: Likewise.
9978 * debug/tst-backtrace4.c: Likewise.
9979 * debug/tst-backtrace5.c: Likewise.
9980 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9981 (CFLAGS-tst-backtrace3.c): Likewise.
9982 (CFLAGS-tst-backtrace4.c): Likewise.
9983 (CFLAGS-tst-backtrace5.c): Likewise.
9984 (LDFLAGS-tst-backtrace2): Likewise.
9985 (LDFLAGS-tst-backtrace3): Likewise.
9986 (LDFLAGS-tst-backtrace4): Likewise.
9987 (LDFLAGS-tst-backtrace5): Likewise.
9988 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9989 tst-backtrace4 and tst-backtrace5.
9990
90567f30 99912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9992 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9993
9994 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9995 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9996 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9997 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9999 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10000 "+r" and remove output regs list as redundant. Add explicit inline
10001 asm to specify register of return val to work around compiler codegen
10002 bug. Remove (int) cast on return value. Add return type parameter to
10003 use in macro so that this macro does not truncate return value for
10004 64-bit values.
10005 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10006 pass to INTERNAL_VSYSCALL_NCS.
10007 (INLINE_VSYSCALL): Add 'long int' as return type to
10008 INTERNAL_VSYSCALL_NCS macro invocation.
10009 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10010 INTERNAL_VSYSCALL_NCS macro invocation.
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10012
d3b9ea61
SP
100132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
0b57daeb
SP
10015 [BZ #14496]
10016 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10017 Fix application of SIMD FP exception mask.
10018
caa99d06
SP
10019 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10020 mp_no from a power of two.
10021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10022 __mpexp_twomm1. Use __pow_mp.
10023
d3b9ea61
SP
10024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10025 multiplication.
10026
1dbaee3c
DM
100272013-01-17 David S. Miller <davem@davemloft.net>
10028
10029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10030
728d7b43
JM
100312013-01-17 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #15023]
10034 * include/complex.h: Condition contents on [!_COMPLEX_H].
10035 (__kernel_casinhf): New prototype.
10036 (__kernel_casinh): Likewise.
10037 (__kernel_casinhl): Likewise.
10038 * math/Makefile (libm_calls): Add k_casinh.
10039 * math/k_casinh.c: New file.
10040 * math/k_casinhf.c: Likewise.
10041 * math/k_casinhl.c: Likewise.
10042 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10043 finite nonzero arguments.
10044 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10045 finite nonzero arguments.
10046 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10047 finite nonzero arguments.
10048 * math/s_casinh.c: Do not include <float.h>.
10049 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10050 * math/s_casinhf.c: Do not include <float.h>.
10051 (__casinhf): Move code for finite nonzero arguments to
10052 k_casinhf.c.
10053 * math/s_casinhl.c: Do not include <float.h>.
10054 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10055 redefine.
10056 (__casinhl): Move code for finite nonzero arguments to
10057 k_casinhl.c.
10058 * math/libm-test.inc (cacos_test): Add more tests.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10061
2a26ef3a
PT
100622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10063
10064 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10065 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10066 [!HAVE_MREMAP]: Remove [defined linux] case.
10067 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10068
a897655d
SP
100692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
10071 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10072
881ebe89 100732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10074
10075 * elf/elf.h (R_386_SIZE32): New relocation.
10076 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10077 R_386_SIZE32.
10078 (elf_machine_rela): Likewise.
10079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10080 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10081
59981e9b
JM
100822013-01-17 Joseph Myers <joseph@codesourcery.com>
10083
10084 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10085 (FP_FAST_FMA): Do not define.
10086 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10087 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10088 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10089 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10090 !_SOFT_FLOAT]: Likewise.
10091 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10093 value.
10094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10095 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10097 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10098 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10099 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10100 file.
10101
cfa8054f
AS
101022013-01-16 Andreas Schwab <schwab@suse.de>
10103
10104 [BZ #14327]
10105 * include/stdlib.h (__mktemp): Add declaration.
10106 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10107 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10108
dd930cc5
SP
101092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10110
881ebe89
SP
10111 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10112 definitions.
10113 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10114 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10115 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10116 definitions here.
10117 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10118 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10119 definitions.
10120 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10121 and ONE.
10122 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10123 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10125 definitions.
10126 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10127 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10128 definitions.
10129 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10130
dd930cc5
SP
10131 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10132
c19a9f89
DM
101332013-01-15 David S. Miller <davem@davemloft.net>
10134
1aa61767
DM
10135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10136 trunc{,f} to libm-sysdep_routes.
10137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10139 file.
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10142 file.
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10144 file.
10145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10147 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10148 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10150 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10151 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10152 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10153
c42d5e98
DM
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10155 nearbyint{,f} to libm-sysdep_routes.
10156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10158 New file.
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10160 file.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10162 New file.
10163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10164 file.
10165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10168 file.
10169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10171 file.
10172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10174 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10175
c19a9f89
DM
10176 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10177 libc_feholdexcept and libc_fesetenv.
10178
357679d2
MF
101792013-01-15 Mike Frysinger <vapier@gentoo.org>
10180
10181 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10182
65a82e3d
DM
101832013-01-14 David S. Miller <davem@davemloft.net>
10184
8b954ab9
DM
10185 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10186 (SPARC_ASM_VIS2_IFUNC): Likewise.
10187 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10189 use of 'siam' instruction.
10190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10191 Likewise.
10192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10193 Likewise.
10194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10195 Likewise.
10196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10201 file.
10202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10203 file.
10204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10205 file.
10206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10207 file.
10208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10213 new VIS2 routines.
10214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10217 Likewise.
10218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10223 routines to libm-sysdep_routines.
10224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10225
65a82e3d
DM
10226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10227 fdim/fdimf to libm-sysdep_routines.
10228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10229 file.
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10232 file.
10233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10236 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10237 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10238 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10239 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10240
e34ab705
SP
102412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10242
2a91b573
SP
10243 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10244 to optimize copies.
10245
1066a534
SP
10246 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10249
e34ab705
SP
10250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10251 local variable MPTWO.
10252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10253 Likewise.
10254
aba5e596
MF
102552013-01-13 Mike Frysinger <vapier@gentoo.org>
10256
10257 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10258 GLOB_NOESCAPE.
10259
e557e9e5
MF
102602013-01-13 Mike Frysinger <vapier@gentoo.org>
10261
10262 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10263
0428cec9
MF
102642013-01-13 Mike Frysinger <vapier@gentoo.org>
10265
10266 * manual/pattern.texi (glob_t): Document gl_flags.
10267 (glob64_t): Likewise.
10268
8794a964
DM
102692013-01-11 David S. Miller <davem@davemloft.net>
10270
66438c3f
RM
10271 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10272 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10273 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10274 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10275 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10276 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10277 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10278 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10279 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10280 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10281 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10282 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10283 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10284
4ae4244d
DM
10285 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10286 sparc V9 rather than using V8 code.
10287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10289
8794a964
DM
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10291 Move to...
10292 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10293 Here.
10294
6270516e
RM
102952013-01-11 Roland McGrath <roland@hack.frob.com>
10296
10297 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10298 not in the main loop.
10299 * configure: Regenerated.
10300
6a57d931
JM
103012013-01-11 Joseph Myers <joseph@codesourcery.com>
10302
10303 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10304 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10305 to just #else.
10306 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10307 [!__GLIBC_HAVE_LONG_LONG] case.
10308 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10309 condition to just #else.
10310 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10311 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10312 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10313 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10314 unconditional.
10315 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10316 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10317 #elif condition to just #else.
10318 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10319 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10320 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10321 #elif condition to just #else.
10322
0e8529e9
SE
103232013-01-11 Steve Ellcey <sellcey@mips.com>
10324
10325 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10326 (EF_MIPS_ARCH_64): Fix value.
10327 (EF_MIPS_ARCH_32R2): New.
10328 (EF_MIPS_ARCH_64R2): New.
10329
740b3dbe
L
103302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * Makeconfig (+link-pie-before-libc): New.
10333 (+link-pie-after-libc): Likewise.
10334 (+link-pie-tests): Likewise.
10335 (+link-pie): Rewritten.
10336 (link-before-libc): Remove $(config-LDFLAGS).
10337 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10338 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10339 (config-LDFLAGS): Renamed to ...
10340 (rtld-LDFLAGS): This.
10341 (rtld-tests-LDFLAGS): New macro.
10342 (link-libc-rpath-link): Likewise.
10343 (link-libc-tests-rpath-link): Likewise.
10344 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10345 (link-libc): Prepand $(link-libc-rpath-link).
10346 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10347 (test-program-prefix): New macro.
10348 (test-via-rtld-prefix): Likewise.
10349 (test-program-cmd): Likewise.
10350 (host-test-program-cmd): Likewise.
10351 * Makefile ($(common-objpfx)testrun.sh): Replace
10352 $(run-program-prefix) with $(test-program-prefix).
10353 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10354 $(rtld-LDFLAGS).
10355 ($(common-objpfx)shlib.lds): Likewise.
10356 (build-module-helper): Likewise.
10357 ($(common-objpfx)format.lds): Likewise.
10358 * Rules (binaries-pie-tests): New.
10359 (binaries-pie-notests): Likewise.
10360 (binaries-pie): Rewritten.
10361 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10362 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10363 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10364 (make-test-out): Replace $(host-built-program-cmd) with
10365 $(host-test-program-cmd).
10366 * config.make.in (build-hardcoded-path-in-tests): New variable.
10367 * configure.in (--enable-hardcoded-path-in-tests): New configure
10368 option.
10369 (hardcoded_path_in_tests): New AC_SUBST.
10370 * configure: Regenerated.
10371 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10372 $(built-program-cmd) with $(test-program-cmd).
10373 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10374 (test_program_cmd): This.
10375 * elf/Makefile ($(objpfx)order.out): Run test with
10376 $(test-program-prefix).
10377 ($(objpfx)order2.out): Likewise.
10378 ($(objpfx)tst-initorder.out): Likewise.
10379 ($(objpfx)tst-initorder2.out): Likewise.
10380 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10381 $(test-program-cmd).
10382 ($(objpfx)tst-array1-static.out): Likewise.
10383 ($(objpfx)tst-array2.out): Likewise.
10384 ($(objpfx)tst-array3.out): Likewise.
10385 ($(objpfx)tst-array4.out): Likewise.
10386 ($(objpfx)tst-array5.out): Likewise.
10387 ($(objpfx)tst-array5-static.out): Likewise.
10388 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10389 $(test-program-cmd).
10390 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10391 $(run-program-prefix) with $(test-program-prefix).
10392 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10393 (test_program_prefix): This.
10394 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10395 $(run-program-prefix) with $(test-program-prefix).
10396 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10397 (test_program_prefix): This.
10398 * iconvdata/tst-tables.sh: Likewise.
10399 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10400 $(run-program-prefix) with $(test-program-prefix).
10401 ($(objpfx)tst-translit.out): Likewise.
10402 ($(objpfx)tst-gettext2.out): Likewise.
10403 ($(objpfx)tst-gettext4.out): Likewise.
10404 ($(objpfx)tst-gettext6.out): Likewise.
10405 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10406 (test_program_prefix): This.
10407 * intl/tst-gettext2.sh: Likewise.
10408 * intl/tst-gettext4.sh Likewise.
10409 * intl/tst-gettext6.sh: Likewise.
10410 * intl/tst-translit.sh: Likewise.
10411 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10412 with $(test-program-cmd).
10413 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10414 $(run-program-prefix) with $(test-program-prefix).
10415 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10416 (test_program_prefix): This.
10417 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10418 $(run-program-prefix) with $(test-program-prefix).
10419 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10420 (test_program_prefix): This.
10421 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10422 * posix/Makefile ($(objpfx)globtest.out): Replace
10423 $(run-via-rtld-prefix) and $(test-wrapper) with
10424 $(test-program-prefix) and $(test-via-rtld-prefix).
10425 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10426 $(test-program-prefix).
10427 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10428 $(host-test-program-cmd).
10429 (tst-spawn-ARGS): Likewise.
10430 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10431 $(test-program-prefix).
10432 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10433 (test_via_rtld_prefix): This.
10434 (test_wrapper): Renamed to ...
10435 (test_program_prefix): This.
10436 (run_program_prefix): Replaced by test_program_prefix.
10437 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10438 (test_program_prefix): This.
10439 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10440 with $(host-test-program-cmd).
10441 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10442 $(run-program-prefix) with $(test-program-prefix).
10443 ($(objpfx)tst-printf.out): Likewise.
10444 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10445 $(test-program-cmd).
10446 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10447 (test_program_prefix): This.
10448 * stdio-common/tst-unbputc.sh: Likewise.
10449 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10450 $(run-program-prefix) with $(test-program-prefix).
10451 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10452 (test_program_prefix): This.
10453 * string/Makefile ($(objpfx)tst-svc.out): Replace
10454 $(built-program-cmd) with $(test-program-cmd).
10455
c6fe55cf
AJ
104562013-01-11 Andreas Jaeger <aj@suse.de>
10457
10458 [BZ #15003]
10459 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10460 value. Sync with Linux 3.7.
10461
9e6919c8
DM
104622013-01-10 David S. Miller <davem@davemloft.net>
10463
10464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10465 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10466 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10467
1c9f1a02
RM
104682013-01-10 Roland McGrath <roland@hack.frob.com>
10469
10470 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10471 never set.
10472 * configure: Regenerated.
10473
b9de2dde
DM
104742013-01-10 David S. Miller <davem@davemloft.net>
10475
10476 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10477 sparc V9 rather than using V8 code.
10478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10480
e7f68ef4
RM
104812013-01-10 Roland McGrath <roland@hack.frob.com>
10482
10483 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10484 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10485 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10486 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10487 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10488 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10489 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10490 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10491 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10492 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10493 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10494 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10495 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10496 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10497 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10498 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10499 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10500 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10501 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10502 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10503 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10504 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10505 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10506 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10507 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10508 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10509 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10510
5a47cc9c
DM
105112013-01-10 David S. Miller <davem@davemloft.net>
10512
10513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10514
4cf8f209
L
105152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * posix/Makefile (tests-static): New variable.
10518 (tests): Add $(tests-static).
10519 (tst-exec-static-ARGS): New variable.
10520 (tst-spawn-static-ARGS): Likewise.
10521 * posix/tst-exec-static.c: New file.
10522 * posix/tst-spawn-static.c: Likewise.
10523 * posix/tst-exec.c: Support run directly.
10524 * posix/tst-spawn.c: Likewise.
10525
fed0faa1
JM
105262013-01-10 Joseph Myers <joseph@codesourcery.com>
10527
828beb13
JM
10528 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10529 long.
10530 * math/bits/mathcalls.h (llrint): Likewise.
10531 (llround): Likewise.
10532 * stdlib/stdlib.h (struct drand48_data): Likewise.
10533 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10534 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10535 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10536 Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10538 Likewise.
10539 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10540 (elf_greg_t): Likewise.
10541 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10542 (__jmp_buf): Likewise.
10543 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10544 definitions.
10545 (llrint): Likewise, for all definitions.
10546 (llrintl): Likewise.
10547
fed0faa1
JM
10548 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10549 Remove [__GNUC__] condition.
10550 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10551 condition to just [__USE_ISOC99].
10552 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10553
1a20cb20
L
105542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 [BZ #14200]
10557 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10558 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10559 defined.
10560 (_POSIX_V6_ILP32_OFF32): Likewise.
10561 (_XBS5_ILP32_OFF32): Likewise.
10562 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10563 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10564
751b85f7
SP
105652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10566
7490eb81
SP
10567 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10568
751b85f7
SP
10569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10570 doubles __mpexp_twomm1. Adjust usage.
10571 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10572 Remove.
10573
988197f0
AS
105742013-01-10 Andreas Schwab <schwab@suse.de>
10575
10576 [BZ #14964]
10577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10578 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10579
e83d7298
DM
105802013-01-09 David S. Miller <davem@davemloft.net>
10581
034ed64b 10582 [BZ #15003]
e83d7298
DM
10583 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10584 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10585 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10586 TCP_FASTOPEN): Define.
10587 (tcp_repair_opt): New structure.
10588 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10589 enum values.
10590 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10591 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10592 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10593 (tcp_cookie_transactions): New structure.
10594
d5e0b9bd
AB
105952013-01-09 Anton Blanchard <anton@samba.org>
10596
10597 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10598 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10600 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10601
0c07e3ea
JM
106022013-01-09 Joseph Myers <joseph@codesourcery.com>
10603
10604 * include/features.h (__USE_ANSI): Remove.
10605
232f7002
RM
106062013-01-09 Roland McGrath <roland@hack.frob.com>
10607
ad98e30c
RM
10608 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10609
232f7002
RM
10610 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10611
950c99ca
SP
106122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10613
b5792741
SP
10614 * sysdeps/s390/fpu/libm-test-ulps: Update.
10615
47cf2278
SP
10616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10617
950c99ca
SP
10618 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10619 (__acr): Likewise.
10620 (__cpy): Likewise.
10621 (norm): Likewise.
10622 (denorm): Likewise.
10623 (__mp_dbl): Likewise.
10624 (__dbl_mp): Likewise.
10625 (add_magnitudes): Likewise.
10626 (sub_magnitudes): Likewise.
10627 (__add): Likewise.
10628 (__sub): Likewise.
10629 (__mul): Likewise.
10630 (__inv): Likewise.
10631 (__dvd): Likewise.
10632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10633 (__acr): Likewise.
10634 (__cpy): Likewise.
10635 (norm): Likewise.
10636 (denorm): Likewise.
10637 (__mp_dbl): Likewise.
10638 (__dbl_mp): Likewise.
10639 (add_magnitudes): Likewise.
10640 (sub_magnitudes): Likewise.
10641 (__add): Likewise.
10642 (__sub): Likewise.
10643 (__mul): Likewise.
10644 (__inv): Likewise.
10645 (__dvd): Likewise.
10646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10647 (__acr): Likewise.
10648 (__cpy): Likewise.
10649 (norm): Likewise.
10650 (denorm): Likewise.
10651 (__mp_dbl): Likewise.
10652 (__dbl_mp): Likewise.
10653 (add_magnitudes): Likewise.
10654 (sub_magnitudes): Likewise.
10655 (__add): Likewise.
10656 (__sub): Likewise.
10657 (__mul): Likewise.
10658 (__inv): Likewise.
10659 (__dvd): Likewise.
10660
eede9df9
JM
106612013-01-08 Joseph Myers <joseph@codesourcery.com>
10662
10663 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10664 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10665 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10666 2 && __USE_EXTERN_INLINES]: Likewise.
10667
c40ea3d9
AJ
106682013-01-08 Andreas Jaeger <aj@suse.de>
10669
10670 [BZ# 14985]
10671 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10672 Remove.
10673 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10675
2ccdea26
AB
106762013-01-07 Anton Blanchard <anton@samba.org>
10677
10678 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10679 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10680 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10681 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10682 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10684 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10685 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10692 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10694 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10695 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10696 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10699 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10701 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10702 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10703 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10704 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10705 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10707 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10708 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10711 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10712 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10713 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10716 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10720 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10721
a9708fed
JM
107222013-01-07 Joseph Myers <joseph@codesourcery.com>
10723
375607b9
JM
10724 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10725 (__MALLOC_PMT): Likewise.
10726 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10727 [__GNUC__], only on [_LIBC].
10728 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10729 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10730 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10731 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10732 forward declaration.
10733 (realloc_hook_ini): Likewise.
10734 (memalign_hook_ini): Likewise.
10735 (__libc_memalign): Do not use __MALLOC_PMT in variable
10736 declaration.
10737 (__libc_valloc): Likewise.
10738 (__libc_pvalloc): Likewise.
10739 (__libc_calloc): Likewise.
10740 (__posix_memalign): Likewise.
10741
a9708fed
JM
10742 [BZ #14996]
10743 * math/s_casinh.c: Include <float.h>.
10744 (__casinh): Do not do computation with squaring and square root
10745 for large arguments.
10746 * math/s_casinhf.c: Include <float.h>.
10747 (__casinhf): Do not do computation with squaring and square root
10748 for large arguments.
10749 * math/s_casinhl.c: Include <float.h>.
10750 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10751 (__casinhl): Do not do computation with squaring and square root
10752 for large arguments.
10753 * math/libm-test.inc (casin_test): Add more tests.
10754 (casinh_test): Likewise.
10755 * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757
afec409a
L
107582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10759
10760 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10761 (__x86_64_raw_data_cache_size): Likewise.
10762 (__x86_64_data_cache_size_half): Likewise.
10763 (__x86_64_raw_data_cache_size_half): Likewise.
10764 (__x86_64_shared_cache_size): Likewise.
10765 (__x86_64_raw_shared_cache_size): Likewise.
10766 (__x86_64_shared_cache_size_half): Likewise.
10767 (__x86_64_raw_shared_cache_size_half): Likewise.
10768 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10769 to ...
10770 (__x86_data_cache_size): This.
10771 (__x86_64_raw_data_cache_size): Renamed to ...
10772 (__x86_raw_data_cache_size): This.
10773 (__x86_64_data_cache_size_half): Renamed to ...
10774 (__x86_data_cache_size_half): This.
10775 (__x86_64_raw_data_cache_size_half): Renamed to ...
10776 (__x86_raw_data_cache_size_half): This.
10777 (__x86_64_shared_cache_size): Renamed to ...
10778 (__x86_shared_cache_size): This.
10779 (__x86_64_raw_shared_cache_size): Renamed to ...
10780 (__x86_raw_shared_cache_size): This.
10781 (__x86_64_shared_cache_size_half): Renamed to ...
10782 (__x86_shared_cache_size_half): This.
10783 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10784 (__x86_raw_shared_cache_size_half): This.
10785 * sysdeps/x86_64/memcpy.S: Updated.
10786 * sysdeps/x86_64/memset.S: Likewise.
10787 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10790
0b3986d0
DM
107912013-01-04 David S. Miller <davem@davemloft.net>
10792
10793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10794
e47686e9
AS
107952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10796
d643bac1
AS
10797 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10798 1 to avoid redefinition warning.
10799 (__USE_GNU): Don't define.
10800 (init_signaling_nan): Protoize.
10801
e47686e9
AS
10802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10803
b18decba
SP
108042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10805
fffb407f
SP
10806 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10808 (__cpymn): Likewise.
10809 (norm): Remove commented code.
10810 (denorm): Likewise.
10811 (__mp_dbl): Likewise.
10812 (__inv): Likewise.
10813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10814 (__cpymn): Likewise.
10815 (norm): Remove commented code.
10816 (denorm): Likewise.
10817 (__mp_dbl): Likewise.
10818 (__inv): Likewise.
10819
b18decba
SP
10820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10821 mp_no value for 1.0 and 2.0.
10822 (norm): Use RADIXI instead of radixi.d.
10823 (denorm): Likewise.
10824 (__mul): Use 0.0 instead of zero.d.
10825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10826 mp_no value for 1.0 and 2.0.
10827 (norm): Use RADIXI instead of radixi.d.
10828 (denorm): Likewise.
10829 (__mul): Use 0.0 instead of zero.d.
10830
cdc1c96f
JM
108312013-01-04 Joseph Myers <joseph@codesourcery.com>
10832
10833 [BZ #14994]
10834 * math/s_casinh.c (__casinh): Reduce finite argument to first
10835 quadrant then set signs of results at the end.
10836 * math/s_casinhf.c (__casinhf): Likewise.
10837 * math/s_casinhl.c (__casinhl): Likewise.
10838 * math/libm-test.inc (casin_test): Add more tests.
10839 (casinh_test): Likewise.
10840 * sysdeps/i386/fpu/libm-test-ulps: Update.
10841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10842
302913e1
SP
108432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10844
6420d207
SP
10845 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10846
a9e48ab4
SP
10847 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10848
b7837264
SP
10849 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10850 declarations.
10851 (denorm): Likewise.
10852 (__mp_dbl): Likewise.
10853 (__inv): Likewise.
10854
f8af25d2
SP
10855 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10856 and adjust the header comment.
10857
302913e1
SP
10858 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10859 variable name from declaration.
10860
5d7dd1ca
L
108612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10862
10863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10864 Initialize COMMON_CPUID_INDEX_7 element.
10865 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10866 (CPUID_RTM): Likewise.
10867 (HAS_RTM): Likewise.
10868 (COMMON_CPUID_INDEX_7): New enum.
10869
2f5f40f4
AS
108702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10871
10872 [BZ #14981]
10873 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10874 size is zero, record memory as freed.
10875
4056f4a0
AJ
108762013-01-03 Andreas Jaeger <aj@suse.de>
10877
10878 * po/ia.po: Add new Interlingua translation.
10879
ab15736f 108802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10881
10882 * locale/programs/localedef.c: Fix description of '--posix' flag.
10883
568035b7
JM
108842013-01-02 Joseph Myers <joseph@codesourcery.com>
10885
e6898b8d
JM
10886 * NEWS: Update dates in second copyright notice.
10887 * README: Update copyright dates in example.
10888 * manual/libc.texinfo: Update copyright dates.
10889 * scripts/test-installation.pl: Update copyright date in --version
10890 output.
10891
0e2f9562
JM
10892 * hurd/ctty-input.c: Fix copyright notice formatting.
10893 * hurd/ctty-output.c: Likewise.
10894 * hurd/dtable.c: Likewise.
10895 * hurd/hurd-raise.c: Likewise.
10896 * hurd/hurdprio.c: Likewise.
10897 * hurd/msgportdemux.c: Likewise.
10898 * misc/sys/file.h: Likewise.
10899 * misc/sys/ioctl.h: Likewise.
10900 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10901 * sysdeps/mach/hurd/chdir.c: Likewise.
10902 * sysdeps/mach/hurd/fchdir.c: Likewise.
10903 * sysdeps/mach/hurd/rename.c: Likewise.
10904 * sysdeps/mach/hurd/rmdir.c: Likewise.
10905 * sysdeps/mach/hurd/seekdir.c: Likewise.
10906 * sysdeps/mach/hurd/setsid.c: Likewise.
10907 * sysdeps/posix/wait3.c: Likewise.
10908
568035b7
JM
10909 * All files with FSF copyright notices: Update copyright dates
10910 using scripts/update-copyrights.
10911 * intl/plural.c: Regenerated.
10912 * locale/programs/charmap-kw.h: Likewise.
10913 * locale/programs/locfile-kw.h: Likewise.
10914
da08f647
SP
109152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10916
0f5477af
SP
10917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10918 four values.
10919
44e0d4c2
SP
10920 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10921 calculation loop and add branch prediction.
10922
4d55b4e5
SP
10923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10924 check access beyond bounds of m1np.
10925
da08f647
SP
10926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10927 MPTWO.
10928 (__inv): Remove local variable MPTWO to use the global
10929 constant.
10930 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10932 variable MPTWO.
10933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10934 MP3HALFS static const.
10935
8e051029
DM
109362013-01-01 David S. Miller <davem@davemloft.net>
10937
10938 * po/ca.po: Update from translation team.
10939
f4cf5f2d
JM
109402013-01-01 Joseph Myers <joseph@codesourcery.com>
10941
10942 * scripts/update-copyrights: New file.
10943 * Makeconfig: Reformat copyright notice.
10944 * ctype/ctype.h: Likewise.
10945 * debug/swprintf_chk.c: Likewise.
10946 * elf/dl-cache.c: Likewise.
10947 * elf/dl-debug.c: Likewise.
10948 * elf/dl-object.c: Likewise.
10949 * grp/initgroups.c: Likewise.
10950 * hurd/Makefile: Likewise.
10951 * hurd/hurd/signal.h: Likewise.
10952 * hurd/hurdfault.c: Likewise.
10953 * hurd/hurdioctl.c: Likewise.
10954 * hurd/hurdlookup.c: Likewise.
10955 * hurd/intr-msg.c: Likewise.
10956 * iconv/gconv_open.c: Likewise.
10957 * libio/swprintf.c: Likewise.
10958 * locale/lc-ctype.c: Likewise.
10959 * locale/nl_langinfo.c: Likewise.
10960 * mach/Machrules: Likewise.
10961 * mach/Makefile: Likewise.
10962 * malloc/obstack.h: Likewise.
10963 * manual/Makefile: Likewise.
10964 * manual/tsort.awk: Likewise.
10965 * misc/bits/stab.def: Likewise.
10966 * nis/nis_print_group_entry.c: Likewise.
10967 * nis/nis_table.c: Likewise.
10968 * nis/nss_compat/compat-pwd.c: Likewise.
10969 * nis/nss_compat/compat-spwd.c: Likewise.
10970 * po/Makefile: Likewise.
10971 * posix/fnmatch.c: Likewise.
10972 * posix/regex.h: Likewise.
10973 * resolv/Makefile: Likewise.
10974 * resolv/nss_dns/dns-network.c: Likewise.
10975 * resolv/res_hconf.c: Likewise.
10976 * scripts/gen-sorted.awk: Likewise.
10977 * soft-fp/soft-fp.h: Likewise.
10978 * stdio-common/printf.h: Likewise.
10979 * stdlib/monetary.h: Likewise.
10980 * stdlib/random.c: Likewise.
10981 * stdlib/random_r.c: Likewise.
10982 * sysdeps/generic/Makefile: Likewise.
10983 * sysdeps/gnu/Makefile: Likewise.
10984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11012 * sysdeps/mach/hurd/errnos.awk: Likewise.
11013 * sysdeps/mach/hurd/fork.c: Likewise.
11014 * sysdeps/mach/hurd/getcwd.c: Likewise.
11015 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11016 * sysdeps/mach/hurd/mmap.c: Likewise.
11017 * sysdeps/mach/hurd/utimes.c: Likewise.
11018 * sysdeps/mach/hurd/xmknod.c: Likewise.
11019 * sysdeps/posix/profil.c: Likewise.
11020 * sysdeps/posix/readdir_r.c: Likewise.
11021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11022 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11023 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11026 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11027 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11028 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11030 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11032 * sysdeps/pthread/lio_listio.c: Likewise.
11033 * sysdeps/sparc/dl-procinfo.h: Likewise.
11034 * sysdeps/unix/i386/sysdep.S: Likewise.
11035 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11036 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11037 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11038 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11040 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11041 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11042 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11043 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11044 * sysdeps/wordsize-32/divdi3.c: Likewise.
11045 * time/sys/time.h: Likewise.
11046 * wcsmbs/Makefile: Likewise.
11047
0549fbba
DM
110482013-01-01 David S. Miller <davem@davemloft.net>
11049
a141f1a7
DM
11050 * po/fr.po: Update from translation team.
11051
0549fbba
DM
11052 * catgets/gencat.c: Update copyright year.
11053 * csu/version.c: Likewise.
11054 * debug/catchsegv.sh: Likewise.
11055 * debug/pcprofiledump.c: Likewise.
11056 * debug/xtrace.sh: Likewise.
11057 * elf/ldconfig.c: Likewise.
11058 * elf/ldd.bash.in: Likewise.
11059 * elf/pldd.c: Likewise.
11060 * elf/sotruss.ksh: Likewise.
11061 * elf/sprof.c: Likewise.
11062 * iconv/iconv_prog.c: Likewise.
11063 * iconv/iconvconfig.c: Likewise.
11064 * locale/programs/locale.c: Likewise.
11065 * locale/programs/localedef.c: Likewise.
11066 * login/programs/pt_chown.c: Likewise.
11067 * malloc/memusage.sh: Likewise.
11068 * malloc/memusagestat.c: Likewise.
11069 * malloc/mtrace.pl: Likewise.
11070 * nscd/nscd.c: Likewise.
11071 * nss/getent.c: Likewise.
11072 * nss/makedb.c: Likewise.
11073 * posix/getconf.c: Likewise.
11074
18ea052c
SP
110752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11076
11077 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11078 numbers.
11079
9c89fca6
MF
110802012-12-30 Mike Frysinger <vapier@gentoo.org>
11081
11082 * math/bits/mathcalls.h (modf): Use __nonnull.
11083
085ec079
SP
110842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11085
11086 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11087 (split): Use macro CN instead of the bare value.
11088 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11089 could be used.
11090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11091 instead of the bare value.
11092 (power1): Likewise.
11093
6d9f97e1
SP
110942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11095
d63f73be
SP
11096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11097 __ATAN_TWOM.
11098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11099
6d9f97e1
SP
11100 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11101 their values.
11102 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11104 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11105 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11106
4c4febf5
AJ
111072012-12-28 Andreas Jaeger <aj@suse.de>
11108
af5843ef
AJ
11109 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11110 values are from Linux 3.7.
11111
4c4febf5
AJ
11112 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11113 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11114
99136f82
SP
111152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11116
2f216c3c 11117 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11118 TRUE case.
11119
99136f82
SP
11120 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11121 (norm): Likewise.
11122 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11123 variables with preprocessor constants.
11124 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11125 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11127
7fffbdff
BH
111282012-12-27 Bruno Haible <bruno@clisp.org>
11129
11130 [BZ #14317]
11131 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11132 only if needed.
11133
b76eb5f0
SP
111342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11135
31a7fe5c
SP
11136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11137 and use variable directly.
11138 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11139
b76eb5f0
SP
11140 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11141 MPONE.
11142 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11144 variable MPONE.
11145 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11147 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11148 include directive. Remove local variable MPONE.
11149 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11151 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11152
2c8bfe7d
DM
111532012-12-25 David S. Miller <davem@davemloft.net>
11154
11155 * version.h (RELEASE): Set to "development".
11156 (VERSION): Set to "2.17.90".
11157 * NEWS: Add 2.18 section.
11158
147d03b0
DM
111592012-12-21 David S. Miller <davem@davemloft.net>
11160
11161 * po/hr.po: Update from translation team.
11162
a8ebb2b9
AK
111632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11164
11165 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11166
95b4f1b6
SE
111672012-12-19 Steve Ellcey <sellcey@mips.com>
11168
b2d94007 11169 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11170
cedb2a90
MS
111712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11172
11173 * manual/contrib.texi (Contributors): Spelling correction.
11174
bbf527d6
DM
111752012-12-15 David S. Miller <davem@davemloft.net>
11176
11177 * po/ru.po: Update from translation team.
11178
bc38c906
DM
111792012-12-13 David S. Miller <davem@davemloft.net>
11180
85429b1a
DM
11181 * NEWS: Mention IFUNC testsuite enhancements.
11182
d283e353
DM
11183 * po/pl.po: Update from translation team.
11184 * po/bg.po: Likewise.
11185
bc38c906
DM
11186 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11187 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11188
a181b0d7
DM
111892012-12-11 David S. Miller <davem@davemloft.net>
11190
4641d57e
DM
11191 * po/sv.po: Update from translation team.
11192
f7bc6495
DM
11193 * po/vi.po: Update from translation team.
11194
6fc9048f
DM
11195 * po/cs.po: Update from translation team.
11196
a181b0d7
DM
11197 * po/de.po: Update from translation team.
11198 * po/eo.po: Likewise.
11199 * po/nl.po: Likewise.
11200
f70bfe80
SP
112012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11202
3c8b4190
SP
11203 [BZ #14246]
11204 * manual/argp.texi (Argp Helper Functions): Move node to follow
11205 Argp Parsing State.
11206
f70bfe80
SP
11207 [BZ #14872]
11208 * manual/conf.texi (Limits on File System Capacity): Mention if
11209 terminating null is included in the max size.
11210
188f0adf
AJ
112112012-12-10 Andreas Jaeger <aj@suse.de>
11212
11213 * po/cs.po: Update from translation team.
11214
56e7d3ad
SP
112152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11216
11217 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11218 void pointer and cast to uintptr_t.
11219 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11220 path.
11221 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11222 * sysdeps/s390/s390-64/memset.S: Likewise.
11223
76f2d2ea 112242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11225
11226 [BZ #14833]
11227 * menual/message.texi (Message Translation): Fix typos.
11228 (Helper programs for gettext): Likewise.
11229
67cbf9a2
AS
112302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11231
11232 [BZ #14898]
11233 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11234 Change to -1.
11235
682d0e9a
DM
112362012-12-07 David S. Miller <davem@davemloft.net>
11237
11238 * po/libc.pot: Update.
11239
573cd484
RH
112402012-12-07 Richard Henderson <rth@redhat.com>
11241
7e9da188 11242 [BZ #10114]
573cd484
RH
11243 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11244 normal/normal case to before the switch.
11245 (_FP_DIV): Likewise.
11246
e933a943
MF
112472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11248 Mike Frysinger <vapier@gentoo.org>
11249
11250 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11251 check for __NR_fadvise64_64.
11252
82123268
CM
112532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11254
11255 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11256 0, not just to plain "0" as a statement.
11257 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11258 with cw.
11259
d9814526
JM
112602012-12-06 Joseph Myers <joseph@codesourcery.com>
11261
11262 * NEWS: Use sourceware.org in Bugzilla URL.
11263
7728c574
SP
112642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
f16946dd
SP
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11267 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11268
5704bbcb
SP
11269 * stdio-common/tst-put-error.c (do_test): Add newline to the
11270 padded test to ensure flush.
11271
17aa0516
JL
112722012-12-05 Jeff Law <law@redhat.com>
11273
11274 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11275
363313b5
JM
112762012-12-05 Joseph Myers <joseph@codesourcery.com>
11277
effbd42a
JM
11278 * README: Don't refer to ports add-on as distributed separately.
11279 Mention AArch64 in list of systems supported in the ports add-on.
11280
87600365
JM
11281 * LICENSES: Add more non-FSF copyright and license notices.
11282
a0d7066a
JM
11283 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11284 ((unused)).
11285
66ca5a5b
JM
11286 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11287
363313b5
JM
11288 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11289 10000 as width of padded output.
11290
b37984ad
JM
112912012-12-04 Joseph Myers <joseph@codesourcery.com>
11292
9003570a
JM
11293 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11294
b37984ad
JM
11295 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11296 variable LX with __attribute__ ((unused)).
11297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11298 Likewise.
11299 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11302 with __attribute__ ((unused)).
11303
c8df52ec
DM
113042012-12-04 David S. Miller <davem@abraco.davemloft.net>
11305
11306 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11307
b3b099af
JM
113082012-12-04 Joseph Myers <joseph@codesourcery.com>
11309
c33aa6e3
JM
11310 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11311 (CFLAGS-nldbl-acos.c): New variable.
11312 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11313 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11314 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11315 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11316 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11317 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11318 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11319 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11320 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11321 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11322 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11323 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11324 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11325 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11326 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11327 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11328 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11329 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11330 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11331 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11332 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11333 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11334 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11335 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11336 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11337 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11338 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11339 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11340 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11341 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11342 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11343 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11344 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11345 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11346 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11347 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11348 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11349 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11350 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11351 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11352 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11353 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11354 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11355 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11356 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11357 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11358 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11359 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11360 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11361 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11362 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11363 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11364 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11365 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11366 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11367 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11368 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11369 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11370 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11371 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11372 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11373 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11374 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11375 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11376 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11377 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11378 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11379 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11380 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11381 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11382 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11383 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11384 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11385 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11386 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11387 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11388 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11389 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11390 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11391 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11392 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11393 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11394 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11395 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11396 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11397 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11398 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11399 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11400 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11401 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11402 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11403 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11404 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11405 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11406 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11407 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11408 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11409
20f0018d
JM
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11411 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11412
b3b099af
JM
11413 [BZ #14914]
11414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11415 whole low double instead of just low 47 bits when splitting values
11416 into two parts.
11417
029264d1
AM
114182012-12-03 Allan McRae <allan@archlinux.org>
11419
11420 * manual/stdio.texi (Predefined Printf Handlers): Remove
11421 @hsep and @vsep usage.
11422
c9d6789e
MF
114232012-12-03 Mike Frysinger <vapier@gentoo.org>
11424
11425 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11426 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11427
4b7634a5
JL
114282012-12-03 Jeff Law <law@redhat.com>
11429
11430 * time/sys/time.h (settimeofday): Do not mark TV argument
11431 as __nonnull.
11432
eb6cbd24
MF
114332012-12-01 Mike Frysinger <vapier@gentoo.org>
11434
11435 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11436 when currently writing and seek to current position when not.
11437 * libio/Makefile (tests): Remove bug-fclose1.
11438 * libio/bug-fclose1.c: Delete.
11439
f638872a
JM
114402012-12-01 Joseph Myers <joseph@codesourcery.com>
11441
11442 * manual/arith.texi (feenableexcept): Fix typo.
11443 (fedisableexcept): Likewise.
11444
48085d14
RM
114452012-11-30 Roland McGrath <roland@hack.frob.com>
11446
11447 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11448 second, differently-typed declaration, rather than a cast.
11449
1a538b9f
SP
114502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11451
11452 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11453 * include/rpc/svc.h: ... here.
11454
d07f2ff1 114552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11456
11457 [BZ #13013]
11458 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11459 depending n and resplen2 to catch cases where answer
11460 equals answerp2.
11461
c93ec1f0
CD
114622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11463
11464 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11465 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11466
37db69de
MF
114672012-11-29 Mike Frysinger <vapier@gentoo.org>
11468
11469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11470
e10c4e4f
RM
114712012-11-29 Roland McGrath <roland@hack.frob.com>
11472
11473 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11474
2af1b328
JL
114752012-11-28 Jeff Law <law@redhat.com>
11476
11477 [BZ #13761]
11478 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11479 dataset_temporary. Track alloca usage into alloca_used.
11480 If dataset is large allocate and release it via malloc/free.
11481
111db5b1
FW
114822012-06-04 Florian Weimer <fweimer@redhat.com>
11483
f06cc227 11484 [BZ #14197]
111db5b1
FW
11485 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11486
dd694abd
DM
114872012-11-28 David S. Miller <davem@davemloft.net>
11488
11489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11490
9984dd01
JM
114912012-11-28 Joseph Myers <joseph@codesourcery.com>
11492
11493 [BZ #14803]
11494 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11495 of pi/2 rounded to nearest to 64 bits.
11496 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11497 nearest to 64 bits.
11498 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11499 bits.
11500
14bc93a9
JL
115012012-11-28 Jeff Law <law@redhat.com>
11502 Martin Osvald <mosvald@redhat.com>
11503
11504 [BZ #14889]
11505 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11506 * sunrpc/svc.c: Include time.h.
11507 (__svc_accept_failed): New function.
11508 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11509 any reason other than EINTR, call __svc_accept_failed.
11510 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11511 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11512
e3c6aa3a
AS
115132012-11-28 Andreas Schwab <schwab@suse.de>
11514
11515 * scripts/abilist.awk: Also handle indirect functions in .opd
11516 section.
11517
1bead169
JM
115182012-11-28 Joseph Myers <joseph@codesourcery.com>
11519
11520 [BZ #13881]
11521 * sysdeps/x86/fpu/powl_helper.c: New file.
11522 * sysdeps/x86/fpu/Makefile: Likewise.
11523 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11524 (p3): New object.
11525 (__ieee754_powl): Use __powl_helper for finite arguments except
11526 integer exponents below 8.
11527 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11528 (p3): New object.
11529 (__ieee754_powl): Use __powl_helper for finite arguments except
11530 integer exponents below 8.
11531 * math/libm-test.inc (pow_test): Add more tests and enable some
11532 previously disabled tests.
11533 * sysdeps/i386/fpu/libm-test-ulps: Update.
11534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11535
0817d63d
SP
115362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11537 Carlos O'Donell <carlos_odonell@mentor.com>
11538
11539 * nss/makedb.c (is_prime): Assert that input is odd and greater
11540 than 4. Note that fact in a comment too.
11541 (next_prime): Add 4 to input.
11542
de2fd463
SP
115432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11544
11545 [BZ #11741]
11546 * libio/Makefile (tests): Add test case tst-fwrite-error.
11547 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11548 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11549 * libio/tst-fwrite-error.c: New test case.
11550
c515fb51
L
115512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11552
11553 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11554 before casting to void *.
11555 * include/libc-internal.h (__pointer_type): New macro.
11556 (__integer_if_pointer_type_sub): Likewise.
11557 (__integer_if_pointer_type): Likewise.
11558 (cast_to_integer): Likewise.
11559 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11560 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11561 before casting to atomic64_t.
11562 (atomic_exchange_acq): Likewise.
11563 (__arch_exchange_and_add_body): Likewise.
11564 (__arch_add_body): Likewise.
11565 (atomic_add_negative): Likewise.
11566 (atomic_add_zero): Likewise.
11567
4cf77aa9
JM
115682012-11-26 Joseph Myers <joseph@codesourcery.com>
11569
11570 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11571 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11572 (add_fdes): Likewise.
11573 (linear_search_fdes): Likewise.
11574 (binary_search_unencoded_fdes): Likewise.
11575
d260b3b4
AS
115762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11577
11578 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11579
67060746
AC
115802012-11-24 Adam Conrad <adconrad@0c3.net>
11581
11582 * configure.in: Autodetect C++ header directories.
11583 * configure: Regenerated.
11584
800938a1
MF
115852012-11-23 Mike Frysinger <vapier@gentoo.org>
11586
11587 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11588
4e6e34e6
AS
115892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11590
11591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11592
7c7feb47
JM
115932012-11-22 Joseph Myers <joseph@codesourcery.com>
11594
7184dcdf
JM
11595 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11596 LDBL_MANT_DIG == 106]: Disable some tests.
11597 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11598 Likewise.
11599 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11600 Likewise.
11601
0a42601f
JM
11602 [BZ #14871]
11603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11604 input for small inputs. Return +/- pi/2 for large inputs.
11605 * math/libm-test.inc (atan_test): Add more tests.
11606
79c9b9fe
JM
11607 * sysdeps/generic/unwind-dw2-fde-glibc.c
11608 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11609 __attribute__ ((unused)).
11610
c60d3bf2
JM
11611 [BZ #14645]
11612 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11613 x * y if x and y are nonzero and z is zero.
11614
ef1e0867
JM
11615 [BZ #14811]
11616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11617 nonzero exponents with absolute value below 0x1p-117 to +/-
11618 0x1p-117.
11619
1468ded3
JM
11620 [BZ #14869]
11621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11622 up arguments below 2**-450, not just those below 2**-500.
11623 * math/libm-test.inc (hypot_test): Add another test.
11624
8e27e3cc
JM
11625 [BZ #14868]
11626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11627 Return a+b for ratio over 2**120, not 2**60.
11628 * math/libm-test.inc (hypot_test): Add another test.
11629
c9c0279b
JM
11630 * math/libm-test.inc (clog_test): Use
11631 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11632 (clog10_test): Likewise.
11633
7c7feb47
JM
11634 [BZ #6778]
11635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11636
fff1530e
AS
116372012-11-22 Andreas Schwab <schwab@suse.de>
11638
11639 * sysdeps/i386/fpu/libm-test-ulps: Update.
11640
94558d30
PT
116412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11642
11643 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11644 printf output with newline.
11645
7e1be741
L
116462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11647
6bfea974
L
11648 [BZ #14865]
11649 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11650 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11651 -z nodlopen, -z initfirst and -z execstack support.
11652 * configure: Regenerated.
11653
7e1be741
L
11654 * elf/elf.h (DF_1_NODIRECT): New macro.
11655 (DF_1_IGNMULDEF): Likewise.
11656 (DF_1_NOKSYMS): Likewise.
11657 (DF_1_NOHDR): Likewise.
11658 (DF_1_EDITED): Likewise.
11659 (DF_1_NORELOC): Likewise.
11660 (DF_1_SYMINTPOSE): Likewise.
11661 (DF_1_GLOBAUDIT): Likewise.
11662 (DF_1_SINGLETON): Likewise.
11663 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11664 DT_1_SUPPORTED_MASK bits.
11665 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11666
105ce2ce
CD
116672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11668
11669 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11670
123be9de
TS
116712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11672
d072f3f7
TS
11673 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11674 macro.
11675
123be9de
TS
11676 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11677 (sendmmsg): Move declarations...
11678 * socket/sys/socket.h: ... here.
11679 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11680 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11681 include it from...
11682 * socket/recvmmsg.c: ... this new file.
11683 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11684 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11685 definition of __sendmmsg hidden.
11686 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11687 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11688 Move ENOSYS stub into and include it from...
11689 * socket/sendmmsg.c: ... this new file.
11690 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11691 (sysdep_routines): Move recvmmsg and sendmmsg...
11692 * socket/Makefile (routines): ... here.
11693 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11694 (GLIBC_PRIVATE): Add __sendmmsg.
11695 * include/sys/socket.h (__sendmmsg): Add declarations.
11696 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11697 sendmmsg.
11698
cf9a5d18
JM
116992012-11-20 Joseph Myers <joseph@codesourcery.com>
11700
11701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11702 variable I1 with __attribute__ ((unused)).
11703 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11704
ecd4caf9
JM
117052012-11-19 Joseph Myers <joseph@codesourcery.com>
11706
be14d48f
JM
11707 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11708 DUMMY variables with __attribute__ ((unused)).
11709
ecd4caf9
JM
11710 * bits/byteswap.h: Include <bits/types.h>.
11711 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11712
986cab95
PT
117132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11714
11715 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11716 string_t. Do not manually set errno.
11717 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11718 length with __strnlen. Make sure to both set errno and return it on
11719 failure.
11720
6d33cc9d
DM
117212012-11-19 David S. Miller <davem@davemloft.net>
11722
11723 With help from Joseph Myers.
11724 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11725 very large arguments properly.
11726 * math/libm-test.inc (atan_test): New tests.
11727 (atan2_test): New tests.
11728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11730
ee663277
JM
117312012-11-19 Joseph Myers <joseph@codesourcery.com>
11732
877f2d8e
JM
11733 [BZ #14856]
11734 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11735 Define to 3.
11736
116fc08a
JM
11737 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11738 [POSIX] (EADDRNOTAVAIL): Likewise.
11739 [POSIX] (EAFNOSUPPORT): Likewise.
11740 [POSIX] (EALREADY): Likewise.
11741 [POSIX] (ECONNABORTED): Likewise.
11742 [POSIX] (ECONNREFUSED): Likewise.
11743 [POSIX] (ECONNRESET): Likewise.
11744 [POSIX] (EDESTADDRREQ): Likewise.
11745 [POSIX] (EDQUOT): Likewise.
11746 [POSIX] (EHOSTUNREACH): Likewise.
11747 [POSIX] (EIDRM): Likewise.
11748 [POSIX] (EISCONN): Likewise.
11749 [POSIX] (ELOOP): Likewise.
11750 [POSIX] (EMULTIHOP): Likewise.
11751 [POSIX] (ENETDOWN): Likewise.
11752 [POSIX] (ENETUNREACH): Likewise.
11753 [POSIX] (ENOBUFS): Likewise.
11754 [POSIX] (ENODATA): Likewise.
11755 [POSIX] (ENOLINK): Likewise.
11756 [POSIX] (ENOMSG): Likewise.
11757 [POSIX] (ENOPROTOOPT): Likewise.
11758 [POSIX] (ENOSR): Likewise.
11759 [POSIX] (ENOSTR): Likewise.
11760 [POSIX] (ENOTCONN): Likewise.
11761 [POSIX] (ENOTSOCK): Likewise.
11762 [POSIX] (EOPNOTSUPP): Likewise.
11763 [POSIX] (EOVERFLOW): Likewise.
11764 [POSIX] (EPROTO): Likewise.
11765 [POSIX] (EPROTONOSUPPORT): Likewise.
11766 [POSIX] (EPROTOTYPE): Likewise.
11767 [POSIX] (ESTALE): Likewise.
11768 [POSIX] (ETIME): Likewise.
11769 [POSIX] (ETXTBSY): Likewise.
11770 [POSIX] (EWOULDBLOCK): Likewise.
11771 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11772 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11773 [POSIX] (SEEK_CUR): Likewise.
11774 [POSIX] (SEEK_END): Likewise.
11775 [POSIX || UNIX98] (mode_t): Do not require.
11776 [POSIX] (off_t): Likewise.
11777 [POSIX] (pid_t): Likewise.
11778 [POSIX] (sys/stat.h): Do not allow header.
11779 [POSIX] (unistd.h): Likewise.
11780 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11781 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11782 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11783 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11784 require.
11785 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11786 sigevent): Specify elements.
11787 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11788 entry.
11789 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11790 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11791
a483863f
JM
11792 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11793 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11794 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11795 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11796 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11797 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11798 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11799 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11800 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11801 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11802 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11803 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11804 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11806 Likewise.
11807 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11808 Likewise.
11809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11810 Likewise.
11811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11812 Likewise.
11813 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11815 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11816 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11817 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11818 Specify lower bound on value.
11819 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11820 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11821 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11822 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11823 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11824 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11825 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11826 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11827 value.
11828 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11829 as optional.
11830 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11831 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11832 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11833 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11834 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11835 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11836 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11837 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11838 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11839 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11840 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11841 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11842 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11843 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11844 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11845 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11846 entry.
11847 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11848 optional.
11849 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11850 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11851 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11852 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11853 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11854 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11855 Likewise.
11856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11857 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11858 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11859 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11860 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11861 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11862 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11863 as optional.
11864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11866 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11867 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11868 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11869 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11870 specify as optional.
11871 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11872 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11873 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11874 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11875 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11876 [XPG3] (NL_LANGMAX): Likewise.
11877 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11878 [POSIX || XPG3] (NL_NMAX): Likewise.
11879 [POSIX || XPG3] (NL_SETMAX): Likewise.
11880 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11881 [XPG3] (NZERO): Likewise.
11882 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11883 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11884 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11885 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11886 (REG_ERANGE): Expect.
11887 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11888 optional-constant.
11889 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11890 Use (void) in prototype.
11891 [POSIX] (*_t): Allow.
11892 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11893 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11894 (WRDE_BADVAL): Expect.
11895
5ba924e3
JM
11896 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11897 expect.
11898 [XPG3 || XPG4] (O_RSYNC): Likewise.
11899 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11900 Likewise.
11901 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11902 [XPG3 || XPG4] (sigqueue): Likewise.
11903 [XPG3 || XPG4] (sigtimedwait): Likewise.
11904 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11905 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11906 [XPG3 || XPG4] (vsnprintf): Likewise.
11907 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11908 Likewise.
11909 [XPG3 || XPG4] (blksize_t): Likewise.
11910 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11911 Likewise.
11912 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11913 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11914 [XPG3 || XPG4] (struct itimerspec): Likewise.
11915 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11916 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11917 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11918 [XPG3 || XPG4] (clockid_t): Likewise.
11919 [XPG3 || XPG4] (timer_t): Likewise.
11920 [XPG3 || XPG4] (clock_getres): Likewise.
11921 [XPG3 || XPG4] (clock_gettime): Likewise.
11922 [XPG3 || XPG4] (clock_settime): Likewise.
11923 [XPG3 || XPG4] (nanosleep): Likewise.
11924 [XPG3 || XPG4] (timer_create): Likewise.
11925 [XPG3 || XPG4] (timer_delete): Likewise.
11926 [XPG3 || XPG4] (timer_gettime): Likewise.
11927 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11928 [XPG3 || XPG4] (timer_settime): Likewise.
11929 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11930 [XPG3 || XPG4] (getlogin_r): Likewise.
11931 [XPG3 || XPG4] (pread): Likewise.
11932 [XPG3 || XPG4] (pthread_atfork): Likewise.
11933 [XPG3 || XPG4] (pwrite): Likewise.
11934
ee663277
JM
11935 [BZ #14835]
11936 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11937 <bits/siginfo.h>.
11938
942caa16
PT
119392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11940
e19af380
PT
11941 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11942 finalizing MALLSTREAM.
11943
942caa16
PT
11944 * sysdeps/mach/hurd/syncfs.c: New file.
11945
cfde9b46
SP
119462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11947
11948 [BZ #14719]
11949 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11950 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11952 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11953 (_nss_dns_gethostbyname4_r): Likewise.
11954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11955 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11956
f6da27e5
PH
119572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11958
11959 [BZ #13763]
11960 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11961
6665d4a2
SM
119622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11963
1f51ee92
SM
11964 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11965 * elf/cache.c (print_entry): Print ",AArch64" for
11966 FLAG_AARCH64_LIB64
11967
6665d4a2
SM
11968 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11969 * elf/cache.c (print_entry): Print ",hard-float" for
11970 FLAG_ARM_LIBHF.
11971
05b227bd
DM
119722012-11-18 David S. Miller <davem@davemloft.net>
11973
11974 With help from Joseph Myers.
11975 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11976 cutoff to 2**-13.
11977 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11978 cutoff to 2**-25.
11979 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11980 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11981 small.
11982 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11983 * math/libm-test.inc (y0_test): New tests.
11984 (y1_test): New tests.
11985 * sysdeps/i386/fpu/libm-test-ulps: Update.
11986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11988
786b0b67
AS
119892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11990
11991 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11992 64-bit targets.
11993 * configure: Regenerated.
11994
8e18b86d
DM
119952012-11-17 David S. Miller <davem@davemloft.net>
11996
11997 [BZ #14811]
11998 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11999 nonzero exponents with absolute value below 0x1p-128 to +/-
12000 0x1p-128.
12001
531f1ae0
JM
120022012-11-17 Joseph Myers <joseph@codesourcery.com>
12003
12df29e2
JM
12004 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12005
150dc1a0
JM
12006 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12007
531f1ae0
JM
12008 * posix/getconf-speclist.c: New file.
12009 * posix/posix-envs.def: Likewise.
12010 * posix/confstr.c (START_ENV_GROUP): New macro.
12011 (END_ENV_GROUP): Likewise.
12012 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12013 (KNOWN_PRESENT_ENV_STRING): Likewise.
12014 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12015 (UNKNOWN_ENVIRONMENT): Likewise.
12016 (confstr): Include posix-envs.def instead of handling
12017 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12018 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12019 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12020 (END_ENV_GROUP): Likewise.
12021 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12022 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12023 (UNKNOWN_ENVIRONMENT): Likewise.
12024 (__sysconf): Include posix-envs.def instead of handling associated
12025 cases directly here.
12026 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12027 preprocessing getconf-speclist.c rather than running getconf or
12028 generating empty file.
12029
a93f9cbc
PT
120302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12031
12032 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12033
d64d9f87
AL
120342012-11-16 Andrej Lajovic <natrij@gmail.com>
12035
12036 [BZ #14672]
12037 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12038
447885eb
DM
120392012-11-16 David S. Miller <davem@davemloft.net>
12040
12041 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12042 smaller than LDBL_EPSILON/2.0L, just return xm1.
12043
bcbf9830
L
120442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12045
12046 * elf/tst-array1.c (init): Set constructor priority to 1000.
12047 (fini): Set destructor priority to 1000.
12048 * elf/tst-array2dep.c: Likewise.
12049
2b766585
SP
120502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 [BZ #11741]
12053 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12054 (_IO_new_file_xsputn): Also return EOF if none of the input
12055 data was written when overflow failed.
12056 * libio/iopadn.c (_IO_padn): Likewise.
12057 * libio/iowpadn.c (_IO_wpadn): Likewise.
12058 * stdio-common/tst-put-error.c: Add copyright notice.
12059 (do_test): Add case for printing padded string.
12060 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12061 _IO_padn returned error.
12062 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12063 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12064 return EOF.
12065
b1848fde
SP
120662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12067
12068 * libio/libioP.h: Add comment note that the references to C++
12069 bits are now obsolete.
12070
2fd89785
MS
120712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12072
12073 * math/libm-test.inc (check_complex): Use asprintf.
12074
e3ea5409
JM
120752012-11-14 Joseph Myers <joseph@codesourcery.com>
12076
12077 * debug/pcprofiledump.c (print_version): Update copyright year.
12078 * malloc/memusagestat.c (print_version): Likewise.
12079
2e64d265
L
120802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12081
12082 [BZ #14831]
12083 * elf/Makefile (tests): Add tst-audit8.
12084 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12085 ($(objpfx)tst-audit8.out): New target.
12086 (tst-audit8-ENV): New variable.
12087 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12088 audit if l_reloc_result is NULL.
12089 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12090 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12091 * elf/tst-audit8.c: New file.
12092
c485e4d2
MS
120932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12094
12095 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12096 * misc/Makefile (CFLAGS-select.c): Define.
12097 * posix/Makefile (CFLAGS-pause.c): Define.
12098
3a0d900a
DM
120992012-11-13 David S. Miller <davem@davemloft.net>
12100
12101 * crypt/Makefile: Move test targets after toplevel Rules
12102 inclusion. Grab any necessary sysdep routines when linking.
12103 * crypt/md5.c (md5_process_block): Remove define, we will always
12104 name it __md5_process_block.
12105 (md5_finish_ctx): Update md5_process_block call.
12106 (md5_stream): Likewise.
12107 (md5_process_bytes): Likewise.
12108 (md5_process_block): Rename to __md5_process_block and move to ...
12109 * crypt/md5-block.c: ... here.
12110 * crypt/sha256.c (sha256_process_block): Move to ...
12111 * crypt/sha256-block.c: ... here.
12112 * crypt/sha512.c (sha512_process_block): Move to ...
12113 * crypt/sha512-block.c: ... here.
12114 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12115 path.
12116 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12117 * sysdeps/sparc/sparc64/multiarch/Makefile
12118 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12119 crypt subdir.
12120 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12121 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12122 multiarch changes.
12123 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12124 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12125 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12126 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12127 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12128 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12130 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12132 file.
12133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12134 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12135 file.
12136 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12137
8ca89318
JM
121382012-11-13 Joseph Myers <joseph@codesourcery.com>
12139
e27d476a
JM
12140 * timezone/tzselect.ksh: Update from tzcode git revision
12141 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12142 * timezone/zdump.c: Likewise.
12143 * timezone/zic.c: Likewise.
12144 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12145 in TZVERSION setting, not $(PKGVERSION).
12146 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12147 REPORT_BUGS_TO settings.
12148
8ca89318
JM
12149 [BZ #14838]
12150 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12151 macro.
12152
47594329
MS
121532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12154
12155 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12156 detection to immediately after _FP_ROUND().
12157 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12158 bits are 0.
12159
640ac3f1
DM
121602012-11-11 David S. Miller <davem@davemloft.net>
12161
12162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12163 inttypes.h
12164 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12165 __close rather than their public counterparts.
12166
3d2577bb
JM
121672012-11-10 Joseph Myers <joseph@codesourcery.com>
12168
12169 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12170 file.
12171 [UNIX98] (sem_timedwait): Do not expect.
12172 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12173 [XPG4 || UNIX98] (sockatmark): Do not expect.
12174 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12175 (clock_getcpuclockid): Do not expect.
12176 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12177 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12178 Do not expect.
12179 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12180 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12181 [UNIX98] (vwscanf): Likewise.
12182 [UNIX98] (vswscanf): Likewise.
12183
fb1ae1ee
JM
121842012-11-09 Joseph Myers <joseph@codesourcery.com>
12185
9ec6f8bd
JM
12186 * timezone/version.h: Remove file.
12187 * timezone/README: Do not refer to version.h.
12188 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12189 $(objpfx)version.h.
12190 ($(objpfx)zdump.o): Likewise.
c3f81911 12191 ($(objpfx)version.h): New target.
9ec6f8bd 12192
0aa8f8a1
JM
12193 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12194 2012i.
12195 * timezone/README: Don't mention modification to tzselect.ksh.
12196 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12197 work on unmodified tzselect.ksh. Substitute version numbers in
12198 tzselect.ksh.
12199
4e87147f
JM
12200 * Makefile (format-me): Remove.
12201 (INSTALL): Adjust indentation. Use commands directly instead of
12202 using $(format-me).
12203
8b748aed
JM
12204 * aclocal.m4 (ACX_PKGVERSION): New macro.
12205 (ACX_BUGURL): Likewise.
12206 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12207 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12208 (REPORT_BUGS_TO): Likewise.
12209 * configure: Regenerated.
12210 * config.h.in (PKGVERSION): New macro.
12211 (REPORT_BUGS_TO): Likewise.
12212 * config.make.in (PKGVERSION): New variable.
12213 (PKGVERSION_TEXI): Likewise.
12214 (REPORT_BUGS_TO): Likewise.
12215 (REPORT_BUGS_TEXI): Likewise.
12216 * Makefile (format-me): Use -I$(common-objpfx)manual.
12217 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12218 ($(common-objpfx)manual/%): New target.
12219 (manual/%): Remove target.
12220 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12221 (print_version): Use PKGVERSION.
12222 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12223 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12224 and REPORT_BUGS_TO.
12225 ($(objpfx)xtrace): Likewise.
12226 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12227 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12228 (print_version): Use PKGVERSION.
12229 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12230 (do_version): Use PKGVERSION.
12231 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12232 REPORT_BUGS_TO.
12233 (common-ldd-rewrite): Likewise.
12234 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12235 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12236 (print_version): Use PKGVERSION.
12237 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12238 * elf/pldd.c (argp_program_bug_address): Remove variable.
12239 (more_help): New function.
12240 (argp): Use more_help.
12241 (print_version): Use PKGVERSION.
12242 * elf/sln.c (main): Use PKGVERSION.
12243 (usage): Use REPORT_BUGS_TO.
12244 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12245 (top level): Use PKGVERSION.
12246 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12247 (print_version): Use PKGVERSION.
12248 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12249 (print_version): Use PKGVERSION.
12250 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12251 (print_version): Use PKGVERSION.
12252 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12253 (print_version): Use PKGVERSION.
12254 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12255 (print_version): Use PKGVERSION.
12256 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12257 (print_version): Use PKGVERSION.
12258 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12259 and BUGURL.
12260 ($(objpfx)memusage): Likewise.
12261 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12262 (do_version): Use PKGVERSION.
12263 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12264 (print_version): Use PKGVERSION.
12265 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12266 ($PKGVERSION): New variable.
12267 ($REPORT_BUGS_TO): Likewise.
12268 (usage): Use $REPORT_BUGS_TO.
12269 (top level): Use $PKGVERSION.
12270 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12271 ($(objpfx)pkgvers.texi): New rule.
12272 ($(objpfx)stamp-pkgvers): Likewise.
12273 * manual/install.texi: Include pkgvers.texi.
12274 (--with-pkgversion): Document new configure option.
12275 (--with-bugurl): Likewise.
12276 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12277 than necessarily for this particular distribution. Use
12278 REPORT_BUGS_TO for where to report bugs.
12279 * INSTALL: Regenerated.
12280 * manual/libc.texinfo: Include pkgvers.texi.
12281 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12282 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12283 (print_version): Use PKGVERSION.
12284 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12285 (print_version): Use PKGVERSION.
12286 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12287 (print_version): Use PKGVERSION.
12288 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12289 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12290 macro.
12291 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12292 (print_version): Use PKGVERSION.
12293 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12294 (print_version): Use PKGVERSION.
12295 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12296 and PKGVERSION.
12297
92e4b6a9
JM
12298 * timezone/checktab.awk: Update from tzcode 2012i.
12299 * timezone/ialloc.c: Likewise.
12300 * timezone/private.h: Likewise.
12301 * timezone/scheck.c: Likewise.
12302 * timezone/tzfile.h: Likewise.
12303 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12304 (TZVERSION): Hardcode tzcode version number.
12305 * timezone/zdump.c: Update from tzcode 2012i.
12306 * timezone/zic.c: Likewise.
12307 * timezone/version.h: New file.
12308 * timezone/README: Describe version.h. Update upstream location.
12309
9bde902c
JM
12310 [BZ #14824]
12311 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12312 (mktemp): Enable declaration.
12313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12317 Likewise.
12318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12319 Likewise.
12320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12321 Likewise.
12322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12323 Likewise.
12324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12325 Likewise.
12326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12327 Likewise.
12328
fb1ae1ee
JM
12329 [BZ #14821]
12330 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12331 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12332 for copies of such integer values.
12333 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12334 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12335
2c1adbcb
AJ
123362012-11-09 Andreas Jaeger <aj@suse.de>
12337
12338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12339 definitions and declarations that are provided by
12340 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12341
d0f8457e
AK
123422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12343
3a235abb 12344 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12345 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12346 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12347 definition.
12348
57241e26
MS
123492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12350
12351 * elf/elf.h: Update comment before AArch64 relocations.
12352
60e8270d
DM
123532012-11-07 David S. Miller <davem@davemloft.net>
12354
12355 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12356 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12357 (__start_context): Declare.
12358 (__makecontext_ret): Delete.
12359 (__makecontext): Hook up __start_context instead of
12360 __makecontext_ret.
12361 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12362 (sysdep_routines): Add __start_context when in stdlib.
12363
0fbb0fbc
JM
123642012-11-07 Joseph Myers <joseph@codesourcery.com>
12365
12366 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12367 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12368 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12369 hardcoded "nm".
12370 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12371 (READELF): New variable. Use it instead of hardcoded "readelf".
12372
eb48db7e
L
123732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12374
12375 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12376 * sysdeps/x86/Makefile: Here.
12377 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12378 * sysdeps/x86/tst-xmmymm.sh: This.
12379
05bcf62a
JM
123802012-11-07 Joseph Myers <joseph@codesourcery.com>
12381
c4b6cf53
JM
12382 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12383 expectations.
12384 [UNIX98] (pthread_barrier_t): Do not expect.
12385 [UNIX98] (pthread_barrierattr_t): Likewise.
12386 [UNIX98] (pthread_spinlock_t): Likewise.
12387 [UNIX98] (pthread_barrier_destroy): Likewise.
12388 [UNIX98] (pthread_barrier_init): Likewise.
12389 [UNIX98] (pthread_barrier_wait): Likewise.
12390 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12391 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12392 [UNIX98] (pthread_barrierattr_init): Likewise.
12393 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12394 [UNIX98] (pthread_getcpuclockid): Likewise.
12395 [UNIX98] (pthread_mutex_timedlock): Likewise.
12396 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12397 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12398 [UNIX98] (pthread_sigmask): Likewise.
12399 [UNIX98] (pthread_spin_destroy): Likewise.
12400 [UNIX98] (pthread_spin_init): Likewise.
12401 [UNIX98] (pthread_spin_lock): Likewise.
12402 [UNIX98] (pthread_spin_trylock): Likewise.
12403 [UNIX98] (pthread_spin_unlock): Likewise.
12404 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12405 Do not expect.
12406 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12408 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12409 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12410 [XPG3 || XPG4] (pthread_key_t): Likewise.
12411 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12412 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12413 [XPG3 || XPG4] (pthread_once_t): Likewise.
12414 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12415 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12416 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12417 [XPG3 || XPG4] (pthread_t): Likewise.
12418
cbe6e120
JM
12419 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12420 not expect.
12421 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12422
1b126443
JM
12423 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12424 Change function return type to int.
12425
b961a573
JM
12426 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12427 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12428 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12429 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12430 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12431 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12432 [!POSIX] (posix_madvise): Likewise.
12433 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12434 && !UNIX98].
12435 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12436 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12437 (mode_t): Likewise.
12438 (posix_mem_offset): Likewise.
12439 (posix_typed_mem_get_info): Likewise.
12440 (posix_typed_mem_open): Likewise.
12441
9e188909
JM
12442 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12443 Change condition to [XOPEN2K8].
12444
05bcf62a
JM
12445 * conform/conformtest.pl: Preprocess allow-header data with -x c
12446 instead of from stdin.
12447 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12448 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12449 [C99-based standards] (cerfc): Likewise.
12450 [C99-based standards] (cexp2): Likewise.
12451 [C99-based standards] (cexpm1): Likewise.
12452 [C99-based standards] (clog10): Likewise.
12453 [C99-based standards] (clog1p): Likewise.
12454 [C99-based standards] (clog2): Likewise.
12455 [C99-based standards] (clgamma): Likewise.
12456 [C99-based standards] (ctgamma): Likewise.
12457 [C99-based standards] (cerff): Likewise.
12458 [C99-based standards] (cerfcf): Likewise.
12459 [C99-based standards] (cexp2f): Likewise.
12460 [C99-based standards] (cexpm1f): Likewise.
12461 [C99-based standards] (clog10f): Likewise.
12462 [C99-based standards] (clog1pf): Likewise.
12463 [C99-based standards] (clog2f): Likewise.
12464 [C99-based standards] (clgammaf): Likewise.
12465 [C99-based standards] (ctgammaf): Likewise.
12466 [C99-based standards] (cerfl): Likewise.
12467 [C99-based standards] (cerfcl): Likewise.
12468 [C99-based standards] (cexp2l): Likewise.
12469 [C99-based standards] (cexpm1l): Likewise.
12470 [C99-based standards] (clog10l): Likewise.
12471 [C99-based standards] (clog1pl): Likewise.
12472 [C99-based standards] (clog2l): Likewise.
12473 [C99-based standards] (clgammal): Likewise.
12474 [C99-based standards] (ctgammal): Likewise.
12475 * conform/data/inttypes.h-data [C99-based standards]: Include
12476 stdint.h-data. Remove all expectations for stdint.h contents.
12477 [C99-based standards] (PRI*): Do not allow.
12478 [C99-based standards] (SCN*): Likewise.
12479 [C99-based standards] (*_t): Likewise.
12480 [C99-based-standards] (PRId8): Expect macro.
12481 [C99-based-standards] (PRIi8): Likewise.
12482 [C99-based-standards] (PRIo8): Likewise.
12483 [C99-based-standards] (PRIu8): Likewise.
12484 [C99-based-standards] (PRIx8): Likewise.
12485 [C99-based-standards] (PRIX8): Likewise.
12486 [C99-based-standards] (SCNd8): Likewise.
12487 [C99-based-standards] (SCNi8): Likewise.
12488 [C99-based-standards] (SCNo8): Likewise.
12489 [C99-based-standards] (SCNu8): Likewise.
12490 [C99-based-standards] (SCNx8): Likewise.
12491 [C99-based-standards] (PRIdLEAST8): Likewise.
12492 [C99-based-standards] (PRIiLEAST8): Likewise.
12493 [C99-based-standards] (PRIoLEAST8): Likewise.
12494 [C99-based-standards] (PRIuLEAST8): Likewise.
12495 [C99-based-standards] (PRIxLEAST8): Likewise.
12496 [C99-based-standards] (PRIXLEAST8): Likewise.
12497 [C99-based-standards] (SCNdLEAST8): Likewise.
12498 [C99-based-standards] (SCNiLEAST8): Likewise.
12499 [C99-based-standards] (SCNoLEAST8): Likewise.
12500 [C99-based-standards] (SCNuLEAST8): Likewise.
12501 [C99-based-standards] (SCNxLEAST8): Likewise.
12502 [C99-based-standards] (PRIdFAST8): Likewise.
12503 [C99-based-standards] (PRIiFAST8): Likewise.
12504 [C99-based-standards] (PRIoFAST8): Likewise.
12505 [C99-based-standards] (PRIuFAST8): Likewise.
12506 [C99-based-standards] (PRIxFAST8): Likewise.
12507 [C99-based-standards] (PRIXFAST8): Likewise.
12508 [C99-based-standards] (SCNdFAST8): Likewise.
12509 [C99-based-standards] (SCNiFAST8): Likewise.
12510 [C99-based-standards] (SCNoFAST8): Likewise.
12511 [C99-based-standards] (SCNuFAST8): Likewise.
12512 [C99-based-standards] (SCNxFAST8): Likewise.
12513 [C99-based-standards] (PRId16): Likewise.
12514 [C99-based-standards] (PRIi16): Likewise.
12515 [C99-based-standards] (PRIo16): Likewise.
12516 [C99-based-standards] (PRIu16): Likewise.
12517 [C99-based-standards] (PRIx16): Likewise.
12518 [C99-based-standards] (PRIX16): Likewise.
12519 [C99-based-standards] (SCNd16): Likewise.
12520 [C99-based-standards] (SCNi16): Likewise.
12521 [C99-based-standards] (SCNo16): Likewise.
12522 [C99-based-standards] (SCNu16): Likewise.
12523 [C99-based-standards] (SCNx16): Likewise.
12524 [C99-based-standards] (PRIdLEAST16): Likewise.
12525 [C99-based-standards] (PRIiLEAST16): Likewise.
12526 [C99-based-standards] (PRIoLEAST16): Likewise.
12527 [C99-based-standards] (PRIuLEAST16): Likewise.
12528 [C99-based-standards] (PRIxLEAST16): Likewise.
12529 [C99-based-standards] (PRIXLEAST16): Likewise.
12530 [C99-based-standards] (SCNdLEAST16): Likewise.
12531 [C99-based-standards] (SCNiLEAST16): Likewise.
12532 [C99-based-standards] (SCNoLEAST16): Likewise.
12533 [C99-based-standards] (SCNuLEAST16): Likewise.
12534 [C99-based-standards] (SCNxLEAST16): Likewise.
12535 [C99-based-standards] (PRIdFAST16): Likewise.
12536 [C99-based-standards] (PRIiFAST16): Likewise.
12537 [C99-based-standards] (PRIoFAST16): Likewise.
12538 [C99-based-standards] (PRIuFAST16): Likewise.
12539 [C99-based-standards] (PRIxFAST16): Likewise.
12540 [C99-based-standards] (PRIXFAST16): Likewise.
12541 [C99-based-standards] (SCNdFAST16): Likewise.
12542 [C99-based-standards] (SCNiFAST16): Likewise.
12543 [C99-based-standards] (SCNoFAST16): Likewise.
12544 [C99-based-standards] (SCNuFAST16): Likewise.
12545 [C99-based-standards] (SCNxFAST16): Likewise.
12546 [C99-based-standards] (PRId32): Likewise.
12547 [C99-based-standards] (PRIi32): Likewise.
12548 [C99-based-standards] (PRIo32): Likewise.
12549 [C99-based-standards] (PRIu32): Likewise.
12550 [C99-based-standards] (PRIx32): Likewise.
12551 [C99-based-standards] (PRIX32): Likewise.
12552 [C99-based-standards] (SCNd32): Likewise.
12553 [C99-based-standards] (SCNi32): Likewise.
12554 [C99-based-standards] (SCNo32): Likewise.
12555 [C99-based-standards] (SCNu32): Likewise.
12556 [C99-based-standards] (SCNx32): Likewise.
12557 [C99-based-standards] (PRIdLEAST32): Likewise.
12558 [C99-based-standards] (PRIiLEAST32): Likewise.
12559 [C99-based-standards] (PRIoLEAST32): Likewise.
12560 [C99-based-standards] (PRIuLEAST32): Likewise.
12561 [C99-based-standards] (PRIxLEAST32): Likewise.
12562 [C99-based-standards] (PRIXLEAST32): Likewise.
12563 [C99-based-standards] (SCNdLEAST32): Likewise.
12564 [C99-based-standards] (SCNiLEAST32): Likewise.
12565 [C99-based-standards] (SCNoLEAST32): Likewise.
12566 [C99-based-standards] (SCNuLEAST32): Likewise.
12567 [C99-based-standards] (SCNxLEAST32): Likewise.
12568 [C99-based-standards] (PRIdFAST32): Likewise.
12569 [C99-based-standards] (PRIiFAST32): Likewise.
12570 [C99-based-standards] (PRIoFAST32): Likewise.
12571 [C99-based-standards] (PRIuFAST32): Likewise.
12572 [C99-based-standards] (PRIxFAST32): Likewise.
12573 [C99-based-standards] (PRIXFAST32): Likewise.
12574 [C99-based-standards] (SCNdFAST32): Likewise.
12575 [C99-based-standards] (SCNiFAST32): Likewise.
12576 [C99-based-standards] (SCNoFAST32): Likewise.
12577 [C99-based-standards] (SCNuFAST32): Likewise.
12578 [C99-based-standards] (SCNxFAST32): Likewise.
12579 [C99-based-standards] (PRId64): Likewise.
12580 [C99-based-standards] (PRIi64): Likewise.
12581 [C99-based-standards] (PRIo64): Likewise.
12582 [C99-based-standards] (PRIu64): Likewise.
12583 [C99-based-standards] (PRIx64): Likewise.
12584 [C99-based-standards] (PRIX64): Likewise.
12585 [C99-based-standards] (SCNd64): Likewise.
12586 [C99-based-standards] (SCNi64): Likewise.
12587 [C99-based-standards] (SCNo64): Likewise.
12588 [C99-based-standards] (SCNu64): Likewise.
12589 [C99-based-standards] (SCNx64): Likewise.
12590 [C99-based-standards] (PRIdLEAST64): Likewise.
12591 [C99-based-standards] (PRIiLEAST64): Likewise.
12592 [C99-based-standards] (PRIoLEAST64): Likewise.
12593 [C99-based-standards] (PRIuLEAST64): Likewise.
12594 [C99-based-standards] (PRIxLEAST64): Likewise.
12595 [C99-based-standards] (PRIXLEAST64): Likewise.
12596 [C99-based-standards] (SCNdLEAST64): Likewise.
12597 [C99-based-standards] (SCNiLEAST64): Likewise.
12598 [C99-based-standards] (SCNoLEAST64): Likewise.
12599 [C99-based-standards] (SCNuLEAST64): Likewise.
12600 [C99-based-standards] (SCNxLEAST64): Likewise.
12601 [C99-based-standards] (PRIdFAST64): Likewise.
12602 [C99-based-standards] (PRIiFAST64): Likewise.
12603 [C99-based-standards] (PRIoFAST64): Likewise.
12604 [C99-based-standards] (PRIuFAST64): Likewise.
12605 [C99-based-standards] (PRIxFAST64): Likewise.
12606 [C99-based-standards] (PRIXFAST64): Likewise.
12607 [C99-based-standards] (SCNdFAST64): Likewise.
12608 [C99-based-standards] (SCNiFAST64): Likewise.
12609 [C99-based-standards] (SCNoFAST64): Likewise.
12610 [C99-based-standards] (SCNuFAST64): Likewise.
12611 [C99-based-standards] (SCNxFAST64): Likewise.
12612 [C99-based-standards] (PRIdMAX): Likewise.
12613 [C99-based-standards] (PRIiMAX): Likewise.
12614 [C99-based-standards] (PRIoMAX): Likewise.
12615 [C99-based-standards] (PRIuMAX): Likewise.
12616 [C99-based-standards] (PRIxMAX): Likewise.
12617 [C99-based-standards] (PRIXMAX): Likewise.
12618 [C99-based-standards] (SCNdMAX): Likewise.
12619 [C99-based-standards] (SCNiMAX): Likewise.
12620 [C99-based-standards] (SCNoMAX): Likewise.
12621 [C99-based-standards] (SCNuMAX): Likewise.
12622 [C99-based-standards] (SCNxMAX): Likewise.
12623 [C99-based-standards] (PRIdPTR): Likewise.
12624 [C99-based-standards] (PRIiPTR): Likewise.
12625 [C99-based-standards] (PRIoPTR): Likewise.
12626 [C99-based-standards] (PRIuPTR): Likewise.
12627 [C99-based-standards] (PRIxPTR): Likewise.
12628 [C99-based-standards] (PRIXPTR): Likewise.
12629 [C99-based-standards] (SCNdPTR): Likewise.
12630 [C99-based-standards] (SCNiPTR): Likewise.
12631 [C99-based-standards] (SCNoPTR): Likewise.
12632 [C99-based-standards] (SCNuPTR): Likewise.
12633 [C99-based-standards] (SCNxPTR): Likewise.
12634 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12635 allow.
12636 * conform/data/stdint.h-data: Update comments to clarify
12637 requirements.
12638 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12639 type.
12640 [C99-based standards] (INT8_MAX): Likewise.
12641 [C99-based standards] (INT16_MIN): Likewise.
12642 [C99-based standards] (INT16_MAX): Likewise.
12643 [C99-based standards] (INT32_MIN): Likewise.
12644 [C99-based standards] (INT32_MAX): Likewise.
12645 [C99-based standards] (INT64_MIN): Likewise.
12646 [C99-based standards] (INT64_MAX): Likewise.
12647 [C99-based standards] (UINT8_MAX): Likewise.
12648 [C99-based standards] (UINT16_MAX): Likewise.
12649 [C99-based standards] (UINT32_MAX): Likewise.
12650 [C99-based standards] (UINT64_MAX): Likewise.
12651 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12652 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12653 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12654 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12655 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12656 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12657 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12658 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12659 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12660 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12661 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12662 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12663 [C99-based standards] (INT_FAST8_MIN): Likewise.
12664 [C99-based standards] (INT_FAST8_MAX): Likewise.
12665 [C99-based standards] (INT_FAST16_MIN): Likewise.
12666 [C99-based standards] (INT_FAST16_MAX): Likewise.
12667 [C99-based standards] (INT_FAST32_MIN): Likewise.
12668 [C99-based standards] (INT_FAST32_MAX): Likewise.
12669 [C99-based standards] (INT_FAST64_MIN): Likewise.
12670 [C99-based standards] (INT_FAST64_MAX): Likewise.
12671 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12672 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12673 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12674 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12675 [C99-based standards] (INTPTR_MIN): Likewise.
12676 [C99-based standards] (INTPTR_MAX): Likewise.
12677 [C99-based standards] (UINTPTR_MAX): Likewise.
12678 [C99-based standards] (INTMAX_MIN): Likewise.
12679 [C99-based standards] (INTMAX_MAX): Likewise.
12680 [C99-based standards] (UINTMAX_MAX): Likewise.
12681 [C99-based standards] (PTRDIFF_MIN): Likewise.
12682 [C99-based standards] (PTRDIFF_MAX): Likewise.
12683 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12684 [C99-based standards] (SIZE_MAX): Likewise.
12685 [C99-based standards] (WCHAR_MAX): Likewise.
12686 [C99-based standards] (WINT_MAX): Likewise.
12687 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12688 constraint on value.
12689 [C99-based standards] (WCHAR_MIN): Likewise.
12690 [C99-based standards] (WINT_MIN): Likewise.
12691 [C99-based standards] (*_t): Allow.
12692 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12693 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12694 Include math.h-data and complex.h-data. Remove all expectations
12695 of math.h and complex.h contents.
12696 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12697 at end of line.
12698 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12699 (struct tm): Expect tag.
12700 [C99-based-standards] (wcstof): Expect function.
12701 [C99-based-standards] (wcstold): Likewise.
12702 [C99-based-standards] (wcstoll): Likewise.
12703 [C99-based-standards] (wcstoull): Likewise.
12704 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12705 macro-int-constant. Specify type.
12706 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12707 constraint on value.
12708 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12709 Specify type.
12710 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12711 Specify value.
12712 [ISO C standards]: Do not allow headers.
12713 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12714 wcs[abcdefghijklmnopqrstuvwxyz]*.
12715 [ISO C standards] (*_t): Do not allow.
12716 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12717 Expect function.
12718 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12719 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12720 Specify type.
12721 [ISO C standards]: Do not allow headers.
12722 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12723 is[abcdefghijklmnopqrstuvwxyz]*.
12724 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12725 to[abcdefghijklmnopqrstuvwxyz]*.
12726 [ISO C standards] (*_t): Do not allow.
12727 * conform/data/stdalign.h-data: New file.
12728 * conform/data/stdbool.h-data: Likewise.
12729 * conform/data/stdnoreturn.h-data: Likewise.
12730
7514feb8
RM
127312012-11-07 Roland McGrath <roland@hack.frob.com>
12732
12733 [BZ #14815]
12734 * manual/filesys.texi (Directory Entries): Typo fix.
12735 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12736
19b2ecfc
MS
127372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12738
12739 * elf/elf.h (EM_AARCH64): New macro.
12740 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12741 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12742 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12743 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12744 (R_AARCH64_TLSDESC): Likewise.
12745 (NT_ARM_TLS): Likewise.
12746 (NT_ARM_HW_BREAK): Likewise.
12747 (NT_ARM_HW_WATCH): Likewise.
12748
60e235ee
JM
127492012-11-07 Joseph Myers <joseph@codesourcery.com>
12750
12751 [BZ #14811]
12752 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12753 (__ieee754_powl): Saturate nonzero exponents with absolute value
12754 below 0x1p-79 to +/- 0x1p-79.
12755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12756 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12757 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12758 nonzero exponents with absolute value below 0x1p-32 to +/-
12759 0x1p-32.
12760 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12761 (__ieee754_powl): Saturate nonzero exponents with absolute value
12762 below 0x1p-79 to +/- 0x1p-79.
12763 * math/libm-test.inc (pow_test): Add more tests.
12764
0ab234b7
AK
127652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12766
12767 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12768 _dl_s390_cap_flags with kernel. Increase string length.
12769 (_dl_s390_platforms): Add z196 and zEC12.
12770
45832f74
JM
127712012-11-07 Joseph Myers <joseph@codesourcery.com>
12772
12773 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12774 Change XOPEN21K to XOPEN2K.
12775
19218757
MK
127762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12777
12778 * string/memmove.c: Use memcpy when possible.
12779
c5f45721
AJ
127802012-11-06 Andreas Jaeger <aj@suse.de>
12781
12782 * po/eo.po: Update from translation team.
12783
82477c28
JM
127842012-11-06 Joseph Myers <joseph@codesourcery.com>
12785
12786 [BZ #14793]
12787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12788 exponent and small x and y exponents, scale x or y up. Increase
12789 by 2 the exponent used in scaling up.
12790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12792 * math/libm-test.inc (fma_test): Add more tests.
12793 (fma_test_towardzero): Likewise.
12794 (fma_test_downward): Likewise.
12795 (fma_test_upward): Likewise.
12796
99252c8c
JM
127972012-11-05 Joseph Myers <joseph@codesourcery.com>
12798
acfa885f
JM
12799 [BZ #14805]
12800 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12801 fenv_t *.
12802
99252c8c
JM
12803 [BZ #14801]
12804 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12805 namespace for names of struct fields.
12806 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12807 fenv_t fields.
12808 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12809 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12810
d6d98dea
ST
128112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12812
12813 [BZ #3665]
12814 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12815
e10bb107
TS
128162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12817
12818 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12819 PTR_DEMANGLE.
12820
12821 [BZ #5246]
12822 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12823 PTR_DEMANGLE.
12824
a0c2940d
JM
128252012-11-04 Joseph Myers <joseph@codesourcery.com>
12826
12827 [BZ #14797]
12828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12829 definitely overflow as x * y not x * y + z.
12830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12832 * math/libm-test.inc (fma_test): Add more tests.
12833 (fma_test_towardzero): Likewise.
12834 (fma_test_downward): Likewise.
12835 (fma_test_upward): Likewise.
12836
b830319d
TS
128372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12838
12839 [BZ #157]
12840
12841 * include/stub-tag.h: Remove file.
12842 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12843 '#include' of it.
12844 * manual/maint.texi (Porting): Don't reference it.
12845 * Makerules ($(objpfx)stubs): Likewise.
12846 * dirent/closedir.c: Don't include <stub-tag.h>.
12847 * dirent/dirfd.c: Likewise.
12848 * dirent/fdopendir.c: Likewise.
12849 * dirent/getdents.c: Likewise.
12850 * dirent/getdents64.c: Likewise.
12851 * dirent/opendir.c: Likewise.
12852 * dirent/readdir.c: Likewise.
12853 * dirent/readdir64.c: Likewise.
12854 * dirent/readdir64_r.c: Likewise.
12855 * dirent/readdir_r.c: Likewise.
12856 * dirent/rewinddir.c: Likewise.
12857 * dirent/seekdir.c: Likewise.
12858 * dirent/telldir.c: Likewise.
12859 * gmon/profil.c: Likewise.
12860 * grp/setgroups.c: Likewise.
12861 * inet/if_index.c: Likewise.
12862 * io/access.c: Likewise.
12863 * io/chdir.c: Likewise.
12864 * io/chmod.c: Likewise.
12865 * io/chown.c: Likewise.
12866 * io/close.c: Likewise.
12867 * io/dup.c: Likewise.
12868 * io/dup2.c: Likewise.
12869 * io/dup3.c: Likewise.
12870 * io/euidaccess.c: Likewise.
12871 * io/faccessat.c: Likewise.
12872 * io/fchdir.c: Likewise.
12873 * io/fchmod.c: Likewise.
12874 * io/fchmodat.c: Likewise.
12875 * io/fchown.c: Likewise.
12876 * io/fchownat.c: Likewise.
12877 * io/fcntl.c: Likewise.
12878 * io/flock.c: Likewise.
12879 * io/fstatfs.c: Likewise.
12880 * io/fstatfs64.c: Likewise.
12881 * io/fstatvfs.c: Likewise.
12882 * io/fstatvfs64.c: Likewise.
12883 * io/futimens.c: Likewise.
12884 * io/fxstat.c: Likewise.
12885 * io/fxstat64.c: Likewise.
12886 * io/fxstatat.c: Likewise.
12887 * io/fxstatat64.c: Likewise.
12888 * io/getcwd.c: Likewise.
12889 * io/isatty.c: Likewise.
12890 * io/lchmod.c: Likewise.
12891 * io/lchown.c: Likewise.
12892 * io/link.c: Likewise.
12893 * io/linkat.c: Likewise.
12894 * io/lseek.c: Likewise.
12895 * io/lseek64.c: Likewise.
12896 * io/lxstat64.c: Likewise.
12897 * io/mkdir.c: Likewise.
12898 * io/mkdirat.c: Likewise.
12899 * io/mkfifo.c: Likewise.
12900 * io/mkfifoat.c: Likewise.
12901 * io/open.c: Likewise.
12902 * io/open64.c: Likewise.
12903 * io/openat.c: Likewise.
12904 * io/openat64.c: Likewise.
12905 * io/pipe.c: Likewise.
12906 * io/pipe2.c: Likewise.
12907 * io/poll.c: Likewise.
12908 * io/posix_fadvise.c: Likewise.
12909 * io/posix_fadvise64.c: Likewise.
12910 * io/posix_fallocate.c: Likewise.
12911 * io/posix_fallocate64.c: Likewise.
12912 * io/read.c: Likewise.
12913 * io/readlink.c: Likewise.
12914 * io/readlinkat.c: Likewise.
12915 * io/rmdir.c: Likewise.
12916 * io/sendfile.c: Likewise.
12917 * io/sendfile64.c: Likewise.
12918 * io/statfs.c: Likewise.
12919 * io/statfs64.c: Likewise.
12920 * io/statvfs.c: Likewise.
12921 * io/statvfs64.c: Likewise.
12922 * io/symlink.c: Likewise.
12923 * io/symlinkat.c: Likewise.
12924 * io/ttyname.c: Likewise.
12925 * io/ttyname_r.c: Likewise.
12926 * io/umask.c: Likewise.
12927 * io/unlink.c: Likewise.
12928 * io/unlinkat.c: Likewise.
12929 * io/utime.c: Likewise.
12930 * io/utimensat.c: Likewise.
12931 * io/write.c: Likewise.
12932 * io/xmknod.c: Likewise.
12933 * io/xmknodat.c: Likewise.
12934 * io/xstat.c: Likewise.
12935 * io/xstat64.c: Likewise.
12936 * login/getpt.c: Likewise.
12937 * login/grantpt.c: Likewise.
12938 * login/unlockpt.c: Likewise.
12939 * math/e_acoshl.c: Likewise.
12940 * math/e_acosl.c: Likewise.
12941 * math/e_asinl.c: Likewise.
12942 * math/e_atan2l.c: Likewise.
12943 * math/e_atanhl.c: Likewise.
12944 * math/e_coshl.c: Likewise.
12945 * math/e_expl.c: Likewise.
12946 * math/e_fmodl.c: Likewise.
12947 * math/e_gammal_r.c: Likewise.
12948 * math/e_hypotl.c: Likewise.
12949 * math/e_j0l.c: Likewise.
12950 * math/e_j1l.c: Likewise.
12951 * math/e_jnl.c: Likewise.
12952 * math/e_lgammal_r.c: Likewise.
12953 * math/e_log10l.c: Likewise.
12954 * math/e_log2l.c: Likewise.
12955 * math/e_logl.c: Likewise.
12956 * math/e_powl.c: Likewise.
12957 * math/e_rem_pio2l.c: Likewise.
12958 * math/e_sinhl.c: Likewise.
12959 * math/e_sqrtl.c: Likewise.
12960 * math/fclrexcpt.c: Likewise.
12961 * math/fedisblxcpt.c: Likewise.
12962 * math/feenablxcpt.c: Likewise.
12963 * math/fegetenv.c: Likewise.
12964 * math/fegetexcept.c: Likewise.
12965 * math/fegetround.c: Likewise.
12966 * math/feholdexcpt.c: Likewise.
12967 * math/fesetenv.c: Likewise.
12968 * math/fesetround.c: Likewise.
12969 * math/feupdateenv.c: Likewise.
12970 * math/fgetexcptflg.c: Likewise.
12971 * math/fraiseexcpt.c: Likewise.
12972 * math/fsetexcptflg.c: Likewise.
12973 * math/ftestexcept.c: Likewise.
12974 * math/k_cosl.c: Likewise.
12975 * math/k_rem_pio2l.c: Likewise.
12976 * math/k_sinl.c: Likewise.
12977 * math/k_tanl.c: Likewise.
12978 * math/s_asinhl.c: Likewise.
12979 * math/s_atanl.c: Likewise.
12980 * math/s_cbrtl.c: Likewise.
12981 * math/s_erfl.c: Likewise.
12982 * math/s_expm1l.c: Likewise.
12983 * math/s_log1pl.c: Likewise.
12984 * math/s_tanhl.c: Likewise.
12985 * misc/acct.c: Likewise.
12986 * misc/brk.c: Likewise.
12987 * misc/chflags.c: Likewise.
12988 * misc/chroot.c: Likewise.
12989 * misc/fchflags.c: Likewise.
12990 * misc/fgetxattr.c: Likewise.
12991 * misc/flistxattr.c: Likewise.
12992 * misc/fremovexattr.c: Likewise.
12993 * misc/fsetxattr.c: Likewise.
12994 * misc/fsync.c: Likewise.
12995 * misc/ftruncate.c: Likewise.
12996 * misc/futimes.c: Likewise.
12997 * misc/futimesat.c: Likewise.
12998 * misc/getdomain.c: Likewise.
12999 * misc/getdtsz.c: Likewise.
13000 * misc/gethostid.c: Likewise.
13001 * misc/gethostname.c: Likewise.
13002 * misc/getloadavg.c: Likewise.
13003 * misc/getpagesize.c: Likewise.
13004 * misc/getsysstats.c: Likewise.
13005 * misc/getxattr.c: Likewise.
13006 * misc/gtty.c: Likewise.
13007 * misc/ioctl.c: Likewise.
13008 * misc/lgetxattr.c: Likewise.
13009 * misc/listxattr.c: Likewise.
13010 * misc/llistxattr.c: Likewise.
13011 * misc/lremovexattr.c: Likewise.
13012 * misc/lsetxattr.c: Likewise.
13013 * misc/lutimes.c: Likewise.
13014 * misc/madvise.c: Likewise.
13015 * misc/mincore.c: Likewise.
13016 * misc/mlock.c: Likewise.
13017 * misc/mlockall.c: Likewise.
13018 * misc/mmap.c: Likewise.
13019 * misc/mprotect.c: Likewise.
13020 * misc/msync.c: Likewise.
13021 * misc/munlock.c: Likewise.
13022 * misc/munlockall.c: Likewise.
13023 * misc/munmap.c: Likewise.
13024 * misc/preadv.c: Likewise.
13025 * misc/preadv64.c: Likewise.
13026 * misc/ptrace.c: Likewise.
13027 * misc/pwritev.c: Likewise.
13028 * misc/pwritev64.c: Likewise.
13029 * misc/readv.c: Likewise.
13030 * misc/reboot.c: Likewise.
13031 * misc/remap_file_pages.c: Likewise.
13032 * misc/removexattr.c: Likewise.
13033 * misc/revoke.c: Likewise.
13034 * misc/select.c: Likewise.
13035 * misc/setdomain.c: Likewise.
13036 * misc/setegid.c: Likewise.
13037 * misc/seteuid.c: Likewise.
13038 * misc/sethostid.c: Likewise.
13039 * misc/sethostname.c: Likewise.
13040 * misc/setregid.c: Likewise.
13041 * misc/setreuid.c: Likewise.
13042 * misc/setxattr.c: Likewise.
13043 * misc/sstk.c: Likewise.
13044 * misc/stty.c: Likewise.
13045 * misc/swapoff.c: Likewise.
13046 * misc/swapon.c: Likewise.
13047 * misc/sync.c: Likewise.
13048 * misc/syncfs.c: Likewise.
13049 * misc/syscall.c: Likewise.
13050 * misc/truncate.c: Likewise.
13051 * misc/ualarm.c: Likewise.
13052 * misc/usleep.c: Likewise.
13053 * misc/ustat.c: Likewise.
13054 * misc/utimes.c: Likewise.
13055 * misc/vhangup.c: Likewise.
13056 * misc/writev.c: Likewise.
13057 * posix/_exit.c: Likewise.
13058 * posix/alarm.c: Likewise.
13059 * posix/execve.c: Likewise.
13060 * posix/fexecve.c: Likewise.
13061 * posix/fork.c: Likewise.
13062 * posix/fpathconf.c: Likewise.
13063 * posix/getaddrinfo.c: Likewise.
13064 * posix/getegid.c: Likewise.
13065 * posix/geteuid.c: Likewise.
13066 * posix/getgid.c: Likewise.
13067 * posix/getgroups.c: Likewise.
13068 * posix/getlogin.c: Likewise.
13069 * posix/getlogin_r.c: Likewise.
13070 * posix/getpgid.c: Likewise.
13071 * posix/getpid.c: Likewise.
13072 * posix/getppid.c: Likewise.
13073 * posix/getresgid.c: Likewise.
13074 * posix/getresuid.c: Likewise.
13075 * posix/getsid.c: Likewise.
13076 * posix/getuid.c: Likewise.
13077 * posix/glob64.c: Likewise.
13078 * posix/nanosleep.c: Likewise.
13079 * posix/pathconf.c: Likewise.
13080 * posix/pause.c: Likewise.
13081 * posix/posix_madvise.c: Likewise.
13082 * posix/pread.c: Likewise.
13083 * posix/pread64.c: Likewise.
13084 * posix/pwrite.c: Likewise.
13085 * posix/pwrite64.c: Likewise.
13086 * posix/sched_getaffinity.c: Likewise.
13087 * posix/sched_getp.c: Likewise.
13088 * posix/sched_gets.c: Likewise.
13089 * posix/sched_primax.c: Likewise.
13090 * posix/sched_primin.c: Likewise.
13091 * posix/sched_rr_gi.c: Likewise.
13092 * posix/sched_setaffinity.c: Likewise.
13093 * posix/sched_setp.c: Likewise.
13094 * posix/sched_sets.c: Likewise.
13095 * posix/sched_yield.c: Likewise.
13096 * posix/setgid.c: Likewise.
13097 * posix/setlogin.c: Likewise.
13098 * posix/setpgid.c: Likewise.
13099 * posix/setresgid.c: Likewise.
13100 * posix/setresuid.c: Likewise.
13101 * posix/setsid.c: Likewise.
13102 * posix/setuid.c: Likewise.
13103 * posix/sleep.c: Likewise.
13104 * posix/spawni.c: Likewise.
13105 * posix/sysconf.c: Likewise.
13106 * posix/times.c: Likewise.
13107 * posix/wait.c: Likewise.
13108 * posix/wait3.c: Likewise.
13109 * posix/wait4.c: Likewise.
13110 * posix/waitpid.c: Likewise.
13111 * resolv/gai_sigqueue.c: Likewise.
13112 * resource/getpriority.c: Likewise.
13113 * resource/getrlimit.c: Likewise.
13114 * resource/getrusage.c: Likewise.
13115 * resource/nice.c: Likewise.
13116 * resource/setpriority.c: Likewise.
13117 * resource/setrlimit.c: Likewise.
13118 * resource/ulimit.c: Likewise.
13119 * rt/aio_cancel.c: Likewise.
13120 * rt/aio_fsync.c: Likewise.
13121 * rt/aio_read.c: Likewise.
13122 * rt/aio_sigqueue.c: Likewise.
13123 * rt/aio_suspend.c: Likewise.
13124 * rt/aio_write.c: Likewise.
13125 * rt/clock_getres.c: Likewise.
13126 * rt/clock_gettime.c: Likewise.
13127 * rt/clock_nanosleep.c: Likewise.
13128 * rt/clock_settime.c: Likewise.
13129 * rt/lio_listio.c: Likewise.
13130 * rt/mq_close.c: Likewise.
13131 * rt/mq_getattr.c: Likewise.
13132 * rt/mq_notify.c: Likewise.
13133 * rt/mq_open.c: Likewise.
13134 * rt/mq_receive.c: Likewise.
13135 * rt/mq_send.c: Likewise.
13136 * rt/mq_setattr.c: Likewise.
13137 * rt/mq_timedreceive.c: Likewise.
13138 * rt/mq_timedsend.c: Likewise.
13139 * rt/mq_unlink.c: Likewise.
13140 * rt/shm_open.c: Likewise.
13141 * rt/shm_unlink.c: Likewise.
13142 * rt/timer_create.c: Likewise.
13143 * rt/timer_delete.c: Likewise.
13144 * rt/timer_getoverr.c: Likewise.
13145 * rt/timer_gettime.c: Likewise.
13146 * rt/timer_settime.c: Likewise.
13147 * setjmp/__longjmp.c: Likewise.
13148 * setjmp/setjmp.c: Likewise.
13149 * signal/kill.c: Likewise.
13150 * signal/killpg.c: Likewise.
13151 * signal/raise.c: Likewise.
13152 * signal/sigaction.c: Likewise.
13153 * signal/sigaltstack.c: Likewise.
13154 * signal/sigblock.c: Likewise.
13155 * signal/sigignore.c: Likewise.
13156 * signal/sigintr.c: Likewise.
13157 * signal/signal.c: Likewise.
13158 * signal/sigpause.c: Likewise.
13159 * signal/sigpending.c: Likewise.
13160 * signal/sigqueue.c: Likewise.
13161 * signal/sigreturn.c: Likewise.
13162 * signal/sigset.c: Likewise.
13163 * signal/sigsetmask.c: Likewise.
13164 * signal/sigstack.c: Likewise.
13165 * signal/sigsuspend.c: Likewise.
13166 * signal/sigtimedwait.c: Likewise.
13167 * signal/sigvec.c: Likewise.
13168 * signal/sigwait.c: Likewise.
13169 * signal/sigwaitinfo.c: Likewise.
13170 * signal/sysv_signal.c: Likewise.
13171 * socket/accept.c: Likewise.
13172 * socket/accept4.c: Likewise.
13173 * socket/bind.c: Likewise.
13174 * socket/connect.c: Likewise.
13175 * socket/getpeername.c: Likewise.
13176 * socket/getsockname.c: Likewise.
13177 * socket/getsockopt.c: Likewise.
13178 * socket/isfdtype.c: Likewise.
13179 * socket/listen.c: Likewise.
13180 * socket/recv.c: Likewise.
13181 * socket/recvfrom.c: Likewise.
13182 * socket/recvmsg.c: Likewise.
13183 * socket/send.c: Likewise.
13184 * socket/sendmsg.c: Likewise.
13185 * socket/sendto.c: Likewise.
13186 * socket/setsockopt.c: Likewise.
13187 * socket/shutdown.c: Likewise.
13188 * socket/sockatmark.c: Likewise.
13189 * socket/socket.c: Likewise.
13190 * socket/socketpair.c: Likewise.
13191 * stdio-common/ctermid.c: Likewise.
13192 * stdio-common/cuserid.c: Likewise.
13193 * stdio-common/remove.c: Likewise.
13194 * stdio-common/rename.c: Likewise.
13195 * stdio-common/renameat.c: Likewise.
13196 * stdio-common/tempname.c: Likewise.
13197 * stdlib/getcontext.c: Likewise.
13198 * stdlib/makecontext.c: Likewise.
13199 * stdlib/setcontext.c: Likewise.
13200 * stdlib/swapcontext.c: Likewise.
13201 * stdlib/system.c: Likewise.
13202 * streams/fattach.c: Likewise.
13203 * streams/fdetach.c: Likewise.
13204 * streams/getmsg.c: Likewise.
13205 * streams/getpmsg.c: Likewise.
13206 * streams/putmsg.c: Likewise.
13207 * streams/putpmsg.c: Likewise.
13208 * sysdeps/unix/bsd/getpt.c: Likewise.
13209 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13210 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13211 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13213 Likewise.
13214 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13215 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13216 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13217 * sysvipc/msgctl.c: Likewise.
13218 * sysvipc/msgget.c: Likewise.
13219 * sysvipc/msgrcv.c: Likewise.
13220 * sysvipc/msgsnd.c: Likewise.
13221 * sysvipc/semctl.c: Likewise.
13222 * sysvipc/semget.c: Likewise.
13223 * sysvipc/semop.c: Likewise.
13224 * sysvipc/semtimedop.c: Likewise.
13225 * sysvipc/shmat.c: Likewise.
13226 * sysvipc/shmctl.c: Likewise.
13227 * sysvipc/shmdt.c: Likewise.
13228 * sysvipc/shmget.c: Likewise.
13229 * termios/tcdrain.c: Likewise.
13230 * termios/tcflow.c: Likewise.
13231 * termios/tcflush.c: Likewise.
13232 * termios/tcgetattr.c: Likewise.
13233 * termios/tcgetpgrp.c: Likewise.
13234 * termios/tcsendbrk.c: Likewise.
13235 * termios/tcsetattr.c: Likewise.
13236 * termios/tcsetpgrp.c: Likewise.
13237 * time/adjtime.c: Likewise.
13238 * time/clock.c: Likewise.
13239 * time/getitimer.c: Likewise.
13240 * time/gettimeofday.c: Likewise.
13241 * time/setitimer.c: Likewise.
13242 * time/settimeofday.c: Likewise.
13243 * time/stime.c: Likewise.
13244 * time/time.c: Likewise.
13245
132462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13247
a20492cf
PT
13248 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13249 /usr/old/bin.
13250
72e182e3
PT
13251 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13252 instead of spaces.
13253 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13254
fbeafede
JM
132552012-11-03 Joseph Myers <joseph@codesourcery.com>
13256
5b5b04d6
JM
13257 [BZ #14796]
13258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13259 FE_TONEAREST before applying Dekker multiplication and Knuth
13260 addition. Clear inexact exceptions and check for exact zero
13261 results afterwards.
13262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13265 * math/libm-test.inc (fma_test): Add more tests.
13266 (fma_test_towardzero): Likewise.
13267 (fma_test_downward): Likewise.
13268 (fma_test_upward): Likewise.
13269 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13270 function.
13271 (libc_fesetround): New macro.
13272 (libc_fesetroundf): Likewise.
13273 (libc_fesetroundl): Likewise.
13274 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13275 function.
13276 (libc_fesetround_387): Likewise.
13277 (libc_fesetroundf): New macro.
13278 (libc_fesetround): Likewise.
13279 (libc_fesetroundl): Likewise.
13280 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13281 function.
13282 (libc_fesetroundf): New macro.
13283 (libc_fesetround): Likewise.
13284 (libc_fesetroundl): Likewise.
13285 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13286 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13287 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13288 libm_hidden_ver.
13289 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13290 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13291 libm_hidden_def.
13292 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13293 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13294 libm_hidden_ver.
13295 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13296 libm_hidden_def.
13297
fbeafede
JM
13298 [BZ #3439]
13299 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13300 integer constant usable in #if and use that to give value to enum
13301 constant.
13302 (FE_DIVBYZERO): Likewise.
13303 (FE_UNDERFLOW): Likewise.
13304 (FE_OVERFLOW): Likewise.
13305 (FE_INVALID): Likewise.
13306 (FE_INVALID_SNAN): Likewise.
13307 (FE_INVALID_ISI): Likewise.
13308 (FE_INVALID_IDI): Likewise.
13309 (FE_INVALID_ZDZ): Likewise.
13310 (FE_INVALID_IMZ): Likewise.
13311 (FE_INVALID_COMPARE): Likewise.
13312 (FE_INVALID_SOFTWARE): Likewise.
13313 (FE_INVALID_SQRT): Likewise.
13314 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13315 (FE_TONEAREST): Likewise.
13316 (FE_TOWARDZERO): Likewise.
13317 (FE_UPWARD): Likewise.
13318 (FE_DOWNWARD): Likewise.
13319 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13320 (FE_DIVBYZERO): Likewise.
13321 (FE_OVERFLOW): Likewise.
13322 (FE_UNDERFLOW): Likewise.
13323 (FE_INEXACT): Likewise.
13324 (FE_TONEAREST): Likewise.
13325 (FE_DOWNWARD): Likewise.
13326 (FE_UPWARD): Likewise.
13327 (FE_TOWARDZERO): Likewise.
13328 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13329 (FE_UNDERFLOW): Likewise.
13330 (FE_OVERFLOW): Likewise.
13331 (FE_DIVBYZERO): Likewise.
13332 (FE_INVALID): Likewise.
13333 (FE_TONEAREST): Likewise.
13334 (FE_TOWARDZERO): Likewise.
13335 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13336 (FE_OVERFLOW): Likewise.
13337 (FE_UNDERFLOW): Likewise.
13338 (FE_DIVBYZERO): Likewise.
13339 (FE_INEXACT): Likewise.
13340 (FE_TONEAREST): Likewise.
13341 (FE_TOWARDZERO): Likewise.
13342 (FE_UPWARD): Likewise.
13343 (FE_DOWNWARD): Likewise.
13344 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13345 (FE_DIVBYZERO): Likewise.
13346 (FE_OVERFLOW): Likewise.
13347 (FE_UNDERFLOW): Likewise.
13348 (FE_INEXACT): Likewise.
13349 (FE_TONEAREST): Likewise.
13350 (FE_DOWNWARD): Likewise.
13351 (FE_UPWARD): Likewise.
13352 (FE_TOWARDZERO): Likewise.
13353
105ca950
CM
133542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13355
13356 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13357
a542b389
AS
133582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13359
13360 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13361 commands. Quote $PWD.
13362 (blacklist_exports): Don't use remove_newlines. Replace "declare
13363 -x" by "export".
13364 (remove_newlines): Remove.
13365
f62c8abc
L
133662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13369 * stdlib/stdlib.h (atof): Moved to ...
13370 * include/bits/stdlib-float.h: Here. New file.
13371 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13372 * stdlib/bits/stdlib-float.h: New file.
13373 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13374 -mno-sse -mno-mmx.
13375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13376 <xmmintrin.h>.
13377
0155d5b2
JM
133782012-11-02 Joseph Myers <joseph@codesourcery.com>
13379
a68d0680
JM
13380 * conform/conformtest.pl (@headers): Add fenv.h.
13381 * conform/data/fenv.h-data: New file.
13382 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13383 include of <math/fenv.h>.
13384
caf7f573
JM
13385 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13386 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13387 && !UNIX98]. Enables tests for XOPEN2K8.
13388 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13389 POSIX2008]: Likewise.
13390
6c073ad6
JM
13391 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13392 (struct rusage): Do not expect type or its members.
13393
0155d5b2
JM
13394 [BZ #3439]
13395 * math/math.h (FP_NAN): Define macro to integer constant usable in
13396 #if and use that to give value to enum constant.
13397 (FP_INFINITE): Likewise.
13398 (FP_ZERO): Likewise.
13399 (FP_SUBNORMAL): Likewise.
13400 (FP_NORMAL): Likewise.
13401
b5dcacb4
AS
134022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13403
13404 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13405 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13406 arguments.
13407
f7934be8
RM
134082012-11-02 Roland McGrath <roland@hack.frob.com>
13409
13410 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13411 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13412 autoconf-time if not.
13413 * configure.in: Remove AC_PREREQ.
13414
d7d08bde
TMQMF
134152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13416
13417 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13418 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13419 of the internal implementation.
13420
dcdae19a
JM
134212012-11-02 Joseph Myers <joseph@codesourcery.com>
13422
13423 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13424 except include of <misc/sys/syslog.h>.
13425
d6cffd3e
AS
134262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13429 function returns with a NULL context exit with zero.
13430
b3563932
TMQMF
134312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13432
13433 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13434
b288a93d
L
134352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13438 (run_program_cmd): This.
13439 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13440 (tst_langinfo): New variable. Use it.
13441
a2421a68
SAS
134422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13443
13444 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13445 floating point opcodes.
13446
6f796e1b
TS
134472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13448
7402596b
TS
13449 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13450 variable.
13451
d0d4f868
TS
13452 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13453
6f796e1b
TS
13454 * sysdeps/mach/hurd/powerpc: Remove directory.
13455 * sysdeps/mach/powerpc: Likewise.
13456
4da224a2
AS
134572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13458
13459 * scripts/check-local-headers.sh: Ignore c++ headers.
13460
341dd673
TS
134612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13462
13463 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13464 __libc_cleanup_region_start argument.
13465
473611b2
JM
134662012-11-01 Joseph Myers <joseph@codesourcery.com>
13467
13468 [BZ #14784]
13469 [BZ #14785]
13470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13471 x * y using scaling, not as x * y + z.
13472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13474 * math/libm-test.inc (fma_test): Add more tests.
13475 (fma_test_towardzero): Likewise.
13476 (fma_test_downward): Likewise.
13477 (fma_test_upward): Likewise.
13478
4078da3d
TS
134792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13480
13481 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13482
903252aa
JM
134832012-10-31 Joseph Myers <joseph@codesourcery.com>
13484
13485 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13486 New variable.
13487
cbc818d0
TS
134882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13489
13490 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13491
5a03cb1e
AS
134922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13493
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13495 Fix sort order.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13497 Likewise.
13498
90aff2ff
TMQMF
134992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13500
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13502 Fix the order of the list for glibc 2.17.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13504 Likewise.
13505
1818fcb7
AS
135062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13507
13508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13509
ef82f4da
JM
135102012-10-31 Joseph Myers <joseph@codesourcery.com>
13511
16a0e2ec
JM
13512 [BZ #14610]
13513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13514 for low part of x being zero before using __atanl (y).
13515 * math/libm-test.inc (atan2_test): Add another test.
13516
0eb69512
JM
13517 * manual/install.texi (Configuring and compiling): Document
13518 general use of test-wrapper and test-wrapper-env.
13519 * INSTALL: Regenerated.
13520
ef82f4da
JM
13521 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13522 (__fma): Do not extract and scale down low bits on after-rounding
13523 systems when result rounded to normal precision would have normal
13524 exponent.
13525 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13526 (__fmal): Do not extract and scale down low bits on after-rounding
13527 systems when result rounded to normal precision would have normal
13528 exponent.
13529 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13530 (__fmal): Do not extract and scale down low bits on after-rounding
13531 systems when result rounded to normal precision would have normal
13532 exponent.
13533 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13534 macro.
13535 (fma_test): Add more tests.
13536 (fma_test_towardzero): Likewise.
13537 (fma_test_downward): Likewise.
13538 (fma_test_upward): Likewise.
13539
954ef0d9
L
135402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/i386/tininess.h: Renamed to ...
13543 * sysdeps/x86/tininess.h: This.
13544 * sysdeps/x86_64/tininess.h: Removed.
13545
df61ffb2
JM
135462012-10-30 Joseph Myers <joseph@codesourcery.com>
13547
13548 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13549 input. Use $(build-program-cmd).
13550 ($(objpfx)tst-array1-static.out): Likewise.
13551 ($(objpfx)tst-array2.out): Likewise.
13552 ($(objpfx)tst-array3.out): Likewise.
13553 ($(objpfx)tst-array4.out): Likewise.
13554 ($(objpfx)tst-array5.out): Likewise.
13555 ($(objpfx)tst-array5-static.out): Likewise.
13556
01767843
CM
135572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13558
47cc1490
CM
13559 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13560 if defined.
13561
01767843
CM
13562 * nss/nsswitch.h (nss_interface_function): Provide new
13563 macro for use with NSS functions.
13564 * grp/initgroups.c: Use new macro.
13565 * nss/getXXbyYY.c: Likewise.
13566 * nss/getXXbyYY_r.c: Likewise.
13567 * nss/getXXent.c: Likewise.
13568 * nss/getXXent_r.c: Likewise.
13569 * sysdeps/posix/getaddrinfo.c: Likewise.
13570
8321aa97
AJ
135712012-10-30 Andreas Jaeger <aj@suse.de>
13572
13573 * po/ru.po: Update Russion translation from translation project.
13574
2a27fd6d
JM
135752012-10-30 Joseph Myers <joseph@codesourcery.com>
13576
8627a232
JM
13577 [BZ #14152]
13578 [BZ #14783]
13579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13580 result and shift together with sticky bit instead of replicating
13581 round-to-nearest rounding.
13582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13584 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13585 missing underflow exceptions.
13586 (fma_test_towardzero): Add more tests.
13587 (fma_test_downward): Likewise.
13588 (fma_test_upward): Likewise.
13589
2a27fd6d
JM
13590 [BZ #14047]
13591 * sysdeps/generic/tininess.h: New file.
13592 * sysdeps/i386/tininess.h: Likewise.
13593 * sysdeps/sh/tininess.h: Likewise.
13594 * sysdeps/x86_64/tininess.h: Likewise.
13595 * stdlib/tst-strtod-underflow.c: Likewise.
13596 * stdlib/tst-tininess.c: Likewise.
13597 * stdlib/strtod_l.c: Include <tininess.h>.
13598 (round_and_return): Do not set errno for exact underflow cases.
13599 Force an underflow exception when setting errno for underflow.
13600 Determine underflow based on rounding to normal precision if
13601 TININESS_AFTER_ROUNDING.
13602 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13603 ERANGE for exact underflow cases.
13604 * stdlib/Makefile (tests): Add tst-tininess and
13605 tst-strtod-underflow.
13606 ($(objpfx)tst-tininess): Use $(link-libm).
13607 ($(objpfx)tst-strtod-underflow): Likewise.
13608
e7170363
AJ
136092012-10-30 Andreas Jaeger <aj@suse.de>
13610
e5088dc6
AJ
13611 [BZ#14767]
13612 * elf/Makefile (tests): Remove conditional for have-initfini-array
13613 since this is now always required and the variable does not exist
13614 anymore.
13615 (tests-static): Likewise.
13616 (modules-names): Likewise.
13617
e7170363 13618 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13619
13620 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13621 merged with constructor/destructor.
13622 (init_array): Likewise.
13623 * elf/tst-array2dep.c (fini_array): Likewise.
13624 (init_array): Likewise.
13625
60457d8a
MF
136262012-10-29 Mike Frysinger <vapier@gentoo.org>
13627
13628 * manual/message.texi: Delete @cartouche tags.
13629
8bece752
PT
136302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13631
94ce799f
PT
13632 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13633 EOPNOTSUPP.
13634 * sysdeps/mach/hurd/fsync.c: Likewise.
13635
8bece752
PT
13636 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13637 [_POSIX_REALTIME_SIGNALS]: Change condition to
13638 [_POSIX_REALTIME_SIGNALS > 0].
13639
86ebe6b1
AJ
136402012-10-27 Andreas Jaeger <aj@suse.de>
13641
13642 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13643 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13645 [__WORDSIZE != 64]: Likewise.
13646
54399c08
L
136472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 * iconvdata/tst-table.sh: Remove ${SHELL}.
13650 * iconvdata/tst-tables.sh: Likewise.
13651
e2211bed
DM
136522012-10-25 David S. Miller <davem@davemloft.net>
13653
13654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13655 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13656 of strtoull.
13657
f303f97c
DM
13658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13659 ifunc-impl-list.c
13660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13661 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13662 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13663 file.
13664
1e9d84cd
RM
136652012-10-25 Roland McGrath <roland@hack.frob.com>
13666
13667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13668 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13669 __getdirentries.
13670
df381762
JM
136712012-10-25 Joseph Myers <joseph@codesourcery.com>
13672 Jim Blandy <jimb@codesourcery.com>
13673
13674 * scripts/cross-test-ssh.sh: New file.
13675 * manual/install.texi (Configuring and compiling): Document use of
13676 cross-test-ssh.sh.
13677 * INSTALL: Regenerated.
13678
bff64913
PT
136792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13680
13681 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13682 EOPNOTSUPP.
13683
25fe8932
JM
136842012-10-25 Joseph Myers <joseph@codesourcery.com>
13685
13686 * Makeconfig (run-program-prefix): Fix comment.
13687
cc1290d0
JM
136882012-10-24 Joseph Myers <joseph@codesourcery.com>
13689 Jim Blandy <jimb@codesourcery.com>
13690
13691 * Makeconfig (test-wrapper): New variable,
13692 (test-wrapper-env): Likewise.
13693 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13694 (run-built-tests): Define to yes.
13695 (run-program-prefix): Use $(test-wrapper).
13696 (built-program-cmd): Likewise.
13697 * Rules (make-test-out): Use $(test-wrapper-env) and
13698 $(host-built-program-cmd).
13699 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13700 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13701 tst-pathopt.sh.
13702 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13703 $(test-wrapper-env) to tst-rtld-load-self.sh.
13704 ($(objpfx)order2.out): Use $(test-wrapper).
13705 ($(objpfx)tst-initorder.out): Likewise.
13706 ($(objpfx)tst-initorder2.out): Likewise.
13707 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13708 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13709 (test_wrapper_env): New variable. Use it to run ld.so.
13710 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13711 Use it to run ld.so.
13712 (test_wrapper_env): Likewise.
13713 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13714 $(test-wrapper) to run-iconv-test.sh.
13715 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13716 (ICONV): Use $test_wrapper.
13717 * posix/Makefile ($(objpfx)globtest.out): Pass
13718 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13719 globtest.sh, not $(run-program-prefix).
13720 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13721 (test_wrapper): Likewise.
13722 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13723 set together with run_via_rtld_prefix.
13724 (run_program_prefix): Define in terms of test_wrapper and
13725 run_via_rtld_prefix.
13726
6e6249d0
RM
137272012-10-24 Roland McGrath <roland@hack.frob.com>
13728
13729 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13730 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13731 Targets removed.
13732
13733 [BZ #14743]
13734 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13735 Declare __clock_getres, __clock_gettime, __clock_settime,
13736 __clock_nanosleep, and __clock_getcpuclockid.
13737 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13738 Remove librt_hidden_def (clock_gettime).
13739 * sysdeps/unix/clock_gettime.c: Likewise.
13740 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13742 * rt/clock_getres.c: Define __clock_getres as an alias.
13743 * sysdeps/posix/clock_getres.c: Likewise.
13744 * rt/clock_settime.c: Define __clock_settime as an alias.
13745 * sysdeps/unix/clock_settime.c: Likewise.
13746 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13747 * sysdeps/unix/clock_nanosleep.c: Likewise.
13748 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13749 * rt/clock-compat.c: New file.
13750 * rt/Makefile (librt-routines): Add clock-compat and move
13751 $(clock-routines) to ...
13752 (routines): ... here, new variable.
13753 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13754 Don't add get_clockfreq here.
13755 * rt/Versions (libc: GLIBC_2.17): New version set.
13756 Add clock_* symbols here.
13757 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13759 (GLIBC_2.17): Add clock_* symbols.
13760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13764 Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13766 Likewise.
13767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13771 * NEWS: Mention the move.
13772
13773 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13774 Use __open, __read, __close rather than their public counterparts.
13775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13776 (__get_clockfreq_via_cpuinfo): Likewise.
13777 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13778 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13779
13780 * config.h.in (HAVE_IFUNC): New #undef.
13781 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13782 was successful.
13783 * configure: Regenerated.
13784
0cae3f4b
MF
137852012-10-24 Mike Frysinger <vapier@gentoo.org>
13786
13787 * configure.in: Move READELF check to start of file.
13788 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13789 libc_cv_asm_gnu_indirect_function in the process.
13790 * configure: Regenerated.
13791
8175a253
MF
137922012-10-24 Mike Frysinger <vapier@gentoo.org>
13793
13794 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13795 send the output to /dev/null.
13796 (libc_cv_cc_with_libunwind): Likewise.
13797 (libc_cv_as_noexecstack): Likewise.
13798 * configure: Regenerate.
13799
0708a7d1
JM
138002012-10-24 Joseph Myers <joseph@codesourcery.com>
13801
10b40d85
JM
13802 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13803
0708a7d1
JM
13804 * posix/globtest.sh (TMPDIR): Do not set.
13805 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13806 (testout): Likewise.
13807
9fddec1a
AJ
138082012-10-24 Andreas Jaeger <aj@suse.de>
13809
3a8db22f
AJ
13810 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13811 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13812 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13813 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13814 posix_fadvise64, posix_fallocate64.
13815
9fddec1a
AJ
13816 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13817 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13818 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13819 Likewise.
13820 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13821 Likewise.
13822 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13823
13824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13825 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13826 <bits/fcntl-linux.h>.
13827 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13828
13829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13830 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13831 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13832 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13833 [__WORDSIZE != 64]: Likewise.
13834
ebfd1bbd
JM
138352012-10-23 Joseph Myers <joseph@codesourcery.com>
13836
03ac099f
JM
13837 * Makeconfig (run-built-tests): New variable.
13838 * Rules [$(cross-compiling) = yes]: Change condition to
13839 [$(run-built-tests) = no].
13840 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13841 to [$(run-built-tests) = yes].
13842 * elf/Makefile [$(cross-compiling) = no]: Likewise
13843 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13844 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13845 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13846 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13847 * io/Makefile [$(cross-compiling) = no]: Likewise.
13848 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13849 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13850 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13851 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13852 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13853 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13854 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13855 * string/Makefile [$(cross-compiling) = no]: Likewise.
13856
ebfd1bbd
JM
13857 * posix/Makefile ($(objpfx)globtest.out): Pass
13858 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13859 $(rtld-installed-name).
13860 * posix/globtest.sh (elf_objpfx): Remove variable.
13861 (rtld_installed_name): Likewise.
13862 (library_path): Likewise.
13863 (run_program_prefix): New variable. Use for running globtest
13864 binary.
13865
166bca24
JB
138662012-10-23 Jim Blandy <jimb@codesourcery.com>
13867 Joseph Myers <joseph@codesourcery.com>
13868
13869 * Makeconfig (host-built-program-cmd): New variable.
13870 * elf/Makefile (tst-stackguard1-ARGS): Use
13871 $(host-built-program-cmd).
13872 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13873 (tst-spawn-ARGS): Likewise.
13874 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13875
88866099
JM
138762012-10-23 Joseph Myers <joseph@codesourcery.com>
13877 Jim Blandy <jimb@codesourcery.com>
13878
13879 * Makeconfig (run-via-rtld-prefix): New variable.
13880 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13881 (built-program-cmd): Likewise.
13882
b4b4c296
AJ
138832012-10-22 Andreas Jaeger <aj@suse.de>
13884
13885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13886 __O_RSYNC if it exists, otherwise to O_SYNC.
13887
6fb54a22
JB
138882012-10-22 Jim Blandy <jimb@codesourcery.com>
13889 Joseph Myers <joseph@codesourcery.com>
13890
13891 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13892 /dev/null.
13893 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13894 from /dev/null
13895 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13896 /dev/null.
13897
481b90b9
AJ
138982012-10-22 Andreas Jaeger <aj@suse.de>
13899
2a0e2669
AJ
13900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13901 Define always.
13902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13903
76e38f9a
AJ
13904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13905 bits/fcntl-linux.h.
13906
7cd37b43
AJ
13907 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13908 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13909
481b90b9
AJ
13910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13911 to __O_LARGEFILE.
13912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13913 to __O_LARGEFILE.
13914
aba75984
JB
139152012-10-21 Jim Blandy <jimb@codesourcery.com>
13916 Joseph Myers <joseph@codesourcery.com>
13917
13918 * config.make.in (NM): New variable.
13919
88d4247f
AJ
139202012-10-21 Andreas Jaeger <aj@suse.de>
13921
13922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13923 definitions and declarations that are provided by
13924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13925
f2eed205
L
139262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13927
13928 [BZ #14683]
13929 * elf/Makefile (tests-static): Add tst-leaks1-static.
13930 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13931 ($(objpfx)tst-leaks1-static): New rule.
13932 ($(objpfx)tst-leaks1-static-mem): Likewise.
13933 (tst-leaks1-static-ENV): New macro.
13934 * elf/dl-open.c (dl_open_worker): Check the main application
13935 only if SHARED is defined.
13936 * elf/tst-leaks1-static.c: New file.
13937
335e6931
AJ
139382012-10-20 Andreas Jaeger <aj@suse.de>
13939
13940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13941 generic values for Linux.
13942 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13943 and declarations that are provided by <bits/fcntl-linux.h> and
13944 include <bits/fcntl-linux.h>.
13945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13947
ac5c94d3
RM
139482012-10-20 Roland McGrath <roland@hack.frob.com>
13949
13950 * io/fcntl.h: Move include of <bits/types.h> to the top and
13951 include it unconditionally.
13952
de54b33a
L
139532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13954
228cfb01
L
13955 * wcsmbs/Makefile (tests-ifunc): New variable.
13956 (tests): Add $(tests-ifunc).
13957 * wcsmbs/test-wcschr-ifunc.c: New file.
13958 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13959 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13960 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13961 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13962 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13963
69f07e5f
L
13964 * string/Makefile (tests-ifunc): New variable.
13965 (tests): Add $(tests-ifunc).
13966 * string/test-memccpy.c (TEST_NAME): New macro.
13967 * string/test-memchr.c (TEST_NAME): Likewise.
13968 * string/test-memcmp.c (TEST_NAME): Likewise.
13969 * string/test-memcpy.c (TEST_NAME): Likewise.
13970 * string/test-memmem.c (TEST_NAME): Likewise.
13971 * string/test-memmove.c (TEST_NAME): Likewise.
13972 * string/test-memset.c (TEST_NAME): Likewise.
13973 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13974 * string/test-stpcpy.c (TEST_NAME): Likewise.
13975 * string/test-stpncpy.c (TEST_NAME): Likewise.
13976 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13977 * string/test-strcasestr.c (TEST_NAME): Likewise.
13978 * string/test-strcat.c (TEST_NAME): Likewise.
13979 * string/test-strchr.c (TEST_NAME): Likewise.
13980 * string/test-strcmp.c(TEST_NAME): Likewise.
13981 * string/test-strcpy.c (TEST_NAME): Likewise.
13982 * string/test-strcspn.c (TEST_NAME): Likewise.
13983 * string/test-strlen.c (TEST_NAME): Likewise.
13984 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13985 * string/test-strncmp.c (TEST_NAME): Likewise.
13986 * string/test-strncpy.c (TEST_NAME): Likewise.
13987 * string/test-strnlen.c (TEST_NAME): Likewise.
13988 * string/test-strpbrk.c (TEST_NAME): Likewise.
13989 * string/test-strrchr.c (TEST_NAME): Likewise.
13990 * string/test-strspn.c (TEST_NAME): Likewise.
13991 * string/test-strstr.c (TEST_NAME): Likewise.
13992 * string/test-bcopy-ifunc.c: New file.
13993 * string/test-bzero-ifunc.c: Likewise.
13994 * string/test-memccpy-ifunc.c: Likewise.
13995 * string/test-memchr-ifunc.c: Likewise.
13996 * string/test-memcmp-ifunc.c: Likewise.
13997 * string/test-memcpy-ifunc.c: Likewise.
13998 * string/test-memmem-ifunc.c: Likewise.
13999 * string/test-memmove-ifunc.c: Likewise.
14000 * string/test-mempcpy-ifunc.c: Likewise.
14001 * string/test-memset-ifunc.c: Likewise.
14002 * string/test-rawmemchr-ifunc.c: Likewise.
14003 * string/test-stpcpy-ifunc.c: Likewise.
14004 * string/test-stpncpy-ifunc.c: Likewise.
14005 * string/test-strcasecmp-ifunc.c: Likewise.
14006 * string/test-strcasestr-ifunc.c: Likewise.
14007 * string/test-strcat-ifunc.c: Likewise.
14008 * string/test-strchr-ifunc.c: Likewise.
14009 * string/test-strchrnul-ifunc.c: Likewise.
14010 * string/test-strcmp-ifunc.c: Likewise.
14011 * string/test-strcpy-ifunc.c: Likewise.
14012 * string/test-strcspn-ifunc.c: Likewise.
14013 * string/test-strlen-ifunc.c: Likewise.
14014 * string/test-strncasecmp-ifunc.c: Likewise.
14015 * string/test-strncat-ifunc.c: Likewise.
14016 * string/test-strncmp-ifunc.c: Likewise.
14017 * string/test-strncpy-ifunc.c: Likewise.
14018 * string/test-strnlen-ifunc.c: Likewise.
14019 * string/test-strpbrk-ifunc.c: Likewise.
14020 * string/test-strrchr-ifunc.c: Likewise.
14021 * string/test-strspn-ifunc.c: Likewise.
14022 * string/test-strstr-ifunc.c: Likewise.
14023
de54b33a
L
14024 * debug/Makefile (tests-ifunc): New variable.
14025 (tests): Add $(tests-ifunc).
14026 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14027 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14028 * debug/test-stpcpy_chk-ifunc.c: New file.
14029 * debug/test-strcpy_chk-ifunc.c: Likewise.
14030
88481c16
SP
140312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14032
14033 [BZ #13601]
14034 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14035 header is not read in.
14036
135948bd
JM
140372012-10-19 Joseph Myers <joseph@codesourcery.com>
14038
89f1c388
JM
14039 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14040 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14041 directly. Pass built executable to script as
14042 $(built-program-cmd).
14043 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14044 $testprogram without using LD_LIBRARY_PATH and $ldso.
14045
e40a0d21
JM
14046 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14047 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14048 $(rtld-installed-name).
14049 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14050 (rtld_installed_name): Likewise.
14051 (library_path): Likewise.
14052 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14053 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14054 $(run-program-prefix) to tst-tables.sh.
14055 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14056 it to run tst-table-from and tst-table-to.
14057 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14058 Pass it to tst-table.sh.
14059 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14060 $(run-program-prefix) to tst-gettext.sh.
14061 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14062 tst-translit.sh.
14063 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14064 tst-gettext2.sh.
14065 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14066 to run tst-gettext.
14067 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14068 to run tst-gettext2.
14069 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14070 to run tst-translit.
14071 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14072 $(run-program-prefix) to tst-mtrace.sh.
14073 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14074 to run tst-mtrace.
14075 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14076 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14077 $(rtld-installed-name).
14078 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14079 (rtld_installed_name): Likewise.
14080 (run_program_prefix): New variable. Use it to run wordexp-test.
14081
728e272a
JM
14082 * Makeconfig (ARCH): Remove all definitions.
14083 (machine): Likewise.
14084 [ARCH]: Remove conditional code.
14085 [!objdir]: Give error.
14086 [!objdir] (objpfx): Remove.
14087 [!objdir] (common-objpfx): Likewise.
14088 [!objdir] (common-objdir): Likewise.
14089 * configure.in (config_makefile): Remove. Hardcode Makefile in
14090 AC_CONFIG_FILES call.
14091 * configure: Regenerated.
14092
d528cdcf
JM
14093 [BZ #13888]
14094 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14095 or TMPDIR.
14096 (testout): Likewise.
14097
135948bd
JM
14098 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14099 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14100 $(rtld-installed-name).
14101 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14102 (rtld_installed_name): Likwise.
14103 (runit): Remove function.
14104 (run_getconf): New variable, Use it for running getconf binary.
14105
38c78296
L
141062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14107
14108 [BZ #14716]
14109 * string/test-memmem.c (check_result): New function.
14110 (do_one_test): Use it.
14111 (check1): New function.
14112 (test_main): Use it.
14113
d077f65f
MT
141142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14115
14116 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14117
ced52c71
JM
141182012-10-18 Joseph Myers <joseph@codesourcery.com>
14119
14120 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14121 (_G_LSEEK64): Likewise.
14122 (_G_MMAP64): Likewise.
14123 (_G_FSTAT64): Likewise.
14124 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14125 (_G_LSEEK64): Likewise.
14126 (_G_MMAP64): Likewise.
14127 (_G_FSTAT64): Likewise.
14128 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14129 unconditional. Call __mmap64 directly.
14130 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14131 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14132 __lseek64 directly.
14133 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14134 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14135 __mmap64 directly.
14136 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14137 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14138 __lseek64 directly.
14139 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14140 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14141 __lseek64 directly.
14142 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14143 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14144 __lseek64 directly.
14145 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14146 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14147 __fxstat64 directly.
14148 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14149 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14150 unconditional.
14151 (freopen64) [!_G_OPEN64]: Remove conditional code.
14152 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14153 unconditional.
14154 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14155 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14156 unconditional.
14157 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14158 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14159 unconditional.
14160 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14161 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14162 unconditional.
14163 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14164 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14165 unconditional.
14166 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14167 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14168 unconditional.
14169 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14170 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14171 unconditional.
14172 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14173
b741de23
SP
141742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14175
14176 [BZ #12140]
14177 * manual/memory.texi (Malloc Tunable Parameters): Add note
14178 about free list pointers overwriting some perturb bytes.
14179 Wording suggested by Roland McGrath.
14180
f9b9d9c9
JM
141812012-10-17 Joseph Myers <joseph@codesourcery.com>
14182
14183 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14184 (lgamma_test): Likewise.
14185 (tgamma_test): Likewise.
14186
172a631a
FW
141872012-10-16 Florian Weimer <fweimer@redhat.com>
14188
14189 [BZ #14700]
14190 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14191 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14192
e9f37252
MK
141932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14194
14195 * NEWS: Mention BZ #14716.
14196 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14197 when removing AVAILABLE1_USES_J macro.
14198
d394eb74
L
141992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14202 (__bswap_64): __uint64_t for unsigned 64-bit int.
14203
ca38dc17
AS
142042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14205
14206 * include/string.h (memmem): Declare libc hidden alias.
14207 * string/memmem.c (memmem): Define libc hidden alias.
14208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14209 __read, __close instead of open, read, close.
14210
9a387d1f
L
142112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14212
ac49ecaf
L
14213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14214 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14215 global and hidden.
14216 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14217 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14218 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14219 Likewise.
14220 (__rawmemchr_sse2): Likewise.
14221 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14222 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14223 (__strchr_sse2): Likewise.
14224 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14225 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14226 (__strcasecmp_sse2): Likewise.
14227 (__strncasecmp_sse2): Likewise.
14228 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14229 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14230 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14231 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14232 (__strrchr_sse2): Likewise.
14233 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14234 ifunc-impl-list.c.
14235 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14236 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14237 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14238 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14239 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14240 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14241 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14242 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14243 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14244 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14245 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14246 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14247 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14248 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14249 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14251 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14252 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14253 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14254 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14255 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14256 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14257 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14258 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14259 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14260 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14261 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14262 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14263 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14264 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14265
b090e8ea
L
14266 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14267 global and hidden.
14268 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14269 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14270 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14271 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14272 Likewise.
14273 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14274 Likewise.
14275 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14276 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14277 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14278 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14279 ifunc-impl-list.c.
14280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14281 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14282 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14283 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14284 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14285 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14286 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14287 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14288 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14289 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14290 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14291 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14292 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14293 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14294 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14295 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14296 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14297 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14298 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14299 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14301 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14302 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14303 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14305 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14306 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14307 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14308 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14309 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14310 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14311 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14312 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14313 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14314 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14315 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14316 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14317 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14318 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14319 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14320 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14321
11dd4af6
L
14322 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14323 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14324 * include/ifunc-impl-list.h: New file.
14325 * misc/ifunc-impl-list.c: Likewise.
14326 * misc/Makefile (routines): Add ifunc-impl-list.
14327 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14328 * string/test-string.h: Include <ifunc-impl-list.h>.
14329 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14330 impl_array): New variables.
14331 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14332 are defined.
14333 (test_init): Call __libc_ifunc_impl_list to initialize
14334 func_list if TEST_IFUNC and TEST_NAME are defined.
14335
9a387d1f
L
14336 * string/Makefile (strop-tests): Add bcopy and bzero.
14337 * string/test-bcopy.c: New file.
14338 * string/test-bzero.c: Likewise.
14339 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14340 defined.
14341 * string/test-memset.c: Support bzero test if TEST_BZERO is
14342 defined.
14343 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14344 __libc_memmove.
14345 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14346 __libc_memset.
14347 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14348 of memset.
14349
472371b9
JM
143502012-10-10 Joseph Myers <joseph@codesourcery.com>
14351
1e4a9536
JM
14352 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14353 * configure: Regenerated.
14354
d173d12e
JM
14355 * Makeconfig (+link-static-before-libc): Don't include
14356 $(link-static-libc).
14357
472371b9
JM
14358 * libio/libio.h (_IO_pos_t): Remove.
14359
89a3ad0b
AO
143602012-10-10 Alexandre Oliva <aoliva@redhat.com>
14361
14362 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14363 McGrath.
14364
e7451425
AO
143652012-10-10 Alexandre Oliva <aoliva@redhat.com>
14366
14367 * crypt/crypt-entry.c: Include fips-private.h.
14368 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14369 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14370 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14371 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14372
4ba74a35
AO
143732012-10-10 Alexandre Oliva <aoliva@redhat.com>
14374
14375 * crypt/crypt-private.h: Include stdbool.h.
14376 (_ufc_setup_salt_r): Return bool.
14377 * crypt/crypt-entry.c: Include errno.h.
14378 (__crypt_r): Return NULL with EINVAL for bad salt.
14379 * crypt/crypt_util.c (bad_for_salt): New.
14380 (_ufc_setup_salt_r): Check that salt is long enough and within
14381 the specified alphabet.
14382 * crypt/badsalttest.c: New file.
14383 * crypt/Makefile (tests): Add it.
14384 ($(objpfx)badsalttest): New.
14385
f96f1242
MK
143862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14387
14388 * NEWS: Add entry for BZ #14602.
14389
0e8e0c1c
JM
143902012-10-09 Joseph Myers <joseph@codesourcery.com>
14391
14392 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14393 type-generic.
14394 * math/libm-test.inc: Update comment listing what functions and
14395 macros are tested.
14396 (isgreater_test): New function.
14397 (isgreaterequal_test): Likewise.
14398 (isless_test): Likewise.
14399 (islessequal_test): Likewise.
14400 (islessgreater_test): Likewise.
14401 (isunordered_test): Likewise.
14402 (main): Call the new functions.
14403
273edc5e
RM
144042012-10-09 Roland McGrath <roland@hack.frob.com>
14405
b8493de0
RM
14406 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14407 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14408 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14409 * sysdeps/i386/configure: Regenerated.
14410 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14411 * sysdeps/mach/configure: Regenerated.
14412 * sysdeps/mach/hurd/configure: Regenerated.
14413 * sysdeps/powerpc/configure: Regenerated.
14414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14416 * sysdeps/s390/s390-32/configure: Regenerated.
14417 * sysdeps/s390/s390-64/configure: Regenerated.
14418 * sysdeps/sh/configure: Regenerated.
14419 * sysdeps/sparc/configure: Regenerated.
14420 * sysdeps/unix/sysv/linux/configure: Regenerated.
14421 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14422 * sysdeps/x86_64/configure: Regenerated.
14423
273edc5e
RM
14424 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14425 defined. Don't check if MAP is NULL.
14426
c8450f70
JM
144272012-10-09 Joseph Myers <joseph@codesourcery.com>
14428
14429 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14430 (_G_stat64): Likewise.
14431 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14432 (_G_stat64): Likewise.
14433 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14434 instead of struct _G_stat64.
14435 * libio/fileops.c (mmap_remap_check): Likewise.
14436 (decide_maybe_mmap): Likewise.
14437 (_IO_new_file_seekoff): Likewise.
14438 (_IO_file_stat): Likewise.
14439 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14440 _G_off64_t.
14441 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14442 instead of struct _G_stat64.
14443 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14444
57e605ba
MK
144452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14446
14447 [BZ #14602]
14448 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14449 Replace with ...
14450 (CHECK_EOL): New macro.
14451 (two_way_short_needle): Check beginning of haystack for EOL. Use
14452 CHECK_EOL.
14453 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14454 Replace with CHECK_EOL.
14455 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14456 Replace with CHECK_EOL.
14457
ef1bb361
JM
144582012-10-08 Joseph Myers <joseph@codesourcery.com>
14459
14460 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14461 type-generic.
14462 * math/libm-test.inc: Update comment listing what functions and
14463 macros are tested.
14464 (finite_test): New function.
14465 (isinf_test): Likewise.
14466 (isnan_test): Likewise.
14467 (fpclassify_test): Test subnormal input.
14468 (isfinite_test): Likewise.
14469 (isnormal_test): Likewise.
14470 (main): Call the new functions.
14471
55f11534
JN
144722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14473
14474 [BZ #14660]
14475 * Makerules (%.dynsym): Force C locale when running
14476 $(OBJDUMP) --dynamic-syms.
14477
1ab29350
AS
144782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14479
14480 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14481 <stdint.h>.
14482
f1ecb7ef
DM
144832012-10-06 David S. Miller <davem@davemloft.net>
14484
14485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14486 upper 32-bits of the length value in %o2 since we use branch-on-register
14487 tests which consider the entire 64-bit register.
14488
5d41d91a
L
144892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14490
14491 * string/test-strstr.c (check2): Add a test for page boundary.
14492
3baddb72
DM
144932012-10-05 David S. Miller <davem@davemloft.net>
14494
14495 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14497 file.
14498 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14499 sysdep_routines.
14500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14501 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14502 and bzero when HWCAP_SPARC_CRYPTO is present.
14503
9cee5585
L
145042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14505
d7e0dab9
L
14506 [BZ #14602]
14507 * string/test-strstr.c (check2): New function.
14508 (test_main): Call check2.
14509
03759f47
L
14510 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14511 and bug-strchr1.
14512 * string/bug-strcasestr1.c (do_test): Moved to ...
14513 * string/test-strcasestr.c (check1): Here. New function.
14514 (do_one_test): Break out result checking code into ...
14515 (check_result): This. New function.
14516 (do_one_test): Call check_result.
14517 (test_main): Call check1.
14518 * string/bug-strchr1.c (do_test): Moved to ...
14519 * string/test-strchr.c (check1): Here. New function.
14520 (do_one_test): Break out result checking code into ...
14521 (check_result): This. New function.
14522 (do_one_test): Call check_result.
14523 (test_main): Call check1.
14524 * string/bug-strstr1.c (main): Moved to ...
046f153e 14525 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14526 (do_one_test): Break out result checking code into ...
14527 (check_result): This. New function.
14528 (do_one_test): Call check_result.
14529 (test_main): Call check1.
14530 * string/bug-strcasestr1.c: Removed.
14531 * string/bug-strchr1.c: Likewise.
14532 * string/bug-strstr1.c: Likewise.
14533
53cea63e
L
14534 * elf/Makefile (dl-routines): Add hwcaps.
14535 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14536 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14537 (_dl_important_hwcaps): Moved to ...
14538 * elf/dl-hwcaps.c: Here. New file.
14539 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14540
9cee5585 14541 [BZ #14557]
bb859b06
L
14542 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14543 if IS_IN_rtld isn't defined.
14544
9cee5585
L
14545 * elf/dl-support.c (_dl_sysinfo_map): New.
14546 Include "get-dynamic-info.h" and "setup-vdso.h".
14547 (_dl_non_dynamic_init): Call setup_vdso.
14548 * elf/dynamic-link.h: Don't include <assert.h>.
14549 (elf_get_dynamic_info): Moved to ...
14550 * elf/get-dynamic-info.h: Here. New file.
14551 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14552 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14553 * elf/setup-vdso.h: Here. New file.
14554 * elf/rtld.c: Include "setup-vdso.h".
14555 (dl_main): Call setup_vdso.
14556
23c31b76
JM
145572012-10-05 Joseph Myers <joseph@codesourcery.com>
14558
28234b07
JM
14559 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14560 creal in comment listing functions tested. List finite, isinf,
14561 isnan, isless, islessequal, isgreater, isgreaterequal,
14562 islessgreater, isunordered, lgamma_r and pow10 as functions and
14563 macros not tested. Mention which functions not tested are aliases
14564 for other functions. Fix typo. Note that signs of NaNs are not
14565 tested.
14566
23c31b76
JM
14567 * scripts/config.guess: Update from config.git.
14568 * scripts/config.sub: Likewise.
14569
9043e228
RM
145702012-10-04 Roland McGrath <roland@hack.frob.com>
14571
14572 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14573 * misc/madvise.c (madvise): Renamed to __madvise.
14574 Make madvise a weak alias.
14575 * include/sys/mman.h: Declare __madvise.
14576 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14577 * sysdeps/unix/syscalls.list
14578 (madvise): Make __madvise the strong name, and madvise a weak alias.
14579 * sysdeps/unix/sysv/linux/syscalls.list
14580 (madvise, mmap): Remove redundant entries.
14581 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14582 * malloc/malloc.c (mtrim): Likewise.
14583 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14584
f57f8055
RM
145852012-10-03 Roland McGrath <roland@hack.frob.com>
14586
14587 * sysdeps/mach/hurd/dl-cache.c: File removed.
14588 * config.h.in (USE_LDCONFIG): New #undef.
14589 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14590 * configure: Regenerated.
14591 * elf/Makefile (dl-routines): Add dl-cache only under
14592 [$(use-ldconfig) = yes].
14593 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14594 cache on [USE_LDCONFIG].
14595 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14596 [USE_LDCONFIG].
14597 * elf/rtld.c (dl_main): Likewise.
14598
5bb0c10a
PT
145992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14600
14601 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14602 _SC_LEVEL4_CACHE_LINESIZE.
14603
010188c6
RM
146042012-10-03 Roland McGrath <roland@hack.frob.com>
14605
14606 * sysdeps/unix/bsd/confstr.h: File removed.
14607
b6c5ec07
AO
146082012-10-02 Alexandre Oliva <aoliva@redhat.com>
14609
14610 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14611 sys/sdt-config.h.
14612
408223d4
RM
146132012-10-02 Roland McGrath <roland@hack.frob.com>
14614
14615 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14616 Make 'mapoff' field ElfW(Off) rather than off_t.
14617
bb9510dc
DL
146182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14619
fc997c6e
DL
14620 * nscd/Makefile: Remove nscd-cflags and all its users.
14621 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14622 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14623
bb9510dc
DL
14624 [BZ #10631]
14625 * malloc.c (malloc_printerr): Clarify error message.
14626
05699367
L
146272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 [BZ #14648]
14630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14631 Set bit_FMA_Usable if FMA is supported.
14632 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14633 macro.
14634 (bit_FMA4_Usable): Updated.
14635 (index_FMA_Usable): New macro.
14636 (CPUID_FMA): Likewise
14637 (HAS_FMA): Defined with bit_FMA_Usable.
14638
51367701
RM
146392012-10-01 Roland McGrath <roland@hack.frob.com>
14640
14641 * bits/types.h (__swblk_t): Type removed.
14642 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14643 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14645 (__SWBLK_T_TYPE): Likewise.
14646 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14647 (__SWBLK_T_TYPE): Likewise.
14648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14649 (__SWBLK_T_TYPE): Likewise.
14650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14651 (__SWBLK_T_TYPE): Likewise.
14652
4d57bf63 146532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14654 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14655
14656 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14657 (xdr_mapname): Use YPMAXMAP as maxsize.
14658 (xdr_peername): Use YPMAXPEER as maxsize.
14659 (xdr_keydat): Use YPAXRECORD as maxsize.
14660 (xdr_valdat): Use YPMAXRECORD as maxsize.
14661
93c65d43
RM
146622012-10-01 Roland McGrath <roland@hack.frob.com>
14663
497a03d6
RM
14664 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14665
93c65d43
RM
14666 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14667 * csu/init-first.c: ... here.
14668 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14669 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14670 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14672 * sysdeps/i386/init-first.c: File removed.
14673 * sysdeps/sh/init-first.c: File removed.
14674
bec749fd
JM
146752012-10-01 Joseph Myers <joseph@codesourcery.com>
14676
14677 [BZ #14645]
14678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14679 if x * y might underflow to zero and z is zero.
14680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14682 * math/libm-test.inc (min_subnorm_value): New variable.
14683 (fma_test): Add more tests.
14684 (fma_test_towardzero): Likewise.
14685 (fma_test_downward): Likewise
14686 (fma_test_upward): Likewise.
14687 (initialize): Set min_subnorm_value.
14688
8ec5b013
JM
146892012-09-29 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #14638]
14692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14693 0 + 0.
14694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14695 mode for addition resulting in exact zero.
14696 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14698 exact 0 + 0.
14699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14701 * math/libm-test.inc (fma_test): Add more tests.
14702 (fma_test_towardzero): New function.
14703 (fma_test_downward): Likewise.
14704 (fma_test_upward): Likewise.
14705 (main): Call the new functions.
14706
b1fa802e
DM
147072012-09-28 David S. Miller <davem@davemloft.net>
14708
14709 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14710
d3b9fd9e
RM
147112012-09-28 Roland McGrath <roland@hack.frob.com>
14712
ea4d37b3
RM
14713 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14714 instead of SIGALRM.
14715
ac51c949
RM
14716 * sysdeps/gnu/_G_config.h: Moved to ...
14717 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14718 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14719 * sysdeps/generic/_G_config.h: ... here.
14720
28c195f7
RM
14721 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14722
848917f9
RM
14723 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14724
6bacf05b
RM
14725 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14726 Conditionalize target on [libnss_test1.so-version].
14727
91363dbb
RM
14728 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14729
cc87f7d8
RM
14730 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14731 (elfobjdir): Move out of conditionals.
14732
b1c608fe
RM
14733 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14734 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14735 (__nss_lookup_function): Conditionalize label remove_from_tree on
14736 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14737
1d9a6d96
DM
147382012-09-28 David S. Miller <davem@davemloft.net>
14739
14740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14742 file.
14743 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14744 sysdep_routines.
14745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14747 when HWCAP_SPARC_CRYPTO is present.
14748
72581615
PT
147492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14750
14751 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14752
715a900c
JL
147532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14754
14755 [BZ #6530]
14756 * stdio-common/vfprintf.c (process_string_arg): Revert
14757 2000-07-22 change.
14758
147592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14760
14761 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14762 for testcase.
14763 * stdio-common/tst-sprintf.c: Include <locale.h>
14764 (main): Test sprintf's handling of incomplete multibyte
14765 characters.
14766
9bac1d86
L
147672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14768
14769 * elf/dl-runtime.c (VERSYMIDX): Removed.
14770 * elf/dl-version.c (VERSYMIDX): Likewise.
14771 * elf/do-rel.h (VERSYMIDX): Likewise.
14772 (VALIDX): Likewise.
14773 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14774 * elf/rtld.c (VALIDX): Likewise.
14775 (ADDRIDX): Likewise.
9bac1d86
L
14776 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14777 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14778 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14779 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14780 (VALIDX): Likewise.
14781 (ADDRIDX): Likewise.
9bac1d86 14782
b31606c0
PT
147832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14784
14785 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14786
11541177
JL
147872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14788
14789 [BZ #11438]
14790 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14791 to global scope.
14792 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14793 addresses are in the same scope as 192.0.2/24.
14794 * posix/gai.conf: Document new scope table defaults.
14795
adb26fae
SP
147962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14797
14798 [BZ #5298]
14799 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14800 for ftell. Compute offsets from write pointers instead.
14801 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14802
4573c6b0
SP
148032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14804
14805 [BZ #14543]
14806 * libio/Makefile (tests): New test case tst-fseek.
14807 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14808 combination works in wide mode.
14809 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14810 state when the external buffer state changes.
14811
aa9bbfe6
DM
148122012-09-27 David S. Miller <davem@davemloft.net>
14813
14814 [BZ #14376]
14815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14816 pass reloc->r_addend in as the 'high' argument to
14817 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14818
784421e7
DM
14819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14820
c39bc8b8
PT
148212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14822
14823 * rt/tst-aio2.c: Include <pthread.h>.
14824 * rt/tst-aio3.c: Likewise.
14825
1ccc2399
SE
148262012-09-27 Steve Ellcey <sellcey@mips.com>
14827
14828 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14829
31ed4153
L
148302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14831
25f5f885
L
14832 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14833 contents on [SHARED].
31ed4153 14834
b7bfe116
MP
148352012-09-26 Marek Polacek <polacek@redhat.com>
14836
14837 [BZ #14530]
14838 [BZ #13741]
14839 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14840 for C++ and GCC <4.3 as well as for non GCC compilers.
14841
43c4edba
MT
148422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14843
14844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14845
6a1bf82f
RM
148462012-09-25 Roland McGrath <roland@hack.frob.com>
14847
14848 * Makefile.in (all, install): Declare with .PHONY.
14849 Reported by Michael Hope <michael.hope@linaro.org>.
14850
8ad11b9a
TMQMF
148512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14852
14853 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14854 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14855 system header.
14856 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14857 Likewise.
14858 (sydep_routines): Add the new and the internal functions.
14859 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14860 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14862 (GLIBC_2.17): Add the new function.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14864 (GLIBC_2.17): Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14866 (GLIBC_2.17): Likewise.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14868 (GLIBC_2.17): Likewise.
14869 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14870
7e2fca8d
AM
148712012-09-25 Alan Modra <amodra@gmail.com>
14872
14873 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14874 Add release barrier before setting once_control to say
14875 initialisation is done. Add hints on lwarx. Use macro in
14876 place of isync.
14877 (clear_once_control): Add release barrier.
14878
b87c4b24
JM
148792012-09-25 Joseph Myers <joseph@codesourcery.com>
14880
d032e0d2
JM
14881 [BZ #13629]
14882 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14883 specially.
14884 * math/s_clog10.c (__clog10): Likewise.
14885 * math/s_clog10f.c (__clog10f): Likewise.
14886 * math/s_clog10l.c (__clog10l): Likewise.
14887 * math/s_clogf.c (__clogf): Likewise.
14888 * math/s_clogl.c (__clogl): Likewise.
14889 * math/Makefile (libm-calls): Add x2y2m1.
14890 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14891 (__x2y2m1): Likewise.
14892 (__x2y2m1l): Likewise.
14893 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14894 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14898 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14899 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902
b87c4b24
JM
14903 [BZ #14621]
14904 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14905 int as type of variable DEPTH.
14906 (glob): Use size_t instead of int as type of variables NEWCOUNT
14907 and OLD_PATHC.
14908
6d3bf199
LD
149092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14910
22bf5c17
LD
14911 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14912 Add s_sincosf-sse2.
14913 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14914 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14915 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14916 macros for using routine as __sincosf_ia32.
14917 Use macro for function declaration and weak_alias.
14918 * sysdeps/i386/fpu/libm-test-ulps: Update.
14919
14920 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14922
14923 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14924 subnormal argument.
14925 * math/s_cexpf.c (__cexpf): Likewise.
14926 * math/s_csinf.c (__csinf): Likewise.
14927 * math/s_csinhf.c (__csinhf): Likewise.
14928 * math/s_ctanf.c (__ctanf): Likewise.
14929 * math/s_ctanhf.c (__ctanhf): Likewise.
14930 * math/s_ccosh.c (__ccoshf): Likewise.
14931 * math/s_cexp.c (__cexpl): Likewise.
14932 * math/s_csin.c (__csin): Likewise.
14933 * math/s_csinh.c (__csinh): Likewise.
14934 * math/s_ctan.c (__ctan): Likewise.
14935 * math/s_ctanh.c (ctanh): Likewise.
14936 * math/s_ccoshl.c (__ccoshl): Likewise.
14937 * math/s_cexpl.c (__cexpl): Likewise.
14938 * math/s_csinl.c (__csinl): Likewise.
14939 * math/s_csinhl.c (__csinhl): Likewise.
14940 * math/s_ctanl.c (__ctanl): Likewise.
14941 * math/s_ctanhl.c (__ctanhl): Likewise.
14942
203e5603
JM
149432012-09-25 Joseph Myers <joseph@codesourcery.com>
14944
14945 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14946 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14947 (_IO_off_t): Define to __off_t, not _G_off_t.
14948 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14949 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14950 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14951 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14952 type of __dummy and __dummy2 fields.
14953 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14954 (_G_ssize_t): Likewise.
14955 (_G_off_t): Likewise.
14956 (_G_pid_t): Likewise.
14957 (_G_uid_t): Likewise.
14958 (_G_wchar_t): Likewise.
14959 (_G_wint_t): Likewise.
14960 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14961 (_G_ssize_t): Likewise.
14962 (_G_off_t): Likewise.
14963 (_G_pid_t): Likewise.
14964 (_G_uid_t): Likewise.
14965 (_G_wchar_t): Likewise.
14966 (_G_wint_t): Likewise.
14967 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14968 (_G_ssize_t): Likewise.
14969 (_G_off_t): Likewise.
14970 (_G_pid_t): Likewise.
14971 (_G_uid_t): Likewise.
14972 (_G_wchar_t): Likewise.
14973 (_G_wint_t): Likewise.
14974
9fab36eb
SP
149752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14976
14977 * malloc/arena.c: Include malloc-sysdep.h.
14978 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14979 is sufficient to shrink the heap or an unmap is needed.
14980 * sysdeps/generic/malloc-sysdep.h: New file. Define
14981 new function check_may_shrink_heap.
14982 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14983 new function check_may_shrink_heap.
14984
2b4f00d1
SP
149852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14986
14987 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14988 comments.
14989
9a9028b1
DL
149902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14991
57c69bef
DL
14992 * catgets/test-gencat.sh: Add "set -e".
14993 * elf/tst-pathopt.sh: Likewise.
14994 * grp/tst_fgetgrent.sh: Likewise.
14995 * iconvdata/run-iconv-test.sh: Likewise.
14996 * intl/tst-gettext.sh: Likewise.
14997 * intl/tst-gettext2.sh: Likewise.
14998 * intl/tst-gettext4.sh: Likewise.
14999 * intl/tst-gettext6.sh: Likewise.
15000 * intl/tst-translit.sh: Likewise.
15001 * io/ftwtest-sh: Likewise.
15002 * libio/test-freopen.sh: Likewise.
15003 * malloc/tst-mtrace.sh: Likewise.
15004 * posix/globtest.sh: Likewise.
15005 * posix/tst-getconf.sh: Likewise.
15006 * posix/wordexp-tst.sh: Likewise.
15007 * stdio-common/tst-printf.sh: Likewise.
15008 * stdio-common/tst-unbputc.sh: Likewise.
15009 * stdlib/tst-fmtmsg.sh: Likewise.
15010 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15011 * catgets/Makefile: Do not specify -e option when running
15012 testsuite shell scripts.
15013 * elf/Makefile: Likewise.
15014 * grp/Makefile: Likewise.
15015 * iconvdata/Makefile: Likewise.
15016 * intl/Makefile: Likewise.
15017 * io/Makefile: Likewise.
15018 * libio/Makefile: Likewise.
15019 * malloc/Makefile: Likewise.
15020 * posix/Makefile: Likewise.
15021 * stdio-common/Makefile: Likewise.
15022 * stdlib/Makefile: Likewise.
15023 * sysdeps/x86_64/Makefile: Likewise.
15024
9a9028b1
DL
15025 * io/ftwtest-sh: Add copyright header.
15026 * posix/globtest.sh: Likewise.
15027 * posix/tst-getconf.sh: Likewise.
15028 * posix/wordexp-tst.sh: Likewise.
15029 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15030
ced6f16e
L
150312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15032
94b32c39
L
15033 [BZ #13679]
15034 * Makeconfig (+link): Defined as $(+link-static) if
15035 $(build-shared) isn't yes.
15036 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15037 isn't yes.
15038 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15039
189e935b
L
15040 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15041
ced6f16e
L
15042 [BZ #14562]
15043 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15044 new chunk size with MALLOC_ALIGN_MASK.
15045
a9f8e53a
JM
150462012-09-24 Joseph Myers <joseph@codesourcery.com>
15047
15048 [BZ #5044]
15049 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15050 <rounding-mode.h>.
15051 (__printf_fphex): Determine rounding using get_rounding_mode and
15052 round_away.
15053 * stdio-common/tst-printf-round.c (struct hex_test): New
15054 structure.
15055 (hex_tests): New variable.
15056 (test_hex_in_one_mode): New function.
15057 (do_test): Also run tests for hex float output.
15058
43153109
JM
150592012-09-21 Joseph Myers <joseph@codesourcery.com>
15060
15061 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15062 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15063 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15064 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15065 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15066 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15067 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15069
8a26625d
JM
150702012-09-20 Joseph Myers <joseph@codesourcery.com>
15071
15072 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15073 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15074 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15075 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15076
f3fd569c
DL
150772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15078
15079 [BZ #14579]
15080 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15081 mode only.
15082 * elf/tst-rtld-load-self.sh: New test.
15083 * elf/Makefile: Run it.
15084
63bbedd4
JM
150852012-09-18 Joseph Myers <joseph@codesourcery.com>
15086
15087 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15088 (tst-writev-ENV): Remove.
15089 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15090
626f8b6a
CM
150912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15092
15093 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15094
b7aaa4d6
JM
150952012-09-17 Joseph Myers <joseph@codesourcery.com>
15096
15097 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15098 unconditional.
15099 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15100 Likewise.
15101 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15102 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15103 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15104 Likewise.
15105
65513990
L
151062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15107
15108 [BZ #14587]
15109 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15110 * config.make.in (have-cpp-asm-debuginfo): Removed.
15111 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15112 * configure: Regenerated.
15113
784761be
JM
151142012-09-14 Joseph Myers <joseph@codesourcery.com>
15115
15116 [BZ #5044]
15117 * stdio-common/printf_fp.c: Include <stdbool.h> and
15118 <rounding-mode.h>.
15119 (___printf_fp): Determine rounding using get_rounding_mode and
15120 round_away.
15121 * stdio-common/tst-printf-round.c: New file.
15122 * stdio-common/Makefile (tests): Add tst-printf-round.
15123 (link-libm): New variable.
15124 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15125
9503345f
L
151262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15127
15128 [BZ #14576]
15129 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15130 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15131 Likewise.
15132 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15133 Likewise.
15134
ad35fc00
JM
151352012-09-13 Joseph Myers <joseph@codesourcery.com>
15136
15137 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15138 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15139 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15140 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15141
6c9b0f68
JM
151422012-09-12 Joseph Myers <joseph@codesourcery.com>
15143
15144 [BZ #14518]
15145 * include/rounding-mode.h: New file.
15146 * sysdeps/generic/get-rounding-mode.h: Likewise.
15147 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15148 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15149 (MAX_VALUE): New macro.
15150 (MIN_VALUE): Likewise.
15151 (overflow_value): New function.
15152 (underflow_value): Likewise.
15153 (round_and_return): Use overflow_value and underflow_value to
15154 determine return values in overflow and underflow cases. Use
15155 round_away to determine rounding depending on rounding mode.
15156 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15157 determine return values in overflow and underflow cases.
15158 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15159 (struct test_results): New structure.
15160 (struct test): Use struct test_results to store expected results
15161 for all rounding modes.
15162 (TEST): Include expected results for all rounding modes.
15163 (test_in_one_mode): New function.
15164 (do_test): Use test_in_one_mode to compute and check results.
15165 Check results for all rounding modes.
15166 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15167 $(link-libm).
15168
19fcedd5
AM
151692012-12-09 Allan McRae <allan@archlinux.org>
15170
1e9d84cd 15171 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15172
8bbfd2f1
JM
151732012-09-11 Joseph Myers <joseph@codesourcery.com>
15174
15175 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15176 (_G_int32_t): Likewise.
15177 (_G_uint16_t): Likewise.
15178 (_G_uint32_t): Likewise.
15179 (_G_HAVE_BOOL): Likewise.
15180 (_G_HAVE_ATEXIT): Likewise.
15181 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15182 (_G_HAVE_IO_FILE_OPEN): Likewise.
15183 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15184 (_G_int32_t): Likewise.
15185 (_G_uint16_t): Likewise.
15186 (_G_uint32_t): Likewise.
15187 (_G_HAVE_BOOL): Likewise.
15188 (_G_HAVE_ATEXIT): Likewise.
15189 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15190 (_G_HAVE_IO_FILE_OPEN): Likewise.
15191 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15192 (_G_int32_t): Likewise.
15193 (_G_uint16_t): Likewise.
15194 (_G_uint32_t): Likewise.
15195 (_G_HAVE_BOOL): Likewise.
15196 (_G_HAVE_ATEXIT): Likewise.
15197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15198 (_G_HAVE_IO_FILE_OPEN): Likewise.
15199
b1dc5912
L
152002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 * csu/libc-tls.c: Update copyright years.
15203
0e886ef9
JM
152042012-09-10 Joseph Myers <joseph@codesourcery.com>
15205
28361c5e
JM
15206 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15207 [!_G_USING_THUNKS]: Remove conditional code.
15208 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15209 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15210
0e886ef9
JM
15211 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15212 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15213 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15214 (_G_VTABLE_LABEL_PREFIX): Likewise.
15215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15216 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15217 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15218 (_G_VTABLE_LABEL_PREFIX): Likewise.
15219 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15220 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15222 (_G_VTABLE_LABEL_PREFIX): Likewise.
15223 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15224
bcba7aa2
L
152252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15226
15227 * libio/Makefile: Include ../Makeconfig before tests.
15228 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15229 only if $(build-shared) is yes.
15230
06585ee8
L
15231 * iconv/gconv_db.c: Update copyright years.
15232
80ccd52c
LD
152332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15234
15235 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15236 unwind info if defined PIC. Fix special cases description.
15237 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15238
15239 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15240 DP_HI_MASK entry.
15241 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15242
691bc9c1
L
152432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15244
3d9b46b3
L
15245 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15246
de2139a9
L
15247 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15248 is NULL.
15249
5ca78dd0
L
15250 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15251 (LDLIBS-tst-chk4): This.
15252 (LDFLAGS-tst-chk5): Renamed to ...
15253 (LDLIBS-tst-chk5): This.
15254 (LDFLAGS-tst-chk6): Renamed to ...
15255 (LDLIBS-tst-chk6): This.
15256 (LDFLAGS-tst-lfschk4): Renamed to ...
15257 (LDLIBS-tst-lfschk4): This.
15258 (LDFLAGS-tst-lfschk5): Renamed to ...
15259 (LDLIBS-tst-lfschk5): This.
15260 (LDFLAGS-tst-lfschk6): Renamed to ...
15261 (LDLIBS-tst-lfschk6): This.
15262
691bc9c1
L
15263 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15264 on $(common-objpfx)soversions.mk.
15265
65cafb1c
JM
152662012-09-07 Joseph Myers <joseph@codesourcery.com>
15267
15268 [BZ #10014]
15269 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15270 example host name.
15271
c78ab094
SP
152722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15273
15274 * malloc/arena.c (arena_get_retry): New function that gets
15275 another arena for the caller to try its request on.
15276 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15277 current arena cannot fulfill the request.
15278 (__libc_memalign): Likewise.
15279 (__libc_memalign): Likewise.
15280 (__libc_pvalloc): Likewise.
15281 (__libc_calloc): Likewise.
15282
01f49f59
JT
152832012-09-05 John Tobey <john.tobey@gmail.com>
15284
15285 [BZ #13542]
15286 * manual/arith.texi (Operations on Complex): Fix description
15287 of carg branch cut.
15288
4c23fed5
JM
152892012-09-06 Joseph Myers <joseph@codesourcery.com>
15290
1d3c8572
JM
15291 [BZ #10014]
15292 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15293 host name.
15294
4c23fed5
JM
15295 [BZ #10038]
15296 * manual/memory.texi (Memory): Make order of menu items match
15297 order of sections.
15298
04570aaa
L
152992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15300
15301 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15302 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15303 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15304
b80af2f4
L
153052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15306
15307 * csu/libc-tls.c (static_dtv): Renamed to ...
15308 (_dl_static_dtv): This. Make it global.
15309 (_dl_initial_dtv): Removed.
15310 (__libc_setup_tls): Updated.
15311 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15312 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15313 DL_INITIAL_DTV.
15314
2abe9f15
PM
153152012-09-06 Petr Machata <pmachata@redhat.com>
15316
15317 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15318 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15319 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15320 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15321
0948c3af
L
153222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 [BZ #14545]
15325 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15326 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15327 freeing dtv[-1].
15328
a5055ad1
L
153292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15330
15331 [BZ #14544]
15332 * Makeconfig (link-static-before-libc): Replace $(+prector)
15333 with $(+prectorT).
15334 (link-static-after-libc): Replace $(+postctor) with
15335 $(+postctorT).
15336 (link-bounded): Replace $(+prector)/$(+postctor) with
15337 $(+prectorT)/$(+postctorT).
15338 (+prectorT): New macro.
15339 (+postctorT): Likewise.
15340
ed8c2ecd
JM
153412012-09-06 Joseph Myers <joseph@codesourcery.com>
15342
15343 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15344 (round_str): Handle values above the maximum for IBM long double
15345 as inexact.
15346 * stdlib/tst-strtod-round.c (tests): Regenerated.
15347
14c996c8
AK
153482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15349
15350 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15351 assembler flag.
15352 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15353 zarch_nohighgprs around the zarch optimized routines.
15354 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15355 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15356 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15357 for zarch.
15358
430d6ce6
DM
153592012-09-05 David S. Miller <davem@davemloft.net>
15360
15361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15362
ff04dda4
DM
15363 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15364 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15365 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15366 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15367 entries.
15368
24d4e01b
AO
153692012-09-05 Alexandre Oliva <aoliva@redhat.com>
15370
15371 * malloc/arena.c: Fold copyright years.
15372 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15373
61d58174
AO
153742012-09-05 Alexandre Oliva <aoliva@redhat.com>
15375
15376 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15377
20196a5e
AO
153782012-09-05 Alexandre Oliva <aoliva@redhat.com>
15379
15380 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15381
5c447383
AO
153822012-09-05 Alexandre Oliva <aoliva@redhat.com>
15383
15384 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15385 change internal state upon failure.
15386
fad64255
AO
153872012-09-05 Alexandre Oliva <aoliva@redhat.com>
15388
15389 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15390 * malloc/memusage.c (mmap): Likewise.
15391 (mmap64, mremap): Likewise. Adjust name in comment.
15392
1ffb8c90
SP
153932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15394
15395 * libio/fileops.c: Fix typos in comments.
15396 * libio/oldfileops.c: Likewise.
15397 * libio/wfileops.c: Likewise.
15398
6ef9cc37
SP
153992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15400
15401 [BZ #1349]
15402 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15403 (tst-malloc-usable-ENV): Set environment for test case.
15404 * malloc/hooks.c (malloc_check_get_size): New function to get
15405 requested size.
15406 * malloc/malloc.c (musable): Use malloc_check_get_size.
15407 * malloc/tst-malloc-usable.c: New test case.
15408
4d038ae3
AS
154092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15410
15411 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15412
c4e85184
AM
154132012-09-05 Allan McRae <allan@archlinux.org>
15414
b9dafc56 15415 [BZ #13966]
c4e85184
AM
15416 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15417 determine header location.
15418 * configure: Regenerated.
15419
e1343020
AS
154202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15421
15422 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15423 float format.
15424 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15425 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15426 format.
e1343020
AS
15427 (test): Regenerate.
15428
0a9f1987
DM
154292012-09-04 David S. Miller <davem@davemloft.net>
15430
15431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15433 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15434
29237804
FW
154352012-09-04 Florian Weimer <fweimer@redhat.com>
15436
15437 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15438 failures.
15439
edb3cb88
FW
15440 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15441
60160d83
JM
154422012-09-04 Joseph Myers <joseph@codesourcery.com>
15443
15444 [BZ #9914]
15445 * libio/iogetdelim.c: Include <limits.h>.
15446 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15447 + len + 1 would overflow.
15448
bcd6c8dc
AJ
154492012-09-03 Andreas Jaeger <aj@suse.de>
15450
15451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453
4ffffbd2
LD
154542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15455
15456 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15457 Add s_sinf-sse2, s_conf-sse2.
15458
15459 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15460 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15461 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15462 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15463
15464 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15465 for using routine as __sinf_ia32.
15466 Use macro for function declaration and weak_alias.
15467 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15468 for using routine as __cosf_ia32.
15469 Use macro for function declaration and weak_alias.
15470
15471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15472 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15473
15474 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15475 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15477
15478 * math/libm-test.inc (cos_test): Add more test cases.
15479 (sin_test): Likewise.
15480 (sincos_test): Likewise.
15481
511fa286
AK
154822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15483
15484 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15485 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15486 hidden.
15487 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15488
5f30cfec
L
154892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15490
15491 [BZ #14538]
15492 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15493 first element of the GOT.
15494 (elf_machine_load_address): Return the difference between
15495 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15496
0786794f
AM
154972012-09-01 Allan McRae <allan@archlinux.org>
15498
5f30cfec
L
15499 [BZ #13412]
15500 * configure.in (AWK): Require gawk version 3.0 or later.
15501 * configure: Regenerated.
0786794f 15502
26889eac
JM
155032012-09-01 Joseph Myers <joseph@codesourcery.com>
15504
15505 * sysdeps/unix/sysv/linux/kernel-features.h
15506 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15508 [__NR_clock_getres]: Make code unconditional.
15509 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15510 (clock_getcpuclockid): Remove code left unreachable by removal of
15511 conditionals.
15512 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15513 code unconditional.
15514 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15515 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15516 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15517 Make code unconditional.
15518 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15519 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15520 * sysdeps/unix/sysv/linux/clock_settime.c
15521 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15522 conditional code.
15523 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15524 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15525
d22e28b0
L
155262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 [BZ #14476]
15529 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15530 scripts/test-installation.pl.
15531
15532 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15533 and $ld_so_version if it is set.
15534
050af9c4
SP
155352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15536
15537 [BZ #14516]
15538 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15539 failure if reading from procfs failed.
15540 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15541
ad845c0b
JM
155422012-08-27 Joseph Myers <joseph@codesourcery.com>
15543
15544 * sysdeps/unix/sysv/linux/kernel-features.h
15545 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15546 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15547 Remove conditional code.
15548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15549 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15550 Remove conditional code.
15551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15552 * sysdeps/unix/sysv/linux/i386/fxstat.c
15553 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15555 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15556 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15558 * sysdeps/unix/sysv/linux/i386/lxstat.c
15559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15561 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15562 Remove conditional code.
15563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15564 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15565 Remove conditional code.
15566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15567 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15568 <kernel-features.h>.
15569 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15570 Remove.
15571 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15572 Remove conditional code.
15573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15574 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15575 Remove conditional.
15576
5dbf56af
MF
155772012-08-27 Mike Frysinger <vapier@gentoo.org>
15578
15579 [BZ #5400]
15580 * NEWS: Add fixed bug number.
15581
d6e70f43
JM
155822012-08-27 Joseph Myers <joseph@codesourcery.com>
15583
7efb4737
JM
15584 [BZ #14519]
15585 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15586 underflowing exponent in case of negative sign.
15587 * stdlib/tst-strtod-round-data: Add more tests.
15588 * stdlib/tst-strtod-round.c (tests): Regenerated.
15589
af92131a
JM
15590 [BZ #3479]
15591 * stdlib/strtod_l.c (NDIG): Remove.
15592 (HEXNDIG): Likewise.
15593 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15594 smallest representable value.
15595 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15596 lie within an exact representation of 1/2 ulp of the result.
15597 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15598 unconditionally.
15599 (TENS_P9_IDX): Define unconditionally.
15600 (TENS_P9_SIZE): Likewise.
15601 (TENS_P10_IDX): Likewise.
15602 (TENS_P10_SIZE): Likewise.
15603 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15604 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15605 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15606 entries for 10^2^13 and 10^2^14.
15607 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15608 (TENS_P13_IDX): Define.
15609 (TENS_P13_SIZE): Likewise.
15610 (TENS_P14_IDX): Likewise.
15611 (TENS_P14_SIZE): Likewise.
15612 (_fpioconst_pow10): Change array size to
15613 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15614 unconditional.
15615 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15616 1024]: Add entries for 10^2^13 and 10^2^14.
15617 [LAST_POW10 > _LAST_POW10]: Remove #error.
15618 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15619 (_fpioconst_pow10): Change array size to
15620 FPIOCONST_POW10_ARRAY_SIZE.
15621 * stdlib/gen-fpioconst.c: New file.
15622 * stdlib/gen-tst-strtod-round.c: Likewise.
15623 * stdlib/tst-strtod-round-data: Likewise.
15624 * stdlib/tst-strtod-round.c: Likewise.
15625 * stdlib/Makefile (tests): Add tst-strtod-round.
15626
d6e70f43
JM
15627 [BZ #14459]
15628 * stdlib/strtod_l.c: Include <stdint.h>.
15629 (NDEBUG): Do not define.
15630 (round_and_return): Change EXPONENT parameter to type intmax_t.
15631 Rearrange calculations to avoid internal overflow possibilities.
15632 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15633 Rearrange calculations to avoid internal overflow possibilities.
15634 Assert that number fits inside MPNSIZE limbs.
15635 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15636 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15637 calculations and add assertions to avoid internal overflow
15638 possibilities. Add casts to avoid signed/unsigned operations.
15639 * stdlib/tst-strtod-overflow.c: New file.
15640 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15641
1f529f7d
MP
156422012-08-25 Marek Polacek <polacek@redhat.com>
15643
15644 * time/time.h: Fix some typos in comments.
15645
59a629f1
RM
156462012-08-23 Roland McGrath <roland@hack.frob.com>
15647
15648 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15649 * posix/tst-rfc3484-2.c: Likewise.
15650 * posix/tst-rfc3484-3.c: Likewise.
15651
d3bafbc9
SM
156522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15653
15654 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15655 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15656
4efcc022
JM
156572012-08-23 Joseph Myers <joseph@codesourcery.com>
15658
15659 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15660 #include of fxstatat64.c.
15661
3cc3ef96
RM
156622012-08-22 Roland McGrath <roland@hack.frob.com>
15663
f04e2132
RM
15664 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15665 * shadow/getspent_r.c: Likewise.
15666 * shadow/getspnam.c: Likewise.
15667 * shadow/getspnam_r.c: Likewise.
15668 * gshadow/getsgent.c: Likewise.
15669 * gshadow/getsgent_r.c: Likewise.
15670 * gshadow/getsgnam.c: Likewise.
15671 * gshadow/getsgnam_r.c: Likewise.
15672 * inet/getnetbyad.c: Likewise.
15673 * inet/getnetbyad_r.c: Likewise.
15674 * inet/getnetbynm.c: Likewise.
15675 * inet/getnetbynm_r.c: Likewise.
15676 * inet/getnetent.c: Likewise.
15677 * inet/getnetent_r.c: Likewise.
15678 * inet/getproto.c: Likewise.
15679 * inet/getproto_r.c: Likewise.
15680 * inet/getprtent.c: Likewise.
15681 * inet/getprtent_r.c: Likewise.
15682 * inet/getprtname.c: Likewise.
15683 * inet/getprtname_r.c: Likewise.
15684 * inet/getrpcbyname.c: Likewise.
15685 * inet/getrpcbyname_r.c: Likewise.
15686 * inet/getrpcbynumber.c: Likewise.
15687 * inet/getrpcbynumber_r.c: Likewise.
15688 * inet/getrpcent.c: Likewise.
15689 * inet/getrpcent_r.c: Likewise.
15690 * inet/getaliasent.c: Likewise.
15691 * inet/getaliasent_r.c: Likewise.
15692 * inet/getaliasname.c: Likewise.
15693 * inet/getaliasname_r.c: Likewise.
15694 * nscd/getgrgid_r.c: Likewise.
15695 * nscd/getgrnam_r.c: Likewise.
15696 * nscd/gethstbyad_r.c: Likewise.
15697 * nscd/gethstbynm3_r.c: Likewise.
15698 * nscd/getpwnam_r.c: Likewise.
15699 * nscd/getpwuid_r.c: Likewise.
15700 * nscd/getsrvbynm_r.c: Likewise.
15701 * nscd/getsrvbypt_r.c: Likewise.
15702 * nscd/gai.c: Likewise.
15703
c53d909c
RM
15704 * configure.in (build_nscd): New substituted variable, set
15705 by --disable-build-nscd and defaults to $use_nscd.
15706 * configure: Regenerated.
15707 * config.make.in (build-nscd): New substituted variable.
15708 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15709 Change conditional to require [$(build-nscd) = yes] as well.
15710 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15711
3cc3ef96
RM
15712 [BZ# 13696]
15713 * configure.in (use_nscd): New substituted variable, set by
15714 --disable-nscd. If enabled, define USE_NSCD.
15715 * configure: Regenerated.
15716 * config.h.in: Add USE_NSCD.
15717 * config.make.in (use-nscd): New substituted variable.
15718 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15719 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15720 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15721 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15722 (CFLAGS-getgrnam_r.c): Likewise.
15723 (CFLAGS-initgroups.c): Likewise.
15724 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15725 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15726 Variables removed.
15727 * inet/getnetgrent_r.c
15728 (nscd_setnetgrent): New function, broken out of ...
15729 (setnetgrent): ... here. Call it.
15730 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15731 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15732 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15733 * nscd/Makefile (routines, aux): Move definitions after include of
15734 Makeconfig. Conditionalize on [$(use-nscd) != no].
15735 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15736 Conditionalize on [USE_NSCD].
15737 (is_nscd, nscd_init_cb): Likewise.
15738 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15739 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15740 * nss/nss_db/db-init.c: Likewise.
15741 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15742 [USE_NSCD].
15743 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15744 (make_request): Use it.
15745 (cache_valid_p): New function.
15746 (__check_pf): Use it.
15747 * NEWS: Add item for --disable-nscd.
15748
07e51550
DL
157492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15750
15751 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15752 to support sed >= 4.2.1-20-ga9bf076.
15753 * configure: Regenerated.
15754
35a5b08b
RM
157552012-08-22 Roland McGrath <roland@hack.frob.com>
15756
15757 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15758 Conditionalize whole body on [IREL].
15759
8479f23a
JL
157602012-08-22 Jeff Law <law@redhat.com>
15761
15762 [BZ #14505]
15763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15764 if the family is PF_UNSPEC.
15765
48da0b21
MF
157662012-08-22 Mike Frysinger <vapier@gentoo.org>
15767
15768 * Makerules (lib-version): Rename from V.
15769 (install-lib-nosubdir): Change V to lib-version.
15770
15d0da8c
WS
157712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15772
15773 [BZ #14252]
15774 * powerpc32/power6/wcschr.c: New file.
15775 * powerpc32/power6/wcscpy.c: New file.
15776 * powerpc32/power6/wcsrchr.c: New file.
15777 * powerpc64/power6/wcschr.c: New file.
15778 * powerpc64/power6/wcscpy.c: New file.
15779 * powerpc64/power6/wcsrchr.c: New file.
15780
bcca0895
MK
157812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15782
15783 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15784 (two_way_short_needle): Use it.
5a4aaa33
RM
15785 * string/strstr.c (AVAILABLE1_USES_J): Define.
15786 * string/strcasestr.c: Likewise.
99677e57
MK
15787
15788 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15789 array references.
15790 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15791
400726de
MK
15792 [BZ #11607]
15793 * NEWS: Add an entry.
15794 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15795 define their defaults.
15796 (two_way_short_needle): Detect end-of-string on-the-fly.
15797 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15798 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15799 * string/bug-strcasestr1.c: New test.
15800 * string/Makefile: Run it.
15801
20a71f2c
MK
158022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15803
15804 [BZ #11607]
15805 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15806 the first character.
15807
21ad0558
RM
158082012-08-21 Roland McGrath <roland@hack.frob.com>
15809
15810 * csu/elf-init.c (__libc_csu_irel): Function removed.
15811 * csu/libc-start.c (apply_irel): New function.
15812 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15813
0e1d9911
JM
158142012-08-21 Joseph Myers <joseph@codesourcery.com>
15815
15816 * sysdeps/unix/sysv/linux/kernel-features.h
15817 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15818 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15819 <kernel-features.h>.
15820 [__NR_fadvise64_64]: Make code unconditional.
15821 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15822 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15823 !__NR_fadvise64_64)]: Likewise.
15824 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15825 !__NR_fadvise64_64))]: Likewise.
15826 [__NR_fadvise64]: Make code unconditional.
15827 [!__NR_fadvise64]: Remove conditional code.
15828 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15829 <kernel-features.h>.
15830 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15831 unconditional.
15832 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15833 conditional code.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15835 not include <kernel-features.h>.
15836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15837 unconditional.
15838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15839 conditional code.
15840 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15841 include <kernel-features.h>.
15842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15843 unconditional.
15844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15845 conditional code.
15846
14a50c9d
WS
158472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15848
15849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15850 slight instruction rearrangements per scrollpipe analysis.
15851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15852
c0f4faf0
RM
158532012-08-20 Roland McGrath <roland@hack.frob.com>
15854
696da859
RM
15855 * manual/syslog.texi (syslog; vsyslog, closelog):
15856 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15857 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15858
c0f4faf0
RM
15859 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15860 DSOCAPS to match condition on defining it.
15861
348363b2
JM
158622012-08-20 Joseph Myers <joseph@codesourcery.com>
15863
a35cbf28
JM
15864 * sysdeps/unix/sysv/linux/kernel-features.h
15865 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15867 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15868 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15870 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15871 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15875
445f7ecd
JM
15876 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15877 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15878
348363b2
JM
15879 * sysdeps/unix/sysv/linux/kernel-features.h
15880 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15881 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15882 unconditional.
15883 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15884 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15885 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15886 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15887 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15888 Make code unconditional.
15889 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15890 (__mmap64) [!__NR_mmap2]: Likewise.
15891 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15892 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15893 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15894 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15895 [__NR_mmap2]: Make code unconditional.
15896 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15897 (__mmap64) [!__NR_mmap2]: Likewise.
15898
bc5bc0e5
AK
158992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15900
15901 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15902
88d506de
AJ
159032012-08-18 Andreas Jaeger <aj@suse.de>
15904
15905 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15906
493387d2
MF
159072012-08-18 Mike Frysinger <vapier@gentoo.org>
15908
15909 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15910 * include/unistd.h (__have_sock_cloexec): Likewise.
15911 (__have_pipe2): Likewise.
15912 (__have_dup3): Likewise.
15913
a277af22
MF
159142012-08-18 Mike Frysinger <vapier@gentoo.org>
15915
15916 [BZ #9685]
15917 * include/unistd.h (__have_pipe2): Change define into an extern int.
15918 (__have_dup3): Likewise.
15919 * socket/have_sock_cloexec.c: Include fcntl.h.
15920 (__have_pipe2): New variable.
15921 (__have_dup3): Likewise.
15922
fdab8fd3
MF
159232012-08-17 Mike Frysinger <vapier@gentoo.org>
15924
15925 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15926
31035e80
MP
159272012-08-17 Marek Polacek <polacek@redhat.com>
15928
15929 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15930 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15931
3bd9e993
RM
159322012-08-17 Roland McGrath <roland@hack.frob.com>
15933
c91c505f
RM
15934 * configure.in: Add AC_SUBST for sysheaders.
15935 * configure: Regenerated.
15936 * config.make.in (sysheaders): New substituted variable.
15937
7c6f9d53
RM
15938 * sysdeps/unix/mkfifo.c: Moved ...
15939 * sysdeps/posix/mkfifo.c: ... here.
15940 * sysdeps/unix/mkfifoat.c: Moved ...
15941 * sysdeps/posix/mkfifoat.c: ... here.
15942
15943 * sysdeps/unix/utime.c: Moved ...
15944 * sysdeps/posix/utime.c: ... here.
15945
15946 * sysdeps/unix/time.c: Moved ...
15947 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15948 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15949 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15950
15951 * sysdeps/unix/nice.c: Moved ...
15952 * sysdeps/posix/nice.c: ... here.
15953
15954 * sysdeps/unix/alarm.c: Moved ...
15955 * sysdeps/posix/alarm.c: ... here.
15956
3bd9e993
RM
15957 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15958
d1f09384
JL
159592012-08-17 Jeff Law <law@redhat.com>
15960
15961 * intl/Makefile (codeset_mo): New variable.
15962 ($(codeset_mo)): New target.
15963 (tst-codeset.out): Depend on that. Remove explicit rule.
15964 (tst-gettext3.out, tst-gettext5.out): Likewise.
15965 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15966 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15967 * intl/tst-codeset.sh: Remove.
15968 * intl/tst-gettext3.sh: Likewise.
15969 * intl/tst-gettext5.sh: Likewise.
15970
2ae1ae5c
RM
159712012-08-17 Roland McGrath <roland@hack.frob.com>
15972
c31fdb83
RM
15973 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15974 * sysdeps/unix/syscalls.list: ... here.
15975
a0844057
RM
15976 * sysdeps/posix/getaddrinfo.c
15977 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15978 (gaiconf_init, gaiconf_reload): Use them.
15979 [!_STATBUF_ST_NSEC]
15980 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15981 Define using time_t rather than struct timespec.
15982
750c1f2a
RM
15983 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15984 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15985 Macros removed.
15986 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15987 [!NO_THREADS].
15988 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15989 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15990 Likewise.
15991
2ae1ae5c
RM
15992 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15993 __libc_cleanup_push argument.
15994
e66a42f5
RM
15995 * bits/param.h: New file.
15996 * misc/sys/param.h: New file.
15997 * include/sys/param.h: New file.
15998 * misc/Makefile (headers): Add bits/param.h.
15999 * sysdeps/generic/sys/param.h: File removed.
16000 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16001 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16002 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16003 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16004
b7c08a66
RM
16005 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16006 last change.
16007
b2e1c562
RM
16008 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16009 [_IO_MTSAFE_IO].
16010 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16011 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16012 New macros.
16013
c75ccd4c
RM
16014 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16015 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16016 rather than -D_IO_MTSAFE_IO conditionally.
16017 * stdio-common/Makefile (CPPFLAGS): Likewise.
16018 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16019 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16020 Use $(libio-mtsafe).
16021 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16022 of -D_IO_MTSAFE_IO.
16023 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16024 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16025 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16026 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16027 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16028 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16029 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16030 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16031 (CFLAGS-fread_u_chk.c): Likewise.
16032 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16033 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16034 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16035 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16036 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16037 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16038 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16039 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16040 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16041
16042 * libio/Makefile: Test [$(libc-reentrant) = yes]
16043 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16044
16045 * Makeconfig
16046 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16047 * sysdeps/pthread/configure: File removed.
16048 * sysdeps/pthread/Makeconfig: New file.
16049 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16050 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16051
d9195db8
GB
160522012-08-16 Gary Benson <gbenson@redhat.com>
16053
16054 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16055 unmapping the first object in a namespace.
16056
86466cd9
RM
160572012-08-16 Roland McGrath <roland@hack.frob.com>
16058
16059 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16060 (__internal_setnetgrent): ... this. Add internal_function to
16061 definition. Add libc_hidden_def.
16062 (setnetgrent): Update caller.
16063 (internal_endnetgrent): Renamed to ...
16064 (__internal_endnetgrent): ... this. Add internal_function to
16065 definition. Add libc_hidden_def.
16066 (endnetgrent): Update caller.
16067 (internal_getnetgrent_r): Renamed to ...
16068 (__internal_getnetgrent_r): ... this. Add internal_function to
16069 definition. Add libc_hidden_def.
16070 (__getnetgrent_r): Update caller.
16071 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16072
c3c8283c
JM
160732012-08-16 Joseph Myers <joseph@codesourcery.com>
16074
16075 * stdlib/longlong.h: Update from GCC.
16076
db1ee0a8
RM
160772012-08-16 Roland McGrath <roland@hack.frob.com>
16078
16079 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16080 on _QL, which is set by umul_ppmm but never used.
16081 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16082 variables, which are set by GMP macros but never used.
16083 * stdio-common/_itowa.c (_itowa): Likewise.
16084 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16085 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16086
30f69637
CD
160872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16088
16089 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16090 struct La_sh_regs is not constant.
16091 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16092 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16093 and struct La_sparc64_regs are not constant.
16094
93a78ac4
JM
160952012-08-16 Joseph Myers <joseph@codesourcery.com>
16096
16097 * sysdeps/unix/sysv/linux/kernel-features.h
16098 (__ASSUME_POSIX_TIMERS): Remove.
16099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16101 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16102 Make code unconditional.
16103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16104 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16105 Make code unconditional.
16106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16107 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16108 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16110 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16111 Make code unconditional.
16112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16113 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16114 (__libc_missing_posix_timers): Remove.
16115
dd924cd7
RM
161162012-08-15 Roland McGrath <roland@hack.frob.com>
16117
4b4f2771
RM
16118 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16119 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16120
601c888b
RM
16121 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16122
176790a7
RM
16123 * elf/dl-sym.c: Include <stdlib.h>.
16124
329bc018
RM
16125 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16126 constants, which avoids warnings in 32-bit builds.
16127
e04e272d
RM
16128 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16129 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16130
952bf94a
RM
16131 * misc/lseek.c: File moved to ...
16132 * io/lseek.c: ... here.
16133
7c99b50a
RM
16134 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16135
dd924cd7
RM
16136 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16137 shifting LEN more than 31 bits at once.
16138
b3f479a8
LD
161392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16140
16141 [BZ #14195]
8c4ae0d4
RM
16142 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16143 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16144 * string/test-strncasecmp.c (check1): Renamed to...
16145 (bz12205): ...this.
16146 (bz14195): Add new testcase for two empty input strings and N > 0.
16147 (test_main): Call new testcase, adapt for renamed function.
16148
9c55864e
AJ
161492012-08-15 Andreas Jaeger <aj@suse.de>
16150
16151 [BZ #14090]
16152 * crypt/md5test2.c: New test, based on test supplied by Serge
16153 Belyshev <belyshev@depni.sinp.msu.ru>.
16154 * crypt/Makefile (xtests): Add md5test-giant..
16155 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16156
02dcb6c5
PE
161572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16158
16159 [BZ #14090]
16160 * crypt/md5.c (md5_process_block): Don't assume the buffer
16161 length is less than 2**32.
16162 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16163 length is less than 2**64.
16164
a3f95dcc
RM
161652012-08-15 Roland McGrath <roland@hack.frob.com>
16166
be75d758
RM
16167 * string/str-two-way.h: Include <sys/param.h>.
16168 (MAX): Macro removed.
16169
7312ca90
RM
16170 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16171 Move #define and #undef of memmove to just before and after
16172 including <string.h>.
16173
9a0a5486
RM
16174 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16175 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16176 and after including <string.h>. Move declarations of
16177 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16178 to before #include "string/memmove.c".
16179
67cc348d
RM
16180 * include/dirent.h: Declare __getdirentries.
16181
a3f95dcc
RM
16182 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16183 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16184
ca98e171
MF
161852012-08-14 Mike Frysinger <vapier@gentoo.org>
16186
16187 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16188 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16189 * sysdeps/i386/configure: Regenerated.
16190 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16191 STABS_CURRENT_FILE, and STABS_FUN.
16192 (END): Remove call to STABS_FUN_END.
16193 (STABS_CURRENT_FILE1): Delete.
16194 (STABS_CURRENT_FILE): Likewise.
16195 (STABS_FUN): Likewise.
16196 (STABS_FUN_END): Likewise.
16197 (STABS_FUN2): Likewise.
16198 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16199 * sysdeps/x86_64/configure: Regenerated.
16200
5908bf46
RM
162012012-08-14 Roland McGrath <roland@hack.frob.com>
16202
16203 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16204 * elf/dl-lookup.c: Likewise.
5908bf46 16205
f2c05b9e
JM
162062012-08-14 Joseph Myers <joseph@codesourcery.com>
16207
16208 * sysdeps/unix/sysv/linux/kernel-features.h
16209 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16210 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16211 unconditionally.
16212 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16213 unconditionally.
16214 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16215 condition on __ASSUME_CLONE_THREAD_FLAGS.
16216
e11f5155
AJ
162172012-08-14 Andreas Jaeger <aj@suse.de>
16218
16219 * sysdeps/i386/fpu/libm-test-ulps: Update.
16220
51a9ba86
MK
162212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16222
2fdd4f78
AJ
16223 * include/atomic.h (atomic_exchange_and_add): Split into ...
16224 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16225 New atomic macros.
51a9ba86 16226
ba6cba9e
MT
162272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16228
16229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16230
42443a47
JL
162312012-08-13 Jeff Law <law@redhat.com>
16232
16233 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16234 null byte in the output string.
16235
121dce05
JM
162362012-08-10 Joseph Myers <joseph@codesourcery.com>
16237
16238 * sysdeps/unix/sysv/linux/kernel-features.h
16239 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16240 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16241 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16242 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16243 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16244 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16245 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16246
bf51f568
JL
162472012-08-09 Jeff Law <law@redhat.com>
16248
16249 [BZ #13939]
16250 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16251 When avoid_arena is set, don't retry in the that arena. Pick the
16252 next one, whatever it might be.
16253 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16254 (arena_lock): Pass in new parameter to arena_get2.
16255 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16256 arena_get2.
16257 (__libc_malloc): Unify retrying after main arena failure with
16258 __libc_memalign version.
16259 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16260
f85fa270
L
162612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16262
16263 [BZ #14166]
16264 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16265 to __redirect_strstr.
16266 (__strstr_sse42): Use typeof __redirect_strstr.
16267 (__strstr_ia32): Likewise.
16268 (__libc_strstr): New prototype.
16269 (strstr): Renamed to ...
16270 (__libc_strstr): This.
16271 (strstr): New strong alias of __libc_strstr.
16272 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16273 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16274 __redirect_time.
16275 Include <time.h>.
16276 (__libc_time): New prototype.
16277 (time_ifunc): Replace time with __libc_time.
16278 (time): New strong alias and hidden definition of __libc_time.
16279 (__GI_time): Remove strong alias.
16280 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16281 Include <stddef.h>.
16282 (memmove): Redefined to __redirect_memmove.
16283 (__memmove_sse2): Use typeof __redirect_memmove.
16284 (__memmove_ssse3): Likewise.
16285 (__memmove_ssse3_back): Likewise.
16286 (__libc_memmove): New prototype.
16287 (memmove): Renamed to ...
16288 (__libc_memmove): This.
16289 (memmove): New strong alias of __libc_memmove.
16290
33b4a91e
MS
162912012-08-08 Mark Salter <msalter@redhat.com>
16292
16293 * elf/elf.h
16294 (R_MN10300_TLS_GD): Define.
16295 (R_MN10300_TLS_LD): Likewise.
16296 (R_MN10300_TLS_LDO): Likewise.
16297 (R_MN10300_TLS_GOTIE): Likewise.
16298 (R_MN10300_TLS_IE): Likewise.
16299 (R_MN10300_TLS_LE): Likewise.
16300 (R_MN10300_TLS_DTPMOD): Likewise.
16301 (R_MN10300_TLS_DTPOFF): Likewise.
16302 (R_MN10300_TLS_TPOFF): Likewise.
16303 (R_MN10300_SYM_DIFF): Likewise.
16304 (R_MN10300_ALIGN): Likewise.
16305 (R_MN10300_NUM): Update.
16306
b36137f1
JM
163072012-08-08 Joseph Myers <joseph@codesourcery.com>
16308
16309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16310 Remove.
16311
cdd915fd
RM
163122012-08-08 Roland McGrath <roland@hack.frob.com>
16313
a2433aac
RM
16314 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16315
cdd915fd
RM
16316 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16317 sysdeps/unix -> sysdeps/posix move.
16318 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16319
bf9b740a
AM
163202012-08-07 Allan McRae <allan@archlinux.org>
16321
16322 [BZ #14303]
16323 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16324 (SUNOS_CPP): Likewise.
16325 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16326 not found.
16327 (open_input): Call CPP using execvp.
16328
93df14ee
JM
163292012-08-07 Joseph Myers <joseph@codesourcery.com>
16330
16331 * sysdeps/unix/sysv/linux/kernel-features.h
16332 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16333 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16334 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16335 (__ASSUME_WAITID_SYSCALL): Likewise.
16336 * sysdeps/unix/sysv/linux/dl-execstack.c
16337 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16338 code unconditional.
16339 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16340 conditional code.
16341 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16342 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16343 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16344 code.
16345 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16346 unconditional.
16347 [__ASSUME_WAITID_SYSCALL]: Likewise.
16348 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16349
d34689de
RM
163502012-08-07 Roland McGrath <roland@hack.frob.com>
16351
a281decc
RM
16352 * sysdeps/unix/closedir.c: Renamed to ...
16353 * sysdeps/posix/closedir.c: ... here.
16354 * sysdeps/unix/dirfd.c: Renamed to ...
16355 * sysdeps/posix/dirfd.c: ... here.
16356 * sysdeps/unix/dirstream.h: Renamed to ...
16357 * sysdeps/posix/dirstream.h: ... here.
16358 * sysdeps/unix/fdopendir.c: Renamed to ...
16359 * sysdeps/posix/fdopendir.c: ... here.
16360 * sysdeps/unix/opendir.c: Renamed to ...
16361 * sysdeps/posix/opendir.c: ... here.
16362 * sysdeps/unix/readdir.c: Renamed to ...
16363 * sysdeps/posix/readdir.c: ... here.
16364 * sysdeps/unix/readdir_r.c: Renamed to ...
16365 * sysdeps/posix/readdir_r.c: ... here.
16366 * sysdeps/unix/rewinddir.c: Renamed to ...
16367 * sysdeps/posix/rewinddir.c: ... here.
16368 * sysdeps/unix/seekdir.c: Renamed to ...
16369 * sysdeps/posix/seekdir.c: ... here.
16370 * sysdeps/unix/telldir.c: Renamed to ...
16371 * sysdeps/posix/telldir.c: ... here.
16372 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16373 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16374 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16375 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16376
22895b47
RM
16377 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16378 * bits/fcntl.h: ... here.
16379
707a53b6
RM
16380 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16381 not 0.
16382 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16383 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16384 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16385 (struct flock): Move l_start, l_len to the beginning.
16386 Use __pid_t for l_pid.
16387 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16388 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16389 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16390 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16391 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16392 [__USE_LARGEFILE64] (struct flock64): New type.
16393 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16394
f0bd3e25
RM
16395 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16396 * bits/dirent.h: ... here.
16397
d34689de
RM
16398 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16399 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16400
6dad2c06
JM
164012012-08-07 Joseph Myers <joseph@codesourcery.com>
16402
16403 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16404 Change from 2.6.0 to 2.6.16.
16405 * sysdeps/unix/sysv/linux/configure: Regenerated.
16406 * sysdeps/unix/sysv/linux/kernel-features.h
16407 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16408 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16409 version.
16410 (__ASSUME_UTIMES): Likewise.
16411 (__ASSUME_CLONE_STOPPED): Remove.
16412 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16413 architectures, not kernel version.
16414 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16415 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16416 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16417 (__ASSUME_WAITID_SYSCALL): Likewise.
16418 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16419 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16420 * README: State 2.6.16 as minimum Linux kernel version. Do not
16421 refer to older versions.
16422
03af9520
RM
164232012-08-06 Roland McGrath <roland@hack.frob.com>
16424
8e49df1d
RM
16425 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16426 Define alphasort64 as an alias.
16427 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16428 Define versionsort64 as an alias.
16429 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16430 Define scandir64 as an alias.
16431 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16432 Define scandirat64 as an alias.
16433 * dirent/alphasort64.c (alphasort64):
16434 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16435 * dirent/versionsort64.c: Likewise.
16436 * dirent/scandir64.c: Likewise.
16437 * dirent/scandirat64.c: Likewise.
16438 * sysdeps/wordsize-64/alphasort.c: File removed.
16439 * sysdeps/wordsize-64/alphasort64.c: File removed.
16440 * sysdeps/wordsize-64/scandir.c: File removed.
16441 * sysdeps/wordsize-64/scandir64.c: File removed.
16442 * sysdeps/wordsize-64/scandirat.c: File removed.
16443 * sysdeps/wordsize-64/scandirat64.c: File removed.
16444 * sysdeps/wordsize-64/versionsort.c: File removed.
16445 * sysdeps/wordsize-64/versionsort64.c: File removed.
16446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16449 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16451 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16453 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16454
16455 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16457 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16459 [defined __arch64__ || defined __sparcv9]
16460 (__INO_T_MATCHES_INO64_T): New macro.
16461 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16462 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16463 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16464 * sysdeps/unix/sysv/linux/bits/dirent.h
16465 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16466 (_DIRENT_MATCHES_DIRENT64): New macro.
16467
03af9520
RM
16468 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16469 Define lockf64 as an alias.
16470 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16471 Define fseeko64 as an alias.
16472 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16473 Define ftello64 as an alias.
16474 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16475 Define _IO_fgetpos64 and fgetpos64 as aliases.
16476 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16477 Define _IO_fsetpos64 and fsetpos64 as aliases.
16478 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16479 Conditionalize body on this.
16480 * libio/fseeko64.c: Likewise.
16481 * libio/ftello64.c: Likewise.
16482 * libio/iofgetpos64.c: Likewise.
16483 * libio/iofsetpos64.c: Likewise.
16484 * sysdeps/wordsize-64/lockf.c: File removed.
16485 * sysdeps/wordsize-64/lockf64.c: File removed.
16486 * sysdeps/wordsize-64/fseeko.c: File removed.
16487 * sysdeps/wordsize-64/fseeko64.c: File removed.
16488 * sysdeps/wordsize-64/ftello.c: File removed.
16489 * sysdeps/wordsize-64/ftello64.c: File removed.
16490 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16491 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16492 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16493 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16494 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16495 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16497 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16499 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16500 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16501 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16503 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16504
16505 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16507 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16509 [defined __arch64__ || defined __sparcv9]
16510 (__OFF_T_MATCHES_OFF64_T): New macro.
16511 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16512 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16514 (__OFF_T_MATCHES_OFF64_T): New macro.
16515
c5757acd
L
165162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16517
16518 * stdlib/secure-getenv.c (__secure_getenv): Replace
16519 GLIBC_2_16 with GLIBC_2_17.
16520
3a31811e
L
165212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16524 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16525
faa2bccb
DM
165262012-08-03 David S. Miller <davem@davemloft.net>
16527
16528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16529
85fe1997
JM
165302012-08-03 Joseph Myers <joseph@codesourcery.com>
16531
16532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16533 Remove.
16534 (__ASSUME_CORRECT_SI_PID): Likewise.
16535 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16536 (__ASSUME_TMPFS_NAME): Likewise.
16537 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16538 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16539 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16540 (HAVE_AUX_SECURE): Make definition unconditional.
16541 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16542 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16543
4f75b7a0
RM
165442012-08-03 Roland McGrath <roland@hack.frob.com>
16545
16546 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16547 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16548 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16549 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16550 __eloop_threshold instead of SYMLOOP_MAX.
16551
16552 * sysdeps/generic/eloop-threshold.h: New file.
16553 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16554 of MAXSYMLINKS.
16555 * elf/chroot_canon.c (chroot_canon): Likewise.
16556
7aab07e4
JM
165572012-08-03 Joseph Myers <joseph@codesourcery.com>
16558
16559 [BZ #13717]
16560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16561 Change to 2.6.0 everywhere.
16562 * sysdeps/unix/sysv/linux/configure: Regenerated.
16563 * sysdeps/unix/sysv/linux/kernel-features.h
16564 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16565 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16566 kernel versions.
16567 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16568 (__ASSUME_FUTEX_REQUEUE): Remove.
16569 (__ASSUME_STATFS64): Define unconditionally.
16570 (__ASSUME_AT_SECURE): Likewise.
16571 (__ASSUME_CORRECT_SI_PID): Likewise.
16572 (__ASSUME_TGKILL): Define without depending on kernel version for
16573 i386.
16574 (__ASSUME_UTIMES): Likewise.
16575 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16576 kernel version.
16577 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16578 (__ASSUME_TMPFS_NAME): Likewise.
16579 * README: Update reference to Linux kernel versions.
16580
b67e9372
MP
165812012-08-02 Marek Polacek <polacek@redhat.com>
16582
1f529f7d 16583 [BZ# 14150]
b67e9372
MP
16584 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16585 libc_cv_asm_type_prefix with %.
16586 * configure: Regenerated.
d2441631
RM
16587 * include/libc-symbols.h: Remove comment about
16588 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16589 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16590 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16591 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16592 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16593 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16594 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16595 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16596 * elf/tst-unique2mod1.c: Likewise.
16597 * elf/tst-unique1mod2.c: Likewise.
16598 * elf/tst-unique1mod1.c: Likewise.
16599 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16600 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16601 Replace ASM_TYPE_DIRECTIVE with .type.
16602 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16603 * sysdeps/i386/sysdep.h: Likewise.
16604 * sysdeps/x86_64/sysdep.h: Likewise.
16605 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16607 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16608 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16609 * sysdeps/powerpc/powerpc32/sysdep.h:
16610 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16611 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16612 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16613 * sysdeps/i386/fpu/e_powf.S: Likewise.
16614 * sysdeps/i386/fpu/e_expl.S: Likewise.
16615 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16616 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16617 * sysdeps/i386/fpu/e_pow.S: Likewise.
16618 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16620 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16621 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16622 * sysdeps/i386/fpu/e_log2.S: Likewise.
16623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16625 * sysdeps/i386/fpu/e_powl.S: Likewise.
16626 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16627 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16628 * sysdeps/i386/fpu/e_logl.S: Likewise.
16629 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16630 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16631 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16633 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16634 * sysdeps/i386/fpu/e_log.S: Likewise.
16635 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16636 * sysdeps/i386/fpu/e_logf.S: Likewise.
16637 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16638 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16639 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16640 * sysdeps/i386/fpu/e_log10.S: Likewise.
16641 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16642 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16643 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16644 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16645 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16646 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16647 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16648 * sysdeps/i386/i686/strtok.S: Likewise.
16649 * sysdeps/i386/i386-mcount.S: Likewise.
16650 * sysdeps/i386/strtok.S: Likewise.
16651 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16652 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16655 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16657 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16658 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16660 * sysdeps/x86_64/_mcount.S: Likewise.
16661 * sysdeps/x86_64/strtok.S: Likewise.
16662 * sysdeps/sh/_mcount.S: Likewise.
16663
2747bf9a
RM
166642012-08-01 Roland McGrath <roland@hack.frob.com>
16665
16666 * libio/iofopen.c: Include <fcntl.h>.
16667 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16668 (_IO_fopen64, fopen64): Define as aliases.
16669 * libio/iofopen64.c: Include <fcntl.h>.
16670 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16671 Conditionalize body on this.
16672 * sysdeps/wordsize-64/iofopen.c: File removed.
16673 * sysdeps/wordsize-64/iofopen64.c: File removed.
16674
3fb791b8
MP
166752012-08-01 Marek Polacek <polacek@redhat.com>
16676
16677 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16678 Use dlfcn directly instead of a variable.
16679 (binfmt-subdir): Do not define.
16680 (dlfcn): Likewise.
16681
a9f1039f
JM
166822012-08-01 Joseph Myers <joseph@codesourcery.com>
16683
23bddc06
JM
16684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16685 Remove all definitions.
16686 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16687 <kernel-features.h>.
16688 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16689 (miss_F_GETOWN_EX): Remove all definitions.
16690 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16691 macro definition.
16692 [!__ASSUME_FCNTL64]: Remove conditional code.
16693 [__ASSUME_FCNTL64]: Make code unconditional.
16694 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16695 <kernel-features.h>.
16696 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16697 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16698 (lockf64) [__NR_fcntl64]: Make code unconditional.
16699 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16700
a9f1039f
JM
16701 * sysdeps/unix/sysv/linux/kernel-features.h
16702 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16703 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16704 Make code unconditional.
16705 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16706 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16708 [__NR_vfork]: Make code unconditional.
16709 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16710 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16712 [__NR_vfork]: Make code unconditional.
16713 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16714 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16715
09c0ee5f
RM
167162012-08-01 Roland McGrath <roland@hack.frob.com>
16717
48aec5b9
RM
16718 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16719 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16720
cd97c966
RM
16721 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16722 Define mkstemp64 as an alias.
3f55550c
RM
16723 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16724 Define mkstemps64 as an alias.
cd97c966
RM
16725 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16726 Define mkostemp64 as an alias.
b8625cfc
RM
16727 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16728 Define mkostemps64 as an alias.
cd97c966
RM
16729 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16730 Conditionalize body on this.
16731 * misc/mkostemp64.c: Likewise.
b8625cfc 16732 * misc/mkostemps64.c: Likewise.
3f55550c 16733 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16734 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16735 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16736 * sysdeps/wordsize-64/mkostemp.c: File removed.
16737 * sysdeps/wordsize-64/mkstemp.c: File removed.
16738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16740 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16742
09c0ee5f
RM
16743 [BZ #14138]
16744 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16745 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16746 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16747 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16748
16749 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16750 compat_symbol macros from <shlib-compat.h> rather than the underlying
16751 default_symbol_version and symbol_version macros, so that DEFAULT
16752 lines in shlib-versions are respected.
16753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16754
7e66ee51
FW
167552012-08-01 Florian Weimer <fweimer@redhat.com>
16756
16757 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16758 Declare with warn_unused_result.
16759 (setgid, setregid, setegid, setresgid): Likewise.
16760 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16761 Likewise.
16762 * WUR-REPORT: Remove set*id functions.
16763
d2a54255
PT
167642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16765
16766 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16767
7ecdb005
RM
167682012-07-31 Roland McGrath <roland@hack.frob.com>
16769
b4180a5e 16770 [BZ #10191]
789bd351
RM
16771 * include/sys/socket.h (__libc_accept, __libc_accept4):
16772 Add attribute_hidden.
16773 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16774
40ce302d
RM
16775 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16776 use of PTR_MANGLE.
16777 * inet/getnetgrent_r.c (setup): Likewise.
16778
7ecdb005
RM
16779 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16780
e2eabb2c
DM
167812012-07-31 David S. Miller <davem@davemloft.net>
16782
16783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16784
d0419dbf
JM
167852012-07-31 Joseph Myers <joseph@codesourcery.com>
16786
16787 [BZ #13629]
16788 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16789 value between 1.0 and 2.0 and smaller part has absolute value less
16790 than 1.0.
16791 * math/s_clog10.c (__clog10): Likewise.
16792 * math/s_clog10f.c (__clog10f): Likewise.
16793 * math/s_clog10l.c (__clog10l): Likewise.
16794 * math/s_clogf.c (__clogf): Likewise.
16795 * math/s_clogl.c (__clogl): Likewise.
16796 * math/libm-test.inc (clog_test): Add more tests.
16797 (clog10_test): Likewise.
16798 * sysdeps/i386/fpu/libm-test-ulps: Update.
16799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800
2bc13872
FW
168012012-07-31 Florian Weimer <fweimer@redhat.com>
16802
16803 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16804 Exit with zero in case no suitable GID is found, and write a
16805 message to standard error.
16806
bea9b193
RM
168072012-07-30 Roland McGrath <roland@hack.frob.com>
16808
16809 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16810 rather than to 1.
16811 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16812 (MAXPATHLEN): Removed.
16813 (NOGROUP, NODEV): New macros.
16814 (setbit, clrbit, isset, isclr): New macros.
16815 (howmany, roundup, powerof2): New macros.
16816 (DEV_BSIZE): New macro.
16817
16818 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16819 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16820
16821 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16822 definition on [!__NO_LONG_DOUBLE_MATH].
16823
16824 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16825 PTR_MANGLE and PTR_DEMANGLE.
16826
16827 * socket/accept4.c (accept4): Rename to __libc_accept4.
16828 Define accept4 as a weak alias.
16829
16830 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16831 on [_DIRENT_HAVE_D_TYPE].
16832 * io/ftw.c (ftw_dir): Likewise.
16833
16834 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16835
16836 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16837
16838 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16839 Use the BSD numbers rather than the arbitrary ones we had.
16840 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16841 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16842 (SIGXCPU, SIGXFSZ): New macros.
16843 (_NSIG): Now 32.
16844
16845 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16846 initializer on [_LIBC_REENTRANT].
16847
16848 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16849 definitions inside [_POSIX_MAPPED_FILES].
16850
16851 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16852
16853 * dirent/opendir.c: Include <fcntl.h>.
16854
16855 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16856 (__libc_getspecific): Likewise.
16857 (__libc_key_create): Likewise.
16858
16859 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16860 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16861 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16862 (tmpfile64): Define as alias.
16863 * sysdeps/wordsize-64/tmpfile.c: File removed.
16864 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16865 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16867
16868 * stdio-common/vfscanf.c: Include <stdbool.h>.
16869 * nss/makedb.c: Likewise.
16870 * stdio-common/_i18n_number.h: Likewise.
16871 * argp/argp-help.c: Likewise.
16872 * posix/wordexp.c: Likewise.
16873 * sysdeps/posix/spawni.c: Likewise.
16874 * nss/nss_files/files-initgroups.c: Likewise.
16875 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16876 * nss/nss_files/files-initgroups.c: Likewise.
16877 * nss/nss_db/db-netgrp.c: Likewise.
16878 * nss/nss_db/db-initgroups.c: Likewise.
16879 * io/fchmodat.c: Include <sys/stat.h>.
16880
16881 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16882 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16883
16884 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16885 [HAVE_MMAP].
16886
16887 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16888 Add multiple inclusion protection.
16889
e5abc686
DM
168902012-07-27 David S. Miller <davem@davemloft.net>
16891
16892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16893
815e6fa3
GB
168942012-07-27 Gary Benson <gbenson@redhat.com>
16895
16896 [BZ #14298]
16897 * elf/rtld.c: Include <stap-probe.h>.
16898 (dl_main): Added static probes "init_start" and "init_complete".
16899 * elf/dl-load.c: Include <stap-probe.h>.
16900 (lose): Take new parameter "nsid".
16901 Added static probe "map_failed".
16902 (_dl_map_object_from_fd): Pass namespace id to lose.
16903 Added static probe "map_start".
16904 (open_verify): Pass namespace id to lose.
16905 * elf/dl-open.c: Include <stap-probe.h>.
16906 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16907 and "reloc_complete".
16908 * elf/dl-close.c: Include <stap-probe.h>.
16909 (_dl_close_worker): Added static probes "unmap_start" and
16910 "unmap_complete".
16911 * elf/rtld-debugger-interface.txt: New file documenting the above.
16912
9f98c16c
RM
169132012-07-26 Roland McGrath <roland@hack.frob.com>
16914
16915 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16916 rather than a string variable.
16917 * sunrpc/rpc_main.c (h_output): Likewise.
16918 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16919
f3c22df3
PT
169202012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16921
16922 * inet/check_native.c: New file.
16923
3129cfc6
JM
169242012-07-26 Joseph Myers <joseph@codesourcery.com>
16925
da865e95
JM
16926 [BZ #13629]
16927 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16928 if larger part has absolute value 1.0.
16929 * math/s_clog10.c (__clog10): Likewise.
16930 * math/s_clog10f.c (__clog10f): Likewise.
16931 * math/s_clog10l.c (__clog10l): Likewise.
16932 * math/s_clogf.c (__clogf): Likewise.
16933 * math/s_clogl.c (__clogl): Likewise.
16934 * math/libm-test.inc (clog_test): Add more tests.
16935 (clog10_test): Likewise.
16936 * sysdeps/i386/fpu/libm-test-ulps: Update.
16937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16938
3129cfc6
JM
16939 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16940 (pltexit): Likewise.
16941 (La_regs): Likewise.
16942 (La_retval): Likewise.
16943 (int_retval): Likewise.
16944 Update #error for removed macros to refer only to definitions in
16945 tst-audit.h.
16946 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16947 macro.
16948 (pltexit): Likewise.
16949 (La_regs): Likewise.
16950 (La_retval): Likewise.
16951 (int_retval): Likewise.
16952 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16953 macro.
16954 (pltexit): Likewise.
16955 (La_regs): Likewise.
16956 (La_retval): Likewise.
16957 (int_retval): Likewise.
16958 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16959 macro.
16960 (pltexit): Likewise.
16961 (La_regs): Likewise.
16962 (La_retval): Likewise.
16963 (int_retval): Likewise.
16964 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16965 macro.
16966 (pltexit): Likewise.
16967 (La_regs): Likewise.
16968 (La_retval): Likewise.
16969 (int_retval): Likewise.
16970 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16971 macro.
16972 (pltexit): Likewise.
16973 (La_regs): Likewise.
16974 (La_retval): Likewise.
16975 (int_retval): Likewise.
16976 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16977 macro.
16978 (pltexit): Likewise.
16979 (La_regs): Likewise.
16980 (La_retval): Likewise.
16981 (int_retval): Likewise.
16982 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16983 macro definitions in tst-audit.h.
16984 * sysdeps/i386/tst-audit.h: New file.
16985 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16986 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16987 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16988 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16989 * sysdeps/sh/tst-audit.h: Likewise.
16990 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16991 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16992 * sysdeps/x86_64/tst-audit.h: Likewise.
16993
bfc07087
AJ
169942012-07-26 Andreas Jaeger <aj@suse.de>
16995
b1b2aaf8
AJ
16996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16997 ptrace.
16998
16999 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17000 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17001 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17002 PTRACE_O_MASK.
17003 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17004 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17005 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17006
bfc07087
AJ
17007 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17008 value.
17009
17010 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17011 _sigsys.
17012 (si_call_addr, si_syscall, si_arch): Define new macro.
17013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17014 _sigsys.
17015 (si_call_addr, si_syscall, si_arch): Define new marcro.
17016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17017 _sigsys.
17018 (si_call_addr, si_syscall, si_arch): Define new macro.
17019 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17020 _sigsys.
17021 (si_call_addr, si_syscall, si_arch): Define new macro.
17022
89b4b02f
JM
170232012-07-25 Joseph Myers <joseph@codesourcery.com>
17024
17025 [BZ #13717]
17026 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17027 Change to 2.4.21 where previously 2.4.1.
17028 * sysdeps/unix/sysv/linux/configure: Regenerated.
17029 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17030 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17031 Linux kernel version.
17032 (__ASSUME_STD_AUXV): Remove.
17033 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17034 kernel version.
17035 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17036 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17037 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17038 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17039 (__ASSUME_NETLINK_SUPPORT): Likewise.
17040 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17041 (__no_netlink_support): Remove conditional definition.
17042 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17043 Remove.
17044 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17045 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17046 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17047 (if_nameindex_ioctl): Remove.
17048 (if_nameindex_netlink): Do not handle __no_netlink_support.
17049 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17050 code.
17051 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17052 Remove conditional code.
17053 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17054 code.
17055 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17056 unconditional.
17057 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17058 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17059 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17060 Remove.
17061 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17062 [!__ASSUME_STD_AUXV]: Remove conditional code.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17064 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17065 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17067 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17068 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17069 code.
17070 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17072 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17073 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17074 conditional code.
17075 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17077 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17078 code.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17080 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17081 conditional code.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17083 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17084 code unconditional.
17085 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17086 conditional code.
17087 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17088 unconditional.
17089 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17090 conditional code.
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17092 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17093 unconditional.
17094 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17095 conditional code.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17097 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17098 code unconditional.
17099 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17100 conditional code.
17101 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17102 unconditional.
17103 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17104 conditional code.
17105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17106 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17107 code unconditional.
17108 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17109 conditional code.
17110 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17111 unconditional.
17112 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17113 conditional code.
17114
842a39cd
AS
171152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17116
17117 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17118 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17119 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17120 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17121 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17122 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17123 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17124 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17125 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17126 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17127 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17128 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17129 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17130 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17131 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17132 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17133 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17135 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17137 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17138 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17139 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17140
84b3fd84
FW
171412012-07-25 Florian Weimer <fweimer@redhat.com>
17142
17143 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17144 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17145 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17146 Introduce __libc_secure_getenv.
0c7936d5
FW
17147 * stdlib/Versions (2.17): Add secure_getenv
17148 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17149 * stdlib/secure-getenv.c: Rename __secure_getenv to
17150 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17151 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17152 * stdlib/tst-secure-getenv.c: New.
17153 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17154 * manual/startup.texi (Environment Access): Document
17155 secure_getenv.
84b3fd84
FW
17156 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17157 __libc_secure_getenv.
17158 * inet/ruserpass.c (ruserpass): Likewise.
17159 * malloc/mtrace.c (mtrace): Likewise.
17160 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17161 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17162 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17163 * sysdeps/posix/tempname.c: Likewise. Evaluate
17164 HAVE_SECURE_GETENV.
17165 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17166 __secure_getenv to __libc_secure_getenv.
84b3fd84 17167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17169 Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17171 Likewise.
17172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17179
56e49b71
JM
171802012-07-25 Joseph Myers <joseph@codesourcery.com>
17181
17182 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17183 (struct La_i86_retval): Likewise.
17184 (struct La_x86_64_regs): Likewise.
17185 (struct La_x86_64_retval): Likewise.
17186 (struct La_x32_regs): Likewise.
17187 (struct La_x32_retval): Likewise.
17188 (struct La_ppc32_regs): Likewise.
17189 (struct La_ppc32_retval): Likewise.
17190 (struct La_ppc64_regs): Likewise.
17191 (struct La_ppc64_retval): Likewise.
17192 (struct La_sh_regs): Likewise.
17193 (struct La_sh_retval): Likewise.
17194 (struct La_s390_32_regs): Likewise.
17195 (struct La_s390_32_retval): Likewise.
17196 (struct La_s390_64_regs): Likewise.
17197 (struct La_s390_64_retval): Likewise.
17198 (struct La_sparc32_regs): Likewise.
17199 (struct La_sparc32_retval): Likewise.
17200 (struct La_sparc64_regs): Likewise.
17201 (struct La_sparc64_retval): Likewise.
17202 (struct audit_ifaces): Remove architecture-specific pltenter and
17203 pltexit members.
17204 * sysdeps/i386/ldsodefs.h: New file.
17205 * sysdeps/powerpc/ldsodefs.h: Likewise.
17206 * sysdeps/s390/ldsodefs.h: Likewise.
17207 * sysdeps/sh/ldsodefs.h: Likewise.
17208 * sysdeps/sparc/ldsodefs.h: Likewise.
17209 * sysdeps/x86_64/ldsodefs.h: Likewise.
17210
354691b7
MP
172112012-07-25 Marek Polacek <polacek@redhat.com>
17212
17213 [BZ #6808]
17214 * math/libm-test.inc (yn_test): Add another test.
17215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17216 to ERANGE when the result is +-Inf.
17217 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17218 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17219 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17220 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17221
bf9e2071
JM
172222012-07-24 Joseph Myers <joseph@codesourcery.com>
17223
17224 * conform/data/time.h-data (NULL): Use macro-constant. Require
17225 equal to 0.
17226 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17227 clock_t.
17228 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17229
57633811
TS
172302012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17231
17232 * configure.in <sysdeps resolving>: Correct printing
17233 Implies_before.
17234 * configure: Regenerate.
17235
c23c33b0
TS
172362012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17237
17238 * math/w_ilogb.c: Include <limits.h>.
17239 * math/w_ilogbl.c: Likewise.
17240
b5982523
JM
172412012-07-20 Joseph Myers <joseph@codesourcery.com>
17242
17243 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17244 va_copy. Document allowing for unavailable va_copy only as
17245 pre-C99 compatibility.
17246 * manual/string.texi (Copying and Concatenation): Use va_copy
17247 instead of __va_copy in concat example.
17248
ac4ea442
PT
172492012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17250
17251 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17252 (__sendto): Use create_address_port. Initialize APORT and deallocate
17253 it if not null.
17254
f98eafbd
PT
17255 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17256 with O_NOLINK passed to __file_name_lookup.
17257
898c7aab
PT
17258 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17259 with O_NOLINK passed to __file_name_lookup.
17260
0ced335a
PT
17261 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17262 negative N or less than NGIDS.
17263
b3404dbd
PT
17264 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17265 type to string_t. Set ERANGE as errno and return it if NAME is not big
17266 enough. Use memcpy instead of strncpy.
17267
0f48659e
JM
172682012-07-20 Joseph Myers <joseph@codesourcery.com>
17269
17270 * elf/Makefile (check-data): Remove.
17271 (localplt.data): New vpath directive.
17272 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17273 instead of $(check-data).
17274 * scripts/data/localplt-generic.data: Move to ...
17275 * sysdeps/generic/localplt.data: ... here.
17276 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17277 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17278 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17280 ... here.
17281 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17283 ... here.
17284 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17286 ... here.
17287 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17289 ... here.
17290 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17292 ... here.
17293 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17295 ... here.
17296
d37cbdaa
AZ
172972012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17298
17299 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17300 PPC32 and PPC64 files.
17301 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17302 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17303
46f85fc2
AK
173042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17305
17306 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17307 __makecontext_ret to ...
17308 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17309 ... here and call exit if uc_link is NULL. New file.
17310 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17311 __makecontext_ret.S.
17312 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17313 __makecontext_ret to ...
17314 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17315 ... here and call exit if uc_link is NULL. New file.
17316 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17317 __makecontext_ret.S.
17318
08f43f9b
AK
173192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17320
17321 * elf/elf.h (R_390_IRELATIVE): New definition.
17322 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17323 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17324 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17326 (elf_machine_lazy_rel): Likewise.
17327 * sysdeps/s390/dl-irel.h: New file.
17328 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17329 * sysdeps/s390/s390-64/memset.S: New asm code.
17330 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17331 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17332 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17333 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17334 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17335 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17336 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17337 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17338 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17339 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17340 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17341 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17342 * sysdeps/s390/s390-32/memset.S: New asm code.
17343 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17344
3b05db33
MP
173452012-07-17 Marek Polacek <polacek@redhat.com>
17346
17347 [BZ #14349]
17348 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17349 * sysdeps/s390/s390-64/configure.in: Likewise.
17350 * sysdeps/sparc/configure.in: Likewise.
17351 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17352 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17353 * sysdeps/i386/configure.in: Likewise.
17354 * sysdeps/x86_64/configure.in: Likewise.
17355 * sysdeps/sh/configure.in: Likewise.
17356 * sysdeps/s390/s390-32/configure: Regenerated.
17357 * sysdeps/s390/s390-64/configure: Likewise.
17358 * sysdeps/x86_64/configure: Likewise.
17359 * sysdeps/sh/configure: Likewise.
17360 * sysdeps/powerpc/powerpc64/configure: Likewise.
17361 * sysdeps/powerpc/powerpc32/configure: Likewise.
17362 * sysdeps/sparc/configure: Likwise.
17363 * sysdeps/i386/configure: Likewise.
17364
a66877c6
MP
17365 * elf/dl-open.c: Comment fixes.
17366
cfc82fd8
JM
173672012-07-17 Joseph Myers <joseph@codesourcery.com>
17368
bd29910a
JM
17369 * Makefile [CXX] (check-data): Remove.
17370 [CXX] (c++-types.data): New vpath directive.
17371 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17372 vpath. Do not allow for C++ type data being missing.
17373 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17374 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17375 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17376 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17377 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17378 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17379 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17381 ... here.
17382 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17384 ... here.
17385 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17387 ... here.
17388 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17390 ... here.
17391 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17393 ... here.
17394 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17396 ... here.
17397 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17399 ... here.
17400 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17402
cfc82fd8
JM
17403 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17404 definitions to architecture-specific files.
17405 (TLS_IE): Likewise.
17406 (TLS_LD): Likewise.
17407 (TLS_GD): Likewise.
17408 * sysdeps/i386/tls-macros.h: New file.
17409 * sysdeps/powerpc/tls-macros.h: Likewise.
17410 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17411 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17412 * sysdeps/sh/tls-macros.h: Likewise.
17413 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17414 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17415 * sysdeps/x86_64/tls-macros.h: Likewise.
17416
f7db3170
TS
174172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17418
07cbfc23
TS
17419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17420 zero value for regular exit case.
17421
f7db3170
TS
17422 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17423 (__start_context): Preserve zero value for regular exit case.
17424
dc97c227
TS
174252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17426 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17427
17428 * manual/setjmp.texi (setcontext): Clarify normal process
17429 termination when uc_link is the null pointer.
17430 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17431 exit call.
17432
d0cd7d02
AS
174332012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17434
17435 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17436 preprocessor. Test for each exception mask separately.
17437
dd318934
AJ
174382012-07-16 Andreas Jaeger <aj@suse.de>
17439
17440 * po/ru.po: Update from translation team.
17441
8048311a
JM
174422012-07-15 Joseph Myers <joseph@codesourcery.com>
17443
17444 * conform/data/string.h-data (NULL): Use macro-constant. Require
17445 equal to 0.
17446 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17447 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17448 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17449 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17451
b637d46e
AJ
174522012-07-13 Andreas Jaeger <aj@suse.de>
17453
17454 * po/fr.po: Update from translation team.
17455
541428fe
MP
174562012-07-12 Marek Polacek <polacek@redhat.com>
17457
17458 [BZ #14173]
17459 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17461 loop condition.
17462
ec332e94
JM
174632012-07-12 Joseph Myers <joseph@codesourcery.com>
17464
17465 [BZ #13717]
17466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17467 Change to 2.4.1 where previously 2.4.0.
17468 * sysdeps/unix/sysv/linux/configure: Regenerated.
17469 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17470 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17471 version.
17472 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17473 (__ASSUME_AT_CLKTCK): Remove.
17474 (__ASSUME_AT_PAGESIZE): Likewise.
17475 (__ASSUME_AT_XID): Likewise.
17476 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17477 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17478 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17479 unconditionally.
17480 (HAVE_AUX_PAGESIZE): Likewise.
17481 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17482 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17483 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17484
7b6e99be
JB
174852012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17486
17487 [BZ #14307]
17488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17489 the temporary buffer used to invoke __gethostbyname2_r,
17490 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17491 host_data / struct gaih_addrtuple.
17492 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17493 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17494 header file nss/nsswitch.h.
17495 * nss/nsswitch.h (global scope): Add definition of implementation
17496 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17497 resolv/nss_dns/dns-host.c).
17498
608404eb
AJ
174992012-07-11 Andreas Jaeger <aj@suse.de>
17500
17501 * po/fr.po: Update from translation team.
17502
71220aca
AJ
17503 * po/sv.po: Update from translation team
17504 * po/fr.po: Another update from translation team.
17505
28cfe843
AZ
175062012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507
17508 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17509 for subnormals or multiply small sinh result by itself.
17510 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17512
6b90f981
DM
175132012-07-11 David S. Miller <davem@davemloft.net>
17514
17515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17516
c6825772
AS
175172012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17518
17519 [BZ #14347]
17520 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17521 (INTERNAL_MARK): Shift it here.
17522
7b8e0d49
MP
175232012-07-10 Marek Polacek <polacek@redhat.com>
17524
17525 [BZ #14151]
17526 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17527 libc_cv_asm_global_directive with .globl.
17528 * configure: Regenerated.
17529 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17530 with .globl.
17531 * sysdeps/i386/configure: Regenerated.
17532 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17533 with .globl.
17534 * sysdeps/x86_64/configure: Regenerated.
17535 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17536 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17537 * elf/tst-unique2mod2.c: Likewise.
17538 * elf/tst-unique2mod1.c: Likewise.
17539 * elf/tst-unique1mod2.c: Likewise.
17540 * elf/tst-unique1mod1.c: Likewise.
17541 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17542 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17544 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17545 * sysdeps/mach/sysdep.h: Likewise.
17546 * sysdeps/i386/sysdep.h: Likewise.
17547 * sysdeps/i386/i386-mcount.S: Likewise.
17548 * sysdeps/x86_64/_mcount.S: Likewise.
17549 * sysdeps/x86_64/sysdep.h: Likewise.
17550 * sysdeps/sh/_mcount.S: Likewise.
17551 * sysdeps/sh/sysdep.h: Likewise.
17552 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17553 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17554 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17556 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17557 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17558 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17559 * locale/localeinfo.h: Likewise.
17560 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17561 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17562
6c55cda3
RM
175632012-07-09 Roland McGrath <roland@hack.frob.com>
17564
17565 [BZ #14336]
17566 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17567 system".
17568 * manual/message.texi (The Uniforum approach): Likewise.
17569 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17570 (glibc iconv Implementation): Likewise.
17571
638a572e
JM
175722012-07-09 Joseph Myers <joseph@codesourcery.com>
17573
17574 [BZ #14337]
17575 * math/s_clog.c (__clog): Avoid scaling a value down where that
17576 could result in underflow.
17577 * math/s_clog10.c (__clog10): Likewise.
17578 * math/s_clog10f.c (__clog10f): Likewise.
17579 * math/s_clog10l.c (__clog10l): Likewise.
17580 * math/s_clogf.c (__clogf): Likewise.
17581 * math/s_clogl.c (__clogl): Likewise.
17582 * math/libm-test.inc (clog_test): Add more tests.
17583 (clog10_test): Likewise.
17584 * sysdeps/i386/fpu/libm-test-ulps: Update.
17585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17586
261f4859
AS
175872012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17588
0abaf3e4
AS
17589 [BZ #14283]
17590 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17591 by 7 not 8 to examine high bit of fractional part.
17592
261f4859
AS
17593 [BZ #14042]
17594 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17595 for call to __mcount_internal.
17596 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17597 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17598 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17599
f17ac40d
JM
176002012-07-06 Joseph Myers <joseph@codesourcery.com>
17601
9ad63c23
JM
17602 [BZ #14154]
17603 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17604 approximation for values within 0x1p-13f of an odd multiple of
17605 pi/4.
17606 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17607 exception. Add more tests.
17608 * sysdeps/i386/fpu/libm-test-ulps: Update.
17609
f17ac40d
JM
17610 [BZ #6778]
17611 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17612 inputs and return -1 for them. Do not check for +Inf in case not
17613 reachable for +Inf.
17614 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17615 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17617 and return -1 for them. Do not check for +Inf in case not
17618 reachable for +Inf.
17619 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17620 define.
17621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17622 and return -1 for them. Do not check for +Inf in case not
17623 reachable for +Inf.
17624 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17625 spurious underflow.
17626 * sysdeps/i386/fpu/libm-test-ulps: Update.
17627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17628
fb21f89b
MF
176292012-07-06 Mike Frysinger <vapier@gentoo.org>
17630
17631 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17632
cdfe2c5e
JM
176332012-07-05 Joseph Myers <joseph@codesourcery.com>
17634
17635 [BZ #14157]
17636 [BZ #14331]
17637 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17638 could result in spurious underflow. Scale down values above
17639 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17640 * math/s_csqrtf.c (__csqrtf): Likewise.
17641 * math/s_csqrtl.c (__csqrtl): Likewise.
17642 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17643 spurious underflow.
17644 * sysdeps/i386/fpu/libm-test-ulps: Update.
17645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17646
70d35b67
AS
176472012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17648
704bc459
AS
17649 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17650 xopen-msg.sed.
17651 * catgets/xopen-msg.awk: New file.
17652 * catgets/xopen-msg.sed: Removed.
17653
70d35b67
AS
17654 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17655 po2text.sed.
17656 * intl/po2test.awk: New file.
17657 * intl/po2test.sed: Removed.
17658
ca61cf32
JM
176592012-07-04 Joseph Myers <joseph@codesourcery.com>
17660
17661 [BZ #14328]
17662 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17663 or multiply small sinh result by itself.
17664 * math/s_ctanf.c (__ctanf): Likewise.
17665 * math/s_ctanh.c (__ctanh): Likewise.
17666 * math/s_ctanhf.c (__ctanhf): Likewise.
17667 * math/s_ctanhl.c (__ctanhl): Likewise.
17668 * math/s_ctanl.c (__ctanl): Likewise.
17669 * math/libm-test.inc (ctan_test_tonearest): New function.
17670 (ctan_test_towardzero): Likewise.
17671 (ctan_test_downward): Likewise.
17672 (ctan_test_upward): Likewise.
17673 (ctanh_test_tonearest): Likewise.
17674 (ctanh_test_towardzero): Likewise.
17675 (ctanh_test_downward): Likewise.
17676 (ctanh_test_upward): Likewise.
17677 (main): Call these new functions.
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680
ca48a46a
MF
176812012-07-03 Mike Frysinger <vapier@gentoo.org>
17682
17683 * .gitignore: Delete /ports entry.
17684
9d63d37d
AJ
176852012-07-03 Andreas Jaeger <aj@suse.de>
17686
17687 * po/bg.po: Update from translation team.
17688 * po/cs.po: Likewise.
17689 * po/de.po: Likewise.
17690 * po/hr.po: Likewise.
17691 * po/nl.pl: Likewise.
17692 * po/pl.po: Likewise.
17693 * po/vi.po: Likewise.
17694
370ca3d2
JM
176952012-07-03 Joseph Myers <joseph@codesourcery.com>
17696
95f5a9a8
JM
17697 * Makeconfig [!+link] (+link-before-libc): New variable.
17698 [!+link] (+link-after-libc): Likewise.
17699 [!+link] (+link-tests): Likewise.
17700 [!+link] (+link): Define in terms of $(+link-before-libc) and
17701 $(+link-after-libc).
17702 [!+link-static] (+link-static-before-libc): New variable.
17703 [!+link-static] (+link-static-after-libc): Likewise.
17704 [!+link-static] (+link-static-tests): Likewise.
17705 [!+link-static] (+link-static): Define in terms of
17706 $(+link-static-before-libc) and $(+link-static-after-libc).
17707 [build-shared] (link-libc-before-gnulib): New variable.
17708 [build-shared] (link-libc-tests): Likewise.
17709 [build-shared] (link-libc): Define in terms of
17710 $(link-libc-before-gnulib).
17711 [!build-shared] (link-libc-tests): New variable.
17712 (link-libc-static-tests): New variable.
17713 [!gnulib] (gnulib-arch): New variable.
17714 [!gnulib] (gnulib-tests): Likewise.
17715 [!gnulib] (static-gnulib-arch): Likewise.
17716 [!gnulib] (static-gnulib-tests): Likewise.
17717 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17718 Define with "=" instead of ":=".
17719 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17720 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17721 * Rules (binaries-all-notests): New variable.
17722 (binaries-all-tests): Likewise.
17723 (binaries-static-notests): Likewise.
17724 (binaries-static-tests): Likewise.
17725 (binaries-all): Define using $(binaries-all-notests) and
17726 $(binaries-all-tests).
17727 (binaries-static): Define using $(binaries-static-notests) and
17728 $(binaries-static-tests).
17729 (binaries-shared-tests): New variable.
17730 (binaries-shared-notests): Likewise.
17731 (binaries-shared): Remove variable.
17732 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17733 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17734 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17735 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17736 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17737 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17738 * elf/Makefile (sln-modules): New variable.
17739 (extra-objs): Add $(sln-modules:=.o).
17740 (ldconfig-modules): Add static-stubs.
17741 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17742 * elf/static-stubs.c: New file.
17743
7a845b2c
JM
17744 [BZ #14283]
17745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17746 by 7 not 8 to examine high bit of fractional part. Use volatile
17747 variables when splitting into final array of floats if
17748 __FLT_EVAL_METHOD__ != 0.
17749 * math/libm-test.inc (cos_test): Add another test.
17750 (sin_test): Likewise.
17751 * sysdeps/i386/fpu/libm-test-ulps: Update.
17752
e2283f38
JM
17753 [BZ #14273]
17754 * math/libm-test.inc (cosh_test): Add more tests.
17755
370ca3d2
JM
17756 * version.h (RELEASE): Set to "development".
17757 (VERSION): Set to "2.16.90".
17758
ee9247c3
CD
177592012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17760
17761 * NEWS: Update copyright. Remove last-updated date.
17762 Mention math library bug fixes and timezone data changes.
17763 * README: Mention GNU/Hurd, x32, and HPPA support status.
17764
4648c381
TS
177652012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17766
17767 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17768
aac78a43
AJ
177692012-06-27 Andreas Jaeger <aj@suse.de>
17770
17771 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17772
ed3dbfad
AJ
177732012-06-25 Andreas Jaeger <aj@suse.de>
17774
17775 * sysdeps/s390/fpu/libm-test-ulps: Update.
17776
4d0ee855
AS
177772012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17778 Thomas Schwinge <thomas@codesourcery.com>
17779
17780 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17781 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17783 fanotify_mark.
17784
af1bce34
TS
177852012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17786
a9fa33ba
TS
17787 * sysdeps/mach/start.c: Remove file.
17788 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17789 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17790 * sysdeps/sh/init-first.c: Likewise.
17791
58f902b8
TS
17792 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17793 registers for frame unwinding purposes, add CFI directives.
17794 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17795 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17796 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17797 Likewise.
17798
1518f58b
TS
17799 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17800 __fortify_fail returning.
17801 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17802
db9b5059
TS
17803 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17804 sysdeps/sh/____longjmp_chk.S.
17805 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17806 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17807 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17808 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17809
967705fe
TS
17810 * sysdeps/sh/abort-instr.h: New file.
17811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17812 process in case exit returns.
17813
a9def8c4
TS
17814 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17815 initialize the GOT register before use.
17816
2a649725
TS
17817 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17818 calculation of ARGC > 4.
17819
af1bce34
TS
17820 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17821 meaningful names to some local labels.
17822
d230f50a
KK
178232012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17824 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17825
17826 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17827 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17828 (__arch_compare_and_exchange_val_16_acq): Likewise.
17829 (__arch_compare_and_exchange_val_32_acq): Likewise.
17830 (atomic_exchange_and_add): Fix gUSA sequence.
17831 (atomic_add): Likewise.
17832 (atomic_add_negative): Likewise.
17833 (atomic_add_zero): Likewise.
17834 (atomic_bit_test_set): Likewise.
17835
0479b305
AS
178362012-06-22 Andreas Schwab <schwab@redhat.com>
17837
17838 [BZ #13579]
17839 * include/link.h (struct link_map): Add l_free_initfini.
17840 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17841 l_initfini.
17842 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17843 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17844 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17845 set.
17846
0e3933b9
CD
178472012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17848
17849 * configure.in: Use AC_LANG_SOURCE.
17850 * configure: Regenerate.
17851
4248b1b1
RM
178522012-06-22 Roland McGrath <roland@hack.frob.com>
17853
17854 * configure.in (libc_cv_localstatedir): New substituted variable.
17855 * configure: Regenerated.
17856 * config.make.in (localstatedir): New variable, substituted from
17857 libc_cv_localstatedir.
17858 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17859 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17860 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17861 * sysdeps/gnu/configure: Regenerated.
17862
006dd861
JL
178632012-06-21 Jeff Law <law@redhat.com>
17864
17865 [BZ #14277]
17866 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17867 free. Simplify list management for _LIBC case.
17868
79662d42
JM
178692012-06-21 Joseph Myers <joseph@codesourcery.com>
17870
b7abb4bf
JM
17871 [BZ #14273]
17872 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17873 Clear sign bit of 64-bit integer value before comparing against
17874 overflow value.
17875
79662d42
JM
17876 * sysdeps/mach/configure: Regenerated.
17877
1f150908
L
178782012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 [BZ #14278]
17881 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17882
28363bbf
JL
178832012-06-21 Jeff Law <law@redhat.com>
17884
17885 [BZ #13882]
17886 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17887 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17888 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17889 * elf/dl-open.c (dl_open_worker): Likewise.
17890
09615db4
CD
178912012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17892
17893 * scripts/list-sources.sh: Scan PORTS for translations.
17894 * po/libc.pot: Regenerated.
17895
2174c6dd
AJ
178962012-06-21 Andreas Jaeger <aj@suse.de>
17897
17898 [BZ #12194]
17899 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17900 warning.
17901 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17902 * bits/byteswap-16.h (__bswap_16): Likewise.
17903 * bits/byteswap.h (__bswap_constant_16): Likewise.
17904
3ee947b1
L
179052012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 [BZ #14117]
a2f34833
L
17908 * sysdeps/i386/fpu_control.h: Removed.
17909 * sysdeps/x86_64/fpu_control.h: Moved to ...
17910 * sysdeps/x86/fpu_control.h: Here.
17911
3ee947b1
L
17912 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17913 (_FPU_SETCW): Likewise.
17914
ed1825f8
L
179152012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17916
25f1282a
L
17917 [BZ #14117]
17918 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17919 * sysdeps/x86/fpu/bits/mathinline.h: This.
17920 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17921
ed1825f8
L
17922 [BZ #14050]
17923 [BZ #14117]
17924 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17925 functions if __x86_64__ is defined.
17926
36d54b74
CLT
179272012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17928
17929 * string/endian.h: Add !__ASSEMBLER__ condition for including
17930 conversion interfaces.
17931
10285c21
JM
179322012-06-15 Joseph Myers <joseph@codesourcery.com>
17933
17934 [BZ #14241]
17935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17936 of ABS(x) in calculating zero to negative powers other than odd
17937 integers.
17938 * math/libm-test.inc (pow_test): Add more tests.
17939
06c5abbd
AJ
179402012-06-15 Andreas Jaeger <aj@suse.de>
17941
17942 * manual/contrib.texi (Contributors): Update entry of Liubov
17943 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17944 Machado Filho.
17945
a3aeac40
CH
179462012-06-15 Cyril Hrubis <metan@ucw.cz>
17947
17948 * string/string.h: Add __wur to GNU version of strerror_r.
17949
49bdf4c1
L
179502012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17951
17952 [BZ #14229]
17953 * string/Makefile (tests): Add tst-strtok_r.
17954 * string/tst-strtok_r.c: New file.
17955 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17956 RAX_LP/RDX_LP on SAVE_PTR.
17957
834f9b8d
RM
179582012-06-14 Roland McGrath <roland@hack.frob.com>
17959
17960 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17961
75fa1921
JM
179622012-06-14 Joseph Myers <joseph@codesourcery.com>
17963
17964 * libm_test.inc (csqrt_test): Allow more spurious underflow
17965 exceptions.
17966 (j0_test): Likewise.
17967 (j1_test): Likewise.
17968 (y0_test): Likewise.
17969 (y1_test): Likewise.
17970
771766df
CD
179712012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17972
17973 * po/Makefile (libc.pot): Use UTF-8 charset.
17974
ceb9e56b
PP
179752012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17976
17977 [BZ #14210]
17978 Suppress sign-conversion warning from FD_SET.
17979 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17980 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17981 not unsigned long int.
17982 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17983
ddb28975
L
179842012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 [BZ #14050]
17987 [BZ #14117]
17988 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17989 __extern_always_inline instead of __extern_inline.
17990 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17991 (__signbit): Likewise.
17992 (__signbitl): Support C++ namespace.
17993 (lrintf): New inline function.
17994 (lrint): Likewise.
17995 (llrintf): Likewise.
17996 (llrint): Likewise.
17997 (fmaxf): Likewise.
17998 (fmax): Likewise.
17999 (fminf): Likewise.
18000 (fmin): Likewise.
18001 (rint): Likewise.
18002 (rintf): Likewise.
18003 (ceil): Likewise.
18004 (ceilf): Likewise.
18005 (floor): Likewise.
18006 (floorf): Likewise.
18007 (nearbyint): Likewise.
18008 (nearbyintf): Likewise.
18009
d7b4fb26
TS
180102012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18011
18012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18013 non-default versions.
18014
eb55f5c2
RM
180152012-06-11 Roland McGrath <roland@hack.frob.com>
18016
18017 [BZ #14218]
18018 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18019
366af02c
TS
180202012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18021
99ff6e5c
TS
18022 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18023 (FE_UPWARD, FE_DOWNWARD): Don't define.
18024 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18025 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18026
366af02c
TS
18027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18028 reading it.
18029 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18030 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18031
793ea851
KK
180322012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18033
18034 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18036 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18037 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18038
a728a38f
L
180392012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18040
18041 [BZ #14117]
c08010c7
L
18042 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18043 * sysdeps/i386/fpu/Implies: New file.
18044 * sysdeps/x86_64/fpu/Implies: Likewise.
18045 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18046 * sysdeps/x86/fpu/bits/fenv.h: This.
18047
a728a38f
L
18048 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18049 __SSE_MATH__.
18050
6e230d11
SP
180512012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18052
18053 [BZ #14134]
18054 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18055 character 0xffff that matches the last element of the
18056 conversion table.
18057
1b671feb
AZ
180582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18059
18060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18061 fmodl commit.
18062
6043738b
AZ
180632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18064
18065 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18066 values higher than 25.6283.
18067
34ae0b32
AZ
180682012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18069
18070 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18071 subnormal exponent extraction and add some __builtin_expect.
18072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18073 Fix for subnormal mantissa calculation.
18074
1214ec8f
MF
180752012-06-04 Mike Frysinger <vapier@gentoo.org>
18076
18077 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18078 cpu2 is -1 and errno is not ENOSYS.
18079
f3d1f93c
L
180802012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18081
18082 [BZ #14117]
0e4a3cd7
L
18083 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18084 * sysdeps/x86/bits/string.h: This.
18085 * sysdeps/x86_64/bits/string.h: Removed.
18086
6704c645
L
18087 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18088 if not compiling for x86-64, but compiling for >= i486.
18089
48495318
L
18090 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18091 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18092
14adcbfc
L
18093 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18094 New macro from Linux kernel 3.4.0.
18095 (FP_XSTATE_MAGIC2): Likewise.
18096 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18097 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18098 (struct _fpx_sw_bytes): New struct.
18099 (struct _xsave_hdr): Likewise.
18100 (struct _ymmh_state): Likewise.
18101 (struct _xstate): Likewise.
18102
68e408ab
L
18103 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18104 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18105 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18106 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18107 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18108 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18109
f3d1f93c
L
18110 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18112 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18113 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18114 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18115 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18116
d9dc34cd
TMQMF
181172012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18118
18119 [BZ #13743]
18120 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18121 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18122 (sysdep_headers): Include sys/platform/ppc.h.
18123 * sysdeps/powerpc/test-gettimebase.c: Test for
18124 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18125 * manual/Makefile (appendices): Include platform.texi.
18126 * manual/contrib.texi (Contributors): Update @node pointers.
18127 * manual/maint.texi (Maintenance): Likewise.
18128 (Platform): New node.
18129 * manual/platform.texi: New file. Document the new features.
18130
4af3879c
SP
181312012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18132 Jakub Jelinek <jakub@redhat.com>
18133
18134 [BZ #14188]
18135 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18136 where __builtin_expect is unavailable.
18137
2fd6ff13
DM
181382012-06-03 David S. Miller <davem@davemloft.net>
18139
18140 * stdlib/longlong.h: Updated from GCC.
18141
173f7220
AS
181422012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18143
18144 [BZ #14042]
18145 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18146 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18147 __mcount_internal.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18149 (GLIBC_2.16): Likewise.
18150
f34a1c6f
L
181512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18152
18153 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18154
88a4576f
JM
181552012-06-01 Joseph Myers <joseph@codesourcery.com>
18156
ea32bcdd
JM
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18158 (default-abi): New variable.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18160 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18161 variable.
18162 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18163 Likewise.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18165 Likewise.
18166 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18167 Likewise.
18168
88a4576f
JM
18169 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18170 definition. Document in comment.
18171
402fe938
DM
181722012-06-01 David S. Miller <davem@davemloft.net>
18173
18174 * stdlib/longlong.h: Updated from GCC.
18175
3553723f
L
181762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18177
18178 [BZ #14117]
3bd872c4
L
18179 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18180 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18181 sys/debugreg.h sys/io.h here.
18182 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18183 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18184 sys/io.h.
18185 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18186 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18187 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18188 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18189 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18190 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18191
3553723f
L
18192 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18193 Define only if __x86_64__ is defined.
18194
4842e4fe
JM
181952012-06-01 Joseph Myers <joseph@codesourcery.com>
18196
c5bfe3d5
JM
18197 [BZ #14048]
18198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18199 Use int64_t for variable i.
18200 * math/libm-test.inc (fmod_test): Add more tests.
18201
4842e4fe
JM
18202 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18203 z computation is not scheduled after fetestexcept.
18204 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18205 Use math_force_eval instead of asm to ensure calculation scheduled
18206 before exception test.
18207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18208 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18209
efb73488
AJ
182102012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18211
18212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18213 computation is not scheduled after fetestexcept.
18214
29bcce7c
L
182152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18216
18217 [BZ #14117]
18218 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18219 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18220
73a68f94
AZ
182212012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18222
18223 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18224 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18225
67b6df78
L
182262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18227
edf2933a 18228 [BZ #14117]
ebc64a18
L
18229 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18230 <bits/wordsize.h>.
18231 (__WCHAR_MIN): Support __WORDSIZE == 64.
18232 (__WCHAR_MAX): Likewise.
18233
edf2933a
L
18234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18235 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18236
57c6cf40
L
18237 [BZ #14183]
18238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18239 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18240
67b6df78 18241 [BZ #14117]
8eb6281e
L
18242 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18243 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18244
aac639f4
L
18245 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18246 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18247
67b6df78
L
18248 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18249 Defined to 1 if __x86_64__ isn't defined.
18250 (_STAT_VER_LINUX_OLD): New.
18251 (st_atime): Remove duplicate.
18252 (st_mtime): Likewise.
18253 (st_ctime): Likewise.
18254
1c2cfe81
DM
182552012-05-31 David S. Miller <davem@davemloft.net>
18256
18257 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18258 entries.
18259
5be8418c
AS
182602012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18261
e7725326
AS
18262 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18263 gen-libm-test.pl.
18264
5be8418c
AS
18265 [BZ #14132]
18266 * elf/dl-reloc.c: Include <_itoa.h>.
18267 (_dl_reloc_bad_type): Remove use of INTUSE.
18268 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18269 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18270 * stdio-common/psiginfo.c (psiginfo): Likewise.
18271 * stdio-common/psignal.c (psignal): Likewise.
18272 * string/strsignal.c (strsignal): Likewise.
18273 * include/signal.h (_sys_siglist): Declare hidden proto.
18274 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18275 INTVARDEF with libc_hidden_data_def.
18276 * stdio-common/itoa-udigits.c: Likewise.
18277 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18278 (_itoa_lower_digits_internal): Remove declaration.
18279 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18280 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18281 (_sys_sigabbrev_internal): Remove aliases.
18282 (_sys_siglist): Define hidden alias.
18283
507352f1
MT
182842012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18285
18286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18287 bits/sysctl.h.
18288
42bbb1c3
L
182892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18290
18291 [BZ #14117]
6bd784b6
L
18292 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18293 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18294
8bca20f0
L
18295 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18296 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18297 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18298 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18300 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18301
f9e890a9
L
18302 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18303 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18304 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18305
471101a1
L
18306 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18307 with __addr.
18308 (insw): Likewise.
18309 (insl): Likewise.
18310 (outsb): Likewise.
18311 (outsw): Likewise.
18312 (outsl): Likewise.
18313
6451c862
L
18314 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18315 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18316 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18317
a254b8c9
L
18318 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18319 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18321 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18322 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18323 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18324
b8dfdd92
L
18325 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18326 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18327
578cd270
L
18328 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18329 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18330
de662f5f
L
18331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18332 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18333 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18334
25653439
L
18335 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18336 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18337 to ...
18338 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18339
6bad24a0
L
18340 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18341 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18342 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18343
42bbb1c3
L
18344 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18345 for x86-64.
18346 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18347
2d10d547
JM
183482012-05-31 Joseph Myers <joseph@codesourcery.com>
18349
18350 * math/math.h (M_El): Use two more decimal places.
18351 (M_LOG2El): Likewise.
18352 (M_LOG10El): Likewise.
18353 (M_LN2l): Likewise.
18354 (M_LN10l): Likewise.
18355 (M_PIl): Likewise.
18356 (M_PI_2l): Likewise.
18357 (M_PI_4l): Likewise.
18358 (M_1_PIl): Likewise.
18359 (M_2_PIl): Likewise.
18360 (M_2_SQRTPIl): Likewise.
18361 (M_SQRT2l): Likewise.
18362 (M_SQRT1_2l): Likewise.
18363
f230c29b
DM
183642012-05-31 David S. Miller <davem@davemloft.net>
18365
18366 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18367 values between float registers.
18368 * sysdeps/sparc/sparc64/memset.S: Likewise.
18369 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18370
fed806c3
MF
183712012-05-31 Mike Frysinger <vapier@gentoo.org>
18372
18373 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18374 -D_FORTIFY_SOURCE=1.
18375 (CPPFLAGS-tst-longjmp_chk.c): Define.
18376 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18377 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18378 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18379 CFLAGS-tst-wchar-h.c.
18380
30917259
MP
183812012-05-31 Marek Polacek <polacek@redhat.com>
18382
18383 [BZ #14132]
18384 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18385 __endmntent_internal): Remove declaration.
18386 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18387 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18388 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18389
1c58d5dc
DM
183902012-05-30 David S. Miller <davem@davemloft.net>
18391
18392 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18393 (___Q_simulate_exceptions): Use real FP ops rather than writing
18394 into the %fsr.
18395 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18396 Likewise.
18397
7dc00e0d
L
183982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18399
18400 [BZ #14117]
0bd53985
L
18401 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18402 * sysdeps/x86/bits/xtitypes.h: This.
18403
3a257e66
L
18404 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18405 * sysdeps/x86/bits/wordsize.h: This.
18406
62f62904
L
18407 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18408 * sysdeps/x86/bits/huge_vall.h: This.
18409
404fe9d9
L
18410 * sysdeps/i386/bits/select.h: Removed.
18411 * sysdeps/x86_64/bits/select.h: Renamed to ...
18412 * sysdeps/x86/bits/select.h: This.
18413
d48d0446
L
18414 * sysdeps/i386/bits/setjmp.h: Removed.
18415 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18416 * sysdeps/x86/bits/setjmp.h: This.
18417
7dc00e0d
L
18418 * sysdeps/i386/bits/mathdef.h: Removed.
18419 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18420 * sysdeps/x86/bits/mathdef.h: This.
18421
03277f8f
AS
184222012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18423
18424 [BZ #14132]
18425 * include/sys/socket.h (__connect_internal)
18426 (__libc_sa_len_internal): Remove declaration.
18427 (__connect, __libc_sa_len): Declare hidden_proto.
18428 (SA_LEN): Remove use of INTUSE.
18429 * socket/connect.c: Add libc_hidden_def.
18430 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18431 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18432 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18433 alias.
18434 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18436 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18437 of adding _internal alias.
18438
13764867
L
184392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18440
18441 [BZ #14117]
6bd97696
L
18442 * sysdeps/i386/bits/link.h: Removed.
18443 * sysdeps/i386/bits/linkmap.h: Likewise.
18444 * sysdeps/x86_64/bits/link.h: Renamed to ...
18445 * sysdeps/x86/bits/link.h: This.
18446 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18447 * sysdeps/x86/bits/linkmap.h: This.
18448
f726f0bb
L
18449 * sysdeps/i386/bits/endian.h: Removed.
18450 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18451 * sysdeps/x86/bits/endian.h: This.
18452
13764867
L
18453 * sysdeps/i386/bits/byteswap.h: Removed.
18454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18455 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18456 * sysdeps/x86/bits/byteswap.h: This.
18457 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18458 * sysdeps/x86/bits/byteswap-16.h: This.
18459 * sysdeps/i386/Implies: Add x86.
18460 * sysdeps/x86_64/Implies: Likewise.
18461
ae251b0b
DM
184622012-05-30 David S. Miller <davem@davemloft.net>
18463
18464 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18465 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18466 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18467 (FP_TRAPPING_EXCEPTIONS): Define.
18468 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18469 (FP_TRAPPING_EXCEPTIONS): Define.
18470 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18471 subnormals only when inexact has been signalled or underflow
18472 exceptions are enabled.
18473 (_FP_PACK_CANONICAL): Likewise.
18474
d5c90867
L
184752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 [BZ #14183]
18478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18479 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18480
63f1549e
RH
184812012-05-30 Richard Henderson <rth@twiddle.net>
18482
8d8f2279
RH
18483 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18484 with #ifndef NOT_IN_libc.
18485
63f1549e
RH
18486 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18487 marked to avoid plt entry.
18488
0ab0291b
L
184892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18490
18491 [BZ #14112]
18492 * Makeconfig (default-abi): New macro.
18493 (abi-includes): Likewise.
18494 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18495 $(abi-$(default-abi)-lib-soname) for soname if defined.
18496 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18497 abi-variants.
18498 * Makefile (installed-stubs): Likewise.
18499 * include/stubs-biarch.h: Removed.
18500 * scripts/lib-names.awk: Only handle one library at a time.
18501 * scripts/soversions.awk: Remove WORDSIZE support.
18502 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18503 entries.
18504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18505 Removed.
18506 (syscall-list-default-condition): Likewise.
18507 (syscall-list-default-condition): Likewise.
18508 (syscall-list-includes): Likewise.
18509 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18510 syscall-list-* with abi-*. Handle undefined abi-variants.
18511 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18512 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18513 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18514 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18515 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18516 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18517 Removed.
18518 (syscall-list-32-options): Likewise.
18519 (syscall-list-32-condition): Likewise.
18520 (syscall-list-64-options): Likewise.
18521 (syscall-list-64-condition): Likewise.
18522 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18523 macro.
18524 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18525 Renamed to ...
18526 (abi-*): This.
18527 (abi-64-ld-soname): New macro.
18528 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18529 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18530 Renamed to ...
18531 (abi-*): This.
18532 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18533 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18534
4da0431d
JM
185352012-05-30 Joseph Myers <joseph@codesourcery.com>
18536
3a85279c
JM
18537 * sysdeps/unix/sysv/linux/kernel-features.h
18538 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18539 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18540 include <kernel-features.h>.
18541 [!__NR_ftruncate64]: Remove conditional code.
18542 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18543 [__NR_ftruncate64]: Make code unconditional.
18544 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18545 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18546 include <kernel-features.h>.
18547 [!__NR_ftruncate64]: Remove conditional code.
18548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18549 [__NR_ftruncate64]: Make code unconditional.
18550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18552 include <kernel-features.h>.
18553 [!__NR_ftruncate64]: Remove conditional code.
18554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18555 [__NR_ftruncate64]: Make code unconditional.
18556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18558 include <kernel-features.h>.
18559 [!__NR_ftruncate64]: Remove conditional code.
18560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18561 [__NR_ftruncate64]: Make code unconditional.
18562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18563
4da0431d
JM
18564 * configure.in (libc_cv_fpie): Weaken to a compile test using
18565 LIBC_TRY_CC_OPTION.
18566 * configure: Regenerated.
18567
11ef492c
AK
185682012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18569
18570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18574 Refreshed.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18581 Refreshed.
18582
d66ef399
DM
185832012-05-27 David S. Miller <davem@davemloft.net>
18584
18585 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18586 (___Q_zero): New.
18587 (__Q_simulate_exceptions): Return void. Change to simulate
18588 exceptions by writing into the %fsr.
18589 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18590 (__Qp_handle_exceptions): Likewise.
18591 (numbers): Delete.
18592 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18593 __Qp_handle_exceptions.
18594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18595 __Qp_handle_exceptions.
18596 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18597 as unused and give dummy FP_RND_NEAREST initializer.
18598 (FP_INHIBIT_RESULTS): Define.
18599 (___Q_simulate_exceptions): Update declaration.
18600 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18601 formatting.
18602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18603 as unused and give dummy FP_RND_NEAREST initializer.
18604 (__Qp_handle_exceptions): Update declaration.
18605 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18606 formatting.
18607
04fb54b5
TS
186082012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18609
18610 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18611 the temporary FPU control word.
18612 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18613 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18614 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18615 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18616 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18617 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18618 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18619 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18620 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18621 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18622 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18623
3f99608f
KK
186242012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18625
18626 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18627 fields.
18628
65a4de4e
CLT
186292012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18630
18631 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18632 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18633 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18634 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18635 Likewise.
18636 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18637 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18638 Likewise.
18639
15749d40
UD
186402012-05-27 Ulrich Drepper <drepper@gmail.com>
18641
18642 * po/h.po: Update from translation team.
18643
25dbcb27
AS
186442012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18645
3d3f8e55
AS
18646 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18647
25dbcb27
AS
18648 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18649 handling of denormals.
18650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18651 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18652 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18653 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18654 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18657 Likewise.
18658
7ad47a80 186592012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18660
18661 [BZ #14152]
18662 * math/libm-test.inc (fma_test): Don't always expect underflow
18663 exception.
18664
9c6ea9fa
SP
186652012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18666
18667 [BZ #12416]
18668 * elf/tst-execstack.c: Include stackinfo.h.
18669 (do_test): Adjust test case to ensure that pthread_getattr_np
18670 behaviour remains the same after marking stack executable.
18671
a8239222
JM
186722012-05-25 Joseph Myers <joseph@codesourcery.com>
18673
18674 * sysdeps/unix/sysv/linux/kernel-features.h
18675 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18676 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18677 kernel-features.h.
18678 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18679 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18680 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18681 kernel-features.h.
18682 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18683 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18684
918b5606
L
186852012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18686
18687 * configure.in: Define the default includes to being none.
18688 * configure: Regenerated.
18689
3a097cc7
RM
186902012-05-25 Roland McGrath <roland@hack.frob.com>
18691
8422c9a5
RM
18692 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18693 * sysdeps/x86_64/setjmp.S: Likewise.
18694 * sysdeps/i386/bsd-setjmp.S: Likewise.
18695 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18696 * sysdeps/i386/setjmp.S: Likewise.
18697 * sysdeps/i386/__longjmp.S: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18699 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18700
3a097cc7
RM
18701 * include/stap-probe.h: New file.
18702 * configure.in: Handle --enable-systemtap.
18703 * configure: Regenerated.
18704 * config.h.in (USE_STAP_PROBE): New #undef.
18705 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18706 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18707 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18708
21708942
JM
187092012-05-25 Joseph Myers <joseph@codesourcery.com>
18710
18711 [BZ #13717]
18712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18713 to 2.4.0 where earlier.
18714 * sysdeps/unix/sysv/linux/configure: Regenerated.
18715 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18716 <kernel-features.h>.
18717 [__ASSUME_32BITUIDS]: Make code unconditional.
18718 [!__ASSUME_32BITUIDS]: Remove conditional code.
18719 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18720 <kernel-features.h>.
18721 [__ASSUME_32BITUIDS]: Make code unconditional.
18722 [!__ASSUME_32BITUIDS]: Remove conditional code.
18723 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18724 [__ASSUME_32BITUIDS]: Make code unconditional.
18725 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18726 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18727 <kernel-features.h>.
18728 [__ASSUME_32BITUIDS]: Make code unconditional.
18729 [!__ASSUME_32BITUIDS]: Remove conditional code.
18730 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18731 <kernel-features.h>.
18732 [__ASSUME_32BITUIDS]: Make code unconditional.
18733 [!__ASSUME_32BITUIDS]: Remove conditional code.
18734 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18735 <kernel-features.h>.
18736 [__ASSUME_32BITUIDS]: Make code unconditional.
18737 [!__ASSUME_32BITUIDS]: Remove conditional code.
18738 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18739 <kernel-features.h>.
18740 [__ASSUME_32BITUIDS]: Make code unconditional.
18741 [!__ASSUME_32BITUIDS]: Remove conditional code.
18742 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18743 <kernel-features.h>.
18744 [__ASSUME_32BITUIDS]: Make code unconditional.
18745 [!__ASSUME_32BITUIDS]: Remove conditional code.
18746 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18747 <kernel-features.h>.
18748 [__ASSUME_32BITUIDS]: Make code unconditional.
18749 [!__ASSUME_32BITUIDS]: Remove conditional code.
18750 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18751 <kernel-features.h>.
18752 [__ASSUME_32BITUIDS]: Make code unconditional.
18753 [!__ASSUME_32BITUIDS]: Remove conditional code.
18754 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18755 <kernel-features.h>.
18756 [__ASSUME_32BITUIDS]: Make code unconditional.
18757 [!__ASSUME_32BITUIDS]: Remove conditional code.
18758 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18759 <kernel-features.h>.
18760 [__ASSUME_32BITUIDS]: Make code unconditional.
18761 [!__ASSUME_32BITUIDS]: Remove conditional code.
18762 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18763 <kernel-features.h>.
18764 [__ASSUME_32BITUIDS]: Make code unconditional.
18765 [!__ASSUME_32BITUIDS]: Remove conditional code.
18766 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18767 <kernel-features.h>.
18768 [__NR_setresgid] (__setresgid): Do not declare.
18769 [__ASSUME_32BITUIDS]: Make code unconditional.
18770 [!__ASSUME_32BITUIDS]: Remove conditional code.
18771 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18772 <kernel-features.h>.
18773 [__NR_setresuid] (__setresuid): Do not declare.
18774 [__ASSUME_32BITUIDS]: Make code unconditional.
18775 [!__ASSUME_32BITUIDS]: Remove conditional code.
18776 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18777 <kernel-features.h>.
18778 [__ASSUME_32BITUIDS]: Make code unconditional.
18779 [!__ASSUME_32BITUIDS]: Remove conditional code.
18780 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18781 <kernel-features.h>.
18782 [__ASSUME_32BITUIDS]: Make code unconditional.
18783 [!__ASSUME_32BITUIDS]: Remove conditional code.
18784 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18785 <kernel-features.h>.
18786 [__ASSUME_32BITUIDS]: Make code unconditional.
18787 [!__ASSUME_32BITUIDS]: Remove conditional code.
18788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18789 <kernel-features.h>.
18790 [__ASSUME_32BITUIDS]: Make code unconditional.
18791 [!__ASSUME_32BITUIDS]: Remove conditional code.
18792 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18793 <kernel-features.h>.
18794 [__ASSUME_32BITUIDS]: Make code unconditional.
18795 [!__ASSUME_32BITUIDS]: Remove conditional code.
18796 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18797 <kernel-features.h>.
18798 [__ASSUME_32BITUIDS]: Make code unconditional.
18799 [!__ASSUME_32BITUIDS]: Remove conditional code.
18800 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18801 <kernel-features.h>.
18802 [__ASSUME_32BITUIDS]: Make code unconditional.
18803 [!__ASSUME_32BITUIDS]: Remove conditional code.
18804 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18805 <kernel-features.h>.
18806 [__ASSUME_32BITUIDS]: Make code unconditional.
18807 [!__ASSUME_32BITUIDS]: Remove conditional code.
18808 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18809 <kernel-features.h>.
18810 [__ASSUME_32BITUIDS]: Make code unconditional.
18811 [!__ASSUME_32BITUIDS]: Remove conditional code.
18812 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18813 <kernel-features.h>.
18814 [__ASSUME_32BITUIDS]: Make code unconditional.
18815 [!__ASSUME_32BITUIDS]: Remove conditional code.
18816 * sysdeps/unix/sysv/linux/kernel-features.h
18817 (__ASSUME_SETRESUID_SYSCALL): Remove.
18818 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18819 (__ASSUME_32BITUIDS): Likewise.
18820 (__ASSUME_LDT_WORKS): Likewise.
18821 (__ASSUME_O_DIRECTORY): Likewise.
18822 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18823 architecture but not kernel version.
18824 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18825 (__ASSUME_MMAP2_SYSCALL): Likewise.
18826 (__ASSUME_STAT64_SYSCALL): Likewise.
18827 (__ASSUME_IPC64): Likewise.
18828 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18829 <kernel-features.h>.
18830 [__ASSUME_32BITUIDS]: Make code unconditional.
18831 [!__ASSUME_32BITUIDS]: Remove conditional code.
18832 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18833 <kernel-features.h>.
18834 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18835 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18836 132096]: Remove conditional code.
18837 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18838 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18839 <kernel-features.h>.
18840 [__ASSUME_32BITUIDS]: Make code unconditional.
18841 [!__ASSUME_32BITUIDS]: Remove conditional code.
18842 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18843 <kernel-features.h>.
18844 [__ASSUME_32BITUIDS]: Make code unconditional.
18845 [!__ASSUME_32BITUIDS]: Remove conditional code.
18846 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18847 <kernel-features.h>.
18848 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18849 unconditional.
18850 (__setresgid): Do not declare.
18851 [__ASSUME_32BITUIDS]: Make code unconditional.
18852 [!__ASSUME_32BITUIDS]: Remove conditional code.
18853 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18854 <kernel-features.h>.
18855 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18856 unconditional.
18857 (__setresuid): Do not declare.
18858 [__ASSUME_32BITUIDS]: Make code unconditional.
18859 [!__ASSUME_32BITUIDS]: Remove conditional code.
18860 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18861 <kernel-features.h>.
18862 [__ASSUME_32BITUIDS]: Make code unconditional.
18863 [!__ASSUME_32BITUIDS]: Remove conditional code.
18864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18865 <kernel-features.h>.
18866 [__ASSUME_32BITUIDS]: Make code unconditional.
18867 [!__ASSUME_32BITUIDS]: Remove conditional code.
18868
a386f1cc
RH
188692012-05-25 Richard Henderson <rth@twiddle.net>
18870
18871 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18872 dl_hwcap to ifunc resolver.
18873 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18874 elf_ifunc_invoke.
18875 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18876 dl_hwcap to ifunc resolver.
18877 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18878
b6550497
JM
188792012-05-24 Joseph Myers <joseph@codesourcery.com>
18880
18881 [BZ #14153]
18882 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18883 for |x| <= 2**-26, not 2**-57.
18884 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18885 exception.
18886
b0bc23a1
JL
188872012-05-24 Jeff Law <law@redhat.com>
18888
18889 * stdio-common/Makefile (tests): Add bug25.
18890 * stdio-common/bug25.c: New test.
18891
347c92e9
L
188922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #13576]
18895 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18896 multiple of MALLOC_ALIGNMENT in size.
18897 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18898
6bcc8b3f
JM
188992012-05-24 Joseph Myers <joseph@codesourcery.com>
18900
18901 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18902 Require >= 256.
18903 (FILENAME_MAX): Use macro-int-constant.
18904 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18905 (_IOFBF): Use macro-int-constant.
18906 (_IOLBF): Likewise.
18907 (_IONBF): Likewise.
18908 (SEEK_CUR): Likewise.
18909 (SEEK_END): Likewise.
18910 (SEEK_SET): Likewise.
18911 (TMP_MAX): Likewise.
18912 (EOF): Use macro-int-constant. Require < 0.
18913 (NULL): Use macro-constant. Require == 0.
18914 (stdin): Require type to be FILE *.
18915 (stdout): Likewise.
18916 (stderr): Likewise.
18917 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18918 macro-int-constant.
18919 (EXIT_SUCCESS): Likewise.
18920 (NULL): Use macro-constant. Require == 0.
18921 (RAND_MAX): Use macro-int-constant.
18922 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18923 [C99-based standards] (strtof): Require function.
18924 [C99-based standards] (strtold): Likewise.
18925 [C99-based standards] (strtoll): Likewise.
18926 [C99-based standards] (strtoull): Likewise.
18927 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18928 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18929 [ISO || ISO99 || ISO11] (math.h): Likewise.
18930 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18931 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18933
d18ea0c5
AS
189342012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 [BZ #14132]
56d25bb8
AS
18937 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18938 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18939 * intl/dgettext.c (DCGETTEXT): Likewise.
18940 * intl/gettext.c (DCGETTEXT): Likewise.
18941 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18942 * posix/regex_internal.h (gettext): Likewise.
18943 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18944 Remove declaration.
18945 * include/argz.h (__argz_count_internal)
18946 (__argz_stringify_internal): Remove declaration.
18947 (__argz_count, __argz_stringify): Declare hidden proto.
18948 * intl/dcgettext.c: Remove use of INTDEF.
18949 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18950 * string/argz-stringify.c: Likewise.
18951 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18952 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18953 Declare hidden proto.
d18ea0c5
AS
18954 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18955 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18956 Declare hidden proto.
18957 * include/stdio.h (__asprintf_internal): Don't declare.
18958 (__asprintf): Don't define as macro. Declare hidden proto.
18959 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18960 (__fsetlocking): Declare hidden proto.
18961 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18962 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18963 hidden proto.
18964 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18965 (_IO_setlinebuf): Remove use of INTUSE.
18966 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18967 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18968 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18969 Remove declaration.
18970 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18971 (_IO_do_flush): Remove use of INTUSE.
18972 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18973 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18974 (_IO_adjust_column, _IO_least_wmarker)
18975 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18976 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18977 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18978 (_IO_default_doallocate, _IO_wdefault_doallocate)
18979 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18980 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18981 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18982 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18983 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18984 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18985 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18986 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18987 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18988 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18989 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18990 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18991 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18992 proto.
18993 (_IO_flush_all_internal, _IO_adjust_column_internal)
18994 (_IO_default_uflow_internal, _IO_default_finish_internal)
18995 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18996 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18997 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18998 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18999 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19000 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19001 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19002 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19003 (_IO_file_close_internal, _IO_file_close_it_internal)
19004 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19005 (_IO_file_init_internal, _IO_file_attach_internal)
19006 (_IO_file_fopen_internal, _IO_file_read_internal)
19007 (_IO_file_sync_internal, _IO_file_seek_internal)
19008 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19009 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19010 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19011 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19012 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19013 (_IO_list_all_internal, _IO_link_in_internal)
19014 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19015 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19016 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19017 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19018 (_IO_do_write_internal, _IO_padn_internal)
19019 (_IO_getline_info_internal, _IO_getline_internal)
19020 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19021 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19022 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19023 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19024 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19025 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19026 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19027 with libc_hidden_ver, remove use of INTUSE.
19028 * libio/genops.c: Likewise.
19029 * libio/freopen.c: Likewise.
19030 * libio/freopen64.c: Likewise.
19031 * libio/iofclose.c: Likewise.
19032 * libio/iofdopen.c: Likewise.
19033 * libio/iofflush.c: Likewise.
19034 * libio/iofflush_u.c: Likewise.
19035 * libio/iofgets.c: Likewise.
19036 * libio/iofgets_u.c: Likewise.
19037 * libio/iofopen.c: Likewise.
19038 * libio/iofopncook.c: Likewise.
19039 * libio/iofread.c: Likewise.
19040 * libio/iofread_u.c: Likewise.
19041 * libio/ioftell.c: Likewise.
19042 * libio/iofwrite.c: Likewise.
19043 * libio/iogetline.c: Likewise.
19044 * libio/iogets.c: Likewise.
19045 * libio/iogetwline.c: Likewise.
19046 * libio/iopadn.c: Likewise.
19047 * libio/iopopen.c: Likewise.
19048 * libio/ioseekoff.c: Likewise.
19049 * libio/ioseekpos.c: Likewise.
19050 * libio/iosetbuffer.c: Likewise.
19051 * libio/iosetvbuf.c: Likewise.
19052 * libio/ioungetc.c: Likewise.
19053 * libio/ioungetwc.c: Likewise.
19054 * libio/iovdprintf.c: Likewise.
19055 * libio/iovsprintf.c: Likewise.
19056 * libio/iovsscanf.c: Likewise.
19057 * libio/memstream.c: Likewise.
19058 * libio/obprintf.c: Likewise.
19059 * libio/oldfileops.c: Likewise.
19060 * libio/oldiofclose.c: Likewise.
19061 * libio/oldiofdopen.c: Likewise.
19062 * libio/oldiofopen.c: Likewise.
19063 * libio/oldiopopen.c: Likewise.
19064 * libio/oldstdfiles.c: Likewise.
19065 * libio/putc.c: Likewise.
19066 * libio/setbuf.c: Likewise.
19067 * libio/setlinebuf.c: Likewise.
19068 * libio/stdfiles.c: Likewise.
19069 * libio/strops.c: Likewise.
19070 * libio/vasprintf.c: Likewise.
19071 * libio/vscanf.c: Likewise.
19072 * libio/vsnprintf.c: Likewise.
19073 * libio/vswprintf.c: Likewise.
19074 * libio/wfiledoalloc.c: Likewise.
19075 * libio/wfileops.c: Likewise.
19076 * libio/wgenops.c: Likewise.
19077 * libio/wmemstream.c: Likewise.
19078 * libio/wstrops.c: Likewise.
19079 * libio/__fpurge.c: Likewise.
19080 * libio/__fsetlocking.c: Likewise.
19081 * assert/assert.c: Likewise.
19082 * debug/fgets_chk.c: Likewise.
19083 * debug/fgets_u_chk.c: Likewise.
19084 * debug/fread_chk.c: Likewise.
19085 * debug/fread_u_chk.c: Likewise.
19086 * debug/gets_chk.c: Likewise.
19087 * debug/obprintf_chk.c: Likewise.
19088 * debug/vasprintf_chk.c: Likewise.
19089 * debug/vdprintf_chk.c: Likewise.
19090 * debug/vsnprintf_chk.c: Likewise.
19091 * debug/vsprintf_chk.c: Likewise.
19092 * malloc/mtrace.c: Likewise.
19093 * misc/error.c: Likewise.
19094 * misc/syslog.c: Likewise.
19095 * stdio-common/asprintf.c: Likewise.
19096 * stdio-common/fxprintf.c: Likewise.
19097 * stdio-common/getw.c: Likewise.
19098 * stdio-common/isoc99_fscanf.c: Likewise.
19099 * stdio-common/isoc99_scanf.c: Likewise.
19100 * stdio-common/isoc99_vfscanf.c: Likewise.
19101 * stdio-common/isoc99_vscanf.c: Likewise.
19102 * stdio-common/isoc99_vsscanf.c: Likewise.
19103 * stdio-common/printf-prs.c: Likewise.
19104 * stdio-common/printf_fp.c: Likewise.
19105 * stdio-common/printf_fphex.c: Likewise.
19106 * stdio-common/printf_size.c: Likewise.
19107 * stdio-common/putw.c: Likewise.
19108 * stdio-common/scanf.c: Likewise.
19109 * stdio-common/sprintf.c: Likewise.
19110 * stdio-common/tmpfile.c: Likewise.
19111 * stdio-common/vfprintf.c: Likewise.
19112 * stdio-common/vfscanf.c: Likewise.
19113 * stdlib/strfmon_l.c: Likewise.
19114 * sunrpc/openchild.c: Likewise.
19115 * sunrpc/xdr_stdio.c: Likewise.
19116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19117 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19118
d6c33fda
RM
191192012-05-24 Roland McGrath <roland@hack.frob.com>
19120
c1487492
RM
19121 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19122
19123 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19124 in the third column, to generate for the shared library an IFUNC
19125 that uses _dl_vdso_vsym.
19126 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19127 * Makeconfig (object-suffixes-noshared): New variable.
19128
19129 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19130 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19131 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19132 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19133
d6c33fda
RM
19134 [BZ #14132]
19135 * include/sys/time.h (__gettimeofday): Remove macro.
19136 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19137 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19138 Remove INTDEF.
19139 (__gettimeofday): Add libc_hidden_def.
19140 (gettimeofday): Add libc_hidden_weak.
19141 * sysdeps/mach/gettimeofday.c: Likewise.
19142 * sysdeps/posix/gettimeofday.c: Likewise.
19143 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19144 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19146 (__gettimeofday_internal): Remove strong_alias.
19147 (__gettimeofday): Add libc_hidden_def.
19148 (gettimeofday): Add libc_hidden_weak.
19149 * sysdeps/unix/syscalls.list (gettimeofday):
19150 Remove __gettimeofday_internal alias.
19151
b5a2bbe6
L
191522012-05-24 Daniel Jacobowitz <drow@false.org>
19153 H.J. Lu <hongjiu.lu@intel.com>
19154
19155 [BZ #12495]
19156 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19157 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19158 (largebin_index_32_big): New.
19159 (largebin_index): Use it for 16-byte alignment.
19160 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19161 correction with front_misalign.
19162
cfba4fda
L
191632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19164
7f907421
L
19165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19167 Likewise.
19168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19169 Likewise.
19170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19171 Likewise.
19172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19173 Likewise.
19174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19175 Likewise.
19176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19177 Likewise.
19178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19179 Likewise.
19180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19181 Likewise.
19182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19183 Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19185 Likewise.
19186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19187 Likewise.
19188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19189 Likewise.
19190
cfba4fda
L
19191 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19192 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19193
80bad0cc
JM
191942012-05-24 Joseph Myers <joseph@codesourcery.com>
19195
7a25eb06
JM
19196 [BZ #10846]
19197 [BZ #14036]
19198 * math/libm-test.inc (exp_test): Add test from bug 14036.
19199 (pow_test): Add test from bug 10846.
19200
795405f9
JM
19201 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19202 and other flags.
19203 (special_function): Do not include flags in test name.
19204 (parse_args): Likewise.
19205 * sysdeps/i386/fpu/libm-test-ulps: Update.
19206 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19207 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19208 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19210
80bad0cc
JM
19211 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19212 exceptions.
19213 * math/libm-test.inc ("Philosophy"): Update comment about
19214 exception testing.
19215 (UNDERFLOW_EXCEPTION): New macro.
19216 (UNDERFLOW_EXCEPTION_OK): Likewise.
19217 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19218 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19219 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19220 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19221 (INVALID_EXCEPTION_OK): Update value.
19222 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19223 (OVERFLOW_EXCEPTION_OK): Likewise.
19224 (IGNORE_ZERO_INF_SIGN): Likewise.
19225 (test_exceptions): Handle underflow exceptions.
19226 (acos_test): Update for underflow exception expectations.
19227 (cexp_test): Likewise.
19228 (clog_test): Likewise.
19229 (clog10_test): Likewise.
19230 (csqrt_test): Likewise.
19231 (ctan_test): Likewise.
19232 (ctanh_test): Likewise.
19233 (exp_test): Likewise.
19234 (exp10_test): Likewise.
19235 (exp2_test): Likewise.
19236 (expm1_test): Likewise.
19237 (fma_test): Likewise.
19238 (j0_test): Likewise.
19239 (jn_test): Likewise.
19240 (nexttoward_test): Likewise.
19241 (pow_test): Likewise.
19242 (scalbn_test): Likewise.
19243 (scalbln_test): Likewise.
19244 (tan_test): Likewise.
19245 (y1_test): Likewise.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
9e0e3d0b
DM
192492012-05-23 David S. Miller <davem@davemloft.net>
19250
19251 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19252 (__libc_sigaction): Remove unused local variables.
19253
ccd0a08f
L
192542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19255
19256 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19257
62bdf9a6
PE
192582012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19259
f8591f80
PE
19260 mktime: avoid signed integer overflow
19261 * time/mktime.c (__mktime_internal): Do not mishandle the case
19262 where diff == INT_MIN.
19263
94c7d826
PE
19264 mktime: simplify computation of average
19265 * time/mktime.c (ranged_convert): Use new time_t_avg function
19266 instead of rolling our own (probably-slower) code.
19267
ce73d683
PE
19268 mktime: do not assume signed right shift propagates sign bit
19269 * time/mktime.c (isdst_differ): New static function.
19270 (__mktime_internal): No need to normalize tm_isdst now.
19271 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19272 tm_isdst values.
19273
72a22e59
PE
19274 mktime: merge another wrapv change from gnulib
19275 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19276 from some compilers.
19277
68605433
PE
19278 mktime: remove incorrect attempt at unusual arithmetics
19279 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19280 The code didn't really work on such machines anyway.
19281 (TYPE_MINIMUM): Assume two's complement.
19282 (twos_complement_arithmetic): Verify that long_int and time_t
19283 are two's complement (or unsigned, in the latter case).
19284
03cf7fe3
PE
19285 mktime: check signed shifts on long_int and time_t, too
19286 * time/mktime.c (SHR): Check that shifts work as desired
19287 on the types long_int and time_t too, as SHR is used on
19288 such types.
19289
f04dfbc2
PE
19290 mktime: do not assume 'long' is wide enough
19291 * time/mktime.c (verify): Move decl up.
19292 (long_int): New type.
19293 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19294 to remove assumption in the code that 'long' is wide enough to
19295 store year values. This assumption is not true on x32 and on
19296 some non-glibc platforms.
19297
62bdf9a6
PE
19298 mktime: merge wrapv change from gnulib
19299 * time/mktime.c (WRAPV): New macro.
19300 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19301 (guess_time_tm, __mktime_internal): Do not assume that signed
19302 integer overflow wraps around; modern compilers generate code
19303 where this assumption is no longer valid.
19304
5e292e4f
L
193052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19306
19307 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19308 Replace "jmp L(pseudo_end)" with "ret".
19309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19310 Likewise.
19311
8caf8c87
AJ
193122012-05-23 Andreas Jaeger <aj@suse.de>
19313
19314 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19315 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19316
1a09dc56
AJ
193172012-05-23 Andreas Jaeger <aj@suse.de>
19318 Maximilian Attems <max@stro.at>
19319
19320 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19321 New macros.
19322
1c87aba0
L
193232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19326 code so that pseudo_end is just ret and the stack pointer is
19327 correct also for static library in error case.
19328
40e45bd5
JM
193292012-05-23 Joseph Myers <joseph@codesourcery.com>
19330
c2670533
JM
19331 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19332 move to syscalls.list.
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19337
40e45bd5
JM
19338 * manual/install.texi (Running make install): Do not mention Linux
19339 kernel version for which pt_chown is not needed.
19340 (Linux): Do not mention problems with nscd with 2.0 kernels.
19341 * INSTALL: Regenerated.
19342
be08eda5
AJ
193432012-05-23 Andreas Jaeger <aj@suse.de>
19344
19345 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19346 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19347 macro.
19348 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19350 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19352 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19354 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19358 * sysdeps/unix/sysv/linux/bits/in.h
19359 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19360
a6a056bb
RM
193612012-05-22 Roland McGrath <roland@hack.frob.com>
19362
19363 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19364 (PREPARE_VERSION): Just use assert instead, it will be elided
19365 under [NDEBUG] anyway.
19366
c9009328
L
193672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19368
19369 * sysdeps/unix/sysv/linux/Makefile: Include
19370 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19371 (sysdep_routines): Remove sysctl.
c9009328
L
19372 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19373 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19376 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19377
73338355
AJ
193782012-05-22 Andreas Jaeger <aj@suse.de>
19379
19380 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19381 that pseudo_end is just ret and the stack pointer is correct also
19382 for static library in error case.
19383
d44638b0
PP
193842012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19385
19386 [BZ #14122]
19387 * nss/nsswitch.c (defconfig_entries): New variable.
19388 (__nss_database_lookup): Don't leak defconfig entries.
19389 (nss_parse_service_list): Don't leak on error paths.
19390 (free_database_entries): New function.
19391 (free_defconfig): New function.
19392 (free_mem): Move common code to free_database_entries.
19393
31a39bd8
L
193942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19395
da0331a8
L
19396 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19397 Add arch_prctl.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19399
31a39bd8
L
19400 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19401 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19403 New macro.
19404 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19405 (INTERNAL_SYSCALL_TYPES): Likewise.
19406 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19407 (LOAD_REGS_TYPES_[1-6]): Likewise.
19408 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19409 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19410
45470df3
AZ
194112012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19412
19413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19414 copysignl for GLIBC_2_0.
19415 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19416 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19418 logbl for GLIBC_2_0.
19419 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19420 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19421
98a61bcb
L
194222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19423
a4f6e481
L
19424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19425 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19426
f63d5db6
L
19427 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19428 Use "neg %eax".
19429
98a61bcb
L
19430 * time/mktime.c: Update copyright years.
19431
95770f14
PE
194322012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19433
6226efbd
PE
19434 mktime: merge comment-quoting-style change from gnulib
19435 * time/mktime.c: Quote 'like this' in comments.
19436 The GNU coding standards suggest that we no longer quote `like this',
19437 as "`" and "'" are typically rendered asymmetrically nowadays.
19438 The typical gnulib style is to quote 'like this' when quoting
19439 code, and "like this" when quoting English.
19440
b99e4f78
PE
19441 * time/mktime.c (compile-command): Add "-I.".
19442
643e01e6
PE
19443 mktime: merge mktime-internal.h change from gnulib
19444 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19445
2554247d
PE
19446 mktime: merge time_r change from gnulib
19447 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19448
826dd0ab
PE
19449 mktime: merge DEBUG change from gnulib
19450 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19451 case system <time.h> has a #define.
19452
bd83aabe
PE
19453 mktime: merge <sys/types.h> change from gnulib
19454 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19455 since <time.t> is now guaranteed to define time_t.
19456
95770f14
PE
19457 mktime: merge HAVE_CONFIG_H change from gnulib
19458 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19459
5e1a27a9
L
194602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19461
0e44a77e
L
19462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19463 Use "neg %eax".
19464
5e1a27a9
L
19465 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19466 __rlim_t cast.
19467 (struct rusage): Use anonymous union to pad each field to
19468 __syscall_slong_t.
19469
46259bec
DM
194702012-05-21 David S. Miller <davem@davemloft.net>
19471
19472 * Makefules (o-iterator): Remove .s cases.
19473 (compile-command.s): Delete.
19474 (COMPILE.s): Delete.
19475 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19476
59f0c22e
JM
194772012-05-21 Joseph Myers <joseph@codesourcery.com>
19478
19479 * configure.in (libc_cv_predef_stack_protector): Only consider
19480 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19481 * configure: Regenerated.
19482
20c07380
L
194832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19484
bbb3154b
L
19485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19486 New macro. Use R*LP on int and pointer.
19487 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19488 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19490 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19491
20c07380
L
19492 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19493 [__WORDSIZE_TIME64_COMPAT32] instead of
19494 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19495 (struct utmp): Likewise.
19496 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19497 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19498 Renamed to ...
19499 (__WORDSIZE_TIME64_COMPAT32): This.
19500 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19501 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19502 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19503 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19504 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19505 (__WORDSIZE_TIME64_COMPAT32): New macro.
19506
d8d1017e
AJ
195072012-05-21 Andreas Jaeger <aj@suse.de>
19508
19509 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19510 only if [SHARED]. Add prototype for __wcschr_ia32.
19511
6c7fb145
RM
195122012-05-21 Roland McGrath <roland@hack.frob.com>
19513
19514 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19515 of %rbp unmolested in the jmp_buf while mangling the low bits.
19516 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19517 unmolested high bits of %rbp while demangling the low bits.
19518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19519
66274218
AJ
195202012-05-21 Andreas Jaeger <aj@suse.de>
19521
07c58f8f
AJ
19522 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19523 * sunrpc/svc_simple.c: Use it for registerrpc.
19524 * sunrpc/xcrypt.c: Use it for passwd2des.
19525
66274218
AJ
19526 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19527
61f65140
L
195282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19529
19530 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19531 Don't define if [__SYSCALL_WORDSIZE != 32].
19532 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19533 New macro.
19534
5fefb436
AJ
195352012-05-21 Bruno Haible <bruno@clisp.org>
19536 Andreas Jaeger <aj@suse.de>
19537
19538 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19539 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19540 inptr and inend for must_buffer_ch.
19541 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19542 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19543 * stdio-common/Makefile (tests): Remove bug15.
19544 (bug15-ENV): Remove macro.
19545 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19546 anymore.
19547
d8e272ab
AJ
195482012-05-19 Andreas Jaeger <aj@suse.de>
19549 Roland McGrath <roland@hack.frob.com>
19550
19551 * manual/contrib.texi: Completely rewritten. It contains now an
19552 alphabetical list of contributors and their contributions.
19553
4a56a162
RH
195542012-05-21 Richard Henderson <rth@twiddle.net>
19555
19556 * misc/getauxval.c (__getauxval): Use unsigned long int.
19557 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19558 (getauxval): Use unsigned long int.
19559
d024d23c
L
195602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19561
19562 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19563
cbc00a03
RM
195642012-05-21 Roland McGrath <roland@hack.frob.com>
19565
19566 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19567 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19568 __alignof__ (long double).
19569
478143fa
AZ
195702012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19571
19572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19573
c7683a6d
RH
195742012-05-20 Richard Henderson <rth@twiddle.net>
19575
19576 * misc/getauxval.c: New file.
19577 * misc/sys/auxv.h: New file.
19578 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19579 (routines): Add getauxval.
19580 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19581 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19582 * elf/dl-sysdep.c (_dl_auxv): Remove.
19583 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19584 * elf/dl-support.c (_dl_auxv): New variable.
19585 (_dl_aux_init): Initialize it.
19586 * manual/startup.texi (Auxiliary Vector): New node.
19587 * sysdeps/generic/bits/hwcap.h: New file.
19588 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19589 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19590 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19591 * sysdeps/sparc/sysdep.h: ... here. Include it.
19592 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19593 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19595 Update.
c7683a6d
RH
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19604
a6f1845d
AZ
196052012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19608
cbcbe830
DM
196092012-05-19 David S. Miller <davem@davemloft.net>
19610
19611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612
e0b16cc2
JM
196132012-05-19 Joseph Myers <joseph@codesourcery.com>
19614
19615 [BZ #14123]
19616 * math/s_ccosh.c: Include <float.h>
19617 (__ccosh): Avoid internal overflow calculating sinh and cosh
19618 values before multiplying by sin and cos values.
19619 * math/s_ccoshf.c: Likewise.
19620 * math/s_ccoshl.c: Likewise.
19621 * math/s_csin.c: Likewise.
19622 * math/s_csinf.c: Likewise.
19623 * math/s_csinl.c: Likewise.
19624 * math/s_csinh.c: Likewise.
19625 * math/s_csinhf.c: Likewise.
19626 * math/s_csinhl.c: Likewise.
19627 * math/libm-test.inc (ccos_test): Add more tests.
19628 (ccosh_test): Likewise.
19629 (csin_test): Likewise.
19630 (csinh_test): Likewise.
19631 * sysdeps/i386/fpu/libm-test-ulps: Update.
19632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633
6ad13e08
L
196342012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19635
f66f0ce8
L
19636 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19637 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19638
6ad13e08
L
19639 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19640
b1d072a7
JM
196412012-05-19 Joseph Myers <joseph@codesourcery.com>
19642
19643 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19644 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19645 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19646 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19647 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19648 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19649 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19650 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19651 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19652 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19653 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19654 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19655 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19656 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19657 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19658 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19659 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19660 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19661 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19662 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19663 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19664 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19665 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19666 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19667 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19668 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19669 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19670 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19671 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19672 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19673 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19674
9eae47cb
AJ
196752012-05-18 Andreas Jaeger <aj@suse.de>
19676
19677 * csu/.gitignore: Delete.
19678
bb07f69f
L
196792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19682 (timex): Use __syscall_slong_t.
19683
e6bdb741
AJ
196842012-05-18 Andreas Jaeger <aj@suse.de>
19685 Carlos O'Donell <carlos_odonell@mentor.com>
19686
19687 * manual/install.texi (Configuring and compiling): Update
19688 description about files modified in the source directory.
d6c33fda 19689 * INSTALL: Regenerated.
e6bdb741 19690
1b74487e
L
196912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19692
19693 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19694 value. Use "or" to set return value to -1.
19695 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19696 negate return value.
19697
a88b64b9
TMQMF
196982012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19699
19700 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19701 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19702 failure if the compiler has Graphite support disabled.
19703 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19704 Likewise.
19705 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19706 CFLAGS-memmove.c): Likewise.
19707 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19708 Likewise.
19709
3707636e
L
197102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19711
610b8622
L
19712 * sysdeps/x86_64/x32/_itoa.h: New file.
19713
7cd195df
L
19714 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19715 getdents system call only if kernel and user dirents have the
19716 same d_ino and d_off.
19717
94b07d20
L
19718 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19719 LLONG_MAX != LONG_MAX.
19720 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19721 (_fitoa_word): Likewise.
19722
18298070
L
19723 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19724 years.
19725 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19726 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19728
553c7ea4
L
19729 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19730 include <bits/wordsize.h>. Check __x86_64__ instead of
19731 __WORDSIZE.
19732 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19733 if __x86_64__ is defined. Use anonymous union on fpstate.
19734
3707636e
L
19735 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19736 anonymous union.
19737
b53ef01a
AS
197382012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19739
37fb1dc0
AS
19740 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19741 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19742 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19743 Refer to _rtld_local_ro instead of _rtld_global_ro.
19744 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19745 Likewise.
19746 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19747 Likewise.
19748 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19749 Likewise.
19750 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19751 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19752 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19753
b53ef01a
AS
19754 * sysdeps/powerpc/powerpc32/dl-machine.c
19755 (__elf_machine_runtime_setup) [PROF]: Don't reference
19756 _dl_prof_resolve.
19757
7a185db2
AJ
197582012-05-18 Andreas Jaeger <aj@suse.de>
19759
19760 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19761 function only available for GCCs before 3.4 since GCC 3.4
19762 introduced a builtin.
19763 (lrint): Likewise.
19764 (llrintf): Likewise.
19765 (llrint): Likewise.
19766 (fmaxf): Likewise.
19767 (fmax): Likewise.
19768 (fminf): Likewise.
19769 (fmin): Likewise.
19770 (rint): Likewise.
19771 (rintf): Likewise.
19772 (nearbyint): Likewise.
19773 (nearbyintf): Likewise.
19774 (ceil): Likewise.
19775 (ceilf): Likewise.
19776 (floor): Likewise.
19777 (floorf): Likewise.
19778
3e5aef87
L
197792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19780
428bd707
L
19781 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19782 on both fields and cast pointer to __syscall_ulong_t.
19783
3e5aef87
L
19784 * bits/types.h (__fsword_t): New type.
19785 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19786 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19788 (__FSWORD_T_TYPE): Likewise.
19789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19790 (__FSWORD_T_TYPE): Likewise.
19791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19792 (__FSWORD_T_TYPE): Likewise.
19793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19794 (__FSWORD_T_TYPE): Likewise.
19795 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19796 __SWORD_TYPE with __fsword_t.
19797 (statfs64): Likewise.
19798
1ba7c3dc
DM
197992012-05-17 David S. Miller <davem@davemloft.net>
19800
19801 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19802
59910343
AJ
198032012-05-17 Andreas Jaeger <aj@suse.de>
19804
19805 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19806 warning.
19807
2e4c1e9e
L
198082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19811
de7f5ce7
AJ
198122012-05-17 Andreas Jaeger <aj@suse.de>
19813
19814 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19815 when it is used.
19816
286abc3d
CM
198172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19818
19819 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19820
477cc68e
L
198212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19824 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19825
1a0994f5
CD
198262012-05-17 Andreas Jaeger <aj@suse.de>
19827 Carlos O'Donell <carlos_odonell@mentor.com>
19828
19829 [BZ #14059]
19830 * sysdeps/x86_64/multiarch/init-arch.h
19831 (bit_YMM_Usable): Rename to...
19832 (bit_AVX_Usable): ... this.
19833 (bit_FMA4_Usable): New macro.
19834 (bit_XMM_state): New macro.
19835 (bit_YMM_state): New macro.
19836 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19837 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19838 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19839 (CPUID_OSXSAVE): New macro.
19840 (CPUID_AVX): New macro.
19841 (CPUID_FMA4): New macro.
19842 (index_YMM_Usable): Rename to...
19843 (index_AVX_Usable): ... this.
19844 (HAS_AVX): Use HAS_ARCH_FEATURE.
19845 (HAS_FMA4): Likewise.
19846 (HAS_YMM_USABLE): Remove.
19847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19848 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19849 are present.
19850 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19851 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19852 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19853 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19854 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19855
0af797de
CM
198562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19857
19858 * math/libm-test.c: Support platforms without multiple rounding modes.
19859 * math/bug-nextafter.c: Support platforms without FP exceptions.
19860 * math/bug-nexttoward.c: Likewise.
19861 * math/test-fenv.c: Likewise.
19862 * math/test-misc.c: Likewise.
19863 * stdlib/bug-getcontext.c: Likewise.
19864
e39745ff
AJ
198652012-05-17 Andreas Jaeger <aj@suse.de>
19866
19867 * manual/examples/search.c (critter_cmp): Change signature to
19868 avoid warnings.
19869 * manual/string.texi (Collation Functions): Likewise.
19870
48970aba
L
198712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19872
19873 * bits/types.h: Fold copyright years.
19874 * bits/typesizes.h: Likewise.
19875 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19879 * time/time.h: Likewise.
19880
bedee953
PP
198812012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19882
19883 [BZ #208]
19884 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19885 in instead of returning them. Return void.
19886 (__libc_mallinfo): Accumulate over all arenas.
19887 (__malloc_stats): Adjust for change in int_mallinfo interface.
19888
61653dfb
RM
198892012-05-16 Roland McGrath <roland@hack.frob.com>
19890
30b99d79
RM
19891 [BZ #10375]
19892 * configure.in (NM): Add AC_CHECK_TOOL for it.
19893 (libc_extra_cflags): New substituted variable.
19894 Check for -fstack-protector being used implicitly.
19895 * configure: Regenerated.
19896 * config.make.in (config-extra-cflags): New variable,
19897 gets @libc_extra_cflags@.
19898 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19899
61653dfb
RM
19900 [BZ #10375]
19901 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19902 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19903 * configure: Regenerated.
19904 * config.make.in (CPPUNDEFS): New substituted variable.
19905 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19906 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19907 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19908
661768bb
L
199092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19912 (mq_attr): Use __syscall_slong_t.
19913
d4261567
L
199142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19915
19916 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19917 Check __x86_64__ instead of __WORDSIZE.
19918 (_STAT_VER_LINUX): Likewise.
19919 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19920 __syscall_ulong_t and __syscall_slong_t.
19921 (stat64): Likewise.
19922
cf3ff365
L
199232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19924
19925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19926
76cf3e4d
L
199272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19930
a637753a
L
199312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19932
19933 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19934 __syscall_ulong_t.
19935
d5e05119
L
19936 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19937 include <bits/wordsize.h>. Check __x86_64__ instead of
19938 __WORDSIZE.
19939 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19940 defined.
19941 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19942
f62ee380
L
19943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19944 include <bits/wordsize.h>. Check __x86_64__ instead of
19945 __WORDSIZE.
19946 (user_regs_struct): Use "__extension__ unsigned long long"
19947 instead of "unsigned long" if __x86_64__ is defined.
19948 (user): Likewise. Pad after pointer field if __ILP32__ is
19949 defined.
19950
4e124ced
JM
199512012-05-16 Joseph Myers <joseph@codesourcery.com>
19952
6a3951a0
JM
19953 * configure.in (makeinfo): Require version 4.5 or later. Allow
19954 versions 5 to 9.
19955 * configure: Regenerated.
19956 * manual/install.texi (texinfo): Increase version requirement to
19957 4.5 or later.
19958 * INSTALL: Regenerated.
19959
4e124ced
JM
19960 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19961
953ca31a
L
199622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19963
19964 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19965
617aca05
L
19966 * sysdeps/x86_64/x32/ffs.c: New file.
19967
5762f7ae
L
19968 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19969 __syscall_ulong_t.
19970 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19971 defined. Use __syscall_ulong_t.
19972 (shminfo): Use __syscall_ulong_t.
19973 (shm_info): Likewise.
19974
a26b6856
L
19975 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19976 __syscall_ulong_t.
19977
cb2b9ef7
L
19978 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19979 <bits/wordsize.h>.
19980 (msgqnum_t): Use __syscall_ulong_t.
19981 (msglen_t): Likewise.
19982 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19983 __syscall_ulong_t.
19984
34683bb0
L
19985 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19986 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19987
84a68786
L
19988 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19989
48baa5f1
L
19990 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19991 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19992
180be88b
L
19993 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19994 __syscall_slong_t.
19995
5e90c8ad
L
19996 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19997 include <bits/wordsize.h>. Check __x86_64__ instead of
19998 __WORDSIZE.
19999
23dfb58b
L
20000 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20001 "unsigned long long int" if __x86_64__ is defined.
20002 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20003
ce5d54b0
L
20004 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20005 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20006 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20007
13dc9eac
L
20008 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20009 <stdint.h>.
20010 (GET_PC): Cast to uintptr_t first.
20011 (GET_FRAME): Likewise.
20012 (GET_STACK): Likewise.
20013
a7895d15
L
20014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20015 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20016 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20017 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20018 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20019 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20020 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20021 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20022 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20023 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20024 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20025 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20026 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20028 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20030 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20032 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20034 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20035 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20036 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20037 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20038 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20040 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20041 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20042 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20043
656416c9
AS
200442012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20045
5bd66283
AS
20046 * Makerules (+depfiles): Also collect depfiles from .oS in
20047 $(extra-objs).
20048 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20049 .oS, $(libnldbl-routines)).
20050
656416c9
AS
20051 * Makerules (native-compile-mkdep-flags): Define.
20052 * sunrpc/Makefile (extra-objs): Add $(addprefix
20053 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20054 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20055 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20056 calling $(make-target-directory).
20057
a46f2169
L
200582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20059
20060 * bits/types.h (__snseconds_t): Removed.
20061 * time/time.h (struct timespec): Replace __snseconds_t with
20062 __syscall_slong_t.
20063 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20064 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20065 Likewise.
20066 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20067 (__SNSECONDS_T_TYPE): Likewise.
20068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20069 (__SNSECONDS_T_TYPE): Likewise.
20070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20071 (__SNSECONDS_T_TYPE): Likewise.
20072
6af6528b
L
200732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20074
20075 * sysdeps/mach/hurd/bits/typesizes.h
20076 (__SYSCALL_SLONG_TYPE): New macro.
20077 (__SYSCALL_ULONG_TYPE): Likewise.
20078
de986b56
L
200792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * bits/types.h (__syscall_slong_t): New type.
20082 (__syscall_ulong_t): Likewise.
20083
20084 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20085 (__SYSCALL_ULONG_TYPE): Likewise.
20086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20087 (__SYSCALL_SLONG_TYPE): Likewise.
20088 (__SYSCALL_ULONG_TYPE): Likewise.
20089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20090 (__SYSCALL_SLONG_TYPE): Likewise.
20091 (__SYSCALL_ULONG_TYPE): Likewise.
20092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20093 (__SYSCALL_SLONG_TYPE): Likewise.
20094 (__SYSCALL_ULONG_TYPE): Likewise.
20095
85736dc7
L
200962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20097
20098 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20099 Add sigaltstack-offsets.sym.
20100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20101 <sigaltstack-offsets.h>.
20102 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20103 longjmp_msg pointer.
20104 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20105 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20106 signal stack.
20107 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20108
cc03b296
JM
201092012-05-15 Joseph Myers <joseph@codesourcery.com>
20110
a9538892
JM
20111 * elf/stackguard-macros.h: Remove file.
20112 * sysdeps/generic/stackguard-macros.h: New file.
20113 * sysdeps/i386/stackguard-macros.h: Likewise.
20114 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20115 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20116 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20117 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20118 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20119 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20120 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20121 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20122 <elf/stackguard-macros.h>.
20123
cc03b296
JM
20124 [BZ #14109]
20125 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20126 __aligned__ in attribute.
20127 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20128 (gregset_t): Likewise.
20129
93171016
L
201302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20131
20132 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20133 * sysdeps/x86_64/64/Implies-after: Here. New file.
20134 * sysdeps/x86_64/x32/Implies-after: New file.
20135
d86813a0
L
201362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20137
20138 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20139 and access return value for _dl_profile_fixup. Use R10_LP to
20140 load frame size.
20141
2953ec75
L
201422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20143
20144 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20145
3b550e9e
L
201462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20147
20148 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20149 * sysdeps/x86_64/x32/sysdep.h: New file.
20150
eda41706
L
201512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20152
20153 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20154 * sysdeps/x86_64/setjmp.S: Likewise.
20155
9ea01d93
AZ
201562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20157
20158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20159 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20160 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20161 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20162 remove unused global constant.
20163
02a91938
CM
201642012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20165
20166 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20167 include of <not-cancel.h>.
20168
6540185f
RM
201692012-05-15 Roland McGrath <roland@hack.frob.com>
20170
20171 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20172
509072a0
AJ
201732012-05-15 Jeff Law <law@redhat.com>
20174 Andreas Jaeger <aj@suse.de>
20175
20176 [BZ #13594]
20177 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20178 out from...
20179 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20180 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20181 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20182 code changing __hst_map_handle.map.
20183
ba75122d
RM
201842012-05-15 Roland McGrath <roland@hack.frob.com>
20185
20186 * configure.in (sysnames): Look for Implies-before and Implies-after
20187 files.
20188 * configure: Regenerated.
20189
890d8bd8
L
201902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20193 8-byte data alignment with LP_SIZE alignment.
20194
f6ee6623
L
201952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20196
20197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20198 into R10_LP.
20199
ea2626f6
L
202002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20201
20202 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20203
085f715e
L
202042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20205
20206 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20207 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20209 Likewise.
20210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20211
be8498fc
L
202122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20213
20214 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20215 (stackinfo_sub_sp): Likewise.
20216
70bc83b9
L
202172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20218
20219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20220 RAX_LP.
20221
9bc0b730
L
202222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20223
20224 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20225 into R*_LP.
20226
6d2850e7
L
202272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20228
20229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20230 sizes into R*_LP.
20231
3cb84561
L
202322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20233
20234 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20235
54e2ed81
L
202362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20239 into R11_LP and load __x86_64_shared_cache_size_half into
20240 R8_LP.
20241
8a17f349
L
202422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20243
20244 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20245 R8_LP.
20246
777b1eea
AZ
202472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20248
20249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20250 logb for POWER7.
20251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20252 logbf for POWER7.
20253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20254 logbl for POWER7.
20255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20256 powerpc32/power7/fpu/s_logb.c via #include.
20257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20258 powerpc32/power7/fpu/s_logbf.c via #include.
20259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20260 powerpc32/power7/fpu/s_logbl.c via #include.
20261
d20d4ac2
JM
202622012-05-15 Joseph Myers <joseph@codesourcery.com>
20263
20264 * README.libm: Remove file.
20265
6cdef1ab
L
202662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20267
20268 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20269 count for x32. Use R*_LP and omit operand-size suffix.
20270
0b254d8f
L
202712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20272
20273 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20274 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20275 * sysdeps/x86_64/x32/shlib-versions: New file.
20276
ceb809dc
RM
202772012-05-14 Roland McGrath <roland@hack.frob.com>
20278
20279 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20280 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20281 Use _dl_fatal_printf instead.
20282
37f1abd4
JM
202832012-05-14 Joseph Myers <joseph@codesourcery.com>
20284
20285 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20286 set if not set by the user. Do not allow for being unset.
20287 * sysdeps/unix/sysv/linux/configure: Regenerated.
20288
11de3a33
L
202892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20292 the `q' suffix from lea and replace .quad with ASM_ADDR.
20293
e02f153a
L
202942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20295
20296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20297 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20298 instead of $17.
20299 (PTR_DEMANGLE): Likewise.
20300
520ae0fd
L
203012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20302
20303 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20304 (LP_OP): Likewise.
20305 (ASM_ADDR): Likewise.
20306 (RAX_LP): Likewise.
20307 (RBP_LP): Likewise.
20308 (RBX_LP): Likewise.
20309 (RCX_LP): Likewise.
20310 (RDI_LP): Likewise.
20311 (RSI_LP): Likewise.
20312 (RSP_LP): Likewise.
20313 (R8_LP): Likewise.
20314 (R9_LP): Likewise.
20315 (R10_LP): Likewise.
20316 (R10_LP): Likewise.
20317 (R11_LP): Likewise.
20318 (R12_LP): Likewise.
20319 (R13_LP): Likewise.
20320 (R14_LP): Likewise.
20321 (R15_LP): Likewise.
20322
b985be81
L
203232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 * sysdeps/x86_64/x32/dl-machine.h: New file.
20326
6a4888ff
AJ
203272012-05-14 Andreas Jaeger <aj@suse.de>
20328
20329 * manual/Makefile (subdir): Remove export of subdir.
20330 (all): Remove target.
20331 (.PHONY): Remove all from list.
20332 (mkinstalldirs): Remove.
20333 (.PHONY): Remove installdirs from list.
20334 ($(inst_infodir)/libc.info): Use make-target-directory.
20335 (installdirs): Remove.
20336 (subdir_%): Remove.
20337 (glibc-targets): Remove.
20338 (lib): Remove.
20339 (stubs): Remove.
20340 ($(objpfx)stubs ../po/manual.pot): Remove.
20341 ($(objpfx)stamp%): Remove.
20342 (make-target-directory): Remove.
20343 (subdir_install): Remove.
20344 (routines): Remove.
20345 (aux): Remove.
20346 (sources): Remove.
20347 (objects): Remove.
20348 (headers): Remove.
20349
20350 [BZ #13750]
20351 * manual/.gitignore: Remove, it's not needed anymore.
20352 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20353 all files in it.
20354 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20355 directory.
20356 (texis): Renamed to $(objpfx)texis.
20357 (texis-path): New, contains path to generated files.
20358 (chapters.%): Use texis-path for complete path, add extra argument
20359 libc-texinfo.sh.
20360 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20361 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20362 (summary,texi, stamp-summary): Use complete path of
20363 files. Generate files in build dir.
20364 (dir-add.texi): Build in build dir.
20365 (libm-err.texi,stamp-libm-err): Likewise.
20366 (version.texi, stamp-version): Likewise.
20367 (.%c.texi): Likewise.
20368 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20369 (mostlyclean): Remove target.
20370 (realclean): Remove target.
20371 (generated): Add new variable with contents from mostlyclean and
20372 realclean, remove entries duplicated in common-mostlyclean, add
20373 stamp-libm-err and stamp-version.
20374 (generated-dirs): Add libc directory.
20375 ($(inst_infodir)/libc.info): Install files from build dir.
20376
20377 * manual/install.texi (Configuring and compiling): Adjust since
20378 the info files are not part of the tar ball anymore.
20379
7ac77294
AJ
203802012-05-14 Andreas Jaeger <aj@suse.de>
20381
20382 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20383 variable.
20384
ffb7875d
JM
203852012-05-14 Joseph Myers <joseph@codesourcery.com>
20386
20387 [BZ #13717]
20388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20389 to 2.2.0 where earlier.
20390 * sysdeps/unix/sysv/linux/configure: Regenerated.
20391 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20392 Remove conditional code.
20393 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20394 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20395 Remove conditional code.
20396 [!__NR_lchown]: Likewise.
20397 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20398 [__NR_lchown]: Likewise.
20399 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20400 comment referencing __ASSUME_LCHOWN_SYSCALL.
20401 * sysdeps/unix/sysv/linux/i386/sigaction.c
20402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20404 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20405 Remove conditional code.
20406 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20407 (__protocol_available): Remove #if 0 code.
20408 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20409 conditional code.
20410 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20411 * sysdeps/unix/sysv/linux/kernel-features.h
20412 (__ASSUME_GETCWD_SYSCALL): Don't define.
20413 (__ASSUME_REALTIME_SIGNALS): Likewise.
20414 (__ASSUME_PREAD_SYSCALL): Likewise.
20415 (__ASSUME_PWRITE_SYSCALL): Likewise.
20416 (__ASSUME_POLL_SYSCALL): Likewise.
20417 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20418 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20419 non-SPARC.
20420 (__ASSUME_SIOCGIFNAME): Don't define.
20421 (__ASSUME_MSG_NOSIGNAL): Likewise.
20422 (__ASSUME_SENDFILE): Define unconditionally.
20423 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20424 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20425 conditional code.
20426 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20427 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20428 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20429 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20430 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20431 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20432 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20434 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20435 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20437 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20438 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20440 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20443 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20457 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20458 Remove conditional code.
20459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20460 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20461 Remove conditional code.
20462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20463 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20464 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20465 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20466 Remove conditional code.
20467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20468 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20469 Remove conditional code.
20470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20471 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20472 Remove conditional code.
20473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20474 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20475 Remove conditional code.
20476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20477 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20478 Remove conditional code.
20479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20480 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20483 * sysdeps/unix/sysv/linux/sigaction.c
20484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20486 * sysdeps/unix/sysv/linux/sigpending.c
20487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20489 * sysdeps/unix/sysv/linux/sigprocmask.c
20490 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20491 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20492 * sysdeps/unix/sysv/linux/sigsuspend.c
20493 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20494 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20496 (__libc_missing_rt_sigs): Remove.
20497 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20498 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20499 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20500 Remove conditional code.
20501 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20502 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20503 return 1.
20504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20505 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20506 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20507 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20508
1bfb7291
AJ
205092012-05-14 Andreas Jaeger <aj@suse.de>
20510
caae5a81
AJ
20511 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20512 it's not used in glibc.
20513 (__coshm1): Likewise.
20514 (__acosh1p): Likewise.
20515 (__sgn): Likewise.
20516
1bfb7291
AJ
20517 * manual/string.texi (Copying and Concatenation): Add missing
20518 variable in concat example.
20519 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20520
c044d724
L
205212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20522
144c5467 20523 [BZ #14103]
c044d724
L
20524 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20525 __builtin_clzl with __builtin_clzll.
20526
2523c62b
L
205272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20528
20529 [BZ #14104]
20530 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20531 libc_freeres_ptr.
20532
d7bb4c42
LD
205332012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20534
20535 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20536 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20537 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20539
9dc4e1fb
MF
205402012-05-14 Mike Frysinger <vapier@gentoo.org>
20541
20542 * NEWS: Update ia64 info.
20543
c7df0112
AS
205442012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20545
20546 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20547 used as bcopy.
20548
dc70356c
TS
205492012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20550
20551 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20552 * sysdeps/unix/syscalls.list (dup3): Likewise.
20553 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20554 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20555
9fb1a21f
L
205562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20559 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20560
4822a2a5
L
205612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20562
20563 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20564 thread pointer.
20565 (TLS_IE): Use mov/add instead of movq/addq to load thread
20566 pointer.
20567 (TLS_GD_PREFIX): New.
20568 (TLS_GD): Use it.
20569
842b81d6
DM
205702012-05-11 David S. Miller <davem@davemloft.net>
20571
20572 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20573 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20574 (_FPU_SETCW): Likewise.
20575
1cf463cd
L
205762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20577
20578 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20579 is 32-byte aligned.
20580
60cc4a18
AS
205812012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20582
20583 [BZ #11837]
20584 * iconvdata/gb18030.c: Update tables.
20585 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20586 characters specially.
20587 (BODY for TO_LOOP): Add encoding of missing ranges.
20588
febb44a4
TS
205892012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20590
20591 [BZ #13673]
20592 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20593 * sysdeps/mach/hurd/dup3.c: Likewise.
20594 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20595 * sysdeps/powerpc/memmove.c:: Likewise.
20596
0a10fb9e
L
205972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20598
20599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20600 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20601
df8a552f
L
206022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20603
20604 * elf/elf.h (R_X86_64_RELATIVE64): New.
20605 (R_X86_64_NUM): Updated.
20606 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20607 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20608 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20609 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20610 tst-quad1pie tst-quad2pie
20611 (modules-names): Add tst-quadmod1 tst-quadmod2.
20612 ($(objpfx)tst-quad1): New dependency.
20613 ($(objpfx)tst-quad2): Likewise.
20614 ($(objpfx)tst-quad1pie): Likewise.
20615 ($(objpfx)tst-quad2pie): Likewise.
20616 * sysdeps/x86_64/tst-quad1.c: New file.
20617 * sysdeps/x86_64/tst-quad1pie.c: New file.
20618 * sysdeps/x86_64/tst-quad2.c: Likewise.
20619 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20620 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20621 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20622 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20623 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20624
f34d6f84
ST
206252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20626
f42d41d1
ST
20627 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20628 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20629 * streams/stropts.h (t_scalar_t): Define type.
20630
3c3571fc
ST
20631 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20632 (_PATH_PRESERVE): Set to "/var/lib".
20633 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20634
61f06bd3
ST
20635 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20636 instead of int.
20637
918d4d71
ST
20638 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20639 if __dir_mkfile succeeded.
20640
f34d6f84
ST
20641 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20642 checking for _hurd_dtablesize. Unlock it right after having
20643 finished _hurd_dtable allocation.
20644
10589b4a
TS
206452012-05-10 Thomas Schwinge <thomas@schwinge.name>
20646
674cdbc7
TS
20647 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20648 * sysdeps/mach/hurd/configure: Regenerated.
20649 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20650 special-casing to...
20651 * sysdeps/gnu/configure.in: ... this new file.
20652 * sysdeps/unix/sysv/linux/configure: Regenerated.
20653 * sysdeps/gnu/configure: New generated file.
20654
8e41b99f
TS
20655 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20656 for Linux: use nsec instead of usec, as well as:
20657 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20658 members of type struct timespec.
20659 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20660 New macros.
20661 (struct stat64): Likewise.
20662 (_STATBUF_ST_NSEC): New macro.
20663 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20664
10589b4a
TS
20665 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20666 __strtoul_internal rather than strtoul.
20667
63643c85
PT
206682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20669
20670 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20671 and reject them.
20672
3faebe6a
ST
206732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20674
20675 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20676 which preserves existing values.
20677 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20678
c6474b07
PT
206792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20680
20681 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20682 TIMEOUT values. Return EINVAL for NFDS values either negative or
20683 greater than FD_SETSIZE.
20684
1043890b
ST
206852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20686
20687 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20688 allocated, call __vm_protect to finish enabling the existing space, and
20689 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20690 allocate the remainder.
20691
37ed8b9b
PT
206922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20693
20694 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20695 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20696
db653660
ST
206972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20698
37ed8b9b
PT
20699 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20700 sysdeps/mach/hurd/readlink.c.
b29d4053 20701
db653660
ST
20702 * posix/tst-sysconf.c (posix_options): Only use
20703 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20704 _POSIX_SYNCHRONIZED_IO when they are defined
20705 * sysdeps/mach/hurd/bits/posix_opt.h:
20706 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20707 (_XOPEN_REALTIME): Undefine macro.
20708 (_XOPEN_REALTIME_THREADS): Undefine macro.
20709 (_XOPEN_SHM): Undefine macro.
20710 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20711 macro to -1.
20712 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20713 macro to -1.
20714 (_POSIX_ASYNC_IO): Undefine macro.
20715 (_POSIX_PRIORITIZED_IO): Undefine macro.
20716 (_POSIX_SPIN_LOCKS): Define macro to -1.
20717
ee16e894
ST
20718 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20719 SA_NODEFER, SA_RESETHAND.
20720 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20721 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20722 F_DUPFD_CLOEXEC.
20723
6103ae3b
TS
207242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20725
20726 * elf/Makefile (pldd-modules): Define unconditionally.
20727
80b4e5f3
TS
207282012-05-10 Thomas Schwinge <thomas@schwinge.name>
20729
20730 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20731
edadcbd6
ST
207322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20733
20734 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20735 Return ENOENT when name is empty.
20736 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20737
80694780
TS
207382012-05-10 Thomas Schwinge <thomas@schwinge.name>
20739
1792c087
TS
20740 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20741
80694780
TS
20742 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20743
6b645f0d
ST
207442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20745
80694780
TS
20746 Fix mlock in all cases except non-readable pages.
20747 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20748 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20749
6b645f0d
ST
20750 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20751 (__mkdir): When path is `/', just fail with EEXIST.
20752 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20753
e468f8a3
TS
207542012-05-10 Thomas Schwinge <thomas@schwinge.name>
20755
20756 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20757 <sys/uio.h> (for writev).
20758 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20759 and <sys/param.h> (for MIN).
20760
a4186cff
PT
207612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20762
20763 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20764 REQUESTED_TIME. Properly set the remaining time and return EINTR
20765 if interrupted.
20766
510bbf14
TS
207672012-05-10 Thomas Schwinge <thomas@schwinge.name>
20768
20769 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20770 Depend on against $(link-rpcuserlibs).
20771
5d5722e8
ST
207722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20773
a4186cff
PT
20774 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20775 (__libc_stack_end): Do not use attribute_relro.
20776 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20777 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20778 to libthread-provided value.
a4186cff
PT
20779 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20780 attribute_relro.
5d5722e8 20781
37233df9
TS
207822012-05-10 Thomas Schwinge <thomas@schwinge.name>
20783
be971a2b
TS
20784 [BZ #3748]
20785 * bits/libc-lock.h (__libc_once_get): New macro.
20786 * sysdeps/mach/bits/libc-lock.h: Likewise.
20787 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20789 instead of using implementation details.
20790
37233df9
TS
20791 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20792 * libio/freopen.c: Likewise.
20793 * libio/freopen64.c: Likewise.
20794 * misc/syslog.c: Likewise.
20795 * nscd/connections.c: Likewise.
20796 * nscd/netgroupcache.c: Likewise.
20797 * sysdeps/posix/getcwd.c: Likewise.
20798
38de94a5
RM
207992012-05-10 Roland McGrath <roland@hack.frob.com>
20800
20801 * math/w_ilogbf.c: Add #include <limits.h>.
20802
67530489
ST
208032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20804
a4186cff 20805 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20806 path instead of returning without unlocking.
20807
67530489
ST
20808 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20809 immediate-write ioctls.
20810 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20811
5aa3a74a
TS
208122012-05-10 Thomas Schwinge <thomas@schwinge.name>
20813
18bad2ae
TS
20814 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20815 __builtin_frame_address instead of making assumptions about the
20816 location of the return address relative to DATA. Force early load of
20817 the return address.
20818 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20819 __builtin_frame_address.
20820
5aa3a74a
TS
20821 dup3 for GNU Hurd.
20822 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20823 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20824 implement dup3 and do some further code clean-ups.
20825 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20826 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20827
ecd0de9a
ST
208282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20829
cd9fa985
ST
20830 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20831
a4186cff
PT
20832 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20833 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20834 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20835 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20836 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20837 d->port.lock.
802ca5a5 20838
a4186cff
PT
20839 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20840 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20841 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20842
bcf55240
TS
208432012-05-10 Thomas Schwinge <thomas@schwinge.name>
20844
6960eb42
TS
20845 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20846 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20847 definitions.
20848
eb43375f
TS
20849 accept4 for GNU Hurd.
20850 * include/sys/socket.h (__libc_accept4): New prototype.
20851 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20852 to implement __libc_accept4.
20853 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20854 __libc_accept4.
20855 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20856
bcf55240
TS
20857 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20858 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20859 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20860 signal-defines.sym.
20861
6178c55b
ST
208622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20863
a4186cff 20864 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20865
6f080c2f
TS
208662012-05-10 Thomas Schwinge <thomas@schwinge.name>
20867
20868 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20869 assertion on O_CLOEXEC flag.
20870 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20871 * hurd/intern-fd.c: Likewise.
20872 * hurd/port2fd.c: Likewise.
20873
bcfe3a54
ST
208742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20875
20876 [BZ #3906]
20877 * bits/in.h (IPV6_PKTINFO): Define new macro.
20878 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20879
89c9aa49
AZ
208802012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20881
20882 [BZ #13954]
20883 [BZ #13955]
20884 [BZ #13956]
20885 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20887 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20888 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20890 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20891 * math/libm-test.inc (logb_test) : Additional logb tests.
20892
021db4be
AJ
208932012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20894 Andreas Jaeger <aj@suse.de>
20895
20896 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20897 * configure: Regenerated.
20898 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20899 * config.make.in (link-obsolete-rpc): New substituted variable.
20900 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20901 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20902 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20903 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20904 so that libc.a contains the symbols.
20905 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20906 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20907 * sunrpc/auth_none.c: Likewise.
20908 * sunrpc/auth_unix.c: Likewise.
20909 * sunrpc/authdes_prot.c: Likewise.
20910 * sunrpc/authuxprot.c: Likewise.
20911 * sunrpc/clnt_gen.c: Likewise.
20912 * sunrpc/clnt_perr.c: Likewise.
20913 * sunrpc/clnt_raw.c: Likewise.
20914 * sunrpc/clnt_simp.c: Likewise.
20915 * sunrpc/clnt_tcp.c: Likewise.
20916 * sunrpc/clnt_udp.c: Likewise.
20917 * sunrpc/clnt_unix.c: Likewise.
20918 * sunrpc/des_crypt.c: Likewise.
20919 * sunrpc/des_soft.c: Likewise.
20920 * sunrpc/get_myaddr.c: Likewise.
20921 * sunrpc/key_call.c: Likewise.
20922 * sunrpc/key_prot.c: Likewise.
20923 * sunrpc/netname.c: Likewise.
20924 * sunrpc/pm_getmaps.c: Likewise.
20925 * sunrpc/pm_getport.c: Likewise.
20926 * sunrpc/pmap_clnt.c: Likewise.
20927 * sunrpc/pmap_prot.c: Likewise.
20928 * sunrpc/pmap_prot2.c: Likewise.
20929 * sunrpc/pmap_rmt.c: Likewise.
20930 * sunrpc/publickey.c: Likewise.
20931 * sunrpc/rpc_cmsg.c: Likewise.
20932 * sunrpc/rpc_common.c: Likewise.
20933 * sunrpc/rpc_dtable.c: Likewise.
20934 * sunrpc/rpc_prot.c: Likewise.
20935 * sunrpc/rpc_thread.c: Likewise.
20936 * sunrpc/rtime.c: Likewise.
20937 * sunrpc/svc.c: Likewise.
20938 * sunrpc/svc_auth.c: Likewise.
20939 * sunrpc/svc_raw.c: Likewise.
20940 * sunrpc/svc_run.c: Likewise.
20941 * sunrpc/svc_tcp.c: Likewise.
20942 * sunrpc/svc_udp.c: Likewise.
20943 * sunrpc/svc_unix.c: Likewise.
20944 * sunrpc/svcauth_des.c: Likewise.
20945 * sunrpc/xcrypt.c: Likewise.
20946 * sunrpc/xdr.c: Likewise.
20947 * sunrpc/xdr_array.c: Likewise.
20948 * sunrpc/xdr_float.c: Likewise.
20949 * sunrpc/xdr_intXX_t.c: Likewise.
20950 * sunrpc/xdr_mem.c: Likewise.
20951 * sunrpc/xdr_rec.c: Likewise.
20952 * sunrpc/xdr_ref.c: Likewise.
20953 * sunrpc/xdr_sizeof.c: Likewise.
20954 * sunrpc/xdr_stdio.c: Likewise.
20955
b5c086a2
RM
209562012-05-10 Roland McGrath <roland@hack.frob.com>
20957
20958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20959 change. Update copyright years.
20960
6d74dd09
JM
209612012-05-10 Joseph Myers <joseph@codesourcery.com>
20962
20963 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20964
28e72501
MK
209652012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20966 Joseph Myers <joseph@codesourcery.com>
20967 Paul Pluzhnikov <ppluzhnikov@google.com>
20968
20969 [BZ #14012]
20970 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20971 requiring rpcgen.
20972 [cross-compiling] (extra-libs): Likewise.
20973 [cross-compiling] (extra-libs-others): Likewise.
20974 [cross-compiling] (librpcsvc-routines): Likewise.
20975 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20976 [cross-compiling] (omit-deps): Likewise.
20977 (sunrpc-CPPFLAGS): New variable.
20978 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20979 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20980 (cross-rpcgen-objs): New variable.
20981 (extra-objs): Append $(cross-rpcgen-objs).
20982 ($(cross-rpcgen-objs)): New rule.
20983 ($(objpfx)cross-rpcgen): Likewise.
20984 (rpcgen-cmd): Define to use $(built-program-file). Expand
20985 comment.
20986 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20987 ($(objpfx)x%.stmp): Likewise.
20988 * sunrpc/proto.h [IS_IN_build] (_): Define.
20989 [IS_IN_build] (_libc_intl_domainname): Likewise.
20990
c8c59454
L
209912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20992
20993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20994 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20995 and R_X86_64_TPOFF64.
20996
6f27cd16
JM
209972012-05-10 Joseph Myers <joseph@codesourcery.com>
20998
20999 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21000 sysdeps/unix/sysv/syscalls.list.
21001 (stime): Likewise.
21002 (utime): Likewise.
21003 * sysdeps/unix/sysv/syscalls.list: Remove file.
21004
02467e1c
PE
210052012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21006
21007 [BZ #3440]
21008 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21009 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21010 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21011 (__LC_IDENTIFICATION): Make these macros useful in #if
21012 expressions, as required by C99.
21013
da392631
AS
210142012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21015
21016 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21017 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21018 after this.
21019
8115f29b
L
210202012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 * stdlib/longlong.h: Updated from GCC.
21023
bdd74070
AJ
210242012-05-09 Andreas Jaeger <aj@suse.de>
21025
edfe0dbe
AJ
21026 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21027 default is first entry.
21028 (run_mode): Set type.
21029 (main): Remove informal message about syslog.
21030 (options): Fix typo.
21031
bcfe3a54
ST
21032 [BZ #14053]
21033 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21034 to asm.
bcfe3a54
ST
21035 (lrint): Likewise.
21036 (llrintf): Likewise.
21037 (llrint): Likewise.
21038 (rint): Likewise.
21039 (rintf): Likewise.
21040 (nearbyint): Likewise.
21041 (nearbyintf): Likewise.
bdd74070 21042
91d8d69e
AJ
210432012-05-09 Andreas Jaeger <aj@suse.de>
21044 Pedro Alves <palves@redhat.com>
21045
21046 * nscd/nscd.c (run_mode): Use enum.
21047 (main): Cleanup coding style issue.
21048
bb90b80b
AJ
210492012-05-09 Alexandre Oliva <aoliva@redhat.com>
21050 Andreas Jaeger <aj@suse.de>
21051
bcfe3a54
ST
21052 * nscd/nscd.c (go_background): Replaced with...
21053 (run_mode): ... this.
bb90b80b 21054 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21055 (options): Add -F --foreground.
21056 (main): Implement it.
21057 (parse_opt): Parse it.
bb90b80b 21058
1a4b75a1
AJ
210592012-05-09 Andreas Jaeger <aj@suse.de>
21060
21061 [BZ #14083]
21062 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21063 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21064 -Wconversion warning.
21065 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21066 Likewise.
21067
b1cc2472
JM
210682012-05-09 Joseph Myers <joseph@codesourcery.com>
21069
21070 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21071 == 0.
21072 (LC_ALL): Use macro-int-constant.
21073 (LC_COLLATE): Likewise.
21074 (LC_CTYPE): Likewise.
21075 (LC_MESSAGES): Likewise.
21076 (LC_MONETARY): Likewise.
21077 (LC_NUMERIC): Likewise.
21078 (LC_TIME): Likewise.
21079 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21080 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21082 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21083 Specify type.
21084 [C99-based standards] (float_t): Expect type.
21085 [C99-based standards] (double_t): Expect type.
21086 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21087 type.
21088 [C99-based standards] (HUGE_VALL): Likewise.
21089 [C99-based standards] (INFINITY): Likewise.
21090 [C99-based standards] (NAN): Likewise.
21091 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21092 [C99-based standards] (FP_NAN): Likewise.
21093 [C99-based standards] (FP_NORMAL): Likewise.
21094 [C99-based standards] (FP_SUBNORMAL): Likewise.
21095 [C99-based standards] (FP_ZERO): Likewise.
21096 [C99-based standards] (FP_FAST_FMA): Use
21097 optional-macro-int-constant. Specify type. Require == 1.
21098 [C99-based standards] (FP_FAST_FMAF): Likewise.
21099 [C99-based standards] (FP_FAST_FMAL): Likewise.
21100 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21101 [C99-based standards] (FP_ILOGBNAN): Likewise.
21102 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21103 Specify type.
21104 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21105 [C99-based standards] (math_errhandling): Specify type.
21106 [ISO99 || ISO11] (signgam): Do not allow.
21107 [non-C99-based standards] (copysignf): Do not allow.
21108 [non-C99-based standards] (exp2f): Likewise.
21109 [non-C99-based standards] (log2f): Likewise.
21110 [non-C99-based standards] (modff): Allow.
21111 [non-C99-based standards] (erff): Do not allow.
21112 [non-C99-based standards] (erfcf): Likewise.
21113 [non-C99-based standards] (gammaf): Likewise.
21114 [non-C99-based standards] (hypotf): Likewise.
21115 [non-C99-based standards] (j0f): Likewise.
21116 [non-C99-based standards] (j1f): Likewise.
21117 [non-C99-based standards] (jnf): Likewise.
21118 [non-C99-based standards] (lgammaf): Likewise.
21119 [non-C99-based standards] (tgammaf): Likewise.
21120 [non-C99-based standards] (y0f): Likewise.
21121 [non-C99-based standards] (y1f): Likewise.
21122 [non-C99-based standards] (ynf): Likewise.
21123 [non-C99-based standards] (isnanf): Likewise.
21124 [non-C99-based standards] (acoshf): Likewise.
21125 [non-C99-based standards] (asinhf): Likewise.
21126 [non-C99-based standards] (atanhf): Likewise.
21127 [non-C99-based standards] (cbrtf): Likewise.
21128 [non-C99-based standards] (expm1f): Likewise.
21129 [non-C99-based standards] (ilogbf): Likewise.
21130 [non-C99-based standards] (log1pf): Likewise.
21131 [non-C99-based standards] (logbf): Likewise.
21132 [non-C99-based standards] (nextafterf): Likewise.
21133 [non-C99-based standards] (remainderf): Likewise.
21134 [non-C99-based standards] (rintf): Likewise.
21135 [non-C99-based standards] (scalbf): Likewise.
21136 [non-C99-based standards] (copysignl): Likewise.
21137 [non-C99-based standards] (exp2l): Likewise.
21138 [non-C99-based standards] (log2l): Likewise.
21139 [non-C99-based standards] (modfl): Allow.
21140 [non-C99-based standards] (erfl): Do not allow.
21141 [non-C99-based standards] (erfcl): Likewise.
21142 [non-C99-based standards] (gammal): Likewise.
21143 [non-C99-based standards] (hypotl): Likewise.
21144 [non-C99-based standards] (j0l): Likewise.
21145 [non-C99-based standards] (j1l): Likewise.
21146 [non-C99-based standards] (jnl): Likewise.
21147 [non-C99-based standards] (lgammal): Likewise.
21148 [non-C99-based standards] (tgammal): Likewise.
21149 [non-C99-based standards] (y0l): Likewise.
21150 [non-C99-based standards] (y1l): Likewise.
21151 [non-C99-based standards] (ynl): Likewise.
21152 [non-C99-based standards] (isnanl): Likewise.
21153 [non-C99-based standards] (acoshl): Likewise.
21154 [non-C99-based standards] (asinhl): Likewise.
21155 [non-C99-based standards] (atanhl): Likewise.
21156 [non-C99-based standards] (cbrtl): Likewise.
21157 [non-C99-based standards] (expm1l): Likewise.
21158 [non-C99-based standards] (ilogbl): Likewise.
21159 [non-C99-based standards] (log1pl): Likewise.
21160 [non-C99-based standards] (logbl): Likewise.
21161 [non-C99-based standards] (nextafterl): Likewise.
21162 [non-C99-based standards] (remainderl): Likewise.
21163 [non-C99-based standards] (rintl): Likewise.
21164 [non-C99-based standards] (scalbl): Likewise.
21165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21166 [non-C99-based standards] (FP_*): Do not allow.
21167 [C99-based standards] (FP_*): Change to
21168 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21169 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21170 allow.
21171 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21172 (SIG_ERR): Likewise.
21173 [X/Open-based standards] (SIG_HOLD): Likewise.
21174 (SIG_IGN): Likewise.
21175 (SIGABRT): Use macro-int-constant. Specify type. Require
21176 positive value.
21177 (SIGFPE): Likewise.
21178 (SIGILL): Likewise.
21179 (SIGINT): Likewise.
21180 (SIGSEGV): Likewise.
21181 (SIGTER): Likewise.
21182 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21183 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21184 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21185 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21186 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21187 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21188 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21189 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21190 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21191 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21192 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21193 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21194 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21195 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21196 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21197 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21198 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21199 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21200 [X/Open-based standards] (SIGTRAP): Likewise.
21201 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21202 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21203 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21204 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21205 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21206 allow.
21207
b9f1922d
IW
212082012-05-08 Ian Wienand <ianw@vmware.com>
21209
21210 [BZ #14080]
21211 * time/tzset.c (__tzset_parse_tz): Update default rules for
21212 daylight time changes in the Energy Policy Act of 2005.
21213
1db86e88
AJ
212142012-05-09 Andreas Jaeger <aj@suse.de>
21215
21216 [BZ #13983]
21217 * elf/ldconfig.c (parse_conf): Change string to make clear that
21218 ldconfig only issued a warning if ld.so.conf does not exist.
21219
dee4a4e3
DM
212202012-05-08 David S. Miller <davem@davemloft.net>
21221
ee0db190
DM
21222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21223 movxtod instead of popping the value on the stack.
21224
dee4a4e3
DM
21225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21226
6a43ec98
CD
212272012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21228
21229 * config.h.in: Add HAVE_ARM_PCS_VFP.
21230
05c2c961
RMG
212312012-05-08 Roland Mc Grath <roland@hack.frob.com>
21232
bcfe3a54
ST
21233 [BZ #13979]
21234 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21235 checking but the checks are disabled for any reason.
05c2c961 21236
4b30f61a
L
212372012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21240 and ELF64_R_TYPE with ELFW(R_TYPE).
21241
eee2bc67
JM
212422012-05-08 Joseph Myers <joseph@codesourcery.com>
21243
7ea5391a
JM
21244 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21245 (ulimit): Likewise.
21246
eee2bc67
JM
21247 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21248 (settimeofday): Likewise.
21249
abb66a67
MF
212502012-05-08 Mike Frysinger <vapier@gentoo.org>
21251
21252 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21253 a struct th_u2 inside the union, and move tu_block/tu_code into
21254 a new th_u3 union of tu_block/tu_code inside of that. Move
21255 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21256 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21257 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21258 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21259 (th_stuff): Change to th_u1.tu_stuff.
21260 (th_data): Define.
21261 (th_msg): Change to th_u1.th_u2.tu_data.
21262
7f18b530
DM
212632012-05-07 David S. Miller <davem@davemloft.net>
21264
05760585
DM
21265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21266
7f18b530
DM
21267 [BZ #14074]
21268 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21269 (SETUP_PIC_REG): Use it.
21270 (SETUP_PIC_REG_LEAF): Use it.
21271
495fd99f
JM
212722012-05-07 Joseph Myers <joseph@codesourcery.com>
21273
21274 [BZ #13885]
21275 [BZ #13923]
21276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21277 USE_AS_EXPM1L.
21278 (EXPL_FINITE): Likewise.
21279 (FLDLOG): Likewise.
21280 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21281 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21282 e_expl.S.
21283 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21284 USE_AS_EXPM1L.
21285 (EXPL_FINITE): Likewise.
21286 (FLDLOG): Likewise.
21287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21288 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21289 e_expl.S.
21290 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21291 test of -max_value argument for long double.
21292 * sysdeps/i386/fpu/libm-test-ulps: Update.
21293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21294
6693d694
DM
212952012-05-06 David S. Miller <davem@davemloft.net>
21296
21297 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21298 quad soft-float symbols whose references which are compiler
21299 generated.
21300 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21301
6c23e11c
JM
213022012-05-06 Joseph Myers <joseph@codesourcery.com>
21303
d8b82cad
JM
21304 [BZ #13884]
21305 [BZ #13914]
21306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21307 USE_AS_EXP10L.
21308 (EXPL_FINITE): Likewise.
21309 (FLDLOG): Likewise.
21310 (c0): Likewise.
21311 (c1): Likewise.
21312 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21313 Adjust comments for base varying.
21314 (__expl_finite): Change alias to EXPL_FINITE.
21315 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21316 e_expl.S.
21317 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21318 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21319 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21320 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21321 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21322 USE_AS_EXP10L.
21323 (EXPL_FINITE): Likewise.
21324 (FLDLOG): Likewise.
21325 (c0): Likewise.
21326 (c1): Likewise.
21327 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21328 Adjust comments for base varying.
21329 (__expl_finite): Change alias to EXPL_FINITE.
21330 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21331 tests for bugs.
21332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21333
6c23e11c
JM
21334 [BZ #14064]
21335 * math/libm-test.inc (check_float_internal): Correct ulp
21336 calculation for subnormal expected results.
21337
29ba805c
AJ
213382012-05-06 Andreas Jaeger <aj@suse.de>
21339
21340 * Makeconfig (+math-flags): New, set to -frounding-math.
21341 (+cflags): Add +math-flags so that all of glibc gets compiled with
21342 it.
21343
21344 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21345
7b17aeda
JM
213462012-05-05 Joseph Myers <joseph@codesourcery.com>
21347
5779f134
JM
21348 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21349 Disable one test.
21350
41498f4d
JM
21351 [BZ #13787]
21352 [BZ #13922]
21353 [BZ #14036]
21354 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21355 (__ieee754_expl): Allow for and saturate large arguments.
21356 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21357 (u_threshold): Likewise.
21358 (__exp): Call __ieee754_exp before checking for overflow and
21359 underflow.
21360 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21361 (u_threshold): Likewise.
21362 (__expf): Call __ieee754_expf before checking for overflow and
21363 underflow.
21364 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21365 (u_threshold): Likewise.
21366 (__expl): Call __ieee754_expl before checking for overflow and
21367 underflow.
21368 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21369 (__ieee754_expl): Allow for and saturate large arguments.
21370 * math/libm-test.inc (exp_test): Add another test. Do not allow
21371 missing overflow exception on overflow.
21372 (expm1_test): Do not allow missing overflow exception on overflow.
21373
6698b8bf
JM
21374 * sysdeps/i386/fpu/e_expl.c: Move to ...
21375 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21376 rather than using inline asm.
21377 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21378 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21379 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21380
7b17aeda
JM
21381 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21382 (nice): Likewise.
21383 (poll): Likewise.
21384 (signal): Likewise.
21385 (time): Likewise.
21386 (times): Likewise.
21387
f7c85819
JM
213882012-05-04 Joseph Myers <joseph@codesourcery.com>
21389
21390 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21391 sysdeps/unix/common/syscalls.list.
21392 (fchmod): Likewise.
21393 (fchown): Likewise.
21394 (ftruncate): Likewise.
21395 (getrusage): Likewise.
21396 (gettimeofday): Likewise.
21397 (setpgid): Likewise.
21398 (setregid): Likewise.
21399 (setreuid): Likewise.
21400 (sigaction): Likewise.
21401 (truncate): Likewise.
21402 (vhangup): Likewise.
21403 * sysdeps/unix/common/syscalls.list: Remove file.
21404 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21405 * sysdeps/unix/sysv/linux/Implies: Likewise.
21406
336270d0
L
214072012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21408
21409 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21411 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21412 Moved to ...
21413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21414 Here.
21415 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21416 to ...
21417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21418 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21419 to ...
21420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21422 to ...
21423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21424 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21425 to ...
21426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21427 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21428 to ...
21429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21430 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21431 to ...
21432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21433 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21434 to ...
21435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21436 Here.
21437 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21438 to ...
21439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21440 Here.
21441 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21442 to ...
21443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21444 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21445 Moved to ...
21446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21447 Here.
21448 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21449 to ...
21450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21451
d128e450
JM
214522012-05-04 Joseph Myers <joseph@codesourcery.com>
21453
fa8ee516
JM
21454 * sysdeps/unix/common/bits/dirent.h: Remove file.
21455 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21456
d128e450
JM
21457 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21458 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21459 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21460 * sysdeps/unix/bsd/isatty.c: Likewise.
21461 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21462 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21463 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21464
ff8faaf0 214652012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21466
62881be4 21467 [BZ #13563]
31dc8730
AZ
21468 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21469 long double comparison inaccuracies.
21470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21472
6fef930c
AS
214732012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21474
21475 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21477
8f203e6c
JM
214782012-05-04 Joseph Myers <joseph@codesourcery.com>
21479
21480 [BZ #14049]
21481 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21482 nonzero digits before rounding a hex value.
21483 * stdlib/tst-strtod.c (tests): Add another test.
21484
5197d9c2
AK
214852012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21486
21487 * sysdeps/s390/fpu/libm-test-ulps: Update.
21488
f0c1dedf
AJ
214892012-05-03 Andreas Jaeger <aj@suse.de>
21490
21491 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21492 does not get optimized out.
21493 (malloc_opt_barrier): New.
21494
a65ef2ae 214952012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21496 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21497
2b942cb7 21498 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21499 intermediate file deletion.
2b942cb7 21500 (generated): Add .symlist files.
a65ef2ae 21501
54b71e02
JM
215022012-05-03 Joseph Myers <joseph@codesourcery.com>
21503
21504 [BZ #13775]
21505 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21506 Redirect under this condition.
21507 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21508 [__USE_GNU] (__dprintf_chk): Not under this condition.
21509 [__USE_GNU] (__vdprintf_chk): Likewise.
21510 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21511 under this condition.
21512 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21513 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21514 [__USE_XOPEN2K8] (vdprintf): Likewise.
21515 [__USE_GNU] (__dprintf_chk): Not under this condition.
21516 [__USE_GNU] (__vdprintf_chk): Likewise.
21517 [__USE_GNU] (dprintf): Likewise.
21518 [__USE_GNU] (vdprintf): Likewise.
21519
d3dfcc41
RM
215202012-05-03 Roland McGrath <roland@hack.frob.com>
21521
21522 * elf/Makefile (common-generated): Set this instead of generated for
21523 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21524 $(all-built-dso)-derived lists.
21525
7ac30cc5
AJ
215262012-05-03 Andreas Jaeger <aj@suse.de>
21527
0c51e550
AJ
21528 * sysdeps/i386/fpu/libm-test-ulps: Update.
21529
7ac30cc5
AJ
21530 * FAQ: Removed.
21531 * FAQ.in: Likewise.
21532 * scripts/gen-FAQ.pl: Likewise.
21533 * manual/install.texi (Installation): Point to online location of
21534 FAQ.
21535 * Makefile (files-for-dist): Remove FAQ.
21536 (FAQ): Remove.
21537
d4c2917f
AM
215382012-05-02 Allan McRae <allan@archlinux.org>
21539
21540 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21541 (LDFLAGS-reldepmod5.so): Likewise.
21542 (LDFLAGS-reldep6mod1.so): Likewise.
21543 (LDFLAGS-reldep6mod4.so): Likewise.
21544 (LDFLAGS-reldep8mod3.so): Likewise.
21545 (LDFLAGS-unload4mod1.so): Likewise.
21546 (LDFLAGS-unload4mod2.so): Likewise.
21547 (LDFLAGS-tst-initorder): Likewise.
21548 (LDFLAGS-tst-initordera2.so): Likewise.
21549 (LDFLAGS-tst-initordera3.so): Likewise.
21550 (LDFLAGS-tst-initordera4.so): Likewise.
21551 (LDFLAGS-tst-initorderb2.so): Likewise.
21552 (LDFLAGS-noload): Likewise.
21553 (LDFLAGS-next): Likewise.
21554 (LDFLAGS-order2mod1.so): Likewise.
21555 (LDFLAGS-order2mod2.so): Likewise.
21556 (LDFLAGS-tst-initorder2): Likewise.
21557 (LDFLAGS-tst-initorder2a.so): Likewise.
21558 (LDFLAGS-tst-initorder2b.so): Likewise.
21559 (LDFLAGS-tst-initorder2c.so): Likewise.
21560 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21561
d77f993f
DM
215622012-05-02 David S. Miller <davem@davemloft.net>
21563
21564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21565
171a70b4
PP
215662012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21567
21568 [BZ #14055]
21569 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21570
0be196ad
AJ
215712012-05-02 Andreas Jaeger <aj@suse.de>
21572
21573 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21574 since we manipulate rounding mode.
21575 (CPPFLAGS-test-idouble.c): Likewise.
21576 (CPPFLAGS-test-ifloat.c): Likewise.
21577 (CFLAGS-test-ldouble.c): Likewise.
21578 (CFLAGS-test-double.c): Likewise.
21579 (CFLAGS-test-float.c): Likewise.
21580 (CFLAGS-test-misc.c): Likewise.
21581 (CFLAGS-test-test-fenv.c): Likewise.
21582
4f9d04aa
AZ
215832012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21584
2b942cb7
RM
21585 [BZ #2550]
21586 [BZ #2570]
21587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21588 comparisons to determine direction to adjust input.
4f9d04aa 21589
82a79e7d
RM
215902012-05-01 Roland McGrath <roland@hack.frob.com>
21591
f5a01ca9
RM
21592 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21593 output to the target.
21594
90fe4186
RM
21595 * scripts/localplt.awk: New file.
21596 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21597 (check-localplt-CFLAGS): Variable removed.
21598 ($(all-built-dso:=.jmprel)): New static pattern rule.
21599 (generated): Add those targets.
21600 (localplt-built-dso): New variable.
21601 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21602
21603 * elf/check-localplt.c: File removed.
21604
82397ed6
RM
21605 * scripts/check-execstack.awk: New file.
21606 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21607 (check-execstack-CFLAGS): Variable removed.
21608 ($(objpfx)check-execstack.h): Target removed.
21609 ($(objpfx)execstack-default): New target.
21610 (generated): Add that instead of check-execstack.h.
21611 ($(all-built-dso:=.phdr)): New static pattern rule.
21612 (generated): Add those targets.
21613 * elf/check-execstack.c: File removed.
21614
82a79e7d
RM
21615 * scripts/check-textrel.awk: New file.
21616 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21617 (check-textrel-CFLAGS): Variable removed.
21618 (all-built-dso): Use := to define.o
21619 ($(all-built-dso:=.dyn)): New static pattern rule.
21620 (generated): Add those targets.
21621 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21622 * config.make.in (READELF): New substituted variable.
21623 * elf/check-textrel.c: File removed.
21624
62fde54f 216252012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21626
615605c9
JM
21627 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21628 allow.
21629 * conform/data/ctype.h-data [C99-based standards] (isblank):
21630 Expect function.
21631 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21632 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21634 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21635 Specify type. Require positive value.
21636 (EILSEQ): Likewise.
21637 (ERANGE): Likewise.
21638 [ISO || POSIX] (EILSEQ): Do not expect.
21639 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21640 Specify type. Require positive value.
21641 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21642 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21643 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21644 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21645 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21646 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21647 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21648 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21649 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21650 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21651 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21652 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21653 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21654 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21655 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21656 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21657 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21658 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21659 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21660 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21661 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21662 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21663 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21664 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21665 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21666 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21667 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21668 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21669 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21670 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21671 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21672 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21673 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21674 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21675 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21676 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21677 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21678 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21679 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21680 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21681 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21682 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21683 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21684 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21685 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21686 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21687 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21688 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21689 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21690 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21691 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21692 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21693 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21694 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21695 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21696 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21697 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21698 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21699 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21700 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21701 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21702 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21703 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21704 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21705 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21706 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21707 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21708 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21709 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21710 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21711 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21712 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21713 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21714 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21715 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21716 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21717 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21718 Require >= 2.
21719 (FLT_ROUNDS): Expect as macro, not constant.
21720 (FLT_MANT_DIG): Use macro-int-constant.
21721 (DBL_MANT_DIG): Likewise.
21722 (LDBL_MANT_DIG): Likewise.
21723 (FLT_DIG): Likewise.
21724 (DBL_DIG): Likewise.
21725 (LDBL_DIG): Likewise.
21726 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21727 (DBL_MIN_EXP): Likewise.
21728 (LDBL_MIN_EXP): Likewise.
21729 (FLT_MAX_EXP): Use macro-int-constant.
21730 (DBL_MAX_EXP): Likewise.
21731 (LDBL_MAX_EXP): Likewise.
21732 (FLT_MAX_10_EXP): Likewise.
21733 (DBL_MAX_10_EXP): Likewise.
21734 (LDBL_MAX_10_EXP): Likewise.
21735 (FLT_MAX): Use macro-constant.
21736 (DBL_MAX): Likewise.
21737 (LDBL_MAX): Likewise.
21738 (FLT_EPSILON): Use macro-constant. Give upper bound.
21739 (DBL_EPSILON): Likewise.
21740 (LDBL_EPSILON): Likewise.
21741 (FLT_MIN): Likewise.
21742 (DBL_MIN): Likewise.
21743 (LDBL_MIN): Likewise.
21744 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21745 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21746 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21747 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21748 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21749 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21750 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21751 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21752 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21753 [ISO11] (FLT_TRUE_MIN): Likewise.
21754 [ISO11] (LDBL_TRUE_MIN): Likewise.
21755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21756 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21757 (SCHAR_MIN): Use macro-int-constant. Specify type.
21758 (SCHAR_MAX): Likewise.
21759 (UCHAR_MAX): Likewise.
21760 (CHAR_MIN): Likewise.
21761 (CHAR_MAX): Likewise.
21762 (MB_LEN_MAX): Use macro-int-constant.
21763 (SHRT_MIN): Use macro-int-constant. Specify type.
21764 (SHRT_MAX): Likewise.
21765 (USHRT_MAX): Likewise.
21766 (INT_MAX): Likewise.
21767 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21768 bound negative.
21769 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21770 bound with "U".
21771 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21772 bound with "L".
21773 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21774 bound negative. Suffix upper bound with "L".
21775 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21776 bound with "UL".
21777 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21778 Specify type.
21779 [C99-based standards] (LLONG_MAX): Likewise.
21780 [C99-based standards] (ULLONG_MAX): Likewise.
21781 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21782 == 0.
21783 [ISO11] (max_align_t): Require type.
21784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21785
c9140a62
JM
21786 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21787 from $CFLAGS, without defining away __attribute__ calls.
21788 (checknamespace): Use $CFLAGS_namespace.
21789
9af0bf29
JM
21790 * conform/conformtest.pl (@keywords): Only include C99 keywords
21791 for standards based on C99 or C11.
21792
343222a2
JM
21793 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21794 Disable tests.
21795 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21796 UNIX98]: Likewise.
21797
661f8cf0
JM
21798 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21799 usability of symbols in #if.
21800
ee74b9cb
JM
21801 * conform/conformtest.pl: If macro or constant types start
21802 "promoted:", expect the symbol to be of the following type
21803 promoted by the integer promotions.
62fde54f 21804
aafc49b3
JM
21805 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21806 in one place. Also handle "macro-constant".
21807
fefdf574
JM
21808 * conform/conformtest.pl: Only accept expected macro values with
21809 "==". Parse all "macro" lines in one place.
21810 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21811
f2d922fe
JM
21812 * conform/conformtest.pl: Handle braced types on "constant" lines
21813 instead of handling "typed-constant".
21814 * conform/data/signal.h-data: Use "constant" instead of
21815 "typed-constant".
21816
d22956c9
JM
21817 * conform/conformtest.pl: Handle "optional-" at start of lines in
21818 one place rather than duplicating several cases. Handle each
21819 format of "macro" line with initial "optional-".
21820
028e2e38
JM
21821 * conform/conformtest.pl: Only accept expected constant or
21822 optional-constant values with "==". Parse all "constant" lines in
21823 one place. Parse all "optional-constant" lines in one place.
21824 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21825 * conform/data/fmtmsg.h-data: Likewise.
21826 * conform/data/netinet/in.h-data: Likewise.
21827 * conform/data/tar.h-data: Likewise.
21828 * conform/data/limits.h-data: Use "==" form on "constant" and
21829 "optional-constant" lines.
21830
1b8f2850
JM
21831 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21832 Use -std=c99 for XOPEN2K.
21833 (@knownproblems): Remove.
21834 (newtoken): Don't check %isknown.
21835
a05a144b
JM
21836 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21837 Do not expect macro.
21838 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21839 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21840 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21841 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21842 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21843 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21844 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21845 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21846 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21847 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21848 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21849 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21850 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21851 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21852 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21853 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21854 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21855 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21856 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21857 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21858 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21860 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21861 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21862 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21863 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21864 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21865 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21866 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21867 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21868 [XPG3] (acosh): Likewise.
21869 [XPG3] (asinh): Likewise.
21870 [XPG3] (atanh): Likewise.
21871 [XPG3] (cbrt): Likewise.
21872 [XPG3] (expm1): Likewise.
21873 [XPG3] (ilogb): Likewise.
21874 [XPG3] (log1p): Likewise.
21875 [XPG3] (logb): Likewise.
21876 [XPG3] (nextafter): Likewise.
21877 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21878 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21879 [XPG3] (remainder): Likewise.
21880 [XPG3] (rint): Likewise.
21881 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21882 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21883 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21884 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21885 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21886 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21887 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21888 [UNIX98 || XOPEN2K] (scalb): Expect.
21889 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21890 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21891 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21892 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21893 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21894 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21895 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21896 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21897 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21898 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21899 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21900 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21901 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21902 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21903 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21904 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21905 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21906 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21907 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21908 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21909 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21910 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21911 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21912 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21913 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21914 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21915 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21916 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21917 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21918 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21919 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21920 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21921 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21922 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21923 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21924 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21925 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21926 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21927 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21928 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21929 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21930 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21931 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21932 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21933 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21934 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21935 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21936 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21937 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21938 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21939 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21940 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21941 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21942 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21943 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21944 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21945 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21946 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21947 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21948 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21949 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21950 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21951 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21952 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21953 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21954 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21955 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21956 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21957 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21958 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21959 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21960 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21961 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21962 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21963 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21964 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21965 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21966 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21967 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21968 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21969 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21970 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21971 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21972 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21973 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21974 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21975 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21976 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21977 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21978 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21979 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21980 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21981 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21982 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21983 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21984 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21985 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21986 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21987 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21988 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21989 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21990 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21991 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21992 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21993 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21994 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21995 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21996 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21997 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21998 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21999 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22000 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22001 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22002 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22003 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22004 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22005 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22006 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22007 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22008 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22009 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22010 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22011 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22012 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22013 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22014 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22015 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22016 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22017 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22018 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22019 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22020 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22021 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22022 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22023 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22024 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22025 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22026
73c5ebe3
JM
22027 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22028 _XOPEN_SOURCE_EXTENDED for XPG4.
22029
39c33b6c
JM
22030 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22031
62fde54f
JM
22032 * Makeconfig (localtime): Remove variable.
22033 (inst_localtime-file): Likewise.
22034
0741d64c
AS
220352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22036
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22038 Update.
22039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22040 Update.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22042 Update.
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22044 Update.
22045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22046 Update.
22047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22048 Update.
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22050 Update.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22052 Update.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22054 Update.
22055
7cb029ee
JM
220562012-05-01 Joseph Myers <joseph@codesourcery.com>
22057
22058 [BZ #2550]
22059 [BZ #2570]
22060 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22061 comparisons to determine direction to adjust input.
22062 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22063 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22064 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22065 Likewise.
22066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22067 Likewise.
22068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22069 Likewise.
22070 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22071 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22072 Likewise.
22073 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22074 Likewise.
22075 * math/libm-test.inc (nexttoward_test): Add more tests.
22076
412bd966
AS
220772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22078
22079 [BZ #14040]
22080 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22081 in version GLIBC_2.1, not GLIBC_2.0.
22082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22083 Likewise.
22084
9568c0c2
JM
220852012-04-30 Joseph Myers <joseph@codesourcery.com>
22086
adfbc8ac
JM
22087 [BZ #13942]
22088 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22089 (1 - x) * (1 + x).
22090 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22091 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22092 * math/libm-test.inc (acos_test): Add more tests.
22093 (asin_test): Likewise.
22094 * sysdeps/i386/fpu/libm-test-ulps: Update.
22095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22096
5ba3cc69
JM
22097 [BZ #14034]
22098 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22099 of square root.
22100 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22101 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22102 * math/libm-test.inc (acos_test_tonearest): New function.
22103 (acos_test_towardzero): Likewise.
22104 (acos_test_downward): Likewise.
22105 (acos_test_upward): Likewise.
22106 (asin_test_tonearest): Likewise.
22107 (asin_test_towardzero): Likewise.
22108 (asin_test_downward): Likewise.
22109 (asin_test_upward): Likewise.
22110 (main): Call the new functions.
22111 * sysdeps/i386/fpu/libm-test-ulps: Update.
22112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22113
9568c0c2
JM
22114 [BZ #13884]
22115 [BZ #13924]
22116 * math/e_exp10.c: Include <float.h>.
22117 (__ieee754_exp10): Handle underflow here rather than multiplying
22118 large negative argument by M_LN10.
22119 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22120 of __ieee754_expf.
22121 * math/e_exp10l.c: Include <float.h>.
22122 (__ieee754_exp10l): Handle underflow here rather than multiplying
22123 large negative argument by M_LN10l.
22124 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22125 spurious overflow exception on underflow.
22126
5ac3ea17
MP
221272012-04-29 Marek Polacek <polacek@redhat.com>
22128
22129 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22130 (__fortify_function): New macro.
22131 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22132 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22133 __extern_always_inline.
22134 * libio/bits/stdio2.h: Likewise.
22135 * libio/bits/stdio.h: Likewise.
22136 * string/string.h: Likewise.
22137 * string/bits/string3.h: Likewise.
22138 * include/stdio.h: Likewise.
22139 * stdlib/bits/stdlib.h: Likewise.
22140 * stdlib/stdlib.h: Likewise.
22141 * rt/bits/mqueue2.h: Likewise.
22142 * rt/mqueue.h: Likewise.
22143 * posix/bits/unistd.h: Likewise.
22144 * posix/unistd.h: Likewise.
22145 * io/bits/poll2.h: Likewise.
22146 * io/bits/fcntl2.h: Likewise.
22147 * io/fcntl.h: Likewise.
22148 * io/sys/poll.h: Likewise.
22149 * misc/bits/syslog.h: Likewise.
22150 * misc/bits/syslog-ldbl.h: Likewise.
22151 * misc/sys/syslog.h: Likewise.
22152 * socket/bits/socket2.h: Likewise.
22153 * socket/sys/socket.h: Likewise.
22154 * debug/tst-chk1.c: Likewise.
22155 * wcsmbs/bits/wchar2.h: Likewise.
22156 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22157 * wcsmbs/wchar.h: Likewise.
22158
ecf0ebfb
AJ
221592012-04-29 Andreas Jaeger <aj@suse.de>
22160
22161 * Makerules (tests): Remove enable-check-abi protection.
22162 (check-abi-warn): Remove.
22163 (check-abi-%): Remove check-abi-warn usage.
22164
22165 * configure.in: Remove check-abi configure option.
22166 * configure: Regenerated.
22167 * config.make.in (enable-check-abi): Remove.
22168
6d5c57fa
AS
221692012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22170
24c5d07e 22171 [BZ #14033]
ded5180a
AS
22172 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22173 double functions to double *_finite functions.
22174
7e0d315d
AS
22175 [BZ #13941]
22176 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22177 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22178 LDBL_MIN_EXP.
22179 * stdio-common/Makefile (tests): Add tst-sprintf3.
22180 * stdio-common/tst-sprintf3.c: New file.
22181
6d5c57fa
AS
22182 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22183 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22184
0749ff8b
JM
221852012-04-28 Joseph Myers <joseph@codesourcery.com>
22186
22187 * conform/conformtest.pl: Remove duplicate typed-constant
22188 handling.
22189
8dbd5d7b
DM
221902012-04-28 David S. Miller <davem@davemloft.net>
22191
22192 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22193 (check-abi-%): Remove AWK script prerequisite and explicit
22194 abilist directory.
22195 (check-abi): Rewrite to just diff the symlist with the abilist.
22196 (config-tls, config-abi-config): Delete, no longer used.
22197 (update-abi-%): Remove AWK script and explicit abilist directory.
22198 (update-abi): Rewrite to simply compare and conditionally copy the
22199 symlist and the sysdep abilist file. Remove update-abi-config
22200 checks.
22201 * abilist/ld.abilist: Remove.
22202 * abilist/libBrokenLocale.abilist: Remove.
22203 * abilist/libanl.abilist: Remove.
22204 * abilist/libcrypt.abilist: Remove.
22205 * abilist/libdl.abilist: Remove.
22206 * abilist/librt.abilist: Remove.
22207 * abilist/libthread_db.abilist: Remove.
22208 * abilist/libutil.abilist: Remove.
22209 * scripts/extract-abilist.awk: Remove.
22210 * scripts/merge-abilist.awk: Remove.
22211 * sysdeps/generic/libcidn.abilist: New file.
22212 * sysdeps/generic/libnss_compat.abilist: New file.
22213 * sysdeps/generic/libnss_db.abilist: New file.
22214 * sysdeps/generic/libnss_dns.abilist: New file.
22215 * sysdeps/generic/libnss_files.abilist: New file.
22216 * sysdeps/generic/libnss_hesiod.abilist: New file.
22217 * sysdeps/generic/libnss_nis.abilist: New file.
22218 * sysdeps/generic/libnss_nisplus.abilist: New file.
22219 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22220 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22221 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22222 file.
22223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22224 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22225 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22226 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22227 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22228 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22229 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22230 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22231 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22232 file.
22233 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22234 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22235 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22236 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22237 file.
22238 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22239 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22240 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22241 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22242 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22243 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22244 file.
22245 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22246 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22247 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22248 file.
22249 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22251 New file.
22252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22253 New file.
22254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22255 New file.
22256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22257 New file.
22258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22259 New file.
22260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22261 New file.
22262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22263 New file.
22264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22265 New file.
22266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22267 New file.
22268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22269 New file.
22270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22271 New file.
22272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22273 New file.
22274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22275 New file.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22277 file.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22279 New file.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22281 New file.
22282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22283 file.
22284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22285 New file.
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22287 New file.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22289 file.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22291 New file.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22293 New file.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22295 New file.
22296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22297 New file.
22298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22299 New file.
22300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22301 New file.
22302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22304 file.
22305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22306 New file.
22307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22308 file.
22309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22310 file.
22311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22312 file.
22313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22314 file.
22315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22316 file.
22317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22318 New file.
22319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22320 file.
22321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22322 file.
22323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22324 New file.
22325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22326 file.
22327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22329 file.
22330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22331 New file.
22332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22333 file.
22334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22335 file.
22336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22337 file.
22338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22339 file.
22340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22341 file.
22342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22343 New file.
22344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22345 file.
22346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22347 file.
22348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22349 New file.
22350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22351 file.
22352 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22353 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22354 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22355 file.
22356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22357 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22358 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22359 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22360 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22361 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22362 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22363 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22364 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22365 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22368 file.
22369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22370 New file.
22371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22372 file.
22373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22374 file.
22375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22376 file.
22377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22378 file.
22379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22380 file.
22381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22382 New file.
22383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22384 New file.
22385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22386 file.
22387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22388 New file.
22389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22390 file.
22391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22393 file.
22394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22395 New file.
22396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22397 file.
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22399 file.
22400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22401 file.
22402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22403 file.
22404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22405 file.
22406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22407 New file.
22408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22409 New file.
22410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22411 file.
22412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22413 New file.
22414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22415 file.
22416
41d73a1b
JM
224172012-04-28 Joseph Myers <joseph@codesourcery.com>
22418
22419 * conform/conformtest.pl: Fix typo in handling typed-constant from
22420 allow-header.
22421
28aeeda4
JM
224222012-04-27 Joseph Myers <joseph@codesourcery.com>
22423
adae8f5e
JM
22424 * README: Cut down references to pre-2.6 Linux kernels and
22425 Linuxthreads. Update lists of configurations in libc and ports
22426 and sort alphabetically. Say "or newer" with Linux kernel version
22427 requirements.
22428
28aeeda4
JM
22429 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22430
a462cb63
RA
224312012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22432
22433 [BZ #887]
22434 * math/libm-test.inc (logb_test_downward): New test to expose
22435 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22436 rounding mode.
22437
6ad3493e
JM
224382012-04-27 Joseph Myers <joseph@codesourcery.com>
22439
22440 [BZ #14027]
22441 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22442 to be done.
22443 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22444 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22445
2ce4f015
JM
224462012-04-26 Joseph Myers <joseph@codesourcery.com>
22447
5aeb141a
JM
22448 * sysdeps/unix/i386/brk.S: Remove file.
22449 * sysdeps/unix/i386/dl-brk.S: Likewise.
22450 * sysdeps/unix/i386/pipe.S: Likewise.
22451 * sysdeps/unix/i386/sigreturn.S: Likewise.
22452 * sysdeps/unix/i386/syscall.S: Likewise.
22453 * sysdeps/unix/i386/vfork.S: Likewise.
22454 * sysdeps/unix/i386/wait.S: Likewise.
22455
7143acae
JM
22456 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22457 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22458
2ce4f015
JM
22459 * configure.in (arm*-none*): Do not allow without
22460 --enable-hacker-mode.
22461 (netbsd*): Remove case setting base_os.
22462 (386bsd*): Likewise.
22463 (freebsd*): Likewise.
22464 (bsdi*): Likewise.
22465 (osf*): Likewise.
22466 (sunos*): Likewise.
22467 (ultrix*): Likewise.
22468 (newsos*): Likewise.
22469 (dynix*): Likewise.
22470 (*bsd*): Likewise.
22471 (sysv*): Likewise.
22472 (isc*): Likewise.
22473 (esix*): Likewise.
22474 (sco*): Likewise.
22475 (minix*): Likewise.
22476 (irix4*): Likewise.
22477 (irix6*): Likewise.
22478 (solaris[2-9]*): Likewise.
22479 (none): Likewise.
22480 * configure: Regenerated.
22481
0ac229c8
AZ
224822012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22483
22484 [BZ #11521]
22485 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22486 overflow or cancellation in calculating denominator.
22487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22489 down expression to avoid unexpected rounding in newer GCCs.
22490 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22491
33f244f4
DM
224922012-04-26 David S. Miller <davem@davemloft.net>
22493
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22495 long-double compat symbols.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22509
cfa1f3e8
DM
225102012-04-25 David S. Miller <davem@davemloft.net>
22511
22512 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22513 HWCAP_* values only after the memory barriers have been defined.
22514 (atomic_full_barrier): Define.
22515 (atomic_read_barrier): Define.
22516 (atomic_write_barrier): Define.
22517
6e236b92
SP
225182012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22519
22520 * shlib-versions: Add libgcc_s version information.
22521 * sysdeps/generic/libgcc_s.h: Remove.
22522 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22523 libgcc_s.h.
22524 * sysdeps/gnu/unwind-resume.c: Likewise.
22525 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22526
aab39a09
DM
225272012-04-25 David S. Miller <davem@davemloft.net>
22528
22529 * sysdeps/unix/sparc/brk.S: Delete.
22530 * sysdeps/unix/sparc/dl-brk.S: Delete.
22531 * sysdeps/unix/sparc/pipe.S: Delete.
22532 * sysdeps/unix/sparc/sysdep.S: Delete.
22533 * sysdeps/unix/sparc/sysdep.h: Delete.
22534 * sysdeps/unix/sparc/vfork.S: Delete.
22535 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22536 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22537 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22538 ret_ERRVAL, r0, r1, MOVE): Define.
22539 (JUMPTARGET): Remove.
22540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22541 sysdeps/unix/sparc/sysdep.h
22542 (ENTRY, END): Remove.
22543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22544
a3cc4f48
JM
225452012-04-25 Joseph Myers <joseph@codesourcery.com>
22546
2ed8cda2
JM
22547 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22548 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22549 -DIS_IN_build.
22550
35d76d59
JM
22551 * timezone/README: Update upstream location and email address for
22552 tzcode and tzdata.
22553 * timezone/zdump.c: Update from tzcode 2012b.
22554 * timezone/zic.c: Likewise.
22555
a3cc4f48
JM
22556 * configure.in (libc_cv_as_needed): Remove test.
22557 * configure: Regenerated.
22558 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22559 conditional definition.
22560 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22561 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22562 * config.make.in (have-as-needed): Remove variable.
22563
ceab42c3
SP
225642012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 Paul Pluzhnikov <ppluzhnikov@google.com>
22566
22567 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22568 strings correctly.
22569
3ce2865f
CLT
225702012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22571
22572 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22573 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22574 * sysdeps/sh/strlen.S: Likewise.
22575
f37e0d68
JM
225762012-04-24 Joseph Myers <joseph@codesourcery.com>
22577
ae186e9a
JM
22578 * sysdeps/unix/fork.S: Remove file.
22579 * sysdeps/unix/i386/fork.S: Likewise.
22580 * sysdeps/unix/sparc/fork.S: Likewise.
22581
b96914af
JM
22582 * sysdeps/unix/system.c: Remove file.
22583 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22584
f37e0d68
JM
22585 * sysdeps/unix/getegid.S: Remove file.
22586 * sysdeps/unix/geteuid.S: Likewise.
22587
87ef29ca
RM
225882012-04-24 Roland McGrath <roland@hack.frob.com>
22589
83bcd236
RM
22590 * scripts/check-localplt.awk: New file.
22591 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22592 of diff.
22593 * scripts/data/localplt-generic.data: Add a comment.
22594
87ef29ca
RM
22595 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22596 NODE when __dir_mkfile failed.
22597 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22598 Reported by Ludovic Courtès <ludo@gnu.org>.
22599
e5a6e567
AJ
226002012-04-24 Andreas Jaeger <aj@suse.de>
22601
22602 * Makerules (common-clean): Also remove gen-as-const-headers
22603 files.
22604
c1820385
JM
226052012-04-24 Joseph Myers <joseph@codesourcery.com>
22606
22607 * Makerules (native-compile): Do not change working directory for
22608 build. Use $(OUTPUT_OPTION) in command.
22609 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22610
94e02fc4
AZ
226112012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22612
22613 [BZ #13886]
22614 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22615 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22616 * math/libm-test.inc (floor_test): Add more tests.
22617 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22618
3a533ca3
JM
226192012-04-24 Joseph Myers <joseph@codesourcery.com>
22620
940ab4b3
JM
22621 * sysdeps/unix/getdents.c: Remove file.
22622 * sysdeps/unix/sysv/getdents.c: Likewise.
22623 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22624
90e037bd
JM
22625 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22626 sysdeps/unix/mman/syscalls.list.
22627 (mmap): Likewise.
22628 (mprotect): Likewise.
22629 (msync): Likewise.
22630 (munmap): Likewise.
22631 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22632 * sysdeps/unix/mman/syscalls.list: Remove.
22633 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22634
3a533ca3
JM
22635 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22636 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22637 * configure: Regenerated.
22638 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22639 $(libgcc_s_suffix).
22640 * config.make.in (libgcc_s_suffix): Remove variable.
22641
1ad743de
JM
226422012-04-23 Joseph Myers <joseph@codesourcery.com>
22643
4ad451e2
JM
22644 * sysdeps/unix/sysv/gethostname.c: Move to ...
22645 * sysdeps/posix/gethostname.c: ... here.
22646
5e37ce39
JM
22647 * sysdeps/unix/execve.S: Remove file.
22648
1ad743de
JM
22649 * sysdeps/unix/_exit.S: Remove file.
22650
4e681b5b
AJ
226512012-04-23 Andreas Jaeger <aj@suse.de>
22652
22653 [BZ #13739]
22654 * manual/Makefile: Remove make dist support, there's no
22655 need for a stand-alone documentation tar ball.
22656 (TEXI2DVI): Define always, it's not in Makeconfig.
22657 (dist): Removed.
22658 (tar-it): Removed.
22659 (edition): Removed.
22660 (glibc-doc-$(edition).tar): Removed
22661 (%.Z): Removed.
22662 (%.gz): Removed.
22663 (%.uu): Removed.
22664 (ETAGS): Remove, it's in Makeconfig.
22665 (move-if-change): Remove, it's in Makeconfig.
22666
38686a03 226672012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22668
22669 [BZ #13970]
22670 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22671 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22672 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22673 (strtod_l, strtof_l, strtold_l): Remove __wur.
22674 It is not necessarily an error to ignore strtol's return value.
22675 One can reliably look at the stored endptr to decide whether
22676 the number had valid syntax.
22677
7c0616fa
AJ
226782012-04-21 Andreas Jaeger <aj@suse.de>
22679
803cb6b7 22680 [BZ #13739]
7c0616fa
AJ
22681 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22682
b0fe253f
JM
226832012-04-21 Joseph Myers <joseph@codesourcery.com>
22684
22685 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22686 * sysdeps/unix/sysv/Versions: Remove file.
22687
8280f22d
MT
226882012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22689
22690 [BZ #13927]
22691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22692
75ce411f 226932012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22694
22695 [BZ #7064]
22696 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22697 version from __vm86.
22698
097d59fa
JM
226992012-04-20 Joseph Myers <joseph@codesourcery.com>
22700
a90f3bcb
JM
22701 * sysdeps/unix/common/lxstat.c: Remove file.
22702 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22703
edc7ea78
JM
22704 * sysdeps/unix/sysv/Makefile: Remove file.
22705
cb78c221
JM
22706 * sysdeps/unix/sysv/direct.h: Remove file.
22707
efa6a45f
JM
22708 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22709 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22710 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22711 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22712 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22713 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22714 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22715
9c9f2d0c
JM
22716 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22717
4541c83b
JM
22718 * sysdeps/unix/xmknod.c: Remove file.
22719 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22720
f5d153a0
JM
22721 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22722
aa746595
JM
22723 * sysdeps/unix/sysv/i386/time.S: Remove file.
22724
cce5905e
JM
22725 * sysdeps/unix/fxstat.c: Remove file.
22726 * sysdeps/unix/xstat.c: Likewise.
22727 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22728
37fa3841
JM
22729 * sysdeps/unix/sysv/sigaction.c: Remove file.
22730
ff1962a3
JM
22731 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22732 (sysdep_headers): Remove variable.
22733 [termio.h not in sysdep_headers] (generated): Likewise.
22734 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22735 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22736 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22737 * sysdeps/unix/sysv/tcflow.c: Likewise.
22738 * sysdeps/unix/sysv/tcflush.c: Likewise.
22739 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22740 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22741 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22742 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22743 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22744
e7740d31
JM
22745 * sysdeps/unix/siglist.c: Remove file.
22746
ee06f18b
JM
22747 * sysdeps/unix/getppid.S: Remove file.
22748
097d59fa
JM
22749 * sysdeps/unix/mkdir.c: Remove file.
22750 * sysdeps/unix/rmdir.c: Likewise.
22751
ff3d51ec
AS
227522012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22753
22754 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22755 ERR_MAX value.
22756 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22757 errlist-compat value.
22758
50f81fd7
DM
227592012-04-18 David S. Miller <davem@davemloft.net>
22760
22761 * sysdeps/generic/memcopy.h (reg_char): Delete.
22762 * debug/strcat_chk.c: Use char, not reg_char.
22763 * debug/strcpy_chk.c: Likewise.
22764 * debug/strncat_chk.c: Likewise.
22765 * debug/strncpy_chk.c: Likewise.
22766 * string/memchr.c: Likewise.
22767 * string/memrchr.c: Likewise.
22768 * string/rawmemchr.c: Likewise.
22769 * string/strcat.c: Likewise.
22770 * string/strchr.c: Likewise.
22771 * string/strchrnul.c: Likewise.
22772 * string/strcmp.c: Likewise.
22773 * string/strcpy.c: Likewise.
22774 * string/strncat.c: Likewise.
22775 * string/strncmp.c: Likewise.
22776 * string/strncpy.c: Likewise.
22777
8ff41c46
WS
227782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22779
22780 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22781 __builtin_memcopy is called when src and dest ranges are known to not
22782 overlap.
22783
6b652f46
WS
227842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22785
22786 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22787 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22788 fwd_align_merge macro call.
22789 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22790 bwd_align_merge macro call.
22791 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22792
b282631e
WS
227932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22794
22795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22796 bwd_align_merge macros.
22797 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22798 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22799 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22800
95aa737c
DM
228012012-04-18 David S. Miller <davem@davemloft.net>
22802
22803 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22804
7a99a614
AJ
228052012-04-18 Andreas Jaeger <aj@suse.de>
22806
22807 [BZ# 6794]
22808 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22809 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22810 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22811
22812 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22813 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22814 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22815
22816 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22817 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22818 Adjust for changed ldbl-128 files.
22819
22820 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22821 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22823
e5270c23
DM
228242012-04-17 David S. Miller <davem@davemloft.net>
22825
22826 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22827
fb5e92c9
AS
228282012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22829
22830 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22831 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22832 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22833 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22834 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22835 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22836
76da7265
AZ
228372012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22838
22839 [BZ #6794]
22840 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22841 * math/libm-test.inc: Add ilogb errno and exception tests.
22842 * math/w_ilogb.c: New file: ilogb wrapper.
22843 * math/w_ilogbf.c: New file: ilogbf wrapper.
22844 * math/w_ilogbl.c: New file: ilogbl wrapper.
22845 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22846 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22847 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22848 exception being thrown with 0.0 as argument.
22849 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22850 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22851 exception being thrown with 0.0 as argument.
22852 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22853 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22854 exception being thrown with 0.0 as argument.
22855 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22856 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22857 exception being thrown with 0.0 as argument.
22858 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22859 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22860 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22861 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22863 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22864 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22865 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22866 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22867
0396e69d
PB
228682012-04-17 Petr Baudis <pasky@ucw.cz>
22869
22870 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22871 with altivec.
22872
750b5926
MP
228732012-04-16 Marek Polacek <polacek@redhat.com>
22874
22875 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22876
751728a1
MP
228772012-04-16 Marek Polacek <polacek@redhat.com>
22878
22879 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22880 operands of fdivp instruction.
22881
34a27407
L
228822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22885 * elf/tst-auditmod3b.c: Likewise.
22886 * elf/tst-auditmod4b.c: Likewise.
22887 * elf/tst-auditmod5b.c: Likewise.
22888 * elf/tst-auditmod6b.c: Likewise.
22889 * elf/tst-auditmod6c.c: Likewise.
22890 * elf/tst-auditmod7b.c: Likewise.
22891 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22892 * sysdeps/x86_64/preconfigure.in: Likewise.
22893 * sysdeps/x86_64/preconfigure: Regenerated.
22894
7e73e17d
L
228952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22896
22897 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22898 __ILP32__.
22899
c7a6ab72
AB
229002012-04-13 Antoine Balestrat <merkil33@gmail.com>
22901
22902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22903 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22904
a9e8e0e0
CL
229052012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22906
22907 [BZ #13973]
22908 * locale/iso-639.def: Fix gl language name. Spotted by
22909 Yaron Shahrabani.
22910
ec98af7d
RM
229112012-04-12 Roland McGrath <roland@hack.frob.com>
22912
22913 [BZ #2074]
22914 * libio/libio.h (__io_write_fn): Update comment.
22915
247c3ede
PB
229162012-04-12 Petr Baudis <pasky@ucw.cz>
22917
22918 [BZ #2074]
22919 * stdio.texi (Hook Functions): The user provided writer function
22920 is not allowed to return -1.
22921
55939d6d
DM
229222012-04-11 David S. Miller <davem@davemloft.net>
22923
22924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22925
90020f5a
MF
229262012-04-11 Mike Frysinger <vapier@gentoo.org>
22927
22928 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22929 Add a leading slash to rtkaio.
22930
288f9098
JM
229312012-04-11 Jim Meyering <meyering@redhat.com>
22932
90020f5a
MF
22933 [BZ #11959]
22934 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22935 It is not necessarily an error to ignore fwrite's return
22936 value. One can reliably use ferror to test for errors after
22937 the fact.
288f9098 22938
4be2b570
L
229392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * bits/types.h (__snseconds_t): New type.
22942 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22943
22944 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22946 (__SNSECONDS_T_TYPE): Likewise.
22947 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22948 (__SNSECONDS_T_TYPE): Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22950 (__SNSECONDS_T_TYPE): Likewise.
22951
288f9098 229522012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22953
22954 [BZ #2636]
22955 * manual/time.texi (Processor Time): Return type of times is
22956 elapsed real time since an arbitrary point in the past.
22957 (CPU Time): Move CLK_TCK from here...
22958 (Processor Time): ...to here. Correct description.
22959 * manual/conf.texi (Constants for Sysconf): Correct description of
22960 _SC_CLK_TCK.
22961
d7dd4413
DM
229622012-04-10 David S. Miller <davem@davemloft.net>
22963
22964 [BZ #13967]
22965 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22966 where the is a gap between DT_REL(A) and DT_JMPREL.
22967
b46068fc
L
229682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22969
22970 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22971 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22972 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22973
73d65cc3
SP
229742012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22975
22976 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22977 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22978 (dl_main): Handle --inhibit-cache.
22979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22980 _dl_inhibit_cache.
22981 * elf/dl-load.c (_dl_map_object): Use it.
22982 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22983
bcc8d661
JM
229842012-04-09 Joseph Myers <joseph@codesourcery.com>
22985
8f9a2fae
JM
22986 [BZ #13872]
22987 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22988 (__ieee754_powl): Saturate large exponents rather than testing for
22989 overflow of y*log2(x).
22990 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22991 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22992 exceptions.
22993
bcc8d661
JM
22994 [BZ #11521]
22995 * math/s_ctan.c: Include <float.h>.
22996 (__ctan): Avoid internal overflow or cancellation in calculating
22997 denominator.
22998 * math/s_ctanf.c: Likewise.
22999 * math/s_ctanl.c: Likewise.
23000 * math/s_ctanh.c: Likewise.
23001 * math/s_ctanhf.c: Likewise.
23002 * math/s_ctanhl.c: Likewise.
23003 * math/libm-test.inc (ctan_test): Add more tests.
23004 (ctanh_test): Likewise.
23005 * sysdeps/i386/fpu/libm-test-ulps: Update.
23006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23007
823fbbb4
AJ
230082012-04-09 Andreas Jaeger <aj@suse.de>
23009
03879793
AJ
23010 [BZ #6894]
23011 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23012 is an optional BSD extension.
23013
823fbbb4
AJ
23014 [BZ #10254]
23015 * manual/stdio.texi (Opening Streams): Document additional fopen
23016 parameters.
23017
8de131cb
RM
230182012-04-09 Roland McGrath <roland@hack.frob.com>
23019
23020 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23021 %eax without telling the compiler.
23022
c0ed9d7d
CD
230232012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23024
23025 [BZ # 13963]
23026 * manual/install.texi: Use sourceware.org.
23027
c483f6b4
JM
230282012-04-09 Joseph Myers <joseph@codesourcery.com>
23029
d7dd9453
JM
23030 [BZ #13873]
23031 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23032 (__ieee754_pow): Generate overflow and underflow using huge*huge
23033 and tiny*tiny rather than just returning constant infinity or zero
23034 for large exponents.
23035 * math/libm-test.inc (pow_test): Require overflow exceptions for
23036 applicable cases of large exponents.
23037
c483f6b4
JM
23038 [BZ #706]
23039 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23040 (__ieee754_pow): Use iterative multiplication algorithm only for
23041 integer exponents with absolute value below 1024. Check for odd
23042 integer exponents when using algorithm for real exponents.
23043 * math/libm-test.inc (pow_test): Add more tests.
23044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23045
d2de7579
JM
230462012-04-08 Joseph Myers <joseph@codesourcery.com>
23047
23048 [BZ #13705]
23049 * math/libm-test.inc (exp_test): Do not allow overflow exception
23050 on underflow test.
23051
f77f1232
AJ
230522012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23053
23054 [BZ #13705]
23055 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23056 instead of __kernel_standard_f.
23057
3884932b
MF
230582012-04-08 Mike Frysinger <vapier@gentoo.org>
23059
23060 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23061 * sysdeps/x86_64/memset_chk.S: Likewise.
23062
54472e9c
AJ
230632012-04-08 Andreas Jaeger <aj@suse.de>
23064
6ab0fbfc
AJ
23065 [BZ #10153]
23066 * manual/startup.texi (Environment Access): Describe return value
23067 for putenv and setenv.
23068
61efba8c
AJ
23069 [BZ #6895]
23070 * manual/filesys.texi (Directory Entries): Add description for
23071 DT_LNK.
23072
95c3f29a
AJ
23073 [BZ #6890]
23074 * manual/filesys.texi (Directory Entries): Clarify that it's file
23075 system not operating system in the description of DT_UNKNOWN.
23076
54472e9c
AJ
23077 [BZ #6578]
23078 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23079
624254b1
SC
230802012-04-08 Stephen Compall <s11@member.fsf.org>
23081
23082 [BZ #6649]
23083 * manual/llio.texi (Opening and Closing Files): Add cross
23084 reference to explain mode argument.
23085
1e4920e0
MF
230862012-04-07 Mike Frysinger <vapier@gentoo.org>
23087
23088 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23089 * sysdeps/x86_64/memset_chk.S: Likewise.
23090
5ed848f3
DM
230912012-04-07 David S. Miller <davem@davemloft.net>
23092
23093 * elf/elf.h (R_SPARC_WDISP10): Define.
23094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23095 R_SPARC_SIZE32.
23096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23097 R_SPARC_SIZE64 and R_SPARC_H34.
23098
96154cd8
CD
230992012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23100
23101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23102 conditions and remove no longer applicable assertion.
23103
9904dc47
L
231042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23105
23106 * bits/byteswap.h: Include <features.h>.
23107 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23108 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23109
f8887d0a
L
231102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23111
23112 * bits/byteswap.h (__bswap_16): Removed.
23113 Include <bits/byteswap-16.h> to get __bswap_16.
23114 * sysdeps/i386/bits/byteswap.h: Likewise.
23115 * sysdeps/s390/bits/byteswap.h: Likewise.
23116 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23117 * bits/byteswap-16.h: New file.
23118 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23119 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23120 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23121 * string/Makefile (headers): Add bits/byteswap-16.h.
23122
62470f60
PP
231232012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23124
23125 [BZ #13895]
23126 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23127 extra indirection.
23128 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23129 * nss/tst-nss-static.c: New.
23130
4dad7bab
RM
231312012-04-06 Robert Millan <rmh@gnu.org>
23132
23133 [BZ #6486]
23134 * manual/llio.texi (File Position Primitive): lseek
23135 refers to WHENCE when it really means OFFSET.
23136
e9142a17
AJ
231372012-04-06 Andreas Jaeger <aj@suse.de>
23138
2c040eff
AJ
23139 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23140 strncmp declarations.
23141
e9142a17
AJ
23142 * abilist/libc.abilist: Add __poll and __ppoll.
23143
ff9f1c5f
DM
231442012-04-05 David S. Miller <davem@davemloft.net>
23145
dcd2ae90
DM
23146 * scripts/check-local-headers.sh: Accept a host triplet in the
23147 path matched by the exclude regexp.
23148
993eb054
DM
23149 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23150 definition.
23151 * sysdeps/powerpc/powerpc32/dl-machine.h
23152 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23153 * sysdeps/s390/s390-32/dl-machine.h
23154 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23155 * sysdeps/sparc/sparc32/dl-machine.h
23156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23157 * sysdeps/sparc/sparc64/dl-machine.h
23158 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23159
ff9f1c5f
DM
23160 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23161 lazy binding.
48e2e132 23162 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23163 undefined symbol errors.
23164
48e2e132 23165 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23166 DT_NEEDED entries.
23167
e80d6f94
MM
231682012-04-05 Michael Matz <matz@suse.de>
23169
23170 [BZ #13592]
23171 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23172
349fa79f
AJ
231732012-04-05 Andreas Jaeger <aj@suse.de>
23174
23175 [BZ #13908]
23176 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23177 comment.
23178
f402708f
KK
231792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23180
23181 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23182 which ROUND is no valid rounding mode.
23183
2ecccfc9
KK
231842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23185
23186 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23187 read again.
23188 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23189
8a53f50f
KK
231902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23191
23192 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23193 an exception using FPU order intentionally.
23194
231952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23196
23197 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23198 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23199 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23200 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23201
d653abb7
SJ
232022012-04-05 Simon Josefsson <simon@josefsson.org>
23203
23204 [BZ #12340]
23205 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23206 EINVAL when BUFLEN is too smal.
23207
c3b1bf7d
TS
232082012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23209
23210 [BZ #13553]
23211 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23212 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23213
b1aa60f3
AJ
232142012-04-03 Andreas Jaeger <aj@suse.de>
23215
c3b1bf7d 23216 [BZ #13938]
67f60a26
AJ
23217 * manual/setjmp.texi (System V contexts): Fix sentence.
23218
b1aa60f3
AJ
23219 [BZ #13926]
23220 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23221 New macro for this case.
23222 [!__GNUC__] (__bswap_64): New inline function for this case.
23223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23224 * bits/byteswap.h: Likewise.
23225 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23226 ull, guard with __GLIBC_HAVE_LONG_LONG.
23227
23228 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23229 __GLIBC_HAVE_LONG_LONG.
23230
23231 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23232 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23233
39c59c35
TMQMF
232342012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23235
23236 [BZ #13691]
23237 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23238 inptr and inend, rather than using last_ch.
23239
135ffda8
DM
232402012-04-02 David S. Miller <davem@davemloft.net>
23241
23242 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23243 * stdio-common/printf-parse.h (read_int): Change return type to
23244 'int', return -1 on INT_MAX overflow.
23245 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23246 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23247 overflows INT_MAX. Check for overflow of in-format-string precision
23248 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23249 SIZE_MAX not INT_MAX for integer overflow test.
23250 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23251 skip the construct in the format string but do not record anything.
23252 * stdio-common/bug22.c: Adjust to test both width/prevision
23253 INT_MAX overflow as well as total length INT_MAX overflow. Check
23254 explicitly for proper errno values.
23255
228c019e
TS
232562012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23257
302cadd3
TS
23258 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23259 CHAR_MAX.
23260 * string/test-strcmp.c [! WIDE]: Likewise.
23261 * time/tst-mktime2.c: Likewise for INT_MAX.
23262 * string/test-string.h: #include <sys/param.h> for MIN.
23263
228c019e
TS
23264 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23265 * sysdeps/i386/init-first.c (init): Likewise.
23266 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23267 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23268 * sysdeps/sh/init-first.c (init): Likewise.
23269
cfa633f5
UD
232702012-04-01 Ulrich Drepper <drepper@gmail.com>
23271
23272 * po/ru.po: Update from translation team.
d1635ef8 23273 * po/vi.po: Likewise.
cfa633f5 23274
6cd0a5ea
SP
232752012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23276
23277 * resolv/nss_dns/dns-host.c: Merge copyright years.
23278
4b43400f
LD
232792012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23280
23281 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23282 Optimize memcpy with prefetch if
23283 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23284 src, dst pointers have unequal 16 byte alignments.
23285
48c41d04
SP
232862012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23287
23288 [BZ #13928]
23289 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23290 from a CNAME entry and return the minimum ttl for the query.
23291 (gaih_getanswer_slice): Likewise.
23292
b8dc394d
JL
232932012-03-30 Jeff Law <law@redhat.com>
23294
23295 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23296 due to long keys.
23297 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23298 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23299
2f5a5ed0
JL
23300 * resolv/nss_dns/dns-host.c: Update copyright year.
23301
1d39e359
UD
233022012-03-30 Ulrich Drepper <drepper@gmail.com>
23303
c030f70c 23304 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23305 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23306
1d39e359
UD
23307 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23308 comments for sendmmsg.
23309
233102012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23311
23312 [BZ #13691]
23313 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23314 with only 1 character between 0x0041 and 0x01b0.
23315 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23316 * wcsmbs/tst-mbsnrtowcs.c: New file.
23317
20fde227
DM
233182012-03-29 David S. Miller <davem@davemloft.net>
23319
23320 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23321 small copies by hand.
23322
984a4237
JL
233232012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23324
23325 [BZ #13761]
23326 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23327 _nss_compat_initgroups_dyn): Fall back to malloc/free
23328 for large group memberships.
23329
18c9d62b
DM
233302012-03-28 David S. Miller <davem@davemloft.net>
23331
88d85d4f
DM
23332 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23333 that branches into memcpy.
23334 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23336 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23337 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23339 bits.
23340 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23341 implementation too.
23342 * sysdeps/sparc/mempcpy.S: New file.
23343
e5aa83e1
DM
23344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23345 the IFUNC routine in the libc case.
23346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23347
88570753
DM
23348 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23349 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23350 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23351 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23352 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23353 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23354 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23355 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23356
249d7567
DM
23357 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23358 loop to 256 bytes instead of 64 bytes and fix test signedness.
23359
18c9d62b
DM
23360 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23361 * sysdeps/sparc/sparc32/Makefile: rather than here...
23362 * sysdeps/sparc/sparc64/Makefile: and here.
23363
05f3d1f6
UD
233642012-03-28 Ulrich Drepper <drepper@gmail.com>
23365
23366 * malloc/mallocbug.c: Avoid warnings about unused variables.
23367
86ae07a8
JL
233682012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23369
23370 [BZ #13760]
23371 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23372 in the right place. Discard and retry query if response is
23373 larger than input buffer size.
23374
41bf21a1
JM
233752012-03-28 Joseph Myers <joseph@codesourcery.com>
23376
d6270972
JM
23377 [BZ #369]
23378 [BZ #2678]
23379 [BZ #3866]
23380 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23381 x for large integer exponent.
23382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23383 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23384 sign of result as needed afterwards.
23385 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23386 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23387 result for underflowing pow the same as for overflow.
23388 (__kernel_standard_l): Handle powl overflow and underflow here
23389 rather than calling __kernel_standard.
23390 * math/libm-test.inc (pow_test): Add more tests.
23391
414fca03 23392 [BZ #3868]
41bf21a1
JM
23393 [BZ #13879]
23394 [BZ #13910]
23395 [BZ #13911]
23396 [BZ #13912]
23397 [BZ #13913]
23398 [BZ #13915]
23399 [BZ #13916]
23400 [BZ #13917]
23401 [BZ #13918]
23402 [BZ #13919]
23403 [BZ #13920]
23404 [BZ #13921]
23405 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23406 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23407 (__kernel_standard_l): New function.
23408 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23409 __kernel_standard.
23410 * math/w_acosl.c (__acosl): Likewise.
23411 * math/w_asinl.c (__asinl): Likewise.
23412 * math/w_atan2l.c (__atan2l): Likewise.
23413 * math/w_atanhl.c (__atanhl): Likewise.
23414 * math/w_coshl.c (__coshl): Likewise.
23415 * math/w_exp10l.c (__exp10l): Likewise.
23416 * math/w_exp2l.c (__exp2l): Likewise.
23417 * math/w_fmodl.c (__fmodl): Likewise.
23418 * math/w_hypotl.c (__hypotl): Likewise.
23419 * math/w_j0l.c (__j0l, __y0l): Likewise.
23420 * math/w_j1l.c (__j1l, __y1l): Likewise.
23421 * math/w_jnl.c (__jnl, __ynl): Likewise.
23422 * math/w_lgammal.c (__lgammal): Likewise.
23423 * math/w_log10l.c (__log10l): Likewise.
23424 * math/w_log2l.c (__log2l): Likewise.
23425 * math/w_logl.c (__logl): Likewise.
23426 * math/w_powl.c (__powl): Likewise.
23427 * math/w_remainderl.c (__remainderl): Likewise.
23428 * math/w_scalbl.c (sysv_scalbl): Likewise.
23429 * math/w_sinhl.c (__sinhl): Likewise.
23430 * math/w_sqrtl.c (__sqrtl): Likewise.
23431 * math/w_tgammal.c (__tgammal): Likewise.
23432 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23433 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23434 * math/libm-test.inc (acos_test): Add more tests.
23435 (acosh_test): Likewise.
23436 (asin_test): Likewise.
23437 (atanh_test): Likewise.
23438 (exp_test): Likewise.
23439 (exp10_test): Likewise.
23440 (exp2_test): Likewise.
23441 (expm1_test): Likewise.
23442 (lgamma_test): Likewise.
23443 (log_test): Likewise.
23444 (log10_test): Likewise.
23445 (log1p_test): Likewise.
23446 (log2_test): Likewise.
23447 (pow_test): Do not allow some spurious overflow exceptions.
23448 (sqrt_test): Add more tests.
23449 (tgamma_test): Likewise.
23450 (y0_test): Likewise.
23451 (y1_test): Likewise.
23452 (yn_test): Likewise.
23453
dd62fda6
AB
234542012-03-27 Anton Blanchard <anton@samba.org>
23455
23456 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23457 MAP_HUGETLB.
23458 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23459 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23461
1e3cdfda
AJ
234622012-03-27 David S. Miller <davem@davemloft.net>
23463
b855ab85
DM
23464 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23465
1e3cdfda
AJ
23466 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23467 have-as-vis3 check.
23468
234692012-03-27 Andreas Jaeger <aj@suse.de>
23470
23471 * sysdeps/x86_64/elf/configure.in: Moved to ...
23472 * sysdeps/x86_64/configure.in: ... here.
23473 * sysdeps/x86_64/elf/start.S: Moved to ...
23474 * sysdeps/x86_64/start.S: ... here.
23475 * sysdeps/x86_64/elf/configure: Delete.
23476
23477 * sysdeps/x86_64/configure.in: Merge contents from
23478 sysdeps/i386/configure.in (without i686 check).
23479
23480 * sysdeps/i386/elf/Versions: Merge into ...
23481 * sysdeps/i386/Versions: ... this.
23482 * sysdeps/i386/elf/Versions: Delete file.
23483 * sysdeps/i386/elf/start.S: Moved to ...
23484 * sysdeps/i386/start.S: ...here.
23485 * sysdeps/i386/elf/configure.in: Merge into...
23486 * sysdeps/i386/configure.in: ...here.
23487 * sysdeps/i386/elf/configure.in: Delete file.
23488 * sysdeps/i386/elf/configure: Delete file.
23489
23490 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23491 * debug/backtracesyms.c: ... here.
23492 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23493 * debug/backtracesymsfd.c: ... here.
23494 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23495 * sysdeps/generic/ifunc-sel.h: ... here.
23496
23497 * sysdeps/unix/i386/start.c: Delete file.
23498 * sysdeps/unix/sparc/start.c: Delete file.
23499 * sysdeps/unix/start.c: Delete file.
23500
23501 * sysdeps/sh/elf/configure.in: Moved to ...
23502 * sysdeps/sh/configure.in: ... here.
23503 * sysdeps/sh/elf/start.S: Moved to ...
23504 * sysdeps/sh/start.S: ... here.
23505 * sysdeps/sh/elf/configure: Delete file.
23506
23507 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23508 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23509 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23510 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23511 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23512 * sysdeps/powerpc/powerpc64/start.S: here.
23513 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23514 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23515 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23516 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23517 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23518
23519 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23520 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23521 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23522 * sysdeps/powerpc/powerpc32/start.S: ... here.
23523 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23524 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23525 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23526
23527 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23528 * sysdeps/powerpc/ifunc-sel.h: ... here.
23529 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23530 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23531
23532 * sysdeps/sparc/elf/configure.in: Moved to ...
23533 * sysdeps/sparc/configure.in: ... here.
23534 * sysdeps/sparc/elf/configure: Delete file.
23535 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23536 * sysdeps/sparc/sparc32/start.S: ... here.
23537 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23538 * sysdeps/sparc/sparc64/start.S: ... here.
23539 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23540 * sysdeps/sparc/sparc32/Makefile: ... this.
23541 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23542 * sysdeps/sparc/sparc64/Makefile: ... this.
23543
23544 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23545 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23546 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23547 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23548 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23549 * sysdeps/s390/s390-32/setjmp.S: ... here.
23550 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23551 * sysdeps/s390/s390-32/configure.in: ... here.
23552 * sysdeps/s390/s390-32/elf/configure: Delete file.
23553 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23554 * sysdeps/s390/s390-32/start.S: ... here.
23555
23556 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23557 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23558 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23559 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23560 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23561 * sysdeps/s390/s390-64/setjmp.S: ... here.
23562 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23563 * sysdeps/s390/s390-64/configure.in: ... here
23564 * sysdeps/s390/s390-64/elf/configure: Delete file.
23565 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23566 * sysdeps/s390/s390-64/start.S: ... here.
23567 * sysdeps/s390/s390-64/elf/configure: Delete.
23568
23569 * configure.in: Remove support for elf directories in sysdeps.
23570
23571 * configure: Regenerated.
23572 * sysdeps/i386/configure: Regenerated.
23573 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23574 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23575 * sysdeps/s390/s390-32/configure: Regenerated.
23576 * sysdeps/s390/s390-64/configure: Regenerated.
23577 * sysdeps/sh/configure: Regenerated.
23578 * sysdeps/sparc/configure: Regenerated.
23579 * sysdeps/x86_64/configure: Regenerated.
23580
a3f61311
AS
235812012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23582
c876e002
AS
23583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23584
a3f61311
AS
23585 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23586 denormal result into account.
23587
ac4c54f0
RM
235882012-03-25 Roland McGrath <roland@hack.frob.com>
23589
23590 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23591 Reported by Allan McRae <allan@archlinux.org>.
23592
6a9b9c02
JL
235932012-03-23 Jeff Law <law@redhat.com>
23594
23595 * nss/getnssent.c (__nss_getent): Fix typo.
23596
4c42a0c1
DM
235972012-03-23 David S. Miller <davem@davemloft.net>
23598
23599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23600
1532c7ac
L
236012012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23602
23603 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23604 to pad to uint64_t for each field.
23605 (dl_tls_index): Replace unsigned long with uint64_t.
23606
3ff42526
PP
236072012-03-23 Daniel Jacobowitz <dmj@google.com>
23608 Paul Pluzhnikov <ppluzhnikov@google.com>
23609
23610 [BZ #6528]
23611 * grp/Makefile (otherlibs): Don't set it.
23612 * inet/Makefile (otherlibs): Likewise.
23613 * login/Makefile (otherlibs): Likewise.
23614 * nscd/Makefile (otherlibs): Likewise.
23615 * posix/Makefile (otherlibs): Likewise.
23616 * pwd/Makefile (otherlibs): Likewise.
23617 * rt/Makefile (otherlibs): Likewise.
23618 * sunrpc/Makefile (otherlibs): Likewise.
23619 * nss/Makefile (otherlibs): Likewise.
23620 Add libnss_files to routines and static-only-routines.
23621 ($(objpfx)getent): Remove rule.
23622 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23623 static-only-routines.
23624
7c69cd14
JM
236252012-03-22 Joseph Myers <joseph@codesourcery.com>
23626
23627 [BZ #13892]
23628 * math/s_cexp.c: Include <float.h>.
23629 (__cexp): Handle exp result overflowing not necessarily
23630 overflowing both real and imaginary parts of result.
23631 * math/s_cexpf.c: Likewise.
23632 * math/s_cexpl.c: Likewise.
23633 * math/libm-test.inc (cexp_test): Add more tests.
23634 * sysdeps/i386/fpu/libm-test-ulps: Update.
23635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23636
81b035fe
L
236372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 * include/link.h (ELFW): New macro.
23640 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23641 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23642
1da7940c
L
236432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23646 with uint64_t.
23647
b749dbb9
L
236482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23649
23650 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23651 declaration.
23652 (struct La_x32_retval): Likewise.
23653
2ff87f3f
L
236542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 * sysdeps/x86_64/preconfigure.in: New file.
23657 * sysdeps/x86_64/preconfigure: New generated file.
23658
c0df8e69
JM
236592012-03-22 Joseph Myers <joseph@codesourcery.com>
23660
48e44791
JM
23661 [BZ #13824]
23662 * math/e_exp2l.c: Include <float.h>.
23663 (__ieee754_exp2l): Handle overflow and underflow cases
23664 separately. Only pass fractional part of argument to
23665 __ieee754_expl.
23666 * math/libm-test.inc (exp2_test): Add more tests.
23667
c0df8e69
JM
23668 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23669 negating x to take absolute value.
23670 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23671 Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23674 Likewise.
23675 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23676 computing low part if x was negated.
23677 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23678
c8e43ba7
L
236792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23680
23681 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23682 la_x32_gnu_pltexit.
23683 (pltexit): Cast int_retval to ptrdiff_t.
23684 * elf/tst-auditmod3b.c: Likewise.
23685 * elf/tst-auditmod4b.c: Likewise.
23686 * elf/tst-auditmod5b.c: Likewise.
23687 * elf/tst-auditmod6b.c: Likewise.
23688 * elf/tst-auditmod6c.c: Likewise.
23689 * elf/tst-auditmod7b.c: Likewise.
23690
23691 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23692 and x32_gnu_pltexit.
23693
23694 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23695 __ELF_NATIVE_CLASS.
23696 (La_x32_regs): New macro.
23697 (La_x32_retval): Likewise.
23698 (la_x32_gnu_pltenter): New function prototype.
23699 (la_x32_gnu_pltexit): Likewise.
23700
7998fa78
AS
237012012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23702
dcb33988
AS
23703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23704 exponent.
23705
233fc563
AS
23706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23707
7998fa78
AS
23708 * configure.in (libc_cv_cc_nofma): Check for option to disable
23709 generation of FMA instructions.
23710 * configure: Regenerate.
23711 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23712 * sysdeps/ieee754/dbl-64/Makefile: New file.
23713 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23714 Remove brandred-fma4.
23715 (CFLAGS-brandred-fma4.c): Remove.
23716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23717 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23718 define.
23719 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23720 define.
23721
8e95c99a
L
237222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23723
23724 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23725 LLONG_MAX != LONG_MAX.
23726 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23727 (_fitoa_word): Likewise.
23728 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23729 LLONG_MAX != LONG_MAX.
23730 * stdio-common/_itowa.h: Include <_itoa.h>.
23731 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23732 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23733 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23734 only if not defined.
23735 (_ITOA_WORD_TYPE): Likewise.
23736 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23737 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23738
6f4db457
DM
237392012-03-21 David S. Miller <davem@davemloft.net>
23740
23741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23742
7785fe5a
L
237432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23744
23745 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23746 of x86_64 when setting libc_cv_slibdir, libdir and
23747 libc_cv_localedir.
23748 * sysdeps/unix/sysv/linux/configure: Regenerated.
23749
4535cd55
JM
237502012-03-21 Joseph Myers <joseph@codesourcery.com>
23751
23752 * manual/lang.texi (Old Varargs): Remove section.
23753 (How Variadic): Update menu.
23754 (va_start): Do not mention varargs.h.
23755
17228132
TS
237562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23757 Joseph Myers <joseph@codesourcery.com>
23758
23759 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23760 link test.
23761 * configure: Regenerated.
23762
8149f976
TS
237632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23764
05f3d1f6
UD
23765 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23766 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23767 conformtest.pl
8149f976 23768
1a4ac776
JM
237692012-03-21 Joseph Myers <joseph@codesourcery.com>
23770
be22ce65
JM
23771 * NOTES: Remove.
23772 * Makefile (files-for-dist): Remove NOTES.
23773 (NOTES): Remove rule.
23774 * README: Don't refer to NOTES.
23775 * manual/creature.texi: Don't include macros.texi.
23776 * manual/intro.texi (creature.texi): Remove comment referring to
23777 NOTES.
23778
40b601fb
JM
23779 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23780 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23781 * configure: Regenerated.
23782 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23783 LIBC_TRY_CC_OPTION.
23784 (libc_cv_as_i686): Likewise.
23785 (libc_cv_cc_avx): Likewise.
23786 (libc_cv_cc_sse2avx): Likewise.
23787 (libc_cv_cc_fma4): Likewise.
23788 (libc_cv_cc_novzeroupper): Likewise.
23789 * sysdeps/i386/configure: Regenerated.
23790
1a4ac776
JM
23791 [BZ #13883]
23792 * sysdeps/i386/fpu/s_cexp.S: Remove.
23793 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23794 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23795 * math/libm-test.inc (cexp_test): Add more tests.
23796 * sysdeps/i386/fpu/libm-test-ulps: Update.
23797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23798
a458e7fe
AM
237992012-03-21 Allan McRae <allan@archlinux.org>
23800
23801 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23802
0cb7efc5
JM
238032012-03-21 Joseph Myers <joseph@codesourcery.com>
23804
23805 [BZ #13871]
23806 * math/w_exp2.c: Do not include <float.h>.
23807 (o_threshold, u_threshold): Remove.
23808 (__exp2): Calculate result before checking finiteness and calling
23809 __kernel_standard.
23810 * math/w_exp2f.c: Likewise.
23811 * math/w_exp2l.c: Likewise.
23812 * math/libm-test.inc (exp2_test): Require overflow exception for
23813 1e6 input.
2460d3aa
JM
23814
23815 [BZ #3866]
23816 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23817 range of signed 64-bit integers before using fistpll. Remove
23818 checks for whether integers fit in mantissa bits.
23819 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23820 the range of signed 32-bit integers before using fistpl. Remove
23821 checks for whether integers fit in mantissa bits.
23822 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23823 (__ieee754_powl): Test for y outside the range of signed 64-bit
23824 integers before using fistpll. Reduce 64-bit values to 63-bit
23825 ones as needed.
23826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23827 divide-by-zero is raised for zero to large negative powers.
23828 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23829 (__ieee754_powl): Test for y outside the range of signed 64-bit
23830 integers before using fistpll. Reduce 64-bit values to 63-bit
23831 ones as needed.
23832 * math/libm-test.inc (pow_test): Add more tests.
23833
eb96ffb0
L
238342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23837 <stdio-common/_itoa.h>.
23838 * debug/segfault.c: Likewise.
23839 * elf/dl-cache.c: Likewise.
23840 * elf/dl-minimal.c: Likewise.
23841 * elf/dl-misc.c: Likewise.
23842 * elf/dl-sysdep.c: Likewise.
23843 * elf/dl-version.c: Likewise.
23844 * elf/rtld.c: Likewise.
23845 * hurd/hurdsock.c: Likewise.
23846 * hurd/lookup-retry.c: Likewise.
23847 * malloc/malloc.c: Likewise.
23848 * malloc/mtrace.c: Likewise.
23849 * nscd/nscd_getgr_r.c: Likewise.
23850 * nscd/nscd_getpw_r.c: Likewise.
23851 * nscd/nscd_getserv_r.c: Likewise.
23852 * posix/getopt_init.c: Likewise.
23853 * posix/wordexp.c: Likewise.
23854 * stdio-common/_itoa.c: Likewise.
23855 * stdio-common/printf_fphex.c: Likewise.
23856 * stdio-common/vfprintf.c: Likewise.
23857 * string/_strerror.c: Likewise.
23858 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23859 * sysdeps/i386/i686/hp-timing.h: Likewise.
23860 * sysdeps/mach/_strerror.c: Likewise.
23861 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23862 * sysdeps/mach/hurd/sethostid.c: Likewise.
23863 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23864 * sysdeps/mach/xpg-strerror.c: Likewise.
23865 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23867 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23868 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23869 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23870 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23871 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23872 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23873 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23874 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23875 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23876 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23877 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23878 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23879 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23880 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23882 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23883 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23884 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23885 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23886
23887 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23888
23889 * stdio-common/_itoa.h: Moved to ...
23890 * sysdeps/generic/_itoa.h: Here.
23891
23892 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23893
23894 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23895 instead of "_itoa.h" and "_itowa.h".
23896 * stdio-common/vfprintf.: Likewise.
23897
d1af992d
L
238982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23899
23900 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23901 <bits/wordsize.h>.
23902 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23903 (__signbit): Likwise.
23904 (llrintf): Likwise.
23905 (llrint): Likwise.
23906
114883e0
L
239072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23908
23909 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23910 __WORDSIZE != 64.
23911
c135cc1b
JM
239122012-03-20 Joseph Myers <joseph@codesourcery.com>
23913
23914 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23915 OVERFLOW_EXCEPTION_OK.
23916 * math/libm-test.inc ("Philosophy"): Update comment about
23917 exception testing.
23918 (OVERFLOW_EXCEPTION): Define.
23919 (OVERFLOW_EXCEPTION_OK): Likewise.
23920 (INVALID_EXCEPTION_OK): Renumber.
23921 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23922 (IGNORE_ZERO_INF_SIGN): Likewise.
23923 (test_exceptions): Handle FE_OVERFLOW.
23924 (exp10_test): Expect overflow exceptions.
23925 (exp2_test): Likewise.
23926 (expm1_test): Likewise.
23927 (nextafter_test): Likewise.
23928 (pow_test): Likewise.
23929 (scalbn_test): Likewise.
23930 (scalbln_test): Likewise.
23931
95443d88
L
239322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23933
23934 * sysdeps/x86_64/bits/atomic.h
23935 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23936 64bit integer.
23937 (atomic_exchange_acq): Likewise.
23938 (__arch_exchange_and_add_body): Likewise.
23939 (__arch_add_body): Likewise.
23940 (atomic_add_negative): Likewise.
23941 (atomic_add_zero): Likewise.
23942
490df6c4
L
239432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23944
c2722551 23945 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23946 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23947
5e52b189
L
239482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23951 Check __x86_64__ instead of __WORDSIZE.
23952
a9879d4c
L
239532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23954
23955 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23956
5df98260
DM
239572012-03-19 David S. Miller <davem@davemloft.net>
23958
e1497744
DM
23959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23960
5df98260
DM
23961 * sysdeps/sparc/fpu/fenv_private.h: New file.
23962 * sysdeps/sparc/fpu/math_private.h: Use it.
23963 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23964 Remove.
23965 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23966 (libc_feholdexcept_setroundl): Remove.
23967 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23968 Remove.
23969 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23970 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23971
b4c35121
L
239722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23973
23974 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23975 int64_t instead of long int.
23976 (INSERT_WORDS64): Likwise.
23977
56965fd7
L
239782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23979
23980 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23981 _Unwind_GetCFA return to _Unwind_Ptr first.
23982
83d1aec8
JM
239832012-03-19 Joseph Myers <joseph@codesourcery.com>
23984
1897ad44
JM
23985 [BZ #13629]
23986 * math/s_clog.c: Include <float.h>.
23987 (__clog): Scale large or subnormal inputs.
23988 * math/s_clogf.c: Likewise.
23989 * math/s_clogl.c: Likewise.
23990 * math/s_clog10.c: Include <float.h>.
23991 (M_LOG10_2): Define.
23992 (__clog10): Scale large or subnormal inputs.
23993 * math/s_clog10f.c: Likewise.
23994 * math/s_clog10l.c: Likewise.
23995 * math/libm-test.inc (clog_test): Add more tests.
23996 (clog10_test): Likewise.
23997 * sysdeps/i386/fpu/libm-test-ulps: Update.
23998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999
7726d6a9
JM
24000 [BZ #11451]
24001 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24002 x and y.
24003 * math/libm-test.inc (atan2_test): Add another test.
24004
83d1aec8
JM
24005 * Makerules (common-objdir-compile): Remove.
24006 * sysdeps/unix/Makefile (config-generated): Do not add
24007 $(unix-generated) to variable.
24008 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24009 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24010 Remove rule.
24011 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24012 Likewise.
24013 [generic bits/local_lim.h] (before-compile): Do not append to
24014 variable.
24015 [generic bits/local_lim.h] (common-generated): Likewise.
24016 [generic sys/param.h] (before-compile): Do not append to variable.
24017 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24018 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24019 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24020 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24021 include.
24022 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24023 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24024 [generic sys/param.h] ($(addprefix
24025 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24026 [generic sys/param.h] (common-generated): Do not append to
24027 variable.
24028 [generic sys/param.h] (sysdep_headers): Likewise.
24029 [generic bits/errno.h] (before-compile): Do not append to
24030 variable.
24031 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24032 rule.
24033 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24034 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24035 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24036 [generic bits/errno.h] (common-generated): Do not append to
24037 variable.
24038 [generic bits/ioctls.h] (before-compile): Do not append to
24039 variable.
24040 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24041 rule.
24042 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24043 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24044 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24045 rule.
24046 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24047 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24048 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24049 [generic bits/ioctls.h] (common-generated): Do not append to
24050 variable.
24051 [generic sys/syscall.h] (syscall.h): Remove variable.
24052 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24053 rule.
24054 [generic sys/syscall.h] (before-compile): Do not append to
24055 variable.
24056 [generic sys/syscall.h] (common-generated): Likewise.
24057 * sysdeps/unix/errnos-tmpl.c: Remove file.
24058 * sysdeps/unix/errnos.awk: Likewise.
24059 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24060 * sysdeps/unix/ioctls.awk: Likewise.
24061 * sysdeps/unix/mk-local_lim.c: Likewise.
24062 * sysdeps/unix/snarf-ioctls: Likewise.
24063
4851a949
RH
240642012-03-19 Richard Henderson <rth@twiddle.net>
24065
bd37f2ee
RH
24066 * sysdeps/i386/fpu/fenv_private.h: New file.
24067 * sysdeps/i386/fpu/math_private.h: Use it.
24068 (math_opt_barrier, math_force_eval): Remove.
24069 (libc_feholdexcept_setround_53bit): Remove.
24070 (libc_feupdateenv_53bit): Remove.
24071 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24072 (math_opt_barrier, math_force_eval): Remove.
24073 (libc_feholdexcept): Remove.
24074 (libc_feholdexcept_setround): Remove.
24075 (libc_fetestexcept, libc_fesetenv): Remove.
24076 (libc_feupdateenv_test): Remove.
24077 (libc_feupdateenv, libc_feholdsetround): Remove.
24078 (libc_feresetround): Remove.
24079
d0adc922
RH
24080 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24081 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24082
0fe0f1f8
RH
24083 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24084 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24085 (libc_feupdateenv_testl): New.
24086 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24087 (libc_feupdateenv_testf): New.
24088 (libc_feupdateenv): Use libc_feupdateenv_test.
24089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24091
eb92c487
RH
24092 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24093 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24094 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24095 (libc_feresetround_noex): New.
24096 (libc_feresetround_noexf): New.
24097 (libc_feresetround_noexl): New.
24098 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24099 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24100 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24102 SET_RESTORE_ROUND.
24103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24105 (__cos): Likewise.
24106 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24107 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24108 SET_RESTORE_ROUND_NOEX.
24109 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24110 SET_RESTORE_ROUND_NOEXF.
24111 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24112 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24113 (libc_feholdsetroundf): New.
24114 (libc_feresetround, libc_feresetroundf): New.
24115
7d2e8012
RH
24116 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24117 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24118 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24119
b4dabbb4
RH
24120 * sysdeps/generic/math_private.h: Include <fenv.h>.
24121 (default_libc_feholdexcept): New.
24122 (default_libc_feholdexcept_setround): New.
24123 (default_libc_fesetenv, default_libc_feupdateenv): New.
24124 (libc_feholdexcept): Only define if undefined.
24125 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24126 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24127 (libc_feholdexcept_setroundl): Likewise.
24128 (libc_feholdexcept_setround_53bit): Likewise.
24129 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24130 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24131 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24132 (libc_feupdateenv_53bit): Likewise.
24133 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24134 (libc_feholdexcept): Convert from macro to inline function.
24135 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24136 (libc_fesetenv, libc_feupdateenv): Likewise.
24137
4851a949
RH
24138 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24139 not previously defined.
24140 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24141 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24142 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24143 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24144 * sysdeps/ieee754/flt-32/math_private.h: New file.
24145 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24146 math_private.h below SET_FLOAT_WORD.
24147 (__isnan, __isinf_ns, __finite): Remove.
24148 (__isnanf, __isinf_nsf, __finitef): Remove.
24149
e79d442e
AS
241502012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24151
24152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24153
90b80344
DM
241542012-03-17 David S. Miller <davem@davemloft.net>
24155
24156 [BZ #6471]
24157 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24158 for 2.16.
24159
edc21804
DM
241602012-03-16 David S. Miller <davem@davemloft.net>
24161
77e927af
DM
24162 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24163 warnings.
24164
374976dd
DM
24165 [BZ #6471]
24166 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24167 properly.
24168 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24169 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24170 sysdep_routines when subdir is sysvipc.
24171 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24172 __getshmlba helper.
24173
edc21804
DM
24174 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24175
473c3ef3
L
241762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24179 [__LP64__].
24180
eb0f39b6
L
241812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24182
24183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24184 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24185 (__lround): Renamed to ...
24186 (__llround): This. Replace long int with long long int.
24187 Define lround functions as aliases of llround functions.
24188 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24189
6b6cd74b
L
241902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24191
24192 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24193 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24194 adresses to uintptr_t. Replace "long int" and "unsigned long
24195 int" with "greg_t" on va_arg.
24196
f1a77b01
L
241972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24200 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24201
24202 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24203 Move e_machine check before EI_CLASS check. Handle x32
24204 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24205 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24206 SKIP_EM_IA_64 and include
24207 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24208
24209 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24210 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24211 (add_system_dir): New macro.
24212
24213 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24214 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24215
11b90b9f
JM
242162012-03-16 Joseph Myers <joseph@codesourcery.com>
24217
c36e1d23
JM
24218 [BZ #2551]
24219 [BZ #2552]
24220 [BZ #2553]
24221 [BZ #2554]
24222 [BZ #2562]
24223 [BZ #2563]
24224 [BZ #2565]
24225 [BZ #2566]
24226 [BZ #2576]
24227 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24228 (y0): Likewise.
24229 * math/w_j0f.c (j0f): Likewise.
24230 (y0f): Likewise.
24231 * math/w_j0l.c (__j0l): Likewise.
24232 (__y0l): Likewise.
24233 * math/w_j1.c (j1): Likewise.
24234 (y1): Likewise.
24235 * math/w_j1f.c (j1f): Likewise.
24236 (y1f): Likewise.
24237 * math/w_j1l.c (__j1l): Likewise.
24238 (__y1l): Likewise.
24239 * math/w_jn.c (jn): Likewise.
24240 (yn): Likewise.
24241 * math/w_jnf.c (jnf): Likewise.
24242 (ynf): Likewise.
24243 * math/w_jnl.c (__jnl): Likewise.
24244 (__ynl): Likewise.
24245 * math/libm-test.inc (j0_test): Add more tests.
24246 (j1_test): Likewise.
24247 (jn_test): Likewise. Add trailing semicolon to existing test.
24248 (y0_test): Likewise.
24249 (y1_test): Likewise.
24250 * sysdeps/i386/fpu/libm-test-ulps: Update.
24251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252
11b90b9f
JM
24253 [BZ #13851]
24254 [BZ #13854]
24255 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24256 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24257 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24258 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24259 (__tanl): Set errno for infinite argument.
24260 * sysdeps/i386/fpu/mptan.c: Remove.
24261 * sysdeps/i386/fpu/s_tan.S: Likewise.
24262 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24263 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24264 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24265 * math/libm-test.inc (tan_test): Add more tests and enable more
24266 tests for double and long double.
24267 * sysdeps/i386/fpu/libm-test-ulps: Update.
24268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24269
6a1bd2a1
JK
242702012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24271
24272 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24273 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24274
10a803e0
RM
242752012-03-16 Roland McGrath <roland@hack.frob.com>
24276
24277 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24278 * configure.in: Use it for both main tree and add-ons.
24279 * configure: Regenerated.
24280
f196c7f7
L
242812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24282
24283 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24284
8848d99d
JM
242852012-03-16 Joseph Myers <joseph@codesourcery.com>
24286
96cbe7f4
JM
24287 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24288 in comment.
24289
8848d99d
JM
24290 [BZ #13851]
24291 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24292 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24296 infinite argument.
24297 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24299 != 0 for prec == 2.
24300 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24301 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24302 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24303 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24304 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24305 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24306 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24307 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24308 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24309 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24310 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24311 * math/libm-test.inc (cos_test): Add more tests and enable more
24312 tests for long double.
24313 (sin_test): Likewise.
24314 (sincos_test): Likewise.
24315 * sysdeps/i386/fpu/libm-test-ulps: Update.
24316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24317
dd7f4703
DM
243182012-03-16 David S. Miller <davem@davemloft.net>
24319
24320 * sysdeps/sparc/fpu/math_private.h: New file.
24321
006f1daa
DM
243222012-03-15 David S. Miller <davem@davemloft.net>
24323
c0c83bc8
DM
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24325 file.
e6a62e18 24326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24328 file.
e6a62e18
DM
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24335 sysdep routines.
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24337
88cb87d9
DM
24338 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24339 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24340
006f1daa 24341 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24343 sparc-ifunc.h
006f1daa 24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24346 Likewise.
24347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24348 Likewise.
006f1daa
DM
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24353 Likewise.
006f1daa
DM
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24359 Likewise.
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24361 Likewise.
006f1daa
DM
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24383 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24386
11e0098e
AS
243872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24388
24389 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24390 scaling.
24391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24392
e85b09d0
AJ
243932012-03-15 Andreas Jaeger <aj@suse.de>
24394
24395 [BZ #13852]
24396 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24397 ieee754/flt-32 implementation for sin, cos and sincos.
24398 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24399 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24400 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24401 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24402 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24403 ieee754/flt-32 implementation for tan.
24404
24405 * math/libm-test.inc (cos_test): Enable some large input tests for
24406 float as well
24407 (sin_test): Likewise.
24408 (sincos_test): Likewise.
24409 (tan_test): Add tests for large input.
24410
24411 * sysdeps/i386/fpu/libm-test-ulps: Update.
24412
81c64153
AJ
244132012-03-15 Andreas Jaeger <aj@suse.de>
24414
24415 [BZ #13658]
24416 * math/libm-test.inc (cos_test): Add more test cases.
24417 (sin_test): Likewise.
24418 (sincos_test): Likewise.
24419
7bbfa5c6
AJ
244202012-03-15 Andreas Jaeger <aj@suse.de>
24421
24422 [BZ #13837]
24423 * math/libm-test.inc (cos_test): Add a test case for large input
24424 value.
24425 (sin_test): Likewise.
24426 (sincos_test): Likewise.
24427
244282012-03-15 Andreas Jaeger <aj@suse.de>,
24429 Joseph Myers <joseph@codesourcery.com>
24430
24431 [BZ #13658]
0671f479 24432 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24433 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24434 * sysdeps/i386/fpu/branred.c: Likewise.
24435 * sysdeps/i386/fpu/dosincos.c: Likewise.
24436 * sysdeps/i386/fpu/mpa.c: Likewise.
24437 * sysdeps/i386/fpu/s_cos.S: Likewise.
24438 * sysdeps/i386/fpu/s_sin.S: Likewise.
24439 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24440 * sysdeps/i386/fpu/sincos32.c: Likewise.
24441
24442 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24443 Define.
24444 (libc_feupdateenv_53bit): Define.
24445 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24446 Define.
24447 (libc_feupdateenv_53bit): Define.
24448
24449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24450 53 bit (without extend i386 double precision).
24451
24452 * math/libm-test.inc (sincos_test): Add tests for large input.
24453 (sin): Likewise.
24454 (cos): Likewise.
24455
24456 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24457
9cad04ea
AS
244582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24459
24460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24461
f7062b9a
DM
244622012-03-15 David S. Miller <davem@davemloft.net>
24463
24464 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24465 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24466 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24467 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24480 file.
f7062b9a 24481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24483 file.
f7062b9a 24484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24486 file.
f7062b9a 24487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24489 file.
f7062b9a
DM
24490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24492 fmin/fmax sysdep routines.
24493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24494
7bd951ff
DM
244952012-03-14 David S. Miller <davem@davemloft.net>
24496
559398ab
DM
24497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24504 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24526 routines.
24527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24528 file.
559398ab 24529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24531 file.
559398ab 24532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24534 file.
559398ab 24535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24537 file.
559398ab 24538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24540 file.
559398ab 24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24543 file.
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24545 file.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24547 file.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24549 file.
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24551 New file.
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24553 file.
24554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24555 file.
559398ab 24556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24558 file.
559398ab 24559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24561 file.
559398ab 24562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24564 file.
559398ab 24565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24567 VIS3 routines.
559398ab
DM
24568
24569 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24570 New file.
24571
5a1c1e32
DM
24572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24573
eae47a36
DM
24574 * sysdeps/sparc/configure.in: New file.
24575 * sysdeps/sparc/configure: Generate.
24576 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24577 * configure: Regenerate.
24578 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24579 * config.make.in (have-as-vis3): New.
24580 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24581 available use -Av9d instead of -Av9a.
24582 * sysdeps/sparc/sparc64/Makefile: Likewise.
24583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24585 New file.
24586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24587 file.
24588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24589 New file.
24590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24591 file.
eae47a36
DM
24592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24597
c0c83bc8
DM
24598 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24599 fzeros/fnegs to load 0x80000000 into a float register instead of
24600 using the stack.
7bd951ff
DM
24601 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24602
bd951ccb
JM
246032012-03-14 Joseph Myers <joseph@codesourcery.com>
24604
24605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24606 bits/syscall.h.
24607 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24608 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24609 ($(inst_includedir)/bits/syscall.h): Remove rule.
24610 ($(objpfx)bits/syscall.d): Include instead of
24611 $(objpfx)syscall-list.d.
24612 (generated): Change syscall-list.h and syscall-list.d to
24613 bits/syscall.h and bits/syscall.d.
24614
bb4e6db2
RM
246152012-03-14 Roland McGrath <roland@hack.frob.com>
24616
24617 [BZ #13846]
24618 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24619
aa4a2ae1
JM
246202012-03-14 Joseph Myers <joseph@codesourcery.com>
24621
e456826d
JM
24622 [BZ #13841]
24623 * math/s_csqrt.c: Include <float.h>.
24624 (__csqrt): Scale large or subnormal inputs.
24625 * math/s_csqrtf.c: Likewise.
24626 * math/s_csqrtl.c: Likewise.
24627 * math/libm-test.inc (csqrt_test): Add more tests.
24628 * sysdeps/i386/fpu/libm-test-ulps: Update.
24629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24630
aa4a2ae1
JM
24631 [BZ #13840]
24632 * math/libm-test.inc (hypot_test): Add more tests.
24633
7c10fd35
DM
246342012-03-13 David S. Miller <davem@davemloft.net>
24635
24636 [BZ #13840]
24637 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24638 double-precision for the calculation instead of scaling.
24639
f453b98b
JM
246402012-03-13 Joseph Myers <joseph@codesourcery.com>
24641
24642 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24643 manipulate bits before adding and subtracting TWO52[sx].
24644 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24646 Likewise.
24647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24648
09a3453f
DM
246492012-03-13 David S. Miller <davem@davemloft.net>
24650
8e59da90
DM
24651 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24652 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24654 rtld-global-offsets.h
24655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24656
2a8ab7f2
DM
24657 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24658 large parameters.
24659
10f62770
DM
24660 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24661
5f0bdb18
DM
24662 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24663 'err' in the ifdef scope in which it is actually used.
24664
09a3453f
DM
24665 * nss/nss_db/db-init.c: Include string.h
24666
b4b2eb5e
DM
246672012-03-12 David S. Miller <davem@davemloft.net>
24668
98bb2f1c
DM
24669 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24670 masking out of the most significant byte of random value used.
24671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24672 Fix coding style in previous change.
24673
b4b2eb5e
DM
24674 * sysdeps/unix/sysv/linux/kernel-features.h
24675 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24676 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24677 expression.
24678 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24679 later.
24680
6e226b09
DM
246812012-03-11 David S. Miller <davem@davemloft.net>
24682
a1bcbd40
DM
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24684 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24685 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24686 for 'resultvar' otherwise things get truncated on 64-bit.
24687
cb9d6174
DM
24688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24689 Fix masking out of the most significant byte of random value used.
24690
6e226b09
DM
24691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24692
058c132d
AS
246932012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24694
24695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24696
2d2cd515
DM
246972012-03-09 David S. Miller <davem@davemloft.net>
24698
24699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24700 variables with appropriate CPP guards.
24701 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24702 frame pointer, not the stack pointer. Correct layout comments. Fix test
24703 on resulting framesize and the management of the outregs buffer for pltexit.
24704 Preserve floating point return values across _dl_call_pltexit call.
24705 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24706 framesize and the management of the outregs buffer for pltexit.
24707 Preserve floating point return values across _dl_call_pltexit
24708 call.
24709 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24710 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24711 (print_exit): Fix format string for return register value.
24712
9a07f9d0
JM
247132012-03-10 Joseph Myers <joseph@codesourcery.com>
24714
24715 * sunrpc/Makefile (others): Add rpcgen.
24716 ($(objpfx)rpcgen): Remove special build rule and dependency on
24717 libc.
24718 * sunrpc/rpcgen.c: New file.
24719
547b5e30
PE
247202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24721
c524201a
PE
24722 [BZ #13673]
24723 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24724 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24725 * sysdeps/i386/crti.S: Likewise.
24726 * sysdeps/i386/crtn.S: Likewise.
24727 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24728 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24731 * sysdeps/sh/crti.S: Likewise.
24732 * sysdeps/sh/crtn.S: Likewise.
24733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24734
7b6235f2
PE
24735 [BZ #13673]
24736 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24737 with URL.
24738 * locale/programs/locfile-kw.gperf: Likewise.
24739 * locale/programs/charmap-kw.h: Regenerated.
24740 * locale/programs/locfile-kw.h: Likewise.
24741
547b5e30
PE
24742 [BZ #13673]
24743 * intl/plural.y: Replace FSF snail mail address with URL.
24744 * intl/plural.c: Regenerated.
24745
5f0a5dae
RH
247462012-03-09 Richard Henderson <rth@twiddle.net>
24747
24748 * include/math_private.h: Remove file.
24749 * math/math_private.h: Move file ...
24750 * sysdeps/generic/math_private.h: ... here.
24751
b8c03620
RH
24752 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24753 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24754 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24755
4e234f5d 24756 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24757 and <math_private.h>.
24758 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24759 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24760 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24761 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24762 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24763 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24764 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24766 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24769 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24782 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24788 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24804 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24805 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24807 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24809 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24815 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24819 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24825 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24826 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24827 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24828 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24846 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24847 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24848 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24849 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24851 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24852 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24853 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24854 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24855 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24858 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24859 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24860 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24861 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24862 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24863 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24864 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24865 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24870 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24871 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24872 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24877 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24878 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24879 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24880 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24881 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24884 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24885 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24886 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24887 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24888 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24889 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24891 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24892 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24894 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24895 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24896 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24897 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24898 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24899 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24900 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24901 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24902 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24903 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24904 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24906 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24907 * sysdeps/ieee754/k_standard.c: Likewise.
24908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24915 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24916 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24920 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24921 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24922 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24923 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24927 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24931 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24932 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24933 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24934 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24938 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24939 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24940 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24941 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24943 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24945 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24946 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24947 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24948 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24949 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24950 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24951 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24952 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24953 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24954 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24957 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24958 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24961 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24964 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24965 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24966 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24968 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24972 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24973 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24975 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24987 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24988 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24989 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24990 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24991 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24996 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24998 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24999 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25000 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25001 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25004 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25026 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25027 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25031 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25033 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25034 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25035 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25036 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25038 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25040 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25044 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25045 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25047 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25049 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25050 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25051 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25055 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25056 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25057 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25060 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25062 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25063 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25064 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25065 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25066 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25068 * sysdeps/ieee754/s_lib_version.c: Likewise.
25069 * sysdeps/ieee754/s_matherr.c: Likewise.
25070 * sysdeps/ieee754/s_signgam.c: Likewise.
25071 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25072 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25073 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25074 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25076 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25077 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25078 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25079 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25080 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25081 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25082 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25083 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25085 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25086 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25088 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25091 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25092
1991fa03
JM
250932012-03-09 Joseph Myers <joseph@codesourcery.com>
25094
25095 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25096 * sunrpc/rpc_main.c: Likewise.
25097 * sunrpc/rpc_svcout.c: Likewise.
25098
60d6f5a6
DM
250992012-03-09 David S. Miller <davem@davemloft.net>
25100
25101 * include/math_private.h: New file.
25102
4962050e
JM
251032012-03-09 Joseph Myers <joseph@codesourcery.com>
25104
02a6f887
JM
25105 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25106 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25107 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25108 from <bits/socket_type.h>.
25109 (enum __socket_type): Don't define here.
25110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25112 bits/socket_type.h.
25113
c6e013c1
JM
25114 [BZ #13566]
25115 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25116 checking __USE_GNU.
25117
4962050e
JM
25118 * Makerules ($(inst_includedir)/%.h): New rule.
25119 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25120 (install-others): Remove variable setting.
25121 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25122
38842f45
RH
251232012-03-08 Richard Henderson <rth@twiddle.net>
25124
67bb6da6
RH
25125 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25126 from macro to inline function; merge with the
25127 !__LIBC_INTERNAL_MATH_INLINES version.
25128 (__ieee754_sqrtf): Likewise.
25129
15194b4b
RH
25130 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25131 to inline function.
25132 (__rintf, __floor, __floorf): Likewise.
25133
64e21ede
RH
25134 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25135 macro to inline function.
25136 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25137
38842f45
RH
25138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25139 not <math/math_private.h>.
25140
c64bf5fe
DM
251412012-03-08 David S. Miller <davem@davemloft.net>
25142
25143 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25144 copyright year.
25145 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25146
82d86f28
TS
251472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25148
25149 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25150 normalization.
25151 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25152 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25153
aea5d727
UD
251542012-03-08 Ulrich Drepper <drepper@gmail.com>
25155
25156 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25157 be defined individually, they must be defined as a block. Define
25158 S for printing a string instead of hidint the different by using a
25159 macro for adding the 'l'.
25160 * stdio-common/tst-fphex-wide.c: Adjust.
25161
70bca0a3
MP
251622012-03-07 Marek Polacek <polacek@redhat.com>
25163
25164 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25165
65b81130
MP
251662012-03-08 Marek Polacek <polacek@redhat.com>
25167
25168 [BZ #13806]
25169 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25170 * stdio-common/tst-fphex.c: Define a few macros to make the
25171 test reusable. Use them.
25172 * stdio-common/tst-fphex-wide.c: New file.
25173
07037eeb
JM
251742012-03-08 Joseph Myers <joseph@codesourcery.com>
25175
a7a93d50
JM
25176 [BZ #6911]
25177 * manual/macros.texi (gnusystems): New macro.
25178 (nongnusystems): Likewise.
25179 (gnulinuxhurdsystems): Likewise.
25180 (gnuhurdsystems): Likewise..
25181 (gnulinuxsystems): Likewise.
25182 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25183 variants of the GNU system, not "GNU system".
25184 * manual/conf.texi: Likewise.
25185 * manual/errno.texi: Likewise. Update example of errno macro
25186 expansion.
25187 * manual/filesys.texi: Likewise.
25188 (getumask): Document as specific to GNU/Hurd.
25189 * manual/install.texi: Likewise. Reword some references to
25190 GNU/Linux.
25191 * manual/intro.texi: Likewise.
25192 * manual/io.texi: Likewise.
25193 (File Name Portability): Detail which constraints are inapplicable
25194 to all GNU systems and which are only inapplicable to GNU/Hurd.
25195 * manual/job.texi: Likewise.
25196 * manual/llio.texi: Likewise.
25197 (O_NOCTTY): Document as present on GNU/Linux.
25198 * manual/maint.texi: Likewise.
25199 * manual/memory.texi: Likewise.
25200 * manual/pattern.texi: Likewise.
25201 * manual/pipe.texi: Likewise.
25202 * manual/process.texi: Likewise.
25203 * manual/resource.texi: Likewise.
25204 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25205 child on GNU/Hurd.
25206 * manual/setjmp.texi: Likewise.
25207 * manual/signal.texi: Likewise.
25208 * manual/startup.texi: Likewise.
25209 * manual/stdio.texi: Likewise.
25210 * manual/terminal.texi: Likewise.
25211 (ONLCR): Document as POSIX.
25212 (OXTABS): Document availability on GNU/Linux as XTABS.
25213 (ONOEOT): Document availability separately from other bits.
25214 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25215 * manual/time.texi: Likewise.
25216 * manual/users.texi: Likewise.
25217 * INSTALL: Regenerated.
25218 * sysdeps/gnu/errlist.c: Regenerated.
25219
07037eeb
JM
25220 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25221 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25222 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25223 puts.
25224 * configure: Regenerated.
25225
d1d3431a
JM
252262012-03-07 Joseph Myers <joseph@codesourcery.com>
25227
af6a1e37
JM
25228 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25229 default includes instead of AC_HEADER_CHECK.
25230 * sysdeps/i386/configure: Regenerated.
25231
d1d3431a
JM
25232 [BZ #10716]
25233 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25234 * math/s_cacoshf.c (__cacoshf): Likewise.
25235 * math/s_cacoshl.c (__cacoshl): Likewise.
25236 * math/s_casinh.c (__casinh): Set signs of result from argument.
25237 * math/s_casinhf.c (__casinhf): Likewise.
25238 * math/s_casinhl.c (__casinhl): Likewise.
25239 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25240 (casinh_test): Add more tests.
25241 * sysdeps/i386/fpu/libm-test-ulps: Update.
25242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25243
482ff4da
UD
252442012-03-07 Ulrich Drepper <drepper@gmail.com>
25245
872fda05
UD
25246 * po/zh_TW.po: Update from translation team.
25247
a4300c7a
UD
25248 * login/Makefile (distribute): Remove variable.
25249 * catgets/Makefile: Likewise.
25250 * mach/Makefile: Likewise.
25251 * malloc/Makefile: Likewise.
25252 * misc/Makefile: Likewise.
25253 * iconv/Makefile: Likewise.
25254 * nscd/Makefile: Likewise.
25255 * hurd/Makefile: Likewise.
25256 * manual/Makefile: Likewise.
25257 * locale/Makefile: Likewise.
25258 * intl/Makefile: Likewise.
25259 * conform/Makefile: Likewise.
25260 * nss/Makefile: Likewise.
25261 * time/Makefile: Likewise.
25262 * soft-fp/Makefile: Likewise.
25263 * dirent/Makefile: Likewise.
25264 * gmon/Makefile: Likewise.
25265 * po/Makefile: Likewise.
25266 * rt/Makefile: Likewise.
25267 * socket/Makefile: Likewise.
25268 * math/Makefile: Likewise.
25269 * signal/Makefile: Likewise.
25270 * debug/Makefile: Likewise.
25271 * elf/Makefile: Likewise.
25272 * timezone/Makefile: Likewise.
25273 * stdlib/Makefile: Likewise.
25274 * iconvdata/Makefile: Likewise.
25275 * sunrpc/Makefile: Likewise.
25276 * io/Makefile: Likewise.
25277 * argp/Makefile: Likewise.
25278 * inet/Makefile: Likewise.
25279 * hesiod/Makefile: Likewise.
25280 * grp/Makefile: Likewise.
25281 * csu/Makefile: Likewise.
25282 * wctype/Makefile: Likewise.
25283 * crypt/Makefile: Likewise.
25284 * libio/Makefile: Likewise.
25285 * string/Makefile: Likewise.
25286 * nis/Makefile: Likewise.
25287 * resolv/Makefile: Likewise.
25288 * stdio-common/Makefile: Likewise.
25289 * wcsmbs/Makefile: Likewise.
25290 * dlfcn/Makefile: Likewise.
25291 * posix/Makefile: Likewise.
25292
3b7c4e74 25293 [BZ #6959]
482ff4da
UD
25294 * timezone/Makefile: Don't install timezone files, just the programs
25295 and scripts.
25296
f72ed77d
UD
252972012-03-06 Ulrich Drepper <drepper@gmail.com>
25298
a000466f
UD
25299 * nss/databases.def: Add missing gshadow entry.
25300
f72ed77d
UD
25301 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25302
a53b7a4e
MP
253032012-03-06 Marek Polacek <polacek@redhat.com>
25304
25305 [BZ #13726]
25306 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25307 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25308 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25309 * stdio-common/tst-long-dbl-fphex.c: New file.
25310
e9258400
DM
253112012-03-06 David S. Miller <davem@davemloft.net>
25312
25313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25314 (set_obp_int): New function.
25315 (get_obp_int): New function.
25316 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25318 Avoid unused variable warnings on 'val' and use builtin_expect.
25319 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25320 __builtin_expect.
e9258400
DM
25321 (INLINE_CLONE_SYSCALL): Likewise.
25322
3bd2c723
DM
253232012-03-05 David S. Miller <davem@davemloft.net>
25324
25325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25326
bbb78d03
AS
253272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25328
884c5db4
AS
25329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25330
bbb78d03
AS
25331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25332 only for |x| >= 40.
25333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25334
1c9f702a 253352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25336
25337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25338 Replace gettimeofday with __vdso_gettimeofday.
25339
7be16f82
RM
25340 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25341 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25342 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25343
25344 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25345 time with __vdso_time.
25346
ed58a00f
JM
253472012-03-05 Joseph Myers <joseph@codesourcery.com>
25348
25349 * manual/lang.texi (size_t): Note types to which size_t may be
25350 equivalent with the GNU C Library, but do not describe when
25351 differences between them are significant.
25352
30ee4ced
AJ
253532012-03-05 Andreas Jaeger <aj@suse.de>
25354
25355 * sysdeps/i386/fpu/libm-test-ulps: Update.
25356
b7cd39e8
JM
253572012-03-05 Joseph Myers <joseph@codesourcery.com>
25358
25359 [BZ #3976]
25360 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25361 (__ieee754_pow): Save and restore rounding mode and use
25362 round-to-nearest for main computations.
25363 * math/libm-test.inc (pow_test_tonearest): New function.
25364 (pow_test_towardzero): Likewise.
25365 (pow_test_downward): Likewise.
25366 (pow_test_upward): Likewise.
25367 (main): Call the new functions.
25368 * sysdeps/i386/fpu/libm-test-ulps: Update.
25369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25370
25371 [BZ #3976]
25372 * math/libm-test.inc (cosh_test_tonearest): New function.
25373 (cosh_test_towardzero): Likewise.
25374 (cosh_test_downward): Likewise.
25375 (cosh_test_upward): Likewise.
25376 (sinh_test_tonearest): Likewise.
25377 (sinh_test_towardzero): Likewise.
25378 (sinh_test_downward): Likewise.
25379 (sinh_test_upward): Likewise.
25380 (main): Call the new functions.
25381 * sysdeps/i386/fpu/libm-test-ulps: Update.
25382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25383
6c6a98c9
TV
253842012-03-05 Tom de Vries <tom@codesourcery.com>
25385
25386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25387 default stack guard is set in last bytes.
25388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25389
21bb2d2e 253902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25391
21bb2d2e 25392 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25393
21bb2d2e
AJ
25394 [BZ #13656]
25395 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25396 possibly allocate from heap instead of stack.
25397 * stdio-common/bug-vfprintf-nargs.c: New file.
25398 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25399
c6922934
AS
254002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25401
25402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25403
bc957d53
MP
254042012-03-03 Marek Polacek <polacek@redhat.com>
25405
25406 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25407 * math/math_private.h: Likewise.
25408 * stdlib/tst-strtod.c: Likewise.
25409 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25410 * sysdeps/x86_64/bits/atomic.h: Likewise.
25411
6358490d
DM
254122012-03-02 David S. Miller <davem@davemloft.net>
25413
25414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25418 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25420 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25421 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25422
01ae168d
RM
254232012-03-02 Roland McGrath <roland@hack.frob.com>
25424
d9a17c07
RM
25425 [BZ #13792]
25426 * manual/examples/README: New file, says the example source files
25427 can be used under GPL>=2.
25428 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25429 line containing just "*/".
25430 * manual/examples/add.c: Add copyright header (GPL>=2).
25431 * manual/examples/argp-ex1.c: Likewise.
25432 * manual/examples/argp-ex2.c: Likewise.
25433 * manual/examples/argp-ex3.c: Likewise.
25434 * manual/examples/argp-ex4.c: Likewise.
25435 * manual/examples/atexit.c: Likewise.
25436 * manual/examples/db.c: Likewise.
25437 * manual/examples/dir.c: Likewise.
25438 * manual/examples/dir2.c: Likewise.
25439 * manual/examples/execinfo.c: Likewise.
25440 * manual/examples/filecli.c: Likewise.
25441 * manual/examples/filesrv.c: Likewise.
25442 * manual/examples/fmtmsgexpl.c: Likewise.
25443 * manual/examples/genpass.c: Likewise.
25444 * manual/examples/inetcli.c: Likewise.
25445 * manual/examples/inetsrv.c: Likewise.
25446 * manual/examples/isockad.c: Likewise.
25447 * manual/examples/longopt.c: Likewise.
25448 * manual/examples/memopen.c: Likewise.
25449 * manual/examples/memstrm.c: Likewise.
25450 * manual/examples/mkfsock.c: Likewise.
25451 * manual/examples/mkisock.c: Likewise.
25452 * manual/examples/mygetpass.c: Likewise.
25453 * manual/examples/pipe.c: Likewise.
25454 * manual/examples/popen.c: Likewise.
25455 * manual/examples/rprintf.c: Likewise.
25456 * manual/examples/search.c: Likewise.
25457 * manual/examples/select.c: Likewise.
25458 * manual/examples/setjmp.c: Likewise.
25459 * manual/examples/sigh1.c: Likewise.
25460 * manual/examples/sigusr.c: Likewise.
25461 * manual/examples/stpcpy.c: Likewise.
25462 * manual/examples/strdupa.c: Likewise.
25463 * manual/examples/strftim.c: Likewise.
25464 * manual/examples/strncat.c: Likewise.
25465 * manual/examples/subopt.c: Likewise.
25466 * manual/examples/swapcontext.c: Likewise.
25467 * manual/examples/termios.c: Likewise.
25468 * manual/examples/testopt.c: Likewise.
25469 * manual/examples/testpass.c: Likewise.
25470 * manual/examples/timeval_subtract.c: Likewise.
25471
01ae168d
RM
25472 [BZ #13792]
25473 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25474 function to ...
25475 * manual/timeval_subtract.c.texi: ... here, new file.
25476
49efa33d
DM
254772012-03-02 David S. Miller <davem@davemloft.net>
25478
25479 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25480
28afd92d
JM
254812012-03-02 Joseph Myers <joseph@codesourcery.com>
25482
804360ed
JM
25483 [BZ #3976]
25484 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25485 (__sin): Save and restore rounding mode and use round-to-nearest
25486 for all computations.
25487 (__cos): Save and restore rounding mode and use round-to-nearest
25488 for all computations.
25489 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25490 <fenv.h>.
25491 (tan): Save and restore rounding mode and use round-to-nearest for
25492 all computations.
25493 * math/libm-test.inc (cos_test_tonearest): New function.
25494 (cos_test_towardzero): Likewise.
25495 (cos_test_downward): Likewise.
25496 (cos_test_upward): Likewise.
25497 (sin_test_tonearest): Likewise.
25498 (sin_test_towardzero): Likewise.
25499 (sin_test_downward): Likewise.
25500 (sin_test_upward): Likewise.
25501 (tan_test_tonearest): Likewise.
25502 (tan_test_towardzero): Likewise.
25503 (tan_test_downward): Likewise.
25504 (tan_test_upward): Likewise.
25505 (main): Call the new functions.
25506 * sysdeps/i386/fpu/libm-test-ulps: Update.
25507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25508
a6d06d7b
JM
25509 [BZ #10135]
25510 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25511 small n, then large n, before computing and testing k+n.
25512 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25514 Likewise.
25515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25516 Likewise.
25517 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25518 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25525 * math/libm-test.inc (scalbn_test): Add more tests.
25526 (scalbln_test): Likewise.
25527
07e12bb3
JM
25528 * manual/filesys.texi (mode_t): Describe constraints on size and
25529 signedness, not exact equivalence to a particular type.
25530 (ino_t): Likewise.
25531 (ino64_t): Likewise.
25532 (dev_t): Likewise.
25533 (nlink_t): Likewise.
25534 (blkcnt_t): Likewise.
25535 (blkcnt64_t): Likewise.
25536 * manual/llio.texi (off_t): Likewise.
25537
28afd92d
JM
25538 [BZ #3976]
25539 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25540 (__ieee754_exp): Save and restore rounding mode and use
25541 round-to-nearest for all computations.
25542 * math/libm-test.inc (exp_test_tonearest): New function.
25543 (exp_test_towardzero): Likewise.
25544 (exp_test_downward): Likewise.
25545 (exp_test_upward): Likewise.
25546 (main): Call the new functions.
25547 * sysdeps/i386/fpu/libm-test-ulps: Update.
25548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25549
b1eeb65d
CD
255502012-03-01 Chris Demetriou <cgd@google.com>
25551
25552 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25553 have predictable order.
25554
53362a4b
DM
255552012-03-01 David S. Miller <davem@davemloft.net>
25556
3c969083
DM
25557 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25558
759707de
DM
25559 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25560 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25561 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25562 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25563
dfdb8ff2
DM
25564 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25565 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25566 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25568 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25569 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25570 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25571 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25572 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25573
ead89f96
DM
25574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25575
7f66bd07
DM
25576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25577 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25579
53362a4b
DM
25580 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25581 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25582 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25583 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25584 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25588 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25593 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25594 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25596 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25597 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25598 * sysdeps/sparc/elf/configure: Regenerated.
25599
7b1902cb
JM
256002012-03-01 Joseph Myers <joseph@codesourcery.com>
25601
bec039bc
JM
25602 * configure.in (AS, LD): Require binutils 2.20 or later.
25603 * configure: Regenerated.
25604 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25605 as required minimum version.
25606 * INSTALL: Regenerated.
25607
7b1902cb
JM
25608 [BZ #2541]
25609 [BZ #4108]
25610 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25611 before squaring exponent.
25612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25613 bottom long double and 27 bits of top long double before squaring
25614 exponent.
25615 * math/libm-test.inc (erfc_test): Add more tests.
25616 * sysdeps/i386/fpu/libm-test-ulps: Update.
25617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619
f775c276
KT
256202012-03-01 Kai Tietz <ktietz@redhat.com>
25621
25622 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25623 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25624 containing bit-fields.
25625 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25626 * soft-fp/single.h (_FP_UNION_S): Likewise.
25627 * soft-fp/double.h (_FP_UNION_D): Likewise.
25628
5b8a4d4a
JM
256292012-02-29 Joseph Myers <joseph@codesourcery.com>
25630
0bab47b6
JM
25631 [BZ #13786]
25632 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25633 not include ../strcmp.S.
25634 [USE_AS_STRNCASECMP_L]: Likewise.
25635 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25636 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25637 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25638 (__strncasecmp_l_ia32): Define as alias to
25639 __strncasecmp_l_nonascii.
25640
0fcad3e2
JM
25641 [BZ #5794]
25642 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25643 * sysdeps/i386/fpu/libm-test-ulps: Update.
25644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25645
5b8a4d4a
JM
25646 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25648
8fdceb2e
JL
256492012-02-29 Jeff Law <law@redhat.com>
25650
25651 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25652 out of bounds read.
25653
1f393a11
MP
256542012-02-29 Marek Polacek <polacek@redhat.com>
25655
25656 [BZ #13706]
25657 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25658 * elf/Makefile: Add rules to run tst-unused-dep.out.
25659
8847f037
DM
256602012-02-28 David S. Miller <davem@davemloft.net>
25661
25662 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25663 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25666 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25667 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25668
169d7f11
JM
256692012-02-29 Joseph Myers <joseph@codesourcery.com>
25670
25671 * math/libm-test.inc (llround_test): Move one test from
25672 lround_test. Use TEST_f_L in moved test.
25673 (lround_test): Move misplaced test to llround_test. Add testcase
25674 from bug 2561.
25675
39adf059
UD
256762012-02-28 Ulrich Drepper <drepper@gmail.com>
25677
25678 * sysdeps/x86_64/fpu/e_expf.S: New file.
25679 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25680
71b5d1c5
SB
256812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25682
25683 [BZ #13637]
25684 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25685 of remain_len that may cause incomplete multi-byte character and
25686 false match.
25687 * posix/bug-regex33.c: New file.
25688 * posix/Makefile (tests): Add bug-regex33.
25689
1f77f049
JM
256902012-02-28 Joseph Myers <joseph@codesourcery.com>
25691
25692 * manual/macros.texi: New file.
25693 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25694 * manual/libc.texinfo: Include macros.texi.
25695 * manual/creatute.texi: Likewise.
25696 * manual/install.texi: Likewise.
25697 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25698 @glibcadj{} in references to the GNU C Library.
25699 * manual/charset.texi: Likewise.
25700 * manual/conf.texi: Likewise.
25701 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25702 when not using those macros.
25703 * manual/creature.texi: Likewise.
25704 * manual/crypt.texi: Likewise.
25705 * manual/errno.texi: Likewise.
25706 * manual/filesys.texi: Likewise.
25707 * manual/header.texi: Likewise.
25708 * manual/install.texi: Likewise.
25709 * manual/intro.texi: Likewise.
25710 * manual/io.texi: Likewise.
25711 * manual/job.texi: Likewise.
25712 * manual/lang.texi: Likewise.
25713 * manual/libc.texiinfo: Likewise.
25714 * manual/llio.texi: Likewise.
25715 * manual/locale.texi: Likewise.
25716 * manual/maint.texi: Likewise.
25717 * manual/math.texi: Likewise.
25718 * manual/memory.texi: Likewise.
25719 * manual/message.texi: Likewise.
25720 * manual/nss.texi: Likewise.
25721 * manual/pattern.texi: Likewise.
25722 * manual/process.texi: Likewise.
25723 * manual/resource.texi: Likewise.
25724 * manual/search.texi: Likewise.
25725 * manual/setjmp.texi: Likewise.
25726 * manual/signal.texi: Likewise.
25727 * manual/socket.texi: Likewise.
25728 * manual/startup.texi: Likewise.
25729 * manual/stdio.texi: Likewise.
25730 * manual/string.texi: Likewise.
25731 * manual/sysinfo.texi: Likewise.
25732 * manual/syslog.texi: Likewise.
25733 * manual/terminal.texi: Likewise.
25734 * manual/time.texi: Likewise.
25735 * manual/users.texi: Likewise.
25736 * INSTALL: Regenerated.
25737 * NOTES: Regenerated.
d40c5d54 25738 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25739
450bf206
AS
257402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25741
25742 * include/dirent.h: Include <dirstream.h> before
25743 <dirent/dirent.h>.
25744
741a235b
DM
257452012-02-28 David S. Miller <davem@davemloft.net>
25746
25747 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25748 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25749 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25750 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25751
d6b5aa58
DM
257522012-02-27 David S. Miller <davem@davemloft.net>
25753
1aff59a3
DM
25754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25756 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25757 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25758
d6b5aa58
DM
25759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25760 frame pointer instead of stack pointer relative arg slot.
25761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25762 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25763 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25764
433f48bf
CD
257652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25766
25767 [BZ #3992]
25768 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25769
d674b76d
DM
257702012-02-27 David S. Miller <davem@davemloft.net>
25771
25772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25776 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25777 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25778 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25779 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25780
0e7727f7
JM
257812012-02-27 Joseph Myers <joseph@codesourcery.com>
25782
25783 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25784 later. Allow versions 5-9.
43be4ca2 25785 * configure: Regenerated.
0e7727f7
JM
25786 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25787 required minimum version and 4.6 as recommended version. Do not
25788 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25789 * INSTALL: Regenerated.
0e7727f7 25790
a78bc654
DM
257912012-02-27 David S. Miller <davem@davemloft.net>
25792
428d5830
DM
25793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25801
a78bc654
DM
25802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25803 manipulate bits before adding and subtracting TWO112[sx].
25804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25805
4579f81c
RM
258062012-02-27 Roland McGrath <roland@hack.frob.com>
25807
36c8acb4
RM
25808 [BZ #13775]
25809 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25810 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25811 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25812 being in POSIX, because they are in 1003.1-2008.
25813
84ad622b
RM
25814 * rt/tst-aio.c: Include <fcntl.h>.
25815 * rt/tst-aio7.c: Likewise.
25816 * rt/tst-aio64.c: Likewise.
25817
4579f81c
RM
25818 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25819
abd923db
JM
258202012-02-27 Joseph Myers <joseph@codesourcery.com>
25821
25822 * manual/install.texi (--with-headers): Describe headers as
25823 interface headers, not private headers.
25824 (Specific advice for GNU/Linux systems): Describe use of headers
25825 from "make headers_install", not private headers from older
25826 kernels.
43be4ca2 25827 * INSTALL: Regenerated.
abd923db
JM
25828 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25829 Change to 2.6.19.
25830 * sysdeps/unix/sysv/linux/configure: Regenerated.
25831
6664049b
JM
25832 * manual/llio.texi (fclean): Remove documentation.
25833
bb8b6697
JM
25834 * manual/Makefile (libc-texi-generated): New variable. Include
25835 version.texi.
25836 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25837 $(libc-texi-generated), not duplicated list of files.
25838 (version.texi, stamp-version): New rules.
25839 (realclean): Remove $(libc-texi-generated), not individual files
25840 from that list. Do not remove dir-add.texinfo.
25841 * manual/libc.texinfo: Comment out uses of edition numbers and
25842 references to printed manual. Remove last-updated dates.
25843 (EDITION): Comment out.
25844 (ISBN): Likewise.
25845 (VERSION, UPDATED): Remove.
25846 (version.texi): Include.
25847
12e5c3b9
AS
258482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25849
25850 * sysdeps/posix/spawni.c: Include <signal.h>.
25851 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25852 * sysdeps/pthread/aio_fsync.c: Likewise.
25853
4efeffc1 258542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25855
ba63ba08
UD
25856 * conform/Makefile (tests): Run only when not cross-compiling and
25857 when fast-check is not defined.
25858
d94a4670
UD
25859 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25860 * conform/data/limits.h-data: Fixes for POSIX2008.
25861 * conform/run-conformtest.sh: Run all tests.
25862 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25863 headers.
25864 * include/bits/dlfcn.h: Likewise.
25865 * include/langinfo.h: Likewise.
25866 * include/monetary.h: Likewise.
25867 * include/sys/poll.h: Likewise.
25868
25869 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25870 for __USE_GNU.
25871 * posix/spawn.h: Define __need_sigset_t.
25872 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25873 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25874 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25875 to get sigevent_t only.
25876 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25877 only for __USE_GNU.
25878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25879 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25880 process_vm_writev only for __USE_GNU.
25881 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25882
25883 * conform/Makefile: For now ignore errors from run-conformtest.
25884 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25885 POSIX to avoid namespace pollution. Don't prepend headers.
25886 * conform/data/aio.h-data: Fixes for POSIX testing.
25887 * conform/data/fcntl.h-data: Likewise.
25888 * conform/data/glob.h-data: Likewise.
25889 * conform/data/grp.h-data: Likewise.
25890 * conform/data/pthread.h-data: Likewise.
25891 * conform/data/pwd.h-data: Likewise.
25892 * conform/data/signal.h-data: Likewise.
25893 * conform/data/spawn.h-data: Likewise.
25894 * conform/data/stdio.h-data: Likewise.
25895 * conform/data/stdlib.h-data: Likewise.
25896 * conform/data/stropts.h-data: Likewise.
25897 * conform/data/sys/mman.h-data: Likewise.
25898 * conform/data/sys/stat.h-data: Likewise.
25899 * conform/data/sys/types.h-data: Likewise.
25900 * conform/data/sys/wait.h-data: Likewise.
25901 * conform/data/time.h-data: Likewise.
25902 * conform/data/unistd.h-data: Likewise.
25903 * conform/data/utime.h-data: Likewise.
25904
25905 * io/sys/stat.h: fchmod was always in POSIX.
25906 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25907 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25908 * rt/aio.h: Define __need_timespec before including <time.h>.
25909 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25910 struct. Add forward declaration of pthread_attr_t and use it in
25911 sigevent.
25912 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25913 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25914 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25915 always remove CLK_TCK definition.
25916
c20105c3
AS
259172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25918
25919 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25920
7a270350
UD
259212012-02-25 Ulrich Drepper <drepper@gmail.com>
25922
31341567
UD
25923 * conform/run-conformtest.sh: New file.
25924 * conform/Makefile: Run run-conformtest for tests.
25925 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25926 support.
25927
25928 * conform/data/uchar.h-data: New file.
25929 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25930 * conform/data/arpa/inet.h-data: Likewise.
25931 * conform/data/assert.h-data: Likewise.
25932 * conform/data/complex.h-data: Likewise.
25933 * conform/data/cpio.h-data: Likewise.
25934 * conform/data/ctype.h-data: Likewise.
25935 * conform/data/dirent.h-data: Likewise.
25936 * conform/data/dlfcn.h-data: Likewise.
25937 * conform/data/errno.h-data: Likewise.
25938 * conform/data/fcntl.h-data: Likewise.
25939 * conform/data/float.h-data: Likewise.
25940 * conform/data/fmtmsg.h-data: Likewise.
25941 * conform/data/fnmatch.h-data: Likewise.
25942 * conform/data/ftw.h-data: Likewise.
25943 * conform/data/glob.h-data: Likewise.
25944 * conform/data/grp.h-data: Likewise.
25945 * conform/data/iconv.h-data: Likewise.
25946 * conform/data/inttypes.h-data: Likewise.
25947 * conform/data/langinfo.h-data: Likewise.
25948 * conform/data/libgen.h-data: Likewise.
25949 * conform/data/limits.h-data: Likewise.
25950 * conform/data/locale.h-data: Likewise.
25951 * conform/data/math.h-data: Likewise.
25952 * conform/data/monetary.h-data: Likewise.
25953 * conform/data/mqueue.h-data: Likewise.
25954 * conform/data/ndbm.h-data: Likewise.
25955 * conform/data/net/if.h-data: Likewise.
25956 * conform/data/netdb.h-data: Likewise.
25957 * conform/data/netinet/in.h-data: Likewise.
25958 * conform/data/nl_types.h-data: Likewise.
25959 * conform/data/poll.h-data: Likewise.
25960 * conform/data/pthread.h-data: Likewise.
25961 * conform/data/pwd.h-data: Likewise.
25962 * conform/data/regex.h-data: Likewise.
25963 * conform/data/sched.h-data: Likewise.
25964 * conform/data/search.h-data: Likewise.
25965 * conform/data/semaphore.h-data: Likewise.
25966 * conform/data/setjmp.h-data: Likewise.
25967 * conform/data/signal.h-data: Likewise.
25968 * conform/data/spawn.h-data: Likewise.
25969 * conform/data/stdarg.h-data: Likewise.
25970 * conform/data/stdio.h-data: Likewise.
25971 * conform/data/stdlib.h-data: Likewise.
25972 * conform/data/string.h-data: Likewise.
25973 * conform/data/strings.h-data: Likewise.
25974 * conform/data/stropts.h-data: Likewise.
25975 * conform/data/sys/ipc.h-data: Likewise.
25976 * conform/data/sys/mman.h-data: Likewise.
25977 * conform/data/sys/msg.h-data: Likewise.
25978 * conform/data/sys/resource.h-data: Likewise.
25979 * conform/data/sys/select.h-data: Likewise.
25980 * conform/data/sys/sem.h-data: Likewise.
25981 * conform/data/sys/shm.h-data: Likewise.
25982 * conform/data/sys/socket.h-data: Likewise.
25983 * conform/data/sys/stat.h-data: Likewise.
25984 * conform/data/sys/statvfs.h-data: Likewise.
25985 * conform/data/sys/time.h-data: Likewise.
25986 * conform/data/sys/timeb.h-data: Likewise.
25987 * conform/data/sys/times.h-data: Likewise.
25988 * conform/data/sys/types.h-data: Likewise.
25989 * conform/data/sys/uio.h-data: Likewise.
25990 * conform/data/sys/un.h-data: Likewise.
25991 * conform/data/sys/utsname.h-data: Likewise.
25992 * conform/data/sys/wait.h-data: Likewise.
25993 * conform/data/syslog.h-data: Likewise.
25994 * conform/data/tar.h-data: Likewise.
25995 * conform/data/termios.h-data: Likewise.
25996 * conform/data/utime.h-data: Likewise.
25997 * conform/data/utmpx.h-data: Likewise.
25998 * conform/data/varargs.h-data: Likewise.
25999 * conform/data/wchar.h-data: Likewise.
26000 * conform/data/wctype.h-data: Likewise.
26001 * conform/data/wordexp.h-data: Likewise.
26002
26003 * include/stropts.h: New file.
26004 * include/uchar.h: New file.
26005 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26006 * include/assert.h: Likewise.
26007 * include/ctype.h: Likewise.
26008 * include/dirent.h: Likewise.
26009 * include/dlfcn.h: Likewise.
26010 * include/fcntl.h: Likewise.
26011 * include/fnmatch.h: Likewise.
26012 * include/glob.h: Likewise.
26013 * include/grp.h: Likewise.
26014 * include/libio.h: Likewise.
26015 * include/locale.h: Likewise.
26016 * include/math.h: Likewise.
26017 * include/net/if.h: Likewise.
26018 * include/netdb.h: Likewise.
26019 * include/netinet/in.h: Likewise.
26020 * include/pthread.h: Likewise.
26021 * include/pwd.h: Likewise.
26022 * include/regex.h: Likewise.
26023 * include/sched.h: Likewise.
26024 * include/search.h: Likewise.
26025 * include/setjmp.h: Likewise.
26026 * include/signal.h: Likewise.
26027 * include/stdio.h: Likewise.
26028 * include/stdlib.h: Likewise.
26029 * include/string.h: Likewise.
26030 * include/sys/cdefs.h: Likewise.
26031 * include/sys/mman.h: Likewise.
26032 * include/sys/msg.h: Likewise.
26033 * include/sys/resource.h: Likewise.
26034 * include/sys/select.h: Likewise.
26035 * include/sys/socket.h: Likewise.
26036 * include/sys/stat.h: Likewise.
26037 * include/sys/statvfs.h: Likewise.
26038 * include/sys/time.h: Likewise.
26039 * include/sys/times.h: Likewise.
26040 * include/sys/uio.h: Likewise.
26041 * include/sys/utsname.h: Likewise.
26042 * include/sys/wait.h: Likewise.
26043 * include/termios.h: Likewise.
26044 * include/time.h: Likewise.
26045 * include/ulimit.h: Likewise.
26046 * include/unistd.h: Likewise.
26047 * include/utime.h: Likewise.
26048 * include/wchar.h: Likewise.
26049 * include/wctype.h: Likewise.
26050 * include/wordexp.h: Likewise.
26051
26052 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26053
7a270350
UD
26054 * time/time.h: TIME_UTC must be a macro.
26055 Make timespec_get available for ISO C11 only as well.
26056
7724defc
UD
260572012-02-24 Ulrich Drepper <drepper@gmail.com>
26058
26059 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26060 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26061
6b1d1d46
JM
260622012-02-24 Joseph Myers <joseph@codesourcery.com>
26063
26064 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26065
0f8bbd69
JM
260662012-02-24 Joseph Myers <joseph@codesourcery.com>
26067
26068 * manual/texinfo.tex: Update to version 2012-01-19.16.
26069
66ab80bc
JM
260702012-02-24 Joseph Myers <joseph@codesourcery.com>
26071
26072 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26073
74981cc5
RM
260742012-02-24 Roland McGrath <roland@hack.frob.com>
26075
ee968201
RM
26076 [BZ #13738]
26077 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26078 * manual/fdl-1.3.texi: New file.
26079 * manual/fdl-1.1.texi: File removed.
26080
74981cc5
RM
26081 [BZ #13738]
26082 * manual/libc.texinfo (FDL_VERSION): New @set.
26083 Use it for mention of FDL in cover text.
26084 (Documentation License): Use it in @include file name.
26085
7bb764bc
JM
260862012-02-22 Joseph Myers <joseph@codesourcery.com>
26087 Roland McGrath <roland@hack.frob.com>
26088
26089 [BZ #5461]
26090 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26091 not LONG_LONG_MAX and LONG_LONG_MIN.
26092 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26093 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26094 name.
26095 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26096
6cbeae47
JM
260972012-02-22 Joseph Myers <joseph@codesourcery.com>
26098
26099 [BZ #2547]
26100 [BZ #11365]
26101 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26102 manipulate bits before adding and subtracting TWO23[sx].
26103 * math/libm-test.inc (nearbyint_test): Add more tests.
26104
fe45ce09
JM
261052012-02-22 Joseph Myers <joseph@codesourcery.com>
26106
26107 [BZ #2548]
26108 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26109 bits before adding and subtracting TWO23[sx].
26110 * math/libm-test.inc (rint_test): Add more tests.
26111 (rint_test_tonearest): Likewise.
26112 (rint_test_towardzero): Likewise.
26113 (rint_test_downward): Likewise.
26114 (rint_test_upward: Likewise.
26115
ff3b3d82
JM
261162012-02-22 Joseph Myers <joseph@codesourcery.com>
26117
26118 [BZ #10110]
26119 * include/stdc-predef.h: New file. Extracted from features.h.
26120 * include/features.h: Include stdc-predef.h.
26121 * Makefile (headers): Add stdc-predef.h.
26122 * CONFORMANCE (Compiler limitations): Update.
26123
ef0aab35
JM
261242012-02-22 Joseph Myers <joseph@codesourcery.com>
26125
26126 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26127
58639409
DM
261282012-02-21 David S. Miller <davem@davemloft.net>
26129
26130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26131 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26132
c0e70b25
DM
261332012-02-20 David S. Miller <davem@davemloft.net>
26134
26135 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26136 using a normal save/restore sequence, rather than allocating a
26137 dummy stack frame just to store a frame pointer and restore.
26138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26139
fb06851d
JM
261402012-02-21 Joseph Myers <joseph@codesourcery.com>
26141
26142 * manual/install.texi: Fix stray word in line-wrapped comment.
26143
7a8b71c3
DM
261442012-02-20 David S. Miller <davem@davemloft.net>
26145
d510c123
DM
26146 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26147 both binutils and gcc support GOTDATA.
26148
0722d7c2
DM
26149 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26150 "rd %pc" in the PIC register setup sequences.
26151
3d2b3019
DM
26152 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26153 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26154 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26155 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26156 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26161 (SYSCALL_ERROR_HANDLER): Likewise.
26162 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26165 (SYSCALL_ERROR_HANDLER): Likewise.
26166
c80098a9
DM
26167 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26168 (HAVE_GCC_GOTDATA): New.
26169 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26170 relocation support in both binutils and gcc.
26171 * sysdeps/sparc/elf/configure: Regenerate.
26172
3a2545a0
DM
26173 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26174 * sysdeps/sparc/sparc32/elf/configure: Delete.
26175 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26176 * sysdeps/sparc/sparc64/elf/configure: Delete.
26177 * sysdeps/sparc/elf/configure.in: New file.
26178 * sysdeps/sparc/elf/configure: Generate.
26179
7a8b71c3
DM
26180 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26181 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26182 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26183 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26184 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26185
f1e86fca
JM
261862012-02-21 Joseph Myers <joseph@codesourcery.com>
26187
26188 * manual/install.texi: Do not mention specific glibc version
26189 numbers.
26190 * manual/libc.texinfo (VERSION, UPDATED): Update.
26191 (@copying): Use @copyright{} and range of years.
26192
0e7dfaef
JM
261932012-02-21 Joseph Myers <joseph@codesourcery.com>
26194
26195 [BZ #13695]
26196 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26197 [crti.S not in sysdirs] (generated): Do not append.
26198 [crti.S not in sysdirs] (omit-deps): Likewise.
26199 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26200 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26201 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26202 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26203 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26204 Likewise.
26205 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26206 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26207 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26208 * csu/defs.awk: Remove file.
26209 * sysdeps/generic/initfini.c: Likewise.
26210 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26211 variable.
26212 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26213 Likewise.
26214
599af3ca
JM
262152012-02-20 Joseph Myers <joseph@codesourcery.com>
26216
26217 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26218 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26219 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26222 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26223 <bits/epoll.h>.
26224 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26225 (__EPOLL_PACKED): Define to empty if not defined by
26226 <bits/epoll.h>.
26227 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26229 bits/epoll.h.
26230
0e499750
JM
262312012-02-20 Joseph Myers <joseph@codesourcery.com>
26232
26233 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26234 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26235 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26237 <bits/timerfd.h>.
26238 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26240 bits/timerfd.h.
26241
5ad91f6e
JM
262422012-02-20 Joseph Myers <joseph@codesourcery.com>
26243
26244 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26245 in C locale.
26246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250
06b99b02
AJ
262512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26252
26253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26255
7638c0fd
AS
262562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26257
26258 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26259 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26260 defined.
26261 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26262 Likewise.
26263 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26264 entry for 2.16.
26265
92221550
AJ
262662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26267
26268 * math/w_acos.c: Use non-signaling floating-point comparisons.
26269 * math/w_acosf.c: Likewise.
26270 * math/w_acosh.c: Likewise.
26271 * math/w_acoshf.c: Likewise.
26272 * math/w_acoshl.c: Likewise.
26273 * math/w_acosl.c: Likewise.
26274 * math/w_asin.c: Likewise.
26275 * math/w_asinf.c: Likewise.
26276 * math/w_asinl.c: Likewise.
26277 * math/w_atanh.c: Likewise.
26278 * math/w_atanhf.c: Likewise.
26279 * math/w_atanhl.c: Likewise.
26280 * math/w_exp2.c: Likewise.
26281 * math/w_exp2f.c: Likewise.
26282 * math/w_exp2l.c: Likewise.
26283 * math/w_j0.c: Likewise.
26284 * math/w_j0f.c: Likewise.
26285 * math/w_j0l.c: Likewise.
26286 * math/w_j1.c: Likewise.
26287 * math/w_j1f.c: Likewise.
26288 * math/w_j1l.c: Likewise.
26289 * math/w_jn.c: Likewise.
26290 * math/w_jnf.c: Likewise.
26291 * math/w_log.c: Likewise.
26292 * math/w_log10.c: Likewise.
26293 * math/w_log10f.c: Likewise.
26294 * math/w_log10l.c: Likewise.
26295 * math/w_log2.c: Likewise.
26296 * math/w_log2f.c: Likewise.
26297 * math/w_log2l.c: Likewise.
26298 * math/w_logf.c: Likewise.
26299 * math/w_logl.c: Likewise.
26300 * math/w_sqrt.c: Likewise.
26301 * math/w_sqrtf.c: Likewise.
26302 * math/w_sqrtl.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26306 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26307 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26308
ebaf36eb
JM
263092012-02-19 Joseph Myers <joseph@codesourcery.com>
26310
26311 [BZ #9739]
26312 * manual/string.texi (strnlen): Use correct parameter name in
26313 equivalent expression.
26314
71c254a6
JM
263152012-02-19 Joseph Myers <joseph@codesourcery.com>
26316
26317 [BZ #11174]
26318 * manual/users.texi (seteuid): Consistently use neweuid for
26319 argument name.
26320
16d2c631
JM
263212012-02-19 Joseph Myers <joseph@codesourcery.com>
26322
26323 [BZ #13704]
26324 * manual/nss.texi (Services in the NSS configuration): Correct
26325 list of services in example configuration file.
26326
cd837b09
NB
263272012-02-19 Nick Bowler <nbowler@draconx.ca>
26328
26329 [BZ #11322]
26330 * manual/arith.texi: Remove statements about negative zero
26331 behaving identically to zero.
26332
02c4bbad
JM
263332012-02-18 Joseph Myers <joseph@codesourcery.com>
26334
26335 [BZ #5993]
26336 * manual/install.texi: Do not document upgrading from libc5.
26337
366842e7
JM
263382012-02-18 Joseph Myers <joseph@codesourcery.com>
26339
26340 [BZ #4596]
26341 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26342
dd54084d
DM
263432012-02-18 David S. Miller <davem@davemloft.net>
26344
26345 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26346 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26347 %o7 across the call.
26348 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26349 instead.
26350 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26351 SETUP_PIC_REG_LEAF.
26352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26353 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26354 * sysdeps/sparc/crtn.S: Likewise.
26355
2bcc53a3
UD
263562012-02-17 Ulrich Drepper <drepper@gmail.com>
26357
26358 * aout/Makefile: Remove.
26359
09c093b5
RK
263602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26361
26362 [BZ #13058]
26363 * manual/examples/argp-ex1.c (main): Format definition in GNU
26364 style.
26365 * manual/examples/argp-ex2.c (main): Likewise.
26366 * manual/examples/argp-ex3.c (main): Likewise.
26367 * manual/examples/argp-ex4.c (main): Likewise.
26368 * manual/examples/longopt.c (main): Use new-style prototype
26369 definition.
26370 * manual/examples/strncat.c (main): Specify return type and use
26371 (void) for arguments.
26372 * manual/examples/subopt.c (main): Use char **argv argument.
26373
2ee633a2
JM
263742012-02-17 Joseph Myers <joseph@codesourcery.com>
26375
26376 [BZ #5077]
26377 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26378 rounding modes.
26379
0520adde
FB
263802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26381
26382 [BZ #6907]
26383 * manual/string.texi (strchr): Change when strchrnul is
26384 recommended.
26385
3f4081cd
DGM
263862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26387
26388 [BZ #174]
26389 * manual/locale.texi (setlocale): Document LOCPATH.
26390
d1b10e78
JM
263912012-02-17 Joseph Myers <joseph@codesourcery.com>
26392
26393 [BZ #10210]
26394 * manual/process.texi (execle): Move @dots{} before last argument.
26395
79c6869c
PB
263962012-02-17 Paul Bolle <pebolle@tiscali.nl>
26397
26398 [BZ #12047]
26399 * manual/charset.texi (Generic Charset Conversion): Fix typo
26400 (LC_TYPE -> LC_CTYPE).
26401
cc6e48bc
NB
264022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26403
26404 [BZ #5805]
26405 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26406 (scalbnf): Likewise.
26407 (scalbnl): Likewise.
26408 (scalbln): Likewise.
26409 (scalblnf): Likewise.
26410 (scalblnl): Likewise.
26411 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26412 (vwarnx): Likewise.
26413 (verr): Likewise.
26414 (verrx): Likewise.
26415 * manual/filesys.texi (telldir): Use braces around return type.
26416 * manual/llio.texi (mmap): Add space after comma.
26417 (mmap64): Likewise.
26418 * manual/math.texi (jn): Use @var{} on parameter names.
26419 (jnf): Likewise.
26420 (jnl): Likewise.
26421 (yn): Likewise.
26422 (ynf): Likewise.
26423 (ynl): Likewise.
26424 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26425 line.
26426 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26427 "...".
26428 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26429 (sched_get_priority_max): Likewise.
26430 * manual/signal.texi (sigvec): Add space after comma.
26431 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26432 names.
26433 (if_indextoname): Likewise.
26434 (if_freenameindex): Likewise.
26435 (sendto): Use ',' instead of '.' in prototype.
26436 * manual/startup.texi (syscall): Use @dots{} instead of literal
26437 "...".
26438 * manual/stdio.texi (__fpending): Separate initial words of
26439 paragraph from @deftypefun line.
26440 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26441 "...".
26442 (vsyslog): Use @var{} on parameter names.
26443 * manual/terminal.texi (stty): Use @var{} on parameter names.
26444 * manual/users.texi (getutmp): Use @var{} on parameter names.
26445 (getutmpx): Likewise.
26446
5b23062f
JM
264472012-02-17 Joseph Myers <joseph@codesourcery.com>
26448
26449 [BZ #6884]
26450 * manual/stdio.texi (fopen): Fix typos in description of
26451 ",ccs=STRING".
26452
8dee4833
AJ
264532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26454
26455 [BZ #4026]
26456 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26457 get clock_id definition.
26458
9078ce93
TS
264592012-02-17 Thomas Schwinge <thomas@schwinge.name>
26460
26461 [BZ #4822]
26462 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26463 (madvise): Cast every argument to void on its own.
26464
3835c55f
JM
264652012-02-17 Joseph Myers <joseph@codesourcery.com>
26466
26467 [BZ #9902]
26468 * manual/startup.texi (Exit Status): Fix typo.
26469
35c47e37
JM
264702012-02-17 Joseph Myers <joseph@codesourcery.com>
26471
26472 [BZ #10140]
26473 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26474 * manual/examples/argp-ex2.c: Likewise.
26475 * manual/examples/argp-ex3.c: Likewise.
26476
e3b69ca7
RH
264772012-02-16 Richard Henderson <rth@redhat.com>
26478
26479 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26480 * sysdeps/s390/s390-32/initfini.c: Remove.
26481 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26482 * sysdeps/s390/s390-64/initfini.c: Remove.
26483
df83af67
KK
264842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26485
26486 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26487 compiler output for sysdeps/generic/initfini.c.
26488 * sysdeps/sh/elf/initfini.c: Remove file.
26489
f63f3380
DM
264902012-02-16 David S. Miller <davem@davemloft.net>
26491
fb59b3a4
DM
26492 [BZ #11494]
26493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26494
f63f3380
DM
26495 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26496 * sysdeps/sparc/crti.S: New file.
26497 * sysdeps/sparc/crtn.S: New file.
26498 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26499 * sysdeps/sparc/sparc64/Makefile: Likewise.
26500
df6a4a4a
MF
265012012-02-15 Mike Frysinger <vapier@gentoo.org>
26502
6dd8f3dc 26503 [BZ #3335]
df6a4a4a
MF
26504 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26505
1cac7236
RM
265062012-02-15 Roland McGrath <roland@hack.frob.com>
26507
d2c736f8
RM
26508 [BZ #4822]
26509 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26510
1cac7236
RM
26511 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26512 (write, read, close): Likewise.
26513 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26514
8e475601
JM
265152012-02-15 Joseph Myers <joseph@codesourcery.com>
26516
26517 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26518 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26519 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26520 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26521 <bits/signalfd.h>.
26522 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26524 bits/signalfd.h.
26525
ed656b40
MP
265262012-02-14 Marek Polacek <polacek@redhat.com>
26527
26528 * sysdeps/x86_64/crti.S: New file.
26529 * sysdeps/x86_64/crtn.S: New file.
26530 * sysdeps/x86_64/elf/initfini.c: Remove file.
26531
2a979d3a
JM
265322012-02-13 Joseph Myers <joseph@codesourcery.com>
26533
26534 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26535 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26537 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26538 <bits/inotify.h>.
26539 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26541 bits/inotify.h.
26542
2a418ac3
JM
265432012-02-13 Joseph Myers <joseph@codesourcery.com>
26544
26545 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26546 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26547 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26548 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26549 <bits/eventfd.h>.
26550 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26552 bits/eventfd.h.
26553
fb779be7
TS
265542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26555
e19e83c5
RM
26556 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26557 __feraiseexcept instead of feraiseexcept.
7c35ffed 26558
fb779be7
TS
26559 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26560 nanosleep invocations.
26561 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26562 strings, and add error checking for a nanosleep invocations.
26563
59ba27a6
PE
265642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26565
26566 Replace FSF snail mail address with URLs, as per GNU coding standards.
26567 Most of the snail mail addresses were wrong anyway, and omitting
26568 them makes the source code easier to maintain. Almost all of the
26569 changes are to license notices and to locale LC_IDENTIFICATION
26570 addresses, except for this one:
26571 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26572 not its snail mail address.
26573
57b957eb
RH
265742012-02-09 Richard Henderson <rth@twiddle.net>
26575
af850b1c
RH
26576 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26577 of kernel-features.h.
26578
57b957eb
RH
26579 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26580
6b73181a
MP
265812012-02-08 Marek Polacek <polacek@redhat.com>
26582
26583 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26584 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26585 * sysdeps/gnu/_G_config.h: Likewise.
26586 * sysdeps/generic/_G_config.h: Likewise.
26587
26ecc33a
AS
265882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26589
6c6dbc63
AS
26590 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26591 tests.
26592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593
e216c012
AS
26594 * sysdeps/powerpc/powerpc32/crti.S: New file.
26595 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26596 * sysdeps/powerpc/powerpc64/crti.S: New file.
26597 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26598
26ecc33a
AS
26599 * Makeconfig (have-initfini): Don't set.
26600 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26601 * configure.in (nopic_initfini): Don't substitute.
26602 * config.h.in (HAVE_INITFINI): Don't #undef.
26603 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26604 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26605
3add8e13
JM
266062012-02-08 Joseph Myers <joseph@codesourcery.com>
26607
26608 Support crti.S and crtn.S provided directly by architectures.
26609 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26610 [crti.S in sysdirs] (omit-deps): Likewise.
26611 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26612 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26613 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26614 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26615 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26616 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26617 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26618 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26619 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26620 compiler output for sysdeps/generic/initfini.c.
26621 * sysdeps/i386/elf/Makefile: Remove file.
26622 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26623
a22f12b4
MP
266242012-02-07 Marek Polacek <polacek@redhat.com>
26625
26626 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26627 * sysdeps/gnu/_G_config.h: Likewise.
26628 * sysdeps/mach/hurd/_G_config.h: Likewise.
26629
148cf100
MP
266302012-02-07 Marek Polacek <polacek@redhat.com>
26631
26632 * math/Makefile (tests): Add tst-CMPLX2.
26633 * math/tst-CMPLX2.c: New file.
26634
cfdc0dd7
AS
266352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26636
84ba42c4
AS
26637 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26638
cfdc0dd7
AS
26639 * math/libm-test.inc (jn_test): Add missing L suffix.
26640
622c86f4
MP
266412012-02-06 Marek Polacek <polacek@redhat.com>
26642
26643 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26644 * sysdeps/i386/fpu/e_powf.S: Likewise.
26645 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26646 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26648 * sysdeps/i386/fpu/e_pow.S: Likewise.
26649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26653 * sysdeps/i386/fpu/e_log2.S: Likewise.
26654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26656 * sysdeps/i386/fpu/e_powl.S: Likewise.
26657 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26658 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26659 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26660 * sysdeps/i386/fpu/e_logl.S: Likewise.
26661 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26662 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26663 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26664 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26665 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26666 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26667 * sysdeps/i386/fpu/e_log.S: Likewise.
26668 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26670 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26671 * sysdeps/i386/fpu/e_logf.S: Likewise.
26672 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26673 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26674 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26676 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26677 * sysdeps/i386/fpu/e_log10.S: Likewise.
26678 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26680 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26681 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26684 * sysdeps/i386/asm-syntax.h: Likewise.
26685 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26687 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26688 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26689 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26690 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26691 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26692 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26693 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26694 * sysdeps/powerpc/sysdep.h: Likewise.
26695 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26697
d4a54ac6
JM
266982012-02-06 Joseph Myers <joseph@codesourcery.com>
26699
26700 [BZ #411]
26701 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26702
314054ea
JM
267032012-02-06 Joseph Myers <joseph@codesourcery.com>
26704
26705 * sysdeps/i386/sysdep.h: Include <features.h>.
26706 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26707 version.
26708
d8e0ca50
JM
267092012-02-05 Joseph Myers <joseph@codesourcery.com>
26710
26711 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26712 Define.
26713 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26714 LOAD_PIC_REG_STR.
26715
b1da7dd9
JM
267162012-02-03 Joseph Myers <joseph@codesourcery.com>
26717
26718 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26719 (SETUP_PIC_REG): Use GET_PC_THUNK.
26720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26721 macro.
26722
9a1d9254
JM
267232012-02-03 Joseph Myers <joseph@codesourcery.com>
26724
26725 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26726 for non-PIC compilation.
26727 (SETUP_PIC_REG): Add .p2align directive.
26728 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26729 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26730 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26731 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26732 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26733 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26736 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26737 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26738 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26739 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26740 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26741 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26742 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26743 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26744 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26745 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26746 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26747 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26748 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26749 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26750 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26751 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26754 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26758 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26760 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26761 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26762 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26763 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26764 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26765 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26766 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26767 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26768 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26769
65dc3b75
JM
267702012-02-03 Joseph Myers <joseph@codesourcery.com>
26771
26772 * math/tst-CMPLX.c: Include <stdio.h>.
26773
d55bf177
JM
267742012-01-31 Joseph Myers <joseph@codesourcery.com>
26775
26776 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26777 float.
26778 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26779 * sysdeps/sparc/bits/mathdef.h: Likewise.
26780
69db4f8f
MP
267812012-01-31 Marek Polacek <polacek@redhat.com>
26782
26783 * libio/libio.h: Don't define _PARAMS.
26784 * locale/programs/config.h: Don't define PARAMS.
26785 * stdlib/strtol_l.c: Likewise.
26786 (__strtol_l): Remove PARAMS from the prototype.
26787
41b81892
UD
267882012-01-31 Ulrich Drepper <drepper@gmail.com>
26789
3b49edc0
UD
26790 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26791 names. Just use the correct names. Remove unnecessary wrapper
26792 functions.
26793 * malloc/arena.c: Likewise.
26794 * malloc/hooks.c: Likewise.
26795
41b81892
UD
26796 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26797 ARENA_TEST says not to. Simplify test for creation of a new arena.
26798 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26799
27a25b6e
UD
268002012-01-30 Ulrich Drepper <drepper@gmail.com>
26801
26802 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26803 into tail calls.
26804 (update_get_addr): New function.
26805 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26806 GET_ADDR_MODULE parameter.
26807
c8a89e7d
JM
268082012-01-30 Joseph Myers <joseph@codesourcery.com>
26809
26810 * crypt/cert.c: Remove __STDC__ conditionals.
26811 * crypt/crypt-entry.c: Likewise.
26812 * crypt/crypt_util.c: Likewise.
26813 * libio/filedoalloc.c: Likewise.
26814 * libio/fileops.c: Likewise.
26815 * libio/genops.c: Likewise.
26816 * libio/iofclose.c: Likewise.
26817 * libio/iofdopen.c: Likewise.
26818 * libio/iofopen.c: Likewise.
26819 * libio/iofopen64.c: Likewise.
26820 * libio/iogetdelim.c: Likewise.
26821 * libio/iopopen.c: Likewise.
26822 * libio/obprintf.c: Likewise.
26823 * libio/oldfileops.c: Likewise.
26824 * libio/oldiofclose.c: Likewise.
26825 * libio/oldiofdopen.c: Likewise.
26826 * libio/oldiofopen.c: Likewise.
26827 * libio/oldiopopen.c: Likewise.
26828 * libio/wfiledoalloc.c: Likewise.
26829 * libio/wgenops.c: Likewise.
26830 * locale/programs/xmalloc.c: Likewise.
26831 * misc/syslog.c: Likewise.
26832 * stdio-common/xbug.c: Likewise.
26833 * string/memchr.c: Likewise.
26834 * string/memcmp.c: Likewise.
26835 * string/memrchr.c: Likewise.
26836 * string/rawmemchr.c: Likewise.
26837 * sysdeps/posix/getcwd.c: Likewise.
26838 * time/strftime_l.c: Likewise.
26839
3b100462
JM
268402012-01-30 Joseph Myers <joseph@codesourcery.com>
26841
26842 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26843 * config.make.in (config-cflags-sse2avx): Define.
26844 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26845 Fix typo.
26846
607998af
CM
268472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26848
26849 * scripts/config.guess: Update from upstream config git repository.
26850 * scripts/config.sub: Likewise.
26851
3601428f
CM
268522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26853
3ac8b282
CM
26854 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26855 (EM_NUM): Update.
26856 (R_TILEPRO_*, R_TILEGX_*): New macros.
26857
e034841e
CM
26858 * scripts/firstversions.awk: Fix bug in version range handling.
26859
540d7568
CM
26860 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26861
3601428f
CM
26862 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26863
463de862
CM
26864 * include/sys/epoll.h: New file.
26865 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26866 libc_hidden_def.
26867
73139a76
UD
268682012-01-28 Ulrich Drepper <drepper@gmail.com>
26869
96bc5b45
UD
26870 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26871 Avoid unnecessary __WORDSIZE == 64 test.
26872 (fmaxf): Use VEX format if possible.
26873 (fmax): Likewise.
26874 (fminf): Likewise.
26875 (fmin): Likewise.
26876
56f6f6a2
UD
26877 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26878 * math/math_private.h: Remove libc_fegetround* and
26879 libc_fesetround*.
26880 * sysdeps/i386/configure.in: Check for -msse2avx.
26881 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26882 also if SSE2AVX is defined.
26883 Remove libc_fegetround* and libc_fesetround*.
26884 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26885 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26887 of HAS_YMM_USABLE.
26888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26893
73139a76
UD
26894 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26895
d73f93a4
AZ
268962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26897
26898 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26899 size is not set.
26900 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26901
6ee65ed6
UD
269022012-01-27 Ulrich Drepper <drepper@gmail.com>
26903
26904 [BZ #13618]
26905 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26906 relocation.
26907 * Makeconfig (libm): Define.
26908 * elf/Makefile: Add rules to build and run tst-relsort1.
26909 * elf/tst-relsort1.c: New file.
26910 * elf/tst-relsort1mod1.c: New file.
26911 * elf/tst-relsort1mod2.c: New file.
26912
8db21882
JM
269132012-01-27 Joseph Myers <joseph@codesourcery.com>
26914
26915 * math/s_ldexp.c: Remove __STDC__ conditionals.
26916 * math/s_ldexpf.c: Likewise.
26917 * math/s_ldexpl.c: Likewise.
26918 * math/s_nextafter.c: Likewise.
26919 * math/s_nexttowardf.c: Likewise.
26920 * math/s_significand.c: Likewise.
26921 * math/s_significandf.c: Likewise.
26922 * math/s_significandl.c: Likewise.
26923 * math/w_jnl.c: Likewise.
26924 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26925 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26926 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26927 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26928 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26930 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26931 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26933 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26934 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26936 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26937 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26938 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26940 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26941 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26943 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26944 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26946 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26948 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26949 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26951 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26952 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26953 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26954 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26955 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26956 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26957 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26958 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26961 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26962 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26963 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26964 * sysdeps/ieee754/k_standard.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26984 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26996 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26997 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26998 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26999 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27000 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27001 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27002 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27025 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27026 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27027 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27029 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27030 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27031 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27032 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27033 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27034 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27036 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27037 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27038 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27039 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27040 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27044 * sysdeps/ieee754/s_matherr.c: Likewise.
27045 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27046 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27049
965a54a4
JM
270502012-01-26 Joseph Myers <joseph@codesourcery.com>
27051
27052 * crypt/md5.h: Remove __STDC__ conditionals.
27053 * libio/libioP.h: Likewise.
27054 * locale/programs/config.h: Likewise.
27055 * sysdeps/generic/sysdep.h: Likewise.
27056 * sysdeps/i386/asm-syntax.h: Likewise.
27057 * sysdeps/s390/asm-syntax.h: Likewise.
27058 * sysdeps/unix/sysdep.h: Likewise.
27059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27061
7071ad79
JM
270622012-01-26 Joseph Myers <joseph@codesourcery.com>
27063
27064 * libio/libio.h: Remove __STDC__ conditionals.
27065 * malloc/obstack.h: Likewise.
27066 * math/complex.h: Likewise.
27067 * math/math.h: Likewise.
27068 * sysdeps/generic/_G_config.h: Likewise.
27069 * sysdeps/gnu/_G_config.h: Likewise.
27070 * sysdeps/mach/hurd/_G_config.h: Likewise.
27071 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27072 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27073 * sysdeps/sparc/bits/mathdef.h: Likewise.
27074
afc5ed09
UD
270752012-01-26 Ulrich Drepper <drepper@gmail.com>
27076
27077 [BZ #13583]
27078 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27079 Clean up HAS_* macros.
afc5ed09 27080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27081 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27082 possible.
27083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27084 HAS_AVX.
27085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27090
bdb6de1d
JM
270912012-01-25 Joseph Myers <joseph@codesourcery.com>
27092
27093 * elf/tst-unique3.cc (gets): Remove declaration.
27094 * elf/tst-unique3lib.cc (gets): Likewise.
27095 * elf/tst-unique3lib2.cc (gets): Likewise.
27096 * elf/tst-unique4.cc (gets): Likewise.
27097
b15549e6
UD
270982012-01-24 Ulrich Drepper <drepper@gmail.com>
27099
27100 * include/stdio.h: Add C++ protection. Add gets declarations and
27101 definitions.
27102 * debug/tst-chk1.c: Don't declare gets here.
27103 * stdio-common/tst-gets.c: Likewise.
27104
a037381f
JM
271052012-01-24 Joseph Myers <joseph@codesourcery.com>
27106
27107 * posix/glob: Remove directory.
27108
f1d4aa75
JM
271092012-01-24 Joseph Myers <joseph@codesourcery.com>
27110
27111 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27112
81c0c964
PT
271132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27114
27115 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27116 of the non-standard EPFNOSUPPORT.
27117
0ea698ae
ST
271182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27119
27120 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27121 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27122 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27123
d220b117
UD
271242012-01-21 Ulrich Drepper <drepper@gmail.com>
27125
27126 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27127
3e1aa84e
UD
271282012-01-20 Ulrich Drepper <drepper@gmail.com>
27129
27130 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27131 transient errors.
27132 * nscd/grpcache.c (cache_addgr): Likewise.
27133 * nscd/hstcache.c (cache_addhst): Likewise.
27134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27135 * nscd/pwdcache.c (cache_addpw): Likewise.
27136 * nscd/servicescache.c (cache_addserv): Likewise.
27137
400aa020
UD
271382012-01-16 Ulrich Drepper <drepper@gmail.com>
27139
d77e7869
UD
27140 * malloc/malloc.c: Various cleanups.
27141 * malloc/hooks.c: Likewise.
27142
400aa020
UD
27143 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27144 * stdlib/bug-fmtmsg1.c: New file.
27145
27146 * stdlib/fmtmsg.c (init): Add missing unlock.
27147 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27148
e0a309cf
MP
271492012-01-12 Marek Polacek <polacek@redhat.com>
27150
27151 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27152 and _GNU_SOURCE.
27153
929d11c7
WS
271542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27155
27156 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27157 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27158 macro to ensure uniqueness of label name.
27159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27161
41d0e869
UD
271622012-01-11 Ulrich Drepper <drepper@gmail.com>
27163
0cc5ed3b
UD
27164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27165
41d0e869
UD
27166 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27167 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27170
a47a831a
UD
271712012-01-10 Ulrich Drepper <drepper@gmail.com>
27172
daa891c0
UD
27173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27174
27175 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27176 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27177 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27178
e58ef0f2
UD
27179 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27180
a47a831a 27181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27182 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27185
27186 * math/bits/math-finite.h: Add ldexp support.
27187
a0bfc9c7
MP
271882012-01-10 Marek Polacek <polacek@redhat.com>
27189
27190 * locale/programs/localedef.h (show_archive_content): Add noreturn
27191 attribute.
27192
d6e97a1d
UD
271932012-01-09 Ulrich Drepper <drepper@gmail.com>
27194
27195 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27196
d5835c26
UD
271972012-01-08 Ulrich Drepper <drepper@gmail.com>
27198
e5f484c6
UD
27199 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27200
d5835c26
UD
27201 * io/Makefile (headers): Add bits/poll2.h.
27202
d1f741e9
WS
272032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27204
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27206 typo #include statement.
27207
ec09c1c4
UD
272082012-01-08 Ulrich Drepper <drepper@gmail.com>
27209
27210 * include/sys/cdefs.h: Define __attribute_alloc_size.
27211 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27212 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27213 * elf/pldd.c: Likewise.
27214 * iconv/iconv_charmap.c: Likewise.
27215 * iconv/iconvconfig.c: Likewise.
27216 * iconv/strtab.c: Likewise.
27217 * locale/programs/locale.c: Likewise.
27218 * locale/programs/localedef.h: Likewise.
27219 * locale/programs/simple-hash.c: Likewise.
27220 * nscd/nscd.h: Likewise.
27221 * nss/makedb.c: Likewise.
27222 * sysdeps/generic/ldconfig.h: Likewise.
27223 * locale/programs/localedef.c: Remove xmalloc prototype.
27224 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27225
20b38e03
PP
272262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27227
27228 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27229 appropriate.
27230
a0da5fe1
UD
272312012-01-08 Ulrich Drepper <drepper@gmail.com>
27232
1d5a644a 27233 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27234 * math/tst-CMPLX.c: New file.
1d5a644a 27235
8784a6db
UD
27236 * math/complex.h (CMPLXL): Fix typo.
27237
d9a216c0
UD
27238 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27239 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27240 GLIBC_2.16.
27241 * debug/tst-chk1.c: Add poll and ppoll tests.
27242 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27243 * include/sys/poll.h: Add hidden proto for ppoll.
27244 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27245 * sysdeps/mach/hurd/ppoll.c: Likewise.
27246 * io/ppoll.c: Likewise.
27247 * debug/poll_chk.c: New file.
27248 * debug/ppoll_chk.c: New file.
27249 * include/bits/poll2.h: New file.
27250 * io/bits/poll2.h: New file.
27251
ac097f5c
UD
27252 [BZ #1350]
27253 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27254
2119dcfa
UD
27255 * configure.in: static is always set to yes. Remove.
27256 * config.make.in: Don't set build-static.
27257 * Makeconfig: Remove use of build-static.
27258 * dlfcn/Makefile: Likewise.
27259 * elf/Makefile: Likewise.
27260 * math/Makefile: Likewise.
27261 * misc/Makefile: Likewise.
27262 * nptl/Makefile: Likewise.
27263 * sysdeps/mach/hurd/Makefile: Likewise.
27264
121766a9
UD
27265 * configure.in: PWD_P is not used anymore.
27266 * config.make.in: Remove PWD_P entry.
27267
51a1d39c 27268 * configure.in: Remove last remnants of RANLIB.
8720d066 27269 No need to check for signed size_t anymore.
215f4bdc
UD
27270 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27271 and IA-64.
3857022a 27272 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27273 * aclocal.m4: Likewise.
27274
d3ed7225
UD
27275 * wcsmbs/mbrtoc16.c: Implement using towc function.
27276 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27277 * wcsmbs/wcsmbsload.c: Likewise.
27278 * iconv/gconv_simple.c: Likewise.
27279 * iconv/gconv_int.h: Likewise.
27280 * iconv/gconv_builtin.h: Likewise.
27281 * iconv/iconv_prog.c: Remove CHAR16 handling.
27282
27283 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27284
27285 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27286
a0da5fe1
UD
27287 * configure.in: Remove --with-elf and --enable-bounded options.
27288 Dont set base_machine for ia64. More non-ELF conditions removed.
27289 Remove testing and setting of leading underscore information.
27290 * config.make.in (build-bounded): Set to no.
27291 * config.h.in: Remove NO_UNDERSCORES entry.
27292 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27293 them.
27294 * csu/start.c: Remove !NO_UNDERSCORE code.
27295 * locale/localeinfo.h: Likewise.
27296 * sysdeps/generic/machine-gmon.h: Likewise.
27297 * sysdeps/generic/sysdep.h: Likewise.
27298 * sysdeps/i386/sysdep.h: Likewise.
27299 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27300 * sysdeps/mach/sysdep.h: Likewise.
27301 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27303 * sysdeps/sh/sysdep.h: Likewise.
27304 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27305 * sysdeps/unix/i386/sysdep.S: Likewise.
27306 * sysdeps/unix/sparc/start.c: Likewise.
27307 * sysdeps/unix/sparc/sysdep.S: Likewise.
27308 * sysdeps/unix/sparc/sysdep.h: Likewise.
27309 * sysdeps/unix/start.c: Likewise.
27310 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27311 * sysdeps/x86_64/sysdep.h: Likewise.
27312
df78418a
UD
273132012-01-07 Ulrich Drepper <drepper@gmail.com>
27314
a784e502
UD
27315 [BZ #13553]
27316 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27317 for non-gcc.
27318 * argp/argp-fmtstream.h: Use const instead __const.
27319 * argp/argp.h: Likewise.
27320 * assert/assert.h: Likewise.
27321 * bits/fenv.h: Likewise.
27322 * bits/sched.h: Likewise.
27323 * bits/sigset.h: Likewise.
27324 * bits/sigthread.h: Likewise.
27325 * catgets/nl_types.h: Likewise.
27326 * conform/data/pthread.h-data: Likewise.
27327 * crypt/crypt-private.h: Likewise.
27328 * crypt/crypt.h: Likewise.
27329 * crypt/crypt_util.c: Likewise.
27330 * ctype/ctype.h: Likewise.
27331 * debug/execinfo.h: Likewise.
27332 * debug/mbsnrtowcs_chk.c: Likewise.
27333 * debug/mbsrtowcs_chk.c: Likewise.
27334 * debug/wcsnrtombs_chk.c: Likewise.
27335 * debug/wcsrtombs_chk.c: Likewise.
27336 * debug/wcstombs_chk.c: Likewise.
27337 * dirent/dirent.h: Likewise.
27338 * dlfcn/dlfcn.h: Likewise.
27339 * elf/neededtest4.c: Likewise.
27340 * grp/grp.h: Likewise.
27341 * gshadow/gshadow.h: Likewise.
27342 * iconv/gconv.h: Likewise.
27343 * iconv/gconv_int.h: Likewise.
27344 * iconv/gconv_simple.c: Likewise.
27345 * iconv/iconv.h: Likewise.
27346 * iconv/loop.c: Likewise.
27347 * iconv/skeleton.c: Likewise.
27348 * include/aio.h: Likewise.
27349 * include/aliases.h: Likewise.
27350 * include/argz.h: Likewise.
27351 * include/arpa/inet.h: Likewise.
27352 * include/assert.h: Likewise.
27353 * include/dirent.h: Likewise.
27354 * include/dlfcn.h: Likewise.
27355 * include/execinfo.h: Likewise.
27356 * include/fcntl.h: Likewise.
27357 * include/fenv.h: Likewise.
27358 * include/glob.h: Likewise.
27359 * include/grp.h: Likewise.
27360 * include/libintl.h: Likewise.
27361 * include/mntent.h: Likewise.
27362 * include/netdb.h: Likewise.
27363 * include/pwd.h: Likewise.
27364 * include/rpc/netdb.h: Likewise.
27365 * include/sched.h: Likewise.
27366 * include/search.h: Likewise.
27367 * include/shadow.h: Likewise.
27368 * include/signal.h: Likewise.
27369 * include/stdio.h: Likewise.
27370 * include/stdlib.h: Likewise.
27371 * include/string.h: Likewise.
27372 * include/sys/socket.h: Likewise.
27373 * include/sys/stat.h: Likewise.
27374 * include/sys/statfs.h: Likewise.
27375 * include/sys/statvfs.h: Likewise.
27376 * include/sys/syslog.h: Likewise.
27377 * include/sys/time.h: Likewise.
27378 * include/sys/uio.h: Likewise.
27379 * include/time.h: Likewise.
27380 * include/unistd.h: Likewise.
27381 * include/utmp.h: Likewise.
27382 * include/wchar.h: Likewise.
27383 * include/wctype.h: Likewise.
27384 * inet/aliases.h: Likewise.
27385 * inet/arpa/inet.h: Likewise.
27386 * inet/netinet/ether.h: Likewise.
27387 * inet/netinet/in.h: Likewise.
27388 * intl/libintl.h: Likewise.
27389 * io/bits/fcntl2.h: Likewise.
27390 * io/fcntl.h: Likewise.
27391 * io/ftw.h: Likewise.
27392 * io/sys/poll.h: Likewise.
27393 * io/sys/stat.h: Likewise.
27394 * io/sys/statfs.h: Likewise.
27395 * io/sys/statvfs.h: Likewise.
27396 * io/utime.h: Likewise.
27397 * libio/bits/stdio.h: Likewise.
27398 * libio/bits/stdio2.h: Likewise.
27399 * libio/libio.h: Likewise.
27400 * libio/libioP.h: Likewise.
27401 * libio/stdio.h: Likewise.
27402 * locale/lc-ctype.c: Likewise.
27403 * locale/locale.h: Likewise.
27404 * login/utmp.h: Likewise.
27405 * malloc/arena.c: Likewise.
27406 * malloc/malloc.c: Likewise.
27407 * malloc/malloc.h: Likewise.
27408 * malloc/mcheck.c: Likewise.
27409 * malloc/mtrace.c: Likewise.
27410 * math/bits/mathcalls.h: Likewise.
27411 * math/fenv.h: Likewise.
27412 * math/math_private.h: Likewise.
27413 * misc/bits/error.h: Likewise.
27414 * misc/bits/syslog.h: Likewise.
27415 * misc/err.h: Likewise.
27416 * misc/error.h: Likewise.
27417 * misc/fstab.h: Likewise.
27418 * misc/mntent.h: Likewise.
27419 * misc/regexp.h: Likewise.
27420 * misc/search.h: Likewise.
27421 * misc/sgtty.h: Likewise.
27422 * misc/sys/mman.h: Likewise.
27423 * misc/sys/syslog.h: Likewise.
27424 * misc/sys/uio.h: Likewise.
27425 * misc/sys/xattr.h: Likewise.
27426 * misc/ttyent.h: Likewise.
27427 * nis/rpcsvc/ypclnt.h: Likewise.
27428 * nss/nss.h: Likewise.
27429 * posix/bits/unistd.h: Likewise.
27430 * posix/fnmatch.h: Likewise.
27431 * posix/glob.h: Likewise.
27432 * posix/sched.h: Likewise.
27433 * posix/spawn.h: Likewise.
27434 * posix/sys/wait.h: Likewise.
27435 * posix/unistd.h: Likewise.
27436 * posix/wordexp.h: Likewise.
27437 * pwd/pwd.h: Likewise.
27438 * resolv/netdb.h: Likewise.
27439 * resource/sys/resource.h: Likewise.
27440 * rt/aio.h: Likewise.
27441 * rt/bits/mqueue2.h: Likewise.
27442 * rt/mqueue.h: Likewise.
27443 * shadow/shadow.h: Likewise.
27444 * signal/signal.h: Likewise.
27445 * socket/send.c: Likewise.
27446 * socket/sendto.c: Likewise.
27447 * socket/sys/socket.h: Likewise.
27448 * stdio-common/printf.h: Likewise.
27449 * stdlib/bits/stdlib.h: Likewise.
27450 * stdlib/fmtmsg.h: Likewise.
27451 * stdlib/monetary.h: Likewise.
27452 * stdlib/stdlib.h: Likewise.
27453 * stdlib/ucontext.h: Likewise.
27454 * streams/stropts.h: Likewise.
27455 * string/argz.h: Likewise.
27456 * string/bits/string2.h: Likewise.
27457 * string/string.h: Likewise.
27458 * string/strings.h: Likewise.
27459 * sunrpc/rpc/auth.h: Likewise.
27460 * sunrpc/rpc/auth_des.h: Likewise.
27461 * sunrpc/rpc/clnt.h: Likewise.
27462 * sunrpc/rpc/netdb.h: Likewise.
27463 * sunrpc/rpc/pmap_clnt.h: Likewise.
27464 * sunrpc/rpc/xdr.h: Likewise.
27465 * sysdeps/generic/inttypes.h: Likewise.
27466 * sysdeps/generic/net/if.h: Likewise.
27467 * sysdeps/generic/sys/swap.h: Likewise.
27468 * sysdeps/gnu/net/if.h: Likewise.
27469 * sysdeps/gnu/utmpx.h: Likewise.
27470 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27471 * sysdeps/i386/i486/bits/string.h: Likewise.
27472 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27473 * sysdeps/s390/bits/string.h: Likewise.
27474 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27475 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27476 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27477 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27478 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27479 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27480 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27481 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27482 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27483 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27484 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27485 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27486 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27487 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27488 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27489 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27490 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27495 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27496 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27497 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27498 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27499 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27500 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27502 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27503 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27504 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27505 * sysvipc/sys/ipc.h: Likewise.
27506 * sysvipc/sys/msg.h: Likewise.
27507 * sysvipc/sys/sem.h: Likewise.
27508 * sysvipc/sys/shm.h: Likewise.
27509 * termios/termios.h: Likewise.
27510 * time/sys/time.h: Likewise.
27511 * time/time.h: Likewise.
27512 * wcsmbs/bits/wchar2.h: Likewise.
27513 * wcsmbs/uchar.h: Likewise.
27514 * wcsmbs/wchar.h: Likewise.
27515 * wctype/wctype.h: Likewise.
27516
0269750c
UD
27517 [BZ #13551]
27518 * Makeconfig: Remove all but ELF support including AIX support.
27519 * Makerules: Likewise.
27520 * config.h.in: Likewise.
27521 * config.make.in: Likewise.
27522 * configure: Likewise.
27523 * configure.in: Likewise.
27524 * csu/Makefile: Likewise.
27525 * csu/version.c: Likewise.
27526 * debug/Makefile: Likewise.
27527 * dlfcn/Makefile: Likewise.
27528 * elf/Makefile: Likewise.
27529 * extra-lib.mk: Likewise.
27530 * iconv/Makefile: Likewise.
27531 * include/libc-symbols.h: Likewise.
27532 * include/shlib-compat.h: Likewise.
27533 * resolv/Makefile: Likewise.
27534 * resolv/res_libc.c: Likewise.
27535 * rt/Makefile: Likewise.
27536 * sysdeps/i386/asm-syntax.h: Likewise.
27537 * sysdeps/i386/sysdep.h: Likewise.
27538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27539 * sysdeps/mach/sysdep.h: Likewise.
27540 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27541 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27542 * sysdeps/s390/asm-syntax.h: Likewise.
27543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27545 * sysdeps/sh/sysdep.h: Likewise.
27546 * sysdeps/unix/sparc/sysdep.h: Likewise.
27547 * sysdeps/wordsize-32/divdi3.c: Likewise.
27548 * sysdeps/x86_64/sysdep.h: Likewise.
27549
00bbd29b
UD
27550 * argp/Versions: Remove _argp_unlock_xxx.
27551
27552 [BZ #13559]
27553 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27554 * abilist/libBrokenLocale.abilist: Likewise.
27555 * abilist/libanl.abilist: Likewise.
27556 * abilist/libc.abilist: Likewise.
27557 * abilist/libcrypt.abilist: Likewise.
27558 * abilist/libdl.abilist: Likewise.
27559 * abilist/libm.abilist: Likewise.
27560 * abilist/libnsl.abilist: Likewise.
27561 * abilist/libpthread.abilist: Likewise.
27562 * abilist/libresolv.abilist: Likewise.
27563 * abilist/librt.abilist: Likewise.
27564 * abilist/libthread_db.abilist: Likewise.
27565 * abilist/libutil.abilist: Likewise.
27566 * abilist/libnss_db.abilist: New file.
27567
27568 * scripts/abilist.awk: Add support for indirect functions.
27569
a2693a0e
UD
27570 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27571
3f05895f
UD
27572 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27573
ecb6fb48
UD
27574 * shlib-versions: Remove entries for ports architectures.
27575
664f8cb9
UD
27576 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27577 files in ports.
27578 * elf/stackguard-macros.h: Remove support for IA-64.
27579 * elf/tst-auditmod1.c: Likewise.
27580 * sysdeps/generic/ldsodefs.h: Likewise.
27581
7ae81d88
UD
27582 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27583 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27584 configure files.
27585
bdeba135
UD
27586 [BZ #13552]
27587 * configure.in: Remove --enable-omitfp support.
27588 * FAQ.in: Adjust.
27589 * config.make.in: Likewise.
27590 * Makeconfig: Likewise.
27591 * manual/install.texi: Likewise.
27592
d75a0a62
UD
27593 In case anyone cares, the IA-64 architecture could move to ports.
27594 * sysdeps/ia64/*: Removed.
27595 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27596 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27597
dcc9756b
UD
27598 [BZ #13555]
27599 * configure.in: Remove entries for unsupported architectures.
27600
d3761ebc 27601 [BZ #13533]
9954432e
UD
27602 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27603 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27604 routines.
27605 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27606 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27607 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27608 fall back to using wcrtomb.
27609 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27610 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27611 renaming.
27612 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27613 * wcsmbs/tst-c16c32-1.c: New file.
27614
27615 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27616 local variable.
27617
c3a87236
UD
27618 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27619
28926a1b
UD
27620 * elf/tst-unique3.cc: Add explicit declaration of gets.
27621 * elf/tst-unique3lib.cc: Likewise.
27622 * elf/tst-unique3lib2.cc: Likewise.
27623 * elf/tst-unique4.cc: Likewise.
27624
df78418a
UD
27625 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27626
8ecd6b2a
JM
276272012-01-06 Joseph Myers <joseph@codesourcery.com>
27628
27629 [BZ #13566]
27630 * assert/assert.h (static_assert): Don't define for C++.
27631 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27632 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27633
9f115170
UD
276342012-01-03 Ulrich Drepper <drepper@gmail.com>
27635
5e0d0300
UD
27636 * iconv/loop.c (single loop): Fix assertion in storing of
27637 remaining bytes.
27638
9f115170
UD
27639 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27640
81fb02b0
UD
276412012-01-01 Ulrich Drepper <drepper@gmail.com>
27642
27643 * posix/getconf.c: Update copyright year.
27644 * nss/getent.c: Likewise.
a316c1f6 27645 * nss/makedb.c: Likewise.
81fb02b0
UD
27646 * iconv/iconvconfig.c: Likewise.
27647 * iconv/iconv_prog.c: Likewise.
27648 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27649 * elf/pldd.c: Likewise.
27650 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27651 * catgets/gencat.c: Likewise.
27652 * csu/version.c: Likewise.
27653 * elf/ldd.bash.in: Likewise.
27654 * elf/sprof.c (print_version): Likewise.
27655 * locale/programs/locale.c: Likewise.
27656 * locale/programs/localedef.c: Likewise.
a316c1f6 27657 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27658 * nscd/nscd.c (print_version): Likewise.
27659 * debug/xtrace.sh: Likewise.
27660 * malloc/memusage.sh: Likewise.
27661 * malloc/mtrace.pl: Likewise.
27662 * debug/catchsegv.sh: Likewise.
27663
2ba92745
JJ
276642011-12-30 Jakub Jelinek <jakub@redhat.com>
27665
27666 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27667 pure attribute.
27668
dadebdae
UD
276692011-12-24 Ulrich Drepper <drepper@gmail.com>
27670
d3761ebc 27671 [BZ #13533]
db6af3eb
UD
27672 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27673 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27674 transformations.
27675 * iconv/gconv_int.h: Likewise.
27676 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27677 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27678 from libc for GLIBC_2.16.
27679 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27680 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27681 * wcsmbs/uchar.h: Really define mbstate_t.
27682 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27683 * wcsmbs/c16rtomb.c: New file.
27684 * wcsmbs/mbrtoc16.c: New file.
27685 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27686 for C/POSIX locale.
27687 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27688 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27689
dadebdae
UD
27690 * wcsmbs/wchar.h: Add missing __restrict.
27691
67371b56
UD
276922011-12-23 Ulrich Drepper <drepper@gmail.com>
27693
74033a25
UD
27694 [BZ #13532]
27695 * time/Makefile (routines): Add timespec_get.
27696 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27697 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27698 timespec for ISO C11.
27699 * time/timespec_get.c: New file.
27700 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27701 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27702
380d7e87
UD
27703 [BZ #13531]
27704 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27705 * stdlib/stdlib.h: Declare aligned_alloc.
27706 * Versions.def: Add GLIBC_2.16 for libc.
27707 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27708
4e9e7a35
UD
27709 [BZ 13527]
27710 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27711 ISO C11.
27712
380d7e87 27713 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27714 code.
27715
03a71829
UD
27716 [BZ #13528]
27717 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27718
839e283e
UD
27719 [BZ #13529]
27720 * assert/assert.h (static_assert): Define.
27721
ce5294e2 27722 * version.h: Update for 2.16 development version.
90fa7312 27723
8d44e150 27724 [BZ #13526]
d7809905
UD
27725 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27726 _ISOC11_SOURCE.
27727
c0da14cd
UD
27728 * version.h (RELEASE): Bump for 2.15 release.
27729 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27730
530a3249
MP
27731 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27732 Patch by Marek Polacek <mpolacek@redhat.com>.
27733
67371b56
UD
27734 * bits/byteswap.h: Protect long long constants with __extension__.
27735 * sysdeps/i386/bits/byteswap.h: Likewise.
27736 * sysdeps/ia64/bits/byteswap.h: Likewise.
27737 * sysdeps/s390/bits/byteswap.h: Likewise.
27738 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27739
15db4de1
LD
277402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27741
27742 [BZ #13540]
bbe315ea
LD
27743 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27744 destination buffer.
15db4de1
LD
27745 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27746
2b2596b1
MP
277472011-12-23 Marek Polacek <polacek@redhat.com>
27748
27749 * elf/dl-addr.c (determine_info): Add inline keyword.
27750 * elf/tst-auditmod4b.c (check_avx): Likewise.
27751 * elf/tst-auditmod6b.c (check_avx): Likewise.
27752 * elf/tst-auditmod6c.c (check_avx): Likewise.
27753 * elf/tst-auditmod7b.c (check_avx): Likewise.
27754
70c6c246
UD
277552011-12-23 Ulrich Drepper <drepper@gmail.com>
27756
27757 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27758 !__SSE_MATH__.
27759
c044cf14
LD
277602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27761
15db4de1 27762 [BZ #13540]
c044cf14
LD
27763 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27764 processing for last bytes.
27765
6b13d9d9
BH
277662011-08-06 Bruno Haible <bruno@clisp.org>
27767
d455f537
BH
27768 [BZ #13061]
27769 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27770 U+0385, not to U+1FEE.
27771
6b13d9d9
BH
27772 [BZ #13062]
27773 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27774 entry for U+00A5 U+0301.
27775
db910efd
UD
277762011-12-22 Ulrich Drepper <drepper@gmail.com>
27777
27deeafc
UD
27778 [BZ #13166]
27779 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27780 buffer for the output is too small.
27781
aed9d171
UD
27782 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27783 optimization.
27784
db910efd
UD
27785 [BZ #13185]
27786 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27787 SSE flags if possible.
27788
2bd779ae
LD
277892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27790
e7f9dac3 27791 [BZ #13540]
2bd779ae
LD
27792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27793 processing for last bytes.
27794
154bfc16
JM
277952011-12-22 Joseph Myers <joseph@codesourcery.com>
27796
27797 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27798 (syscall-list-default-options, syscall-list-default-condition)
27799 (syscall-list-includes): Define.
27800 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27801 list of ABIs and options and #if conditions for each ABI. Do not
27802 handle common syscalls between ABIs specially.
27803 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27804 Remove.
27805 (syscall-list-variants, syscall-list-32bit-options)
27806 (syscall-list-32bit-condition, syscall-list-64bit-options)
27807 (syscall-list-64bit-condition): Define.
27808 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27809 (syscall-list-variants, syscall-list-32bit-options)
27810 (syscall-list-32bit-condition, syscall-list-64bit-options)
27811 (syscall-list-64bit-condition): Define.
27812 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27813 Remove.
27814 (syscall-list-variants, syscall-list-32bit-options)
27815 (syscall-list-32bit-condition, syscall-list-64bit-options)
27816 (syscall-list-64bit-condition): Define.
27817 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27818 Remove.
27819 (syscall-list-variants, syscall-list-32bit-options)
27820 (syscall-list-32bit-condition, syscall-list-64bit-options)
27821 (syscall-list-64bit-condition): Define.
27822
21eaf3a5
UD
278232011-12-22 Ulrich Drepper <drepper@gmail.com>
27824
16c6f992
UD
27825 * locale/iso-639.def: Add brx entry.
27826
41043168
UD
27827 [BZ #13328]
27828 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27829 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27830
21eaf3a5
UD
27831 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27832 __feraiseexcept_renamed.
27833
e3a851a2
UD
278342011-12-21 Ulrich Drepper <drepper@gmail.com>
27835
4920765e
UD
27836 [BZ #13538]
27837 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27838 EPOLLET with unsigned values.
27839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27841
e3a851a2
UD
27842 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27843 to large cancellation.
27844 * math/s_cacoshf.c: Likewise.
27845 * math/s_cacoshl.c: Likewise.
27846
b27e24b8
RK
278472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27848
27849 [BZ #13305]
aebefeee 27850 [BZ #12786]
b27e24b8
RK
27851 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27852 * math/s_cacoshf.c: Likewise.
27853 * math/s_cacoshl.c: Likewise.
27854
ee190f67
UD
278552011-12-21 Ulrich Drepper <drepper@gmail.com>
27856
27857 [BZ #13439]
27858 * iconv/gconv.h: Define __GCONV_SWAP.
27859 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27860 * iconvdata/utf-16.c: Likewise.
27861 * iconvdata/utf-32.c: Likewise.
27862
707f25df
AS
278632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27864
27865 [BZ #13524]
27866 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27867 numerator after shifting it by one limb.
27868
d2daaa1e
RÁE
278692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27870
27871 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27872 under [__USE_EXTERN_INLINES].
27873
a4647e72
UD
278742011-12-17 Ulrich Drepper <drepper@gmail.com>
27875
27876 [BZ #13446]
27877 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27878
f0b264f1
AZ
278792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27880
27881 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27882 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27883 optimized code.
27884 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27886 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27887 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27888 for strncasecmp/strncasecmp_l compilation.
27889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27890 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27891
8ef4f244
MP
278922011-12-08 Marek Polacek <mpolacek@redhat.com>
27893
27894 [BZ #13484]
27895 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27896 of __asm__.
27897
97ac2654
UD
278982011-12-17 Ulrich Drepper <drepper@gmail.com>
27899
27900 [BZ #13506]
27901 * time/tzfile.c (__tzfile_read): Check values from file header.
27902
91d2a845
WS
279032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27904
27905 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27906 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27907 * powerpc/powerpc32/dl-start.S: Likewise.
27908 * powerpc/powerpc32/elf/start.S: Likewise.
27909 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27910 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27911 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27912 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27913 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27914 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27915 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27916 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27917 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27918 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27919 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27920 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27921 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27922 * powerpc/powerpc32/memset.S: Likewise.
27923 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27924 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27925 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27926 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27927 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27928 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27929 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27930 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27931 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27932 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27933 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27934 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27935 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27936
a1267ba1
AZ
279372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27938
27939 * math/libm-test.inc: Added more nearbyint tests.
27940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27943 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27944
ad8ac1bd
RL
279452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27946
27947 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27948 FD_CLOEXEC.
27949
1d3e4b61
UD
279502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27951
27952 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27953 Add wcscpy-ssse3 wcscpy-c.
27954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27955 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27956 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27957 * sysdeps/x86_64/wcschr.S: New file.
27958 * sysdeps/x86_64/wcsrchr.S: New file.
27959 * string/test-strcmp.c: Remove checking of wcscmp function for
27960 wrong alignments.
27961 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27962 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27963 wcsrchr-sse2 wcsrchr-c.
27964 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27965 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27966 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27967 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27968 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27969 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27970 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27971 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27973 * wcsmbc/wcschr.c (WCSCHR): New macro.
27974
5b330a2d
UD
279752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27976
27977 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27978 * wcsmbs/test-wcsrchr.c: New file.
27979 * string/test-strrchr.c: Add wcsrchr support.
27980 (WIDE): New macro.
27981 * wcsmbs/test-wcscpy.c: New file.
27982 * string/test-strcpy.c: Add wcscpy support.
27983 (WIDE): New macro.
26428b7c 27984
f039c043
UD
279852011-12-10 Ulrich Drepper <drepper@gmail.com>
27986
27987 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27988 the inner loop.
27989
850fb039
AS
279902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27991
27992 [BZ #13472]
27993 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27994
4efbd5cb
UD
279952011-12-04 Ulrich Drepper <drepper@gmail.com>
27996
52ff5dd0 27997 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27998 Minor optimizations.
52ff5dd0 27999
4efbd5cb
UD
28000 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28001 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28002 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28003
8a426e12
UD
280042011-12-03 Ulrich Drepper <drepper@gmail.com>
28005
aff2453d
UD
28006 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28007 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28008 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28009 for gcc to avoid warnings.
28010 * inet/Makefile (tests): Add tst-checks.
28011 * inet/tst-checks.c: New file.
28012
28013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28014 warning.
28015
28016 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28017 __wmemcmp_sse2.
28018
28019 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28020 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28021
8a426e12
UD
28022 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28023
9bea3473
UD
280242011-12-02 Ulrich Drepper <drepper@gmail.com>
28025
3a965496
UD
28026 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28027 problem.
28028
9bea3473
UD
28029 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28030
f101631b
UD
280312011-11-29 Joseph Myers <joseph@codesourcery.com>
28032
28033 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28034 conditional on GCC version.
28035 (__arch_compare_and_exchange_val_8_acq)
28036 (__arch_compare_and_exchange_val_16_acq)
28037 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28038 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28039 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28040
a98275aa
UD
280412011-12-02 Joseph Myers <joseph@codesourcery.com>
28042
28043 * sysdeps/sh/backtrace.c: New file.
28044
d4cc29a2
AS
280452011-12-02 Andreas Schwab <schwab@redhat.com>
28046
28047 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28048 parenthesis.
28049
6257af2d
AS
280502011-12-01 Andreas Schwab <schwab@redhat.com>
28051
28052 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28053 falling back to utime.
28054
b5f44c1a
AS
280552011-11-30 Andreas Schwab <schwab@redhat.com>
28056
28057 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28058 expectations for float.
28059
f3a6cc0a
AS
280602011-11-29 Andreas Schwab <schwab@redhat.com>
28061
28062 * locale/weight.h (findidx): Add parameter len.
28063 * locale/weightwc.h (findidx): Likewise.
28064 * posix/fnmatch_loop.c (FCT): Adjust caller.
28065 * posix/regcomp.c (build_equiv_class): Likewise.
28066 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28067 * posix/regexec.c (check_node_accept_bytes): Likewise.
28068 * string/strcoll_l.c (STRCOLL): Likewise.
28069 * string/strxfrm_l.c (STRXFRM): Likewise.
28070
9d65ea3a
UD
280712011-11-17 Ulrich Drepper <drepper@gmail.com>
28072
28073 * Makefile.in: Remove CVSOPT handling.
28074 * configure.in: Remove use of AC_REVISION.
28075 * iconvdata/Makefile (distribute): No need to filter out CVS.
28076 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28077 handling.
28078
5583a086
AS
280792011-11-16 Andreas Schwab <schwab@redhat.com>
28080
28081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28082 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28083 [USE_AS_STRNCASECMP_L]: Likewise.
28084 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28085 NO_TLS_DIRECT_SEG_REFS.
28086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28087 Fix argument offsets for non-PIC.
28088 [USE_AS_STRNCASECMP_L]: Likewise.
28089 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28090 NO_TLS_DIRECT_SEG_REFS.
28091
d62a8200
UD
280922011-11-15 Ulrich Drepper <drepper@gmail.com>
28093
9d65ea3a 28094 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28095 O_CLOEXEC.
28096 * locale/loadlocale.c (_nl_load_locale): Likewise.
28097
09f93bd3
AS
280982011-11-15 Andreas Schwab <schwab@redhat.com>
28099
446514f9
AS
28100 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28101 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28103 (SYSCALL_GETTIME): Set errno on error.
28104
09f93bd3
AS
28105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28106 count references to noai6ai_cached.
28107
312be3f9
UD
281082011-11-15 Ulrich Drepper <drepper@gmail.com>
28109
28110 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28111
28112 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28113 FD_CLOEXEC for /proc/self/maps.
28114
28115 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28116 FD_CLOEXEC for /proc/meminfo.
28117
28118 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28119 gai.conf.
28120
28121 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28122 FD_CLOEXEC for given file.
28123
28124 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28125
28126 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28127 FD_CLOEXEC for /etc/hosts.
28128 (_gethtent): Likewise.
28129
28130 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28131
28132 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28133 cancellation and set FD_CLOEXEC for /etc/netgroup.
28134
28135 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28136 reading /etc/publickey.
28137
28138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28139 allow cancellation when reading /etc/group.
28140
28141 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28142 cancellation.
28143 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28144
28145 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28146 when using data file.
28147
28148 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28149
28150 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28151 (write_nis_obj): Use "c" and "e" in fopen.
28152
28153 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28154
28155 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28156
28157 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28158
28159 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28160
28161 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28162 locale.alias.
28163
28164 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28165
28166 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28167
28168 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28169
28170 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28171 file parsing and set FD_CLOEXEC.
28172
82af0fa8
UD
281732011-11-14 Ulrich Drepper <drepper@gmail.com>
28174
28175 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28176
a5fb313c
AS
281772011-11-14 Andreas Schwab <schwab@redhat.com>
28178
28179 * malloc/arena.c (arena_get2): Don't call reused_arena when
28180 _int_new_arena failed.
28181
6abf3465
UD
281822011-11-14 Ulrich Drepper <drepper@gmail.com>
28183
28184 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28185 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28190 to compile strcasecmp and strncasecmp.
28191 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28192 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28193
28194 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28195
76e3966e
UD
281962011-11-13 Ulrich Drepper <drepper@gmail.com>
28197
28198 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28199 locale-defines.sym to gen-as-const-headers.
28200 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28201 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28203 to compile strcasecmp and strncasecmp.
28204 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28205 strcasecmp_l and strncasecmp_l.
28206 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28207 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28208 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28209 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28210 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28211 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28212 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28213 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28214 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28215 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28216 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28217
ab26144e
UD
282182011-11-12 Ulrich Drepper <drepper@gmail.com>
28219
7edb22ef
UD
28220 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28221 result of SYSDEP_GETTIME_CPU to retval.
28222 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28223 parameter list to macro. Remove trailing semicolon. Adjust users.
28224
9694fc44
UD
28225 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28226 variable.
28227
8ad89ef8
UD
28228 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28229 mantissa words.
28230 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28231
0c822ef9
UD
28232 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28233 from unused variable.
28234
874e0564
UD
28235 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28236 DWARF definitions.
28237 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28238 for assembling.
28239
3a2edc79
UD
28240 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28241 over namespaces.
28242
f3c2577f
UD
28243 * sunrpc/rpc_prot.c (rejected): Fix case value.
28244
294ce126
UD
28245 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28246 unsigned long long int to avoid warnings in shift.
28247
5e2b63c6
UD
28248 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28249 of use of trans.
28250 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28251 variable tmp.
28252
e7f4b08e
UD
28253 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28254 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28255 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28256
ab26144e
UD
28257 * nis/nis_table.c (nis_list): Use variable of correct type for
28258 result of __follow_path call.
28259
8a6d5255
AZ
282602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28261
28262 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28263 of math functions ceil, trunc, floor, round, and sqrt, when
28264 avaliable on the platform.
28265 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28266 name clash.
28267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28268 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28269 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28270
aaddc98c
MP
282712011-10-30 Marek Polacek <mpolacek@redhat.com>
28272
28273 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28275
95b7042b
RM
282762011-11-11 Roland McGrath <roland@hack.frob.com>
28277
28278 * include/unistd.h: Fix __readlink return type.
28279 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28280
57769839
UD
282812011-11-11 Ulrich Drepper <drepper@gmail.com>
28282
28283 * stdlib/ucontext.h: Undo last change for makecontext.
28284
edc5984d
AS
282852011-11-11 Andreas Schwab <schwab@redhat.com>
28286
98591e58
AS
28287 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28288
edc5984d
AS
28289 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28290 * setjmp/setjmp.h: Mark functions as non-leaf.
28291 * setjmp/bits/setjmp2.h: Likewise.
28292 * stdlib/ucontext.h: Likewise.
28293
77cdc054
AS
282942011-11-10 Andreas Schwab <schwab@redhat.com>
28295
28296 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28297 (reused_arena): Don't check arena limit.
28298 (arena_get2): Atomically check arena limit.
28299
fe72eebd
UD
283002011-11-08 Ulrich Drepper <drepper@gmail.com>
28301
5f078c32
UD
28302 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28303 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28304
fe72eebd
UD
28305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28306 instructions.
28307
ae1bc2fa
AS
283082011-11-07 Andreas Schwab <schwab@redhat.com>
28309
7583a88d
AS
28310 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28311 handler when locking.
28312
ae1bc2fa
AS
28313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28314 Fix size of allocated buffer.
28315
10fb0bfa
AS
283162011-11-04 Andreas Schwab <schwab@redhat.com>
28317
998832a4
AS
28318 [BZ #10103]
28319 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28320 declarations for long double functions.
28321 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28322
10fb0bfa
AS
28323 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28324
3d7ba52b
AS
283252011-11-03 Andreas Schwab <schwab@redhat.com>
28326
a9ae54a1
AS
28327 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28328 installed.
28329
3d7ba52b
AS
28330 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28331 is disabled.
28332
bc8db248
ST
283332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28334
28335 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28336
45b96dd6
AS
283372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28338
647776f6
AS
28339 * include/alloca.h (stackinfo_alloca_round): Define.
28340 (extend_alloca): Use it.
28341 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28342 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28343 here.
28344
d91a8b93
AS
28345 * scripts/check-local-headers.sh: Ignore libaudit.h.
28346
45b96dd6
AS
28347 * nscd/Makefile (extra-objs): Make recursively expanded.
28348
432d41ce
UD
283492011-11-01 Ulrich Drepper <drepper@gmail.com>
28350
34372fc6
UD
28351 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28353
fadb59f8
UD
28354 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28355 * posix/tst-rfc3484-2.c: Likewise.
28356 * posix/tst-rfc3484-3.c: Likewise.
28357
78239589
UD
28358 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28359 process_vm_writev.
28360 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28361 process_vm_writev.
28362 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28363 process_vm_writev from libc using GLIBC_2.15 version.
28364
432d41ce
UD
28365 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28366
02f9c6cf
PP
283672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28368
28369 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28370 stack usage.
28371
3a2c0242
UD
283722011-10-31 Ulrich Drepper <drepper@gmail.com>
28373
f4ec4833
UD
28374 [BZ #13367]
28375 * nss/getent.c (initgroups_keys): Show error message in case no group
28376 names are given.
28377
3a2c0242
UD
28378 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28379 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28380 __bump_nl_timestamp.
28381 * nscd/connections (nscd_init): When host database is served open
28382 netlink socket and request notification about configuration changes.
28383 (main_loop_poll): Track netlink file descriptor and bump timestamp
28384 in case data becomes available.
28385 (main_loop_epoll): Likewise.
28386 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28387 (database_pers_head): Add extra_data fileds.
28388 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28390 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28391 Adjust caller.
28392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28393 in6ai data, call __free_in6ai.
28394 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28395 Add -DHAVE_NETLINK.
28396 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28397 interface information. Reuse previous data if netlink timestamp
28398 is not changed.
28399 (__bump_nl_timestamp): New function.
28400 (__free_in6ai): New function.
28401
636064eb
UD
284022011-10-30 Ulrich Drepper <drepper@gmail.com>
28403
28404 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28405 close_not_cancel_no_status here.
28406 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28407
9beb2334
UD
284082011-10-29 Ulrich Drepper <drepper@gmail.com>
28409
6ef76f3b
UD
28410 [BZ #13276]
28411 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28412 return value.
28413
0ffc4f3e 28414 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28415 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28416 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28417
cb95113e
UD
284182011-07-03 Andreas Jaeger <aj@suse.de>
28419
28420 [BZ #10709]
28421 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28422 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28423 * math/libm-test.inc (sin_test): Add test case.
28424
a1b560ff
UD
284252011-10-29 Ulrich Drepper <drepper@gmail.com>
28426
c9aaface
UD
28427 [BZ #13337]
28428 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28429 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28430
d272e7f1
UD
28431 * elf/chroot_canon.c (chroot_canon): Cleanups.
28432
1bc33071
UD
28433 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28434
1760874d
TJ
28435 [BZ #13335]
28436 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28438
51d91b18
UD
28439 * string/test-strchr.c: Make usable for strchrnul testing.
28440 * string/test-strchrnul.c: New file.
28441 * string/Makefile (strop-tests): Add strchrnul.
28442
a1b560ff 28443 * po/it.po: Update from translation team.
b611fb81 28444 * po/es.po: Likewise.
a1b560ff 28445
a5b81e1f
UD
284462011-10-28 Ulrich Drepper <drepper@gmail.com>
28447
fd52bc6d
UD
28448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28449 the three constants needed as parameters. Drop the others.
28450 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28451 __m128i_strloadu_tolower.
52e4b9eb
UD
28452 Create and initialize variable zero and use it in all the places
28453 where _mm_setzero_si128 was used.
fd52bc6d 28454
a5b81e1f
UD
28455 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28456 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28457 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28459 anymore.
28460 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28461 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28462 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28463 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28464 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28465 __mpranred, __mptan.
28466 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28467 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28468 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28469 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28470 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28471 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28473 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28474 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28475
b4343346
AS
284762011-10-28 Andreas Schwab <schwab@redhat.com>
28477
0c92d8a8
AS
28478 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28479 redefine if SHARED.
28480 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28481
b4343346
AS
28482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28483 wide char related routines to wcsmbs subdir.
28484
3871f58f
AS
284852011-10-27 Andreas Schwab <schwab@redhat.com>
28486
28487 [BZ #13344]
28488 * misc/sys/cdefs.h (__THROWNL): Define.
28489 * posix/unistd.h: Use __THREADNL instead of __THREAD
28490 for memory synchronization functions.
28491
94d44d9f
RM
284922011-10-26 Roland McGrath <roland@hack.frob.com>
28493
21b64b15 28494 [BZ #13349]
94d44d9f
RM
28495 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28496 doesn't exist.
28497 * manual/stdio.texi (Obstack Streams): Node removed.
28498
f6ce9294
AS
284992011-10-26 Andreas Schwab <schwab@redhat.com>
28500
80479147
AS
28501 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28502 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28503 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28504
f6ce9294
AS
28505 * math/math_private.h (math_force_eval): Allow non-addressable
28506 arguments.
28507 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28508
618280a1
UD
285092011-10-25 Ulrich Drepper <drepper@gmail.com>
28510
e0016b11
UD
28511 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28512 file is not needed.
28513
28514 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28515 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28517 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28518 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28520 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28521 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28522 Add AVX variants.
28523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28528 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28529 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28533 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28534 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28536 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28537 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28538 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28539 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28540 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28541 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28542
28543 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28544 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28545
618280a1
UD
28546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28547 place. Use VEX encoding when compiling for AVX.
28548
37822576
AS
285492011-10-25 Andreas Schwab <schwab@redhat.com>
28550
1f1e1947
AS
28551 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28552 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28553
37822576
AS
28554 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28555
31ea014d
UD
285562011-10-25 Ulrich Drepper <drepper@gmail.com>
28557
d7826aa1 28558 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28559 useless if() expression.
d7826aa1
UD
28560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28570 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28571 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28576 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28578 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28579
31ea014d
UD
28580 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28581
16437fec
AS
285822011-10-25 Andreas Schwab <schwab@redhat.com>
28583
28584 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28585 condition.
28586 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28587
31d3cc00
UD
285882011-10-25 Ulrich Drepper <drepper@gmail.com>
28589
28590 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28591 .text section. Avoid duplicate constants.
28592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28602 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28604 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28609 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28616 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28617 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28618 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28619 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28622 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28623 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28625 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28626 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28628 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28629 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28630 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28631 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28632 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28633 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28634 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28635 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28636 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28637
58985aa9
UD
286382011-10-24 Ulrich Drepper <drepper@gmail.com>
28639
202c9deb
UD
28640 * sysdeps/x86_64/dla.h: Move to ...
28641 * sysdeps/x86_64/fpu/dla.h: ...here.
28642 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28643 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28644
af968f62
UD
28645 * config.make.in: Add have-mfma4 entry.
28646 * configure.in: Substitute libc_cv_cc_fma4.
28647 * math/Makefile (dbl-only-routines): Add sincostab.
28648 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28649 Use __sincostab not sincos.
28650 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28651 name is a macro.
28652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28656 using __copysign.
28657 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28658 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28659 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28660 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28661 and __inv.
28662 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28663 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28664 __copysign.
28665 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28666 define aliases when function name is a macro.
28667 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28668 sysdeps/ieee754/dbl-64/sincos.tbl.
28669 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28670 fma4-enabled routines.
28671 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28672 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28673 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28674 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28678 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28680 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28681 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28683 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28701
58985aa9
UD
28702 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28703 rename.
28704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28712
a201fbcf
AS
287132011-10-24 Andreas Schwab <schwab@redhat.com>
28714
28715 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28716
fc2ee42a
LD
287172011-10-23 Ulrich Drepper <drepper@gmail.com>
28718
bb3129bd
UD
28719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28720
0275fff8
UD
28721 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28722 prediction.
28723 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28724
2fa2ae85
UD
28725 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28726 Remove unused variable magic_bits.
28727 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28728
fc2ee42a
LD
28729 * string/strnlen.c: Define and use STRNLEN macro.
28730 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28731 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28733 * wcsmbs/wcslen.c: Define and use WCSLEN.
28734 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28735 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28736 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28737 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28738 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28739 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28740 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28741
ce7dd29f
LD
287422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28743
28744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28745 strnlen-sse2-no-bsf.
28746 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28748 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28749 Add strnlen support.
28750 (USE_AS_STRNLEN): New macro.
28751 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28753 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28754 * sysdeps/x86_64/wcslen.S: New file.
28755
979c70a3
MZ
287562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28757
28758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28759 XMM-moves are used for copying on small sizes.
28760
2d09f82f
LD
287612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28762
28763 * wcsmbs/Makefile (strop-tests): Add wcschr.
28764 * wcsmbs/test-wcschr.c: New file.
28765 * string/test-strchr.c: Update.
28766 Add wcschr support.
28767 (WIDE): New macro.
28768
619fccca
LD
287692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28770
2d09f82f 28771 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28772 * wcsmbs/test-wcslen.c: New file.
28773 * string/test-strlen.c: Update.
28774 Add wcslen support.
28775 (WIDE): New macro.
28776
09f699ea
UD
287772011-10-23 Ulrich Drepper <drepper@gmail.com>
28778
28779 * po/it.po: Update from translation team.
28780
95584d3b
LD
287812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28782
28783 * sysdeps/x86_64/wcscmp.S: Update.
28784 Fix wrong comparison semantics.
28785 wcscmp shall use signed comparison not unsigned.
28786 Don't use substraction to avoid overflow bug.
28787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28788 * wcsmbc/wcscmp.c: Likewise.
28789 * string/test-strcmp.c: Likewise.
28790 Add new tests to check cases with negative values.
28791
c8b3296b
UD
287922011-10-23 Ulrich Drepper <drepper@gmail.com>
28793
28794 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28795 * sysdeps/x86_64/dla.h: ...here. New file.
28796 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28805
246ad57a
AS
288062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28807
28808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28809 __ynl_finite aliases.
28810
a1a87169
UD
288112011-10-22 Ulrich Drepper <drepper@gmail.com>
28812
0d355eb7
UD
28813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28814
a1a87169
UD
28815 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28816 define DLA_FMA.
28817 [DLA_FMA] (EMULV): Use DLA_FMA.
28818 [DLA_FMA] (MUL12): Use EMULV.
28819 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28820 that are not needed.
28821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28828
ee2aafe0
AS
288292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28830
28831 * math/s_nan.c: Undef __nan.
28832 * math/s_nanf.c: Undef __nanf.
28833 * math/s_nanl.c: Undef __nanl.
28834 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28835 "math_private.h".
28836
bc62c2fb
UD
288372011-10-22 Ulrich Drepper <drepper@gmail.com>
28838
77425c63
UD
28839 * math/s_catan.c: Add branch predictions.
28840 * math/s_catanf.c: Likewise.
28841 * math/s_catanh.c: Likewise.
28842 * math/s_catanhf.c: Likewise.
28843 * math/s_catanhl.c: Likewise.
28844 * math/s_catanl.c: Likewise.
28845 * math/s_cexp.c: Likewise.
28846 * math/s_cexpf.c: Likewise.
28847 * math/s_cexpl.c: Likewise.
28848 * math/s_clog.c: Likewise.
28849 * math/s_clog10.c: Likewise.
28850 * math/s_clog10f.c: Likewise.
28851 * math/s_clog10l.c: Likewise.
28852 * math/s_clogf.c: Likewise.
28853 * math/s_clogl.c: Likewise.
28854 * math/s_csqrt.c: Likewise.
28855 * math/s_csqrtf.c: Likewise.
28856 * math/s_csqrtl.c: Likewise.
28857 * math/s_ctanf.c: Likewise.
28858 * math/s_ctanh.c: Likewise.
28859 * math/s_ctanhf.c: Likewise.
28860 * math/s_ctanhl.c: Likewise.
28861 * math/s_ctanl.c: Likewise.
28862
bc62c2fb
UD
28863 * math/math_private.h: Define __nan, __nanf, __nanl.
28864 * math/s_cacosh.c: Include <math_private.h>.
28865 * math/s_cacoshl.c: Likewise.
28866 * math/s_casinh.c: Likewise.
28867 * math/s_casinhf.c: Likewise.
28868 * math/s_casinhl.c: Likewise.
28869 * math/s_ccos.c: Rely entire on ccosh.
28870 * math/s_ccosf.c: Rely entire on ccoshf.
28871 * math/s_ccosl.c: Rely entirely on ccoshl.
28872 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28873 Remove tests for FE_INVALID.
28874 * math/s_ccoshf.c: Likewise.
28875 * math/s_ccoshl.c: Likewise.
28876 * math/s_csin.c: Likewise.
28877 * math/s_csinf.c: Likewise.
28878 * math/s_csinh.c Likewise.
28879 * math/s_csinhf.c: Likewise.
28880 * math/s_csinhl.c: Likewise.
28881 * math/s_csinl.c: Likewise.
28882 * math/s_ctan.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28884 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28886
8ec250a4
UD
288872011-10-21 Ulrich Drepper <drepper@gmail.com>
28888
c196fed8
UD
28889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28890 compilation problems.
28891
8ec250a4
UD
28892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28893 __builtin_expect.
28894
8d4f46c6
UD
288952011-10-20 Ulrich Drepper <drepper@gmail.com>
28896
ed72b654
UD
28897 * sysdeps/i386/configure.in: Test for -mfma4 option.
28898 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28899 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28900 COMMON_CPUID_INDEX_80000001.
28901 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28902 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28903 use it if FMA3 is not supported.
28904 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28905
8d4f46c6
UD
28906 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28908
d45c60c2
AS
289092011-10-20 Andreas Schwab <schwab@redhat.com>
28910
28911 [BZ #12892]
28912 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28913 it would create a cycle with a link time dependency.
28914
d9a4d2ab
UD
289152011-10-19 Ulrich Drepper <drepper@gmail.com>
28916
855d1560
UD
28917 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28918 instruction.
28919 * string/Makefile (strop-tests): Add rawmemchr.
28920 * string/test-rawmemchr.c: New file.
28921
d9a4d2ab
UD
28922 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28923 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28924 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28925 when compiling str{,n}casecmp and when AVX is available. Hook up
28926 new optimized code in initializers.
28927
8f3b1ffe
AS
289282011-10-19 Andreas Schwab <schwab@redhat.com>
28929
28930 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28931 __feraiseexcept instead of feraiseexcept.
28932
d38f1dba
UD
289332011-10-18 Ulrich Drepper <drepper@gmail.com>
28934
d9a8d0ab
UD
28935 * math/math_private.h: Define defaults for libc_fetestexcept and
28936 libc_feupdateenv.
28937 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28938 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28939 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28940 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28941 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28942 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28943 libc_fetestexcept and libc_feupdateenv.
28944
4855e3dd
UD
28945 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28946 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28947 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28948 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28949 libc_feholdexcept_setround.
28950
581d30e3
UD
28951 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28952 Add s_nearbyint-c and s_nearbyintf-c.
28953 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28954 nearbyintf inlines.
28955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28956 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28957 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28958 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28959
d38f1dba
UD
28960 * math/math_private.h: Define defaults for libc_fegetround,
28961 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28962 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28963 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28965 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28966 standard functions.
28967 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28968 Remove comments and hacks for old compiler versions.
28969 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28970 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28971 libc_feholdexceptl.
28972
caa6c9d8
AS
289732011-10-18 Andreas Schwab <schwab@redhat.com>
28974
28975 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28976 (__feraiseexcept_renamed): Add __NTH.
28977 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28978 namespace violations.
28979
97c066e6
UD
289802011-10-17 Ulrich Drepper <drepper@gmail.com>
28981
99ce7b04
UD
28982 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28983
1004d182
UD
28984 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28985
228a984d
UD
28986 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28987 recently added interfaces.
28988 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28989
c8553a6a
UD
28990 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28991 about macro parameter expansion.
28992
ed22dcf6
UD
28993 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28994 __NO_MATH_INLINES is defined. Cleanups.
28995
28996 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28997 and __floorf is target has SSE4.1.
28998 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28999 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29000 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29001 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29002
b171c137
UD
29003 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29004 name.
29005 (floorf): Likewise.
29006
97c066e6
UD
29007 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29008
629f62ef
AS
290092011-10-17 Andreas Schwab <schwab@redhat.com>
29010
49a43d80
AS
29011 * misc/sys/cdefs.h: Fix last change.
29012
629f62ef
AS
29013 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29014 database lookup.
29015
e453f6cd
UD
290162011-10-16 Ulrich Drepper <drepper@gmail.com>
29017
aa78043a
UD
29018 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29019
ad0f5cad
UD
29020 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29028 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29029 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29030 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29031 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29032 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29033 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29035 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29036 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29037 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29038 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29039 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29040 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29041 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29042
29043 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29044 ceil, ceilf, floor, floorf.
29045
29046 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29047 Perform IRELATIVE relocations last.
29048
e453f6cd
UD
29049 * elf/do-rel.h: Add another parameter nrelative, replacing the
29050 local variable with the same name. Change name of the function
29051 to end in Rel or Rela (uppercase).
29052 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29053 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29054 elf_dynamic_do_##reloc function.
29055
fd5bdc09
UD
290562011-10-15 Ulrich Drepper <drepper@gmail.com>
29057
79b195b5
UD
29058 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29059 is sufficient, at least on modern CPUs.
29060
d4a28569
UD
29061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29062
b61099b5
UD
29063 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29064 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29065
bcf01e6d
UD
29066 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29067 __expl_finite.
29068 * math/bits/math-finite.h: Add entries for exp.
29069 * math/e_expl.c: Add __*_finite alias.
29070 * sysdeps/i386/fpu/e_exp.S: Likewise.
29071 * sysdeps/i386/fpu/e_expf.S: Likewise.
29072 * sysdeps/i386/fpu/e_expl.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29074 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29078 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29079 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29080
ba1a0d59
UD
29081 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29082 is sufficient, at least on modern CPUs.
29083
fd5bdc09
UD
29084 * ctype/ctype-info.c (__ctype_init): Define.
29085 * include/ctype.h (__ctype_init): Declare.
29086 (__ctype_b_loc): The variable is always initialized.
29087 (__ctype_toupper_loc): Likewise.
29088 (__ctype_tolower_loc): Likewise.
29089 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29090 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29091
7872cfb0
AS
290922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29093
b468825a
AS
29094 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29095
7872cfb0
AS
29096 * configure.in: Also look in $cxxmachine/include for C++ system
29097 headers.
29098
be13f7bf
LD
290992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29100
29101 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29102 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29103 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29104 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29105 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29106 (USE_AS_WMEMCMP): New macro.
29107 Fixing indents.
29108 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29109 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29110 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29111 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29113 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29114 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29116 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29117 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29119 (USE_AS_WMEMCMP): New macro.
29120 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29121 * sysdeps/string/test-memcmp.c: Update.
29122 Fix simple_wmemcmp.
29123 Add new tests.
29124 * wcsmbs/wmemcmp.c: Update.
29125 (WMEMCMP): New macro.
29126 Fix overflow bug.
29127
556a2007
AJ
291282011-10-12 Andreas Jaeger <aj@suse.de>
29129
29130 [BZ #13268]
29131 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29132
538faaa7
UD
291332011-10-15 Ulrich Drepper <drepper@gmail.com>
29134
ab6737ff
UD
29135 * libio/iofwide.c (do_length): Avoid warning.
29136
538faaa7
UD
29137 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29138
396a21b1
UD
291392011-10-14 Ulrich Drepper <drepper@gmail.com>
29140
cdf2901f
UD
29141 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29142
38ad40ce
UD
29143 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29144 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29145 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29146 * sysdeps/i386/i686/fpu/e_log.S: New file.
29147 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29148 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29149
396a21b1
UD
29150 * ctype/ctype.h: Add support for inlined isXXX functions when
29151 compiling C++ code.
29152
6b1f68c9
AS
291532011-10-14 Andreas Schwab <schwab@redhat.com>
29154
349290c0
AS
29155 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29156
6b1f68c9
AS
29157 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29158
f2282d42
RM
291592011-10-13 Roland McGrath <roland@hack.frob.com>
29160
29161 [BZ #13291]
29162 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29163
5298ffa8
AS
291642011-10-13 Andreas Schwab <schwab@redhat.com>
29165
714fad23
AS
29166 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29167 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29168 feraiseexcept.
29169
81dcc7fb
AS
29170 * sysdeps/x86_64/memrchr.S: Check for zero size.
29171
5298ffa8
AS
29172 * string/stratcliff.c: Add memrchr tests.
29173
951fbcec
LD
291742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29175
29176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29177 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29178 rawmemchr-sse2 rawmemchr-sse2-bsf.
29179 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29180 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29181 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29182 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29183 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29184 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29185 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29186 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29187 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29188 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29189 * string/memrchr.c (MEMRCHR): New macro.
29190
0ac5ae23
UD
291912011-10-12 Ulrich Drepper <drepper@gmail.com>
29192
29193 Add integration with gcc's -ffinite-math-only and optimize wrapper
29194 functions in libm.
29195 * Versions.def: Define GLIBC_2.15 version for libm.
29196 * math/Makefile (headers): Add bits/math-finite.h.
29197 * math/bits/math-finite.h: New file.
29198 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29199 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29200 * math/e_acoshl.c: Add __*_finite alias.
29201 * math/e_acosl.c: Likewise.
29202 * math/e_asinl.c: Likewise.
29203 * math/e_atan2l.c: Likewise.
29204 * math/e_atanhl.c: Likewise.
29205 * math/e_coshl.c: Likewise.
29206 * math/e_exp10.c: Likewise.
29207 * math/e_exp10f.c: Likewise.
29208 * math/e_exp10l.c: Likewise.
29209 * math/e_exp2l.c: Likewise.
29210 * math/e_fmodl.c: Likewise.
29211 * math/e_gammal_r.c: Likewise.
29212 * math/e_hypotl.c: Likewise.
29213 * math/e_j0l.c: Likewise.
29214 * math/e_j1l.c: Likewise.
29215 * math/e_jnl.c: Likewise.
29216 * math/e_lgammal_r.c: Likewise.
29217 * math/e_log10l.c: Likewise.
29218 * math/e_log2l.c: Likewise.
29219 * math/e_logl.c: Likewise.
29220 * math/e_powl.c: Likewise.
29221 * math/e_sinhl.c: Likewise.
29222 * math/e_sqrtl.c: Likewise.
29223 * math/e_scalb.c: Completely rewritten and optimized.
29224 * math/e_scalbf.c: Likewise.
29225 * math/e_scalbl.c: Likewise.
29226 * math/w_acos.c: Likewise.
29227 * math/w_acosf.c: Likewise.
29228 * math/w_acosl.c: Likewise.
29229 * math/w_acosh.c: Likewise.
29230 * math/w_acoshf.c: Likewise.
29231 * math/w_acoshl.c: Likewise.
29232 * math/w_asin.c: Likewise.
29233 * math/w_asinf.c: Likewise.
29234 * math/w_asinl.c: Likewise.
29235 * math/w_atan2.c: Likewise.
29236 * math/w_atan2f.c: Likewise.
29237 * math/w_atan2l.c: Likewise.
29238 * math/w_atanh.c: Likewise.
29239 * math/w_atanhf.c: Likewise.
29240 * math/w_atanhl.c: Likewise.
29241 * math/w_exp10.c: Likewise.
29242 * math/w_exp10f.c: Likewise.
29243 * math/w_exp10l.c: Likewise.
29244 * math/w_fmod.c: Likewise.
29245 * math/w_fmodf.c: Likewise.
29246 * math/w_fmodl.c: Likewise.
29247 * math/w_j0.c: Likewise.
29248 * math/w_j0f.c: Likewise.
29249 * math/w_j0l.c: Likewise.
29250 * math/w_j1.c: Likewise.
29251 * math/w_j1f.c: Likewise.
29252 * math/w_j1l.c: Likewise.
29253 * math/w_jn.c: Likewise.
29254 * math/w_jnf.c: Likewise.
29255 * math/w_log.c: Likewise.
29256 * math/w_logf.c: Likewise.
29257 * math/w_logl.c: Likewise.
29258 * math/w_log10.c: Likewise.
29259 * math/w_log10f.c: Likewise.
29260 * math/w_log10l.c: Likewise.
29261 * math/w_log2.c: Likewise.
29262 * math/w_log2f.c: Likewise.
29263 * math/w_log2l.c: Likewise.
29264 * math/w_pow.c: Likewise.
29265 * math/w_powf.c: Likewise.
29266 * math/w_powl.c: Likewise.
29267 * math/w_remainder.c: Likewise.
29268 * math/w_remainderf.c: Likewise.
29269 * math/w_remainderl.c: Likewise.
29270 * math/w_scalb.c: Likewise.
29271 * math/w_scalbf.c: Likewise.
29272 * math/w_scalbl.c: Likewise.
29273 * math/w_sqrt.c: Likewise.
29274 * math/w_sqrtf.c: Likewise.
29275 * math/w_sqrtl.c: Likewise.
29276 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29277 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29278 used.
29279 * math/math_private.h: Declare __kernel_standard_f.
29280 * math/w_cosh.c: Remove cruft and optimize a bit.
29281 * math/w_coshf.c: Likewise.
29282 * math/w_coshl.c: Likewise.
29283 * math/w_exp2.c: Likewise.
29284 * math/w_exp2f.c: Likewise.
29285 * math/w_exp2l.c: Likewise.
29286 * math/w_hypot.c: Likewise.
29287 * math/w_hypotf.c: Likewise.
29288 * math/w_hypotl.c: Likewise.
29289 * math/w_lgamma.c: Likewise.
29290 * math/w_lgamma_r.c: Likewise.
29291 * math/w_lgammaf.c: Likewise.
29292 * math/w_lgammaf_r.c: Likewise.
29293 * math/w_lgammal.c: Likewise.
29294 * math/w_lgammal_r.c: Likewise.
29295 * math/w_sinh.c: Likewise.
29296 * math/w_sinhf.c: Likewise.
29297 * math/w_sinhl.c: Likewise.
29298 * math/w_tgamma.c: Likewise.
29299 * math/w_tgammaf.c: Likewise.
29300 * math/w_tgammal.c: Likewise.
29301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29303 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29304 Minor optimizations. Pretty printing. Remove cruft.
29305 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29307 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29309 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29310 * sysdeps/i386/fpu/e_asin.S: Likewise.
29311 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29312 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29313 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29314 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29315 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29316 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29317 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29318 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29319 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29320 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29321 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29322 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29323 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29324 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29325 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29326 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29327 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29328 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29329 * sysdeps/i386/fpu/e_log.S: Likewise.
29330 * sysdeps/i386/fpu/e_log10.S: Likewise.
29331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29332 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29333 * sysdeps/i386/fpu/e_log2.S: Likewise.
29334 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29336 * sysdeps/i386/fpu/e_logf.S: Likewise.
29337 * sysdeps/i386/fpu/e_logl.S: Likewise.
29338 * sysdeps/i386/fpu/e_pow.S: Likewise.
29339 * sysdeps/i386/fpu/e_powf.S: Likewise.
29340 * sysdeps/i386/fpu/e_powl.S: Likewise.
29341 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29342 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29343 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29344 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29346 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29347 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29348 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29349 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29350 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29353 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29354 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29355 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29356 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29357 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29370 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29371 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29372 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29373 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29374 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29375 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29377 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29378 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29379 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29380 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29381 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29384 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29385 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29386 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29387 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29388 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29389 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29390 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29391 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29430 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29435 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29438 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29443 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29444 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29445 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29446 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29447 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29448 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29449 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29450 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29451 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29452 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29453 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29455 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29458 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29460 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29461 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29462 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29463 (__isnanf): Likewise.
29464 (__isinf_ns): Likewise.
29465 (__isinf_nsf): Likewise.
29466 (__finite): Likewise.
29467 (__finitef): Likewise.
29468 (__ieee754_sqrt): Define as macro.
29469 (__ieee754_sqrtf): Define as macro.
29470 (__ieee754_sqrtl): Define as macro.
29471 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29472 inlined copy.
29473 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29474 __FINITE_MATH_ONLY__ consistent.
29475 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29476
12cc2fcd
AS
294772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29478
a843a204
AS
29479 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29480 of rawmemchr.
29481
12cc2fcd
AS
29482 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29483
c853acd5
UD
294842011-10-09 Ulrich Drepper <drepper@gmail.com>
29485
29486 * po/ja.po: Update from translation team.
29487
c658d255
RM
294882011-10-08 Roland McGrath <roland@hack.frob.com>
29489
110946e4
RM
29490 * locale/programs/locarchive.c (prepare_address_space): New function.
29491 (create_archive, enlarge_archive, open_archive): Use it.
29492
50604220
RM
29493 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29494 inside [SHARED], where it is used.
29495
c658d255
RM
29496 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29497
29498 * nss/getent.c (netgroup_keys): Remove unused variable.
29499 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29500
6a621eb7
UD
295012011-10-08 Ulrich Drepper <drepper@gmail.com>
29502
7edb55ce
UD
29503 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29504 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29506 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29507 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29508 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29509 * math/Makefile (libm-calls): Add s_isinf_ns.
29510 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29511 * math/multc3.c: Likewise.
29512 * math/s_casin.c: Likewise.
29513 * math/s_casinf.c: Likewise.
29514 * math/s_casinl.c: Likewise.
29515 * math/s_ccos.c: Likewise.
29516 * math/s_ccosf.c: Likewise.
29517 * math/s_ccosl.c: Likewise.
29518 * math/s_ctan.c: Likewise.
29519 * math/s_ctanf.c: Likewise.
29520 * math/s_ctanh.c: Likewise.
29521 * math/s_ctanhf.c: Likewise.
29522 * math/s_ctanhl.c: Likewise.
29523 * math/s_ctanl.c: Likewise.
29524 * math/w_fmod.c: Likewise.
29525 * math/w_fmodf.c: Likewise.
29526 * math/w_fmodl.c: Likewise.
29527 * math/w_remainder.c: Likewise.
29528 * math/w_remainderf.c: Likewise.
29529 * math/w_remainderl.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29531 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29534 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29535 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29536 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29537 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29538
187da0ae
UD
29539 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29540 of the number.
29541 * stdio-common/printf_fphex.c: Likewise.
29542 * stdio-common/printf_size.c: Likewise.
29543
9277c064
UD
29544 * math/e_exp10.c: Include math_private.h using <...> not "...".
29545 * math/e_exp10f.c: Likewise.
29546 * math/e_exp10l.c: Likewise.
29547 * math/e_exp2l.c: Likewise.
29548 * math/e_j0l.c: Likewise.
29549 * math/e_j1l.c: Likewise.
29550 * math/e_jnl.c: Likewise.
29551 * math/e_lgammal_r.c: Likewise.
29552 * math/e_rem_pio2l.c: Likewise.
29553 * math/e_scalb.c: Likewise.
29554 * math/e_scalbf.c: Likewise.
29555 * math/e_scalbl.c: Likewise.
29556 * math/k_cosl.c: Likewise.
29557 * math/k_sinl.c: Likewise.
29558 * math/k_tanl.c: Likewise.
29559 * math/s_cacoshf.c: Likewise.
29560 * math/s_catan.c: Likewise.
29561 * math/s_catanf.c: Likewise.
29562 * math/s_catanh.c: Likewise.
29563 * math/s_catanhf.c: Likewise.
29564 * math/s_catanhl.c: Likewise.
29565 * math/s_catanl.c: Likewise.
29566 * math/s_ccosh.c: Likewise.
29567 * math/s_ccoshf.c: Likewise.
29568 * math/s_ccoshl.c: Likewise.
29569 * math/s_cexp.c: Likewise.
29570 * math/s_cexpf.c: Likewise.
29571 * math/s_cexpl.c: Likewise.
29572 * math/s_clog.c: Likewise.
29573 * math/s_clog10.c: Likewise.
29574 * math/s_clog10f.c: Likewise.
29575 * math/s_clog10l.c: Likewise.
29576 * math/s_clogf.c: Likewise.
29577 * math/s_clogl.c: Likewise.
29578 * math/s_csin.c: Likewise.
29579 * math/s_csinf.c: Likewise.
29580 * math/s_csinh.c: Likewise.
29581 * math/s_csinhf.c: Likewise.
29582 * math/s_csinhl.c: Likewise.
29583 * math/s_csinl.c: Likewise.
29584 * math/s_csqrt.c: Likewise.
29585 * math/s_csqrtf.c: Likewise.
29586 * math/s_csqrtl.c: Likewise.
29587 * math/s_ctan.c: Likewise.
29588 * math/s_ctanf.c: Likewise.
29589 * math/s_ctanh.c: Likewise.
29590 * math/s_ctanhf.c: Likewise.
29591 * math/s_ctanhl.c: Likewise.
29592 * math/s_ctanl.c: Likewise.
29593 * math/s_ldexp.c: Likewise.
29594 * math/s_ldexpf.c: Likewise.
29595 * math/s_ldexpl.c: Likewise.
29596 * math/s_significand.c: Likewise.
29597 * math/s_significandf.c: Likewise.
29598 * math/s_significandl.c: Likewise.
29599 * math/w_acos.c: Likewise.
29600 * math/w_acosf.c: Likewise.
29601 * math/w_acosh.c: Likewise.
29602 * math/w_acoshf.c: Likewise.
29603 * math/w_acoshl.c: Likewise.
29604 * math/w_acosl.c: Likewise.
29605 * math/w_asin.c: Likewise.
29606 * math/w_asinf.c: Likewise.
29607 * math/w_asinl.c: Likewise.
29608 * math/w_atan2.c: Likewise.
29609 * math/w_atan2f.c: Likewise.
29610 * math/w_atan2l.c: Likewise.
29611 * math/w_atanh.c: Likewise.
29612 * math/w_atanhf.c: Likewise.
29613 * math/w_atanhl.c: Likewise.
29614 * math/w_cosh.c: Likewise.
29615 * math/w_coshf.c: Likewise.
29616 * math/w_coshl.c: Likewise.
29617 * math/w_dremf.c: Likewise.
29618 * math/w_exp10.c: Likewise.
29619 * math/w_exp10f.c: Likewise.
29620 * math/w_exp10l.c: Likewise.
29621 * math/w_exp2.c: Likewise.
29622 * math/w_exp2f.c: Likewise.
29623 * math/w_fmod.c: Likewise.
29624 * math/w_fmodf.c: Likewise.
29625 * math/w_fmodl.c: Likewise.
29626 * math/w_hypot.c: Likewise.
29627 * math/w_hypotf.c: Likewise.
29628 * math/w_hypotl.c: Likewise.
29629 * math/w_j0.c: Likewise.
29630 * math/w_j0f.c: Likewise.
29631 * math/w_j0l.c: Likewise.
29632 * math/w_j1.c: Likewise.
29633 * math/w_j1f.c: Likewise.
29634 * math/w_j1l.c: Likewise.
29635 * math/w_jn.c: Likewise.
29636 * math/w_jnf.c: Likewise.
29637 * math/w_jnl.c: Likewise.
29638 * math/w_lgamma.c: Likewise.
29639 * math/w_lgamma_r.c: Likewise.
29640 * math/w_lgammaf.c: Likewise.
29641 * math/w_lgammaf_r.c: Likewise.
29642 * math/w_lgammal.c: Likewise.
29643 * math/w_lgammal_r.c: Likewise.
29644 * math/w_log.c: Likewise.
29645 * math/w_log10.c: Likewise.
29646 * math/w_log10f.c: Likewise.
29647 * math/w_log10l.c: Likewise.
29648 * math/w_log2.c: Likewise.
29649 * math/w_log2f.c: Likewise.
29650 * math/w_log2l.c: Likewise.
29651 * math/w_logf.c: Likewise.
29652 * math/w_logl.c: Likewise.
29653 * math/w_pow.c: Likewise.
29654 * math/w_powf.c: Likewise.
29655 * math/w_powl.c: Likewise.
29656 * math/w_remainder.c: Likewise.
29657 * math/w_remainderf.c: Likewise.
29658 * math/w_remainderl.c: Likewise.
29659 * math/w_scalb.c: Likewise.
29660 * math/w_scalbf.c: Likewise.
29661 * math/w_scalbl.c: Likewise.
29662 * math/w_sinh.c: Likewise.
29663 * math/w_sinhf.c: Likewise.
29664 * math/w_sinhl.c: Likewise.
29665 * math/w_sqrt.c: Likewise.
29666 * math/w_sqrtf.c: Likewise.
29667 * math/w_sqrtl.c: Likewise.
29668 * math/w_tgamma.c: Likewise.
29669 * math/w_tgammaf.c: Likewise.
29670 * math/w_tgammal.c: Likewise.
29671
6a621eb7
UD
29672 * po/ja.po: Update from translation team.
29673
bf582445
AJ
296742011-09-29 Andreas Jaeger <aj@suse.de>
29675
f9efbf3a
AJ
29676 [BZ #13179]
29677 * sunrpc/netname.c (netname2host): Fix logic.
29678
bf582445
AJ
29679 [BZ #6779]
29680 [BZ #6783]
29681 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29682 correctly.
29683 * math/w_remainder.c (__remainder): Likewise.
29684 * math/w_remainderf.c (__remainderf): Likewise.
29685 * math/libm-test.inc (remainder_test): Add test cases.
29686
48693bea
AK
296872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29688
29689 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29690 sdiv_qrnnd.
29691
42622229
LD
296922011-10-07 Ulrich Drepper <drepper@gmail.com>
29693
29694 * string/test-memcmp.c: Avoid unncessary #defines.
29695 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29696
093ecf92
LD
296972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29698
29699 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29700 Use new sse2 version for core i3 - i7 as it's faster
29701 than sse42 version.
29702 (bit_Prefer_PMINUB_for_stringop): New.
29703 * sysdeps/x86_64/rawmemchr.S: Update.
29704 Replace with faster SSE2 version.
29705 * sysdeps/x86_64/memrchr.S: New file.
29706 * sysdeps/x86_64/memchr.S: Update.
29707 Replace with faster SSE2 version.
29708
fde56e5c
MP
297092011-09-12 Marek Polacek <mpolacek@redhat.com>
29710
29711 * elf/dl-load.c (lose): Add cast to avoid warning.
29712
21fd49a9
UD
297132011-10-07 Ulrich Drepper <drepper@gmail.com>
29714
5a06e643
UD
29715 * po/ca.po: Update from translation team.
29716
684ae515
UD
29717 * inet/getnetgrent_r.c: Hook up nscd.
29718 * nscd/Makefile (routines): Add nscd_netgroup.
29719 (nscd-modules): Add netgroupcache.
29720 (CFLAGS-netgroupcache.c): Define.
29721 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29722 (cache_search): Add const to second parameter.
29723 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29724 INNETGR.
29725 (dbs): Add netgrdb entry.
29726 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29727 (verify_persistent_db): Handle netgrdb.
29728 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29729 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29730 GETFDNETGR.
29731 (netgroup_response_header): Define.
29732 (innetgroup_response_header): Define.
29733 (datahead): Add netgroup_response_header and innetgroup_response_header
29734 elements.
29735 * nscd/nscd.conf: Add entries for netgroup cache.
29736 * nscd/nscd.h (dbtype): Add netgrdb.
29737 (_PATH_NSCD_NETGROUP_DB): Define.
29738 (netgroup_iov_disabled): Declare.
29739 (xmalloc, xcalloc, xrealloc): Move declarations here.
29740 (cache_search): Adjust prototype.
29741 Add netgroup-related prototypes.
29742 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29743 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29744 (__nscd_innetgr): Declare.
29745 * nscd/selinux.c (perms): Use access_vector_t as element type and
29746 add netgroup-related initializers.
29747 * nscd/netgroupcache.c: New file.
29748 * nscd/nscd_netgroup.c: New file.
29749 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29750 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29751 For four parameters use innetgr.
29752 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29753 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29754 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29755 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29756
21fd49a9
UD
29757 * nscd/connections.c (register_traced_file): Don't register file
29758 for disabled databases.
29759
054c0457
UD
297602011-10-06 Ulrich Drepper <drepper@gmail.com>
29761
32b63198
UD
29762 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29763
054c0457
UD
29764 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29765 from tree and freeing node.
29766
64031225
JO
297672011-09-25 Jiri Olsa <jolsa@redhat.com>
29768
29769 * nss/nsswitch.c (__nss_database_lookup): Handle
29770 nss_parse_service_list out of memory case.
29771
0490345c
JO
297722011-09-15 Jiri Olsa <jolsa@redhat.com>
29773
29774 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29775 out of memory case.
29776
3a62d00d
AS
297772011-10-04 Andreas Schwab <schwab@redhat.com>
29778
29779 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29780 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29781 pass it down.
29782 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29783 elf_machine_rela, elf_machine_lazy_rel.
29784 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29785 (ELF_DYNAMIC_DO_REL): Likewise.
29786 (ELF_DYNAMIC_DO_RELA): Likewise.
29787 (ELF_DYNAMIC_RELOCATE): Likewise.
29788 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29789 to ELF_DYNAMIC_DO_REL.
29790 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29791 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29792 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29793 elf_machine_rela.
29794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29795 skip_ifunc, don't call ifunc function if non-zero.
29796 (elf_machine_rela): Likewise.
29797 (elf_machine_lazy_rel): Likewise.
29798 (elf_machine_lazy_rela): Likewise.
29799 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29800 (elf_machine_lazy_rel): Likewise.
29801 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29802 Likewise.
29803 (elf_machine_lazy_rel): Likewise.
29804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29805 Likewise.
29806 (elf_machine_lazy_rel): Likewise.
29807 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29808 (elf_machine_lazy_rel): Likewise.
29809 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29810 (elf_machine_lazy_rel): Likewise.
29811 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29812 (elf_machine_lazy_rel): Likewise.
29813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29814 (elf_machine_lazy_rel): Likewise.
29815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29816 (elf_machine_lazy_rel): Likewise.
29817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29818 (elf_machine_lazy_rel): Likewise.
29819
68577918
UD
298202011-09-28 Ulrich Drepper <drepper@gmail.com>
29821
29822 * nss/nss_files/files-init.c (_nss_files_init): Use static
29823 initialization for all the *_traced_file variables.
29824
68822d74
AS
298252011-09-28 Andreas Schwab <schwab@redhat.com>
29826
29827 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29828
2056100b
RM
298292011-09-27 Roland McGrath <roland@hack.frob.com>
29830
29831 [BZ #13226]
29832 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29833
32c76b63
AS
298342011-09-27 Andreas Schwab <schwab@redhat.com>
29835
29836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29837 Reread the line before reparsing it.
29838
bf972c9d
AS
298392011-09-26 Andreas Schwab <schwab@redhat.com>
29840
29841 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29842
e057a1b5
JM
298432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29844 Maxim Kuvyrkov <maxim@codesourcery.com>
29845 Joseph Myers <joseph@codesourcery.com>
29846
29847 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29848 if needed for __stack_chk_guard.
29849
bc7e1c36
RM
298502011-09-19 Roland McGrath <roland@hack.frob.com>
29851
ecb1482f
RM
29852 * sysdeps/posix/spawni.c (script_execute): Always define it.
29853 It will be optimized away if unused.
29854 (maybe_script_execute): New function.
29855 (__spawni): Call it.
29856
bc7e1c36
RM
29857 * Makerules: Don't include tls.make.
29858 (config-tls): Always set to thread.
29859 * tls.make.c: File removed.
29860
1c3b002b
MF
298612011-09-19 Mike Frysinger <vapier@gentoo.org>
29862
29863 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29864 * config.make.in (CPPFLAGS-config): New substituted variable.
29865
2840865d
UD
298662011-09-15 Ulrich Drepper <drepper@gmail.com>
29867
88738eb6
UD
29868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29869
cbf645a6 29870 [BZ #13192]
2840865d
UD
29871 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29872 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29873
b402e91a
RM
298742011-09-15 Roland McGrath <roland@hack.frob.com>
29875
29876 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29877 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29879 (CALL_FAIL): Likewise.
29880 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29881 (CALL_FAIL): Macro removed.
29882 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29883
4c1a1f71
UD
298842011-09-15 Ulrich Drepper <drepper@gmail.com>
29885
29886 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29887 for __FINITE_MATH_ONLY__ == 1.
29888
edc121be
AS
298892011-09-15 Andreas Schwab <schwab@redhat.com>
29890
29891 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29892 __ieee754_sqrt instead of sqrt.
29893 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29894 __ieee754_sqrtf instead of sqrtf.
29895 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29896 __floorf instead of floorf.
29897 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29898 __floorf, __truncf instead of floorf, truncf.
29899
cd205654
UD
299002011-09-14 Ulrich Drepper <drepper@gmail.com>
29901
ee4d0315
UD
29902 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29903
cd205654
UD
29904 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29905 __extern_always_inline.
29906 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29907 32-bit.
29908
48b67d71
AS
299092011-09-14 Andreas Schwab <schwab@redhat.com>
29910
29911 * elf/rtld.c (dl_main): Also relocate in dependency order when
29912 doing symbol dependency testing.
29913
1ae12c75
AS
299142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29915
29916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29917 Always define `refsym'.
29918
995a80df
AS
299192011-09-13 Andreas Schwab <schwab@redhat.com>
29920
e529793b
AS
29921 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29922 (__FD_ELT): Renamed from __FDELT.
29923 * misc/bits/select2.h (__FD_ELT): Likewise.
29924 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29925 __FD_MASK instead of __FDELT, __FDMASK.
29926 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29927 Likewise.
29928 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29929 Likewise.
29930
52d4fef8
AS
29931 * elf/Makefile (gen-ldd): Fix pattern.
29932
995a80df
AS
29933 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29934 (init_tls): Likewise.
29935
8682f8b0
UD
299362011-09-12 Ulrich Drepper <drepper@gmail.com>
29937
29938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29939
de82006d
AS
299402011-09-12 Andreas Schwab <schwab@redhat.com>
29941
a7c8e6a1
AS
29942 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29943 `struct cmsghdr *' instead of `void *'.
29944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29945 Likewise.
29946
0f31fe77
AS
299472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29948
29949 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29950 if non-absolute.
29951 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29952 ldd_rewrite_script.
0f31fe77 29953
32b4c839
UD
299542011-09-11 Ulrich Drepper <drepper@gmail.com>
29955
83cd1420
UD
29956 * configure.in: Remove --with-tls option.
29957 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29958 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29959 out in case it is missing.
29960 * sysdeps/ia64/elf/configure.in: Likewise.
29961 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29962 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29963 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29964 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29965 * sysdeps/sh/elf/configure.in: Likewise.
29966 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29968 * sysdeps/x86_64/elf/configure.in: Likewise.
29969 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29970 * sysdeps/mach/hurd/tls.h: Likewise.
29971
633f745d
UD
29972 [BZ #13067]
29973 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29974
f318beb8
UD
29975 [BZ #13090]
29976 * configure.in: Fix use of AC_INIT.
29977
32b4c839
UD
29978 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29979
3ce1f295
UD
299802011-09-10 Ulrich Drepper <drepper@gmail.com>
29981
bb016596
UD
29982 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29983 __set_errno.
8e58439c
UD
29984 * malloc/hooks.c: Likewise.
29985
aebae053 29986 [BZ #11929]
02d46fc4
UD
29987 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29988 variables statically.
29989 (narenas): Initialize.
29990 (list_lock): Initialize.
bb016596
UD
29991 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29992 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29993 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29994 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29995 Add initializers to main_arena and mp_.
29996 (malloc_state): Remove pagesize member. Change all users to use
29997 GLRO(dl_pagesize).
29998
29999 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30000 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30001 is always initialized.
30002
22a89187
UD
30003 * malloc/malloc.c: Removed unused configurations and dead code.
30004 * malloc/arena.c: Likewise.
30005 * malloc/hooks.c: Likewise.
02d46fc4 30006 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30007
d063d164
UD
30008 * include/tls.h: Removed. USE___THREAD must always be defined.
30009 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30010 * elf/dl-libc.c: Likewise.
30011 * elf/dl-tsd.c: Likewise.
30012 * include/errno.h: Likewise.
30013 * include/netdb.h: Likewise.
30014 * include/resolv.h: Likewise.
30015 * inet/herrno-loc.c: Likewise.
30016 * inet/herrno.c: Likewise.
30017 * malloc/arena.c: Likewise.
30018 * malloc/hooks.c: Likewise.
30019 * malloc/malloc.c: Likewise.
30020 * resolv/res-state.c: Likewise.
30021 * resolv/res_libc.c: Likewise.
30022 * sysdeps/i386/dl-machine.h: Likewise.
30023 * sysdeps/ia64/dl-machine.h: Likewise.
30024 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30025 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30026 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30027 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30028 * sysdeps/sh/dl-machine.h: Likewise.
30029 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30031 * sysdeps/unix/i386/sysdep.S: Likewise.
30032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30033 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30037 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30038 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30043 * sysdeps/x86_64/dl-machine.h: Likewise.
30044 * tls.make.c: Likewise.
30045
3ce1f295
UD
30046 * configure.in: Remove --with-__thread option. Make tests for
30047 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30048 tls_model attribute fail if no support is available. Remove
30049 USE_IN_LIBIO.
30050 * Makeconfig: Adjust for dropped configure option. All features are
30051 now mandatory.
30052 * Makerules: Likewise.
30053 * Versions.def: Likewise.
30054 * argp/argp-fmtstream.c: Likewise.
30055 * argp/argp-fmtstream.h: Likewise.
30056 * argp/argp-help.c: Likewise.
30057 * assert/assert.c: Likewise.
30058 * config.h.in: Likewise.
30059 * config.make.in: Likewise.
30060 * configure: Likewise.
30061 * configure.in: Likewise.
30062 * csu/Versions: Likewise.
30063 * csu/init.c: Likewise.
30064 * elf/tst-audit2.c: Likewise.
30065 * elf/tst-tls10.c: Likewise.
30066 * elf/tst-tls10.h: Likewise.
30067 * elf/tst-tls11.c: Likewise.
30068 * elf/tst-tls12.c: Likewise.
30069 * elf/tst-tls14.c: Likewise.
30070 * elf/tst-tlsmod11.c: Likewise.
30071 * elf/tst-tlsmod12.c: Likewise.
30072 * elf/tst-tlsmod13.c: Likewise.
30073 * elf/tst-tlsmod13a.c: Likewise.
30074 * elf/tst-tlsmod14a.c: Likewise.
30075 * elf/tst-tlsmod15b.c: Likewise.
30076 * elf/tst-tlsmod16a.c: Likewise.
30077 * elf/tst-tlsmod16b.c: Likewise.
30078 * elf/tst-tlsmod7.c: Likewise.
30079 * elf/tst-tlsmod8.c: Likewise.
30080 * elf/tst-tlsmod9.c: Likewise.
30081 * gmon/gmon.c: Likewise.
30082 * grp/fgetgrent_r.c: Likewise.
30083 * grp/putgrent.c: Likewise.
30084 * hurd/fopenport.c: Likewise.
30085 * include/libc-symbols.h: Likewise.
30086 * include/tls.h: Likewise.
30087 * intl/gettextP.h: Likewise.
30088 * intl/loadinfo.h: Likewise.
30089 * locale/global-locale.c: Likewise.
30090 * locale/localeinfo.h: Likewise.
30091 * mach/devstream.c: Likewise.
30092 * malloc/arena.c: Likewise.
30093 * malloc/set-freeres.c: Likewise.
30094 * misc/err.c: Likewise.
30095 * misc/getttyent.c: Likewise.
30096 * misc/mntent_r.c: Likewise.
30097 * posix/getopt.c: Likewise.
30098 * posix/wordexp.c: Likewise.
30099 * pwd/fgetpwent_r.c: Likewise.
30100 * resolv/Versions: Likewise.
30101 * resolv/res_hconf.c: Likewise.
30102 * shadow/fgetspent_r.c: Likewise.
30103 * shadow/putspent.c: Likewise.
30104 * stdio-common/printf_fphex.c: Likewise.
30105 * stdio-common/tmpfile.c: Likewise.
30106 * stdlib/abort.c: Likewise.
30107 * stdlib/fmtmsg.c: Likewise.
30108 * sunrpc/auth_unix.c: Likewise.
30109 * sunrpc/clnt_perr.c: Likewise.
30110 * sunrpc/clnt_tcp.c: Likewise.
30111 * sunrpc/clnt_udp.c: Likewise.
30112 * sunrpc/clnt_unix.c: Likewise.
30113 * sunrpc/openchild.c: Likewise.
30114 * sunrpc/svc_simple.c: Likewise.
30115 * sunrpc/svc_tcp.c: Likewise.
30116 * sunrpc/svc_udp.c: Likewise.
30117 * sunrpc/svc_unix.c: Likewise.
30118 * sunrpc/xdr.c: Likewise.
30119 * sunrpc/xdr_array.c: Likewise.
30120 * sunrpc/xdr_rec.c: Likewise.
30121 * sunrpc/xdr_ref.c: Likewise.
30122 * sunrpc/xdr_stdio.c: Likewise.
30123
1248c1c4
PB
301242011-09-09 Ulrich Drepper <drepper@gmail.com>
30125
30126 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30127
301282011-07-03 Andreas Jaeger <aj@suse.de>
30129
30130 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30131 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30132 regenerate with gen-libm-tests.pl.
30133
301342010-05-12 Petr Baudis <pasky@suse.cz>
30135
30136 [BZ #11589]
30137 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30138 around j0() zero points by switching to j1().
30139 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30143
f22e1074
UD
301442011-09-09 Ulrich Drepper <drepper@gmail.com>
30145
f19009c1
UD
30146 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30147 instead of 0.
30148 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30149 instead of 0.
f19009c1
UD
30150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30151 Patch in part by Pavel Roskin <proski@gnu.org>.
30152
3f8cc204
UD
30153 [BZ #13138]
30154 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30155 realloc.
30156 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30157 Free memory block if necessary.
30158
f22e1074
UD
30159 [BZ #12847]
30160 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30161 be NULL. Don't lock in this case.
30162
0a2349f9
RM
301632011-09-09 Roland McGrath <roland@hack.frob.com>
30164
30165 * elf/elf.h (ELFOSABI_GNU): New macro.
30166 (ELFOSABI_LINUX): Define to that.
30167
f3cdd467
DZ
301682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30169
30170 * string/strncat.c (strncat): Undef the symbol in case it has been
30171 defined in bits/string.h.
30172
74718d13
UD
301732011-09-09 Ulrich Drepper <drepper@gmail.com>
30174
633e9e0f
UD
30175 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30176
0a2349f9 30177 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30178 link map.
30179
f9924780
AJ
301802011-08-17 Andreas Jaeger <aj@suse.de>
30181
30182 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30183
7f5517aa
PP
301842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30185 Ian Lance Taylor <iant@google.com>
30186
30187 * math/libm-test.inc (lround_test): New testcase.
30188 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30189
762011fe
UD
301902011-09-08 Ulrich Drepper <drepper@gmail.com>
30191
92963737
UD
30192 * Makefile: Remove support for automatic cvs check-ins.
30193 * Makerules: Likewise.
30194 * config.make.in: Likewise.
30195 * configure.in: Likewise.
30196 * intl/Makefile: Likewise.
30197 * locale/Makefile: Likewise.
30198 * po/Makefile: Likewise.
30199 * posix/Makefile: Likewise.
30200 * sysdeps/gnu/Makefile: Likewise.
30201 * sysdeps/mach/hurd/Makefile: Likewise.
30202 * sysdeps/sparc/sparc32/Makefile: Likewise.
30203
b0727fd8
JS
30204 [BZ #13118]
30205 * posix/Makefile (bug-regex32-ENV): Define.
30206 Patch by John Stanley <jpsinthemix@verizon.net>.
30207
a0f33f99
UD
30208 * misc/Makefile (headers): Add bits/select2.h.
30209 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30210 * misc/bits/select2.h: New file.
30211 * include/bits/select2.h: New file.
30212 * debug/Makefile (routines): Add fdelt_chk.
30213 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30214 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30215 FD_ISSET.
30216 * debug/fdelt_chk.c: New file.
30217
762011fe
UD
30218 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30219 * wcsmbs/test-wmemcmp.c: Likewise.
30220 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30221 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30222
302232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30224
30225 * string/Makefile (strop-tests): Add memcmp.
30226 * string/test-wmemcmp.c: New file.
30227 * string/test-memcmp.c: Add wmemcmp support.
30228
7f513ec8
RM
302292011-09-08 Roland McGrath <roland@hack.frob.com>
30230
0442afb4
RM
30231 [BZ #13153]
30232 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30233 2011-07-19 change.
30234
7f513ec8
RM
30235 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30236 garbage value in a __mach_port_mod_refs call in the cases of the
30237 task-self and thread-self ports.
30238
a12b2239
ST
302392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30240
30241 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30242
610f9ab4
AS
302432011-09-08 Andreas Schwab <schwab@redhat.com>
30244
7f513ec8 30245 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30246
48882a1a
LD
302472011-09-07 Ulrich Drepper <drepper@gmail.com>
30248
b49865be
UD
30249 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30250
fdc86bc9
UD
30251 * elf/dl-libc.c (dlerror_run): Pass back error code from
30252 dl_catch_error.
30253
c966526a
UD
30254 [BZ #13123]
30255 * elf/dl-load.c (lose): Free l_origin if it is valid.
30256
48882a1a
LD
30257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30258 names.
30259 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30260 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30261 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30262 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30263 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30264 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30265
77a2a8b4
AZ
302662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30267
30268 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30269 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30270 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30271 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30272 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30273 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30274 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30275 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30276 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30277 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30278
24f579d8
AM
302792011-08-15 Alan Modra <amodra@gmail.com>
30280
30281 [BZ #13092]
30282 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30283 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30284 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30285 ppc_mcount to static-only-routines.
30286 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30287 __mcount_internal.
30288 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30289 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30290
3d4837df
UD
302912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30292
30293 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30294 for finite and infinity parameters.
30295
22700377
WS
302962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30297
30298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30299 and add nop instructions for throughput optimization.
30300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30301
5025581e
WS
303022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30303
30304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30305 aligned copy for power7 with vector-scalar instructions.
30306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30307
08a300c9
L
303082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30309
30310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30311 AVX check.
30312
59178ef9
AS
303132011-09-07 Andreas Schwab <schwab@redhat.com>
30314
30315 [BZ #13144]
30316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30317 last change.
30318
e38ba7ab
UD
303192011-09-07 Ulrich Drepper <drepper@gmail.com>
30320
30321 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30322 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30323 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30324 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30325 clock_gettime.
30326
d53a73ac
UD
303272011-09-06 Ulrich Drepper <drepper@gmail.com>
30328
fc8bffcc
UD
30329 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30330 Forgot to demangle the pointer.
30331
ceaa0c5d
UD
30332 * sysdeps/i386/sysdep.h: Define atom_text_section.
30333 * sysdeps/x86_64/sysdep.h: Likewise.
30334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30335 section with atom_text_section.
30336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30337 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30338 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30341
a77d3c17
UD
30342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30343 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30344 already be defined. Change to take two parameters and don't assign
30345 result to variable. Adjust all users.
30346 Define INTERNAL_GETTIME if not already defined.
30347 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30348 call.
30349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30350 HAVE_CLOCK_GETTIME_VSYSCALL.
30351 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30352
d53a73ac
UD
30353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30354 gettimeofday vsyscall, just use time.
30355
a8f84144
AS
303562011-09-06 Andreas Schwab <schwab@redhat.com>
30357
30358 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30359 <errno.h>.
30360
ef606249
UD
303612011-09-06 Ulrich Drepper <drepper@gmail.com>
30362
30363 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30364 syscall on x86-64.
30365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30366 syscall.
30367 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30368 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30369 syscall if possible.
30370
6585cb60
UD
303712011-09-05 Ulrich Drepper <drepper@gmail.com>
30372
30373 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30374 e_ident. Don't pass to find_mapsXX.
30375 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30376
a5f524e4
LD
303772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30378
30379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30380 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30381 * sysdeps/x86_64/multiarch/strchr.S: Update.
30382 Check bit_slow_BSF bit.
30383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30384 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30385 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30386
554881ef
UD
303872011-09-05 Ulrich Drepper <drepper@gmail.com>
30388
d96de963
UD
30389 [BZ #13134]
30390 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30391 before glibc 2.15.
30392 (tryshell): Define.
30393 (__spawni): Change last parameter to be flag. Test
30394 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30395 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30396 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30397 * posix/spawni.c: Likewise.
30398 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30399 * posix/spawnp.c: Likewise. Change normal version to use
30400 SPAWN_XFLAGS_USE_PATH.
30401 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30402 SPAWN_XFLAGS_TRY_SHELL.
30403
d48e5868
UD
30404 [BZ #13150]
30405 * posix/glob.h: Remove gcc 1.x support.
30406
554881ef
UD
30407 [BZ #13068]
30408 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30409
693fb948
LD
304102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30411
30412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30413 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30414 strrchr-sse2-bsf
30415 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30416 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30418 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30419 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30421
1b48c537
UD
304222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30423
49d42c37
UD
30424 * sysdeps/x86_64/wcscmp.S: New file.
30425
1b48c537
UD
30426 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30427 wcscmp-c wcscmp-sse2
30428 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30429 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30430 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30431 * wcsmbs/wcscmp.c: Allow renaming.
30432
15c95c5d
DM
304332011-09-05 David S. Miller <davem@davemloft.net>
30434
30435 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30436 stack slot, rather than the struct return pointer slot.
30437 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30438 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30441
2f0ad8f3
UD
304422011-09-05 Ulrich Drepper <drepper@gmail.com>
30443
d88ae418
UD
30444 * po/ja.po: Update from translation team.
30445
2f0ad8f3
UD
30446 [BZ #13144]
30447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30448 kernel in 64-bit binaries.
30449
5f4318d1
DM
304502011-09-01 David S. Miller <davem@davemloft.net>
30451
30452 * elf/elf.h (HWCAP_SPARC_*): Move to..
30453 * sysdeps/sparc/sysdep.h: this new file and add new values.
30454 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30455 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30456 _DL_HWCAP_COUNT to 24.
30457 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30458 entries.
30459 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30460 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30461 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30463 instead of magic constants.
30464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30465
3ba57516
DM
304662011-08-31 David S. Miller <davem@davemloft.net>
30467
30468 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30470 Reimplement to do errno handling inline.
30471 (SYSCALL_ERROR_HANDLER): New macro.
30472 (__SYSCALL_STRING): Do not do errno handling in asm.
30473 (__CLONE_SYSCALL_STRING): Delete.
30474 (__INTERNAL_SYSCALL_STRING): Delete.
30475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30476 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30477 (PSEUDO): Reimplement to do errno handling inline.
30478 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30479 (SYSCALL_ERROR_HANDLER): New macro.
30480 (__SYSCALL_STRING): Do not do errno handling in asm.
30481 (__CLONE_SYSCALL_STRING): Delete.
30482 (__INTERNAL_SYSCALL_STRING): Delete.
30483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30484 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30485 i386.
30486 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30487 (inline_syscall*): Add 'err' argument.
30488 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30489 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30490 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30491 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30492
30493 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30495
2bc17433
AS
304962011-08-30 Andreas Schwab <schwab@redhat.com>
30497
30498 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30499
fbeb5f4d
JO
305002011-08-29 Jiri Olsa <jolsa@redhat.com>
30501
30502 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30503 directive.
30504
ad69cc26
DM
305052011-08-24 David S. Miller <davem@davemloft.net>
30506
30507 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30508
39dd69df
AS
305092011-08-24 Andreas Schwab <schwab@redhat.com>
30510
30511 * elf/Makefile: Add rules to build and run unload8 test.
30512 * elf/unload8.c: New file.
30513 * elf/unload8mod1.c: New file.
30514 * elf/unload8mod1x.c: New file.
30515 * elf/unload8mod2.c: New file.
30516 * elf/unload8mod3.c: New file.
30517
30518 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30519 it wasn't used.
30520
2c0b250a
DM
305212011-08-23 David S. Miller <davem@davemloft.net>
30522
30523 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30524 subtract stack bias.
30525 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30526 %sp not %fp in calculations.
30527 (_JMPBUF_UNWINDS_ADJ): Likewise.
30528
22044b48
DM
30529 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30530 (aio_suspend): Call it to force an exception region around the
30531 AIO_MISC_WAIT() invocation.
30532
2cae4995
AS
305332011-08-23 Andreas Schwab <schwab@redhat.com>
30534
30535 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30536 backslash.
30537
873a772e
AJ
305382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30539
30540 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30541 protection macro.
30542 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30543 and <dl-machine.h>.
30544 (Elf64_FuncDesc): Remove.
30545
25ad0df1
DM
305462011-08-22 David S. Miller <davem@davemloft.net>
30547
30548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30549 sigaltstack check, add missing cfi directives.
30550 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30551 missing cfi directives, and sigaltstack handling.
30552
e888bcbe
AS
305532011-08-16 Andreas Schwab <schwab@redhat.com>
30554
30555 [BZ #11724]
30556 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30557 object is seen twice.
30558 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30559
30560 * elf/Makefile (distribute): Add tst-initorder2.c.
30561 (tests): Add tst-initorder2.
30562 (modules-names): Add tst-initorder2a tst-initorder2b
30563 tst-initorder2c tst-initorder2d. Add rules to build them.
30564 ($(objpfx)tst-initorder2.out): New rule.
30565 * elf/tst-initorder2.c: New file.
30566 * elf/tst-initorder2.exp: New file.
30567
87162f46
AS
305682011-08-22 Andreas Schwab <schwab@redhat.com>
30569
70538b7f
AS
30570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30571
f55ffe58
AS
30572 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30573 dependencies back to end of function.
30574
87162f46
AS
30575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30576 $(elfobjdir)/ld.so.
30577
91b392a4
UD
305782011-08-21 Ulrich Drepper <drepper@gmail.com>
30579
30580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30581 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30583 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30584 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30585 of __vdso_gettimeofday.
30586 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30587 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30588 attribute_hidden.
30589 (_libc_vdso_platform_setup): Remove initialization of
30590 __vdso_gettimeofday and __vdso_time.
30591
5c43483f
UD
305922011-08-20 Ulrich Drepper <drepper@gmail.com>
30593
775a77e7
UD
30594 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30595 and fgetc_unlocked.
30596 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30597 getc_unlocked.
89f447ed 30598
49c74ba9
UD
30599 * elf/dl-open.c (add_to_global): Report additions to the global scope
30600 for LD_DEBUG=scopes.
30601 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30602 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30603
5c43483f
UD
30604 [BZ #13114]
30605 * stdio-common/Makefile (tests): Add bug24.
30606 * stdio-common/bug24.c: New file.
30607
a101b025
AJ
306082011-08-19 Andreas Jaeger <aj@suse.de>
30609
30610 [BZ #13114]
30611 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30612 non-existant file when using close-on-exec mode.
30613
c88f1766
UD
306142011-08-20 Ulrich Drepper <drepper@gmail.com>
30615
0276a718
UD
30616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30617 the very first instruction.
30618
c88f1766
UD
30619 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30620 the CFI state in the end.
30621 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30622 inclusion of dl-trampoline.h.
30623 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30624
51ccffa0
AS
306252011-08-19 Andreas Schwab <schwab@redhat.com>
30626
94d7165f
AS
30627 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30628 expectations for long double.
30629
51ccffa0
AS
30630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30631 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30632
fd708658 306332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30634
30635 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30636 artificual limit depends upon the system page size.
30637
44f0a71e
UD
306382011-08-17 Ulrich Drepper <drepper@gmail.com>
30639
30640 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30641 * resolv/Makefile: Define CFLAGS-libresolv.
30642
8de79a24
AS
306432011-08-17 Andreas Schwab <schwab@redhat.com>
30644
30645 * nss/makedb.c (compute_tables): Make variables used in nested
30646 function static.
30647
27724598
UD
306482011-08-17 Ulrich Drepper <drepper@gmail.com>
30649
c5305d88
UD
30650 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30651 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30652 if buffer was too small.
30653
27724598
UD
30654 * elf/pldd.c (main): Attach to all threads in the process.
30655 Rewrite /proc handling to use *at functions.
30656
076fe015
UD
306572011-08-16 Ulrich Drepper <drepper@gmail.com>
30658
174baab3
UD
30659 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30660 specifies first scope to show.
30661 (dl_open_worker): Update callers. Move printing scope of new
30662 object to before the relocation.
44f0a71e 30663 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30664 * sysdeps/generic/ldsodefs.h: Update declaration.
30665
076fe015
UD
30666 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30667 string for the scope number.
30668
a60df2c3
UD
306692011-08-14 Ulrich Drepper <drepper@gmail.com>
30670
30671 * nscd/servicescache.c (cache_addserv): Make sure written is always
30672 initialized.
30673
5e4287d1
RM
306742011-08-14 Roland McGrath <roland@hack.frob.com>
30675
85ae0589
RM
30676 * sysdeps/i386/i486/bits/atomic.h
30677 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30678 statement expression, so as to suppress "set but not used" warning.
30679 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30680
69f63097
RM
30681 * string/strncat.c (STRNCAT): Use prototype definition.
30682
675456ef
RM
30683 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30684 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30685 -Iprograms here.
30686 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30687 (localedef-modules): Add localedef.
30688 (locale-modules): Add locale.
30689
5e4287d1
RM
30690 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30691 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30692 to avoid a warning.
30693
9c96ff23
DM
306942011-08-14 David S. Miller <davem@davemloft.net>
30695
30696 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30697 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30698
f9ddf089
UD
306992011-08-13 Ulrich Drepper <drepper@gmail.com>
30700
44f0a71e 30701 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30702 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30703 * elf/rtld.c (dl_main): Set l_name of vDSO.
30704 Call _dl_show_scope when DL_DEBUG_SCOPES.
30705 (process_dl_debug): Recognize scopes flag and also set it for all.
30706 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30707 Declare _dl_show_scope.
30708
1dc27704
UD
30709 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30710 (do_dlopen): Pass caller_dlopen to dl_open.
30711 (__libc_dlopen_mode): Initialize caller_dlopen.
30712
f9ddf089
UD
30713 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30714 of libc. Make tolower call locale-independent. Optimize a bit by
30715 using isdigit instead of isalnum.
30716 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30717
9ac533d3
UD
307182011-08-12 Ulrich Drepper <drepper@gmail.com>
30719
30720 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30721 was a dependency or dynamically loaded.
30722
89edf2e9
UD
307232011-08-11 Ulrich Drepper <drepper@gmail.com>
30724
8e999d29
UD
30725 * intl/l10nflist.c: Allow architecture-specific pop function.
30726 * sysdeps/x86_64/l10nflist.c: New file.
30727
89edf2e9
UD
30728 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30729 classification.
30730
14d96785
AS
307312011-08-10 Andreas Schwab <schwab@redhat.com>
30732
30733 * include/dirent.h: Add libc_hidden_proto for scandirat and
30734 scandirat64. Don't declare __scandirat64.
30735 * dirent/scandirat.c: Add libc_hidden_def.
30736 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30737 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30738
6761ac04
DM
307392011-08-10 David S. Miller <davem@davemloft.net>
30740
30741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30742 enum.
30743 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30745 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30746
c55fbd1e
UD
307472011-08-09 Ulrich Drepper <drepper@gmail.com>
30748
30749 * Versions.def [libc]: Add GLIBC_2.15.
30750 * dirent/Makefile (routines): Add scandirat and scandirat64.
30751 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30752 GLIBC_2.15.
30753 * dirent/dirent.h: Declare scandirat and scandirat64.
30754 * dirent/scandirat.c: New file.
30755 * dirent/scandirat64.c: New file.
30756 * sysdeps/wordsize-64/scandirat.c: New file.
30757 * sysdeps/wordsize-64/scandirat64.c: New file.
30758 * dirent/opendir.c: Define opendirat.
30759 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30760 using scandirat.
30761 * dirent/scandir64.c: Adjust for scandir.c change.
30762 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30763 __scandirat64, and __scandir_cancel_handler.
30764 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30765 additional parameter and use openat instead of open (outside of ld.so).
30766 Add new __opendir as wrapper around __opendirat.
30767 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30768 here without requiring old scandirat implementation.
30769
879165f2
UD
307702011-08-08 Ulrich Drepper <drepper@gmail.com>
30771
30772 * dirent/scandir.c (cancel_handler): Renamed to
30773 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30774 defined. Adjust users.
30775 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30776 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30777
cb7e923b
UD
307782011-08-04 Ulrich Drepper <drepper@gmail.com>
30779
16292edd
UD
30780 * string/test-string.h (IMPL): Use __STRING to expand name and then
30781 stringify it.
30782
cb7e923b
UD
30783 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30784 of cleanups.
30785
cff82933
LD
307862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30787
30788 * string/Makefile: Update.
30789 (strop-tests): Append strncat.
30790 * string/test-wcscmp.c: New file.
30791 New comprehensive test for wcscmp.
30792 * string/test-strcmp.c: Update.
30793 (WIDE): New define.
30794
9be9bfcc
AS
307952011-07-22 Andreas Schwab <schwab@redhat.com>
30796
30797 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30798 line.
30799
2e96f1c7
AS
308002011-07-26 Andreas Schwab <schwab@redhat.com>
30801
30802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30803 encoding to ACE if AI_IDN.
30804
85188888
JJ
308052011-08-01 Jakub Jelinek <jakub@redhat.com>
30806
30807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30808 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30809
5fa16e9b
LD
308102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30811
30812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30813 Fix overflow bug in strncat.
30814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30815
30816 * string/test-strncat.c: Update.
30817 Add new tests for checking overflow bugs.
30818
308192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30820
30821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30822 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30823 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30824 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30826 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30827 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30828 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30829 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30830
30831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30832 (USE_AS_STRCAT): Define.
30833 Add strcat and strncat support.
30834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30835
8c1a459f
AS
308362011-07-25 Andreas Schwab <schwab@redhat.com>
30837
30838 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30839 __n bigger than INT_MAX+1.
30840 (__strncmp_g): Likewise.
30841
bba33c28
UD
308422011-07-23 Ulrich Drepper <drepper@gmail.com>
30843
798be72d
UD
30844 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30845 * libio/stido.h: Likewise.
30846
8accd4dc
UD
30847 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30848 (AF_NFC): Define.
30849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30850 (AF_NFC): Define.
30851
cbff0d96
UD
30852 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30854 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30856 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30857
9191c04a
UD
30858 [BZ #13021]
30859 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30860 installed.
30861
bba33c28
UD
30862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30863 typo.
30864 (_dl_x86_64_save_sse): Likewise.
30865
90f139dd
UD
308662011-07-22 Ulrich Drepper <drepper@gmail.com>
30867
1aae088a
UD
30868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30869 OSXSAVE.
30870 (_dl_x86_64_save_sse): Likewise.
30871
8e2045f5
UD
30872 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30873
90f139dd
UD
30874 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30875
1d002f25
AS
308762011-07-21 Andreas Schwab <schwab@redhat.com>
30877
30878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30879 change.
30880 (_dl_x86_64_save_sse): Use correct AVX check.
30881
21137f89
UD
308822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30883
30884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30885 bug in strncpy/strncat.
30886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30887
a65c0b7a
UD
308882011-07-21 Ulrich Drepper <drepper@gmail.com>
30889
30890 * string/tester.c (test_strcat): Add tests for different alignments
30891 of source and destination.
30892 (test_strncat): Likewise.
30893
6986b98a
UD
308942011-07-20 Ulrich Drepper <drepper@gmail.com>
30895
90bb2039
UD
30896 [BZ #12852]
30897 * posix/glob.c (glob): Check passed in values before using them in
30898 expressions to avoid some overflows.
30899 (glob_in_dir): Likewise.
30900
5644ef54
UD
30901 [BZ #13007]
30902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30903 check for AVX enablement so that we don't crash with old kernels and
30904 new hardware.
30905 * elf/tst-audit4.c: Add same checks here.
30906 * elf/tst-audit6.c: Likewise.
30907
30908 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30909
bfc9dc9b
AS
309102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30911
30912 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30913
702e64bb
UD
309142011-07-20 Ulrich Drepper <drepper@gmail.com>
30915
30916 * po/cs.po: Update from translation team.
30917 * po/bg.po: Likewise.
30918
295e904f
MP
309192011-07-12 Marek Polacek <mpolacek@redhat.com>
30920
30921 * misc/sys/cdefs.h: Add support for const attribute.
30922 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30923 to gnu_dev_{major,minor,makedev} functions.
30924
3ff94596
MP
309252011-07-20 Marek Polacek <mpolacek@redhat.com>
30926
30927 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30928
28b59fca
AS
309292011-07-20 Andreas Schwab <schwab@redhat.com>
30930
30931 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30932 strlen results.
30933
19df733e
AK
309342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30935
30936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30937 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30938 register in order to avoid conflicts with the soft frame pointer
30939 being held in r11 when necessary.
30940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30941 (INTERNAL_VSYSCALL_NCS): Likewise.
30942
c8835729
MP
309432011-07-14 Marek Polacek <mpolacek@redhat.com>
30944
30945 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30946 * elf/dl-fini.c (_dl_fini): Adjust caller.
30947 * elf/dl-close.c (_dl_close_worker): Likewise.
30948 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30949
b902330c
MP
309502011-07-15 Marek Polacek <mpolacek@redhat.com>
30951
8991e135
MP
30952 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30953 "aux_cache->nlibs < 0".
30954
b902330c
MP
30955 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30956 in the reload-count case.
30957
99710781
LD
309582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30959
30960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30961 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30962 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30963 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30964 * sysdeps/x86_64/multiarch/strcat.S: New file.
30965 * sysdeps/x86_64/multiarch/strncat.S: New file.
30966 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30968 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30969 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30971 (USE_AS_STRCAT): Define.
30972 Add strcat and strncat support.
30973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30975 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30976 * string/strncat.c: Update.
30977 (USE_AS_STRNCAT): Define.
30978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30979 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30980 and i7.
30981 * sysdeps/x86_64/multiarch/init-arch.h
30982 (bit_Prefer_PMINUB_for_stringop): New.
30983 (index_Prefer_PMINUB_for_stringop): Likewise.
30984 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30985 bit_Prefer_PMINUB_for_stringop.
30986
7dc6bd90
UD
309872011-07-19 Ulrich Drepper <drepper@gmail.com>
30988
30989 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30990 buffer64.
30991 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30992 of casting of buffer.
30993 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30994 buffer32 and buffer64.
30995 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30996 writes instead of casting of buffer.
30997 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30998 buffer32.
30999 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31000 casting of buffer.
31001
e0e72284
AS
310022011-07-19 Andreas Schwab <schwab@redhat.com>
31003
31004 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31005
feb1eb0b
UD
310062011-07-19 Ulrich Drepper <drepper@gmail.com>
31007
31008 * nscd/nscd.c (termination_handler): Don't do anything for a database
31009 if it has not yet been initialized.
31010
298711ff
UD
310112011-07-18 Ulrich Drepper <drepper@gmail.com>
31012
31013 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31014
310152011-07-15 Marek Polacek <mpolacek@redhat.com>
31016
31017 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31018
f9d68389
UD
310192011-07-18 Ulrich Drepper <drepper@gmail.com>
31020
31021 * po/nl.po: Update from translation team.
31022 * po/sv.po: Likewise.
31023
db290cf5
RM
310242011-07-16 Roland McGrath <roland@hack.frob.com>
31025
31026 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31027 now disallowed by GCC.
5c550700 31028
fd5e21c7
RM
31029 * configure.in (use-default-link): Default to yes if a test -shared
31030 link meets our qualifications.
31031 * configure: Regenerated.
31032
5c550700
RM
31033 * config.make.in (output-format): New variable.
31034 * configure.in: Check for ld --print-output-format support.
31035 * configure: Regenerated.
31036 * Makerules ($(common-objpfx)format.lds)
31037 [$(output-format) != unknown]: Just use $(output-format),
31038 instead of the linker-script munging.
31039
9fa2c032
RM
310402011-07-14 Roland McGrath <roland@hack.frob.com>
31041
a6928d51
RM
31042 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31043 of $(common-objpfx)shlib.lds.
31044 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31045
661607b3
RM
31046 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31047 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31048
9fa2c032
RM
31049 * configure.in (-z relro check): Adjust test code to add a large
31050 writable data section after it.
31051 * configure: Regenerated.
31052
defe9061
RM
310532011-07-11 Roland McGrath <roland@hack.frob.com>
31054
31055 * configure.in (-z relro check): Fix test code to make the variable
31056 truly const.
31057 * configure: Regenerated.
31058
319b9ad4
UD
310592011-07-11 Ulrich Drepper <drepper@gmail.com>
31060
31061 * nscd/nscd.h (struct traced_file): Define.
31062 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31063 elements. Add traced_files.
31064 (inotify_fd): Declare.
31065 (register_traced_file): Declare.
31066 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31067 (inotify_fd): Export.
31068 (resolv_conf_descr): Remove.
31069 (nscd_init): Move inotify descriptor creation to main.
31070 Don't register files for notification here.
31071 (register_traced_file): New function.
31072 (invalidate_cache): Don't use reset_res to determine whether to call
31073 res_init, go through the list of registered files.
31074 (main_loop_poll): The inotify descriptors are now stored in the
31075 structures for the traced files.
31076 (main_loop_epoll): Likewise
31077 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31078 to __nss_disable_nscd.
31079 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31080 for a database anymore. Check the records for all the registered
31081 files instead.
31082 * nss/Makefile (libnss_files-routines): Add files-init.
31083 (libnss_db-routines): Add db-init.
31084 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31085 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31086 * nss/nss_db/db-init.c: New file.
31087 * nss/nss_files/files-init.c: New file.
31088 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31089 __nss_lookup_function.
31090 (__nss_lookup_function): Call nss_load_library.
31091 (nss_load_all_libraries): New function.
31092 (__nss_disable_nscd): Take parameter with callback function for files
31093 to register. Set is_nscd. Load all the DSOs for the NSS modules
31094 used for the cached services.
31095 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31096 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31097 options for features to all the files in nscd.
31098
31099 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31100
23bee3e8
RM
311012011-07-10 Roland McGrath <roland@hack.frob.com>
31102
31103 * csu/elf-init.c (__libc_csu_init): Comment typo.
31104
46a5b7f0
UD
311052011-07-09 Ulrich Drepper <drepper@gmail.com>
31106
31107 * po/pl.po: Update from translation team.
31108 * po/ja.po: Likewise.
31109 * po/ru.po: Likewise.
31110 * po/ko.po: Likewise.
31111 * po/fr.po: Likewise.
31112
d30cf5bb
RM
311132011-07-09 Roland McGrath <roland@hack.frob.com>
31114
113ddea4
RM
31115 * configure.in (.ctors/.dtors header and trailer check):
31116 Use an empirical test on a built program.
31117 * configure: Regenerated.
31118
574920b4
RM
31119 * configure.in (-z relro check): Use an empirical test on a built DSO.
31120 Detect, but do not require, on ia64.
31121 * configure: Regenerated.
31122
d30cf5bb
RM
31123 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31124 Update tests that use readelf to use $READELF instead.
31125 * configure: Regenerated.
31126
8538fdb3
UD
311272011-07-08 Ulrich Drepper <drepper@gmail.com>
31128
31129 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31130 if the result is not used.
31131
04d08991
AJ
311322011-07-05 Andreas Jaeger <aj@suse.de>
31133
31134 [BZ#9696]
31135 * stdlib/tst-strtod.c: Add testcase.
31136
de283087
AD
311372011-07-07 Ulrich Drepper <drepper@gmail.com>
31138
4e5f31c8 31139 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31140 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31141 The latter has a higher limit. Take additional parameter to pass to
31142 the new function.
31143 (__pathconf): Pass file to __statfs_link_max.
31144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31145 __statfs_link_max.
31146 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31147 __statfs_link_max.
31148
de283087
AD
31149 [BZ #12868]
31150 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31152 Handle Lustre.
31153 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31154 (__statfs_filesize_max): Likewise.
31155 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31156
c75fa153
AJ
311572011-07-05 Andreas Jaeger <aj@suse.de>
31158
31159 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31160
1a544854
UD
311612011-07-06 Marek Polacek <mpolacek@redhat.com>
31162
31163 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31164 `status' variable.
31165 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31166 Likewise.
31167
6f0eec67
UD
311682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31169
31170 * Makefile (strop-tests): Add strncat.
31171 * string/test-strncat.c: New file.
31172
aae30307
UD
311732011-06-30 Marek Polacek <mpolacek@redhat.com>
31174
31175 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31176
c0cfb5eb
UD
311772011-06-21 Andreas Jaeger <aj@suse.de>
31178
31179 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31180 Copy rule from iconvdata/Makefile.
31181
01636b21
UD
311822011-07-06 Ulrich Drepper <drepper@gmail.com>
31183
31184 [BZ #12922]
31185 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31186 but no long options are defined, just return 'W'.
31187
9895c8bc
UD
311882011-06-22 Marek Polacek <mpolacek@redhat.com>
31189
31190 [BZ #9696]
31191 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31192
5d4cf042
UD
311932011-07-06 Ulrich Drepper <drepper@gmail.com>
31194
31195 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31196 netgroups to read.
960e5535 31197 (innetgr): Likewise.
5d4cf042 31198
751eb97e
RM
311992011-07-05 Roland McGrath <roland@hack.frob.com>
31200
31201 * config.make.in (install_root): Default to $(DESTDIR).
31202
f15f1e45
UD
312032011-07-05 Ulrich Drepper <drepper@gmail.com>
31204
31205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31206
4e34ac6a
RM
312072011-07-02 Roland McGrath <roland@hack.frob.com>
31208
5e9b6af4
RM
31209 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31210
84f9ea0f
RM
31211 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31212 containing directory rather than embedding absolute directory names.
31213
ea5ee9f7
RM
31214 * scripts/check-local-headers.sh: Rewritten using awk.
31215 Match by word, not by line. Print error messages for matches.
31216 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31217
1b74661a
RM
31218 * Makerules [shlib-lds-flags empty]:
31219 ($(common-objpfx)libc_pic.opts): New target.
31220 ($(common-objpfx)libc_pic.os.clean): New target.
31221 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31222
31223 * config.make.in (OBJCOPY): New variable.
31224 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31225 * configure: Regenerated.
31226
f781ef40
RM
31227 * config.make.in (use-default-link): New variable.
31228 * configure.in (use_default_link): Grok --with-default-link to set it.
31229 * configure: Regenerated.
31230 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31231 (shlib-lds, shlib-lds-flags): Define to empty.
31232
2d4fa81e
RM
31233 * Makerules (shlib-lds): New variable.
31234 (shlib-lds-flags): New variable.
31235 (build-shlib, build-moduile, build-module-asneeded): Use it.
31236 ($(common-objpfx)libc.so): Use $(shlib-lds).
31237 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31238 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31239
31fffa6b
RM
31240 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31241 DT_FLAGS/DT_FLAGS_1 with zero flags.
31242
4e34ac6a
RM
31243 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31244 linker script munging.
31245
fcfc776b
UD
312462011-07-02 Ulrich Drepper <drepper@gmail.com>
31247
31248 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31249 as 128-bit value.
31250 * crypt/sha512.c (sha512_process_block): Perform total addition using
31251 128-bit if possible.
31252 (__sha512_finish_ctx): Likewise.
31253 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31254 as 64-bit value.
31255 * crypt/sha256.c (SWAP64): Define.
31256 (sha256_process_block): Perform total addition using 64-bit if
31257 possible.
31258 (__sha256_finish_ctx): Likewise.
31259
99231d9a
UD
312602011-07-01 Ulrich Drepper <drepper@gmail.com>
31261
31262 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31263 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31264 * nscd/hstcache.c (cache_addhst): Likewise.
31265 * nscd/grpcache.c (cache_addgr): Likewise.
31266 * nscd/aicache.c (addhstaiX): Likewise
31267 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31268
445b4a53
TK
312692011-07-01 Thorsten Kukuk <kukuk@suse.de>
31270
31271 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31273 * nscd/hstcache.c (cache_addhst): Likewise.
31274 * nscd/grpcache.c (cache_addgr): Likewise.
31275 * nscd/aicache.c (addhstaiX): Likewise
31276
6d4d8e8e
AS
312772011-07-01 Andreas Schwab <schwab@redhat.com>
31278
31279 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31280 domain only when needed.
31281
89f654c5
AS
312822011-06-30 Andreas Schwab <schwab@redhat.com>
31283
31284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31285 is always restored.
31286
cf3b23ff
UD
312872011-06-29 Ulrich Drepper <drepper@gmail.com>
31288
31289 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31290 are re-adding the entry.
31291 * nscd/servicescache.c (cache_addserv): Likewise.
31292
751626f9
AJ
312932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31294
31295 * sysdeps/generic/dl-irel.h: fix protection against multiple
31296 inclusions.
31297 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31298
9113ea1f
UD
312992011-06-28 Ulrich Drepper <drepper@gmail.com>
31300
5c0b8d90
UD
31301 [BZ #12935]
31302 * malloc/memusage.sh: Fix quoting in message.
31303 * debug/xtrace.sh: Likewise.
31304
9113ea1f
UD
31305 * configure.in: Remove support for --experimental-malloc option, make
31306 it the default.
31307 * config.make.in: Likewise.
31308 * malloc/Makefile: Likewise.
31309
a4172181
AS
313102011-06-27 Andreas Schwab <schwab@redhat.com>
31311
31312 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31313 two-byte characters.
31314
78a7eee7
RM
313152011-06-27 Roland McGrath <roland@hack.frob.com>
31316
62bede13
RM
31317 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31318 AC_CACHE_CHECK invocation.
31319 * configure: Regenerated.
31320
78a7eee7
RM
31321 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31322
5ce33a62
UD
313232011-06-27 Ulrich Drepper <drepper@gmail.com>
31324
034807a9
UD
31325 [BZ #12350]
31326 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31327 bit from old_res_options.
31328
4902da17
UD
31329 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31330
5ce33a62
UD
31331 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31332 value type for setfct.
31333
c2344f56
L
313342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31337 __gettimeofday instead of gettimeofday.
31338
68468076
UD
313392011-06-26 Ulrich Drepper <drepper@gmail.com>
31340
31341 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31342
acb0d739
L
313432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31344
31345 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31346
31347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31348 info.
31349
8912479f
L
313502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31351
31352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31353 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31354 strcpy-sse2-unaligned strncpy-sse2-unaligned
31355 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31356 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31357 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31358 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31359 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31360 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31362 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31363 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31364 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31365 (STRCPY): Support SSE2 and SSSE3 versions.
31366
d5495a11
UD
313672011-06-24 Ulrich Drepper <drepper@gmail.com>
31368
31369 [BZ #12874]
31370 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31371 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31372 kernels which artificially limit size of requests.
31373
0b1cbaae
L
313742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31375
31376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31377 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31378 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31379 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31380 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31381 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31382 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31383 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31386 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31387 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31388 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31389 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31390 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31392 Enable unaligned load optimization for Intel Core i3, i5 and i7
31393 processors.
31394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31395 Define.
31396 (index_Fast_Unaligned_Load): Define.
31397 (HAS_FAST_UNALIGNED_LOAD): Define.
31398
07f494a0
MP
313992011-06-23 Marek Polacek <mpolacek@redhat.com>
31400
31401 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31402
fa3fc0fe
UD
314032011-06-22 Ulrich Drepper <drepper@gmail.com>
31404
31405 [BZ #12907]
31406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31407 until it is clear that the information is realy needed.
31408 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31409
e12df166
AS
314102011-06-22 Andreas Schwab <schwab@redhat.com>
31411
31412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31413
852eb34d
UD
314142011-06-22 Ulrich Drepper <drepper@gmail.com>
31415
84e2a551
UD
31416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31417 /sys/devices/system/cpu/online if it is usable.
31418
852eb34d
UD
31419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31420 reading the information from the /proc filesystem to once a second.
31421
6e502e19
UD
314222011-06-21 Andreas Jaeger <aj@suse.de>
31423
31424 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31425 NULL after inclusion of kernel headers.
31426
75d39ff2
UD
314272011-06-21 Ulrich Drepper <drepper@gmail.com>
31428
51f9aa6a
UD
31429 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31430 calls to internal_setent.
31431
c0244a9d
UD
31432 [BZ #12885]
31433 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31434 addresses using gethostbyname4_r ignore IPv4 addresses.
31435
c5e3c2ae
UD
31436 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31437 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31438
75d39ff2
UD
31439 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31440
42675c6f
DM
314412011-06-20 David S. Miller <davem@davemloft.net>
31442
31443 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31444 inclusions.
31445 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31446
31447 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31448 (elf_irel): Use it.
31449 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31450 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31451 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31452 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31453 * sysdeps/x86_64/dl-irel.h: Likewise.
31454
31455 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31456 * elf/dl-sym.c: Likewise.
31457
57912a71
UD
314582011-06-15 Ulrich Drepper <drepper@gmail.com>
31459
31460 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31461 need to dereference resplen2.
31462
ee22793d
AS
314632011-06-14 Andreas Schwab <schwab@redhat.com>
31464
31465 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31466
a9e836b0
UD
314672011-06-15 Ulrich Drepper <drepper@gmail.com>
31468
77fb9117
UD
31469 * Makeconfig: Define vardbdir and inst_vardbdir.
31470 * nss/Makefile: Add rules to install db-Makefile.
31471
40c1b22c
UD
31472 * nss/nss_db/db-XXX.c: Cleanup.
31473
9f2da732
UD
31474 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31475 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31476 GLIBC_PRIVATE.
31477 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31478 * nss/makedb.c: Implement -g option to specify that value strings
31479 are generated and should not be added to table iterated over for
31480 get*ent calls.
31481 * nss/nss_db/db-initgroups.c: New file.
31482
82e9a1f7
UD
31483 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31484 interface.
31485
c41af17e
UD
31486 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31487 (internal_getgrouplist): Adjust to name change.
31488 Update use_initgroups_entry if this is not the first call.
31489 * nss/databases.def: Add initgroups entry.
31490
a9e836b0
UD
31491 * nss/makedb.c (compute_tables): Check result of multiple hash table
31492 sizes to minimize maximum chain length.
31493
2666d441
UD
314942011-06-14 Ulrich Drepper <drepper@gmail.com>
31495
31496 * Versions.def: Add entry for libnss_db.
31497 * shlib-versions: Likewise.
31498 * nss/Makefile: Add rules to build libnss_db.
31499 * nss/Versions: Add libnss_db information. Organize libnss_files
31500 entries better.
31501 * nss/db-Makefile: Add gshadow support. Change rules for the new
31502 makedb progra. Some minor improvements to generate smaller files.
31503 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31504 here from...
31505 * nss/makedb.c: ...here.
31506 Improve database format to be smaller and require less memory at
31507 runtime.
31508 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31509 db anymore.
31510 * nss/nss_db/db-netgrp.c: Likewise.
31511 * nss/nss_db/db-open.c: Likewise.
31512 * nss/nss_files/flies-XXX.x: Adjust comments.
31513 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31514 * nss/nss_files/files-grp.c: Likewise.
31515 * nss/nss_files/files-hosts.c: Likewise.
31516 * nss/nss_files/files-network.c: Likewise.
31517 * nss/nss_files/files-proto.c: Likewise.
31518 * nss/nss_files/files-pwd.c: Likewise.
31519 * nss/nss_files/files-rpc.c: Likewise.
31520 * nss/nss_files/files-service.c: Likewise.
31521 * nss/nss_files/files-sgrp.c: Likewise.
31522 * nss/nss_files/files-spwd.c: Likewise.
31523 * nss/nss_db/db-alias.c: Removed.
31524 * nss/nss_db/dummy-db.h: Removed.
31525
9ee76b5a
UD
315262011-06-02 Ulrich Drepper <drepper@gmail.com>
31527
31528 * nss/makedb.c: Rewritten to not use database library.
31529 * nss/Makefile: Update to build new makedb program.
31530
c71ca1f8
AJ
315312011-06-14 Andreas Jaeger <aj@suse.de>
31532
31533 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31534 memset declaration.
31535
3154bfb8
UD
315362011-06-10 Andreas Schwab <schwab@redhat.com>
31537
31538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31539 tmpbuf.
31540
b350afab
RM
315412011-06-10 Roland McGrath <roland@hack.frob.com>
31542
decd4e50
RM
31543 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31544 * elf/Makefile ($(objpfx)ld.so): Likewise.
31545
5615eaf2
RM
31546 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31547 Don't list ld.so twice in dependencies.
31548
31549 * posix/bug-regex31.c: Include <stdlib.h>.
31550
31551 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31552
31553 * nis/nss_compat/compat-spwd.c
31554 (getspent_next_nss_netgr): Remove unused variable.
31555 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31556
31557 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31558 nonmembers" output to use the right array.
31559
31560 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31561
31562 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31563
31564 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31565 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31566 * catgets/gencat.c (read_input_file): Likewise.
31567 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31568
31569 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31570 variable definition inside #if's controlling its use.
31571
31572 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31573
31574 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31575
31576 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31577
31578 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31579 unreachable code.
31580
31581 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31582
b68e08db
RM
31583 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31584 * configure: Regenerated.
31585
b350afab
RM
31586 * Makerules: Revert last change.
31587 * elf/Makefile: Likewise.
31588
28368601
RM
315892011-06-09 Roland McGrath <roland@hack.frob.com>
31590
31591 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31592 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31593 (reloc-link): Likewise.
31594
11988f8f
UD
315952011-06-09 Ulrich Drepper <drepper@gmail.com>
31596
31597 * elf/Makefile: Add rules to build pldd.
31598 * elf/pldd.c: New file.
31599 * elf/pldd-xx.c: New file.
31600
e80fab37
UD
316012011-06-07 Ulrich Drepper <drepper@gmail.com>
31602
31603 * version.h: Update for 2.15 development version.
31604
9b849836
DM
316052011-06-07 David S. Miller <davem@davemloft.net>
31606
31607 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31608 ifuncs.
31609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31610 elf_machine_lazy_rel): Likewise.
31611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31613 elf_machine_lazy_rel): Likewise.
31614 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31615 dl_hwcap via passed in argument.
31616 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31617 Likewise.
31618
5a31b283
AK
316192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31620
31621 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31622
069e52f8
RM
316232011-06-06 Roland McGrath <roland@hack.frob.com>
31624
31625 [BZ #12849]
31626 * manual/fdl-1.1.texi: New file, verbatim from:
31627 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31628 * manual/lgpl-2.1.texi: New file, verbatim from:
31629 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31630 * manual/Makefile (licenses): New variable, list those new file names.
31631 (texis): Use it.
31632 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31633
31634 * manual/fdl.texi: File removed.
31635 * manual/lesser.texi: File removed.
31636 * manual/libc.texinfo (Copying, Documentation License):
31637 Use new @include file names, put @appendix directive before @include.
31638
f16846a5
JJ
316392011-06-04 Jakub Jelinek <jakub@redhat.com>
31640
31641 [BZ #12841]
31642 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31643 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31644 (mq_open): Add __NTH.
31645
3d29045b
L
316462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31647
31648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31649 Assume Intel Core i3/i5/i7 processor if AVX is available.
31650
8c297311
UD
316512011-05-31 Ulrich Drepper <drepper@gmail.com>
31652
31653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31654 typo.
31655
c8fc0c91
UD
316562011-05-31 Andreas Schwab <schwab@redhat.com>
31657
31658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31659 memory. Use alloca_account. Fix memory leak when retrying.
31660
5b27a807
UD
316612011-05-31 Ulrich Drepper <drepper@gmail.com>
31662
356f8bc6
UD
31663 * version.h (RELEASE): Bump for 2.14 release.
31664 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31665
5b27a807
UD
31666 * config.make.in (RANLIB): Remove entry.
31667
01f16ab0
UD
316682011-05-30 Ulrich Drepper <drepper@gmail.com>
31669
41fce8bd
UD
31670 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31671 (libc.pot): Work around missing support for .ksh extension in xgettext.
31672
4769ae77
UD
31673 [BZ #12684]
31674 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31675 if both request failed.
31676 (send_dg): In case of server errors clear resplen or *resplen2.
31677
6b1e7d19
UD
31678 [BZ #12454]
31679 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31680 when there are multiple maps.
31681 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31682 (_dl_fini): Remove test here.
31683
01f16ab0
UD
31684 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31685
b1ebd700
UD
316862011-05-29 Ulrich Drepper <drepper@gmail.com>
31687
7ae22829
UD
31688 [BZ #12350]
31689 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31690 bit from old_res_options.
31691 (gaih_inet): Likewise.
31692
553149f6 31693 [BZ #11099]
18a84741 31694 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31695 as signed.
31696
652ffab1
UD
31697 * resolv/res_init.c (res_setoptions): Make the code more compact.
31698
16985fd0
UD
31699 [BZ #11558]
31700 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31701 set RES_USEVC.
31702
0464f746
UD
31703 [BZ #11634]
31704 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31705
7d17596c
UD
31706 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31707
cf6bbbd7
UD
31708 [BZ #11781]
31709 * malloc/malloc.h: Declare malloc hook variables as volatile.
31710
13f1ab36
UD
31711 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31712 in last patch.
31713
b1ebd700
UD
31714 [BZ #11799]
31715 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31716 raise in the comment.
80e2212d
UD
31717 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31718 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31719 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31720
ce67228d
UD
317212011-05-28 Ulrich Drepper <drepper@gmail.com>
31722
8887a920
UD
31723 [BZ #12811]
31724 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31725 grow the buffers more if it already has to be sufficient.
31726 (build_wcs_upper_buffer): Likewise.
31727 * posix/regexec.c (check_matching): Likewise.
31728 (clean_state_log_if_needed): Likewise.
31729 (extend_buffers): Don't enlarge buffers beyond size of the input
31730 buffer.
31731 Patches mostly by Emil Wojak <emil@wojak.eu>.
31732 * posix/bug-regex32.c: New file.
31733 * posix/Makefile (tests): Add bug-regex32.
31734
4f031072
UD
31735 * locale/findlocale.c (_nl_find_locale): Return right away if
31736 _nl_explode_name failed.
31737 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31738
d0478f0c
UD
31739 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31740
de81b246
UD
31741 * debug/xtrace.sh: Unify messages.
31742 * malloc/memusage.sh: Likewise.
31743
c738465a
UD
31744 [BZ #12813]
31745 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31746 time symbol from vDSO. Substitute with vsyscall if not available.
31747 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31748 __vdso_time.
31749
f1f929d7
UD
31750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31751 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31752 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31753 Add sendmmsg and internal_sendmmsg.
31754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31755 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31757
ce67228d
UD
31758 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31759 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31760 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31761
e57420c6
UD
317622011-05-27 Ulrich Drepper <drepper@gmail.com>
31763
a8509ca5
UD
31764 [BZ #12813]
31765 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31766 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31767 available.
31768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31769 __vdso_getcpu.
31770
e57420c6
UD
31771 [BZ #12814]
31772 * iconvdata/Makefile (tests): Add bug-iconv9.
31773 * iconvdata/bug-iconv9.c: New file.
31774
4d07db15
AS
317752011-05-27 Andreas Schwab <schwab@redhat.com>
31776
31777 [BZ #12814]
31778 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31779
ea486f69
JJ
317802011-05-25 Jakub Jelinek <jakub@redhat.com>
31781
31782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31783 (struct user_regs_struct): Change intcs field back to cs.
31784
6f038433
UD
317852011-05-25 Ulrich Drepper <drepper@gmail.com>
31786
31787 * po/ja.po: Update from translation team.
31788
67f86a25
UD
317892011-05-23 Ulrich Drepper <drepper@gmail.com>
31790
31791 [BZ #12795]
31792 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31793 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31794
def7fbd6
AS
317952011-05-20 Andreas Schwab <schwab@redhat.com>
31796
31797 * stdlib/longlong.h: Update from GCC.
31798
f50ef8f1
AS
317992011-05-23 Andreas Schwab <schwab@redhat.com>
31800
31801 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31802 parameter name.
31803 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31804 Add parameter name.
31805 (__sysconf): Pass it down.
31806
de7ce8f1
UD
318072011-05-22 Ulrich Drepper <drepper@gmail.com>
31808
f2962a71
UD
31809 [BZ #12671]
31810 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31811 some situations.
31812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31813 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31814 add in in __libc_use_alloca calls. Adjust callers.
31815 (glob): Use malloc in some situations.
31816
de7ce8f1
UD
31817 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31818 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31819 pltexit.
31820
aec84f53
UD
318212011-05-21 Ulrich Drepper <drepper@gmail.com>
31822
05bb4a68
UD
31823 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31824 and CLOCK_BOOTTIME_ALARM.
31825
7ea72f99
UD
31826 [BZ #12782]
31827 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31828 is returned.
31829
7e4afad5
UD
31830 * string/_strerror.c (__strerror_r): Print negative errors as signed
31831 numbers.
31832
8e211fec
UD
31833 [BZ #12777]
31834 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31835 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31836 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31837
f7d82dc9
UD
31838 * configure.in: Fix typo in redirection and correct removal of test
31839 files in two cases.
31840
cc9e536d
UD
31841 [BZ #12788]
31842 * locale/setlocale.c (new_composite_name): Fix test to check for
31843 identical name of all categories.
31844
aec84f53
UD
31845 [BZ #12792]
31846 * libio/filedoalloc.c (local_isatty): New function.
31847 (_IO_file_doallocate): Use local_isatty.
31848 * stdio-common/perror.c (perror): In case a new stream is used
31849 forward the stream error.
31850 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31851 error flag.
31852
78e64fdc
RT
318532011-05-20 Ulrich Drepper <drepper@gmail.com>
31854
34a9094f
UD
31855 [BZ #11869]
31856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31857 alloca.
31858 * include/alloca.h (extend_alloca_account): Define.
31859
78e64fdc
RT
31860 [BZ #11857]
31861 * posix/regex.h: Fix comments with documentation of user-accessible
31862 fields after compilation and describe correct free'ing of pattern
31863 after re_compile_pattern.
31864 Patch by Reuben Thomas <rrt@sc3d.org>.
31865
457bddfc
RA
318662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31867
31868 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31869 and -mno-altivec to prevent the compiler from using Altivec and/or
31870 VSX instructions when the corresponding registers are not available.
31871
a4527b51
AS
318722011-05-19 Andreas Schwab <schwab@redhat.com>
31873
31874 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31875
ed690b2f
UD
318762011-05-19 Ulrich Drepper <drepper@gmail.com>
31877
31878 * libio/freopen.c (freopen): Use __dup2, not dup2.
31879 * libio/freopen64.c (freopen64): Likewise.
31880
8db73634
L
318812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31882
31883 [BZ #12775]
31884 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31885 * math/Makefile (tests): Add test-powl.
31886 (CFLAGS-test-powl.c): Define.
31887 * math/test-powl.c: New file.
31888
0a197a9d
L
318892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31892
ee30c380
UD
318932011-05-17 Ulrich Drepper <drepper@gmail.com>
31894
31895 [BZ #11837]
31896 * iconvdata/gb18030.c: Update to GB18020-2005.
31897
6ce75379
UD
318982011-05-16 Ulrich Drepper <drepper@gmail.com>
31899
a4b89fd8
AR
31900 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31901 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31902 Patch by Aharon Robbins <arnold@skeeve.com>.
31903
ea389b12
UD
31904 [BZ #11892]
31905 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31906 on the stack.
31907
68a3f91f
UD
31908 [BZ #11895]
31909 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31910 through underflows.
31911
15cc7dd1
UD
31912 [BZ #12766]
31913 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31914 point to strings before performing equality test for error_one_per_line
31915 mode.
31916
f3799213
UD
31917 [BZ #11697]
31918 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31919
d79a9c94
UD
31920 [BZ #11820]
31921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31922 (struct user_fpregs_struct): Avoid __uint*_t types.
31923
56e5eb46
UD
31924 [BZ #6420]
31925 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31926 symbol info. Use it instead of calling _dl_addr locally.
31927 (lock_and_info): New function.
31928 (tr_freehook): Call lock_and_info and pass symbol info as additional
31929 parameter to tr_where.
31930 (tr_mallochook): Likewise.
31931 (tr_reallochook): Likewise.
31932 (tr_memalignhook): Likewise.
31933
6ce75379
UD
31934 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31935 used and couldn't be at all thread-safe.
31936
f8a3b5bf
UD
319372011-05-15 Ulrich Drepper <drepper@gmail.com>
31938
94b7cc37
UD
31939 * libio/freopen.c (freopen): Don't close old file descriptor
31940 before the new one is opened. Instead dup the new file descriptor
31941 to the old one after the new stream is created.
31942 * libio/freopen64.c (freopen64): Likewise.
31943 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31944 * libio/fileops.c (_IO_new_file_close_it): Handle new
31945 _IO_FLAGS2_NOCLOSE flag.
31946 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31947 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31948 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31949 _IO_FLAGS2_NOCLOSE flag.
31950 * include/unistd.h: Add hidden_proto for dup3.
31951 Define __have_dup3.
31952 * io/dup3.c: Define hidden symbol.
31953 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31954
bd25564e
UD
31955 [BZ #7101]
31956 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31957 when an incomplete long option is used.
31958 * posix/tst-getopt_long1.c: New file.
31959 * posix/Makefile (tests): Add tst-getopt_long1.
31960
c84cfef4
UD
31961 [BZ #10138]
31962 * scripts/config.guess: Update from autoconf-2.68.
31963 * scripts/config.sub: Likewise.
31964
3b85df27
UD
31965 [BZ #10157]
31966 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31967 tests into ...
31968 (has_cpuclock): ...this. New function.
31969 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31970 macro here based on has_cpuclock code.
31971
15a856b1
UD
31972 [BZ #10149]
31973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31974 First byte (not low byte) is now always NUL.
31975 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31976
05f399e6
UD
31977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31978 Use non-cancelable interfaces.
31979
10a52685 31980 [BZ #9809]
94ecc67d
UD
31981 * locale/iso-639.def: Add entry for Sorani.
31982
f8a3b5bf
UD
31983 [BZ #11901]
31984 * include/stdlib.h: Move include protection to the right place.
31985 Define abort_msg_s. Declare __abort_msg with it.
31986 * stdlib/abort.c (__abort_msg): Adjust type.
31987 * assert/assert.c (__assert_fail_base): New function. Majority
31988 of code from __assert_fail. Allocate memory for __abort_msg with
31989 mmap.
31990 (__assert_fail): Now call __assert_fail_base.
31991 * assert/assert-perr.c: Remove bulk of implementation. Use
31992 __assert_fail_base.
31993 * include/assert.hL Declare __assert_fail_base.
31994 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31995 mmap.
31996 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31997
1af4e298
UD
319982011-05-14 Ulrich Drepper <drepper@gmail.com>
31999
f8a3b5bf 32000 [BZ #11952]
d26dfc60
MG
32001 [BZ #12453]
32002 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32003 until all modules are registered in the DTV.
32004 * elf/Makefile: Add rules to build and run tst-tls19.
32005 * elf/tst-tls19.c: New file.
32006 * elf/tst-tls19mod1.c: New file.
32007 * elf/tst-tls19mod2.c: New file.
32008 * elf/tst-tls19mod3.c: New file.
32009 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32010
2fc54d6f
UD
32011 [BZ #12083]
32012 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32013 correctly.
32014
98d76b46
UD
32015 [BZ #12601]
32016 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32017 two-byte sequence errors.
32018 * iconvdata/Makefile (tests): Add bug-iconv8.
32019 * iconvdata/bug-iconv8.c: New file.
32020
da3c19ef
UD
32021 [BZ #12626]
32022 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32023 buf2 definition.
32024
ca408c15
UD
32025 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32026
d6f67f7d
UD
32027 [BZ #12432]
32028 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32029 (dummy_getcfa): New function.
32030 (init): Get _Unwind_GetCFA address, use dummy if not found.
32031 (backtrace_helper): In recursion check, also check whether CFA changes.
32032 (__backtrace): Completely initialize arg.
32033
1af4e298 32034 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32035 storing incomplete byte sequence in state object. Avoid testing for
32036 guaranteed too small input if we know there is enough data available.
1af4e298 32037
da62f81b
AS
320382011-05-11 Andreas Schwab <schwab@redhat.com>
32039
32040 * Makeconfig (+link-pie): Indent.
32041 * Rules (binaries-pie): Define if $(have-fpie) and
32042 $(build-shared).
32043 (binaries-shared): Also filter out $(binaries-pie).
32044 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32045 * nscd/Makefile (others-pie): Add nscd.
32046 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32047 ($(objpfx)nscd): Remove command override.
32048 * login/Makefile (others-pie): Add pt_chown.
32049 ($(objpfx)pt_chown): Remove command override.
32050 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32051 remove command overrides.
32052
fcabc0f8
UD
320532011-05-13 Ulrich Drepper <drepper@gmail.com>
32054
20030ae6
UD
32055 * libio/tst_putwc.c: Fix error messages.
32056
fcabc0f8
UD
32057 [BZ #12724]
32058 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32059 currently writing and seek to current position when not.
32060 * libio/Makefile (tests): Add bug-fclose1.
32061 * libio/bug-fclose1.c: New file.
32062
320a5dc0
PB
320632011-05-12 Ulrich Drepper <drepper@gmail.com>
32064
32065 [BZ #12511]
32066 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32067 don't set DF_1_NODELETE here.
32068 (do_lookup_x): When entering new entry test for copy relocation
32069 and if necessary set DF_1_NODELETE flag.
32070 * elf/tst-unique4.cc: New file.
32071 * elf/tst-unique4.h: New file.
32072 * elf/tst-unique4lib.cc: New file.
32073 * elf/Makefile: Add rules to build and run tst-unique4.
32074 Patch by Piotr Bury <pbury@goahead.com>.
32075
22836f52
UD
320762011-05-11 Ulrich Drepper <drepper@gmail.com>
32077
f574184a
UD
32078 [BZ #12052]
32079 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32080
e1fb097f
UD
32081 [BZ #12625]
32082 * misc/mntent_r.c (addmntent): Flush the stream after the output
32083
22836f52
UD
32084 [BZ #12393]
32085 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32086 (is_trusted_path_normalize): Skip initial colon. Append slash
32087 to empty buffer. Duplicate is_trusted_path code but allow
32088 constructed patch to be prefix.
32089 (is_dst): Allow $ORIGIN followed by /.
32090 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32091 Correct testing of result of is_trusted_path_normalize
32092 (decompose_rpath): Fix warning.
32093
7b3b0b2a
UD
320942011-05-10 Ulrich Drepper <drepper@gmail.com>
32095
32096 [BZ #11257]
32097 * grp/initgroups.c (internal_getgrouplist): When we found the service
32098 list through the initgroups entry in nsswitch.conf do not always
32099 continue on a successful lookup. Don't always use the
eac80ce2 32100 __nss_group_database value if it is set.
7b3b0b2a
UD
32101 * nss/nsswitch.conf (initgroups): Change action for successful db
32102 lookup to continue for compatibility.
32103
2a81eaa5
UD
321042011-05-09 Ulrich Drepper <drepper@gmail.com>
32105
be97a69e
UD
32106 [BZ #11532]
32107 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32108 and CP774 modules.
32109 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32110 and CP774 modules.
32111 * iconvdata/tst-tables.sh: Likewise.
32112 * iconvdata/cp770.c: New file.
32113 * iconvdata/cp771.c: New file.
32114 * iconvdata/cp772.c: New file.
32115 * iconvdata/cp773.c: New file.
32116 * iconvdata/cp774.c: New file.
32117 * iconvdata/testdata/CP770: New file.
32118 * iconvdata/testdata/CP770..UTF8: New file.
32119 * iconvdata/testdata/CP771: New file.
32120 * iconvdata/testdata/CP771..UTF8: New file.
32121 * iconvdata/testdata/CP772: New file.
32122 * iconvdata/testdata/CP772..UTF8: New file.
32123 * iconvdata/testdata/CP773: New file.
32124 * iconvdata/testdata/CP773..UTF8: New file.
32125 * iconvdata/testdata/CP774: New file.
32126 * iconvdata/testdata/CP774..UTF8: New file.
32127
32128 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32129 END CHARMAP line.
32130 * iconvdata/gen-8bit-gap.sh: Likewise.
32131 * iconvdata/gen-8bit.sh: Likewise.
32132
c1e9e399
UD
32133 * locale/iso-639.def: Add ary entry.
32134
24c55fb3 32135 [BZ #11258]
96b4b1b0
UD
32136 * locale/C-translit.h.in: Add U20A1 transliteration.
32137
bdc2f971
KB
32138 [BZ #12178]
32139 * locale/iso-639.def: Add wae entry.
32140 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32141
2952b117
UD
32142 [BZ #12545]
32143 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32144 for n.
32145
2a81eaa5
UD
32146 [BZ #12711]
32147 * locale/C-translit.h.in: Add entry for U20B9.
32148 Patch by pravin.d.s@gmail.com.
32149
28377d1b
UD
321502011-05-08 Ulrich Drepper <drepper@gmail.com>
32151
7fb90fb8
UD
32152 [BZ #12713]
32153 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32154 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32155 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32156 in rtld. Use *stat64.
7fb90fb8 32157 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32158 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32159 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32160 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32161 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32162 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32163 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32164 __fstatat64 macros.
7fb90fb8
UD
32165 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32166 * dirent/rewinddir.c: Add libc_hidden_def.
32167 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32168 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32169
28377d1b
UD
32170 * include/dirent.h (__alloc_dir): Add flags parameter.
32171 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32172 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32173 __alloc_dir.
32174 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32175 from fdopendir if O_CLOEXEC is already set.
32176
66bdbaa4
AM
321772011-03-15 Alan Modra <amodra@gmail.com>
32178
32179 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32180 l_tls_firstbyte_offset non-zero. Save padding offset in
32181 l_tls_firstbyte_offset for later use.
32182 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32183 freeing static tls block.
32184
95721191
JN
321852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32186
32187 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32188 where #ifdef was intended. The intent is to prevent ARG_MAX from
32189 being defined by the kernel headers.
32190
f87dfb1f
UD
321912011-05-07 Ulrich Drepper <drepper@gmail.com>
32192
32193 [BZ #12734]
32194 * resolv/resolv.h: Define RES_NOTLDQUERY.
32195 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32196 no-tld-query and set RES_NOTLDQUERY.
32197 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32198 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32199 modern BIND to search name as TLD unless forbidden.
32200
47c3cd7a
UD
322012011-05-07 Petr Baudis <pasky@suse.cz>
32202 Ulrich Drepper <drepper@gmail.com>
32203
32204 [BZ #12393]
32205 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32206 (is_trusted_path): ...to here.
c1e9ea35 32207 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32208 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32209 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32210
8a35c912
PP
322112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32212
32213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32214 __BEGIN/__END_DECLS.
32215
acd41f47
UD
322162011-05-06 Ulrich Drepper <drepper@gmail.com>
32217
32218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32219 NSS_STATUS_NOTFOUND if no record was found.
32220
597df647
AS
322212011-05-05 Andreas Schwab <schwab@redhat.com>
32222
32223 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32224 (headers-not-in-tirpc): Remove rpc/netdb.h
32225 * resolv/netdb.h: Revert last change.
32226
b9af1301
PP
322272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32228
32229 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32230 circular dependency between libgcc.a and libc.a.
32231
4e34d5f5
AS
322322011-05-05 Andreas Schwab <schwab@redhat.com>
32233
32234 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32235 * nis/Makefile: Don't install rpcsvc/*.
32236 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32237 instead of <rpc/types.h>.
32238 (MAXHOSTNAMELEN): Define.
32239
00ee369c
AS
322402011-05-03 Andreas Schwab <schwab@redhat.com>
32241
32242 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32243
0b592a30
MB
322442011-04-28 Maciej Babinski <mbabinski@google.com>
32245
32246 [BZ #12714]
32247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32248 gethostbyname4_r when IPv6 results are possible.
32249
6e04cbbe
UD
322502011-05-02 Ulrich Drepper <drepper@gmail.com>
32251
32252 [BZ #12723]
32253 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32254 _PC_PIPE_BUF handling.
32255
e4ecafe0
BH
322562011-04-30 Bruno Haible <bruno@clisp.org>
32257
32258 [BZ #12717]
32259 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32260 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32261 to 'int'.
32262 * inet/getnameinfo.c (getnameinfo): Likewise.
32263
125ee683
UD
322642011-04-29 Ulrich Drepper <drepper@gmail.com>
32265
32266 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32267 to groups setting in database lookup.
32268 * nss/nsswitch.conf: Add initgroups entry.
32269
b722481a
EB
322702011-04-22 Ulrich Drepper <drepper@gmail.com>
32271
32272 [BZ #12685]
32273 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32274 mode string.
32275 Patch by Eric Blake <eblake@redhat.com>.
32276
4df46dbd
L
322772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32278
32279 * sunrpc/Makefile (need-export-routines): Add svc_run.
32280 (routines): Remove svc_run.
32281 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32282 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32283 * sunrpc/svc_run.c (svc_run): Likewise.
32284 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32285
e84142d2
UD
322862011-04-21 Ulrich Drepper <drepper@gmail.com>
32287
32288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32289 problem in reallocation in last patch.
32290
877175d8
UD
322912011-04-20 Ulrich Drepper <drepper@gmail.com>
32292
32293 * sunrpc/Makefile: Move inclusion of Rules.
32294
ab8eed78
UD
322952011-04-19 Ulrich Drepper <drepper@gmail.com>
32296
32297 * nss/nss_files/files-initgroups.c: New file.
32298 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32299 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32300 _nss_files_initgroups_dyn.
32301
e3d8f584
RS
323022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32303
32304 * elf/elf.h (R_ARM_IRELATIVE): Define.
32305
af190f45
UD
323062011-04-19 Ulrich Drepper <drepper@gmail.com>
32307
32308 * po/ru.po: Update from translation team.
32309
53cf59ef
UD
323102011-04-17 Ulrich Drepper <drepper@gmail.com>
32311
32312 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32313 dependencies.
32314
4c559bcd
MF
323152011-02-06 Mike Frysinger <vapier@gentoo.org>
32316
32317 [BZ #12653]
32318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32319 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32321 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32323
4420675c
AS
323242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32325
32326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32327 differing bytes.
32328 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32331
75ea32ab
UD
323322011-04-17 Ulrich Drepper <drepper@gmail.com>
32333
32334 [BZ #12420]
32335 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32336 storing it.
32337 * stdlib/bug-getcontext.c: New file.
32338 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32339
27390476
AK
323402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32341
32342 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32343 instructions into .machine "z9-109".
32344 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32345 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32346
10442705
AK
323472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32348
32349 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32350 between environment variables and auxiliary vector.
32351
7b57bfe5
UD
323522011-04-16 Ulrich Drepper <drepper@gmail.com>
32353
32354 * Makefile: Add rules to build linkobj/libc.so.
32355 * include/libc-symbols.h: Define libc_hidden_nolink.
32356 * include/rpc/auth.h: Mark functions which are to be hidden.
32357 * include/rpc/auth_des.h: Likewise.
32358 * include/rpc/auth_unix.h: Likewise.
32359 * include/rpc/clnt.h: Likewise.
32360 * include/rpc/des_crypt.h: Likewise.
32361 * include/rpc/key_prot.h: Likewise.
32362 * include/rpc/pmap_clnt.h: Likewise.
32363 * include/rpc/pmap_prot.h: Likewise.
32364 * include/rpc/pmap_rmt.h: Likewise.
32365 * include/rpc/rpc_msg.h: Likewise.
32366 * include/rpc/svc.h: Likewise.
32367 * include/rpc/svc_auth.h: Likewise.
32368 * include/rpc/xdr.h: Likewise.
32369 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32370 * nss/Makefile: Likewise.
32371 * sunrpc/Makefile: Don't install headers. Build library with normal
32372 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32373 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32374 for the compat linking library. Remove use of INTDEF/INTUSE.
32375 * sunrpc/auth_none.c: Likewise.
32376 * sunrpc/auth_unix.c: Likewise.
32377 * sunrpc/authdes_prot.c: Likewise.
32378 * sunrpc/authuxprot.c: Likewise.
32379 * sunrpc/clnt_gen.c: Likewise.
32380 * sunrpc/clnt_perr.c: Likewise.
32381 * sunrpc/clnt_raw.c: Likewise.
32382 * sunrpc/clnt_simp.c: Likewise.
32383 * sunrpc/clnt_tcp.c: Likewise.
32384 * sunrpc/clnt_udp.c: Likewise.
32385 * sunrpc/clnt_unix.c: Likewise.
32386 * sunrpc/des_crypt.c: Likewise.
32387 * sunrpc/des_soft.c: Likewise.
32388 * sunrpc/get_myaddr.c: Likewise.
32389 * sunrpc/key_call.c: Likewise.
32390 * sunrpc/key_prot.c: Likewise.
32391 * sunrpc/netname.c: Likewise.
32392 * sunrpc/pm_getmaps.c: Likewise.
32393 * sunrpc/pm_getport.c: Likewise.
32394 * sunrpc/pmap_clnt.c: Likewise.
32395 * sunrpc/pmap_prot.c: Likewise.
32396 * sunrpc/pmap_prot2.c: Likewise.
32397 * sunrpc/pmap_rmt.c: Likewise.
32398 * sunrpc/publickey.c: Likewise.
32399 * sunrpc/rpc_cmsg.c: Likewise.
32400 * sunrpc/rpc_common.c: Likewise.
32401 * sunrpc/rpc_dtable.c: Likewise.
32402 * sunrpc/rpc_prot.c: Likewise.
32403 * sunrpc/rpc_thread.c: Likewise.
32404 * sunrpc/rtime.c: Likewise.
32405 * sunrpc/svc.c: Likewise.
32406 * sunrpc/svc_auth.c: Likewise.
32407 * sunrpc/svc_authux.c: Likewise.
32408 * sunrpc/svc_raw.c: Likewise.
32409 * sunrpc/svc_run.c: Likewise.
32410 * sunrpc/svc_simple.c: Likewise.
32411 * sunrpc/svc_tcp.c: Likewise.
32412 * sunrpc/svc_udp.c: Likewise.
32413 * sunrpc/svc_unix.c: Likewise.
32414 * sunrpc/svcauth_des.c: Likewise.
32415 * sunrpc/xcrypt.c: Likewise.
32416 * sunrpc/xdr.c: Likewise.
32417 * sunrpc/xdr_array.c: Likewise.
32418 * sunrpc/xdr_float.c: Likewise.
32419 * sunrpc/xdr_intXX_t.c: Likewise.
32420 * sunrpc/xdr_mem.c: Likewise.
32421 * sunrpc/xdr_rec.c: Likewise.
32422 * sunrpc/xdr_ref.c: Likewise.
32423 * sunrpc/xdr_sizeof.c: Likewise.
32424 * sunrpc/xdr_stdio.c: Likewise.
32425
e6c61494
UD
324262011-04-10 Ulrich Drepper <drepper@gmail.com>
32427
32428 [BZ #12650]
32429 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32430 * sysdeps/ia64/dl-tls.h: Likewise.
32431 * sysdeps/powerpc/dl-tls.h: Likewise.
32432 * sysdeps/s390/dl-tls.h: Likewise.
32433 * sysdeps/sh/dl-tls.h: Likewise.
32434 * sysdeps/sparc/dl-tls.h: Likewise.
32435 * sysdeps/x86_64/dl-tls.h: Likewise.
32436 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32437
34fe483e
AS
324382011-03-14 Andreas Schwab <schwab@redhat.com>
32439
32440 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32441 rpath element also skip the following colon.
32442 (expand_dynamic_string_token): Add is_path parameter and pass
32443 down to DL_DST_REQUIRED and _dl_dst_substitute.
32444 (decompose_rpath): Call expand_dynamic_string_token with
32445 non-zero is_path. Ignore empty rpaths.
32446 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32447 with zero is_path.
32448
f12a32e6
AS
324492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32450
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32452 Make cancelable.
32453
38a7d692
UD
324542011-04-09 Ulrich Drepper <drepper@gmail.com>
32455
32456 [BZ #12655]
32457 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32458 Patch by Filipe David Manana <fdmanana@apache.org>.
32459
e451d22b
AS
324602011-04-07 Andreas Schwab <schwab@redhat.com>
32461
32462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32463 Maintain aligned stack.
32464 (CHECK_RSP): Remove unused macro.
32465
dedc7c7b
UD
324662011-04-03 Ulrich Drepper <drepper@gmail.com>
32467
32468 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32469 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32470
94521213
UD
324712011-04-02 Ulrich Drepper <drepper@gmail.com>
32472
32473 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32474
8cb700c0 32475 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32476
0354e355
L
324772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32478
32479 [BZ #12518]
32480 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32481 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32482 * sysdeps/x86_64/memmove.c: New file.
32483 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32484 (memcpy): Renamed to ...
32485 (__new_memcpy): This.
32486 (memcpy): Provide GLIBC_2_14 memcpy.
32487 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32488 (memcpy): Provide GLIBC_2_2_5 memcpy.
32489
8593482f
UD
324902011-04-01 Ulrich Drepper <drepper@gmail.com>
32491
32492 [BZ #12631]
32493 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32494
81a5726b
AS
324952011-03-30 Andreas Schwab <schwab@redhat.com>
32496
32497 * misc/syncfs.c: New file.
32498 * misc/Makefile (routines): Add syncfs.
32499 * posix/unistd.h: Declare syncfs.
32500 * sysdeps/unix/syscalls.list: Add syncfs.
32501
00e5419f
AS
325022011-04-01 Andreas Schwab <schwab@redhat.com>
32503
32504 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32505 open_by_handle_at.
32506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32511 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32513
748876bf
UD
325142011-04-01 Ulrich Drepper <drepper@gmail.com>
32515
658e451d
UD
32516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32518 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32520 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32523
748876bf
UD
32524 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32525 sync_file_range.c with -fexceptions.
32526 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32527 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32528 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32529 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32530 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32531 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32533 sync_file_range as cancellation point
32534 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32535 now a wrapper around __call_sync_file_range with cancellation handling.
32536 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32537 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32538 function name to __call_sync_file_range.
32539 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32540 Add call_sync_file_range.
748876bf 32541
6e63d5e1
AS
325422011-04-01 Andreas Schwab <schwab@redhat.com>
32543
32544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32545 bits/timex.h.
6e63d5e1 32546
46998f74
UD
325472011-04-01 Ulrich Drepper <drepper@gmail.com>
32548
4c1423ed
UD
32549 * iconv/iconv.h: Fix typo in comment.
32550 * io/fcntl.h: Likewise.
32551 * libio/stdio.h: Likewise.
32552 * posix/spawn.h: Likewise.
32553 * posix/unistd.h: Likewise.
32554 * stdlib/stdlib.h: Likewise.
32555 * time/time.h: Likewise.
32556 * wcsmbs/wchar.h: Likewise.
32557
158648c0
UD
32558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32559 open_by_handle): Add.
32560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32561 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32562 Augment a few comments.
32563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32567 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32568 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32569 open_by_handle.
32570
46998f74
UD
32571 * io/fcntl.h (AT_EMPTY_PATH): Define.
32572
83fe108b
UD
325732011-03-30 Ulrich Drepper <drepper@gmail.com>
32574
32575 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32576 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32577 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32578 to...
32579 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32580 * Versions.def: Add GLIBC_2.14.
32581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32582 Export.
83fe108b 32583
bb242059
UD
325842011-03-22 Ulrich Drepper <drepper@gmail.com>
32585
32586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32587 round counter.
32588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32589
c97a1282
L
325902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32591
32592 [BZ #12597]
32593 * string/test-strncmp.c (do_page_test): New function.
32594 (check2): Likewise.
32595 (test_main): Call check2.
32596 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32597
2a115601
UD
325982011-03-20 Ulrich Drepper <drepper@gmail.com>
32599
32600 [BZ #12587]
32601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32602 Handle cache information in CPU leaf 4.
32603 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32604
8126d904
UD
326052011-03-18 Ulrich Drepper <drepper@gmail.com>
32606
042c49c6 32607 [BZ #12583]
8126d904
UD
32608 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32609 character representation.
32610 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32611
ccfe366e
RA
326122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32613
32614 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32615 END(__isnan) to END(__isnanf) to match function entry point/label
32616 EALIGN(__isnanf,...).
32617
c6e13027
JJ
326182011-03-10 Jakub Jelinek <jakub@redhat.com>
32619
32620 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32621
33f85a3f
UD
326222011-03-10 Ulrich Drepper <drepper@gmail.com>
32623
028478fa
UD
32624 [BZ #12510]
32625 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32626 copy from the symbol referenced in the relocation to initialize the
32627 used variable.
32628 Patch by Piotr Bury <pbury@goahead.com>.
32629 * elf/Makefile: Add rules to build and tst-unique3.
32630 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32631 * elf/tst-unique3.cc: New file.
32632 * elf/tst-unique3.h: New file.
32633 * elf/tst-unique3lib.cc: New file.
32634 * elf/tst-unique3lib2.cc: New file.
32635
33f85a3f
UD
32636 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32637
03592fc7
MF
326382011-03-10 Mike Frysinger <vapier@gentoo.org>
32639
32640 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32641 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32642 to _start.
03592fc7 32643
6a5ee102
UD
326442011-03-06 Ulrich Drepper <drepper@gmail.com>
32645
32646 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32647 to-be-loaded object along a path to loader is ld.so.
32648
7e4ba49c
HJ
326492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32650 Ulrich Drepper <drepper@gmail.com>
32651
32652 * sysdeps/x86_64/memset.S: After aligning destination, code
32653 branches to different locations depending on the value of
32654 misalignment, when multiarch is enabled. Fix this.
32655
326562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32657
32658 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32659 Set _x86_64_preferred_memory_instruction for AMD processsors.
32660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32661 Set bit_Prefer_SSE_for_memop for AMD processors.
32662
13a804de
UD
326632011-03-04 Ulrich Drepper <drepper@gmail.com>
32664
32665 * libio/fmemopen.c (fmemopen): Optimize a bit.
32666
9d25c392
AS
326672011-03-03 Andreas Schwab <schwab@redhat.com>
32668
32669 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32670
a5543c6a
RM
326712011-03-03 Roland McGrath <roland@redhat.com>
32672
32673 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32674
012d35f7
DM
326752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32676
7e4ba49c 32677 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32678 __bzero_ultra1 instead of __memset_ultra1.
32679
4bff6e01
AS
326802011-02-23 Andreas Schwab <schwab@redhat.com>
32681 Ulrich Drepper <drepper@gmail.com>
32682
32683 [BZ #12509]
32684 * include/link.h (struct link_map): Add l_orig_initfini.
32685 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32686 returning unsuccessfully.
32687 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32688 close of a file loaded at startup, restore the original l_initfini
32689 list.
32690 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32691 list, store the pointer.
32692 * elf/Makefile ($(objpfx)noload-mem): New rule.
32693 (noload-ENV): Define.
32694 (tests): Add $(objpfx)noload-mem.
32695 * elf/noload.c: Include <memcheck.h>.
32696 (main): Call mtrace. Close all opened handles.
32697
f2092faf
AS
326982011-02-17 Andreas Schwab <schwab@redhat.com>
32699
32700 [BZ #12454]
32701 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32702 dependencies are missing.
32703
6c8a2e88
ST
327042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32705
f2092faf 32706 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32707 Hurd needs munmap.
32708 * sysdeps/mach/hurd/ifreq.h: New file.
32709
84a42118
PB
327102011-01-27 Petr Baudis <pasky@suse.cz>
32711 Ulrich Drepper <drepper@gmail.com>
32712
071f805e 32713 [BZ 12445]#
84a42118
PB
32714 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32715 to extend_alloca().
32716 * stdio-common/bug23.c: New file.
32717 * stdio-common/Makefile (tests): Add bug23.
32718
e23fe25b
AS
327192010-09-28 Andreas Schwab <schwab@redhat.com>
32720 Ulrich Drepper <drepper@gmail.com>
32721
32722 [BZ #12489]
32723 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32724 before performing relro protection. At old place add assertion
32725 to make sure nothing changed.
32726
d3f02e10
NS
327272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32728 Glauber de Oliveira Costa <glommer@gmail.com>
32729
32730 * elf/elf.h: Add new ARM TLS relocs.
32731
d55fd7a5
RA
327322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32733
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32735 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32736 cast from r3.
32737 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32738 'tests' variable.
32739 * sysdeps/wordsize-64/tst-writev.c: New file.
32740
2206397e
RA
327412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32742
32743 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32744 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32745 insns in _dl_start to prevent a TOC reference before relocs are
32746 resolved.
32747
e9433893
UD
327482011-02-15 Ulrich Drepper <drepper@gmail.com>
32749
32750 [BZ #12469]
32751 * Makeconfig: Remove RANLIB definition.
32752 * Makerules: Don't use RANLIB.
32753 * aclocal.m4: Remove ranlib test.
32754 * configure.in: No need to check for ranlib.
32755 * elf/rtld-Rules: Don't use RANLIB.
32756
f75286c6
ST
327572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32758
8e31c82d
ST
32759 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32760 protection macro.
32761 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32762 inclusion protection macro.
32763
f75286c6
ST
32764 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32765 SIGRTMIN and SIGRTMAX and print information in that case only when
32766 SIGRTMIN is defined.
32767
c1d0e639
JJ
327682011-02-11 Jakub Jelinek <jakub@redhat.com>
32769
32770 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32771 arginfo fn returning -1.
32772
32773 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32774 and thousands string is zero terminated.
32775
edf9294e
AS
327762011-02-03 Andreas Schwab <schwab@redhat.com>
32777
32778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32779 sysdeps/unix/sysv/linux/bits/socket.h.
32780
2b7e92df
ST
327812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32782
edf9294e
AS
32783 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32784 (__CPU_COUNT): Remove old macros.
32785 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32786 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32787 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32788 (__sched_cpualloc, __sched_cpufree): Add declarations.
32789
a4c7ea7b
UD
327902011-02-05 Ulrich Drepper <drepper@gmail.com>
32791
32792 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32793 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32794 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32795 (readdhstai): Return value of addhstaiX call.
32796 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32797 (addgrbyX): Return value returned by cache_addgr.
32798 (readdgrbyname): Return value returned by addgrbyX.
32799 (readdgrbygid): Likewise.
32800 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32801 (addpwbyX): Return value returned by cache_addpw.
32802 (readdpwbyname): Return value returned by addhstbyX.
32803 (readdpwbyuid): Likewise.
32804 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32805 (addservbyX): Return value returned by cache_addserv.
32806 (readdservbyname): Return value returned by addservbyX:
32807 (readdservbyport): Likewise.
32808 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32809 (addhstbyX): Return value returned by cache_addhst.
32810 (readdhstbyname): Return value returned by addhstbyX.
32811 (readdhstbyaddr): Likewise.
32812 (readdhstbynamev6): Likewise.
32813 (readdhstbyaddrv6): Likewise.
32814 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32815 (readdinitgroups): Return value returned by addinitgroupsX.
32816 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32817 (prune_cache): Keep track of timeout value of re-added entries.
32818 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32819 * nscd/nscd.h: Adjust prototypes of readd* functions.
32820
a0bf67cc
RM
328212011-02-04 Roland McGrath <roland@redhat.com>
32822
32823 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32824 (nis_stats): Likewise.
32825 * nis/nis_modify.c (nis_modify): Likewise.
32826 * nis/nis_remove.c (nis_remove): Likewise.
32827 * nis/nis_add.c (nis_add): Likewise.
32828
32829 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32830
32831 * posix/fnmatch_loop.c: Add some consts.
32832
32833 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32834
435b95eb
L
328352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 [BZ #12460]
32838 * config.make.in (config-cflags-novzeroupper): Define.
32839 * configure.in: Substitute libc_cv_cc_novzeroupper.
32840 * elf/Makefile (AVX-CFLAGS): Define.
32841 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32842 (CFLAGS-tst-auditmod4a.c): Likewise.
32843 (CFLAGS-tst-auditmod4b.c): Likewise.
32844 (CFLAGS-tst-auditmod6b.c): Likewise.
32845 (CFLAGS-tst-auditmod6c.c): Likewise.
32846 (CFLAGS-tst-auditmod7b.c): Likewise.
32847 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32848
8517b15e
UD
328492011-02-02 Ulrich Drepper <drepper@gmail.com>
32850
32851 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32852 function to the callback.
32853 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32854
10a656fe
AS
328552011-02-02 Andreas Schwab <schwab@redhat.com>
32856
32857 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32858 of errno.
32859
968dad0a
UD
328602011-01-19 Ulrich Drepper <drepper@gmail.com>
32861
9f94d2ea 32862 [BZ #11724]
968dad0a
UD
32863 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32864 of constructors.
32865 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32866 of destructors.
32867 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32868
32869 [BZ #11724]
32870 * elf/Makefile: Add rules to build and run new test.
32871 * elf/tst-initorder.c: New file.
32872 * elf/tst-initorder.exp: New file.
32873 * elf/tst-initordera1.c: New file.
32874 * elf/tst-initordera2.c: New file.
32875 * elf/tst-initordera3.c: New file.
32876 * elf/tst-initordera4.c: New file.
32877 * elf/tst-initorderb1.c: New file.
32878 * elf/tst-initorderb2.c: New file.
32879 * elf/tst-order-a1.c: New file.
32880 * elf/tst-order-a2.c: New file.
32881 * elf/tst-order-a3.c: New file.
32882 * elf/tst-order-a4.c: New file.
32883 * elf/tst-order-b1.c: New file.
32884 * elf/tst-order-b2.c: New file.
32885 * elf/tst-order-main.c: New file.
32886 New test case by George Gensure <werkt0@gmail.com>.
32887
86e92359
UD
328882010-10-01 Andreas Schwab <schwab@redhat.com>
32889
32890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32891 decoding ACE if AI_CANONIDN.
32892
5d5732b0
UD
328932011-01-18 Ulrich Drepper <drepper@gmail.com>
32894
32895 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32896
a77e8cbc
UD
328972011-01-17 Ulrich Drepper <drepper@gmail.com>
32898
6392473f
UD
32899 * version.h (RELEASE): Bump for 2.13 release.
32900 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32901
620a0529
UD
32902 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32903
18ba70a5
UD
32904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32905 MADV_NOHUGEPAGE.
32465c3e
UD
32906 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32907 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32908 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32909 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32912
c0dafcf1
UD
32913 * posix/getconf.c: Update copyright year.
32914 * catgets/gencat.c: Likewise.
32915 * csu/version.c: Likewise.
32916 * debug/catchsegv.sh: Likewise.
32917 * debug/xtrace.sh: Likewise.
32918 * elf/ldconfig.c: Likewise.
32919 * elf/ldd.bash.in: Likewise.
32920 * elf/sprof.c (print_version): Likewise.
32921 * iconv/iconv_prog.c: Likewise.
32922 * iconv/iconvconfig.c: Likewise.
32923 * locale/programs/locale.c: Likewise.
32924 * locale/programs/localedef.c: Likewise.
32925 * malloc/memusage.sh: Likewise.
32926 * malloc/mtrace.pl: Likewise.
32927 * nscd/nscd.c (print_version): Likewise.
32928 * nss/getent.c: Likewise.
32929
a77e8cbc
UD
32930 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32931 PF_CAIF, and PF_ALG.
32932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32933
77e8bddf
AS
329342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32935
1f20b93a
AS
32936 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32937 (modules-names): Use them.
32938 (ifunc-test-modules, ifunc-pie-tests): Define.
32939 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32940 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32941 (test-extras): Likewise.
32942 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32943 $(compile-command.c).
32944 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32945 (all-built-dso): Define.
32946 (check-textrel.out, check-execstack.out): Depend on it.
32947
77e8bddf
AS
32948 * configure.in: Don't override --enable-multi-arch.
32949
bc425b33
UD
329502011-01-15 Ulrich Drepper <drepper@gmail.com>
32951
32952 [BZ #6812]
32953 * nscd/hstcache.c (tryagain): Define.
32954 (cache_addhst): Return tryagain not notfound for temporary errors.
32955 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32956 failed.
32957
794c3ad3
UD
329582011-01-14 Ulrich Drepper <drepper@gmail.com>
32959
70181fdd
UD
32960 [BZ #10563]
32961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32962 to make the syscall.
32963 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32964
794c3ad3
UD
32965 [BZ #12378]
32966 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32967 and fall back to matching as normal character if the string ends before
32968 the matching ']' is found. This is what POSIX requires.
32969 * posix/testfnm.c: Adjust test result.
32970 * posix/globtest.sh: Adjust test result. Add new test.
32971 * posix/tst-fnmatch.input: Likewise.
32972 * posix/tst-fnmatch2.c: Add new test.
32973
68dc9497
AS
329742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32975
32976 * elf/Makefile (check-execstack): Revert last change. Depend on
32977 check-execstack.h.
32978 (check-execstack.h): New target.
32979 (generated): Add check-execstack.h.
32980 * elf/check-execstack.c: Include "check-execstack.h".
32981 (main): Revert last change.
32982 (handle_file): Return zero if GNU_STACK is absent and
32983 DEFAULT_STACK_PERMS doesn't include PF_X.
32984
451f001b
UD
329852011-01-13 Ulrich Drepper <drepper@gmail.com>
32986
cfa28e56
UD
32987 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32988 in child fails because the descriptor is already closed.
8cf8ce17
UD
32989 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32990 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32991 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32992
1086d70d
UD
32993 [BZ #12397]
32994 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32995 syscall.
32996
451f001b
UD
32997 [BZ #10484]
32998 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32999 temporary buffer used to handle multi lookups locally.
a85b5cb4 33000 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33001
08769175
UD
330022011-01-12 Ulrich Drepper <drepper@gmail.com>
33003
33004 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33005 loader is ld.so.
33006
5e49c52e
UD
330072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33008
33009 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33010 alignment for SSE2.
33011
60522a5f
UD
330122011-01-12 Ulrich Drepper <drepper@gmail.com>
33013
33014 [BZ #12394]
33015 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33016 characters. When rounding increased number of integer digits recompute
33017 number of groups.
33018 * stdio-common/tst-grouping.c: New file.
33019 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33020
f257bbd7
UD
330212011-01-09 Ulrich Drepper <drepper@gmail.com>
33022
33023 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33024 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33025
33026 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33027 void.
33028 * bits/select.h: Likewise.
33029
fa9c15cb
UD
330302011-01-08 Ulrich Drepper <drepper@gmail.com>
33031
33032 * po/ja.po: Update from translation team.
33033
16c2895f
DM
330342011-01-04 David S. Miller <davem@sunset.davemloft.net>
33035
33036 [BZ #11155]
33037 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33038 implementation just like for lxstat, fxstatat, et al.
33039
2543fef2
JM
330402010-12-27 Jim Meyering <meyering@redhat.com>
33041
33042 [BZ #12348]
33043 * posix/regexec.c (build_trtable): Return failure indication upon
33044 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33045
98727dbe
UD
330462010-12-25 Ulrich Drepper <drepper@gmail.com>
33047
5bd6dc5c
UD
33048 [BZ #12201]
33049 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33050 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33051 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33053
97983464
UD
33054 [BZ #12207]
33055 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33056
98727dbe
UD
33057 [BZ #12204]
33058 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33059 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33060
4a531bb0
L
330612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33062
33063 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33064 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33065 script has SORT_BY_INIT_PRIORITY.
33066 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33067 NO_CTORS_DTORS_SECTIONS is defined.
33068 * elf/soinit.c: Likewise.
33069 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33070 NO_CTORS_DTORS_SECTIONS is defined.
33071 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33072 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33073 * sysdeps/sh/init-first.c: Likewise.
33074 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33075
07eb4b71
UD
330762010-12-24 Ulrich Drepper <drepper@gmail.com>
33077
33078 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33079 always use the slow path.
33080
30950a5f
RA
330812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33082
33083 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33084 similar rule which adds the sysdep directories to the header search in
33085 order to pick up the correct platform stackinfo.h.
33086 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33087 perform test if it is, otherwise return successfully without testing.
33088 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33089 DEFAULT_STACK_PERMS define in stackinfo.h.
33090 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33091 defined in stackinfo.h.
33092 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33093 DEFAULT_STACK_PERMS defined in stackinfo.h.
33094 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33095 * sysdeps/ia64/stackinfo.h: Likewise.
33096 * sysdeps/s390/stackinfo.h: Likewise.
33097 * sysdeps/sh/stackinfo.h: Likewise.
33098 * sysdeps/sparc/stackinfo.h: Likewise.
33099 * sysdeps/x86_64/stackinfo.h: Likewise.
33100 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33101 PF_X for powerpc64. Retain PF_X for powerpc32.
33102
db753e2c
UD
331032010-12-19 Ulrich Drepper <drepper@gmail.com>
33104
14b697f7
UD
33105 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33106 accurately.
db753e2c
UD
33107 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33108 GETDENTS_64BIT_ALIGNED.
33109
28300719
UD
331102010-12-14 Ulrich Drepper <dreper@gmail.com>
33111
14b697f7 33112 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33113
4f197237
AS
331142010-12-10 Andreas Schwab <schwab@redhat.com>
33115
dbb0472f
AS
33116 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33117 _GNU_SOURCE.
33118
4f197237
AS
33119 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33120 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33121 Remove __restrict.
33122 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33123 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33124
fb88ac72
UD
331252010-12-09 Ulrich Drepper <drepper@gmail.com>
33126
33127 [BZ #11655]
33128 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33129 are initialized.
33130
42acbb92
JJ
331312010-12-09 Jakub Jelinek <jakub@redhat.com>
33132
33133 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33134
c038d98d
UD
331352010-12-03 Ulrich Drepper <drepper@gmail.com>
33136
33137 * po/it.po: Update from translation team.
33138
3a4a2499
L
331392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33140
33141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33142 unused codes.
33143
1e24cf6e
UD
331442010-11-30 Ulrich Drepper <drepper@gmail.com>
33145
33146 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33147
a7690819
AS
331482010-11-24 Andreas Schwab <schwab@redhat.com>
33149
33150 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33151 specially.
33152 (gaih_getanswer_slice): Likewise.
33153
3bf8d1b1
JJ
331542010-10-20 Jakub Jelinek <jakub@redhat.com>
33155
33156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33157
6db52fbb
PB
331582010-05-31 Petr Baudis <pasky@suse.cz>
33159
33160 [BZ #11149]
33161 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33162 silently even in the chroot mode.
33163
eaca7569
UD
331642010-11-22 Ulrich Drepper <drepper@gmail.com>
33165
33166 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33167 last patch a bit. Pretty printing
33168
3056dcdb
UD
331692010-05-31 Petr Baudis <pasky@suse.cz>
33170
33171 [BZ #10085]
33172 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33173 initialization of skip_initgroups_dyn.
33174
cf7c9078
UD
331752010-11-19 Ulrich Drepper <drepper@gmail.com>
33176
33177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33179
a1fb5e3e
UD
331802010-11-16 Ulrich Drepper <drepper@gmail.com>
33181
33182 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33183
3540d66b
AS
331842010-11-11 Andreas Schwab <schwab@redhat.com>
33185
33186 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33187 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33188 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33189 ($(objpfx)tst-fnmatch-mem): New rule.
33190 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33191 * posix/tst-fnmatch.c (main): Call mtrace.
33192
13b69574
L
331932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33196 Support Intel processor model 6 and model 0x2c.
33197
da93d214
LM
331982010-11-10 Luis Machado <luisgpm@br.ibm.com>
33199
33200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33201 signed comparison.
33202
8ca52c6e
L
332032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33204
33205 [BZ #12205]
33206 * string/test-strncasecmp.c (check_result): New function.
33207 (do_one_test): Use it.
33208 (check1): New function.
33209 (test_main): Use it.
33210 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33211 Support strcasecmp and strncasecmp.
33212
69da074d
UD
332132010-11-08 Ulrich Drepper <drepper@gmail.com>
33214
33215 [BZ #12194]
33216 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33218
ff02d528
L
332192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33222 IFUNC support.
33223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33224 memset-x86-64.
33225 * sysdeps/x86_64/multiarch/bzero.S: New file.
33226 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33227 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33228 * sysdeps/x86_64/multiarch/memset.S: New file.
33229 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33231 Set bit_Prefer_SSE_for_memop for Intel processors.
33232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33233 Define.
33234 (index_Prefer_SSE_for_memop): Define.
33235 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33236
344d0b54
LM
332372010-11-04 Luis Machado <luisgpm@br.ibm.com>
33238
33239 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33240 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33241
c0dde15b
UD
332422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33243
33244 [BZ #12191]
33245 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33246 (__x86_64_raw_data_cache_size_half): Likewise.
33247 (__x86_64_raw_shared_cache_size): Likewise.
33248 (__x86_64_raw_shared_cache_size_half): Likewise.
33249
33250 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33251 (__x86_64_raw_data_cache_size_half): Likewise.
33252 (__x86_64_raw_shared_cache_size): Likewise.
33253 (__x86_64_raw_shared_cache_size_half): Likewise.
33254 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33255 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33256 and __x86_64_raw_shared_cache_size_half. Round
33257 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33258 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33259 to multiple of 256 bytes.
33260
0e516e0e
MS
332612010-11-03 Ulrich Drepper <drepper@gmail.com>
33262
33263 [BZ #12167]
33264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33265 of inacessible symlinks. Verify result of symlink before returning it.
33266 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33267 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33268
0e012e87
ER
332692010-10-28 Erich Ritz <erichritz@gmail.com>
33270
33271 * math/math.h (isinf): Fix typo in comment.
33272
de0ff7bc
UD
332732010-11-01 Ulrich Drepper <drepper@gmail.com>
33274
33275 * po/da.po: Update from translation team.
33276
fa41c84d
UD
332772010-10-26 Ulrich Drepper <drepper@gmail.com>
33278
33279 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33280 is added to the list.
33281
f0967738
AK
332822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33283 Ulrich Drepper <drepper@gmail.com>
33284
33285 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33286 the global list here. Move code to...
33287 (_dl_add_to_namespace_list): ...here. New function.
33288 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33289 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33290 * elf/dl-load.c (lose): Don't remove the element from the list.
33291 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33292 (_dl_map_object): Likewise.
33293
332942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33295
33296 [BZ #12159]
33297 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33298 into all bytes of SSE register.
33299 Patch by Richard Li <richardpku@gmail.com>.
33300
f0967738 333012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33302
33303 [BZ #12140]
33304 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33305 perturbing.
33306
d0b9e94f
MB
333072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33308
33309 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33310 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33311 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33314 submachine.
33315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33316
8e9f92e9
AS
333172010-10-22 Andreas Schwab <schwab@redhat.com>
33318
33319 * include/dlfcn.h (__RTLD_SECURE): Define.
33320 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33321 mode & __RTLD_SECURE instead.
33322 (open_path): Rename preloaded parameter to secure.
33323 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33324 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33325 * elf/dl-deps.c (openaux): Likewise.
33326 * elf/rtld.c (struct map_args): Remove is_preloaded.
33327 (map_doit): Don't use it.
33328 (dl_main): Likewise.
33329 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33330 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33331
bc96fbda
AS
333322010-09-09 Andreas Schwab <schwab@redhat.com>
33333
33334 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33335 (sysd-rules-targets): Remove duplicates.
33336 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33337 rtld-%.$o dependency.
33338
22cd1c9b
AS
333392010-10-18 Andreas Schwab <schwab@redhat.com>
33340
33341 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33342 _dl_map_object do it.
33343
18edac48
UD
333442010-10-19 Ulrich Drepper <drepper@gmail.com>
33345
33346 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33347 fast fma builtins, define the macros in the C99 standard.
33348 (FP_FAST_FMAF): Likewise.
33349 (FP_FAST_FMAL): Likewise.
33350 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33351
33352 * bits/mathdef.h: Update copyright year.
33353 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33354
d2050124
MM
333552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33356
33357 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33358 builtins, define the macros in the C99 standard.
33359 (FP_FAST_FMAF): Likewise.
33360 (FP_FAST_FMAL): Likewise.
33361 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33362 multiply/add.
33363 (FP_FAST_FMAF): Likewise.
33364
475facd1
JJ
333652010-10-15 Jakub Jelinek <jakub@redhat.com>
33366
33367 [BZ #3268]
33368 * math/libm-test.inc (fma_test): Some new testcases.
33369 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33370 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33371 y and infinite z. Do multiplication by C already in long double.
33372 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33374 y and infinite z. Do bitwise or of inexact bit into u.d.
33375 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33376 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33377 * sysdeps/i386/fpu/s_fma.S: Removed.
33378 * sysdeps/i386/fpu/s_fmal.S: Removed.
33379
7c08a05c
JJ
333802010-10-16 Jakub Jelinek <jakub@redhat.com>
33381
33382 [BZ #3268]
33383 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33385 computation is not scheduled after fetestexcept. Fix value
33386 of minimum denormal long double.
33387
f3f7372d
JJ
333882010-10-14 Jakub Jelinek <jakub@redhat.com>
33389
33390 [BZ #3268]
33391 * math/libm-test.inc (fma_test): Add some more tests.
33392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33393 correctly.
33394
14d43591
AS
333952010-10-15 Andreas Schwab <schwab@redhat.com>
33396
33397 * scripts/data/localplt-s390-linux-gnu.data: New file.
33398 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33399
5e908464
JJ
334002010-10-13 Jakub Jelinek <jakub@redhat.com>
33401
33402 [BZ #3268]
33403 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33404 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33405 instead of dbl-64.
33406 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33407 inlines.
33408 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33410 if one of x and y is very large and the other is subnormal.
33411 * sysdeps/s390/fpu/s_fmaf.c: New file.
33412 * sysdeps/s390/fpu/s_fma.c: New file.
33413 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33414 * sysdeps/powerpc/fpu/s_fma.S: New file.
33415 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33416 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33417 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33418
334192010-10-12 Jakub Jelinek <jakub@redhat.com>
33420
33421 [BZ #3268]
33422 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33423 fma tests.
33424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33425 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33426 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33427 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33428 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33429 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33431
b833d51f
UD
334322010-10-12 Ulrich Drepper <drepper@redhat.com>
33433
33434 [BZ #12078]
33435 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33436 * posix/bug-regex31.input: Add test case.
33437
1751705d
UD
334382010-10-11 Ulrich Drepper <drepper@gmail.com>
33439
e9b9cbf5
UD
33440 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33441 * posix/bug-regex31.input: New file.
33442
33443 [BZ #12078]
33444 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33445 (parse_sub_exp): Fix last change, use postorder.
33446
ef06edbe
UD
33447 * posix/bug-regex31.c: New file.
33448 * posix/Makefile: Add rules to build and run bug-regex31.
33449
a129c80d
UD
33450 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33451
33452 [BZ #12078]
33453 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33454
b76b818e
UD
33455 [BZ #12108]
33456 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33457 to have entries in sys_siglist.
33458
1751705d
UD
33459 [BZ #12093]
33460 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33461 be NULL.
33462
9ff8d36f
JJ
334632010-10-07 Jakub Jelinek <jakub@redhat.com>
33464
33465 [BZ #3268]
33466 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33467 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33468 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33469 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33470 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33471 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33472 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33473 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33474 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33475 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33476 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33477 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33478 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33479 * math/ftestexcept.c (fetestexcept): Likewise.
33480 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33481 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33482 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33483 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33484 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33485 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33486 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33487
af325969
UD
334882010-10-11 Ulrich Drepper <drepper@gmail.com>
33489
c579b202 33490 [BZ #12107]
af325969
UD
33491 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33492 newline.
33493
67a67b95
UD
334942010-10-06 Ulrich Drepper <drepper@gmail.com>
33495
33496 * string/bug-strstr1.c: New file.
33497 * string/Makefile: Add rules to build and run bug-strstr1.
33498
5fb308bc
EB
334992010-10-05 Eric Blake <eblake@redhat.com>
33500
33501 [BZ #12092]
33502 * string/str-two-way.h (two_way_long_needle): Always clear memory
33503 when skipping input due to the shift table.
33504
45db99c7
UD
335052010-10-03 Ulrich Drepper <drepper@gmail.com>
33506
3b111893
UD
33507 [BZ #12005]
33508 * malloc/mcheck.c: Handle large requests.
33509
45db99c7
UD
33510 [BZ #12077]
33511 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33512 for strncmp and strncasecmp.
33513 * string/stratcliff.c: Add tests for strcmp and strncmp.
33514 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33515
cf7a1eb8
NI
335162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33517
33518 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33519 __set_fpscr.
33520
6484ba5e
AJ
335212010-09-30 Andreas Jaeger <aj@suse.de>
33522
33523 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33524 (CGROUP_SUPER_MAGIC): Define.
33525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33526 Handle btrfs and cgroup file systems.
33527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33528 Likewise.
33529
91c42559
LM
335302010-09-27 Luis Machado <luisgpm@br.ibm.com>
33531
33532 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33533 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33534
87a97932
AK
335352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33536
33537 [BZ #12067]
33538 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33539 trying to locate the ELF header.
33540
c21cc9bc
AS
335412010-09-27 Andreas Schwab <schwab@redhat.com>
33542
33543 [BZ #11611]
33544 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33545 Mask out sign-bit copies when constructing f_fsid.
33546
315970f6
PB
335472010-09-24 Petr Baudis <pasky@suse.cz>
33548
33549 * debug/stack_chk_fail_local.c: Add missing licence exception.
33550 * debug/warning-nop.c: Likewise.
33551
1ac7a2c7
JM
335522010-09-15 Joseph Myers <joseph@codesourcery.com>
33553
33554 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33555 implementing getdents64 using getdents syscall, set d_type if
33556 __ASSUME_GETDENTS32_D_TYPE.
33557
56801c50
AS
335582010-09-16 Andreas Schwab <schwab@redhat.com>
33559
33560 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33561 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33562
dda51327
UD
335632010-09-21 Ulrich Drepper <drepper@redhat.com>
33564
33565 [BZ #12037]
33566 * posix/unistd.h: Undo change of feature selection for ftruncate from
33567 2010-01-11.
33568
8ffcee4a
UD
335692010-09-20 Ulrich Drepper <drepper@redhat.com>
33570
a545ecd9 33571 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33572 detection.
33573
e24f0a8b
AS
335742010-09-20 Andreas Schwab <schwab@redhat.com>
33575
33576 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33577 fanotify_mark.
33578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33579
7291c56f
AS
335802010-09-14 Andreas Schwab <schwab@redhat.com>
33581
33582 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33583 variables after CHECK_SP call.
33584 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33585
bc5fb037
AS
335862010-09-13 Andreas Schwab <schwab@redhat.com>
33587 Ulrich Drepper <drepper@redhat.com>
33588
33589 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33590 re-relocationg ld.so.
33591 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33592 _dl_init_paths call.
33593 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33594 here anymore.
33595
e66e7419
UD
335962010-09-14 Ulrich Drepper <drepper@redhat.com>
33597
33598 * resolv/res_init.c (__res_vinit): Count the default server we added.
33599
c044aa75
CLT
336002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33601 Ulrich Drepper <drepper@redhat.com>
33602
33603 [BZ #11968]
33604 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33605 (____longjmp_chk): Use %ebx for saving value across system call.
33606 Add unwind info.
33607
32cf4069
AS
336082010-09-06 Andreas Schwab <schwab@redhat.com>
33609
33610 * manual/Makefile: Don't mix pattern rules with normal rules.
33611
817328ee
AS
336122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33613
33614 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33615 operation.
33616 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33617 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33618 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33619 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33621 Likewise.
33622
29fddf61
UD
336232010-09-04 Ulrich Drepper <drepper@redhat.com>
33624
33625 [BZ #11979]
33626 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33627 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33628
0959ffc9
UD
336292010-09-02 Ulrich Drepper <drepper@redhat.com>
33630
33631 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33632 * sysdeps/x86_64/addmul_1.S: Likewise.
33633 * sysdeps/x86_64/lshift.S: Likewise.
33634 * sysdeps/x86_64/mul_1.S: Likewise.
33635 * sysdeps/x86_64/rshift.S: Likewise.
33636 * sysdeps/x86_64/sub_n.S: Likewise.
33637 * sysdeps/x86_64/submul_1.S: Likewise.
33638
ece29840
ST
336392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33640
0959ffc9
UD
33641 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33642 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33643 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33644 * bits/sched.h [__need_schedparam]
ece29840 33645 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33646 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33647 (__defined_schedparam): Define to 1.
ece29840
ST
33648 (__sched_param): New structure, identical to sched_param.
33649 (__need_schedparam): Undefine.
33650
e53a31fe
MF
336512010-08-31 Mike Frysinger <vapier@gentoo.org>
33652
fdc0c10d
MF
33653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33654 (epoll_create1): Declare.
33655
e53a31fe
MF
33656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33657
a726d796
AS
336582010-08-31 Andreas Schwab <schwab@redhat.com>
33659
33660 [BZ #7066]
33661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33662 shifting retval into place.
33663
2f3e3dc7
UD
336642010-09-01 Ulrich Drepper <drepper@redhat.com>
33665
f2933da9
UD
33666 * nis/rpcsvc/nis.h: Update copyright notice.
33667 * nis/rpcsvc/nis.x: Likewise.
33668 * nis/rpcsvc/nis_callback.h: Likewise.
33669 * nis/rpcsvc/nis_callback.x: Likewise.
33670 * nis/rpcsvc/nis_object.x: Likewise.
33671 * nis/rpcsvc/nis_tags.h: Likewise.
33672 * nis/rpcsvc/yp.h: Likewise.
33673 * nis/rpcsvc/yp.x: Likewise.
33674 * nis/rpcsvc/ypupd.h: Likewise.
33675 * nis/yp_xdr.c: Likewise.
33676 * nis/ypupdate_xdr.c: Likewise.
33677
2f3e3dc7
UD
33678 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33679 mainly the body of pmap_getport. Add parameters to specify timeouts.
33680 (pmap_getport): Use __libc_rpc_getport.
33681 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33682 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33683 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33684
f3dcc2f9
AS
336852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33686
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33688 fanotify_mark.
33689
6d34eb5b
RM
336902010-08-27 Roland McGrath <roland@redhat.com>
33691
33692 * sysdeps/i386/i686/multiarch/Makefile
33693 (CFLAGS-varshift.c): New variable.
33694
9ea3de11
UD
336952010-08-27 Ulrich Drepper <drepper@redhat.com>
33696
c96d23fc
UD
33697 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33698 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33699
9ea3de11
UD
33700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33701
33702 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33703
623aac7f
L
337042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33705
33706 * sysdeps/x86_64/strlen.S: Unroll the loop.
33707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33708 strlen-sse2 strlen-sse2-bsf.
33709 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33710 __strlen_no_bsf if bit_Slow_BSF is set.
33711 (__strlen_sse42): Removed.
33712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33713 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33714
8b2b7715
RM
337152010-08-25 Roland McGrath <roland@redhat.com>
33716
33717 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33718 * sysdeps/x86_64/multiarch/varshift.c: New file.
33719 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33720 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33721 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33722 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33723
e73015f2
L
337242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33725
33726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33727 strlen-sse2 strlen-sse2-bsf.
33728 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33729 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33730 (__strlen_sse2): Removed.
33731 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33734 bit_Slow_BSF for Atom.
33735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33736 (index_Slow_BSF): Define.
33737 (HAS_SLOW_BSF): Define.
33738
df24a73e
UD
337392010-08-25 Ulrich Drepper <drepper@redhat.com>
33740
33741 [BZ #10851]
33742 * resolv/res_init.c (__res_vinit): When no server address at all
33743 is given default to loopback.
33744
f2ac4868
RM
337452010-08-24 Roland McGrath <roland@redhat.com>
33746
09055553
RM
33747 * configure.in: Remove config-name.h generation.
33748 * configure: Regenerated.
33749 * config-name.in: File removed.
33750 * scripts/config-uname.sh: New file.
33751 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33752 ($(objdir)config-name.h): New target.
33753
f2ac4868
RM
33754 * sunrpc/rpc_parse.h: Avoid nested comment.
33755
73f27d5e
RH
337562010-08-24 Richard Henderson <rth@redhat.com>
33757 Ulrich Drepper <drepper@redhat.com>
33758 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33762 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33763 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33764 _mm_alignr_epi8 with _mm_loadu_si128.
33765 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33766 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33767 (__m128i_shift_right): Removed.
33768 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33769 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33770 * sysdeps/x86_64/multiarch/varshift.h: New file.
33771 * sysdeps/x86_64/multiarch/varshift.S: New file.
33772
84b9230c
MF
337732010-08-21 Mike Frysinger <vapier@gentoo.org>
33774
33775 * configure.in: Move assembler checks to before sysdep dir checking.
33776
9bbd0ddc
PB
337772010-08-20 Petr Baudis <pasky@suse.cz>
33778
33779 * LICENSES: Sync the sunrpc license.
33780
9da4bb31
UD
337812010-08-19 Ulrich Drepper <drepper@redhat.com>
33782
a7ab6ec8
UD
33783 * sunrpc/auth_des.c: Update copyright notice once again.
33784 * sunrpc/auth_none.c: Likewise.
33785 * sunrpc/auth_unix.c: Likewise.
33786 * sunrpc/authdes_prot.c: Likewise.
33787 * sunrpc/authuxprot.c: Likewise.
33788 * sunrpc/bindrsvprt.c: Likewise.
33789 * sunrpc/clnt_gen.c: Likewise.
33790 * sunrpc/clnt_perr.c: Likewise.
33791 * sunrpc/clnt_raw.c: Likewise.
33792 * sunrpc/clnt_simp.c: Likewise.
33793 * sunrpc/clnt_tcp.c: Likewise.
33794 * sunrpc/clnt_udp.c: Likewise.
33795 * sunrpc/clnt_unix.c: Likewise.
33796 * sunrpc/des_crypt.c: Likewise.
33797 * sunrpc/des_soft.c: Likewise.
33798 * sunrpc/get_myaddr.c: Likewise.
33799 * sunrpc/getrpcport.c: Likewise.
33800 * sunrpc/key_call.c: Likewise.
33801 * sunrpc/key_prot.c: Likewise.
33802 * sunrpc/openchild.c: Likewise.
33803 * sunrpc/pm_getmaps.c: Likewise.
33804 * sunrpc/pm_getport.c: Likewise.
33805 * sunrpc/pmap_clnt.c: Likewise.
33806 * sunrpc/pmap_prot.c: Likewise.
33807 * sunrpc/pmap_prot2.c: Likewise.
33808 * sunrpc/pmap_rmt.c: Likewise.
33809 * sunrpc/rpc/auth.h: Likewise.
33810 * sunrpc/rpc/auth_unix.h: Likewise.
33811 * sunrpc/rpc/clnt.h: Likewise.
33812 * sunrpc/rpc/des_crypt.h: Likewise.
33813 * sunrpc/rpc/key_prot.h: Likewise.
33814 * sunrpc/rpc/netdb.h: Likewise.
33815 * sunrpc/rpc/pmap_clnt.h: Likewise.
33816 * sunrpc/rpc/pmap_prot.h: Likewise.
33817 * sunrpc/rpc/pmap_rmt.h: Likewise.
33818 * sunrpc/rpc/rpc.h: Likewise.
33819 * sunrpc/rpc/rpc_des.h: Likewise.
33820 * sunrpc/rpc/rpc_msg.h: Likewise.
33821 * sunrpc/rpc/svc.h: Likewise.
33822 * sunrpc/rpc/svc_auth.h: Likewise.
33823 * sunrpc/rpc/types.h: Likewise.
33824 * sunrpc/rpc/xdr.h: Likewise.
33825 * sunrpc/rpc_clntout.c: Likewise.
33826 * sunrpc/rpc_cmsg.c: Likewise.
33827 * sunrpc/rpc_common.c: Likewise.
33828 * sunrpc/rpc_cout.c: Likewise.
33829 * sunrpc/rpc_dtable.c: Likewise.
33830 * sunrpc/rpc_hout.c: Likewise.
33831 * sunrpc/rpc_main.c: Likewise.
33832 * sunrpc/rpc_parse.c: Likewise.
33833 * sunrpc/rpc_parse.h: Likewise.
33834 * sunrpc/rpc_prot.c: Likewise.
33835 * sunrpc/rpc_sample.c: Likewise.
33836 * sunrpc/rpc_scan.c: Likewise.
33837 * sunrpc/rpc_scan.h: Likewise.
33838 * sunrpc/rpc_svcout.c: Likewise.
33839 * sunrpc/rpc_tblout.c: Likewise.
33840 * sunrpc/rpc_util.c: Likewise.
33841 * sunrpc/rpc_util.h: Likewise.
33842 * sunrpc/rpcinfo.c: Likewise.
33843 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33844 * sunrpc/rpcsvc/key_prot.x: Likewise.
33845 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33846 * sunrpc/rpcsvc/mount.x: Likewise.
33847 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33848 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33849 * sunrpc/rpcsvc/rex.x: Likewise.
33850 * sunrpc/rpcsvc/rstat.x: Likewise.
33851 * sunrpc/rpcsvc/rusers.x: Likewise.
33852 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33853 * sunrpc/rpcsvc/spray.x: Likewise.
33854 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33855 * sunrpc/rtime.c: Likewise.
33856 * sunrpc/svc.c: Likewise.
33857 * sunrpc/svc_auth.c: Likewise.
33858 * sunrpc/svc_authux.c: Likewise.
33859 * sunrpc/svc_raw.c: Likewise.
33860 * sunrpc/svc_run.c: Likewise.
33861 * sunrpc/svc_simple.c: Likewise.
33862 * sunrpc/svc_tcp.c: Likewise.
33863 * sunrpc/svc_udp.c: Likewise.
33864 * sunrpc/svc_unix.c: Likewise.
33865 * sunrpc/svcauth_des.c: Likewise.
33866 * sunrpc/xcrypt.c: Likewise.
33867 * sunrpc/xdr.c: Likewise.
33868 * sunrpc/xdr_array.c: Likewise.
33869 * sunrpc/xdr_float.c: Likewise.
33870 * sunrpc/xdr_mem.c: Likewise.
33871 * sunrpc/xdr_rec.c: Likewise.
33872 * sunrpc/xdr_ref.c: Likewise.
33873 * sunrpc/xdr_sizeof.c: Likewise.
33874 * sunrpc/xdr_stdio.c: Likewise.
33875
9da4bb31
UD
33876 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33877 handling.
33878
bdaa77bc
AS
338792010-08-19 Andreas Schwab <schwab@redhat.com>
33880
33881 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33882
fe2f79db
LM
338832010-08-19 Luis Machado <luisgpm@br.ibm.com>
33884
33885 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33887 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33888 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33890 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33892 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33895 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33896 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33897 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33898 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33899
b9b42ee0
AB
339002010-07-26 Anton Blanchard <anton@samba.org>
33901
33902 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33903 * malloc/arena.c (heap_trim): Likewise.
33904
1c06ba31
UD
339052010-08-16 Ulrich Drepper <drepper@redhat.com>
33906
33907 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33908 here. Not...
33909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33910 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33911
f8392f40
L
339122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33913
33914 * sysdeps/i386/elf/Makefile: New file.
33915
3162f12e
AS
339162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33917
33918 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33919 from fanotify_init.
33920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33922
28c90b2c
UD
339232010-08-15 Ulrich Drepper <drepper@redhat.com>
33924
33925 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33926 of strncasecmp_l.
1feccb6c 33927 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33928
ca6bb004
UD
339292010-08-14 Ulrich Drepper <drepper@redhat.com>
33930
e9f82e0d
UD
33931 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33932 strncase_l-nonascii.
33933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33934 Add strncase_l-ssse3.
33935 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33936 * sysdeps/x86_64/strcmp.S: Likewise.
33937 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33938 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33939 * sysdeps/x86_64/strncase.S: New file.
33940 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33941 * sysdeps/x86_64/strncase_l.S: New file.
33942 * string/Makefile (strop-tests): Add strncasecmp.
33943 * string/test-strncasecmp.c: New file.
33944
33945 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33946 warning.
33947
ca6bb004
UD
33948 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33949 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33950
052fa7b3
AS
339512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33952
33953 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33954
962dba78
UD
339552010-08-12 Ulrich Drepper <drepper@redhat.com>
33956
33957 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33959 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33960
bebff237
AM
339612010-05-01 Alan Modra <amodra@gmail.com>
33962
33963 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33964 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33965 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33966 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33967 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33968 tidying. Don't tail-call __sigjmp_save for static lib.
33969 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33970 save location.
33971 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33972 (CALL_MCOUNT): Add eh info, and nop after bl.
33973 (TAIL_CALL_SYSCALL_ERROR): New macro.
33974 (PSEUDO_RET): Use it.
33975 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33976 Correct save location of integer regs and cr.
33977 (_dl_profile_resolve): Correct cr save location. Delete nops
33978 after bl when SHARED. Reduce cfi size a little by better
33979 placement of cfi directives.
33980 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33981 make a stack frame. Instead use parm save area as a temp.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33983 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33985 Don't make a stack frame for parent, use parm save area.
33986 Increase child stack frame to 112 bytes. Don't save unused reg,
33987 and adjust reg usage. Set up cfi on error recovery and
33988 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33990 (__makecontext): Add dummy nop after jump to exit.
33991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33992 Use correct parm save area and cr save, reduce stack frame.
33993 Correct cfi for possible PSEUDO_RET frame setup.
33994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33995 Branch to local label emitted by PSEUDO_RET rather than
33996 __syscall_error.
33997
02637374
AS
339982010-08-12 Andreas Schwab <schwab@redhat.com>
33999
34000 [BZ #11904]
34001 * locale/programs/locale.c (print_assignment): New function.
34002 (show_locale_vars): Use it.
34003
c3e2f19b
UD
340042010-08-11 Ulrich Drepper <drepper@redhat.com>
34005
3cdaa6ad
UD
34006 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34007 field.
34008 (struct statfs64): Likewise.
34009 (_STATFS_F_FLAGS): Define.
34010 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34011 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34012 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34013 (ST_VALID): Define locally.
34014 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34015 __statvfs_getflags, use the provided value.
34016 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34017 __ASSUME_STATFS_F_FLAGS.
34018
754f7da3
UD
34019 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34020
10b3bedc
UD
34021 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34022 Add sys/fanotify.h.
34023 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34024 fanotify_mask for GLIBC_2.13.
34025 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34026 fanotify_init and fanotify_mark.
34027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34028 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34029
c08fb0d7
UD
34030 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34031 Add prlimit.
34032 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34033 prlimit64 for GLIBC_2.13.
34034 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34035 prlimit64.
34036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34037 syscall.
34038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34040 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34043 add prlimit alias.
34044 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34045
15bac72b
UD
34046 [BZ #11903]
34047 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34048 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34049
c3e2f19b
UD
34050 * nss/Makefile: Add rules to build and run tst-nss-test1.
34051 * shlib-versions: Add entry for libnss_test1.
34052 * nss/nss_test1.c: New file.
34053 * nss/tst-nss-test1.c: New file.
34054
34055 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34056 (__nss_configure_lookup): Set appropriate entry in
34057 __nss_configure_lookup to true.
34058 * nss/nsswitch.h: Define enum with indeces of databases in
34059 databases and __nss_database_custom arrays. Declare
34060 __nss_database_custom.
34061 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34062 to avoid using nscd when custom rules are installed.
34063 * nss/getXXbyYY_r.c: Likewise.
34064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34065
34066 * nss/nss_files/files-parse.c: Whitespace fixes.
34067
f15ce4d8
UD
340682010-08-09 Ulrich Drepper <drepper@redhat.com>
34069
34070 [BZ #11883]
34071 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34072 * posix/fnmatch_loop.c: Likewise.
34073
d22e4cc9
AK
340742010-07-17 Andi Kleen <ak@linux.intel.com>
34075
34076 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34077 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34078 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34079 * Versions.def [GLIBC_2.13]: Add.
34080
805bc17d
UD
340812010-08-06 Ulrich Drepper <drepper@redhat.com>
34082
34083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34084 Also fail if tpwd after pwuid call is NULL.
34085
5a42321d
ST
340862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34087
34088 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34089 when converting to ms.
34090
fd3ebeda
ST
340912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34092
34093 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34094 EOPNOTSUPP errors with ENOTTY.
34095 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34096 EOPNOTSUPP errors with ENOTTY.
34097
73507d3a
UD
340982010-07-31 Ulrich Drepper <drepper@redhat.com>
34099
34100 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34101 Add strcasecmp_l-ssse3.
34102 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34103 strcasecmp.
34104 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34105 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34106 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34107
fe36dd02
UD
341082010-07-30 Ulrich Drepper <drepper@redhat.com>
34109
66f6765a
UD
34110 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34111
42e08a54
UD
34112 * string/Makefile (strop-tests): Add strcasecmp.
34113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34114 strcasecmp_l-nonascii.
34115 (gen-as-const-headers): Add locale-defines.sym.
34116 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34117 * sysdeps/x86_64/strcasecmp.S: New file.
34118 * sysdeps/x86_64/strcasecmp_l.S: New file.
34119 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34120 * sysdeps/x86_64/locale-defines.sym: New file.
34121 * string/test-strcasecmp.c: New file.
34122
fe36dd02
UD
34123 * string/test-strcasestr.c: Test both ends of the range of characters.
34124 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34125
48cbc0d6
RM
341262010-07-29 Roland McGrath <roland@redhat.com>
34127
76e6d6bc 34128 [BZ #11856]
48cbc0d6
RM
34129 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34130
880113d9
UD
341312010-07-27 Ulrich Drepper <drepper@redhat.com>
34132
34133 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34134 for ld.so.
34135
deb9cabb
AS
341362010-07-27 Andreas Schwab <schwab@redhat.com>
34137
34138 * manual/memory.texi (Malloc Tunable Parameters): Document
34139 M_PERTURB.
34140
1c7570ff
RM
341412010-07-26 Roland McGrath <roland@redhat.com>
34142
34143 [BZ #11840]
34144 * configure.in (-fgnu89-inline check): Set and substitute
34145 gnu89_inline, not libc_cv_gnu89_inline.
34146 * configure: Regenerated.
34147 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34148
24fb0f88
UD
341492010-07-26 Ulrich Drepper <drepper@redhat.com>
34150
34151 * string/test-strnlen.c: New file.
34152 * string/Makefile (strop-tests): Add strnlen.
34153 * string/tester.c (test_strnlen): Add a few more test cases.
34154 * string/tst-strlen.c: Better error reporting.
34155
34156 * sysdeps/x86_64/strnlen.S: New file.
34157
8e96b93a
UD
341582010-07-24 Ulrich Drepper <drepper@redhat.com>
34159
34160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34161 lower-latency instructions.
34162
dbc676d4
UD
341632010-07-23 Ulrich Drepper <drepper@redhat.com>
34164
34165 * string/test-strcasestr.c: New file.
34166 * string/test-strstr.c: New file.
34167 * string/Makefile (strop-tests): Add strstr and strcasestr.
34168 * string/str-two-way.h: Don't undefine MAX.
34169 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34170
f6a31e0e
AS
341712010-07-21 Andreas Schwab <schwab@redhat.com>
34172
34173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34174 strcasestr-nonascii.
34175 (CFLAGS-strcasestr-nonascii.c): Define.
34176 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34177 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34178 Remove unused attribute.
34179
5dbc3b6c
RM
341802010-07-20 Roland McGrath <roland@redhat.com>
34181
34182 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34183 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34184 ld.so.cache was broken. With it, there is no way to disable dsocaps
34185 like LD_HWCAP_MASK can disable hwcaps.
34186
23d101d8
EPM
341872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34188
34189 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34190
cc9f2e47
UD
341912010-07-16 Ulrich Drepper <drepper@redhat.com>
34192
34193 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34194 call in strcasestr.
34195 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34196 __strcasestr_sse42_nonascii.
34197 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34198 strcasestr-nonascii.c.
34199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34200
77c1b069
LM
342012010-06-15 Luis Machado <luisgpm@br.ibm.com>
34202
34203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34204 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34206 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34207
440566c3
UD
342082010-07-09 Ulrich Drepper <drepper@redhat.com>
34209
34210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34211 fcntl.
34212
5be9d05d
AS
342132010-07-06 Andreas Schwab <schwab@redhat.com>
34214
c30b7ee2 34215 [BZ #11577]
5be9d05d
AS
34216 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34217 dl_signal_cerror.
34218
8a492a67
UD
342192010-07-06 Ulrich Drepper <drepper@redhat.com>
34220
34221 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34222 _PC_PIPE_BUF using F_GETPIPE_SZ.
34223
713df3d5
RM
342242010-07-05 Roland McGrath <roland@redhat.com>
34225
34226 * manual/arith.texi (Rounding Functions): Fix rint description
34227 implicit in round description.
34228
702e8f14
UD
342292010-07-02 Ulrich Drepper <drepper@redhat.com>
34230
34231 * elf/Makefile: Fix linking for a few tests to make recent linker
34232 happy.
34233
52ed8be9
AS
342342010-06-30 Andreas Schwab <schwab@redhat.com>
34235
34236 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34237 $(common-objpfx)libc_nonshared.a.
34238
f47c9a11
LM
342392010-06-21 Luis Machado <luisgpm@br.ibm.com>
34240
34241 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34242 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34243 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34244 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34245 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34246 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34247 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34248 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34263 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34264 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34265 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34266 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34267 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34268 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34269 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34270 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34271 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34272 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34273 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34274 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34289
6fb8cbcb
L
342902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34291
34292 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34293 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34294 * string/memmove.c (memmove): Renamed to ...
34295 (MEMMOVE): ...this. Default to memmove.
34296 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34297 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34298 (END_CHK): Define.
34299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34300 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34301 mempcpy-ssse3-back memmove-ssse3-back.
34302 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34303 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34304 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34305 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34306 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34307 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34308 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34309 * sysdeps/x86_64/multiarch/memmove.c: New file.
34310 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34311 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34312 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34313 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34314 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34316 Define.
34317 (index_Fast_Copy_Backward): Define.
34318 (HAS_ARCH_FEATURE): Define.
34319 (HAS_FAST_REP_STRING): Define.
34320 (HAS_FAST_COPY_BACKWARD): Define.
34321
4e733bac 343222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34323
34324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34325 Restore proper fallback handling.
34326
63c4ed22
UD
343272010-06-19 Ulrich Drepper <drepper@redhat.com>
34328
ac2b484c
UD
34329 [BZ #11701]
34330 * posix/group_member.c (__group_member): Correct checking loop.
34331
63c4ed22
UD
34332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34333 OOM in getpwuid_r correctly. Return error number when the caller
34334 should return, otherwise -1.
34335 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34336 call returning > 0 value.
34337 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34338
765ade4b
AS
343392010-06-07 Andreas Schwab <schwab@redhat.com>
34340
34341 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34342 libc_nonshared.a from targets in modules-names.
34343
80da2e09
KS
343442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34345
34346 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34347 requires it.
34348
158db122
LM
343492010-06-10 Luis Machado <luisgpm@br.ibm.com>
34350
34351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34354 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34355
caa78cf8
AS
343562010-06-02 Andreas Schwab <schwab@redhat.com>
34357
34358 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34359
b2ef2c01
UD
343602010-06-14 Ulrich Drepper <drepper@redhat.com>
34361
34362 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34363 and F_GETPIPE_SZ.
34364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34370
fbd643b6
RM
343712010-06-14 Roland McGrath <roland@redhat.com>
34372
34373 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34374
f32f2869
JJ
343752010-06-07 Jakub Jelinek <jakub@redhat.com>
34376
34377 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34378 __REDIRECT followed by __THROW.
34379 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34380 * posix/getopt.h (getopt): Likewise.
34381
2a50c078
EPM
343822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34383
34384 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34385 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34386 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34387 in AT_FLAGS.
34388 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34389 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34390
eb5ad2eb
LM
343912010-05-28 Luis Machado <luisgpm@br.ibm.com>
34392
34393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34394
3c88fe1e
L
343952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34396
34397 [BZ #11640]
34398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34399 Properly check family and model.
34400
d2f73151
TY
344012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34402
34403 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34404
ebd2e13d
LM
344052010-05-24 Luis Machado <luisgpm@br.ibm.com>
34406
34407 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34408
b32b8b45
UD
344092010-05-21 Ulrich Drepper <drepper@redhat.com>
34410
34411 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34412 symbol reference.
34413
9acbe24d
AS
344142010-05-19 Andreas Schwab <schwab@redhat.com>
34415
34416 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34417 symbol reference.
34418
f0ccf6ea
AS
344192010-05-21 Andreas Schwab <schwab@redhat.com>
34420
3d04ff3a
AS
34421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34422 and internal_recvmmsg.
34423 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34424 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34425 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34426 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34427
f0ccf6ea
AS
34428 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34429 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34430 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34431
5b08ac57
AS
344322010-05-20 Andreas Schwab <schwab@redhat.com>
34433
34434 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34435
4828935d
LM
344362010-05-17 Luis Machado <luisgpm@br.ibm.com>
34437
34438 POWER7 optimizations.
34439 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34440 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34441
373d545e
UD
344422010-05-19 Ulrich Drepper <drepper@redhat.com>
34443
34444 * version.h: Update for 2.13 development version.
34445
21a2b1ae
AS
344462010-05-12 Andrew Stubbs <ams@codesourcery.com>
34447
34448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34449 exceptions. Return 0.
34450
3f7dcb2b
RM
344512010-05-07 Roland McGrath <roland@redhat.com>
34452
34453 * elf/ldconfig.c (main): Add a const.
34454
5f24d53a 344552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34456
a160f8d8
UD
34457 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34458 (args_options): Add no-idn option.
34459 (ahosts_keys_int): Add idn_flags to ai_flags.
34460 (parse_option): Handle 'i' option to clear idn_flags.
34461
5f24d53a
UD
34462 * malloc/malloc.c (_int_free): Possible race in the most recently
34463 added check. Only act on the data if no current modification
34464 happened.
265bb1ce
UD
34465
34466See ChangeLog.17 for earlier changes.