soft-fp: make extensions quiet signaling NaNs (bug 16041).
[glibc.git] / ChangeLog
blobd2a3e349bdb8c5a463cf82156680388cbbf0fa95
1 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16041]
4         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5         make result into a quiet NaN.
7 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
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.
97 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
99         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
100         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
102 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
104         * elf/dl-libc.c: Clear initfini list after freeing.
106 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
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.
194 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
196         [BZ #15672]
197         * misc/error.c (error_tail): Fix possible buffer overflow.
199 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
201         [BZ #13028]
202         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
203         address.
205 2013-10-14  P. J. McDermott  <pj@pehjota.net>
207         [BZ #832]
208         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
209         testing pipefail option.
211 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
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.
222 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
224         * iconv/iconv_prog.c: Fix typos.
225         * stdio-common/psiginfo-data.h: Likewise.
227 2013-10-12   Reuben Thomas <rrt@sc3d.org>
229         [BZ #15764]
230         * locale/setlocale.c: Fix typo.
232 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
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 >.
318         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
319         computing saturated result for unsigned overflow.
321 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
322             Jeff Law  <law@redhat.com>
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.
338 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
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.
355 2013-10-10  David S. Miller  <davem@davemloft.net>
357         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
358         directory block.
360 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
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.
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.
393 2013-10-10  David S. Miller  <davem@davemloft.net>
395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
397 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
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.
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.
412 2013-10-10  Will Newton  <will.newton@linaro.org>
414         * malloc/hooks.c (memalign_check): Ensure the value of bytes
415         passed to _int_memalign does not overflow.
417 2013-10-10  Torvald Riegel  <triegel@redhat.com>
419         * scripts/bench.pl: Add include-sources directive.
420         * benchtests/README: Update documentation.
422 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
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.
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.
439 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
441         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
442         semicolon.  From Linux kernel.
444 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
446         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
448 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
450         [BZ #156]
451         * manual/socket.texi: Added statement about buffer
452         for gethostbyname2_r.
454 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
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.
467 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
469         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
471         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
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.
498 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
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.
511 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
534 2013-10-07  Alan Modra  <amodra@gmail.com>
536         * README: Fix careless merge.
538 2013-10-05  Alan Modra  <amodra@gmail.com>
540         * NEWS: Mention powerpc64le support and bugs fixed.
541         * README: Both big-endian and little-endian powerpc64 supported.
543 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
550 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
552         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
553         match prototype.
555 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
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.
587         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
588         case to powerpc/powerpc32*.
589         * sysdeps/unix/sysv/linux/configure: Regenerated.
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.
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.
610 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
612         * locale/iso-3166.def: Update iso-1366.def and related occurrences
614 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
616         * manual/threads.texi (Default Thread Attributes): Fix typo.
618 2013-10-04  Will Newton  <will.newton@linaro.org>
620         * malloc/Makefile: Add tst-memalign.
621         * malloc/tst-memalign.c: New file.
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.
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.
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.
637 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
643 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
649 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
656 2013-10-04  Alan Modra  <amodra@gmail.com>
658         * string/tester.c (test_memrchr): Increment reported test cycle.
660 2013-10-04  Alan Modra  <amodra@gmail.com>
662         * string/test-memcpy.c (do_one_test): When reporting errors, print
663         string address and don't overrun end of string.
665 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
683 2013-10-04  Alan Modra  <amodra@gmail.com>
685         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
686         insrdi.  Formatting.
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.
694 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
707 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
720 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
736 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
743 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
756 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
766 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
775 2013-10-04  Alan Modra  <amodra@gmail.com>
777         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
779 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
785 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
792 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
805 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
806             Alistair Popple <alistair@ozlabs.au.ibm.com>
807             Alan Modra <amodra@gmail.com>
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.
819 2013-10-04  Alan Modra  <amodra@gmail.com>
821         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
822         Don't use a union to pack hi/low value.
824 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
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.
834 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
843 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
866 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
874 2013-10-04  Alan Modra  <amodra@gmail.com>
876         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
877         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
879 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
885 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
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.
903 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
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.
911 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
918 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
926 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
953 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
988 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
1022 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
1036 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
1056 2013-10-04  Alan Modra  <amodra@gmail.com>
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.
1072 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1074         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1075         page size instead of calling getpagesize.
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.
1085 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1087         [BZ #431]
1088         * manual/string.texi: Fix strncat and wcsncat.
1090 2013-10-03  Brooks Moses  <bmoses@google.com>
1092         [BZ #15915]
1093         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1094         * Makerules: ...here, and adjust associated comments.
1096 2013-10-02  Will Newton  <will.newton@linaro.org>
1098         * malloc/Makefile: Add tst-pvalloc.
1099         * malloc/tst-pvalloc.c: New file.
1101 2013-10-02  Will Newton  <will.newton@linaro.org>
1103         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1104         improve test coverage.
1106 2013-10-02  Will Newton  <will.newton@linaro.org>
1108         * malloc/Makefile: Add tst-posix_memalign.
1109         * malloc/tst-posix_memalign.c: New file.
1111 2013-10-01  Eric Blake  <eblake@redhat.com>
1113         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1114         Use __THROWNL rather than __THROW on static functions.
1116 2013-09-30  Petr Machata  <pmachata@redhat.com>
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.
1200 2013-09-30  Andreas Schwab  <schwab@suse.de>
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.
1208 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1210         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1212 2013-09-28  P. J. McDermott  <pj@pehjota.net>
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.
1218 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1220         * sysdeps/sh/stackguard-macros.h: New file.
1222 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
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.
1231 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1233         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1234         Fix thread ID register.
1236 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
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.
1249 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1251         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1252         argument calculation.
1254 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
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.
1268 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1269             Richard Sandiford  <richard@codesourcery.com>
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.
1307 2013-09-24  Roland McGrath  <roland@hack.frob.com>
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.
1313 2013-09-24  Will Newton  <will.newton@linaro.org>
1315         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1316         macro.
1318 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1320         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1321         unsigned char.
1323 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1325         * manual/threads.texi (POSIX Threads): Fix a typo.
1327 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
1343 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
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.
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.
1366 2013-09-23  Hector Marco  <hecmargi@upv.es>
1367             Ismael Ripoll  <iripoll@disca.upv.es>
1368             Carlos O'Donell  <carlos@redhat.com>
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.
1378 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1380         [BZ #15859]
1381         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1383 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
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.
1393 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1395         * NEWS: Mention malloc probes.
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.
1405         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1406         * manual/probes.texi: Document it.
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.
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.
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.
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.
1437 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
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.
1444 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
1457 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1459         * stdlib/strtod_l.c: Fix buffer overrun.
1461 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1463         * benchtests/Makefile (bench): Add sincos.
1464         * benchtests/bench-sincos.c: New file.
1466         * math/libm-test.inc (cos_test_data): New test inputs.
1467         (sin_test_data): Likewise.
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.
1483         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1484         function.
1485         (__sin): Use it.
1486         (__cos): Likewise.
1488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1489         gotos.
1490         (__cos): Likewise.
1492 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
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.
1501 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1502             Aldy Hernandez  <aldyh@redhat.com>
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.
1524 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
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.
1533         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1534         Do not append -msoft-float.
1535         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1537 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1539         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1541 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
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.
1550 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
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.
1557 2013-09-11  Jia Liu  <proljc@gmail.com>
1559         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1560         __daddr_t_defined.
1561         [__FreeBSD__]: Likewise.
1563 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
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.
1572 2013-09-11  Will Newton  <will.newton@linaro.org>
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.
1579 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1583 2013-09-11  Andreas Schwab  <schwab@suse.de>
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.
1591 2013-09-11  Will Newton  <will.newton@linaro.org>
1593         [BZ #15857]
1594         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1595         does not overflow.
1597 2013-09-11  Will Newton  <will.newton@linaro.org>
1599         [BZ #15856]
1600         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1601         does not overflow.
1603 2013-09-11  Will Newton  <will.newton@linaro.org>
1605         [BZ #15855]
1606         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1607         does not overflow.
1609 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
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.
1617 2013-09-10  Allan McRae  <allan@archlinux.org>
1619         [BZ #15748]
1620         * manual/arith.texi (Parsing of Floats): Clarify
1621         cross-reference.
1623         [BZ #15849]
1624         * manual/install.texi (Running make install): Mention
1625         --enable-pt-chown.
1626         * INSTALL: Regenerated.
1628 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
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.
1650 2013-09-09  Allan McRae  <allan@archlinux.org>
1652         [BZ #15939]
1653         * manual/string.texi (Collation Functions): Fix typo in
1654         strcoll example.
1655         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1657         [BZ #15893]
1658         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1660         [BZ #15892]
1661         * libio/memstream.c (open_memstream): Fix memory leak.
1662         * libio/wmemstream.c (open_wmemstream): Likewise.
1664         [BZ #15895]
1665         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1667 2013-09-09  Will Newton  <will.newton@linaro.org>
1669         * malloc/Makefile: Add tst-realloc to tests.
1670         * malloc/tst-realloc.c: New file.
1672 2013-09-09  Allan McRae  <allan@archlinux.org>
1674         [BZ #15844]
1675         * COPYING: Update from GNU website to fix FSF address.
1676         * COPYING.LIB: Likewise.
1678 2013-09-06  David S. Miller  <davem@davemloft.net>
1680         * po/zh_TW.po: Update Chinese (traditional) translation from
1681         translation project.
1683 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1684             Joseph Myers  <joseph@codesourcery.com>
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.
1763 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
1771 2013-09-06   Will Newton  <will.newton@linaro.org>
1773         * benchtests/Makefile (string-bench): Add memcpy.
1775 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1776             Cong Wang  <amwang@redhat.com>
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.
1787 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
1793 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1795         * string/test-memrchr.c: New file.
1796         * string/test-memrchr-ifunc.c: New file.
1797         * string/Makefile: Add new memrchr testcase.
1799 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1801         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1802         fanotify_init returns EPERM.
1804 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
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].
1815 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1817         [BZ #15923]
1818         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1820 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
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].
1872 2013-09-04   Will Newton  <will.newton@linaro.org>
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.
1906 2013-09-04  Will Newton  <will.newton@linaro.org>
1908         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1910 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
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.
1919 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
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.
1928 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1930         * Versions.def (libc): Add GLIBC_2.19.
1932 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1934         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1935         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1937 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
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.
1949 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1951         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1953 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
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.
1969 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
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.
1994 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1996         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1999 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
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.
2012 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2013             Roland McGrath  <roland@hack.frob.com>
2015         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2016         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2018 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2020         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2021         __executable_start symbol instead of _start.
2023 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
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.
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.
2034         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
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.
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.
2057 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
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.
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.
2079         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2081 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2083         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2086 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
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.
2103 2013-08-27  Roland McGrath  <roland@hack.frob.com>
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].
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"))).
2117         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2118         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2120         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2122         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2123         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2125         * resolv/res_mkquery.c: Include <sys/time.h>.
2127         * inet/ifreq.c: Moved to ...
2128         * sysdeps/unix/ifreq.c: ... here.
2129         * inet/ifreq.c: New file, true stub version.
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>.
2140         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2141         * bits/socket.h: ... here.
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.
2147 2013-08-27  Andreas Schwab  <schwab@suse.de>
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.
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.
2163 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2165         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
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.
2171 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2173         [BZ #15890]
2174         * nscd/aicache.c: Include res_hconf.h.
2175         (addhstaiX): Initialize res_hconf.
2177 2013-08-26  Andreas Schwab  <schwab@suse.de>
2179         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2180         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2182 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2184         * nscd/aicache.c (addhstaiX): Fix indentation.
2186 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2188         * configure.ac: Quote $build_pt_chown test.
2189         * configure: Regenerated.
2191 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
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.
2200 2013-08-22  David S. Miller  <davem@davemloft.net>
2202         * po/ca.po: Update Catalan translation from translation project.
2203         * po/uk.po: Add Ukrainian translations from translation project.
2205 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
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.
2215 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
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.
2258 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
2265 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
2282 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
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.
2292         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
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.
2298 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2299             Roland McGrath  <roland@hack.frob.com>
2301         * Makefile (INSTALL): Remove trailing blank lines from output of
2302         makeinfo.
2304 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2306         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2307         Align 32 bit compat elf_greg to 8 bytes.
2309 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2311         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2313 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
2322 2013-08-16  Florian Weimer  <fweimer@redhat.com>
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.
2344 2013-08-13  Andreas Schwab  <schwab@suse.de>
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.
2352 2013-08-12  David S. Miller  <davem@davemloft.net>
2354         * version.h (RELEASE): Set to "development".
2355         (VERSION): Set to "2.18.90".
2356         * NEWS: Add 2.19 section.
2358 2013-08-03  David S. Miller  <davem@davemloft.net>
2360         * po/ko.po: Update Korean translation from translation project.
2362 2013-08-01  David S. Miller  <davem@davemloft.net>
2364         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2365         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2366         Bilka.
2368 2013-07-30  David S. Miller  <davem@davemloft.net>
2370         * po/fr.po: Update French translation from translation project.
2372 2013-07-28  David S. Miller  <davem@davemloft.net>
2374         * po/cs.po: Update Czech translation from translation project.
2376         * po/sv.po: Update Swedish translation from translation project.
2378 2013-07-27  David S. Miller  <davem@davemloft.net>
2380         * po/eo.po: Update Esperanto translation from translation project.
2382         * po/vi.po: Update Vietnamese translation from translation project.
2384         * po/de.po: Update German translation from translation project.
2386 2013-07-26  David S. Miller  <davem@davemloft.net>
2388         * po/bg.po: Update Bulgarian translation from translation project.
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.
2394 2013-07-24  David S. Miller  <davem@davemloft.net>
2396         * po/libc.pot: Update.
2398 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
2406 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2408         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2410 2013-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>
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.
2431 2013-07-20  David S. Miller  <davem@davemloft.net>
2433         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2434         difference between 32-bit and 64-bit.
2436 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
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.
2443 2013-07-13  David S. Miller  <davem@davemloft.net>
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.
2449 2013-07-07  David S. Miller  <davem@davemloft.net>
2451         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2453 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2455         * sysdeps/i386/fpu/libm-test-ulps: Update.
2456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2458 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2460         * configure.in (--enable-lock-elision): Fix message text.
2461         * INSTALL: Regenerate.
2462         * configure: Regenerate.
2464 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2468 2013-07-03  Andreas Jaeger  <aj@suse.de>
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.
2479 2013-07-03  Allan McRae  <allan@archlinux.org>
2481         * sysdeps/i386/fpu/libm-test-ulps: Update.
2483 2013-07-02  David S. Miller  <davem@davemloft.net>
2485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2487 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2491 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2493         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2496 2013-07-02  Andi Kleen <ak@linux.intel.com>
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.
2504 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
2510 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
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.
2561 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
2575 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
2593 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
2618 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2620         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2621         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2623 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2625         [BZ #12492]
2626         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2627         mprotect making __stack_prot writable.
2629 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2630             Joseph Myers  <joseph@codesourcery.com>
2632         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2633         as being properly aligned.
2635 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
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.
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.
2666 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
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.
2674 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2676         [BZ #15674]
2677         * string/test-memcmp.c (check2): New.
2678         (main): Call check2.
2680         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2682 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
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.
2689 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2691         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2693 2013-06-25  Richard Henderson  <rth@redhat.com>
2695         * locale/programs/locarchive.c: Include <libc-internal.h>
2697 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2699         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2700         trailing whitespace removed.
2702 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2704         [BZ #10283]
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.
2723 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2725         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2726         (ALIGN_UP): Likewise.
2727         (PTR_ALIGN_DOWN): Likewise.
2728         (PTR_ALIGN_UP): Likewise.
2730 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
2748 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2750         * INSTALL: Regenerate.
2752         * nscd/connections.c (nscd_init): Fix comment.
2754 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2756         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
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.
2762 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2764         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2765         DL_DST_REQ_STATIC.
2766         (DL_DST_REQ_STATIC): Remove macro.
2768 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
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.
2774 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2776         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2777         $(tststatic-ENV).
2779 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2781         [BZ #15655]
2782         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2784 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
2800 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2802         * math/test-misc.c (main): Ignore fesetround failure when failures
2803         of subsequent rounding tests would be ignored.
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.
2819 2013-06-18  Roland McGrath  <roland@hack.frob.com>
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.
2825 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2827         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2828         fields.
2830 2013-06-17  Roland McGrath  <roland@hack.frob.com>
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.
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.
2844 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2846         * math/test-misc.c (main): Do not treat incorrectly rounded
2847         conversions as failure unless ROUNDING_TESTS passes.
2849 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
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.
2856         * math/libm-test.inc (fma_test_data): Add another test.
2858 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2860         * manual/threads.texi (Non-POSIX Extensions): New document
2861         node.  Document pthread_getattr_default_np and
2862         pthread_setattr_default_np.
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.
2885 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2888         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2890 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2891             H.J. Lu  <hjl.tools@gmail.com>
2893         [BZ #15627]
2894         * sysdeps/x86_64/rtld-memset.c: Remove file.
2895         * sysdeps/x86_64/rtld-memset.S: New file.
2897 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
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.
2905 2013-06-13  Roland McGrath  <roland@hack.frob.com>
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.
2912 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2914         * NEWS: Fix note on clock function precision.  Text by Roland
2915         McGrath.
2917 2013-06-13  Roland McGrath  <roland@hack.frob.com>
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.
2922 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
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.
2936 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2938         [BZ #12515]
2939         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2940         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2942 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
2950 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
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.
2962 2013-06-12  Andreas Jaeger  <aj@suse.de>
2964         * po/ia.po: Update Interlingua translation from translation
2965         project.
2967 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
3016 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3018         * locale/iso-639.def: Convert to UTF-8.
3020 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
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).
3029 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
3041 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
3056 2013-06-11  Andreas Schwab  <schwab@suse.de>
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.
3077 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3079         * include/sys/time.h: Fix indentation and add copyright header.
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.
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.
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.
3207 2013-06-11  Andreas Schwab  <schwab@suse.de>
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.
3216 2013-06-11  Andreas Jaeger  <aj@suse.de>
3218         * po/zh_TW.po: Update Chinese (traditional) translation from
3219         translation project.
3221 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
3243 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3245         * mach/err_boot.sub: Remove trailing whitespace.
3246         * mach/err_ipc.sub: Likewise.
3247         * mach/err_mach.sub: Likewise.
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.
3259 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3261         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3262         of assigning.
3264 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3266         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3267         otherwise empty TRANS lines.
3268         * sysdeps/gnu/errlist.c: Regenerated.
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.
3377 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
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.
3522 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
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.
3530 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
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.
3596 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3598         * posix/transbug.c: Remove executable mode.
3600 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
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.
3794 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
3801 2013-06-05  Andreas Schwab  <schwab@suse.de>
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.
3808 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
3817 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3819         * string/test-strchrnul.c: Add copyright header.
3821         * posix/tst-getaddrinfo4.c: Increase test timeout.
3823 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
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.
3831 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3833         * po/be.po: Revert last change.
3834         * po/zh_CN.po: Likewise.
3835         * po/header.pot: Likewise.
3837 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
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.
3889 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
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.
3900 2013-05-30  Jeff Law  <law@redhat.com>
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.
3907 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
3954 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3956         * po/be.po: Add descriptive title.
3957         * po/zh_CN.po: Likewise.
3958         * po/header.pot: Likewise.
3960 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3962         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3963         error message.
3964         (enlarge_archive): Likewise.
3966 2013-05-28  Ben North  <ben@redfrontdoor.org>
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.
3971 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3975 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3977         * stdio-common/bug26.c (main): Correct fscanf template.
3979         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3980         declare _dl_skip_args.
3982         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3983         Don't declare.
3985         * manual/platform.texi: Add missing @end deftypefun.
3987 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
4011 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4013         * manual/platform.texi: Add PowerPC PPR function set documentation.
4014         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4015         implementation.
4017 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
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.
4027 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
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.
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.
4375 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4377         [BZ #15381]
4378         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4380 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4382         [BZ #14894]
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.
4388 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
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.
4394 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
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.
4480 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
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.
4489 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
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.
4499 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
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.
4510 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4512         * benchtests/Makefile: Sort function entries.
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.
4526 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4528         [BZ #15339]
4529         * posix/tst-getaddrinfo4.c: New test.
4530         * posix/Makefile (tests): Add it.
4532 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
4540 2013-05-21  Andreas Schwab  <schwab@suse.de>
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.
4554 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
4561 2013-05-21  Andreas Schwab  <schwab@suse.de>
4563         [BZ #15493]
4564         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4565         * setjmp/tst-sigsetjmp.c: New test.
4567 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4569         * sysdeps/x86_64/memset.S (memset): New implementation.
4570         (__bzero): Likewise.
4571         (__memset_tail): New function.
4573 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
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.
4583 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
4622 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
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.
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.
4722 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
4836 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
4843 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4845         [BZ # 15497]
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.
4850 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
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.
4871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
5009 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
5206 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
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.
5213 2013-05-16  Richard Henderson  <rth@redhat.com>
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.
5225 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
5279 2013-05-13  Peter Collingbourne  <pcc@google.com>
5281         * math/atest-exp2.c (get_log2): Remove const attribute.
5283 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
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.
5300 2013-05-15  Peter Collingbourne  <pcc@google.com>
5302         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5303         (EXTRACT_WORDS64) Use where appropriate.
5304         (INSERT_WORDS64) Likewise.
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.
5310         * malloc/obstack.c (_obstack_compat): Add initializer.
5312 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
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.
5320 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
5363         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5364         function contents.
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.
5381 2013-05-14  David S. Miller  <davem@davemloft.net>
5383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5385 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5387         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
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.
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.
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).
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.
5411         * math/libm-test.inc (scalbln_test): Correct function name in END
5412         call.
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.
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.
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.
5431 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
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.
5437 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
5469         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5471 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
5476 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
5490 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
5599 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5601         * math/libm-test.inc (fma_test): Use max_value instead of local
5602         variable fltmax.
5603         (nextafter_test): Likewise.
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.
5752 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5754         [BZ #12387]
5755         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5757 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5759         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5761 2013-05-10  Andreas Jaeger  <aj@suse.de>
5763         [BZ #15448]
5764         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5765         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5767 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
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.
5792 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5794         * benchtests/bench-skeleton.c (startup): Fix coding style.
5796 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
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.
5808 2013-05-10  Florian Weimer  <fweimer@redhat.com>
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.
5820 2013-05-10  Andreas Jaeger  <aj@suse.de>
5822         [BZ #15395]
5823         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5824         localization.
5825         Include <locale.h>.
5827 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5829         * elf/dl-close.c (_dl_close_worker): Add comments.
5831 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
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.
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.
5843         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5844         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5846         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5847         M_PI_4l.
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.
5855 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5859 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
5966 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5968         * benchtests/bench-skeleton.c (main): Preheat CPU.
5970 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5972         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5974 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5976         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5977         and _dl_skip_args_internal.
5979 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5981         * manual/message.texi (Message Translation): Talk about users.
5982         Message to key mapping impacts design.
5984 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5986         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5988         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5990         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5991         * sysdeps/wordsize-64/glob64.c: ... here.
5993         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5994         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5995         New macros.
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.
6004         * io/poll.c (__poll): Renamed from poll.
6005         Add libc_hidden_def.
6006         (poll): Define as weak alias.
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.
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.
6026         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6027         (setrlimit): Define as weak alias.
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.
6034 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6036         * math/gen-libm-test.pl (parse_args): Initialize x before each
6037         test of frexp, modf and remquo.
6039         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6040         test signgam value.
6042 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
6050 2013-05-06  Roland McGrath  <roland@hack.frob.com>
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.
6057 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
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.
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.
6100 2013-05-03  Roland McGrath  <roland@hack.frob.com>
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.
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].
6126 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
6137 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6139         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6140         test signgam value.
6142         * math/libm-test.inc (hypot_test): Do not use
6143         IGNORE_ZERO_INF_SIGN.
6145 2013-05-03  Andreas Jaeger  <aj@suse.de>
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.
6152 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6156 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
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.
6163 2013-05-02  David S. Miller  <davem@davemloft.net>
6165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6167 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6169         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6171 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6173         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6175 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6177         [BZ #14952]
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__)).
6184 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
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.
6199 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6203 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
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.
6218 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6220         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
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.
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.
6257 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6259         * io/fchdir.c (__fchdir): Renamed from fchdir.
6260         (fchdir): Define as weak alias.
6262 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
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.
6292 2013-04-29  Andreas Jaeger  <aj@suse.de>
6294         [BZ #15084]
6295         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6296         and RES_USEVC.
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.
6303         [BZ #15380]
6304         * stdlib/random.c (__initstate): Return NULL if
6305         __initstate fails.
6307         [BZ #15086]
6308         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6309         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6310         RES_SNGLKUPREOP.
6312 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6316 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6318         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6319         of individual tests.
6320         (casin_test): Likewise.
6321         (casinh_test): Likewise.
6323 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
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.
6344 2013-04-27  Andreas Jaeger  <aj@suse.de>
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>.
6351 2013-04-27  Allan McRae  <allan@archlinux.org>
6353         * sysdeps/i386/fpu/libm-test-ulps: Update.
6355 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
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.
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.
6395 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
6406 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6410 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
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.
6506 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
6515 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6517         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6518         __ehdr_start with hidden visibility.
6520         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6522 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6524         * math/libm-test.inc (cos_test): Use accurate hex constants.
6525         (sincost_test): Likewise.
6527 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6529         * math/libm-test.inc (catan_test): Add more tests.
6530         (catanh_test): Likewise.
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.
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.
6552 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6554         * benchtests/Makefile: Mention files in which fast and slow
6555         paths of math functions are implemented.
6557 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6559         * sysdeps/posix/timespec_get.c: New file.
6561 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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
6573 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
6581 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6583         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6584         member.
6585         (_nss_files_init): Set it here.
6587 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
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.
6593 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6595         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6597 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6599         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6600         size just once.
6602 2013-04-21  David S. Miller  <davem@davemloft.net>
6604         * po/ru.po: Update Russion translation from translation project.
6606 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6608         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6609         and setfsgid.
6611 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6613         * configure.in: Remove i386 configure warning. Remove i386 case.
6614         * configure: Regenerate.
6615         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6616         Add example to error message.
6617         * sysdeps/i386/configure: Regenerate.
6619 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
6630 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6632         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6633         considered kosher.
6635 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637         * benchtests/Makefile: Include cppflags-iterator.mk to add
6638         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6640         * Makefile.in (bench-clean): New target.
6641         * benchtests/Makefile (bench-clean): Likewise.
6643 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6645         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6647 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6649         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6651 2013-04-15  Andreas Schwab  <schwab@suse.de>
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.
6659 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6661         * benchtests/Makefile (bench): Write all output to
6662         bench-out.tmp together.
6664 2013-04-15  Andreas Schwab  <schwab@suse.de>
6666         * nscd/nscd.c (main): Don't fork again after closing files.
6668 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6670         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6672         * benchtests/Rules (bench-deps): Collect dependencies into a
6673         single variable.  Add Makefile to dependencies.
6674         ($(objpfx)bench-%.c): Depend on bench-deps.
6676 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6677             Xavier Roche  <roche+kml2@exalead.com>
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.
6685 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6687         * Rules (bench): Move target definition...
6688         * benchtests/Makefile: ... here.
6690 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
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.
6697 2013-04-11  Andreas Schwab  <schwab@suse.de>
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.
6705         [BZ #14293]
6706         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6707         non-freeable.
6709 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6711         * Makeconfig (rtld-prefix): Define built linker prefix.
6712         * Rules (run-bench): Use it.
6713         * math/Makefile (run-regen-ulps): Likewise.
6715         * Rules (bench): Remove eval.
6717 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6718             Roland McGrath  <roland@hack.frob.com>
6719             Ondrej Bilka  <neleai@seznam.cz>
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.
6727 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6729         [BZ #14280]
6730         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6731         when computing value.
6733 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6735         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6736         Use testrun.sh to run libm tests.
6738         [BZ #15309]
6739         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6741 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6743         [BZ #15264]
6744         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6746 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
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"?'
6761 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
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.
6772 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6774         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6775         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6777 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
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).
6785         * stdio-common/tstdiomisc.c (F): Properly collect individual
6786         tests' results.
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.
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.
6800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6801         unreachable code.
6803         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6804         definitions.
6806 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
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.
6815 2013-04-03  Andreas Schwab  <schwab@suse.de>
6817         [BZ #15330]
6818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6819         order arrays from heap if bigger than alloca cutoff.
6821 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
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.
6828 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6830         * Rules (bench): Move bench.out after the run is complete.
6832         * Rules (bench): Echo currently running benchmark.
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.
6839         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6840         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6841         its value.
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.
6851 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
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.
6864 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6866         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
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.
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.
6885 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
6895 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
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.
6927 2013-03-30  David S. Miller  <davem@davemloft.net>
6929         * po/de.po: Update from translation team.
6931 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
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.
6946 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6948         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6949         ONE with its value.
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.
6960         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
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.
6972         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6974         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6976 2013-03-28  Roland McGrath  <roland@hack.frob.com>
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.
6983 2013-03-28  Roland McGrath  <roland@hack.frob.com>
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.
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.
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.
7003         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7004         (__libc_message): Never call vsyslog.
7006 2013-03-28  Alan Modra  <amodra@gmail.com>
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.
7013 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
7020 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7022         [BZ #15304]
7023         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7024         Don't add gid passed as argument.
7026         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7028 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
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.
7042 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
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.
7096 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7098         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7099         llroundl symbol when building for PPC32.
7101 2013-03-24  Mark H Weaver  <mhw@netris.org>
7103         * manual/arith.texi (Normalization Functions): Fix prototypes for
7104         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7106 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
7115 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7117         [BZ #11120]
7118         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7119         with NOT_IN_libc.
7121 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7123         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7124         symbol.
7126 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7128         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7129         wrap blocks consisting of several statements.
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.
7136 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
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.
7153 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7155         * Rules ($(objpfx)bench-%.c): Include code from a C source
7156         file.
7158 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
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.
7171 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7173         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7174         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7176 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
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.
7217 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7219         [BZ #14812]
7220         * locale/programs/localedef.c (options): Put N_ translation marker
7221         on argument names, not just descriptions.
7223 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7225         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7227 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7229         [BZ #14176]
7230         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7232 2013-03-19  Roland McGrath  <roland@hack.frob.com>
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.
7248 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
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.
7255 2013-03-19  Andreas Schwab  <schwab@suse.de>
7257         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7258         * sysdeps/gnu/configure: Regenerate.
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.
7273 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7275         * manual/nptl.texi: Renamed to ...
7276         * manual/threads.texi: ... this.
7277         * manual/Makefile (chapters): Update.
7279 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7281         [BZ #14812]
7282         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7283         on argument names, not just descriptions.
7284         * malloc/memusagestat.c (options): Likewise.
7285         * nss/getent.c (options): Likewise.
7287 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
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.
7294 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
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.
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.
7306         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7307         Inline strlen part.
7308         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
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.
7317 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7319         * manual/memory.texi (Malloc Tunable Parameters):
7320         Sort parameters alphabetically. Add comments for missing entries.
7322 2013-03-17  David S. Miller  <davem@davemloft.net>
7324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7326 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
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.
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.
7349 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7351         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7352         variable.
7354 2013-03-15  Roland McGrath  <roland@hack.frob.com>
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.
7360         * sysdeps/unix/sysv/linux/ldsodefs.h
7361         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7362         * sysdeps/generic/ldsodefs.h: ... here.
7364 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7366         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
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.
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.
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.
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.
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.
7419         * math/test-misc.c (main): Fix copy'n'pastos.
7420         * misc/tst-efgcvt.c (special): Likewise.
7422         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7423         Remove declarations.
7425 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
7432 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
7439 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7440             Richard Henderson  <rth@redhat.com>
7441             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
7456 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
7475         * manual/nptl.texi (cindex): Modify threads to pthreads.
7477 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7479         * sysdeps/x86_64/preconfigure: Regenerated.
7481 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
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.
7494 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         * manual/Makefile (chapters): Add nptl.
7497         * manual/debug.texi (Debugging Support): Add link to Threads
7498         chapter.
7499         * manual/nptl.texi: New file.
7501         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7503 2013-03-14  Petr Baudis  <pasky@ucw.cz>
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>.
7509 2013-03-13  Andreas Schwab  <schwab@suse.de>
7511         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7512         instead of .os.
7514 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7516         * timezone/zic.c: Update from tzcode 2013b.
7518 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7520         * manual/install.texi (Configuring and compiling):
7521         Mention i686 and i586.
7522         * INSTALL: Regenerate.
7524 2013-03-12  Roland McGrath  <roland@hack.frob.com>
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.
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.
7537 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7539         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7540         definining bcopy.
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.
7546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7547         memset-x86-64.
7548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7549         Remove bzero, memset ifunc support.
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.
7555 2013-03-11  Andreas Schwab  <schwab@suse.de>
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.
7563 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7565         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7566         (ptestcases.h): Likewise.
7568 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7570         * Makeconfig ($(common-objpfx)config.status): Depend on
7571         sysdeps/*/preconfigure{,.in} too.
7573 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
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.
7604         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7606         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7607         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7608         __malloc_ptrdiff_t.
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.
7627 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
7643 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
7654 2013-03-07  Andreas Jaeger  <aj@suse.de>
7656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7657         bits/mman-linux.h.
7659 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
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.
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.
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.
7702 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7704         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7706 2013-03-06  Andreas Jaeger  <aj@suse.de>
7708         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7709         definition via __MAP_ANONYMOUS.
7711         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7712         it's not part of Linux headers.
7714         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7715         (MAP_HUGE_MASK): Define.
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.
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.
7737         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7738         Handle f2fs.
7740         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7741         Handle f2fs and efivarfs.
7743         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7744         f2fs.
7746         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7747         (EFIVARFS_MAGIC): Add.
7748         (F2FS_LINK_MAX): Add.
7750 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7752         * stdio-common/vfprintf.c: Replace __builtin_expect with
7753         __glibc_unlikely.
7755 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
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.
7901 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7903         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7904         call free(NULL).
7906 2013-03-05  David S. Miller  <davem@davemloft.net>
7908         * po/es.po: Update from translation team.
7910 2013-03-05  Andreas Jaeger  <aj@suse.de>
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.
7927         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7928         (MCL_CURRENT, MCL_FUTURE): Define here.
7930 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7932         [BZ #15232]
7933         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7934         attribute_hidden.
7935         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7937 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
7948 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
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.
7956 2013-03-04  Andreas Jaeger  <aj@suse.de>
7958         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7959         common definitions.
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.
7966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7968 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7970         [BZ #15055]
7971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7972         __ieee754_sqrl instead of __sqrl.
7974 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
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.
7983 2013-03-01  Roland McGrath  <roland@hack.frob.com>
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.
7996 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7998         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7999         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8001 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8003         * NEWS: Mention libm performance improvements and non-x86 PI
8004         futex support.
8006         * csu/libc-start.c (__pthread_initialize_minimal): Change
8007         function arguments.
8008         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8010 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
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.
8173 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
8182 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8184         * csu/gmon-start.c: Add special exception to license text.
8186 2013-02-27  Richard Henderson  <rth@redhat.com>
8188         * scripts/config.guess: Update from config.git.
8189         * scripts/config.sub: Likewise.
8191 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8193         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8195         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8197         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8199         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8201         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8203 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8205         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8206         [$(build-shared = yes].
8208 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8210         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8211         (__mul): Reduce iterations for calculating mantissa.
8213         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8214         MPTWO.
8215         (__mpranred): Likewise.
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.
8221 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8223         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8224         Define __attribute__.
8226 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
8241 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8243         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8244         code.
8245         (cc32): Likewise.
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.
8258         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8259         style.
8261         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8262         style.
8264         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8265         code.
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.
8272 2013-02-24  Allan McRae  <allan@archlinux.org>
8274         * manual/socket.texi (The Internet Namespace): Order menu items
8275         to match that in the file.
8277         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8278         node listing of the info page menu.
8280 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
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>.
8626 2013-02-21  Allan McRae  <allan@archlinux.org>
8628         * manual/message.texi (Charset conversion in gettext):
8629         Move @end statement to beginning of line.
8631 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8634         static.
8635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8636         Likewise.
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.
8643 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
8648 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
8655 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8657         * manual/nss.texi (System Databases and Name Service Switch):
8658         Remove frobnicate @pxref.
8660 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8662         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8663         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8665 2013-02-20  Petr Machata  <pmachata@redhat.com>
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.
8713 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8715         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8716         __attribute_used__ to __attribute__ ((unused)).
8718 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
8726 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
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.
8832 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8834         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8835         macro.
8837 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
8847 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8849         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8850         and __attribute_alloc_size__.
8852 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
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.
8859 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
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.
8875 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
8902         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
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.
8910         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
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.
8919 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
8925 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
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.
8970 2013-02-17  Andreas Jaeger  <aj@suse.de>
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.
8980 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8982         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8983         loop termination condition.
8985         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8986         variable to calculate EZ.
8987         (__sqr): Likewise.
8989         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8990         the lower precision input.
8992 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
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.
9043 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
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.
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.
9145 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
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.
9186 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
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.
9263 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9265         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9267         * string/mempcpy.c: Implement by calling memcpy.
9269 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9274         evaluation.
9276         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9277         values in the mantissa.
9279         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9280         minimize writes to Z.
9281         (sub_magnitudes): Simplify code a bit.
9283 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9285         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9286         from the message.  The linker prefixes all warnings with that already.
9288 2013-02-12  Andreas Schwab  <schwab@suse.de>
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.
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.
9306 2013-02-11  Tom de Vries  <tom@codesourcery.com>
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.
9314 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9316         * bits/stdlib-bsearch.h: New file.
9317         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9318         * stdlib/stdlib.h: Likewise.
9320 2013-02-11  Roland McGrath  <roland@hack.frob.com>
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.
9398 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9400         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9401         Remove.
9403 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9405         * misc/sys/mman.h: Fix typo in mremap comment.
9407 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9409         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9410         the '\0' terminator.
9412 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
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.
9487 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9489         * string/strcpy.c: Removed unused variable.
9491         * Makeconfig (+sysdep-includes): Define with := rather than =.
9492         Use an existing include/ subdir of each sysdeps dir before it.
9494 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
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.
9504 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9506         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9507         loaded if not already and that a failure is permanent.
9509 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9511         [BZ #15006]
9512         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9513         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9515 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
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.
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.
9617 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9619         * nscd/nscd-client.h (__nscd_drop_map_ref):
9620         Add __attribute__ ((unused)).
9621         * nis/nss-nisplus.h (niserr2nss): Likewise.
9623         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9624         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
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.
9656 2013-02-05  Roland McGrath  <roland@hack.frob.com>
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.
9664         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9665         instead of calling alloca.
9667         * io/lseek.c (__lseek): Rename to __libc_lseek.
9668         Define __lseek as an alias.
9670         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9672 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9674         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9675         else clause and remove check for non-standard endianness.
9677 2013-02-04  David S. Miller  <davem@davemloft.net>
9679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
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.
9744 2013-02-04  Andreas Schwab  <schwab@suse.de>
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>.
9751 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9753         * elf/link.h (struct link_map): Extend the l_addr comment.
9754         * include/link.h (struct link_map): Likewise.
9756 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
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.
9775 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
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>.
9785         [BZ #13550]
9786         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9787         definitions.
9788         (CHECK_FCNTL): Likewise.
9789         (CHECK_N_PAGES): Likewise.
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.
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.
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.
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.
9872 2013-01-31  David S. Miller  <davem@davemloft.net>
9874         * po/de.po: Update from translation team.
9876 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9878         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9880 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9882         * configure.in (_AC_PROG_CC_C89): New definition.
9883         * configure: Regenerate.
9885         * configure.in (AC_PROG_CPP): New definition.
9886         * configure: Regenerate.
9888 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
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.
9916 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9918         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9920 2013-01-23  David S. Miller  <davem@davemloft.net>
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.
9929 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9931         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9932         * sysdeps/posix/ulimit.c: ... this.
9933         Include <limits.h>.
9934         * sysdeps/unix/bsd/ulimit.c: Remove file.
9936 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9938         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9939         (LDFLAGS-tst-array5): Likewise.
9941 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
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.
9949 2013-01-21  David S. Miller  <davem@davemloft.net>
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.
9959 2013-01-21  Andreas Schwab  <schwab@suse.de>
9961         [BZ #15020]
9962         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9963         closed its stdout.
9965 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9968         "mpa2.h".
9969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9971 2013-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>
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.
9991 2013-01-18  Anton Blanchard  <anton@samba.org>
9992             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
10013 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10015         [BZ #14496]
10016         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10017         Fix application of SIMD FP exception mask.
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.
10024         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10025         multiplication.
10027 2013-01-17  David S. Miller  <davem@davemloft.net>
10029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10031 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
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.
10062 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
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>.
10069 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10071         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10073 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
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.
10082 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
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.
10102 2013-01-16  Andreas Schwab  <schwab@suse.de>
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.
10109 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
10131         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10133 2013-01-15  David S. Miller  <davem@davemloft.net>
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.
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.
10176         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10177         libc_feholdexcept and libc_fesetenv.
10179 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10181         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10183 2013-01-14  David S. Miller  <davem@davemloft.net>
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.
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.
10241 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10243         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10244         to optimize copies.
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.
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.
10255 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10257         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10258         GLOB_NOESCAPE.
10260 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10262         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10264 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10266         * manual/pattern.texi (glob_t): Document gl_flags.
10267         (glob64_t): Likewise.
10269 2013-01-11  David S. Miller  <davem@davemloft.net>
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.
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.
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.
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.
10295 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10297         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10298         not in the main loop.
10299         * configure: Regenerated.
10301 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
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.
10323 2013-01-11  Steve Ellcey  <sellcey@mips.com>
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.
10330 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
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).
10456 2013-01-11  Andreas Jaeger  <aj@suse.de>
10458         [BZ #15003]
10459         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10460         value. Sync with Linux 3.7.
10462 2013-01-10  David S. Miller  <davem@davemloft.net>
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.
10468 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10470         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10471         never set.
10472         * configure: Regenerated.
10474 2013-01-10  David S. Miller  <davem@davemloft.net>
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.
10481 2013-01-10  Roland McGrath  <roland@hack.frob.com>
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.
10511 2013-01-10  David S. Miller  <davem@davemloft.net>
10513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10515 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
10526 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
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.
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].
10554 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
10565 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10567         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
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.
10574 2013-01-10  Andreas Schwab  <schwab@suse.de>
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.
10580 2013-01-09  David S. Miller  <davem@davemloft.net>
10582         [BZ #15003]
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.
10595 2013-01-09  Anton Blanchard  <anton@samba.org>
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.
10602 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10604         * include/features.h (__USE_ANSI): Remove.
10606 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10608         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10610         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10612 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10614         * sysdeps/s390/fpu/libm-test-ulps: Update.
10616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
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.
10661 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
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.
10668 2013-01-08  Andreas Jaeger  <aj@suse.de>
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.
10676 2013-01-07  Anton Blanchard  <anton@samba.org>
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.
10722 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
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.
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.
10758 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
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.
10791 2013-01-04  David S. Miller  <davem@davemloft.net>
10793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10795 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
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.
10802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10804 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
10831 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
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.
10843 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10845         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10847         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10849         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10850         declarations.
10851         (denorm): Likewise.
10852         (__mp_dbl): Likewise.
10853         (__inv): Likewise.
10855         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10856         and adjust the header comment.
10858         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10859         variable name from declaration.
10861 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
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.
10870 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10872         [BZ #14981]
10873         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10874         size is zero, record memory as freed.
10876 2013-01-03  Andreas Jaeger  <aj@suse.de>
10878         * po/ia.po: Add new Interlingua translation.
10880 2012-01-03  Allan McRae  <allan@archlinux.org>
10882         * locale/programs/localedef.c: Fix description of '--posix' flag.
10884 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
10915 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10917         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10918         four values.
10920         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10921         calculation loop and add branch prediction.
10923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10924         check access beyond bounds of m1np.
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.
10936 2013-01-01  David S. Miller  <davem@davemloft.net>
10938         * po/ca.po: Update from translation team.
10940 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
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.
11048 2013-01-01  David S. Miller  <davem@davemloft.net>
11050         * po/fr.po: Update from translation team.
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.
11075 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11077         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11078         numbers.
11080 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11082         * math/bits/mathcalls.h (modf): Use __nonnull.
11084 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
11094 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11097         __ATAN_TWOM.
11098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
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.
11107 2012-12-28  Andreas Jaeger  <aj@suse.de>
11109         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11110         values are from Linux 3.7.
11112         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11113         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11115 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11117         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11118         TRUE case.
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.
11128 2012-12-27  Bruno Haible  <bruno@clisp.org>
11130         [BZ #14317]
11131         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11132         only if needed.
11134 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
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.
11153 2012-12-25  David S. Miller  <davem@davemloft.net>
11155         * version.h (RELEASE): Set to "development".
11156         (VERSION): Set to "2.17.90".
11157         * NEWS: Add 2.18 section.
11159 2012-12-21  David S. Miller  <davem@davemloft.net>
11161         * po/hr.po: Update from translation team.
11163 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11165         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11167 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11169         * NEWS:  Mention new memcpy for MIPS.
11171 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11173         * manual/contrib.texi (Contributors): Spelling correction.
11175 2012-12-15  David S. Miller  <davem@davemloft.net>
11177         * po/ru.po: Update from translation team.
11179 2012-12-13  David S. Miller  <davem@davemloft.net>
11181         * NEWS: Mention IFUNC testsuite enhancements.
11183         * po/pl.po: Update from translation team.
11184         * po/bg.po: Likewise.
11186         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11187         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11189 2012-12-11  David S. Miller  <davem@davemloft.net>
11191         * po/sv.po: Update from translation team.
11193         * po/vi.po: Update from translation team.
11195         * po/cs.po: Update from translation team.
11197         * po/de.po: Update from translation team.
11198         * po/eo.po: Likewise.
11199         * po/nl.po: Likewise.
11201 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         [BZ #14246]
11204         * manual/argp.texi (Argp Helper Functions): Move node to follow
11205         Argp Parsing State.
11207         [BZ #14872]
11208         * manual/conf.texi (Limits on File System Capacity): Mention if
11209         terminating null is included in the max size.
11211 2012-12-10  Andreas Jaeger  <aj@suse.de>
11213         * po/cs.po: Update from translation team.
11215 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
11224 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11226         [BZ #14833]
11227         * menual/message.texi (Message Translation): Fix typos.
11228         (Helper programs for gettext): Likewise.
11230 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11232         [BZ #14898]
11233         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11234         Change to -1.
11236 2012-12-07  David S. Miller  <davem@davemloft.net>
11238         * po/libc.pot: Update.
11240 2012-12-07  Richard Henderson  <rth@redhat.com>
11242         [BZ #10114]
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.
11247 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11248             Mike Frysinger  <vapier@gentoo.org>
11250         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11251         check for __NR_fadvise64_64.
11253 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
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.
11260 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11262         * NEWS: Use sourceware.org in Bugzilla URL.
11264 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11267         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11269         * stdio-common/tst-put-error.c (do_test): Add newline to the
11270         padded test to ensure flush.
11272 2012-12-05  Jeff Law  <law@redhat.com>
11274         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11276 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
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.
11281         * LICENSES: Add more non-FSF copyright and license notices.
11283         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11284         ((unused)).
11286         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11288         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11289         10000 as width of padded output.
11291 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11293         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
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)).
11304 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11306         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11308 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
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.
11410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11411         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
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.
11418 2012-12-03  Allan McRae  <allan@archlinux.org>
11420         * manual/stdio.texi (Predefined Printf Handlers): Remove
11421         @hsep and @vsep usage.
11423 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11425         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11426         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11428 2012-12-03  Jeff Law  <law@redhat.com>
11430         * time/sys/time.h (settimeofday): Do not mark TV argument
11431         as __nonnull.
11433 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
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.
11440 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11442         * manual/arith.texi (feenableexcept): Fix typo.
11443         (fedisableexcept): Likewise.
11445 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11447         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11448         second, differently-typed declaration, rather than a cast.
11450 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11453         * include/rpc/svc.h: ... here.
11455 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
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.
11462 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11464         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11465         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11467 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11469         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11471 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11473         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11475 2012-11-28  Jeff Law  <law@redhat.com>
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.
11482 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11484         [BZ #14197]
11485         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11487 2012-11-28  David S. Miller  <davem@davemloft.net>
11489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11491 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
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.
11501 2012-11-28  Jeff Law <law@redhat.com>
11502             Martin Osvald <mosvald@redhat.com>
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.
11513 2012-11-28  Andreas Schwab  <schwab@suse.de>
11515         * scripts/abilist.awk: Also handle indirect functions in .opd
11516         section.
11518 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
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.
11536 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11537             Carlos O'Donell  <carlos_odonell@mentor.com>
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.
11543 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
11551 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
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.
11568 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
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.
11576 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11578         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11580 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11582         * configure.in: Autodetect C++ header directories.
11583         * configure: Regenerated.
11585 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11587         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11589 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11593 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
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.
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.
11607         * sysdeps/generic/unwind-dw2-fde-glibc.c
11608         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11609         __attribute__ ((unused)).
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.
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.
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.
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.
11630         * math/libm-test.inc (clog_test): Use
11631         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11632         (clog10_test): Likewise.
11634         [BZ #6778]
11635         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11637 2012-11-22  Andreas Schwab  <schwab@suse.de>
11639         * sysdeps/i386/fpu/libm-test-ulps: Update.
11641 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11643         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11644         printf output with newline.
11646 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
11667 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11669         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11671 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11673         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11674         macro.
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.
11699 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
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.
11705 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11707         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11708         DUMMY variables with __attribute__ ((unused)).
11710         * bits/byteswap.h: Include <bits/types.h>.
11711         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11713 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
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.
11721 2012-11-19  David S. Miller  <davem@davemloft.net>
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.
11731 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11733         [BZ #14856]
11734         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11735         Define to 3.
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.
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.
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.
11935         [BZ #14835]
11936         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11937         <bits/siginfo.h>.
11939 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11941         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11942         finalizing MALLSTREAM.
11944         * sysdeps/mach/hurd/syncfs.c: New file.
11946 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
11957 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11959         [BZ #13763]
11960         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11962 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11964         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11965         * elf/cache.c (print_entry): Print ",AArch64" for
11966         FLAG_AARCH64_LIB64
11968         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11969         * elf/cache.c (print_entry): Print ",hard-float" for
11970         FLAG_ARM_LIBHF.
11972 2012-11-18  David S. Miller  <davem@davemloft.net>
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.
11989 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11991         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11992         64-bit targets.
11993         * configure: Regenerated.
11995 2012-11-17  David S. Miller  <davem@davemloft.net>
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.
12002 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12004         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12006         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
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.
12030 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12032         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12034 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12036         [BZ #14672]
12037         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12039 2012-11-16  David S. Miller  <davem@davemloft.net>
12041         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12042         smaller than LDBL_EPSILON/2.0L, just return xm1.
12044 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12046         * elf/tst-array1.c (init): Set constructor priority to 1000.
12047         (fini): Set destructor priority to 1000.
12048         * elf/tst-array2dep.c: Likewise.
12050 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
12066 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12068         * libio/libioP.h: Add comment note that the references to C++
12069         bits are now obsolete.
12071 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12073         * math/libm-test.inc (check_complex): Use asprintf.
12075 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12077         * debug/pcprofiledump.c (print_version): Update copyright year.
12078         * malloc/memusagestat.c (print_version): Likewise.
12080 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
12093 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12095         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12096         * misc/Makefile (CFLAGS-select.c): Define.
12097         * posix/Makefile (CFLAGS-pause.c): Define.
12099 2012-11-13  David S. Miller  <davem@davemloft.net>
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.
12138 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
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.
12149         [BZ #14838]
12150         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12151         macro.
12153 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
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.
12160 2012-11-11  David S. Miller  <davem@davemloft.net>
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.
12167 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
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.
12184 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
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.
12191         ($(objpfx)version.h): New target.
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.
12200         * Makefile (format-me): Remove.
12201         (INSTALL): Adjust indentation.  Use commands directly instead of
12202         using $(format-me).
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.
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.
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.
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.
12336 2012-11-09  Andreas Jaeger  <aj@suse.de>
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>.
12342 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12344         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
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.
12349 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12351         * elf/elf.h: Update comment before AArch64 relocations.
12353 2012-11-07  David S. Miller  <davem@davemloft.net>
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.
12364 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
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".
12373 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
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.
12380 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
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.
12419         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12420         not expect.
12421         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12423         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12424         Change function return type to int.
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.
12442         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12443         Change condition to [XOPEN2K8].
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.
12731 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12733         [BZ #14815]
12734         * manual/filesys.texi (Directory Entries): Typo fix.
12735         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12737 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
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.
12749 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
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.
12765 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
12771 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12773         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12774         Change XOPEN21K to XOPEN2K.
12776 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12778         * string/memmove.c: Use memcpy when possible.
12780 2012-11-06  Andreas Jaeger  <aj@suse.de>
12782         * po/eo.po: Update from translation team.
12784 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
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.
12797 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12799         [BZ #14805]
12800         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12801         fenv_t *.
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.
12811 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12813         [BZ #3665]
12814         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12816 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12818         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12819         PTR_DEMANGLE.
12821         [BZ #5246]
12822         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12823         PTR_DEMANGLE.
12825 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
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.
12837 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12839         [BZ #157]
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.
13246 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13248         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13249         /usr/old/bin.
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.
13255 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
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.
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.
13354 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13356         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13358 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
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.
13366 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
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>.
13378 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
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>.
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.
13391         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13392         (struct rusage): Do not expect type or its members.
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.
13402 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
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.
13408 2012-11-02  Roland McGrath  <roland@hack.frob.com>
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.
13415 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
13421 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13423         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13424         except include of <misc/sys/syslog.h>.
13426 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13429         function returns with a NULL context exit with zero.
13431 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13433         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13435 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
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.
13442 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13444         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13445         floating point opcodes.
13447 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13449         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13450         variable.
13452         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13454         * sysdeps/mach/hurd/powerpc: Remove directory.
13455         * sysdeps/mach/powerpc: Likewise.
13457 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13459         * scripts/check-local-headers.sh: Ignore c++ headers.
13461 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13463         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13464         __libc_cleanup_region_start argument.
13466 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
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.
13479 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13481         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13483 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13485         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13486         New variable.
13488 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13490         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13492 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
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.
13499 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
13506 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13510 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
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.
13517         * manual/install.texi (Configuring and compiling): Document
13518         general use of test-wrapper and test-wrapper-env.
13519         * INSTALL: Regenerated.
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.
13540 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13542         * sysdeps/i386/tininess.h: Renamed to ...
13543         * sysdeps/x86/tininess.h: This.
13544         * sysdeps/x86_64/tininess.h: Removed.
13546 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
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.
13557 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13559         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13560         if defined.
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.
13571 2012-10-30  Andreas Jaeger  <aj@suse.de>
13573         * po/ru.po: Update Russion translation from translation project.
13575 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
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.
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.
13609 2012-10-30  Andreas Jaeger  <aj@suse.de>
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.
13618         * po/eo.po: Add Esperanto translation from translation project.
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.
13626 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13628         * manual/message.texi: Delete @cartouche tags.
13630 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13632         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13633         EOPNOTSUPP.
13634         * sysdeps/mach/hurd/fsync.c: Likewise.
13636         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13637         [_POSIX_REALTIME_SIGNALS]: Change condition to
13638         [_POSIX_REALTIME_SIGNALS > 0].
13640 2012-10-27  Andreas Jaeger  <aj@suse.de>
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.
13647 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13649         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13650         *  iconvdata/tst-tables.sh: Likewise.
13652 2012-10-25  David S. Miller  <davem@davemloft.net>
13654         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13655         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13656         of strtoull.
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.
13665 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13667         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13668         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13669         __getdirentries.
13671 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13672             Jim Blandy  <jimb@codesourcery.com>
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.
13679 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13681         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13682         EOPNOTSUPP.
13684 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13686         * Makeconfig (run-program-prefix): Fix comment.
13688 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13689             Jim Blandy  <jimb@codesourcery.com>
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.
13727 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13729         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13730         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13731         Targets removed.
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.
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.
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.
13785 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
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.
13792 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
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.
13800 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13802         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13804         * posix/globtest.sh (TMPDIR): Do not set.
13805         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13806         (testout): Likewise.
13808 2012-10-24  Andreas Jaeger  <aj@suse.de>
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.
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.
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.
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.
13835 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
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.
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.
13866 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13867             Joseph Myers  <joseph@codesourcery.com>
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).
13876 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13877             Jim Blandy  <jimb@codesourcery.com>
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.
13883 2012-10-22  Andreas Jaeger  <aj@suse.de>
13885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13886         __O_RSYNC if it exists, otherwise to O_SYNC.
13888 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13889             Joseph Myers  <joseph@codesourcery.com>
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.
13898 2012-10-22  Andreas Jaeger  <aj@suse.de>
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.
13904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13905         bits/fcntl-linux.h.
13907         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13908         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
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.
13915 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13916             Joseph Myers  <joseph@codesourcery.com>
13918         * config.make.in (NM): New variable.
13920 2012-10-21  Andreas Jaeger  <aj@suse.de>
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>.
13926 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
13938 2012-10-20  Andreas Jaeger  <aj@suse.de>
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.
13948 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13950         * io/fcntl.h: Move include of <bits/types.h> to the top and
13951         include it unconditionally.
13953 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
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.
14031 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14033         [BZ #13601]
14034         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14035         header is not read in.
14037 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
14093         [BZ #13888]
14094         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14095         or TMPDIR.
14096         (testout): Likewise.
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.
14106 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
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.
14114 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14116         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14118 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
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.
14174 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
14181 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14183         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14184         (lgamma_test): Likewise.
14185         (tgamma_test): Likewise.
14187 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14189         [BZ #14700]
14190         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14191         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14193 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
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.
14199 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14201         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14202         (__bswap_64): __uint64_t for unsigned 64-bit int.
14204 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
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.
14211 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
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.
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.
14350 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14352         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14353         * configure: Regenerated.
14355         * Makeconfig (+link-static-before-libc): Don't include
14356         $(link-static-libc).
14358         * libio/libio.h (_IO_pos_t): Remove.
14360 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14362         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14363         McGrath.
14365 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
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.
14373 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
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.
14386 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14388         * NEWS: Add entry for BZ #14602.
14390 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
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.
14404 2012-10-09  Roland McGrath  <roland@hack.frob.com>
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.
14424         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14425         defined.  Don't check if MAP is NULL.
14427 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
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.
14445 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
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.
14458 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
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.
14472 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14474         [BZ #14660]
14475         * Makerules (%.dynsym): Force C locale when running
14476         $(OBJDUMP) --dynamic-syms.
14478 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14480         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14481         <stdint.h>.
14483 2012-10-06  David S. Miller  <davem@davemloft.net>
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.
14489 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14491         * string/test-strstr.c (check2): Add a test for page boundary.
14493 2012-10-05  David S. Miller  <davem@davemloft.net>
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.
14504 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14506         [BZ #14602]
14507         * string/test-strstr.c (check2): New function.
14508         (test_main): Call check2.
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 ...
14525         * string/test-strstr.c (check1): Here.  New function.
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.
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.
14541         [BZ #14557]
14542         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14543         if IS_IN_rtld isn't defined.
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.
14557 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
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.
14567         * scripts/config.guess: Update from config.git.
14568         * scripts/config.sub: Likewise.
14570 2012-10-04  Roland McGrath  <roland@hack.frob.com>
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.
14585 2012-10-03  Roland McGrath  <roland@hack.frob.com>
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.
14599 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14601         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14602         _SC_LEVEL4_CACHE_LINESIZE.
14604 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14606         * sysdeps/unix/bsd/confstr.h: File removed.
14608 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14610         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14611         sys/sdt-config.h.
14613 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14615         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14616         Make 'mapoff' field ElfW(Off) rather than off_t.
14618 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
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.
14624         [BZ #10631]
14625         * malloc.c (malloc_printerr): Clarify error message.
14627 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
14639 2012-10-01  Roland McGrath  <roland@hack.frob.com>
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.
14653 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14654             Honza Horak <hhorak@redhat.com>
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.
14662 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14664         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
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.
14675 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
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.
14689 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
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.
14707 2012-09-28  David S. Miller  <davem@davemloft.net>
14709         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14711 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14713         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14714         instead of SIGALRM.
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.
14721         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14723         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14725         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14726         Conditionalize target on [libnss_test1.so-version].
14728         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14730         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14731         (elfobjdir): Move out of conditionals.
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.
14738 2012-09-28  David S. Miller  <davem@davemloft.net>
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.
14749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14751         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14753 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14755         [BZ #6530]
14756         * stdio-common/vfprintf.c (process_string_arg): Revert
14757         2000-07-22 change.
14759 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
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.
14767 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
14779         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14780         (VALIDX): Likewise.
14781         (ADDRIDX): Likewise.
14783 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14785         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14787 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
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.
14796 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
14803 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
14812 2012-09-27  David S. Miller  <davem@davemloft.net>
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.
14819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14821 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14823         * rt/tst-aio2.c: Include <pthread.h>.
14824         * rt/tst-aio3.c: Likewise.
14826 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14828         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14830 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14832         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14833         contents on [SHARED].
14835 2012-09-26  Marek Polacek  <polacek@redhat.com>
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.
14842 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14844         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14846 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14848         * Makefile.in (all, install): Declare with .PHONY.
14849         Reported by Michael Hope <michael.hope@linaro.org>.
14851 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
14871 2012-09-25  Alan Modra  <amodra@gmail.com>
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.
14879 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
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.
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.
14909 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
14920         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14923         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
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.
14943 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
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.
14975 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
14985 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14988         comments.
14990 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
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.
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.
15031 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
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.
15040         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15042         [BZ #14562]
15043         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15044         new chunk size with MALLOC_ALIGN_MASK.
15046 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
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.
15059 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
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.
15070 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
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.
15077 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
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.
15085 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15087         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15088         (tst-writev-ENV): Remove.
15089         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15091 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15093         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15095 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
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.
15106 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
15114 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
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).
15126 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
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.
15135 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
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.
15142 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
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).
15169 2012-12-09  Allan McRae  <allan@archlinux.org>
15171         * sysdeps/i386/fpu/libm-test-ulps: Update
15173 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
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.
15200 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15202         * csu/libc-tls.c: Update copyright years.
15204 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
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.
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.
15225 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
15231         * iconv/gconv_db.c: Update copyright years.
15233 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
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.
15243 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15245         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15247         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15248         is NULL.
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.
15263         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15264         on $(common-objpfx)soversions.mk.
15266 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15268         [BZ #10014]
15269         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15270         example host name.
15272 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
15283 2012-09-05  John Tobey  <john.tobey@gmail.com>
15285         [BZ #13542]
15286         * manual/arith.texi (Operations on Complex): Fix description
15287         of carg branch cut.
15289 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15291         [BZ #10014]
15292         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15293         host name.
15295         [BZ #10038]
15296         * manual/memory.texi (Memory): Make order of menu items match
15297         order of sections.
15299 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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).
15305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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.
15315 2012-09-06  Petr Machata  <pmachata@redhat.com>
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.
15322 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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].
15329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
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.
15341 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
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.
15348 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
15359 2012-09-05  David S. Miller  <davem@davemloft.net>
15361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
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.
15369 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15371         * malloc/arena.c: Fold copyright years.
15372         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15374 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15376         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15378 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15380         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15382 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15384         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15385         change internal state upon failure.
15387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15389         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15390         * malloc/memusage.c (mmap): Likewise.
15391         (mmap64, mremap): Likewise.  Adjust name in comment.
15393 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15395         * libio/fileops.c: Fix typos in comments.
15396         * libio/oldfileops.c: Likewise.
15397         * libio/wfileops.c: Likewise.
15399 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
15409 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15411         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15413 2012-09-05  Allan McRae  <allan@archlinux.org>
15415         [BZ #13966]
15416         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15417         determine header location.
15418         * configure: Regenerated.
15420 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
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 &&
15425         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15426         format.
15427         (test): Regenerate.
15429 2012-09-04  David S. Miller  <davem@davemloft.net>
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.
15435 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15437         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15438         failures.
15440         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15442 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
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.
15449 2012-09-03  Andreas Jaeger  <aj@suse.de>
15451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15452         * sysdeps/i386/fpu/libm-test-ulps: Update.
15454 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15456         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15457         Add s_sinf-sse2, s_conf-sse2.
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.
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.
15471         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15472         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
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.
15478         * math/libm-test.inc (cos_test): Add more test cases.
15479         (sin_test): Likewise.
15480         (sincos_test): Likewise.
15482 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
15489 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
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 ().
15497 2012-09-01  Allan McRae  <allan@archlinux.org>
15499         [BZ #13412]
15500         * configure.in (AWK): Require gawk version 3.0 or later.
15501         * configure: Regenerated.
15503 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
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.
15526 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15528         [BZ #14476]
15529         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15530         scripts/test-installation.pl.
15532         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15533         and $ld_so_version if it is set.
15535 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
15542 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
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.
15577 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15579         [BZ #5400]
15580         * NEWS: Add fixed bug number.
15582 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
15642 2012-08-25  Marek Polacek  <polacek@redhat.com>
15644         * time/time.h: Fix some typos in comments.
15646 2012-08-23  Roland McGrath  <roland@hack.frob.com>
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.
15652 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15654         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15655         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15657 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15659         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15660         #include of fxstatat64.c.
15662 2012-08-22  Roland McGrath  <roland@hack.frob.com>
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.
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.
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.
15749 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
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.
15755 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15757         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15758         Conditionalize whole body on [IREL].
15760 2012-08-22  Jeff Law <law@redhat.com>
15762         [BZ #14505]
15763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15764         if the family is PF_UNSPEC.
15766 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15768         * Makerules (lib-version): Rename from V.
15769         (install-lib-nosubdir): Change V to lib-version.
15771 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
15781 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15783         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15784         (two_way_short_needle): Use it.
15785         * string/strstr.c (AVAILABLE1_USES_J): Define.
15786         * string/strcasestr.c: Likewise.
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.
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.
15802 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15804         [BZ #11607]
15805         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15806         the first character.
15808 2012-08-21  Roland McGrath  <roland@hack.frob.com>
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.
15814 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
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.
15847 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
15853 2012-08-20  Roland McGrath  <roland@hack.frob.com>
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>.
15859         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15860         DSOCAPS to match condition on defining it.
15862 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
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.
15876         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15877         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
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.
15899 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15901         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15903 2012-08-18  Andreas Jaeger  <aj@suse.de>
15905         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15907 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
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.
15914 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
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.
15923 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15925         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15927 2012-08-17  Marek Polacek  <polacek@redhat.com>
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.
15932 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15934         * configure.in: Add AC_SUBST for sysheaders.
15935         * configure: Regenerated.
15936         * config.make.in (sysheaders): New substituted variable.
15938         * sysdeps/unix/mkfifo.c: Moved ...
15939         * sysdeps/posix/mkfifo.c: ... here.
15940         * sysdeps/unix/mkfifoat.c: Moved ...
15941         * sysdeps/posix/mkfifoat.c: ... here.
15943         * sysdeps/unix/utime.c: Moved ...
15944         * sysdeps/posix/utime.c: ... here.
15946         * sysdeps/unix/time.c: Moved ...
15947         * sysdeps/posix/time.c: ... here.
15948         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15949         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15951         * sysdeps/unix/nice.c: Moved ...
15952         * sysdeps/posix/nice.c: ... here.
15954         * sysdeps/unix/alarm.c: Moved ...
15955         * sysdeps/posix/alarm.c: ... here.
15957         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15959 2012-08-17  Jeff Law <law@redhat.com>
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.
15971 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15973         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15974         * sysdeps/unix/syscalls.list: ... here.
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.
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.
15992         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15993         __libc_cleanup_push argument.
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.
16003         * sysdeps/mach/hurd/sys/param.h: File removed.
16005         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16006         last change.
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.
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.
16042         * libio/Makefile: Test [$(libc-reentrant) = yes]
16043         instead of [$(filter %REENTRANT, $(defines)) nonempty].
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.
16052 2012-08-16  Gary Benson  <gbenson@redhat.com>
16054         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16055         unmapping the first object in a namespace.
16057 2012-08-16  Roland McGrath  <roland@hack.frob.com>
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.
16073 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16075         * stdlib/longlong.h: Update from GCC.
16077 2012-08-16  Roland McGrath  <roland@hack.frob.com>
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.
16087 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
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.
16095 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
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.
16116 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16118         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16119         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16121         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16123         * elf/dl-sym.c: Include <stdlib.h>.
16125         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16126         constants, which avoids warnings in 32-bit builds.
16128         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16129         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16131         * misc/lseek.c: File moved to ...
16132         * io/lseek.c: ... here.
16134         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16136         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16137         shifting LEN more than 31 bits at once.
16139 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16141         [BZ #14195]
16142         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16143         segmentation fault for a case of two empty input strings.
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.
16149 2012-08-15  Andreas Jaeger  <aj@suse.de>
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.
16157 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
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.
16165 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16167         * string/str-two-way.h: Include <sys/param.h>.
16168         (MAX): Macro removed.
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>.
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".
16180         * include/dirent.h: Declare __getdirentries.
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.
16185 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
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.
16201 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16203         * elf/dl-open.c: Include <atomic.h>.
16204         * elf/dl-lookup.c: Likewise.
16206 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
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.
16217 2012-08-14  Andreas Jaeger  <aj@suse.de>
16219         * sysdeps/i386/fpu/libm-test-ulps: Update.
16221 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
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.
16227 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16231 2012-08-13  Jeff Law <law@redhat.com>
16233         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16234         null byte in the output string.
16236 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
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.
16247 2012-08-09  Jeff Law <law@redhat.com>
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.
16261 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
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.
16291 2012-08-08  Mark Salter  <msalter@redhat.com>
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.
16307 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16309         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16310         Remove.
16312 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16314         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
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.
16320 2012-08-07      Allan McRae     <allan@archlinux.org>
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.
16329 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
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.
16350 2012-08-07  Roland McGrath  <roland@hack.frob.com>
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.
16377         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16378         * bits/fcntl.h: ... here.
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].
16395         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16396         * bits/dirent.h: ... here.
16398         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16399         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16401 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
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.
16423 2012-08-06  Roland McGrath  <roland@hack.frob.com>
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.
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.
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.
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.
16516 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16518         * stdlib/secure-getenv.c (__secure_getenv): Replace
16519         GLIBC_2_16 with GLIBC_2_17.
16521 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16523         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16524         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16526 2012-08-03  David S. Miller  <davem@davemloft.net>
16528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16530 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
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.
16544 2012-08-03  Roland McGrath  <roland@hack.frob.com>
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.
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.
16557 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
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.
16581 2012-08-02  Marek Polacek  <polacek@redhat.com>
16583         [BZ# 14150]
16584         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16585         libc_cv_asm_type_prefix with %.
16586         * configure: Regenerated.
16587         * include/libc-symbols.h: Remove comment about
16588         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
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.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16607         Do not define ASM_TYPE_DIRECTIVE.
16608         * sysdeps/powerpc/sysdep.h: Likewise.
16609         * sysdeps/powerpc/powerpc32/sysdep.h:
16610         Replace ASM_TYPE_DIRECTIVE with .type.
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.
16664 2012-08-01  Roland McGrath  <roland@hack.frob.com>
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.
16675 2012-08-01  Marek Polacek  <polacek@redhat.com>
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.
16682 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
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.
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.
16716 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16718         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16719         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16721         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16722         Define mkstemp64 as an alias.
16723         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16724         Define mkstemps64 as an alias.
16725         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16726         Define mkostemp64 as an alias.
16727         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16728         Define mkostemps64 as an alias.
16729         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16730         Conditionalize body on this.
16731         * misc/mkostemp64.c: Likewise.
16732         * misc/mkostemps64.c: Likewise.
16733         * misc/mkstemps64.c: Likewise.
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.
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.
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.
16755 2012-08-01  Florian Weimer  <fweimer@redhat.com>
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.
16764 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16766         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16768 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16770         [BZ #10191]
16771         * include/sys/socket.h (__libc_accept, __libc_accept4):
16772         Add attribute_hidden.
16773         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16775         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16776         use of PTR_MANGLE.
16777         * inet/getnetgrent_r.c (setup): Likewise.
16779         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16781 2012-07-31  David S. Miller  <davem@davemloft.net>
16783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16785 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
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.
16801 2012-07-31  Florian Weimer  <fweimer@redhat.com>
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.
16807 2012-07-30  Roland McGrath  <roland@hack.frob.com>
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.
16818         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16819         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16821         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16822         definition on [!__NO_LONG_DOUBLE_MATH].
16824         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16825         PTR_MANGLE and PTR_DEMANGLE.
16827         * socket/accept4.c (accept4): Rename to __libc_accept4.
16828         Define accept4 as a weak alias.
16830         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16831         on [_DIRENT_HAVE_D_TYPE].
16832         * io/ftw.c (ftw_dir): Likewise.
16834         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16836         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
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.
16845         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16846         initializer on [_LIBC_REENTRANT].
16848         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16849         definitions inside [_POSIX_MAPPED_FILES].
16851         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16853         * dirent/opendir.c: Include <fcntl.h>.
16855         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16856         (__libc_getspecific): Likewise.
16857         (__libc_key_create): Likewise.
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.
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>.
16881         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16882         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16884         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16885         [HAVE_MMAP].
16887         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16888         Add multiple inclusion protection.
16890 2012-07-27  David S. Miller  <davem@davemloft.net>
16892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16894 2012-07-27  Gary Benson  <gbenson@redhat.com>
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.
16913 2012-07-26  Roland McGrath  <roland@hack.frob.com>
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.
16920 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16922         * inet/check_native.c: New file.
16924 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
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.
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.
16994 2012-07-26  Andreas Jaeger  <aj@suse.de>
16996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16997         ptrace.
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.
17007         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17008         value.
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.
17023 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
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.
17115 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
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.
17141 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17143         * Versions.def: Add GLIBC_2.17.
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.
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.
17152         * stdlib/tst-secure-getenv.c: New.
17153         * stdlib/Makefile (tests): Add testcase.
17154         * manual/startup.texi (Environment Access): Document
17155         secure_getenv.
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.
17161         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
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
17166         __secure_getenv to __libc_secure_getenv.
17167         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
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.
17180 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
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.
17211 2012-07-25  Marek Polacek  <polacek@redhat.com>
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.
17222 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
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.
17230 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17232         * configure.in <sysdeps resolving>: Correct printing
17233         Implies_before.
17234         * configure: Regenerate.
17236 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17238         * math/w_ilogb.c: Include <limits.h>.
17239         * math/w_ilogbl.c: Likewise.
17241 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
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.
17249 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
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.
17255         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17256         with O_NOLINK passed to __file_name_lookup.
17258         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17259         with O_NOLINK passed to __file_name_lookup.
17261         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17262         negative N or less than NGIDS.
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.
17268 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
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.
17297 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
17304 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
17319 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
17345 2012-07-17  Marek Polacek  <polacek@redhat.com>
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.
17365         * elf/dl-open.c: Comment fixes.
17367 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
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.
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.
17417 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17419         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17420         zero value for regular exit case.
17422         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17423         (__start_context): Preserve zero value for regular exit case.
17425 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17426             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
17433 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17435         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17436         preprocessor.  Test for each exception mask separately.
17438 2012-07-16  Andreas Jaeger  <aj@suse.de>
17440         * po/ru.po: Update from translation team.
17442 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
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.
17452 2012-07-13  Andreas Jaeger  <aj@suse.de>
17454         * po/fr.po: Update from translation team.
17456 2012-07-12  Marek Polacek  <polacek@redhat.com>
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.
17463 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
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.
17485 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
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).
17499 2012-07-11  Andreas Jaeger  <aj@suse.de>
17501         * po/fr.po: Update from translation team.
17503         * po/sv.po: Update from translation team
17504         * po/fr.po: Another update from translation team.
17506 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
17513 2012-07-11  David S. Miller  <davem@davemloft.net>
17515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17517 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17519         [BZ #14347]
17520         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17521         (INTERNAL_MARK): Shift it here.
17523 2012-07-10  Marek Polacek  <polacek@redhat.com>
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.
17563 2012-07-09  Roland McGrath  <roland@hack.frob.com>
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.
17572 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
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.
17587 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
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.
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.
17600 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
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.
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.
17629 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17631         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17633 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
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.
17647 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
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.
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.
17659 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
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.
17681 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17683         * .gitignore: Delete /ports entry.
17685 2012-07-03  Andreas Jaeger  <aj@suse.de>
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.
17695 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
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.
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.
17753         [BZ #14273]
17754         * math/libm-test.inc (cosh_test): Add more tests.
17756         * version.h (RELEASE): Set to "development".
17757         (VERSION): Set to "2.16.90".
17759 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
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.
17765 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17767         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17769 2012-06-27  Andreas Jaeger  <aj@suse.de>
17771         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17773 2012-06-25  Andreas Jaeger  <aj@suse.de>
17775         * sysdeps/s390/fpu/libm-test-ulps: Update.
17777 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17778             Thomas Schwinge  <thomas@codesourcery.com>
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.
17785 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
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.
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.
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.
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.
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.
17814         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17815         initialize the GOT register before use.
17817         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17818         calculation of ARGC > 4.
17820         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17821         meaningful names to some local labels.
17823 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17824             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
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.
17836 2012-06-22  Andreas Schwab  <schwab@redhat.com>
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.
17847 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17849         * configure.in: Use AC_LANG_SOURCE.
17850         * configure: Regenerate.
17852 2012-06-22  Roland McGrath  <roland@hack.frob.com>
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.
17863 2012-06-21  Jeff Law  <law@redhat.com>
17865         [BZ #14277]
17866         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17867         free.  Simplify list management for _LIBC case.
17869 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
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.
17876         * sysdeps/mach/configure: Regenerated.
17878 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17880         [BZ #14278]
17881         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17883 2012-06-21  Jeff Law  <law@redhat.com>
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.
17888         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17889         * elf/dl-open.c (dl_open_worker): Likewise.
17891 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17893         * scripts/list-sources.sh: Scan PORTS for translations.
17894         * po/libc.pot: Regenerated.
17896 2012-06-21  Andreas Jaeger  <aj@suse.de>
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.
17905 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17907         [BZ #14117]
17908         * sysdeps/i386/fpu_control.h: Removed.
17909         * sysdeps/x86_64/fpu_control.h: Moved to ...
17910         * sysdeps/x86/fpu_control.h: Here.
17912         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17913         (_FPU_SETCW): Likewise.
17915 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
17922         [BZ #14050]
17923         [BZ #14117]
17924         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17925         functions if __x86_64__ is defined.
17927 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17929         * string/endian.h: Add !__ASSEMBLER__ condition for including
17930         conversion interfaces.
17932 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
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.
17940 2012-06-15  Andreas Jaeger  <aj@suse.de>
17942         * manual/contrib.texi (Contributors): Update entry of Liubov
17943         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17944         Machado Filho.
17946 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17948         * string/string.h: Add __wur to GNU version of strerror_r.
17950 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
17958 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17960         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17962 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
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.
17971 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17973         * po/Makefile (libc.pot): Use UTF-8 charset.
17975 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
17984 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
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.
18010 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18012         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18013         non-default versions.
18015 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18017         [BZ #14218]
18018         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18020 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
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.
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.
18032 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
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.
18039 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18041         [BZ #14117]
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.
18048         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18049         __SSE_MATH__.
18051 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
18058 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18061         fmodl commit.
18063 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18066         values higher than 25.6283.
18068 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
18075 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18077         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18078         cpu2 is -1 and errno is not ENOSYS.
18080 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18082         [BZ #14117]
18083         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18084         * sysdeps/x86/bits/string.h: This.
18085         * sysdeps/x86_64/bits/string.h: Removed.
18087         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18088         if not compiling for x86-64, but compiling for >= i486.
18090         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18091         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
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.
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.
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.
18117 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
18131 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18132             Jakub Jelinek  <jakub@redhat.com>
18134         [BZ #14188]
18135         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18136         where __builtin_expect is unavailable.
18138 2012-06-03  David S. Miller  <davem@davemloft.net>
18140         * stdlib/longlong.h: Updated from GCC.
18142 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
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.
18151 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18153         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18155 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
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.
18169         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18170         definition.  Document in comment.
18172 2012-06-01  David S. Miller  <davem@davemloft.net>
18174         * stdlib/longlong.h: Updated from GCC.
18176 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18178         [BZ #14117]
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.
18192         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18193         Define only if __x86_64__ is defined.
18195 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
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.
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.
18210 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18213         computation is not scheduled after fetestexcept.
18215 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18217         [BZ #14117]
18218         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18219         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18221 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18223         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18224         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18226 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18228         [BZ #14117]
18229         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18230         <bits/wordsize.h>.
18231         (__WCHAR_MIN): Support __WORDSIZE == 64.
18232         (__WCHAR_MAX): Likewise.
18234         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
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.
18241         [BZ #14117]
18242         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18243         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18245         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18246         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
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.
18255 2012-05-31  David S. Miller  <davem@davemloft.net>
18257         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18258         entries.
18260 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18262         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18263         gen-libm-test.pl.
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.
18284 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18287         bits/sysctl.h.
18289 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18291         [BZ #14117]
18292         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18293         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
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.
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.
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.
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.
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.
18325         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18326         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18328         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18329         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
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.
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.
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.
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.
18348 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
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.
18364 2012-05-31  David S. Miller  <davem@davemloft.net>
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.
18371 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
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.
18381 2012-05-31  Marek Polacek  <polacek@redhat.com>
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.
18390 2012-05-30  David S. Miller  <davem@davemloft.net>
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.
18398 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18400         [BZ #14117]
18401         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18402         * sysdeps/x86/bits/xtitypes.h: This.
18404         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18405         * sysdeps/x86/bits/wordsize.h: This.
18407         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18408         * sysdeps/x86/bits/huge_vall.h: This.
18410         * sysdeps/i386/bits/select.h: Removed.
18411         * sysdeps/x86_64/bits/select.h: Renamed to ...
18412         * sysdeps/x86/bits/select.h: This.
18414         * sysdeps/i386/bits/setjmp.h: Removed.
18415         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18416         * sysdeps/x86/bits/setjmp.h: This.
18418         * sysdeps/i386/bits/mathdef.h: Removed.
18419         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18420         * sysdeps/x86/bits/mathdef.h: This.
18422 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
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.
18439 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18441         [BZ #14117]
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.
18449         * sysdeps/i386/bits/endian.h: Removed.
18450         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18451         * sysdeps/x86/bits/endian.h: This.
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.
18462 2012-05-30  David S. Miller  <davem@davemloft.net>
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.
18475 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
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.
18481 2012-05-30  Richard Henderson  <rth@twiddle.net>
18483         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18484         with #ifndef NOT_IN_libc.
18486         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18487         marked to avoid plt entry.
18489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
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.
18535 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
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.
18564         * configure.in (libc_cv_fpie): Weaken to a compile test using
18565         LIBC_TRY_CC_OPTION.
18566         * configure: Regenerated.
18568 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
18583 2012-05-27  David S. Miller  <davem@davemloft.net>
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.
18608 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
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.
18624 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18627         fields.
18629 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
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.
18640 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18642         * po/h.po: Update from translation team.
18644 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18646         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
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.
18659 2012-05-26  Marek Polacek  <polacek@redhat.com>
18661         [BZ #14152]
18662         * math/libm-test.inc (fma_test): Don't always expect underflow
18663         exception.
18665 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
18672 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
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.
18685 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18687         * configure.in: Define the default includes to being none.
18688         * configure: Regenerated.
18690 2012-05-25  Roland McGrath  <roland@hack.frob.com>
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.
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.
18709 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
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.
18869 2012-05-25  Richard Henderson  <rth@twiddle.net>
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.
18879 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
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.
18887 2012-05-24  Jeff Law  <law@redhat.com>
18889         * stdio-common/Makefile (tests): Add bug25.
18890         * stdio-common/bug25.c: New test.
18892 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
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.
18899 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
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.
18934 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18936         [BZ #14132]
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.
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.
19119 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19121         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
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.
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.
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.
19152 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19153             H.J. Lu  <hongjiu.lu@intel.com>
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.
19163 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
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.
19191         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19192         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19194 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
19249 2012-05-23  David S. Miller  <davem@davemloft.net>
19251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19252         (__libc_sigaction): Remove unused local variables.
19254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19256         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19258 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19260         mktime: avoid signed integer overflow
19261         * time/mktime.c (__mktime_internal): Do not mishandle the case
19262         where diff == INT_MIN.
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.
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.
19274         mktime: merge another wrapv change from gnulib
19275         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19276         from some compilers.
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).
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.
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.
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.
19305 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
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.
19312 2012-05-23  Andreas Jaeger  <aj@suse.de>
19314         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19315         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19317 2012-05-23  Andreas Jaeger  <aj@suse.de>
19318             Maximilian Attems  <max@stro.at>
19320         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19321         New macros.
19323 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
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.
19329 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
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.
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.
19343 2012-05-23  Andreas Jaeger  <aj@suse.de>
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.
19361 2012-05-22  Roland McGrath  <roland@hack.frob.com>
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.
19367 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19369         * sysdeps/unix/sysv/linux/Makefile: Include
19370         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19371         (sysdep_routines): Remove sysctl.
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>.
19378 2012-05-22  Andreas Jaeger  <aj@suse.de>
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.
19384 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
19394 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
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.
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].
19411 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
19422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19424         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19425         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19427         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19428         Use "neg %eax".
19430         * time/mktime.c: Update copyright years.
19432 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
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.
19441         * time/mktime.c (compile-command): Add "-I.".
19443         mktime: merge mktime-internal.h change from gnulib
19444         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19446         mktime: merge time_r change from gnulib
19447         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
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.
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.
19457         mktime: merge HAVE_CONFIG_H change from gnulib
19458         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19460 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19463         Use "neg %eax".
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.
19470 2012-05-21  David S. Miller  <davem@davemloft.net>
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.
19477 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19479         * configure.in (libc_cv_predef_stack_protector): Only consider
19480         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19481         * configure: Regenerated.
19483 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
19488         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19489         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19490         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
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.
19507 2012-05-21  Andreas Jaeger  <aj@suse.de>
19509         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19510         only if [SHARED]. Add prototype for __wcschr_ia32.
19512 2012-05-21  Roland McGrath  <roland@hack.frob.com>
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.
19520 2012-05-21  Andreas Jaeger  <aj@suse.de>
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.
19526         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19528 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
19535 2012-05-21  Bruno Haible  <bruno@clisp.org>
19536             Andreas Jaeger  <aj@suse.de>
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.
19548 2012-05-19  Andreas Jaeger  <aj@suse.de>
19549             Roland McGrath  <roland@hack.frob.com>
19551         * manual/contrib.texi: Completely rewritten. It contains now an
19552         alphabetical list of contributors and their contributions.
19554 2012-05-21  Richard Henderson  <rth@twiddle.net>
19556         * misc/getauxval.c (__getauxval): Use unsigned long int.
19557         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19558         (getauxval): Use unsigned long int.
19560 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19562         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19564 2012-05-21  Roland McGrath  <roland@hack.frob.com>
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).
19570 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19574 2012-05-20  Richard Henderson  <rth@twiddle.net>
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.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19595         Update.
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.
19605 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19609 2012-05-19  David S. Miller  <davem@davemloft.net>
19611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19613 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
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.
19634 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19636         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19637         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19639         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19641 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
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.
19675 2012-05-18  Andreas Jaeger  <aj@suse.de>
19677         * csu/.gitignore: Delete.
19679 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19681         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19682         (timex): Use __syscall_slong_t.
19684 2012-05-18  Andreas Jaeger  <aj@suse.de>
19685             Carlos O'Donell  <carlos_odonell@mentor.com>
19687         * manual/install.texi (Configuring and compiling): Update
19688         description about files modified in the source directory.
19689         * INSTALL: Regenerated.
19691 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
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.
19698 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
19710 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19712         * sysdeps/x86_64/x32/_itoa.h: New file.
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.
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.
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.
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.
19735         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19736         anonymous union.
19738 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
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].
19754         * sysdeps/powerpc/powerpc32/dl-machine.c
19755         (__elf_machine_runtime_setup) [PROF]: Don't reference
19756         _dl_prof_resolve.
19758 2012-05-18  Andreas Jaeger  <aj@suse.de>
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.
19779 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19781         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19782         on both fields and cast pointer to __syscall_ulong_t.
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.
19799 2012-05-17  David S. Miller  <davem@davemloft.net>
19801         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19803 2012-05-17  Andreas Jaeger  <aj@suse.de>
19805         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19806         warning.
19808 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19810         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19812 2012-05-17  Andreas Jaeger  <aj@suse.de>
19814         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19815         when it is used.
19817 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19819         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19821 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19823         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19824         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19826 2012-05-17  Andreas Jaeger  <aj@suse.de>
19827             Carlos O'Donell  <carlos_odonell@mentor.com>
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.
19856 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
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.
19865 2012-05-17  Andreas Jaeger  <aj@suse.de>
19867         * manual/examples/search.c (critter_cmp): Change signature to
19868         avoid warnings.
19869         * manual/string.texi (Collation Functions): Likewise.
19871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
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.
19881 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
19889 2012-05-16  Roland McGrath  <roland@hack.frob.com>
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.
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.
19909 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19911         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19912         (mq_attr): Use __syscall_slong_t.
19914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
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.
19923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19929         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19933         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19934         __syscall_ulong_t.
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".
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.
19951 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
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.
19960         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19964         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19966         * sysdeps/x86_64/x32/ffs.c: New file.
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.
19975         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19976         __syscall_ulong_t.
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.
19985         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19986         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19988         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19990         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19991         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19993         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19994         __syscall_slong_t.
19996         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19997         include <bits/wordsize.h>.  Check __x86_64__ instead of
19998         __WORDSIZE.
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.
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.
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.
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.
20044 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
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)).
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).
20058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20075         * sysdeps/mach/hurd/bits/typesizes.h
20076         (__SYSCALL_SLONG_TYPE): New macro.
20077         (__SYSCALL_ULONG_TYPE): Likewise.
20079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20081         * bits/types.h (__syscall_slong_t): New type.
20082         (__syscall_ulong_t): Likewise.
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.
20096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20109 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
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>.
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.
20130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20144         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20148         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20149         * sysdeps/x86_64/x32/sysdep.h: New file.
20151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20153         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20154         * sysdeps/x86_64/setjmp.S: Likewise.
20156 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
20164 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20166         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20167         include of <not-cancel.h>.
20169 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20171         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20173 2012-05-15  Jeff Law  <law@redhat.com>
20174             Andreas Jaeger  <aj@suse.de>
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.
20184 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20186         * configure.in (sysnames): Look for Implies-before and Implies-after
20187         files.
20188         * configure: Regenerated.
20190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20192         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20193         8-byte data alignment with LP_SIZE alignment.
20195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20197         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20198         into R10_LP.
20200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20202         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20214         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20215         (stackinfo_sub_sp): Likewise.
20217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20219         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20220         RAX_LP.
20222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20225         into R*_LP.
20227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20229         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20230         sizes into R*_LP.
20232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20234         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
20242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20244         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20245         R8_LP.
20247 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
20262 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20264         * README.libm: Remove file.
20266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20268         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20269         count for x32.  Use R*_LP and omit operand-size suffix.
20271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
20277 2012-05-14  Roland McGrath  <roland@hack.frob.com>
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.
20283 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
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.
20289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20291         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20292         the `q' suffix from lea and replace .quad with ASM_ADDR.
20294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
20301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
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.
20323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20325         * sysdeps/x86_64/x32/dl-machine.h: New file.
20327 2012-05-14  Andreas Jaeger  <aj@suse.de>
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.
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.
20377         * manual/install.texi (Configuring and compiling): Adjust since
20378         the info files are not part of the tar ball anymore.
20380 2012-05-14  Andreas Jaeger  <aj@suse.de>
20382         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20383         variable.
20385 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
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.
20509 2012-05-14  Andreas Jaeger  <aj@suse.de>
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.
20517         * manual/string.texi (Copying and Concatenation): Add missing
20518         variable in concat example.
20519         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20521 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20523         [BZ #14103]
20524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20525         __builtin_clzl with __builtin_clzll.
20527 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20529         [BZ #14104]
20530         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20531         libc_freeres_ptr.
20533 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
20540 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20542         * NEWS: Update ia64 info.
20544 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20546         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20547         used as bcopy.
20549 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
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.
20556 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20558         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20559         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20561 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
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.
20570 2012-05-11  David S. Miller  <davem@davemloft.net>
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.
20576 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20578         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20579         is 32-byte aligned.
20581 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
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.
20589 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
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.
20597 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20600         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20602 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
20625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
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".
20635         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20636         instead of int.
20638         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20639         if __dir_mkfile succeeded.
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.
20645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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.
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.
20665         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20666         __strtoul_internal rather than strtoul.
20668 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20670         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20671         and reject them.
20673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20675         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20676         which preserves existing values.
20677         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20679 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
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.
20685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
20692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20694         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20695         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20699         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20700         sysdeps/mach/hurd/readlink.c.
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.
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.
20724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20726         * elf/Makefile (pldd-modules): Define unconditionally.
20728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20730         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
20738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20740         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20742         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
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.
20754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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).
20761 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
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.
20767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20769         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20770         Depend on against $(link-rpcuserlibs).
20772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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
20778         to libthread-provided value.
20779         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20780         attribute_relro.
20782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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.
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.
20799 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20801         * math/w_ilogbf.c: Add #include <limits.h>.
20803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20805         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20806         path instead of returning without unlocking.
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.
20812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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.
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.
20828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20830         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
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.
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.
20843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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.
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.
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.
20862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20864         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
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.
20874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20876         [BZ #3906]
20877         * bits/in.h (IPV6_PKTINFO): Define new macro.
20878         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20880 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
20893 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20894             Andreas Jaeger  <aj@suse.de>
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.
20956 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20958         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20959         change.  Update copyright years.
20961 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20963         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20965 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20966             Joseph Myers  <joseph@codesourcery.com>
20967             Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
20991 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
20997 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
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.
21005 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
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.
21014 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21016         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21017         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21018         after this.
21020 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21022         * stdlib/longlong.h: Updated from GCC.
21024 2012-05-09  Andreas Jaeger  <aj@suse.de>
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.
21032         [BZ #14053]
21033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21034         to asm.
21035         (lrint): Likewise.
21036         (llrintf): Likewise.
21037         (llrint): Likewise.
21038         (rint): Likewise.
21039         (rintf): Likewise.
21040         (nearbyint): Likewise.
21041         (nearbyintf): Likewise.
21043 2012-05-09  Andreas Jaeger  <aj@suse.de>
21044             Pedro Alves  <palves@redhat.com>
21046         * nscd/nscd.c (run_mode): Use enum.
21047         (main): Cleanup coding style issue.
21049 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21050             Andreas Jaeger  <aj@suse.de>
21052         * nscd/nscd.c (go_background): Replaced with...
21053         (run_mode): ... this.
21054         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21055         (options): Add -F --foreground.
21056         (main): Implement it.
21057         (parse_opt): Parse it.
21059 2012-05-09  Andreas Jaeger  <aj@suse.de>
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.
21068 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
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.
21208 2012-05-08  Ian Wienand  <ianw@vmware.com>
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.
21214 2012-05-09  Andreas Jaeger  <aj@suse.de>
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.
21220 2012-05-08  David S. Miller  <davem@davemloft.net>
21222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21223         movxtod instead of popping the value on the stack.
21225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21227 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21229         * config.h.in: Add HAVE_ARM_PCS_VFP.
21231 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21233         [BZ #13979]
21234         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21235         checking but the checks are disabled for any reason.
21237 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21239         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21240         and ELF64_R_TYPE with ELFW(R_TYPE).
21242 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21244         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21245         (ulimit): Likewise.
21247         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21248         (settimeofday): Likewise.
21250 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
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.
21263 2012-05-07  David S. Miller  <davem@davemloft.net>
21265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
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.
21272 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
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.
21295 2012-05-06  David S. Miller  <davem@davemloft.net>
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.
21302 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
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.
21334         [BZ #14064]
21335         * math/libm-test.inc (check_float_internal): Correct ulp
21336         calculation for subnormal expected results.
21338 2012-05-06  Andreas Jaeger  <aj@suse.de>
21340         * Makeconfig (+math-flags): New, set to -frounding-math.
21341         (+cflags): Add +math-flags so that all of glibc gets compiled with
21342         it.
21344         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21346 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21348         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21349         Disable one test.
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.
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.
21381         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21382         (nice): Likewise.
21383         (poll): Likewise.
21384         (signal): Likewise.
21385         (time): Likewise.
21386         (times): Likewise.
21388 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
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.
21407 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
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.
21452 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21454         * sysdeps/unix/common/bits/dirent.h: Remove file.
21455         * sysdeps/unix/common/bits/fcntl.h: Likewise.
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.
21465 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21467         [BZ #13563]
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.
21473 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21475         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21478 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
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.
21485 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21487         * sysdeps/s390/fpu/libm-test-ulps: Update.
21489 2012-05-03  Andreas Jaeger  <aj@suse.de>
21491         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21492         does not get optimized out.
21493         (malloc_opt_barrier): New.
21495 2012-05-03  Andreas Jaeger  <aj@suse.de>
21496             Roland McGrath  <roland@hack.frob.com>
21498         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21499         intermediate file deletion.
21500         (generated): Add .symlist files.
21502 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
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.
21520 2012-05-03  Roland McGrath  <roland@hack.frob.com>
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.
21526 2012-05-03  Andreas Jaeger  <aj@suse.de>
21528         * sysdeps/i386/fpu/libm-test-ulps: Update.
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.
21538 2012-05-02  Allan McRae  <allan@archlinux.org>
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.
21562 2012-05-02  David S. Miller  <davem@davemloft.net>
21564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21566 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21568         [BZ #14055]
21569         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21571 2012-05-02  Andreas Jaeger  <aj@suse.de>
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.
21583 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
21590 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21592         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21593         output to the target.
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.
21603         * elf/check-localplt.c: File removed.
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.
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.
21625 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
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.
21786         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21787         from $CFLAGS, without defining away __attribute__ calls.
21788         (checknamespace): Use $CFLAGS_namespace.
21790         * conform/conformtest.pl (@keywords): Only include C99 keywords
21791         for standards based on C99 or C11.
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.
21798         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21799         usability of symbols in #if.
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.
21805         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21806         in one place.  Also handle "macro-constant".
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.
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".
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-".
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.
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.
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.
22027         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22028         _XOPEN_SOURCE_EXTENDED for XPG4.
22030         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22032         * Makeconfig (localtime): Remove variable.
22033         (inst_localtime-file): Likewise.
22035 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
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.
22056 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
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.
22077 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
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.
22085 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
22127 2012-04-29  Marek Polacek  <polacek@redhat.com>
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.
22159 2012-04-29  Andreas Jaeger  <aj@suse.de>
22161         * Makerules (tests): Remove enable-check-abi protection.
22162         (check-abi-warn): Remove.
22163         (check-abi-%): Remove check-abi-warn usage.
22165         * configure.in: Remove check-abi configure option.
22166         * configure: Regenerated.
22167         * config.make.in (enable-check-abi): Remove.
22169 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22171         [BZ #14033]
22172         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22173         double functions to double *_finite functions.
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.
22182         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22183         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22187         * conform/conformtest.pl: Remove duplicate typed-constant
22188         handling.
22190 2012-04-28  David S. Miller  <davem@davemloft.net>
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.
22417 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22419         * conform/conformtest.pl: Fix typo in handling typed-constant from
22420         allow-header.
22422 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
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.
22429         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22431 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
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.
22438 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
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.
22446 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
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.
22456         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22457         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
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.
22482 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
22492 2012-04-26  David S. Miller  <davem@davemloft.net>
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.
22510 2012-04-25  David S. Miller  <davem@davemloft.net>
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.
22518 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
22527 2012-04-25  David S. Miller  <davem@davemloft.net>
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.
22545 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22547         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22548         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22549         -DIS_IN_build.
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.
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.
22564 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22565             Paul Pluzhnikov  <ppluzhnikov@google.com>
22567         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22568         strings correctly.
22570 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
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.
22576 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22578         * sysdeps/unix/fork.S: Remove file.
22579         * sysdeps/unix/i386/fork.S: Likewise.
22580         * sysdeps/unix/sparc/fork.S: Likewise.
22582         * sysdeps/unix/system.c: Remove file.
22583         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22585         * sysdeps/unix/getegid.S: Remove file.
22586         * sysdeps/unix/geteuid.S: Likewise.
22588 2012-04-24  Roland McGrath  <roland@hack.frob.com>
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.
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>.
22600 2012-04-24  Andreas Jaeger  <aj@suse.de>
22602         * Makerules (common-clean): Also remove gen-as-const-headers
22603         files.
22605 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
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.
22611 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
22619 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22621         * sysdeps/unix/getdents.c: Remove file.
22622         * sysdeps/unix/sysv/getdents.c: Likewise.
22623         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
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.
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.
22642 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22644         * sysdeps/unix/sysv/gethostname.c: Move to ...
22645         * sysdeps/posix/gethostname.c: ... here.
22647         * sysdeps/unix/execve.S: Remove file.
22649         * sysdeps/unix/_exit.S: Remove file.
22651 2012-04-23  Andreas Jaeger  <aj@suse.de>
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.
22667 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
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.
22678 2012-04-21  Andreas Jaeger  <aj@suse.de>
22680         [BZ #13739]
22681         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22683 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22685         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22686         * sysdeps/unix/sysv/Versions: Remove file.
22688 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22690         [BZ #13927]
22691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22693 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22695         [BZ #7064]
22696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22697         version from __vm86.
22699 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22701         * sysdeps/unix/common/lxstat.c: Remove file.
22702         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22704         * sysdeps/unix/sysv/Makefile: Remove file.
22706         * sysdeps/unix/sysv/direct.h: Remove file.
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.
22716         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22718         * sysdeps/unix/xmknod.c: Remove file.
22719         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22721         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22723         * sysdeps/unix/sysv/i386/time.S: Remove file.
22725         * sysdeps/unix/fxstat.c: Remove file.
22726         * sysdeps/unix/xstat.c: Likewise.
22727         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22729         * sysdeps/unix/sysv/sigaction.c: Remove file.
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.
22745         * sysdeps/unix/siglist.c: Remove file.
22747         * sysdeps/unix/getppid.S: Remove file.
22749         * sysdeps/unix/mkdir.c: Remove file.
22750         * sysdeps/unix/rmdir.c: Likewise.
22752 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
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.
22759 2012-04-18  David S. Miller  <davem@davemloft.net>
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.
22778 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
22784 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
22793 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
22801 2012-04-18  David S. Miller  <davem@davemloft.net>
22803         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22805 2012-04-18  Andreas Jaeger  <aj@suse.de>
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.
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.
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.
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.
22824 2012-04-17  David S. Miller  <davem@davemloft.net>
22826         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22828 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
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.
22837 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
22860         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
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.
22868 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22870         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22871         with altivec.
22873 2012-04-16  Marek Polacek  <polacek@redhat.com>
22875         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22877 2012-04-16  Marek Polacek  <polacek@redhat.com>
22879         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22880         operands of fdivp instruction.
22882 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
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.
22895 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22897         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22898         __ILP32__.
22900 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22903         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22905 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22907         [BZ #13973]
22908         * locale/iso-639.def: Fix gl language name. Spotted by
22909         Yaron Shahrabani.
22911 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22913         [BZ #2074]
22914         * libio/libio.h (__io_write_fn): Update comment.
22916 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22918         [BZ #2074]
22919         * stdio.texi (Hook Functions): The user provided writer function
22920         is not allowed to return -1.
22922 2012-04-11  David S. Miller  <davem@davemloft.net>
22924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22926 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22928         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22929         Add a leading slash to rtkaio.
22931 2012-04-11  Jim Meyering  <meyering@redhat.com>
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.
22939 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22941         * bits/types.h (__snseconds_t): New type.
22942         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
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.
22952 2012-04-10  Andreas Jaeger  <aj@suse.de>
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.
22962 2012-04-10  David S. Miller  <davem@davemloft.net>
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.
22968 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
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.
22974 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
22984 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
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.
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.
23008 2012-04-09  Andreas Jaeger  <aj@suse.de>
23010         [BZ #6894]
23011         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23012         is an optional BSD extension.
23014         [BZ #10254]
23015         * manual/stdio.texi (Opening Streams): Document additional fopen
23016         parameters.
23018 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23020         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23021         %eax without telling the compiler.
23023 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23025         [BZ # 13963]
23026         * manual/install.texi: Use sourceware.org.
23028 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
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.
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.
23046 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #13705]
23049         * math/libm-test.inc (exp_test): Do not allow overflow exception
23050         on underflow test.
23052 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23054         [BZ #13705]
23055         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23056         instead of __kernel_standard_f.
23058 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23060         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23061         * sysdeps/x86_64/memset_chk.S: Likewise.
23063 2012-04-08  Andreas Jaeger  <aj@suse.de>
23065         [BZ #10153]
23066         * manual/startup.texi (Environment Access): Describe return value
23067         for putenv and setenv.
23069         [BZ #6895]
23070         * manual/filesys.texi (Directory Entries): Add description for
23071         DT_LNK.
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.
23077         [BZ #6578]
23078         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23080 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23082         [BZ #6649]
23083         * manual/llio.texi (Opening and Closing Files): Add cross
23084         reference to explain mode argument.
23086 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23088         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23089         * sysdeps/x86_64/memset_chk.S: Likewise.
23091 2012-04-07  David S. Miller  <davem@davemloft.net>
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.
23099 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23101         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23102         conditions and remove no longer applicable assertion.
23104 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
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.
23110 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
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.
23123 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
23131 2012-04-06  Robert Millan  <rmh@gnu.org>
23133         [BZ #6486]
23134         * manual/llio.texi (File Position Primitive): lseek
23135         refers to WHENCE when it really means OFFSET.
23137 2012-04-06  Andreas Jaeger  <aj@suse.de>
23139         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23140         strncmp declarations.
23142         * abilist/libc.abilist: Add __poll and __ppoll.
23144 2012-04-05  David S. Miller  <davem@davemloft.net>
23146         * scripts/check-local-headers.sh: Accept a host triplet in the
23147         path matched by the exclude regexp.
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.
23160         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23161         lazy binding.
23162         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23163         undefined symbol errors.
23165         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23166         DT_NEEDED entries.
23168 2012-04-05  Michael Matz  <matz@suse.de>
23170         [BZ #13592]
23171         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23173 2012-04-05  Andreas Jaeger  <aj@suse.de>
23175         [BZ #13908]
23176         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23177         comment.
23179 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23181         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23182         which ROUND is no valid rounding mode.
23184 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23186         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23187         read again.
23188         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23190 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23192         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23193         an exception using FPU order intentionally.
23195 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
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.
23202 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23204         [BZ #12340]
23205         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23206         EINVAL when BUFLEN is too smal.
23208 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23210         [BZ #13553]
23211         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23212         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23214 2012-04-03  Andreas Jaeger  <aj@suse.de>
23216         [BZ #13938]
23217         * manual/setjmp.texi (System V contexts): Fix sentence.
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.
23228         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23229         __GLIBC_HAVE_LONG_LONG.
23231         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23232         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23234 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23236         [BZ #13691]
23237         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23238         inptr and inend, rather than using last_ch.
23240 2012-04-02  David S. Miller  <davem@davemloft.net>
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.
23256 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
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.
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.
23270 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23272         * po/ru.po: Update from translation team.
23273         * po/vi.po: Likewise.
23275 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23277         * resolv/nss_dns/dns-host.c: Merge copyright years.
23279 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
23286 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
23293 2012-03-30  Jeff Law  <law@redhat.com>
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.
23300         * resolv/nss_dns/dns-host.c: Update copyright year.
23302 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23304         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23305         requests to save a system call.  Fix check that all bytes are sent.
23307         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23308         comments for sendmmsg.
23310 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
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.
23318 2012-03-29  David S. Miller  <davem@davemloft.net>
23320         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23321         small copies by hand.
23323 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
23330 2012-03-28  David S. Miller  <davem@davemloft.net>
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.
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.
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.
23357         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23358         loop to 256 bytes instead of 64 bytes and fix test signedness.
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.
23364 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23366         * malloc/mallocbug.c: Avoid warnings about unused variables.
23368 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
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.
23375 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
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.
23392         [BZ #3868]
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.
23454 2012-03-27  Anton Blanchard  <anton@samba.org>
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.
23462 2012-03-27  David S. Miller  <davem@davemloft.net>
23464         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23466         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23467         have-as-vis3 check.
23469 2012-03-27  Andreas Jaeger  <aj@suse.de>
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.
23477         * sysdeps/x86_64/configure.in: Merge contents from
23478         sysdeps/i386/configure.in (without i686 check).
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.
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.
23497         * sysdeps/unix/i386/start.c: Delete file.
23498         * sysdeps/unix/sparc/start.c: Delete file.
23499         * sysdeps/unix/start.c: Delete file.
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.
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.
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.
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.
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.
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.
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.
23569         * configure.in: Remove support for elf directories in sysdeps.
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.
23581 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23586         denormal result into account.
23588 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23590         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23591         Reported by Allan McRae <allan@archlinux.org>.
23593 2012-03-23  Jeff Law  <law@redhat.com>
23595         * nss/getnssent.c (__nss_getent): Fix typo.
23597 2012-03-23  David S. Miller  <davem@davemloft.net>
23599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23601 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
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.
23607 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23608         Paul Pluzhnikov  <ppluzhnikov@google.com>
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.
23625 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
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.
23637 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
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).
23643 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23645         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23646         with uint64_t.
23648 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23650         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23651         declaration.
23652         (struct La_x32_retval): Likewise.
23654 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23656         * sysdeps/x86_64/preconfigure.in: New file.
23657         * sysdeps/x86_64/preconfigure: New generated file.
23659 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
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.
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.
23679 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
23691         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23692         and x32_gnu_pltexit.
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.
23701 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23704         exponent.
23706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
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.
23722 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
23739 2012-03-21  David S. Miller  <davem@davemloft.net>
23741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23743 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
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.
23750 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23752         * manual/lang.texi (Old Varargs): Remove section.
23753         (How Variadic): Update menu.
23754         (va_start): Do not mention varargs.h.
23756 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23757             Joseph Myers  <joseph@codesourcery.com>
23759         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23760         link test.
23761         * configure: Regenerated.
23763 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23765         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23766         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23767         conformtest.pl
23769 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
23799 2012-03-21  Allan McRae  <allan@archlinux.org>
23801         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23803 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
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.
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.
23834 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
23887         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23889         * stdio-common/_itoa.h: Moved to ...
23890         * sysdeps/generic/_itoa.h: Here.
23892         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
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.
23898 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
23907 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23909         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23910         __WORDSIZE != 64.
23912 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
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.
23932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
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.
23943 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23945         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23946         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23948 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23950         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23951         Check __x86_64__ instead of __WORDSIZE.
23953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23955         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23957 2012-03-19  David S. Miller  <davem@davemloft.net>
23959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
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.
23972 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23974         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23975         int64_t instead of long int.
23976         (INSERT_WORDS64): Likwise.
23978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23980         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23981         _Unwind_GetCFA return to _Unwind_Ptr first.
23983 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
24064 2012-03-19  Richard Henderson  <rth@twiddle.net>
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.
24080         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24081         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
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.
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.
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.
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.
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.
24150 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24154 2012-03-17  David S. Miller  <davem@davemloft.net>
24156         [BZ #6471]
24157         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24158         for 2.16.
24160 2012-03-16  David S. Miller  <davem@davemloft.net>
24162         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24163         warnings.
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.
24174         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24176 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24178         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24179         [__LP64__].
24181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
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.
24190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
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.
24197 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24199         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24200         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
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>.
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.
24213         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24214         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24216 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
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.
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.
24270 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24272         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24273         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24275 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24277         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24278         * configure.in: Use it for both main tree and add-ons.
24279         * configure: Regenerated.
24281 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24283         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24285 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24287         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24288         in comment.
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.
24318 2012-03-16  David S. Miller  <davem@davemloft.net>
24320         * sysdeps/sparc/fpu/math_private.h: New file.
24322 2012-03-15  David S. Miller  <davem@davemloft.net>
24324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24325         file.
24326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24328         file.
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.
24338         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24339         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24341         * sysdeps/sparc/sparc-ifunc.h: New file.
24342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24343         sparc-ifunc.h
24344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24346         Likewise.
24347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24348         Likewise.
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.
24352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24353         Likewise.
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.
24358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24359         Likewise.
24360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24361         Likewise.
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.
24387 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24389         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24390         scaling.
24391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24393 2012-03-15  Andreas Jaeger  <aj@suse.de>
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.
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.
24411         * sysdeps/i386/fpu/libm-test-ulps: Update.
24413 2012-03-15  Andreas Jaeger  <aj@suse.de>
24415         [BZ #13658]
24416         * math/libm-test.inc (cos_test): Add more test cases.
24417         (sin_test): Likewise.
24418         (sincos_test): Likewise.
24420 2012-03-15  Andreas Jaeger  <aj@suse.de>
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.
24428 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24429         Joseph Myers  <joseph@codesourcery.com>
24431         [BZ #13658]
24432         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
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.
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.
24449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24450         53 bit (without extend i386 double precision).
24452         * math/libm-test.inc (sincos_test): Add tests for large input.
24453         (sin): Likewise.
24454         (cos): Likewise.
24456         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24458 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24462 2012-03-15  David S. Miller  <davem@davemloft.net>
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.
24479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24480         file.
24481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24483         file.
24484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24486         file.
24487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24489         file.
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.
24495 2012-03-14  David S. Miller  <davem@davemloft.net>
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.
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.
24529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24531         file.
24532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24534         file.
24535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24537         file.
24538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24540         file.
24541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
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.
24556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24558         file.
24559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24561         file.
24562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24564         file.
24565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24567         VIS3 routines.
24569         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24570         New file.
24572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
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.
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.
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.
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.
24601         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24603 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
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.
24615 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24617         [BZ #13846]
24618         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24620 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
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.
24631         [BZ #13840]
24632         * math/libm-test.inc (hypot_test): Add more tests.
24634 2012-03-13  David S. Miller  <davem@davemloft.net>
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.
24640 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
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.
24649 2012-03-13  David S. Miller  <davem@davemloft.net>
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.
24657         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24658         large parameters.
24660         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24662         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24663         'err' in the ifdef scope in which it is actually used.
24665         * nss/nss_db/db-init.c: Include string.h
24667 2012-03-12  David S. Miller  <davem@davemloft.net>
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.
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.
24681 2012-03-11  David S. Miller  <davem@davemloft.net>
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.
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.
24691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24693 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24697 2012-03-09  David S. Miller  <davem@davemloft.net>
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.
24713 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24715         * sunrpc/Makefile (others): Add rpcgen.
24716         ($(objpfx)rpcgen): Remove special build rule and dependency on
24717         libc.
24718         * sunrpc/rpcgen.c: New file.
24720 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
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.
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.
24742         [BZ #13673]
24743         * intl/plural.y: Replace FSF snail mail address with URL.
24744         * intl/plural.c: Regenerated.
24746 2012-03-09  Richard Henderson  <rth@twiddle.net>
24748         * include/math_private.h: Remove file.
24749         * math/math_private.h: Move file ...
24750         * sysdeps/generic/math_private.h: ... here.
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.
24756         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
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.
25093 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25095         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25096         * sunrpc/rpc_main.c: Likewise.
25097         * sunrpc/rpc_svcout.c: Likewise.
25099 2012-03-09  David S. Miller  <davem@davemloft.net>
25101         * include/math_private.h: New file.
25103 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
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.
25114         [BZ #13566]
25115         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25116         checking __USE_GNU.
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.
25123 2012-03-08  Richard Henderson  <rth@twiddle.net>
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.
25130         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25131         to inline function.
25132         (__rintf, __floor, __floorf): Likewise.
25134         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25135         macro to inline function.
25136         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25138         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25139         not <math/math_private.h>.
25141 2012-03-08  David S. Miller  <davem@davemloft.net>
25143         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25144         copyright year.
25145         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25147 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
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.
25154 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
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.
25162 2012-03-07  Marek Polacek  <polacek@redhat.com>
25164         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25166 2012-03-08  Marek Polacek  <polacek@redhat.com>
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.
25174 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
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.
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.
25226 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
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.
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.
25244 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25246         * po/zh_TW.po: Update from translation team.
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.
25293         [BZ #6959]
25294         * timezone/Makefile: Don't install timezone files, just the programs
25295         and scripts.
25297 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25299         * nss/databases.def: Add missing gshadow entry.
25301         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25303 2012-03-06  Marek Polacek  <polacek@redhat.com>
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.
25311 2012-03-06  David S. Miller  <davem@davemloft.net>
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.
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.
25321         (INLINE_CLONE_SYSCALL): Likewise.
25323 2012-03-05  David S. Miller  <davem@davemloft.net>
25325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25327 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
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.
25335 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25337         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25338         Replace gettimeofday with __vdso_gettimeofday.
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.
25344         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25345         time with __vdso_time.
25347 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
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.
25353 2012-03-05  Andreas Jaeger  <aj@suse.de>
25355         * sysdeps/i386/fpu/libm-test-ulps: Update.
25357 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
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.
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.
25384 2012-03-05  Tom de Vries  <tom@codesourcery.com>
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.
25390 2012-03-05  Kees Cook  <keescook@chromium.org>
25392         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
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.
25400 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25404 2012-03-03  Marek Polacek  <polacek@redhat.com>
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.
25412 2012-03-02  David S. Miller  <davem@davemloft.net>
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.
25423 2012-03-02  Roland McGrath  <roland@hack.frob.com>
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.
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.
25477 2012-03-02  David S. Miller  <davem@davemloft.net>
25479         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25481 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
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.
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.
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.
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.
25550 2012-03-01  Chris Demetriou  <cgd@google.com>
25552         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25553         have predictable order.
25555 2012-03-01  David S. Miller  <davem@davemloft.net>
25557         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
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.
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.
25574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
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.
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.
25600 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
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.
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.
25620 2012-03-01  Kai Tietz  <ktietz@redhat.com>
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.
25629 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
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.
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.
25646         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25649 2012-02-29  Jeff Law  <law@redhat.com>
25651         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25652         out of bounds read.
25654 2012-02-29  Marek Polacek  <polacek@redhat.com>
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.
25660 2012-02-28  David S. Miller  <davem@davemloft.net>
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.
25669 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
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.
25676 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25678         * sysdeps/x86_64/fpu/e_expf.S: New file.
25679         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25681 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
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.
25690 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
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.
25738         * sysdeps/gnu/errlist.c: Regenerated.
25740 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25742         * include/dirent.h: Include <dirstream.h> before
25743         <dirent/dirent.h>.
25745 2012-02-28  David S. Miller  <davem@davemloft.net>
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.
25752 2012-02-27  David S. Miller  <davem@davemloft.net>
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.
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.
25765 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25767         [BZ #3992]
25768         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25770 2012-02-27  David S. Miller  <davem@davemloft.net>
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.
25781 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25783         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25784         later.  Allow versions 5-9.
25785         * configure: Regenerated.
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.
25789         * INSTALL: Regenerated.
25791 2012-02-27  David S. Miller  <davem@davemloft.net>
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.
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.
25806 2012-02-27  Roland McGrath  <roland@hack.frob.com>
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.
25814         * rt/tst-aio.c: Include <fcntl.h>.
25815         * rt/tst-aio7.c: Likewise.
25816         * rt/tst-aio64.c: Likewise.
25818         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25820 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
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.
25827         * INSTALL: Regenerated.
25828         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25829         Change to 2.6.19.
25830         * sysdeps/unix/sysv/linux/configure: Regenerated.
25832         * manual/llio.texi (fclean): Remove documentation.
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.
25848 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25850         * sysdeps/posix/spawni.c: Include <signal.h>.
25851         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25852         * sysdeps/pthread/aio_fsync.c: Likewise.
25854 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25856         * conform/Makefile (tests): Run only when not cross-compiling and
25857         when fast-check is not defined.
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.
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.
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.
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.
25917 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25919         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25921 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
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.
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.
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.
26052         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26054         * time/time.h: TIME_UTC must be a macro.
26055         Make timespec_get available for ISO C11 only as well.
26057 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26059         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26060         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26062 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26064         * configure.in: Use -o not -a in test for unsupported multi-arch.
26066 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26068         * manual/texinfo.tex: Update to version 2012-01-19.16.
26070 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26072         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26074 2012-02-24  Roland McGrath  <roland@hack.frob.com>
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.
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.
26086 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26087             Roland McGrath  <roland@hack.frob.com>
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.
26097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
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.
26105 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
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.
26116 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
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.
26124 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26126         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26128 2012-02-21  David S. Miller  <davem@davemloft.net>
26130         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26131         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26133 2012-02-20  David S. Miller  <davem@davemloft.net>
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.
26140 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26142         * manual/install.texi: Fix stray word in line-wrapped comment.
26144 2012-02-20  David S. Miller  <davem@davemloft.net>
26146         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26147         both binutils and gcc support GOTDATA.
26149         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26150         "rd %pc" in the PIC register setup sequences.
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.
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.
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.
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.
26186 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
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.
26193 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
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.
26215 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
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.
26231 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
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.
26242 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
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.
26251 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26254         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26256 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
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.
26266 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
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.
26309 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26311         [BZ #9739]
26312         * manual/string.texi (strnlen): Use correct parameter name in
26313         equivalent expression.
26315 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #11174]
26318         * manual/users.texi (seteuid): Consistently use neweuid for
26319         argument name.
26321 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26323         [BZ #13704]
26324         * manual/nss.texi (Services in the NSS configuration): Correct
26325         list of services in example configuration file.
26327 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26329         [BZ #11322]
26330         * manual/arith.texi: Remove statements about negative zero
26331         behaving identically to zero.
26333 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26335         [BZ #5993]
26336         * manual/install.texi: Do not document upgrading from libc5.
26338 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26340         [BZ #4596]
26341         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26343 2012-02-18  David S. Miller  <davem@davemloft.net>
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.
26356 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26358         * aout/Makefile: Remove.
26360 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
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.
26374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #5077]
26377         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26378         rounding modes.
26380 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26382         [BZ #6907]
26383         * manual/string.texi (strchr): Change when strchrnul is
26384         recommended.
26386 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26388         [BZ #174]
26389         * manual/locale.texi (setlocale): Document LOCPATH.
26391 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26393         [BZ #10210]
26394         * manual/process.texi (execle): Move @dots{} before last argument.
26396 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26398         [BZ #12047]
26399         * manual/charset.texi (Generic Charset Conversion): Fix typo
26400         (LC_TYPE -> LC_CTYPE).
26402 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
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.
26447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26449         [BZ #6884]
26450         * manual/stdio.texi (fopen): Fix typos in description of
26451         ",ccs=STRING".
26453 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26455         [BZ #4026]
26456         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26457         get clock_id definition.
26459 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26461         [BZ #4822]
26462         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26463         (madvise): Cast every argument to void on its own.
26465 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #9902]
26468         * manual/startup.texi (Exit Status): Fix typo.
26470 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
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.
26477 2012-02-16  Richard Henderson  <rth@redhat.com>
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.
26484 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
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.
26490 2012-02-16  David S. Miller  <davem@davemloft.net>
26492         [BZ #11494]
26493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
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.
26501 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26503         [BZ #3335]
26504         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26506 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26508         [BZ #4822]
26509         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26511         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26512         (write, read, close): Likewise.
26513         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26515 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
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.
26526 2012-02-14  Marek Polacek  <polacek@redhat.com>
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.
26532 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
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.
26543 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
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.
26554 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26556         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26557         __feraiseexcept instead of feraiseexcept.
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.
26564 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
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.
26574 2012-02-09  Richard Henderson  <rth@twiddle.net>
26576         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26577         of kernel-features.h.
26579         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26581 2012-02-08  Marek Polacek  <polacek@redhat.com>
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.
26588 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26590         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26591         tests.
26592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
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.
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.
26606 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
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.
26624 2012-02-07  Marek Polacek  <polacek@redhat.com>
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.
26630 2012-02-07  Marek Polacek  <polacek@redhat.com>
26632         * math/Makefile (tests): Add tst-CMPLX2.
26633         * math/tst-CMPLX2.c: New file.
26635 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26637         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26639         * math/libm-test.inc (jn_test): Add missing L suffix.
26641 2012-02-06  Marek Polacek  <polacek@redhat.com>
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.
26698 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26700         [BZ #411]
26701         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26703 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26705         * sysdeps/i386/sysdep.h: Include <features.h>.
26706         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26707         version.
26709 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
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.
26716 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
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.
26723 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
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.
26770 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26772         * math/tst-CMPLX.c: Include <stdio.h>.
26774 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
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.
26781 2012-01-31  Marek Polacek  <polacek@redhat.com>
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.
26788 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
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.
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>.
26800 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
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.
26808 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
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.
26840 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26842         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26843         * config.make.in (config-cflags-sse2avx): Define.
26844         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26845         Fix typo.
26847 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26849         * scripts/config.guess: Update from upstream config git repository.
26850         * scripts/config.sub: Likewise.
26852 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26854         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26855         (EM_NUM): Update.
26856         (R_TILEPRO_*, R_TILEGX_*): New macros.
26858         * scripts/firstversions.awk: Fix bug in version range handling.
26860         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26862         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26864         * include/sys/epoll.h: New file.
26865         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26866         libc_hidden_def.
26868 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
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.
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.
26894         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26896 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
26902 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
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.
26913 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
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.
27050 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
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.
27062 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
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.
27075 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27077         [BZ #13583]
27078         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27079         Clean up HAS_* macros.
27080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
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.
27091 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
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.
27098 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
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.
27105 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27107         * posix/glob: Remove directory.
27109 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27111         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27113 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27115         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27116         of the non-standard EPFNOSUPPORT.
27118 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
27124 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27126         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27128 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
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.
27138 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27140         * malloc/malloc.c: Various cleanups.
27141         * malloc/hooks.c: Likewise.
27143         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27144         * stdlib/bug-fmtmsg1.c: New file.
27146         * stdlib/fmtmsg.c (init): Add missing unlock.
27147         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27149 2012-01-12  Marek Polacek  <polacek@redhat.com>
27151         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27152         and _GNU_SOURCE.
27154 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
27162 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27164         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
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.
27171 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27173         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
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.
27179         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27181         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27182         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27183         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27184         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27186         * math/bits/math-finite.h: Add ldexp support.
27188 2012-01-10  Marek Polacek  <polacek@redhat.com>
27190         * locale/programs/localedef.h (show_archive_content): Add noreturn
27191         attribute.
27193 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27195         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27197 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27199         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27201         * io/Makefile (headers): Add bits/poll2.h.
27203 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27206         typo #include statement.
27208 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
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.
27226 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27228         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27229         appropriate.
27231 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27233         * math/Makefile (tests): Add tst-CMPLX.
27234         * math/tst-CMPLX.c: New file.
27236         * math/complex.h (CMPLXL): Fix typo.
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.
27252         [BZ #1350]
27253         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
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.
27265         * configure.in: PWD_P is not used anymore.
27266         * config.make.in: Remove PWD_P entry.
27268         * configure.in: Remove last remnants of RANLIB.
27269         No need to check for signed size_t anymore.
27270         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27271         and IA-64.
27272         Remove __builtin_expect test because we require at least gcc 3.4.
27273         * aclocal.m4: Likewise.
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.
27283         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27285         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
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.
27313 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
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.
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.
27550         * argp/Versions: Remove _argp_unlock_xxx.
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.
27568         * scripts/abilist.awk: Add support for indirect functions.
27570         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27572         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27574         * shlib-versions: Remove entries for ports architectures.
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.
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.
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.
27593         In case anyone cares, the IA-64 architecture could move to ports.
27594         * sysdeps/ia64/*: Removed.
27595         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27596         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27598         [BZ #13555]
27599         * configure.in: Remove entries for unsupported architectures.
27601         [BZ #13533]
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.
27615         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27616         local variable.
27618         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
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.
27625         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27627 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
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.
27634 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27636         * iconv/loop.c (single loop): Fix assertion in storing of
27637         remaining bytes.
27639         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27641 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27643         * posix/getconf.c: Update copyright year.
27644         * nss/getent.c: Likewise.
27645         * nss/makedb.c: Likewise.
27646         * iconv/iconvconfig.c: Likewise.
27647         * iconv/iconv_prog.c: Likewise.
27648         * elf/ldconfig.c: Likewise.
27649         * elf/pldd.c: Likewise.
27650         * elf/sotruss.ksh: Likewise.
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.
27657         * login/programs/pt_chown.c: Likewise.
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.
27664 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27666         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27667         pure attribute.
27669 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27671         [BZ #13533]
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.
27690         * wcsmbs/wchar.h: Add missing __restrict.
27692 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
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.
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.
27709         [BZ 13527]
27710         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27711         ISO C11.
27713         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27714         code.
27716         [BZ #13528]
27717         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27719         [BZ #13529]
27720         * assert/assert.h (static_assert): Define.
27722         * version.h: Update for 2.16 development version.
27724         [BZ #13526]
27725         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27726         _ISOC11_SOURCE.
27728         * version.h (RELEASE): Bump for 2.15 release.
27729         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27731         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27732         Patch by Marek Polacek <mpolacek@redhat.com>.
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.
27740 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27742         [BZ #13540]
27743         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27744         destination buffer.
27745         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27747 2011-12-23  Marek Polacek  <polacek@redhat.com>
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.
27755 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27757         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27758         !__SSE_MATH__.
27760 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27762         [BZ #13540]
27763         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27764         processing for last bytes.
27766 2011-08-06  Bruno Haible  <bruno@clisp.org>
27768         [BZ #13061]
27769         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27770         U+0385, not to U+1FEE.
27772         [BZ #13062]
27773         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27774         entry for U+00A5 U+0301.
27776 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27778         [BZ #13166]
27779         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27780         buffer for the output is too small.
27782         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27783         optimization.
27785         [BZ #13185]
27786         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27787         SSE flags if possible.
27789 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27791         [BZ #13540]
27792         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27793         processing for last bytes.
27795 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
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.
27823 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27825         * locale/iso-639.def: Add brx entry.
27827         [BZ #13328]
27828         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27829         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27831         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27832         __feraiseexcept_renamed.
27834 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
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.
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.
27847 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27849         [BZ #13305]
27850         [BZ #12786]
27851         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27852         * math/s_cacoshf.c: Likewise.
27853         * math/s_cacoshl.c: Likewise.
27855 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
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.
27863 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27865         [BZ #13524]
27866         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27867         numerator after shifting it by one limb.
27869 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27871         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27872         under [__USE_EXTERN_INLINES].
27874 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27876         [BZ #13446]
27877         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27879 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
27892 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27894         [BZ #13484]
27895         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27896         of __asm__.
27898 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27900         [BZ #13506]
27901         * time/tzfile.c (__tzfile_read): Check values from file header.
27903 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
27937 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
27945 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27947         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27948         FD_CLOEXEC.
27950 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
27975 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
27985 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27987         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27988         the inner loop.
27990 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27992         [BZ #13472]
27993         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27995 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27997         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27998         Minor optimizations.
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.
28004 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
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.
28013         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28014         warning.
28016         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28017         __wmemcmp_sse2.
28019         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28020         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28022         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28024 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28026         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28027         problem.
28029         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28031 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
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.
28041 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28043         * sysdeps/sh/backtrace.c: New file.
28045 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28047         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28048         parenthesis.
28050 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28052         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28053         falling back to utime.
28055 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28057         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28058         expectations for float.
28060 2011-11-29  Andreas Schwab  <schwab@redhat.com>
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.
28071 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
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.
28079 2011-11-16  Andreas Schwab  <schwab@redhat.com>
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.
28092 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28094         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28095         O_CLOEXEC.
28096         * locale/loadlocale.c (_nl_load_locale): Likewise.
28098 2011-11-15  Andreas Schwab  <schwab@redhat.com>
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.
28105         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28106         count references to noai6ai_cached.
28108 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28110         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28112         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28113         FD_CLOEXEC for /proc/self/maps.
28115         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28116         FD_CLOEXEC for /proc/meminfo.
28118         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28119         gai.conf.
28121         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28122         FD_CLOEXEC for given file.
28124         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28126         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28127         FD_CLOEXEC for /etc/hosts.
28128         (_gethtent): Likewise.
28130         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28132         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28133         cancellation and set FD_CLOEXEC for /etc/netgroup.
28135         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28136         reading /etc/publickey.
28138         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28139         allow cancellation when reading /etc/group.
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.
28145         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28146         when using data file.
28148         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28150         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28151         (write_nis_obj): Use "c" and "e" in fopen.
28153         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28155         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28157         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28159         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28161         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28162         locale.alias.
28164         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28166         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28168         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28170         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28171         file parsing and set FD_CLOEXEC.
28173 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28175         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28177 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28179         * malloc/arena.c (arena_get2): Don't call reused_arena when
28180         _int_new_arena failed.
28182 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
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.
28194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28196 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
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.
28218 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
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.
28225         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28226         variable.
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.
28232         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28233         from unused variable.
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.
28240         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28241         over namespaces.
28243         * sunrpc/rpc_prot.c (rejected): Fix case value.
28245         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28246         unsigned long long int to avoid warnings in shift.
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.
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.
28257         * nis/nis_table.c (nis_list): Use variable of correct type for
28258         result of __follow_path call.
28260 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
28271 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28273         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28274         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28276 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28278         * include/unistd.h: Fix __readlink return type.
28279         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28281 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28283         * stdlib/ucontext.h: Undo last change for makecontext.
28285 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28287         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
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.
28294 2011-11-10  Andreas Schwab  <schwab@redhat.com>
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.
28300 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28302         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28303         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28306         instructions.
28308 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28310         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28311         handler when locking.
28313         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28314         Fix size of allocated buffer.
28316 2011-11-04  Andreas Schwab  <schwab@redhat.com>
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.
28323         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28325 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28327         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28328         installed.
28330         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28331         is disabled.
28333 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28335         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28337 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
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.
28345         * scripts/check-local-headers.sh: Ignore libaudit.h.
28347         * nscd/Makefile (extra-objs): Make recursively expanded.
28349 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28351         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28352         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
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.
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.
28365         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28367 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28369         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28370         stack usage.
28372 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28374         [BZ #13367]
28375         * nss/getent.c (initgroups_keys): Show error message in case no group
28376         names are given.
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.
28402 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
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.
28408 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28410         [BZ #13276]
28411         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28412         return value.
28414         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28415         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28416         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28418 2011-07-03  Andreas Jaeger  <aj@suse.de>
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.
28425 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28427         [BZ #13337]
28428         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28429         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28431         * elf/chroot_canon.c (chroot_canon): Cleanups.
28433         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28435         [BZ #13335]
28436         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28437         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28439         * string/test-strchr.c: Make usable for strchrnul testing.
28440         * string/test-strchrnul.c: New file.
28441         * string/Makefile (strop-tests): Add strchrnul.
28443         * po/it.po: Update from translation team.
28444         * po/es.po: Likewise.
28446 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
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.
28452         Create and initialize variable zero and use it in all the places
28453         where _mm_setzero_si128 was used.
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.
28476 2011-10-28  Andreas Schwab  <schwab@redhat.com>
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.
28482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28483         wide char related routines to wcsmbs subdir.
28485 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28487         [BZ #13344]
28488         * misc/sys/cdefs.h (__THROWNL): Define.
28489         * posix/unistd.h: Use __THREADNL instead of __THREAD
28490         for memory synchronization functions.
28492 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28494         [BZ #13349]
28495         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28496         doesn't exist.
28497         * manual/stdio.texi (Obstack Streams): Node removed.
28499 2011-10-26  Andreas Schwab  <schwab@redhat.com>
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.
28505         * math/math_private.h (math_force_eval): Allow non-addressable
28506         arguments.
28507         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28509 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28511         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28512         file is not needed.
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.
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.
28546         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28547         place.  Use VEX encoding when compiling for AVX.
28549 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28551         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28552         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28554         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28556 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28558         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28559         useless if() expression.
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.
28580         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28582 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28584         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28585         condition.
28586         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28588 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
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.
28638 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
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.
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.
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.
28713 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28715         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28717 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28719         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
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.
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.
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>.
28742 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
28756 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28758         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28759         XMM-moves are used for copying on small sizes.
28761 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
28769 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28771         * wcsmbs/Makefile (strop-tests): Add wcslen.
28772         * wcsmbs/test-wcslen.c: New file.
28773         * string/test-strlen.c: Update.
28774         Add wcslen support.
28775         (WIDE): New macro.
28777 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28779         * po/it.po: Update from translation team.
28781 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
28792 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
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.
28806 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28809         __ynl_finite aliases.
28811 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
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.
28829 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
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".
28837 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
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.
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.
28887 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28890         compilation problems.
28892         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28893         __builtin_expect.
28895 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
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.
28906         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28907         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28909 2011-10-20  Andreas Schwab  <schwab@redhat.com>
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.
28915 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
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.
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.
28928 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28930         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28931         __feraiseexcept instead of feraiseexcept.
28933 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
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.
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.
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.
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.
28973 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28975         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28976         (__feraiseexcept_renamed): Add __NTH.
28977         (feraiseexcept): Add __NTH.  Rename local variables to fix
28978         namespace violations.
28980 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28982         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28984         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
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.
28990         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28991         about macro parameter expansion.
28993         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28994         __NO_MATH_INLINES is defined.  Cleanups.
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.
29003         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29004         name.
29005         (floorf): Likewise.
29007         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29009 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29011         * misc/sys/cdefs.h: Fix last change.
29013         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29014         database lookup.
29016 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29018         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
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.
29043         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29044         ceil, ceilf, floor, floorf.
29046         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29047         Perform IRELATIVE relocations last.
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.
29056 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29058         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29059         is sufficient, at least on modern CPUs.
29061         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29063         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29064         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
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.
29081         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29082         is sufficient, at least on modern CPUs.
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.
29092 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29094         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29096         * configure.in: Also look in $cxxmachine/include for C++ system
29097         headers.
29099 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
29128 2011-10-12  Andreas Jaeger  <aj@suse.de>
29130         [BZ #13268]
29131         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29133 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29135         * libio/iofwide.c (do_length): Avoid warning.
29137         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29139 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29141         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
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.
29150         * ctype/ctype.h: Add support for inlined isXXX functions when
29151         compiling C++ code.
29153 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29155         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29157         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29159 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29161         [BZ #13291]
29162         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29164 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29166         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29167         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29168         feraiseexcept.
29170         * sysdeps/x86_64/memrchr.S: Check for zero size.
29172         * string/stratcliff.c: Add memrchr tests.
29174 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
29191 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
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.
29477 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29479         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29480         of rawmemchr.
29482         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29484 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29486         * po/ja.po: Update from translation team.
29488 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29490         * locale/programs/locarchive.c (prepare_address_space): New function.
29491         (create_archive, enlarge_archive, open_archive): Use it.
29493         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29494         inside [SHARED], where it is used.
29496         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29498         * nss/getent.c (netgroup_keys): Remove unused variable.
29499         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29501 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
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.
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.
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.
29672         * po/ja.po: Update from translation team.
29674 2011-09-29  Andreas Jaeger  <aj@suse.de>
29676         [BZ #13179]
29677         * sunrpc/netname.c (netname2host): Fix logic.
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.
29687 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29689         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29690         sdiv_qrnnd.
29692 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29694         * string/test-memcmp.c: Avoid unncessary #defines.
29695         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29697 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
29709 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29711         * elf/dl-load.c (lose): Add cast to avoid warning.
29713 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29715         * po/ca.po: Update from translation team.
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.
29757         * nscd/connections.c (register_traced_file): Don't register file
29758         for disabled databases.
29760 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29762         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29764         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29765         from tree and freeing node.
29767 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29769         * nss/nsswitch.c (__nss_database_lookup): Handle
29770         nss_parse_service_list out of memory case.
29772 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29774         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29775         out of memory case.
29777 2011-10-04  Andreas Schwab  <schwab@redhat.com>
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.
29820 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29822         * nss/nss_files/files-init.c (_nss_files_init): Use static
29823         initialization for all the *_traced_file variables.
29825 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29827         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29829 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29831         [BZ #13226]
29832         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29834 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29836         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29837         Reread the line before reparsing it.
29839 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29841         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29843 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29844             Maxim Kuvyrkov  <maxim@codesourcery.com>
29845             Joseph Myers  <joseph@codesourcery.com>
29847         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29848         if needed for __stack_chk_guard.
29850 2011-09-19  Roland McGrath  <roland@hack.frob.com>
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.
29857         * Makerules: Don't include tls.make.
29858         (config-tls): Always set to thread.
29859         * tls.make.c: File removed.
29861 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29863         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29864         * config.make.in (CPPFLAGS-config): New substituted variable.
29866 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29868         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29870         [BZ #13192]
29871         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29872         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29874 2011-09-15  Roland McGrath  <roland@hack.frob.com>
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>.
29884 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29886         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29887         for __FINITE_MATH_ONLY__ == 1.
29889 2011-09-15  Andreas Schwab  <schwab@redhat.com>
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.
29900 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29902         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
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.
29909 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29911         * elf/rtld.c (dl_main): Also relocate in dependency order when
29912         doing symbol dependency testing.
29914 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29917         Always define `refsym'.
29919 2011-09-13  Andreas Schwab  <schwab@redhat.com>
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.
29931         * elf/Makefile (gen-ldd): Fix pattern.
29933         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29934         (init_tls): Likewise.
29936 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29938         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29940 2011-09-12  Andreas Schwab  <schwab@redhat.com>
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.
29947 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
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.
29954 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
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.
29972         [BZ #13067]
29973         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29975         [BZ #13090]
29976         * configure.in: Fix use of AC_INIT.
29978         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29980 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29982         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29983         __set_errno.
29984         * malloc/hooks.c: Likewise.
29986         [BZ #11929]
29987         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29988         variables statically.
29989         (narenas): Initialize.
29990         (list_lock): Initialize.
29991         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29992         initializtion of main_arena and list_lock.  Small cleanups.
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).
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.
30003         * malloc/malloc.c: Removed unused configurations and dead code.
30004         * malloc/arena.c: Likewise.
30005         * malloc/hooks.c: Likewise.
30006         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
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.
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.
30124 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30126         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30128 2011-07-03  Andreas Jaeger  <aj@suse.de>
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.
30134 2010-05-12  Petr Baudis  <pasky@suse.cz>
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.
30144 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
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
30149         instead of 0.
30150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30151         Patch in part by Pavel Roskin <proski@gnu.org>.
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.
30159         [BZ #12847]
30160         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30161         be NULL.  Don't lock in this case.
30163 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30165         * elf/elf.h (ELFOSABI_GNU): New macro.
30166         (ELFOSABI_LINUX): Define to that.
30168 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30170         * string/strncat.c (strncat): Undef the symbol in case it has been
30171         defined in bits/string.h.
30173 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30175         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30177         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30178         link map.
30180 2011-08-17  Andreas Jaeger  <aj@suse.de>
30182         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30184 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30185             Ian Lance Taylor  <iant@google.com>
30187         * math/libm-test.inc (lround_test): New testcase.
30188         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30190 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
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.
30204         [BZ #13118]
30205         * posix/Makefile (bug-regex32-ENV): Define.
30206         Patch by John Stanley <jpsinthemix@verizon.net>.
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.
30218         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30219         * wcsmbs/test-wmemcmp.c: Likewise.
30220         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30221         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30223 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30225         * string/Makefile (strop-tests): Add memcmp.
30226         * string/test-wmemcmp.c: New file.
30227         * string/test-memcmp.c: Add wmemcmp support.
30229 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30231         [BZ #13153]
30232         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30233         2011-07-19 change.
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.
30239 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30241         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30243 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30245         * elf/dl-load.c (lose): Check for non-null L.
30247 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30249         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30251         * elf/dl-libc.c (dlerror_run): Pass back error code from
30252         dl_catch_error.
30254         [BZ #13123]
30255         * elf/dl-load.c (lose): Free l_origin if it is valid.
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>.
30266 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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.
30279 2011-08-15  Alan Modra  <amodra@gmail.com>
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.
30291 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30293         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30294         for finite and infinity parameters.
30296 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
30302 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
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.
30308 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30311         AVX check.
30313 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30315         [BZ #13144]
30316         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30317         last change.
30319 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
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.
30327 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30329         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30330         Forgot to demangle the pointer.
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.
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.
30353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30354         gettimeofday vsyscall, just use time.
30356 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30359         <errno.h>.
30361 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
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.
30371 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
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.
30377 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
30387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
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.
30404         [BZ #13150]
30405         * posix/glob.h: Remove gcc 1.x support.
30407         [BZ #13068]
30408         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30410 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
30422 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30424         * sysdeps/x86_64/wcscmp.S: New file.
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.
30433 2011-09-05  David S. Miller  <davem@davemloft.net>
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.
30442 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30444         * po/ja.po: Update from translation team.
30446         [BZ #13144]
30447         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30448         kernel in 64-bit binaries.
30450 2011-09-01  David S. Miller  <davem@davemloft.net>
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.
30466 2011-08-31  David S. Miller  <davem@davemloft.net>
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.
30493         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30494         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30496 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30498         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30500 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30502         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30503         directive.
30505 2011-08-24  David S. Miller  <davem@davemloft.net>
30507         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30509 2011-08-24  Andreas Schwab  <schwab@redhat.com>
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.
30518         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30519         it wasn't used.
30521 2011-08-23  David S. Miller  <davem@davemloft.net>
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.
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.
30533 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30535         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30536         backslash.
30538 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
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.
30546 2011-08-22  David S. Miller  <davem@davemloft.net>
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.
30553 2011-08-16  Andreas Schwab  <schwab@redhat.com>
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.
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.
30568 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30570         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30572         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30573         dependencies back to end of function.
30575         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30576         $(elfobjdir)/ld.so.
30578 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
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.
30592 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
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.
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.
30602         (_dl_show_scope): Indicate if there is no scope.
30604         [BZ #13114]
30605         * stdio-common/Makefile (tests): Add bug24.
30606         * stdio-common/bug24.c: New file.
30608 2011-08-19  Andreas Jaeger  <aj@suse.de>
30610         [BZ #13114]
30611         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30612         non-existant file when using close-on-exec mode.
30614 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30617         the very first instruction.
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>.
30625 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30627         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30628         expectations for long double.
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30631         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30633 2011-08-14  David S. Miller  <davem@davemloft.net>
30635         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30636         artificual limit depends upon the system page size.
30638 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30640         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30641         * resolv/Makefile: Define CFLAGS-libresolv.
30643 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30645         * nss/makedb.c (compute_tables): Make variables used in nested
30646         function static.
30648 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
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.
30654         * elf/pldd.c (main): Attach to all threads in the process.
30655         Rewrite /proc handling to use *at functions.
30657 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
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.
30663         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30664         * sysdeps/generic/ldsodefs.h: Update declaration.
30666         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30667         string for the scope number.
30669 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30671         * nscd/servicescache.c (cache_addserv): Make sure written is always
30672         initialized.
30674 2011-08-14  Roland McGrath  <roland@hack.frob.com>
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.
30681         * string/strncat.c (STRNCAT): Use prototype definition.
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.
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.
30694 2011-08-14  David S. Miller  <davem@davemloft.net>
30696         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30697         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30699 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30701         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
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.
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.
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.
30718 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30720         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30721         was a dependency or dynamically loaded.
30723 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30725         * intl/l10nflist.c: Allow architecture-specific pop function.
30726         * sysdeps/x86_64/l10nflist.c: New file.
30728         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30729         classification.
30731 2011-08-10  Andreas Schwab  <schwab@redhat.com>
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.
30739 2011-08-10  David S. Miller  <davem@davemloft.net>
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.
30747 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
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.
30770 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
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.
30778 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30780         * string/test-string.h (IMPL): Use __STRING to expand name and then
30781         stringify it.
30783         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30784         of cleanups.
30786 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
30795 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30797         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30798         line.
30800 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30803         encoding to ACE if AI_IDN.
30805 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
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.
30810 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30812         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30813         Fix overflow bug in strncat.
30814         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30816         * string/test-strncat.c: Update.
30817         Add new tests for checking overflow bugs.
30819 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
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.
30836 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30838         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30839         __n bigger than INT_MAX+1.
30840         (__strncmp_g): Likewise.
30842 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30844         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30845         * libio/stido.h: Likewise.
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.
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.
30858         [BZ #13021]
30859         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30860         installed.
30862         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30863         typo.
30864         (_dl_x86_64_save_sse): Likewise.
30866 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30868         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30869         OSXSAVE.
30870         (_dl_x86_64_save_sse): Likewise.
30872         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30874         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30876 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30879         change.
30880         (_dl_x86_64_save_sse): Use correct AVX check.
30882 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
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.
30888 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30890         * string/tester.c (test_strcat): Add tests for different alignments
30891         of source and destination.
30892         (test_strncat): Likewise.
30894 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
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.
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.
30908         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30910 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30912         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30914 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30916         * po/cs.po: Update from translation team.
30917         * po/bg.po: Likewise.
30919 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
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.
30925 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30927         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30929 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30931         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30932         strlen results.
30934 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
30943 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
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.
30950 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30952         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30953         "aux_cache->nlibs < 0".
30955         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30956         in the reload-count case.
30958 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
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.
30987 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
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.
31002 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31004         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31006 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31008         * nscd/nscd.c (termination_handler): Don't do anything for a database
31009         if it has not yet been initialized.
31011 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31013         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31015 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31017         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31019 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31021         * po/nl.po: Update from translation team.
31022         * po/sv.po: Likewise.
31024 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31026         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31027         now disallowed by GCC.
31029         * configure.in (use-default-link): Default to yes if a test -shared
31030         link meets our qualifications.
31031         * configure: Regenerated.
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.
31040 2011-07-14  Roland McGrath  <roland@hack.frob.com>
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.
31046         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31047         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31049         * configure.in (-z relro check): Adjust test code to add a large
31050         writable data section after it.
31051         * configure: Regenerated.
31053 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31055         * configure.in (-z relro check): Fix test code to make the variable
31056         truly const.
31057         * configure: Regenerated.
31059 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
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.
31099         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31101 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31103         * csu/elf-init.c (__libc_csu_init): Comment typo.
31105 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
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.
31113 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31115         * configure.in (.ctors/.dtors header and trailer check):
31116         Use an empirical test on a built program.
31117         * configure: Regenerated.
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.
31123         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31124         Update tests that use readelf to use $READELF instead.
31125         * configure: Regenerated.
31127 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31129         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31130         if the result is not used.
31132 2011-07-05  Andreas Jaeger  <aj@suse.de>
31134         [BZ#9696]
31135         * stdlib/tst-strtod.c: Add testcase.
31137 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31139         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31140         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
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.
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>.
31157 2011-07-05  Andreas Jaeger  <aj@suse.de>
31159         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31161 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
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.
31168 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31170         * Makefile (strop-tests): Add strncat.
31171         * string/test-strncat.c: New file.
31173 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31175         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31177 2011-06-21  Andreas Jaeger  <aj@suse.de>
31179         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31180         Copy rule from iconvdata/Makefile.
31182 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
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'.
31188 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31190         [BZ #9696]
31191         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31193 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31195         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31196         netgroups to read.
31197         (innetgr): Likewise.
31199 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31201         * config.make.in (install_root): Default to $(DESTDIR).
31203 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31205         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31207 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31209         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31211         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31212         containing directory rather than embedding absolute directory names.
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.
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.
31223         * config.make.in (OBJCOPY): New variable.
31224         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31225         * configure: Regenerated.
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.
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.
31240         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31241         DT_FLAGS/DT_FLAGS_1 with zero flags.
31243         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31244         linker script munging.
31246 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
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.
31260 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
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.
31269 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
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
31277 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31279         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31280         domain only when needed.
31282 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31285         is always restored.
31287 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
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.
31293 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31295         * sysdeps/generic/dl-irel.h: fix protection against multiple
31296         inclusions.
31297         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31299 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31301         [BZ #12935]
31302         * malloc/memusage.sh: Fix quoting in message.
31303         * debug/xtrace.sh: Likewise.
31305         * configure.in: Remove support for --experimental-malloc option, make
31306         it the default.
31307         * config.make.in: Likewise.
31308         * malloc/Makefile: Likewise.
31310 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31312         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31313         two-byte characters.
31315 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31317         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31318         AC_CACHE_CHECK invocation.
31319         * configure: Regenerated.
31321         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31323 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31325         [BZ #12350]
31326         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31327         bit from old_res_options.
31329         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31331         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31332         value type for setfct.
31334 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31336         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31337         __gettimeofday instead of gettimeofday.
31339 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31341         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31343 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31345         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31347         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31348         info.
31350 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
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.
31367 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
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.
31374 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
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.
31399 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31401         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31403 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
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>.
31410 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31414 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31417         /sys/devices/system/cpu/online if it is usable.
31419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31420         reading the information from the /proc filesystem to once a second.
31422 2011-06-21  Andreas Jaeger  <aj@suse.de>
31424         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31425         NULL after inclusion of kernel headers.
31427 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31429         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31430         calls to internal_setent.
31432         [BZ #12885]
31433         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31434         addresses using gethostbyname4_r ignore IPv4 addresses.
31436         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31437         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31439         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31441 2011-06-20  David S. Miller  <davem@davemloft.net>
31443         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31444         inclusions.
31445         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
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.
31455         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31456         * elf/dl-sym.c: Likewise.
31458 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31460         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31461         need to dereference resplen2.
31463 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31465         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31467 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31469         * Makeconfig: Define vardbdir and inst_vardbdir.
31470         * nss/Makefile: Add rules to install db-Makefile.
31472         * nss/nss_db/db-XXX.c: Cleanup.
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.
31483         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31484         interface.
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.
31491         * nss/makedb.c (compute_tables): Check result of multiple hash table
31492         sizes to minimize maximum chain length.
31494 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
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.
31526 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31528         * nss/makedb.c: Rewritten to not use database library.
31529         * nss/Makefile: Update to build new makedb program.
31531 2011-06-14  Andreas Jaeger  <aj@suse.de>
31533         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31534         memset declaration.
31536 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31539         tmpbuf.
31541 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31543         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31544         * elf/Makefile ($(objpfx)ld.so): Likewise.
31546         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31547         Don't list ld.so twice in dependencies.
31549         * posix/bug-regex31.c: Include <stdlib.h>.
31551         * nscd/hstcache.c (cache_addhst): Remove unused variable.
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.
31557         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31558         nonmembers" output to use the right array.
31560         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31562         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
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.
31569         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31570         variable definition inside #if's controlling its use.
31572         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31574         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31576         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31578         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31579         unreachable code.
31581         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31583         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31584         * configure: Regenerated.
31586         * Makerules: Revert last change.
31587         * elf/Makefile: Likewise.
31589 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31591         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31592         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31593         (reloc-link): Likewise.
31595 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31597         * elf/Makefile: Add rules to build pldd.
31598         * elf/pldd.c: New file.
31599         * elf/pldd-xx.c: New file.
31601 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31603         * version.h: Update for 2.15 development version.
31605 2011-06-07  David S. Miller  <davem@davemloft.net>
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.
31619 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31621         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31623 2011-06-06  Roland McGrath  <roland@hack.frob.com>
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).
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.
31639 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
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.
31646 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31649         Assume Intel Core i3/i5/i7 processor if AVX is available.
31651 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31654         typo.
31656 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31658         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31659         memory.  Use alloca_account.  Fix memory leak when retrying.
31661 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31663         * version.h (RELEASE): Bump for 2.14 release.
31664         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31666         * config.make.in (RANLIB): Remove entry.
31668 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31670         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31671         (libc.pot): Work around missing support for .ksh extension in xgettext.
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.
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.
31684         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31686 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31688         [BZ #12350]
31689         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31690         bit from old_res_options.
31691         (gaih_inet): Likewise.
31693         [BZ #11099]
31694         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31695         as signed.
31697         * resolv/res_init.c (res_setoptions): Make the code more compact.
31699         [BZ #11558]
31700         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31701         set RES_USEVC.
31703         [BZ #11634]
31704         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31706         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31708         [BZ #11781]
31709         * malloc/malloc.h: Declare malloc hook variables as volatile.
31711         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31712         in last patch.
31714         [BZ #11799]
31715         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31716         raise in the comment.
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.
31721 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
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.
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.
31739         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31741         * debug/xtrace.sh: Unify messages.
31742         * malloc/memusage.sh: Likewise.
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.
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.
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.
31762 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
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.
31771         [BZ #12814]
31772         * iconvdata/Makefile (tests): Add bug-iconv9.
31773         * iconvdata/bug-iconv9.c: New file.
31775 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31777         [BZ #12814]
31778         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31780 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31783         (struct user_regs_struct): Change intcs field back to cs.
31785 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31787         * po/ja.po: Update from translation team.
31789 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31791         [BZ #12795]
31792         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31793         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31795 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31797         * stdlib/longlong.h: Update from GCC.
31799 2011-05-23  Andreas Schwab  <schwab@redhat.com>
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.
31807 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
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.
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.
31821 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31823         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31824         and CLOCK_BOOTTIME_ALARM.
31826         [BZ #12782]
31827         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31828         is returned.
31830         * string/_strerror.c (__strerror_r): Print negative errors as signed
31831         numbers.
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.
31838         * configure.in: Fix typo in redirection and correct removal of test
31839         files in two cases.
31841         [BZ #12788]
31842         * locale/setlocale.c (new_composite_name): Fix test to check for
31843         identical name of all categories.
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.
31853 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31855         [BZ #11869]
31856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31857         alloca.
31858         * include/alloca.h (extend_alloca_account): Define.
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>.
31866 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
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.
31872 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31874         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31876 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31878         * libio/freopen.c (freopen): Use __dup2, not dup2.
31879         * libio/freopen64.c (freopen64): Likewise.
31881 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
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.
31889 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31891         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31893 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31895         [BZ #11837]
31896         * iconvdata/gb18030.c: Update to GB18020-2005.
31898 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
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>.
31904         [BZ #11892]
31905         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31906         on the stack.
31908         [BZ #11895]
31909         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31910         through underflows.
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.
31917         [BZ #11697]
31918         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31920         [BZ #11820]
31921         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31922         (struct user_fpregs_struct): Avoid __uint*_t types.
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.
31934         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31935         used and couldn't be at all thread-safe.
31937 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
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.
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.
31961         [BZ #10138]
31962         * scripts/config.guess: Update from autoconf-2.68.
31963         * scripts/config.sub: Likewise.
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.
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.
31977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31978         Use non-cancelable interfaces.
31980         [BZ #9809]
31981         * locale/iso-639.def: Add entry for Sorani.
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.
31998 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32000         [BZ #11952]
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>.
32011         [BZ #12083]
32012         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32013         correctly.
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.
32021         [BZ #12626]
32022         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32023         buf2 definition.
32025         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
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.
32034         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32035         storing incomplete byte sequence in state object.  Avoid testing for
32036         guaranteed too small input if we know there is enough data available.
32038 2011-05-11  Andreas Schwab  <schwab@redhat.com>
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.
32053 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32055         * libio/tst_putwc.c: Fix error messages.
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.
32063 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
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>.
32076 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32078         [BZ #12052]
32079         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32081         [BZ #12625]
32082         * misc/mntent_r.c (addmntent): Flush the stream after the output
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.
32094 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
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
32100         __nss_group_database value if it is set.
32101         * nss/nsswitch.conf (initgroups): Change action for successful db
32102         lookup to continue for compatibility.
32104 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
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.
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.
32133         * locale/iso-639.def: Add ary entry.
32135         [BZ #11258]
32136         * locale/C-translit.h.in: Add U20A1 transliteration.
32138         [BZ #12178]
32139         * locale/iso-639.def: Add wae entry.
32140         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32142         [BZ #12545]
32143         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32144         for n.
32146         [BZ #12711]
32147         * locale/C-translit.h.in: Add entry for U20B9.
32148         Patch by pravin.d.s@gmail.com.
32150 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32152         [BZ #12713]
32153         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32154         ENAMETOOLONG use generic getcwd.
32155         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32156         in rtld.  Use *stat64.
32157         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32158         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32159         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
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.
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.
32168         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
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.
32177 2011-03-15  Alan Modra  <amodra@gmail.com>
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.
32185 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
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.
32191 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
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.
32201 2011-05-07  Petr Baudis  <pasky@suse.cz>
32202             Ulrich Drepper  <drepper@gmail.com>
32204         [BZ #12393]
32205         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32206         (is_trusted_path): ...to here.
32207         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32208         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32209         using is_trusted_path_normalize() in setuid scripts.
32211 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32213         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32214         __BEGIN/__END_DECLS.
32216 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32218         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32219         NSS_STATUS_NOTFOUND if no record was found.
32221 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32223         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32224         (headers-not-in-tirpc): Remove rpc/netdb.h
32225         * resolv/netdb.h: Revert last change.
32227 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32229         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32230         circular dependency between libgcc.a and libc.a.
32232 2011-05-05  Andreas Schwab  <schwab@redhat.com>
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.
32240 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32242         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32244 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32246         [BZ #12714]
32247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32248         gethostbyname4_r when IPv6 results are possible.
32250 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32252         [BZ #12723]
32253         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32254         _PC_PIPE_BUF handling.
32256 2011-04-30  Bruno Haible  <bruno@clisp.org>
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.
32264 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32266         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32267         to groups setting in database lookup.
32268         * nss/nsswitch.conf: Add initgroups entry.
32270 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
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>.
32277 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
32286 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32288         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32289         problem in reallocation in last patch.
32291 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32293         * sunrpc/Makefile: Move inclusion of Rules.
32295 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
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.
32302 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32304         * elf/elf.h (R_ARM_IRELATIVE): Define.
32306 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32308         * po/ru.po: Update from translation team.
32310 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32312         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32313         dependencies.
32315 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
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.
32324 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
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.
32332 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
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.
32340 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
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.
32347 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32349         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32350         between environment variables and auxiliary vector.
32352 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
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.
32426 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
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.
32438 2011-03-14  Andreas Schwab  <schwab@redhat.com>
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.
32449 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32452         Make cancelable.
32454 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32456         [BZ #12655]
32457         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32458         Patch by Filipe David Manana <fdmanana@apache.org>.
32460 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32462         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32463         Maintain aligned stack.
32464         (CHECK_RSP): Remove unused macro.
32466 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
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.
32471 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32473         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32475         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32477 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
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.
32490 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32492         [BZ #12631]
32493         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32495 2011-03-30  Andreas Schwab  <schwab@redhat.com>
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.
32502 2011-04-01  Andreas Schwab  <schwab@redhat.com>
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.
32514 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
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.
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
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.
32542 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32545         bits/timex.h.
32547 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
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.
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.
32571         * io/fcntl.h (AT_EMPTY_PATH): Define.
32573 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
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.
32580         * Versions.def: Add GLIBC_2.14.
32581         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32582         Export.
32584 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
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.
32590 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
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.
32598 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
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.
32605 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32607         [BZ #12583]
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>.
32612 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
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,...).
32618 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32620         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32622 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
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.
32636         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32638 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
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.
32644 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
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.
32649 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32650             Ulrich Drepper  <drepper@gmail.com>
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.
32656 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
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.
32663 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32665         * libio/fmemopen.c (fmemopen): Optimize a bit.
32667 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32669         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32671 2011-03-03  Roland McGrath  <roland@redhat.com>
32673         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32675 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32677         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32678         __bzero_ultra1 instead of __memset_ultra1.
32680 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32681             Ulrich Drepper  <drepper@gmail.com>
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.
32698 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32700         [BZ #12454]
32701         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32702         dependencies are missing.
32704 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32706         Fix __if_freereq crash: Unlike the generic version which uses free,
32707         Hurd needs munmap.
32708         * sysdeps/mach/hurd/ifreq.h: New file.
32710 2011-01-27  Petr Baudis  <pasky@suse.cz>
32711             Ulrich Drepper  <drepper@gmail.com>
32713         [BZ 12445]#
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.
32719 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32720             Ulrich Drepper  <drepper@gmail.com>
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.
32727 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32728             Glauber de Oliveira Costa  <glommer@gmail.com>
32730         * elf/elf.h: Add new ARM TLS relocs.
32732 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
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.
32741 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
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.
32748 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
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.
32757 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
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.
32768 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32770         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32771         arginfo fn returning -1.
32773         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32774         and thousands string is zero terminated.
32776 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32778         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32779         sysdeps/unix/sysv/linux/bits/socket.h.
32781 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
32788         (__sched_cpualloc, __sched_cpufree): Add declarations.
32790 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
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.
32821 2011-02-04  Roland McGrath  <roland@redhat.com>
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.
32829         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32831         * posix/fnmatch_loop.c: Add some consts.
32833         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32835 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
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.
32849 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
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>.
32855 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32857         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32858         of errno.
32860 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32862         [BZ #11724]
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.
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>.
32888 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32891         decoding ACE if AI_CANONIDN.
32893 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32895         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32897 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32899         * version.h (RELEASE): Bump for 2.13 release.
32900         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32902         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32904         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32905         MADV_NOHUGEPAGE.
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.
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.
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.
32934 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
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.
32948         * configure.in: Don't override --enable-multi-arch.
32950 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
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.
32958 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
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.
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.
32974 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
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.
32985 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32987         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32988         in child fails because the descriptor is already closed.
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.
32993         [BZ #12397]
32994         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32995         syscall.
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.
33000         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33002 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33004         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33005         loader is ld.so.
33007 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33009         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33010         alignment for SSE2.
33012 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
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.
33021 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
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.
33026         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33027         void.
33028         * bits/select.h: Likewise.
33030 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33032         * po/ja.po: Update from translation team.
33034 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33036         [BZ #11155]
33037         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33038         implementation just like for lxstat, fxstatat, et al.
33040 2010-12-27  Jim Meyering  <meyering@redhat.com>
33042         [BZ #12348]
33043         * posix/regexec.c (build_trtable): Return failure indication upon
33044         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33046 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
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.
33054         [BZ #12207]
33055         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
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.
33061 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
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.
33076 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33078         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33079         always use the slow path.
33081 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
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.
33103 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33105         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33106         accurately.
33107         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33108         GETDENTS_64BIT_ALIGNED.
33110 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33112         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33114 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33116         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33117         _GNU_SOURCE.
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.
33125 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33127         [BZ #11655]
33128         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33129         are initialized.
33131 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33133         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33135 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33137         * po/it.po: Update from translation team.
33139 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33141         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33142         unused codes.
33144 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33146         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33148 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33150         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33151         specially.
33152         (gaih_getanswer_slice): Likewise.
33154 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33158 2010-05-31  Petr Baudis  <pasky@suse.cz>
33160         [BZ #11149]
33161         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33162         silently even in the chroot mode.
33164 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33166         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33167         last patch a bit.  Pretty printing
33169 2010-05-31  Petr Baudis <pasky@suse.cz>
33171         [BZ #10085]
33172         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33173         initialization of skip_initgroups_dyn.
33175 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33177         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33178         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33180 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33182         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33184 2010-11-11  Andreas Schwab  <schwab@redhat.com>
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.
33193 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33196         Support Intel processor model 6 and model 0x2c.
33198 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33200         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33201           signed comparison.
33203 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
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.
33213 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33215         [BZ #12194]
33216         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33217         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33219 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
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.
33237 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33239         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33240         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33242 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
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.
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.
33261 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
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>.
33269 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33271         * math/math.h (isinf): Fix typo in comment.
33273 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33275         * po/da.po: Update from translation team.
33277 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33279         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33280         is added to the list.
33282 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33283             Ulrich Drepper  <drepper@gmail.com>
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.
33294 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
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>.
33301 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33303         [BZ #12140]
33304         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33305         perturbing.
33307 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
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.
33317 2010-10-22  Andreas Schwab  <schwab@redhat.com>
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.
33332 2010-09-09  Andreas Schwab  <schwab@redhat.com>
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.
33339 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33341         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33342         _dl_map_object do it.
33344 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
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.
33352         * bits/mathdef.h: Update copyright year.
33353         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33355 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
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.
33365 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
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.
33380 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
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.
33388 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
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.
33395 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33397         * scripts/data/localplt-s390-linux-gnu.data: New file.
33398         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33400 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
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.
33419 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
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.
33432 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33434         [BZ #12078]
33435         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33436         * posix/bug-regex31.input: Add test case.
33438 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33440         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33441         * posix/bug-regex31.input: New file.
33443         [BZ #12078]
33444         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33445         (parse_sub_exp): Fix last change, use postorder.
33447         * posix/bug-regex31.c: New file.
33448         * posix/Makefile: Add rules to build and run bug-regex31.
33450         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33452         [BZ #12078]
33453         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33455         [BZ #12108]
33456         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33457         to have entries in sys_siglist.
33459         [BZ #12093]
33460         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33461         be NULL.
33463 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
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.
33488 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33490         [BZ #12107]
33491         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33492         newline.
33494 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33496         * string/bug-strstr1.c: New file.
33497         * string/Makefile: Add rules to build and run bug-strstr1.
33499 2010-10-05  Eric Blake  <eblake@redhat.com>
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.
33505 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33507         [BZ #12005]
33508         * malloc/mcheck.c: Handle large requests.
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.
33516 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33518         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33519         __set_fpscr.
33521 2010-09-30  Andreas Jaeger  <aj@suse.de>
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.
33530 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33532         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33533         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33535 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33537         [BZ #12067]
33538         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33539         trying to locate the ELF header.
33541 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33543         [BZ #11611]
33544         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33545         Mask out sign-bit copies when constructing f_fsid.
33547 2010-09-24  Petr Baudis <pasky@suse.cz>
33549         * debug/stack_chk_fail_local.c: Add missing licence exception.
33550         * debug/warning-nop.c: Likewise.
33552 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33554         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33555         implementing getdents64 using getdents syscall, set d_type if
33556         __ASSUME_GETDENTS32_D_TYPE.
33558 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33560         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33561         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33563 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33565         [BZ #12037]
33566         * posix/unistd.h: Undo change of feature selection for ftruncate from
33567         2010-01-11.
33569 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33571         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33572         detection.
33574 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33576         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33577         fanotify_mark.
33578         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33580 2010-09-14  Andreas Schwab  <schwab@redhat.com>
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.
33586 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33587             Ulrich Drepper  <drepper@redhat.com>
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.
33596 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33598         * resolv/res_init.c (__res_vinit): Count the default server we added.
33600 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33601             Ulrich Drepper  <drepper@redhat.com>
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.
33608 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33610         * manual/Makefile: Don't mix pattern rules with normal rules.
33612 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
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.
33623 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
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.
33629 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
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.
33639 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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
33643         <bits/sched.h> is included with __need_schedparam defined.
33644         * bits/sched.h [__need_schedparam]
33645         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33646         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33647         (__defined_schedparam): Define to 1.
33648         (__sched_param): New structure, identical to sched_param.
33649         (__need_schedparam): Undefine.
33651 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33653         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33654         (epoll_create1): Declare.
33656         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33658 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33660         [BZ #7066]
33661         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33662         shifting retval into place.
33664 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
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.
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.
33685 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33688         fanotify_mark.
33690 2010-08-27  Roland McGrath  <roland@redhat.com>
33692         * sysdeps/i386/i686/multiarch/Makefile
33693         (CFLAGS-varshift.c): New variable.
33695 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33697         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33698         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33700         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33702         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33704 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
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.
33715 2010-08-25  Roland McGrath  <roland@redhat.com>
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.
33724 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
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.
33739 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33741         [BZ #10851]
33742         * resolv/res_init.c (__res_vinit): When no server address at all
33743         is given default to loopback.
33745 2010-08-24  Roland McGrath  <roland@redhat.com>
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.
33754         * sunrpc/rpc_parse.h: Avoid nested comment.
33756 2010-08-24  Richard Henderson  <rth@redhat.com>
33757             Ulrich Drepper  <drepper@redhat.com>
33758             H.J. Lu  <hongjiu.lu@intel.com>
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.
33773 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33775         * configure.in: Move assembler checks to before sysdep dir checking.
33777 2010-08-20  Petr Baudis  <pasky@suse.cz>
33779         * LICENSES: Sync the sunrpc license.
33781 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
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.
33876         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33877         handling.
33879 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33881         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33883 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
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.
33900 2010-07-26  Anton Blanchard  <anton@samba.org>
33902         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33903         * malloc/arena.c (heap_trim): Likewise.
33905 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
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.
33912 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33914         * sysdeps/i386/elf/Makefile: New file.
33916 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
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.
33923 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33925         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33926         of strncasecmp_l.
33927         * sysdeps/multiarch/strcmp.S: Likewise.
33929 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
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.
33945         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33946         warning.
33948         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33949         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33951 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33953         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33955 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
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.
33961 2010-05-01  Alan Modra  <amodra@gmail.com>
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.
33998 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34000         [BZ #11904]
34001         * locale/programs/locale.c (print_assignment): New function.
34002         (show_locale_vars): Use it.
34004 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
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.
34019         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
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.
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.
34046         [BZ #11903]
34047         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34048         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
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.
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.
34066         * nss/nss_files/files-parse.c: Whitespace fixes.
34068 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34070         [BZ #11883]
34071         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34072         * posix/fnmatch_loop.c: Likewise.
34074 2010-07-17  Andi Kleen  <ak@linux.intel.com>
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.
34081 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34083         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34084         Also fail if tpwd after pwuid call is NULL.
34086 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34088         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34089         when converting to ms.
34091 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
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.
34098 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
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.
34108 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34110         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
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.
34123         * string/test-strcasestr.c: Test both ends of the range of characters.
34124         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34126 2010-07-29  Roland McGrath  <roland@redhat.com>
34128         [BZ #11856]
34129         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34131 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34133         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34134         for ld.so.
34136 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34138         * manual/memory.texi (Malloc Tunable Parameters): Document
34139         M_PERTURB.
34141 2010-07-26  Roland McGrath  <roland@redhat.com>
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@.
34149 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
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.
34156         * sysdeps/x86_64/strnlen.S: New file.
34158 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34160         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34161         lower-latency instructions.
34163 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
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.
34171 2010-07-21  Andreas Schwab  <schwab@redhat.com>
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.
34180 2010-07-20  Roland McGrath  <roland@redhat.com>
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.
34187 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34189         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34191 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
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.
34201 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
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.
34208 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34210         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34211         fcntl.
34213 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34215         [BZ #11577]
34216         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34217         dl_signal_cerror.
34219 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34221         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34222         _PC_PIPE_BUF using F_GETPIPE_SZ.
34224 2010-07-05  Roland McGrath  <roland@redhat.com>
34226         * manual/arith.texi (Rounding Functions): Fix rint description
34227         implicit in round description.
34229 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34231         * elf/Makefile: Fix linking for a few tests to make recent linker
34232         happy.
34234 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34236         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34237         $(common-objpfx)libc_nonshared.a.
34239 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
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.
34290 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
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.
34322 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34324         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34325         Restore proper fallback handling.
34327 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34329         [BZ #11701]
34330         * posix/group_member.c (__group_member): Correct checking loop.
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.
34339 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34341         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34342         libc_nonshared.a from targets in modules-names.
34344 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34346         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34347         requires it.
34349 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
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.
34356 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34358         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34360 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
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
34371 2010-06-14  Roland McGrath  <roland@redhat.com>
34373         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34375 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
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.
34382 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
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.
34391 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34393         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34395 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34397         [BZ #11640]
34398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34399         Properly check family and model.
34401 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34403         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34405 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34407         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34409 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34411         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34412         symbol reference.
34414 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34416         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34417         symbol reference.
34419 2010-05-21  Andreas Schwab  <schwab@redhat.com>
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.
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.
34432 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34434         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34436 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34438         POWER7 optimizations.
34439         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34440         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34442 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34444         * version.h: Update for 2.13 development version.
34446 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34448         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34449         exceptions.  Return 0.
34451 2010-05-07  Roland McGrath  <roland@redhat.com>
34453         * elf/ldconfig.c (main): Add a const.
34455 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
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.
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.
34466 See ChangeLog.17 for earlier changes.