Remove duplicate bug numbers from NEWS.
[glibc.git] / ChangeLog
blob1078b357cb4fd2d193a472fca9a0fe7bd17b54ac
1 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2             Joseph Myers  <joseph@codesourcery.com
4         [BZ #15948]
5         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6         single character.
7         (add_to_tablewc): Assert sequence of wide characters is nonempty.
9 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12         * elf/tst-tls1.c: Likewise.
13         * elf/tst-tls10.h: Likewise.
14         * elf/tst-tls14.c: Likewise.
15         * elf/tst-tls2.c: Likewise.
16         * elf/tst-tls3.c: Likewise.
17         * elf/tst-tls4.c: Likewise.
18         * elf/tst-tls5.c: Likewise.
19         * elf/tst-tls6.c: Likewise.
20         * elf/tst-tls7.c: Likewise.
21         * elf/tst-tls8.c: Likewise.
22         * elf/tst-tls9.c: Likewise.
23         * elf/tst-tlsmod1.c: Likewise.
24         * elf/tst-tlsmod13.c: Likewise.
25         * elf/tst-tlsmod13a.c: Likewise.
26         * elf/tst-tlsmod14a.c: Likewise.
27         * elf/tst-tlsmod16a.c: Likewise.
28         * elf/tst-tlsmod16b.c: Likewise.
29         * elf/tst-tlsmod2.c: Likewise.
30         * elf/tst-tlsmod3.c: Likewise.
31         * elf/tst-tlsmod4.c: Likewise.
32         * elf/tst-tlsmod5.c: Likewise.
33         * elf/tst-tlsmod6.c: Likewise.
35 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37         [BZ #12486]
38         * malloc/malloc.c: remove checks for statistics.
40 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42         [BZ #15277]
43         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44         * inet/tst-network.c: Add testcase.
46 2013-10-17  Andreas Schwab  <schwab@suse.de>
48         [BZ #15218]
49         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50         to determine canonical name.
52 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
78         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
79         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
82         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
84         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
90         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
91         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
92         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
93         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
94         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
95         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
96         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
97         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
98         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
99         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
100         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
101         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
102         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
103         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
104         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
105         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
106         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
107         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
108         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
109         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
111         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
113 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
115         [BZ #16041]
116         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
117         make result into a quiet NaN.
119 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
121         * soft-fp/adddf3.c: Fix horizontal whitespace.
122         * soft-fp/addsf3.c: Likewise.
123         * soft-fp/addtf3.c: Likewise.
124         * soft-fp/divdf3.c: Likewise.
125         * soft-fp/divsf3.c: Likewise.
126         * soft-fp/divtf3.c: Likewise.
127         * soft-fp/double.h: Likewise.
128         * soft-fp/eqdf2.c: Likewise.
129         * soft-fp/eqsf2.c: Likewise.
130         * soft-fp/eqtf2.c: Likewise.
131         * soft-fp/extenddftf2.c: Likewise.
132         * soft-fp/extended.h: Likewise.
133         * soft-fp/extendsfdf2.c: Likewise.
134         * soft-fp/extendsftf2.c: Likewise.
135         * soft-fp/extendxftf2.c: Likewise.
136         * soft-fp/fixdfdi.c: Likewise.
137         * soft-fp/fixdfsi.c: Likewise.
138         * soft-fp/fixdfti.c: Likewise.
139         * soft-fp/fixsfdi.c: Likewise.
140         * soft-fp/fixsfsi.c: Likewise.
141         * soft-fp/fixsfti.c: Likewise.
142         * soft-fp/fixtfdi.c: Likewise.
143         * soft-fp/fixtfsi.c: Likewise.
144         * soft-fp/fixtfti.c: Likewise.
145         * soft-fp/fixunsdfdi.c: Likewise.
146         * soft-fp/fixunsdfsi.c: Likewise.
147         * soft-fp/fixunsdfti.c: Likewise.
148         * soft-fp/fixunssfdi.c: Likewise.
149         * soft-fp/fixunssfsi.c: Likewise.
150         * soft-fp/fixunssfti.c: Likewise.
151         * soft-fp/fixunstfdi.c: Likewise.
152         * soft-fp/fixunstfsi.c: Likewise.
153         * soft-fp/fixunstfti.c: Likewise.
154         * soft-fp/floatdidf.c: Likewise.
155         * soft-fp/floatdisf.c: Likewise.
156         * soft-fp/floatditf.c: Likewise.
157         * soft-fp/floatsidf.c: Likewise.
158         * soft-fp/floatsisf.c: Likewise.
159         * soft-fp/floatsitf.c: Likewise.
160         * soft-fp/floattidf.c: Likewise.
161         * soft-fp/floattisf.c: Likewise.
162         * soft-fp/floattitf.c: Likewise.
163         * soft-fp/floatundidf.c: Likewise.
164         * soft-fp/floatundisf.c: Likewise.
165         * soft-fp/floatunditf.c: Likewise.
166         * soft-fp/floatunsidf.c: Likewise.
167         * soft-fp/floatunsisf.c: Likewise.
168         * soft-fp/floatunsitf.c: Likewise.
169         * soft-fp/floatuntidf.c: Likewise.
170         * soft-fp/floatuntisf.c: Likewise.
171         * soft-fp/floatuntitf.c: Likewise.
172         * soft-fp/fmadf4.c: Likewise.
173         * soft-fp/fmasf4.c: Likewise.
174         * soft-fp/fmatf4.c: Likewise.
175         * soft-fp/gedf2.c: Likewise.
176         * soft-fp/gesf2.c: Likewise.
177         * soft-fp/getf2.c: Likewise.
178         * soft-fp/ledf2.c: Likewise.
179         * soft-fp/lesf2.c: Likewise.
180         * soft-fp/letf2.c: Likewise.
181         * soft-fp/muldf3.c: Likewise.
182         * soft-fp/mulsf3.c: Likewise.
183         * soft-fp/multf3.c: Likewise.
184         * soft-fp/negdf2.c: Likewise.
185         * soft-fp/negsf2.c: Likewise.
186         * soft-fp/negtf2.c: Likewise.
187         * soft-fp/op-1.h: Likewise.
188         * soft-fp/op-2.h: Likewise.
189         * soft-fp/op-4.h: Likewise.
190         * soft-fp/op-8.h: Likewise.
191         * soft-fp/op-common.h: Likewise.
192         * soft-fp/quad.h: Likewise.
193         * soft-fp/single.h: Likewise.
194         * soft-fp/soft-fp.h: Likewise.
195         * soft-fp/sqrtdf2.c: Likewise.
196         * soft-fp/sqrtsf2.c: Likewise.
197         * soft-fp/sqrttf2.c: Likewise.
198         * soft-fp/subdf3.c: Likewise.
199         * soft-fp/subsf3.c: Likewise.
200         * soft-fp/subtf3.c: Likewise.
201         * soft-fp/truncdfsf2.c: Likewise.
202         * soft-fp/trunctfdf2.c: Likewise.
203         * soft-fp/trunctfsf2.c: Likewise.
204         * soft-fp/trunctfxf2.c: Likewise.
205         * soft-fp/unorddf2.c: Likewise.
206         * soft-fp/unordsf2.c: Likewise.
207         * soft-fp/unordtf2.c: Likewise.
209 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
211         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
212         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
214 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
216         * elf/dl-libc.c: Clear initfini list after freeing.
218 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
220         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
221         * soft-fp/addsf3.c: Likewise.
222         * soft-fp/addtf3.c: Likewise.
223         * soft-fp/divdf3.c: Likewise.
224         * soft-fp/divsf3.c: Likewise.
225         * soft-fp/divtf3.c: Likewise.
226         * soft-fp/double.h: Likewise.
227         * soft-fp/eqdf2.c: Likewise.
228         * soft-fp/eqsf2.c: Likewise.
229         * soft-fp/eqtf2.c: Likewise.
230         * soft-fp/extenddftf2.c: Likewise.
231         * soft-fp/extended.h: Likewise.
232         * soft-fp/extendsfdf2.c: Likewise.
233         * soft-fp/extendsftf2.c: Likewise.
234         * soft-fp/extendxftf2.c: Likewise.
235         * soft-fp/fixdfdi.c: Likewise.
236         * soft-fp/fixdfsi.c: Likewise.
237         * soft-fp/fixdfti.c: Likewise.
238         * soft-fp/fixsfdi.c: Likewise.
239         * soft-fp/fixsfsi.c: Likewise.
240         * soft-fp/fixsfti.c: Likewise.
241         * soft-fp/fixtfdi.c: Likewise.
242         * soft-fp/fixtfsi.c: Likewise.
243         * soft-fp/fixtfti.c: Likewise.
244         * soft-fp/fixunsdfdi.c: Likewise.
245         * soft-fp/fixunsdfsi.c: Likewise.
246         * soft-fp/fixunsdfti.c: Likewise.
247         * soft-fp/fixunssfdi.c: Likewise.
248         * soft-fp/fixunssfsi.c: Likewise.
249         * soft-fp/fixunssfti.c: Likewise.
250         * soft-fp/fixunstfdi.c: Likewise.
251         * soft-fp/fixunstfsi.c: Likewise.
252         * soft-fp/fixunstfti.c: Likewise.
253         * soft-fp/floatdidf.c: Likewise.
254         * soft-fp/floatdisf.c: Likewise.
255         * soft-fp/floatditf.c: Likewise.
256         * soft-fp/floatsidf.c: Likewise.
257         * soft-fp/floatsisf.c: Likewise.
258         * soft-fp/floatsitf.c: Likewise.
259         * soft-fp/floattidf.c: Likewise.
260         * soft-fp/floattisf.c: Likewise.
261         * soft-fp/floattitf.c: Likewise.
262         * soft-fp/floatundidf.c: Likewise.
263         * soft-fp/floatundisf.c: Likewise.
264         * soft-fp/floatunsidf.c: Likewise.
265         * soft-fp/floatunsisf.c: Likewise.
266         * soft-fp/floatuntidf.c: Likewise.
267         * soft-fp/floatuntisf.c: Likewise.
268         * soft-fp/floatuntitf.c: Likewise.
269         * soft-fp/fmadf4.c: Likewise.
270         * soft-fp/fmasf4.c: Likewise.
271         * soft-fp/fmatf4.c: Likewise.
272         * soft-fp/gedf2.c: Likewise.
273         * soft-fp/gesf2.c: Likewise.
274         * soft-fp/getf2.c: Likewise.
275         * soft-fp/ledf2.c: Likewise.
276         * soft-fp/lesf2.c: Likewise.
277         * soft-fp/letf2.c: Likewise.
278         * soft-fp/muldf3.c: Likewise.
279         * soft-fp/mulsf3.c: Likewise.
280         * soft-fp/multf3.c: Likewise.
281         * soft-fp/negdf2.c: Likewise.
282         * soft-fp/negsf2.c: Likewise.
283         * soft-fp/negtf2.c: Likewise.
284         * soft-fp/op-1.h: Likewise.
285         * soft-fp/op-2.h: Likewise.
286         * soft-fp/op-4.h: Likewise.
287         * soft-fp/op-8.h: Likewise.
288         * soft-fp/op-common.h: Likewise.
289         * soft-fp/quad.h: Likewise.
290         * soft-fp/single.h: Likewise.
291         * soft-fp/soft-fp.h: Likewise.
292         * soft-fp/sqrtdf2.c: Likewise.
293         * soft-fp/sqrtsf2.c: Likewise.
294         * soft-fp/sqrttf2.c: Likewise.
295         * soft-fp/subdf3.c: Likewise.
296         * soft-fp/subsf3.c: Likewise.
297         * soft-fp/subtf3.c: Likewise.
298         * soft-fp/truncdfsf2.c: Likewise.
299         * soft-fp/trunctfdf2.c: Likewise.
300         * soft-fp/trunctfsf2.c: Likewise.
301         * soft-fp/trunctfxf2.c: Likewise.
302         * soft-fp/unorddf2.c: Likewise.
303         * soft-fp/unordsf2.c: Likewise.
304         * soft-fp/unordtf2.c: Likewise.
306 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
308         [BZ #15672]
309         * misc/error.c (error_tail): Fix possible buffer overflow.
311 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
313         [BZ #13028]
314         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
315         address.
317 2013-10-14  P. J. McDermott  <pj@pehjota.net>
319         [BZ #832]
320         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
321         testing pipefail option.
323 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
325         * soft-fp/double.h: Indent preprocessor directives inside #if.
326         * soft-fp/extended.h: Likewise.
327         * soft-fp/op-2.h: Likewise.
328         * soft-fp/op-4.h: Likewise.
329         * soft-fp/op-common.h: Likewise.
330         * soft-fp/quad.h: Likewise.
331         * soft-fp/single.h: Likewise.
332         * soft-fp/soft-fp.h: Likewise.
334 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
336         * iconv/iconv_prog.c: Fix typos.
337         * stdio-common/psiginfo-data.h: Likewise.
339 2013-10-12   Reuben Thomas <rrt@sc3d.org>
341         [BZ #15764]
342         * locale/setlocale.c: Fix typo.
344 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
346         [BZ #16036]
347         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
348         signaling NaN arguments.
349         * soft-fp/unordsf2.c (__unordsf2): Likewise.
350         * soft-fp/unordtf2.c (__unordtf2): Likewise.
352         [BZ #14910]
353         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
354         unordered operands.
355         * soft-fp/gesf2.c (__gesf2): Likewise.
356         * soft-fp/getf2.c (__getf2): Likewise.
357         * soft-fp/ledf2.c (__ledf2): Likewise.
358         * soft-fp/lesf2.c (__lesf2): Likewise.
359         * soft-fp/letf2.c (__letf2): Likewise.
361         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
362         * soft-fp/eqsf2.c (__eqsf2): Likewise.
363         * soft-fp/eqtf2.c (__eqtf2): Likewise.
364         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
365         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
366         * soft-fp/fixdfti.c (__fixdfti): Likewise.
367         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
368         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
369         * soft-fp/fixsfti.c (__fixsfti): Likewise.
370         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
371         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
372         * soft-fp/fixtfti.c (__fixtfti): Likewise.
373         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
374         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
375         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
376         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
377         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
378         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
379         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
380         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
381         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
382         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
383         * soft-fp/floatdisf.c (__floatdisf): Likewise.
384         * soft-fp/floatsisf.c (__floatsisf): Likewise.
385         * soft-fp/floattidf.c (__floattidf): Likewise.
386         * soft-fp/floattisf.c (__floattisf): Likewise.
387         * soft-fp/floattitf.c (__floattitf): Likewise.
388         * soft-fp/floatundidf.c (__floatundidf): Likewise.
389         * soft-fp/floatundisf.c (__floatundisf): Likewise.
390         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
391         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
392         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
393         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
394         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
395         * soft-fp/gesf2.c (__gesf2): Likewise.
396         * soft-fp/getf2.c (__getf2): Likewise.
397         * soft-fp/ledf2.c (__ledf2): Likewise.
398         * soft-fp/lesf2.c (__lesf2): Likewise.
399         * soft-fp/letf2.c (__letf2): Likewise.
401         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
402         Undefine and redefine.
403         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
404         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
405         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
406         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
407         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
408         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
409         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
410         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
411         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
412         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
413         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
414         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
415         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
416         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
417         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
419         [BZ #16032]
420         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
421         without decrementing exponent if mantissa >= that for the
422         denominator, not >.
423         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
424         denominator, not >.  Decrement exponent in < case instead of
425         incrementing in >= case.
426         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
427         without decrementing exponent if mantissa >= that for the
428         denominator, not >.
430         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
431         computing saturated result for unsigned overflow.
433 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
434             Jeff Law  <law@redhat.com>
436         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
437         (atan2Mp): Add systemtap probe marker.
438         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
439         (__ieee754_log): Add systemtap probe marker.
440         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
441         (atanMp): Add systemtap probe marker.
442         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
443         (tanMp): Add systemtap probe marker.
444         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
445         (__slowexp): Add systemtap probe marker.
446         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
447         (__slowpow): Add systemtap probe marker.
448         * manual/probes.texi: Document probes.
450 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
452         [BZ #15362]
453         * libio/fileops.c (_IO_new_file_write): Return count of bytes
454         written.
455         (_IO_new_file_xsputn): Don't return EOF if nothing has been
456         written.
457         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
458         written to buffer but not flushed.
459         * libio/iofwrite_u.c:  Likewise.
460         * libio/iopadn.c:  Return bytes returned even if EOF was
461         encountered.
462         * libio/iowpadn.c:  Likewise.
463         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
464         if _IO_padn does not write the whole buffer.
465         [!COMPILE_WPRINTF] (PAD): Likewise.
467 2013-10-10  David S. Miller  <davem@davemloft.net>
469         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
470         directory block.
472 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
474         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
475         instead of FSF address.
476         * soft-fp/fixdfti.c: Likewise.
477         * soft-fp/fixsfti.c: Likewise.
478         * soft-fp/fixtfti.c: Likewise.
479         * soft-fp/fixunsdfti.c: Likewise.
480         * soft-fp/fixunssfti.c: Likewise.
481         * soft-fp/fixunstfti.c: Likewise.
482         * soft-fp/floattidf.c: Likewise.
483         * soft-fp/floattisf.c: Likewise.
484         * soft-fp/floattitf.c: Likewise.
485         * soft-fp/floatuntidf.c: Likewise.
486         * soft-fp/floatuntisf.c: Likewise.
487         * soft-fp/floatuntitf.c: Likewise.
488         * soft-fp/trunctfxf2.c: Likewise.
490         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
491         * soft-fp/fixdfti.c: Likewise.
492         * soft-fp/fixsfti.c: Likewise.
493         * soft-fp/fixtfti.c: Likewise.
494         * soft-fp/fixunsdfti.c: Likewise.
495         * soft-fp/fixunssfti.c: Likewise.
496         * soft-fp/fixunstfti.c: Likewise.
497         * soft-fp/floattidf.c: Likewise.
498         * soft-fp/floattisf.c: Likewise.
499         * soft-fp/floattitf.c: Likewise.
500         * soft-fp/floatuntidf.c: Likewise.
501         * soft-fp/floatuntisf.c: Likewise.
502         * soft-fp/floatuntitf.c: Likewise.
503         * soft-fp/trunctfxf2.c: Likewise.
505 2013-10-10  David S. Miller  <davem@davemloft.net>
507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
509 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
511         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
512         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
513         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
514         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
515         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
516         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
517         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
520         for NaNs before doing comparisons on argument.
521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
522         Likewise.
524 2013-10-10  Will Newton  <will.newton@linaro.org>
526         * malloc/hooks.c (memalign_check): Ensure the value of bytes
527         passed to _int_memalign does not overflow.
529 2013-10-10  Torvald Riegel  <triegel@redhat.com>
531         * scripts/bench.pl: Add include-sources directive.
532         * benchtests/README: Update documentation.
534 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
536         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
537         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
538         instead of FP_INIT_ROUNDMODE.
539         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
540         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
542         [BZ #16034]
543         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
544         copy class of input value.
545         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
546         not handle exceptions.
547         * soft-fp/negsf2.c (__negsf2): Likewise.
548         * soft-fp/negtf2.c (__negtf2): Likewise.
549         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
551 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
553         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
554         semicolon.  From Linux kernel.
556 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
558         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
560 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
562         [BZ #156]
563         * manual/socket.texi: Added statement about buffer
564         for gethostbyname2_r.
566 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
568         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
569         Use .p2align directive instead, throughout.
570         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
571         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
572         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
573         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
574         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
575         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
576         * sysdeps/x86_64/strchr.S: Likewise.
577         * sysdeps/x86_64/strrchr.S: Likewise.
579 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
581         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
583         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
585         * sysdeps/generic/math_private.h (__mpsin1): Remove
586         declaration.
587         (__mpcos1): Likewise.
588         (__mpsin): New argument __range_reduce.
589         (__mpcos): Likewise.
590         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
591         (slow): Use __mpsin and __mpcos.
592         (slow1): Likewise.
593         (slow2): Likewise.
594         (sloww): Likewise.
595         (sloww1): Likewise.
596         (sloww2): Likewise.
597         (bsloww): Likewise.
598         (bsloww1): Likewise.
599         (bsloww2): Likewise.
600         (cslow2): Likewise.
601         (csloww): Likewise.
602         (csloww1): Likewise.
603         (csloww2): Likewise.
604         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
605         range_reduce.  Merge in __mpsin1.
606         (__mpcos): Likewise.
607         (__mpsin1): Remove.
608         (__mpcos1): Likewise.
610 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
612         * locale/loadlocale.c (_nl_intern_locale_data): Use
613         LOCFILE_ALIGNED_P.
614         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
615         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
616         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
617         obstack data is appropriately aligned.
618         (obstack_int32_grow_fast): Likewise.
619         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
620         * locale/programs/locfile.c (add_locale_uint32): Likewise.
621         (add_locale_uint32_array): Likewise.
623 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
625         * benchtests/Makefile: Remove ARGLIST and RET variables.
626         ($(objpfx)bench-%.c): Pass only function name to the script.
627         * benchtests/README: Update documentation.
628         * benchtests/acos-inputs: Add new directives.
629         * benchtests/acosh-inputs: Likewise.
630         * benchtests/asin-inputs: Likewise.
631         * benchtests/asinh-inputs: Likewise.
632         * benchtests/atan-inputs: Likewise.
633         * benchtests/atanh-inputs: Likewise.
634         * benchtests/cos-inputs: Likewise.
635         * benchtests/cosh-inputs: Likewise.
636         * benchtests/exp-inputs: Likewise.
637         * benchtests/log-inputs: Likewise.
638         * benchtests/pow-inputs: Likewise.
639         * benchtests/rint-inputs: Likewise.
640         * benchtests/sin-inputs: Likewise.
641         * benchtests/sinh-inputs: Likewise.
642         * benchtests/tan-inputs: Likewise.
643         * benchtests/tanh-inputs: Likewise.
644         * scripts/bench.pl: Add support for new directives.
646 2013-10-07  Alan Modra  <amodra@gmail.com>
648         * README: Fix careless merge.
650 2013-10-05  Alan Modra  <amodra@gmail.com>
652         * NEWS: Mention powerpc64le support and bugs fixed.
653         * README: Both big-endian and little-endian powerpc64 supported.
655 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
657         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
658         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
659         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
660         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
662 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
664         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
665         match prototype.
667 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
669         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
670         Move -mhard-float appending from
671         ports/sysdeps/powerpc/powerpc32/Makefile.
672         [$(with-fp) = yes] (ASFLAGS): Likewise.
673         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
674         * sysdeps/powerpc/nofpu: Move directory from
675         ports/sysdeps/powerpc/nofpu.
676         * sysdeps/powerpc/soft-fp: Move directory from
677         ports/sysdeps/powerpc/soft-fp.
678         * sysdeps/powerpc/powerpc32/405: Move directory from
679         ports/sysdeps/powerpc/powerpc32/405.
680         * sysdeps/powerpc/powerpc32/440: Move directory from
681         ports/sysdeps/powerpc/powerpc32/440.
682         * sysdeps/powerpc/powerpc32/464: Move directory from
683         ports/sysdeps/powerpc/powerpc32/464.
684         * sysdeps/powerpc/powerpc32/476: Move directory from
685         ports/sysdeps/powerpc/powerpc32/476.
686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
687         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
689         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
693         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
696         * README: Update for powerpc-*-linux-gnu software floating point
697         support in libc.
699         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
700         case to powerpc/powerpc32*.
701         * sysdeps/unix/sysv/linux/configure: Regenerated.
703         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
704         (_FPU_MASK_OM): Define as 0x04.
705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
707         0x00c10080.
708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
709         0x0000003c.
710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
713         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
714         getcontext_e500.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
716         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
717         setcontext_e500.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
719         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
720         and setcontext_e500.
722 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
724         * locale/iso-3166.def: Update iso-1366.def and related occurrences
726 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
728         * manual/threads.texi (Default Thread Attributes): Fix typo.
730 2013-10-04  Will Newton  <will.newton@linaro.org>
732         * malloc/Makefile: Add tst-memalign.
733         * malloc/tst-memalign.c: New file.
735         * malloc/tst-posix_memalign.c: Add comments.
736         (do_test): Add comments and call free on all potentially
737         allocated pointers. Add space after cast.
739         * malloc/tst-pvalloc.c: Add comments.
740         (do_test): Add comments and call free on all potentially
741         allocated pointers. Remove duplicate check for NULL pointer.
742         Add space after cast.
744         * malloc/tst-valloc.c: Add comments.
745         (do_test): Add comments and call free on all potentially
746         allocated pointers. Remove duplicate check for NULL pointer.
747         Add space after cast.
749 2013-10-04  Alan Modra  <amodra@gmail.com>
751         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
752         Use stdint types in rather than __attribute__((mode())).
753         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
755 2013-10-04  Alan Modra  <amodra@gmail.com>
757         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
758         Correct handling of unaligned relocs for little-endian.
759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
761 2013-10-04  Alan Modra  <amodra@gmail.com>
763         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
764         * configure: Regenerate.
765         * nptl/shlib-versions: Powerpc*le starts at 2.18.
766         * shlib-versions: Likewise.
768 2013-10-04  Alan Modra  <amodra@gmail.com>
770         * string/tester.c (test_memrchr): Increment reported test cycle.
772 2013-10-04  Alan Modra  <amodra@gmail.com>
774         * string/test-memcpy.c (do_one_test): When reporting errors, print
775         string address and don't overrun end of string.
777 2013-10-04  Alan Modra  <amodra@gmail.com>
779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
780         insrdi.  Make better use of reg selection to speed exit slightly.
781         Schedule entry path a little better.  Remove useless "are we done"
782         checks on entry to main loop.  Handle wrapping around zero address.
783         Correct main loop count.  Handle single left-over word from main
784         loop inline rather than by using loop_small.  Remove extra word
785         case in loop_small caused by wrong loop count.  Add little-endian
786         support.
787         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
788         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
789         cache hint.
790         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
791         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
792         support.  Avoid rlwimi.
793         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
795 2013-10-04  Alan Modra  <amodra@gmail.com>
797         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
798         insrdi.  Formatting.
799         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
800         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
801         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
802         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
803         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
804         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
806 2013-10-04  Alan Modra  <amodra@gmail.com>
808         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
809         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
811         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
812         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
813         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
814         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
815         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
816         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
817         use of regs.  Use power7 mtocrf.  Tidy function tails.
819 2013-10-04  Alan Modra  <amodra@gmail.com>
821         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
822         Formatting.  Consistently use rXXX register defines or rN defines.
823         Use early exit labels that avoid restoring unused non-volatile regs.
824         Make cr field use more consistent with rWORDn compares.  Rename
825         regs used as shift registers for unaligned loop, using rN defines
826         for short lifetime/multiple use regs.
827         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
828         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
829         addi 1,1,64 to pop stack frame.  Simplify return value code.
830         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
832 2013-10-04  Alan Modra  <amodra@gmail.com>
834         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
835         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
836         rather than rlwimi.
837         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
838         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
839         little-endian support.  Correct typos.
840         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
841         rather than rlwimi.
842         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
843         in loop and entry code to keep "and." results.
844         (strchr): Add little-endian support.  Comment.  Move cntlzd
845         earlier in tail.
846         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
848 2013-10-04  Alan Modra  <amodra@gmail.com>
850         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
851         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
852         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
853         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
855 2013-10-04  Alan Modra  <amodra@gmail.com>
857         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
858         (rTMP): Define as r11.
859         (strcmp): Add little-endian support.  Optimise tail.
860         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
861         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
862         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
863         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
865         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
866         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
868 2013-10-04  Alan Modra  <amodra@gmail.com>
870         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
871         little-endian support.  Remove unnecessary "are we done" tests.
872         Handle "s" wrapping around zero and extremely large "size".
873         Correct main loop count.  Handle single left-over word from main
874         loop inline rather than by using small_loop.  Correct comments.
875         Delete "zero" tail, use "end_max" instead.
876         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
878 2013-10-04  Alan Modra  <amodra@gmail.com>
880         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
881         support.  Don't branch over align.
882         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
883         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
884         support.  Rearrange tmp reg use to suit.  Comment.
885         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
887 2013-10-04  Alan Modra  <amodra@gmail.com>
889         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
891 2013-10-04  Alan Modra  <amodra@gmail.com>
893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
894         conditional form of branch and link when obtaining pc.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
897 2013-10-04  Alan Modra  <amodra@gmail.com>
899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
900         HIWORD/LOWORD.
901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
904 2013-10-04  Alan Modra  <amodra@gmail.com>
906         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
907         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
908         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
909         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
910         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
911         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
912         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
913         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
914         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
915         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
917 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
918             Alistair Popple <alistair@ozlabs.au.ibm.com>
919             Alan Modra <amodra@gmail.com>
921         [BZ #15723]
922         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
923         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
924         _dl_hwcap access for little-endian.
925         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
926         destroy vmx regs when saving unaligned.
927         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
928         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
929         destroy vmx regs when saving unaligned.
931 2013-10-04  Alan Modra  <amodra@gmail.com>
933         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
934         Don't use a union to pack hi/low value.
936 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
938         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
939         for little-endian.
940         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
942         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
943         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
944         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
946 2013-10-04  Alan Modra  <amodra@gmail.com>
948         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
949         constants to usual value for .cst8 section, and remove redundant
950         high address load.
951         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
952         constant for 0x1p52.  Load little-endian words of double from
953         correct stack offsets.
955 2013-10-04  Alan Modra  <amodra@gmail.com>
957         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
958         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
959         words of double from correct stack offsets.
960         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
961         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
962         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
964         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
966         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
967         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
968         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
972         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
973         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
974         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
975         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
976         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
978 2013-10-04  Alan Modra  <amodra@gmail.com>
980         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
981         64-bit int/double union.
982         (_FPU_SETCW): Likewise.
983         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
984         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
986 2013-10-04  Alan Modra  <amodra@gmail.com>
988         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
989         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
991 2013-10-04  Alan Modra  <amodra@gmail.com>
993         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
994         use vector int constants.
995         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
997 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
999         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1000         array with long long.
1001         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1002         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1003         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1004         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1005         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1006         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1007         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1008         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1009         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1010         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1011         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1012         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1013         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1015 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1017         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1018         (__signbit): Likewise.  Correct for little-endian.
1019         (__signbitl): Call __signbit.
1020         (lrint): Correct for little-endian.
1021         (lrintf): Call lrint.
1023 2013-10-04  Alan Modra  <amodra@gmail.com>
1025         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1026         union 32-bit int array member with 64-bit int array.
1027         (t515, tm256): Double rather than long double.
1028         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1030 2013-10-04  Alan Modra  <amodra@gmail.com>
1032         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1033         Delete.
1034         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1036         version of math_ldbl.h.
1038 2013-10-04  Alan Modra  <amodra@gmail.com>
1040         [BZ #15734], [BZ #15735]
1041         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1042         all uses of ieee875 long double macros and unions.  Simplify test
1043         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1044         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1045         normalize after ldbl_extract_mantissa, and don't add hidden bit
1046         already handled.  Don't treat low word of ieee854 mantissa like
1047         low word of IBM long double and mask off bit when testing for
1048         zero.
1049         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1050         all uses of ieee875 long double macros and unions.  Simplify tests
1051         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1052         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1053         two1022, instead use their values.  Recognise that tests for large
1054         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1055         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1056         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1057         test for 0.0L and nan.  Correct negation.
1058         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1059         ieee875 long double macros and unions.  Correct output for large
1060         magnitude x.  Correct absolute value calculation.
1061         (__erfcl): Likewise.
1062         * math/libm-test.inc: Add tests for errors discovered in IBM long
1063         double versions of fmodl, remainderl, erfl and erfcl.
1065 2013-10-04  Alan Modra  <amodra@gmail.com>
1067         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1068         all uses of ieee854 long double macros and unions.  Simplify tests
1069         for long doubles that are fully specified by the high double.
1070         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1071         Likewise.
1072         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1073         Remove dead code too.
1074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1075         (__ieee754_ynl): Likewise.
1076         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1077         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1079         Remove dead code too.
1080         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1081         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1082         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1083         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1084         Simplify.
1085         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1086         Simplify.
1087         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1088         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1089         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1090         Comment on variable precision.
1091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1092         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1093         Likewise.
1094         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1095         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1096         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1097         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1098         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1100 2013-10-04  Alan Modra  <amodra@gmail.com>
1102         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1104         all uses of ieee854 long double macros and unions.
1105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1107         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1109         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1110         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1111         Likewise.
1112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1113         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1114         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1115         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1116         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1117         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1118         Simplify sign and nan test too.
1119         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1120         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1121         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1122         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1123         Likewise.
1124         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1125         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1126         Likewise.
1127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1128         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1129         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1130         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1131         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1132         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1134 2013-10-04  Alan Modra  <amodra@gmail.com>
1136         * stdio-common/printf_size.c (__printf_size): Don't use
1137         union ieee854_long_double in fpnum union.
1138         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1139         signbit macro to retrieve sign from long double.
1140         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1141         retrieve sign from long double.
1142         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1143         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1144         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1145         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1146         * math/test-misc.c (main): Don't use union ieee854_long_double.
1148 2013-10-04  Alan Modra  <amodra@gmail.com>
1150         [BZ #15680]
1151         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1152         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1153         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1154         calculation.  Remove unnecessary test for denormal exponent.
1155         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1156         Correct handling of denormals.  Avoid undefined shift behaviour.
1157         Correct normalisation of low mantissa when low double is denormal.
1158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1159         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1160         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1161         Correct normalisation of low mantissa.  Test for overflow of high
1162         mantissa and normalise.
1163         (ldbl_nearbyint): Use more readable constant for two52.
1164         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1165         (__mpn_construct_long_double): Fix test for overflow of high
1166         mantissa and correct normalisation.  Avoid undefined shift.
1168 2013-10-04  Alan Modra  <amodra@gmail.com>
1170         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1171         (union ibm_extended_long_double): Define as an array of ieee754_double.
1172         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1173         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1174         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1175         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1177         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1179         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1180         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1181         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1182         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1184 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1186         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1187         page size instead of calling getpagesize.
1189         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1190         (LOCFILE_ALIGN_MASK): Likewise.
1191         (LOCFILE_ALIGN_UP): Likewise.
1192         (LOCFILE_ALIGNED_P): Likewise.
1193         * locale/programs/ld-collate.c (collate_output): Use the new
1194         macros instead of __alignof__ (int32_t).
1195         * locale/weight.h (findidx): Likewise.
1197 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1199         [BZ #431]
1200         * manual/string.texi: Fix strncat and wcsncat.
1202 2013-10-03  Brooks Moses  <bmoses@google.com>
1204         [BZ #15915]
1205         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1206         * Makerules: ...here, and adjust associated comments.
1208 2013-10-02  Will Newton  <will.newton@linaro.org>
1210         * malloc/Makefile: Add tst-pvalloc.
1211         * malloc/tst-pvalloc.c: New file.
1213 2013-10-02  Will Newton  <will.newton@linaro.org>
1215         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1216         improve test coverage.
1218 2013-10-02  Will Newton  <will.newton@linaro.org>
1220         * malloc/Makefile: Add tst-posix_memalign.
1221         * malloc/tst-posix_memalign.c: New file.
1223 2013-10-01  Eric Blake  <eblake@redhat.com>
1225         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1226         Use __THROWNL rather than __THROW on static functions.
1228 2013-09-30  Petr Machata  <pmachata@redhat.com>
1230         * elf/elf.h (R_AARCH64_ABS16): New macro.
1231         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1232         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1233         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1234         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1235         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1236         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1237         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1238         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1239         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1240         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1241         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1242         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1243         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1244         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1245         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1246         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1247         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1248         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1249         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1250         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1251         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1252         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1253         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1254         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1255         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1256         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1257         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1258         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1259         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1260         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1261         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1262         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1263         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1264         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1265         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1266         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1267         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1268         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1269         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1270         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1271         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1272         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1273         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1274         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1275         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1276         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1277         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1278         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1279         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1280         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1281         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1282         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1283         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1284         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1285         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1286         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1287         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1288         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1289         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1290         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1291         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1292         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1293         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1294         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1295         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1296         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1297         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1298         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1299         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1300         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1301         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1302         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1303         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1304         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1305         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1306         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1307         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1308         (R_AARCH64_TLSDESC_LDR): Likewise.
1309         (R_AARCH64_TLSDESC_ADD): Likewise.
1310         (R_AARCH64_TLSDESC_CALL): Likewise.
1312 2013-09-30  Andreas Schwab  <schwab@suse.de>
1314         [BZ #15048]
1315         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1316         the nss database lookup.
1317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1320 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1322         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1324 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1327         ${Bash-specific parameter/pattern/string} parameter expansion.
1328         * sysdeps/unix/make-syscalls.sh: Likewise.
1330 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1332         * sysdeps/sh/stackguard-macros.h: New file.
1334 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1338         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1339         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1340         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1341         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1343 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1346         Fix thread ID register.
1348 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1350         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1351         [POSIX || UNIX98]: Require rather than permitting all symbols from
1352         <time.h>.
1353         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1354         element of struct sched_param.
1355         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1356         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1357         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1358         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1359         constant.
1361 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1363         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1364         argument calculation.
1366 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1368         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1369         Expect macro.
1370         [POSIX] (pthread_attr_t): Do not require type.
1371         [POSIX] (pthread_cond_t): Likewise.
1372         [POSIX] (pthread_condattr_t): Likewise.
1373         [POSIX] (pthread_key_t): Likewise.
1374         [POSIX] (pthread_mutex_t): Likewise.
1375         [POSIX] (pthread_mutexattr_t): Likewise.
1376         [POSIX] (pthread_once_t): Likewise.
1377         [POSIX] (pthread_t): Likewise.
1378         [POSIX-based standards] (pthread_atfork): Expect function.
1380 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1381             Richard Sandiford  <richard@codesourcery.com>
1383         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1384         (swap_endianness_p): New extern variable.
1385         (set_big_endian): New inline function.
1386         (maybe_swap_uint32): Likewise.
1387         (maybe_swap_uint32_array): Likewise.
1388         (maybe_swap_uint32_obstack): Likewise.
1389         * locale/programs/locfile.c: Include <stdbool.h>.
1390         (swap_endianness_p): New variable.
1391         (add_locale_uint32): Call maybe_swap_uint32.
1392         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1393         (write_locale_data): Call maybe_swap_uint32_array.
1394         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1395         maybe_swap_uint32.
1396         (obstack_int32_grow_fast): Likewise.
1397         (output_weightwc): Call maybe_swap_uint32_obstack.
1398         (collate_output): Likewise.
1399         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1400         (OPT_LITTLE_ENDIAN): Likewise.
1401         (options): Add --little-endian and --big-endian options.
1402         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1403         * locale/programs/locarchive.c: Include "locfile.h".
1404         (GET): New macro.
1405         (SET): Likewise.
1406         (INC): Likewise.
1407         (create_archive): Use the new macros to access fields of
1408         structures directly mapped from or written to locale archives.
1409         (oldlocrecentcmp): Likewise.
1410         (enlarge_archive): Likewise.
1411         (insert_name): Likewise.
1412         (add_alias): Likewise.
1413         (add_locale): Likewise.
1414         (delete_locales_from_archive): Likewise.
1415         (show_archive_content): Likewise.
1416         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1417         locale data.
1419 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1421         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1422         http://www.gnu.org/doc/freemanuals.texi.
1423         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1425 2013-09-24  Will Newton  <will.newton@linaro.org>
1427         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1428         macro.
1430 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1432         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1433         unsigned char.
1435 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1437         * manual/threads.texi (POSIX Threads): Fix a typo.
1439 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1441         [BZ #14547]
1442         * string/tst-strcoll-overflow.c: New test case.
1443         * string/Makefile (xtests): Add tst-strcoll-overflow.
1444         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1445         cache if string sizes may cause integer overflow.
1447         [BZ #14547]
1448         * string/strcoll_l.c (coll_seq): New members rule, idx,
1449         save_idx and back_us.
1450         (get_next_seq_nocache): New function.
1451         (do_compare_nocache): New function.
1452         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1453         when malloc fails.
1455 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1457         [BZ #15754]
1458         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1459         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1460         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1462         [BZ #15754]
1463         * elf/Makefile (tests): Add tst-ptrguard1.
1464         (tests-static): Add tst-ptrguard1-static.
1465         (tst-ptrguard1-ARGS): Define.
1466         (tst-ptrguard1-static-ARGS): Define.
1467         * elf/tst-ptrguard1.c: New file.
1468         * elf/tst-ptrguard1-static.c: New file.
1469         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1470         * sysdeps/i386/stackguard-macros.h: Likewise.
1471         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1472         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1473         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1474         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1475         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1476         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1478 2013-09-23  Hector Marco  <hecmargi@upv.es>
1479             Ismael Ripoll  <iripoll@disca.upv.es>
1480             Carlos O'Donell  <carlos@redhat.com>
1482         [BZ #15754]
1483         * sysdeps/generic/stackguard-macros.h: Define
1484         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1485         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1486         Define __pointer_chk_guard_local.
1487         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1488         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1490 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1492         [BZ #15859]
1493         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1495 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1497         * include/string.h (__ffs): Declare as hidden.
1498         * string/ffs.c (__ffs): Define as hidden.
1499         * sysdeps/i386/ffs.c (__ffs): Likewise.
1500         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1501         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1502         * sysdeps/s390/ffs.c (__ffs): Likewise.
1503         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1505 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1507         * NEWS: Mention malloc probes.
1509         * malloc/arena.c (new_heap): New memory_heap_new probe.
1510         (grow_heap): New memory_heap_more probe.
1511         (shrink_heap): New memory_heap_less probe.
1512         (heap_trim): New memory_heap_free probe.
1513         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1514         (systrim): New memory_sbrk_less probe.
1515         * manual/probes.texi: Document them.
1517         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1518         * manual/probes.texi: Document it.
1520         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1521         (__libc_realloc): Add memory_realloc_retry probe.
1522         (__libc_memalign): Add memory_memalign_retry probe.
1523         (__libc_valloc): Add memory_valloc_retry probe.
1524         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1525         (__libc_calloc): Add memory_calloc_retry probe.
1526         * manual/probes.texi: Document them.
1528         * malloc/arena.c (get_free_list): Add probe
1529         memory_arena_reuse_free_list.
1530         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1531         and memory_arena_reuse.
1532         (arena_get2) [!PER_THREAD]: Likewise.
1533         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1534         memory_arena_reuse_realloc.
1535         * manual/probes.texi: Document them.
1537         * malloc/malloc.c (__libc_free): Add
1538         memory_mallopt_free_dyn_thresholds probe.
1539         (__libc_mallopt): Add multiple memory_mallopt probes.
1540         * manual/probes.texi: Document them.
1542         * malloc/malloc.c: Include stap-probe.h.
1543         (__libc_mallopt): Add memory_mallopt probe.
1544         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1545         * manual/probes.texi: New.
1546         * manual/Makefile (chapters): Add probes.
1547         * manual/threads.texi: Set next node.
1549 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1551         [BZ #15963, #13985]
1552         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1553         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1554         Add `Chinese' to `nan' entry name.
1556 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1558         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1559         (POLYNOMIAL): Likewise.
1560         (TAYLOR_SINCOS): Likewise.
1561         (TAYLOR_SLOW): Likewise.
1562         (__sin): Use TAYLOR_SINCOS.
1563         (__cos): Likewise.
1564         (slow): Use TAYLOR_SLOW.
1565         (sloww): Likewise.
1566         (bsloww): Likewise.
1567         (csloww): Likewise.
1569 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1571         * stdlib/strtod_l.c: Fix buffer overrun.
1573 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1575         * benchtests/Makefile (bench): Add sincos.
1576         * benchtests/bench-sincos.c: New file.
1578         * math/libm-test.inc (cos_test_data): New test inputs.
1579         (sin_test_data): Likewise.
1581         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1582         macro.
1583         (__sin): Use it.
1584         (__cos): Likewise.
1585         (slow1): Likewise.
1586         (slow2): Likewise.
1587         (sloww1): Likewise.
1588         (sloww2): Likewise.
1589         (bsloww1): Likewise.
1590         (bsloww2): Likewise.
1591         (cslow2): Likewise.
1592         (csloww1): Likewise.
1593         (csloww2): Likewise.
1595         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1596         function.
1597         (__sin): Use it.
1598         (__cos): Likewise.
1600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1601         gotos.
1602         (__cos): Likewise.
1604 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1606         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1607         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1608         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1609         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1610         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1611         * elf/cache.c (print_entry): Handle the new cache flags.
1613 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1614             Aldy Hernandez  <aldyh@redhat.com>
1616         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1617         Change condition to [_SOFT_FLOAT].
1618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1630         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1633         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1634         declaration.
1636 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1638         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1639         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1640         (__longjmp): Use LOAD_GP to load saved GPRs.
1641         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1642         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1643         (__sigsetjmp): Use SAVE_GP to save GPRs.
1645         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1646         Do not append -msoft-float.
1647         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1649 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1651         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1653 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1655         [BZ #15966]
1656         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1657         (_FPU_GETCW): Use initial "__" on variable and field names but not
1658         on macro parameter name.
1659         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1660         parentheses around reference to macro parameter.
1662 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1664         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1665         prototype.
1666         (ctype_startup): Use uint32_t in cast and sizeof for
1667         ctype->charnames.
1669 2013-09-11  Jia Liu  <proljc@gmail.com>
1671         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1672         __daddr_t_defined.
1673         [__FreeBSD__]: Likewise.
1675 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1678         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1679         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1680         (strchr): Remove __strchr_sse42 ifunc selection.
1681         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1682         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1684 2013-09-11  Will Newton  <will.newton@linaro.org>
1686         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1687         parameter to RES. Remove hardcoded 1000 value.
1688         * benchtests/bench-skeleton.c (main): Pass RES parameter
1689         to TIMING_INIT and multiply result by 1000.
1691 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1695 2013-09-11  Andreas Schwab  <schwab@suse.de>
1697         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1698         if not defined.
1699         (O_TMPFILE) [__USE_GNU]: Define.
1700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1701         Define.
1703 2013-09-11  Will Newton  <will.newton@linaro.org>
1705         [BZ #15857]
1706         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1707         does not overflow.
1709 2013-09-11  Will Newton  <will.newton@linaro.org>
1711         [BZ #15856]
1712         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1713         does not overflow.
1715 2013-09-11  Will Newton  <will.newton@linaro.org>
1717         [BZ #15855]
1718         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1719         does not overflow.
1721 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1723         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1724         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1725         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1726         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1727         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1729 2013-09-10  Allan McRae  <allan@archlinux.org>
1731         [BZ #15748]
1732         * manual/arith.texi (Parsing of Floats): Clarify
1733         cross-reference.
1735         [BZ #15849]
1736         * manual/install.texi (Running make install): Mention
1737         --enable-pt-chown.
1738         * INSTALL: Regenerated.
1740 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1742         * csu/init-first.c (_init): Remove the !SHARED condition around
1743         FPU control word initialization.
1744         * elf/dl-support.c (_dl_fpu_control): New variable.
1745         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1746         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1747         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1748         * math/test-fpucw-static.c: New file.
1749         * math/test-fpucw-ieee.c: New file.
1750         * math/test-fpucw-ieee-static.c: New file.
1751         * math/Makefile (tests): Add `test-fpucw-ieee' and
1752         `$(tests-static)'.
1753         (tests-static): New variable.
1754         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1755         dependency to...
1756         [($(build-shared),yes)]
1757         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1758         ... this.
1759         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1760         New dependency.
1762 2013-09-09  Allan McRae  <allan@archlinux.org>
1764         [BZ #15939]
1765         * manual/string.texi (Collation Functions): Fix typo in
1766         strcoll example.
1767         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1769         [BZ #15893]
1770         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1772         [BZ #15892]
1773         * libio/memstream.c (open_memstream): Fix memory leak.
1774         * libio/wmemstream.c (open_wmemstream): Likewise.
1776         [BZ #15895]
1777         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1779 2013-09-09  Will Newton  <will.newton@linaro.org>
1781         * malloc/Makefile: Add tst-realloc to tests.
1782         * malloc/tst-realloc.c: New file.
1784 2013-09-09  Allan McRae  <allan@archlinux.org>
1786         [BZ #15844]
1787         * COPYING: Update from GNU website to fix FSF address.
1788         * COPYING.LIB: Likewise.
1790 2013-09-06  David S. Miller  <davem@davemloft.net>
1792         * po/zh_TW.po: Update Chinese (traditional) translation from
1793         translation project.
1795 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1796             Joseph Myers  <joseph@codesourcery.com>
1798         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1799         "localeinfo.h".
1800         (obstack_chunk_alloc): New macro.
1801         (obstack_chunk_free): Likewise.
1802         (record_offset): New function.
1803         (init_locale_data): Likewise.
1804         (align_locale_data): Likewise.
1805         (add_locale_empty): Likewise.
1806         (add_locale_raw_data): Likewise.
1807         (add_locale_raw_obstack): Likewise.
1808         (add_locale_string): Likewise.
1809         (add_locale_wstring): Likewise.
1810         (add_locale_uint32): Likewise.
1811         (add_locale_uint32_array): Likewise.
1812         (add_locale_char): Likewise.
1813         (start_locale_structure): Likewise.
1814         (end_locale_structure): Likewise.
1815         (start_locale_prelude): Likewise.
1816         (end_locale_prelude): Likewise.
1817         (write_locale_data): Take locale_file structure rather than an
1818         iovec.
1819         * locale/programs/locfile.h: Include "obstack.h".
1820         (struct locale_file): Change to store locale file contents instead
1821         of header.
1822         (init_locale_data): New prototype.
1823         (align_locale_data): Likewise.
1824         (add_locale_empty): Likewise.
1825         (add_locale_raw_data): Likewise.
1826         (add_locale_raw_obstack): Likewise.
1827         (add_locale_string): Likewise.
1828         (add_locale_wstring): Likewise.
1829         (add_locale_uint32): Likewise.
1830         (add_locale_uint32_array): Likewise.
1831         (add_locale_char): Likewise.
1832         (start_locale_structure): Likewise.
1833         (end_locale_structure): Likewise.
1834         (start_locale_prelude): Likewise.
1835         (end_locale_prelude): Likewise.
1836         (write_locale_data): Update prototype.
1837         * locale/programs/3level.h (struct TABLE): Remove result field.
1838         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1839         Use new locale_file interface.
1840         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1841         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1842         * locale/programs/ld-address.c (address_output): Use new
1843         locale_file interface.
1844         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1845         NO_ADD_LOCALE.
1846         (collate_finish): Don't call collseq_table_finalize.
1847         (collate_output): Use new locale_file interface.
1848         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1849         in file.
1850         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1851         (TABLE): Move defines earlier in file.
1852         (ELEMENT): Likewise.
1853         (DEFAULT): Likewise.
1854         (wctrans_table_add): Move macro and inline function earlier in
1855         file.
1856         (struct wctype_table): Move type earlier in file.
1857         (add_locale_wctype_table): New static prototype.
1858         (struct locale_ctype_t): Use logical types instead of struct iovec
1859         pointers for members.
1860         (ctype_output): Use new locale_file interface.
1861         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1862         new locale_file interface.
1863         (allocate_arrays): Update for use of new locale_file interface.
1864         * locale/programs/ld-identification.c (identification_output): Use
1865         new locale_file interface.
1866         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1867         * locale/programs/ld-messages.c (messages_output): Likewise.
1868         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1869         * locale/programs/ld-name.c (name_output): Likewise.
1870         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1871         * locale/programs/ld-paper.c (paper_output): Likewise.
1872         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1873         * locale/programs/ld-time.c (time_output): Likewise.
1875 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1877         * benchtests/Makefile: Add memrchr benchmark.
1878         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1879         benchmark as memrchr.
1880         * benchtests/bench-memrchr-ifunc.c: New file.
1881         * benchtests/bench-memrchr.c: New file.
1883 2013-09-06   Will Newton  <will.newton@linaro.org>
1885         * benchtests/Makefile (string-bench): Add memcpy.
1887 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
1888             Cong Wang  <amwang@redhat.com>
1890         * sysdeps/unix/sysv/linux/bits/in.h
1891         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1892         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1893         before __USE_KERNEL_IPV6_DEFS uses.
1894         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1895         IPPROTO_BEETPH.
1896         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1897         sockaddr_in6, or ipv6_mreq.
1899 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1901         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1902         memory access for final bytes in some large inputs.
1903         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1905 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1907         * string/test-memrchr.c: New file.
1908         * string/test-memrchr-ifunc.c: New file.
1909         * string/Makefile: Add new memrchr testcase.
1911 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1913         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1914         fanotify_init returns EPERM.
1916 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1918         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1919         errors.
1920         (top level): Treat second token from macro or constant entries for
1921         allowed headers as allowed.
1922         * include/complex.h: Condition internal declarations on
1923         [!_ISOMAC].
1924         * include/fenv.h: Condition include of <stdbool.h> and internal
1925         declarations on [!_ISOMAC].
1927 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1929         [BZ #15923]
1930         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1932 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1934         * configure.in (--enable-versioning): Remove configure option.
1935         (libc_cv_asm_symver_directive): Remove configure test.
1936         (libc_cv_ld_version_script_option): Likewise.
1937         (VERSIONING): Remove variable and AC_SUBST.
1938         (DO_VERSIONING): Remove AC_DEFINE.
1939         * configure: Regenerated.
1940         * config.h.in (DO_VERSIONING): Remove macro.
1941         * Makerules [$(versioning) = yes]: Change conditionals to
1942         [$(build-shared) = yes].
1943         * config.make.in (versioning): Remove variable.
1944         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1945         [$(build-shared) = yes].
1946         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1947         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1948         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1949         [$(build-shared) = yes].
1950         * extra-lib.mk [$(versioning) = yes]: Likewise.
1951         * hurd/Makefile [$(versioning) = yes]: Likewise.
1952         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1953         [SHARED].
1954         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1955         [SHARED].
1956         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1957         [SHARED && !NO_HIDDEN].
1958         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1959         [SHARED].
1960         [SHARED && DO_VERSIONING]: Likewise..
1961         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1962         [$(build-shared) = yes].
1963         * manual/install.texi (--disable-versioning): Remove
1964         documentation.
1965         * INSTALL: Regenerated.
1966         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1967         to [SHARED].
1968         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1969         [$(build-shared) = yes].
1970         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1971         * sysdeps/i386/i686/multiarch/strstr-c.c
1972         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1973         [SHARED && !NO_HIDDEN].
1974         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1975         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1976         * sysdeps/powerpc/powerpc32/dl-machine.c
1977         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1978         * sysdeps/powerpc/powerpc32/sysdep.h
1979         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1980         to [SHARED && PIC && !NO_HIDDEN].
1981         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1982         conditional to [SHARED].
1984 2013-09-04   Will Newton  <will.newton@linaro.org>
1986         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1987         * benchtests/bench-string.h: Include bench-timing.h instead
1988         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1989         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1990         call to HP_TIMING_DIFF_INIT.
1991         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1992         instead of hp-timing.h macros.
1993         * benchtests/bench-memchr.c: Likewise.
1994         * benchtests/bench-memcmp.c: Likewise.
1995         * benchtests/bench-memcpy.c: Likewise.
1996         * benchtests/bench-memmem.c: Likewise.
1997         * benchtests/bench-memmove.c: Likewise.
1998         * benchtests/bench-memset.c: Likewise.
1999         * benchtests/bench-rawmemchr.c: Likewise.
2000         * benchtests/bench-strcasecmp.c: Likewise.
2001         * benchtests/bench-strcasestr.c: Likewise.
2002         * benchtests/bench-strcat.c: Likewise.
2003         * benchtests/bench-strchr.c: Likewise.
2004         * benchtests/bench-strcmp.c: Likewise.
2005         * benchtests/bench-strcpy.c: Likewise.
2006         * benchtests/bench-strcpy_chk.c: Likewise.
2007         * benchtests/bench-strlen.c: Likewise.
2008         * benchtests/bench-strncasecmp.c: Likewise.
2009         * benchtests/bench-strncat.c: Likewise.
2010         * benchtests/bench-strncmp.c: Likewise.
2011         * benchtests/bench-strncpy.c: Likewise.
2012         * benchtests/bench-strnlen.c: Likewise.
2013         * benchtests/bench-strpbrk.c: Likewise.
2014         * benchtests/bench-strrchr.c: Likewise.
2015         * benchtests/bench-strspn.c: Likewise.
2016         * benchtests/bench-strstr.c: Likewise.
2018 2013-09-04  Will Newton  <will.newton@linaro.org>
2020         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2022 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2024         [BZ #15427]
2025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2026         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2027         * math/libm-test.inc (lgamma_test_data): Add more tests.
2028         * sysdeps/i386/fpu/libm-test-ulps: Update.
2029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2031 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2033         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2035         Add ifunc.
2036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2037         Add strcmp-sse2-unaligned
2038         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2040 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2042         * Versions.def (libc): Add GLIBC_2.19.
2044 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2046         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2047         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2049 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2051         [BZ #14155]
2052         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2053         intermediate calculations in recurrence.
2054         (__ieee754_ynf): Likewise.
2055         * math/libm-test.inc (jn_test_data): Do not allow spurious
2056         underflow exception.  Add more tests.
2057         (yn_test_data): Add more tests.
2058         * sysdeps/i386/fpu/libm-test-ulps: Update.
2059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2061 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2065 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2067         * csu/init-first.c: Fix then/than typos.
2068         * locale/programs/ld-collate.c: Likewise.
2069         * locale/programs/linereader.h: Likewise.
2070         * manual/charset.texi: Likewise.
2071         * manual/filesys.texi: Likewise.
2072         * manual/stdio.texi: Likewise.
2073         * manual/string.texi: Likewise.
2074         * stdlib/fmtmsg.c: Likewise.
2075         * sysdeps/i386/stpncpy.S: Likewise.
2076         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2077         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2078         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2079         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2081 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2083         * elf/dl-open.c: Fix typos.
2084         * iconvdata/gbbig5.c: Likewise.
2085         * iconvdata/iso-2022-jp.c: Likewise.
2086         * iconv/gconv_int.h: Likewise.
2087         * iconv/loop.c: Likewise.
2088         * nis/rpcsvc/nis.h: Likewise.
2089         * resolv/ns_name.c: Likewise.
2090         * stdio-common/vfscanf.c: Likewise.
2091         * streams/stropts.h: Likewise.
2092         * sunrpc/rpc_thread.c: Likewise.
2093         * sysdeps/i386/strpbrk.S: Likewise.
2094         * sysdeps/ieee754/k_standard.c: Likewise.
2095         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2096         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2097         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2098         * sysdeps/mach/hurd/profil.c: Likewise.
2099         * sysdeps/s390/dl-procinfo.h: Likewise.
2100         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2101         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2102         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2103         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2104         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2106 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2108         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2111 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2114         aix specific files.
2115         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2116         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2117         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2118         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2119         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2120         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2121         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2122         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2124 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2125             Roland McGrath  <roland@hack.frob.com>
2127         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2128         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2130 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2132         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2133         __executable_start symbol instead of _start.
2135 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2137         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2138         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2139         Move macros to...
2140         * sysdeps/gnu/ldsodefs.h: ... this new file.
2142         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2143         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2144         instead of ELFOSABI_LINUX.
2146         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2147         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2148         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2149         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2150         Likewise.
2151         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2152         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2153         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2154         Likewise.
2155         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2156         (ibm_extended_long_double): Add ieee_nan member.
2157         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2158         (do_test): New function.
2160         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2161         TEST_TRUNC.
2162         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2163         functions, renamed from truncdfsf_test, trunctfsf_test,
2164         trunctfdf_test.
2165         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2166         functions.
2167         (do_test): Run all these.
2169 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2171         * argp/argp-help.c: Fix typos.
2172         * argp/argp-parse.c: Likewise.
2173         * debug/backtracesyms.c: Likewise.
2174         * elf/elf.h: Likewise.
2175         * malloc/malloc.c: Likewise.
2176         * nis/nis_print.c: Likewise.
2177         * resolv/res_comp.c: Likewise.
2178         * stdlib/stdlib.h: Likewise.
2179         * sunrpc/clnt_tcp.c: Likewise.
2180         * sunrpc/clnt_udp.c: Likewise.
2181         * sunrpc/clnt_unix.c: Likewise.
2182         * sysdeps/unix/bsd/ptsname.c: Likewise.
2183         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2184         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2186         Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2188         Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2190         Likewise.
2191         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2193 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2195         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2198 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2200         [BZ #15897]
2201         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2202         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2203         ($(objpfx)bug-dl-leaf): New rule.
2204         ($(objpfx)bug-dl-leaf.so): Likewise.
2205         ($(objpfx)bug-dl-leaf.out): Likewise.
2206         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2207         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2208         * dlfcn/bug-dl-leaf.c: New test.
2209         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2210         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2211         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2212         (dlclose): Likewise.
2213         (dlmopen): Likewise.
2215 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2217         * include/netdb.h [!_ISOMAC]:
2218         Don't include <tls.h>.
2219         (h_errno, __libc_h_errno): Move declaration and macros out of
2220         [_LIBC_REENTRANT].
2222         * include/resolv.h [_RESOLV_H_]:
2223         Don't include <tls.h>.
2224         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2225         * resolv/res_libc.c: Don't include <tls.h>.
2226         (_res): Use __attribute__ ((nocommon)) in place of
2227         __attribute__ ((section (".bss"))).
2229         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2230         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2232         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2234         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2235         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2237         * resolv/res_mkquery.c: Include <sys/time.h>.
2239         * inet/ifreq.c: Moved to ...
2240         * sysdeps/unix/ifreq.c: ... here.
2241         * inet/ifreq.c: New file, true stub version.
2243         * socket/sa_len.c: New file.
2244         * socket/Makefile (aux): Add it.
2245         * sysdeps/unix/sysv/linux/Makefile
2246         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2247         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2248         and #include <socket/sa_len.c>.
2249         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2250         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2252         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2253         * bits/socket.h: ... here.
2255         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2256         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2257         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2259 2013-08-27  Andreas Schwab  <schwab@suse.de>
2261         [BZ #15736]
2262         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2263         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2264         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2265         * string/test-strcasecmp.c (test_main): Run tests in several
2266         locales.
2267         * string/test-strncasecmp.c (test_main): Likewise.
2269         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2270         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2271         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2273         (__strncasecmp_ssse3) [PIC]: Likewise.
2275 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2277         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2279         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2280         instead of explicitly declaring xdecrypt.
2281         * nis/nss_nis/nis-publickey.c: Likewise.
2283 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2285         [BZ #15890]
2286         * nscd/aicache.c: Include res_hconf.h.
2287         (addhstaiX): Initialize res_hconf.
2289 2013-08-26  Andreas Schwab  <schwab@suse.de>
2291         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2292         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2294 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2296         * nscd/aicache.c (addhstaiX): Fix indentation.
2298 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2300         * configure.ac: Quote $build_pt_chown test.
2301         * configure: Regenerated.
2303 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #15532]
2306         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2307         * math/s_cexpf.c (__cexpf): Likewise.
2308         * math/s_cexpl.c (__cexpl): Likewise.
2309         * math/libm-test.inc (cexp_test_data): Correct expected return
2310         value for NaN + i0.  Add another test.
2312 2013-08-22  David S. Miller  <davem@davemloft.net>
2314         * po/ca.po: Update Catalan translation from translation project.
2315         * po/uk.po: Add Ukrainian translations from translation project.
2317 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2319         [BZ #15797]
2320         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2321         is infinite, not alongside NaN test.
2322         * math/s_fdimf.c (__fdimf): Likewise.
2323         * math/s_fdiml.c (__fdiml): Likewise.
2324         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2325         errno is unchanged.
2327 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2329         * argp/argp-help.c: Fix typos.
2330         * crypt/speeds.c: Likewise.
2331         * csu/check_fds.c: Likewise.
2332         * elf/dl-load.c: Likewise.
2333         * elf/dl-open.c: Likewise.
2334         * elf/reldep3.c: Likewise.
2335         * elf/reldep.c: Likewise.
2336         * elf/sprof.c: Likewise.
2337         * iconv/iconv_charmap.c: Likewise.
2338         * iconv/skeleton.c: Likewise.
2339         * iconv/strtab.c: Likewise.
2340         * io/lockf64.c: Likewise.
2341         * libio/libioP.h: Likewise.
2342         * resolv/gai_notify.c: Likewise.
2343         * resolv/ns_name.c: Likewise.
2344         * resolv/ns_samedomain.c: Likewise.
2345         * resolv/res_send.c: Likewise.
2346         * stdlib/random.c: Likewise.
2347         * sunrpc/rpc/xdr.h: Likewise.
2348         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2349         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2350         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2351         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2352         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2356         * sysdeps/mach/hurd/check_fds.c: Likewise.
2357         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2359         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2360         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2361         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2362         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2363         * sysdeps/pthread/aio_notify.c: Likewise.
2364         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2365         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2366         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2367         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2368         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2370 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2372         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2373         version if bit_Slow_SSE4_2 is set.
2374         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2375         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2377 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2379         [BZ #15867]
2380         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2381         trampoline stack frame information.
2382         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2383         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2384         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2385         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2386         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2387         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2388         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2389         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2390         sa_flags value.
2391         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2392         interrupting a syscall and set with option SA_SIGINFO.
2394 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2396         [BZ #15531]
2397         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2398         argument is infinite.
2399         * math/s_cprojf.c (__cprojf): Likewise.
2400         * math/s_cprojl.c (__cprojl): Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2402         * math/libm-test.inc (cproj_test_data): Add more tests.
2404         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2406         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2407         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2408         size.  Use __ffs to determine corresponding shift.
2410 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2411             Roland McGrath  <roland@hack.frob.com>
2413         * Makefile (INSTALL): Remove trailing blank lines from output of
2414         makeinfo.
2416 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2418         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2419         Align 32 bit compat elf_greg to 8 bytes.
2421 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2423         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2425 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2427         * string/strcoll_l.c (coll_seq): New structure.
2428         (get_next_seq_cached): New function.
2429         (get_next_seq): New function.
2430         (do_compare): New function.
2431         (STRCOLL): Use GNU style definition.  Simplify implementation
2432         by using get_next_seq, get_next_seq_cached and do_compare.
2434 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2436         [BZ #14699]
2437         CVE-2013-4237
2438         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2439         member.
2440         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2441         member.
2442         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2443         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2444         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2445         conditional.
2446         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2447         GETDENTS_64BIT_ALIGNED.
2448         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2449         * manual/filesys.texi (Reading/Closing Directory): Document
2450         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2451         strongly.
2452         * manual/conf.texi (Limits for Files): Add portability note to
2453         NAME_MAX, PATH_MAX.
2454         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2456 2013-08-13  Andreas Schwab  <schwab@suse.de>
2458         [BZ #15749]
2459         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2460         of fabs.
2461         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2462         LDBL_MAX_EXP >= 16384]: Add tests for it.
2464 2013-08-12  David S. Miller  <davem@davemloft.net>
2466         * version.h (RELEASE): Set to "development".
2467         (VERSION): Set to "2.18.90".
2468         * NEWS: Add 2.19 section.
2470 2013-08-03  David S. Miller  <davem@davemloft.net>
2472         * po/ko.po: Update Korean translation from translation project.
2474 2013-08-01  David S. Miller  <davem@davemloft.net>
2476         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2477         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2478         Bilka.
2480 2013-07-30  David S. Miller  <davem@davemloft.net>
2482         * po/fr.po: Update French translation from translation project.
2484 2013-07-28  David S. Miller  <davem@davemloft.net>
2486         * po/cs.po: Update Czech translation from translation project.
2488         * po/sv.po: Update Swedish translation from translation project.
2490 2013-07-27  David S. Miller  <davem@davemloft.net>
2492         * po/eo.po: Update Esperanto translation from translation project.
2494         * po/vi.po: Update Vietnamese translation from translation project.
2496         * po/de.po: Update German translation from translation project.
2498 2013-07-26  David S. Miller  <davem@davemloft.net>
2500         * po/bg.po: Update Bulgarian translation from translation project.
2502         * po/nl.po: Update Dutch translation from translation project.
2503         * po/pl.po: Update Polish translation from translation project.
2504         * po/ru.po: Update Russian translation from translation project.
2506 2013-07-24  David S. Miller  <davem@davemloft.net>
2508         * po/libc.pot: Update.
2510 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2512         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2513         variable page size.
2514         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2516         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2518 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2520         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2522 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2523             Andreas Schwab  <schwab@suse.de>
2524             Roland McGrath  <roland@hack.frob.com>
2525             Joseph Myers  <joseph@codesourcery.com>
2526             Carlos O'Donell  <carlos@redhat.com>
2528         [BZ #15755]
2529         * config.h.in: Define HAVE_PT_CHOWN.
2530         * config.make.in (build-pt-chown): New variable.
2531         * configure.in (--enable-pt_chown): New configure option.
2532         * configure: Regenerate.
2533         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2534         build-pt-chown is enabled.
2535         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2536         pt_chown to fix pty ownership.
2537         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2538         CLOSE_ALL_FDS.
2539         * manual/install.texi (Configuring and compiling): Mention
2540         --enable-pt_chown. Add @findex for grantpt.
2541         * INSTALL: Regenerate.
2543 2013-07-20  David S. Miller  <davem@davemloft.net>
2545         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2546         difference between 32-bit and 64-bit.
2548 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2550         [BZ #15711]
2551         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2552         Avoid system header dependency with -ffreestanding.
2553         ($(objpfx)bits/syscall%d): Likewise.
2555 2013-07-13  David S. Miller  <davem@davemloft.net>
2557         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2558         underflows from atanl/atan2l due to bug 15319.
2559         (casinh_test_data): Likewise.
2561 2013-07-07  David S. Miller  <davem@davemloft.net>
2563         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2565 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2570 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2572         * configure.in (--enable-lock-elision): Fix message text.
2573         * INSTALL: Regenerate.
2574         * configure: Regenerate.
2576 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2580 2013-07-03  Andreas Jaeger  <aj@suse.de>
2582         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2583         define.
2584         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2585         (ptrace_peeksiginfo_args): Add.
2586         (__ptrace_peeksiginfo_flags): Add.
2587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2588         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2589         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2591 2013-07-03  Allan McRae  <allan@archlinux.org>
2593         * sysdeps/i386/fpu/libm-test-ulps: Update.
2595 2013-07-02  David S. Miller  <davem@davemloft.net>
2597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2599 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2603 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2605         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608 2013-07-02  Andi Kleen <ak@linux.intel.com>
2610         * config.h.in (ENABLE_LOCK_ELISION): Add.
2611         * configure.in (--enable-lock-elision): Add option.
2612         * manual/install.texi: Document --enable lock elision.
2613         * configure: Regenerate
2614         * INSTALL: Regenerate.
2616 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2618         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2619         SSE4.2 strcasecmp for libc.a.
2620         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2622 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #13304]
2625         * soft-fp/op-common.h (_FP_FMA): New macro.
2626         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2627         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2628         (_FP_MUL_MEAT_1_imm): ... here.
2629         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2630         (_FP_MUL_MEAT_1_wide): ... here.
2631         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2632         (_FP_MUL_MEAT_1_hard): ... here.
2633         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2634         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2635         (_FP_MUL_MEAT_2_wide): ... here.
2636         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2637         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2638         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2639         (_FP_MUL_MEAT_2_gmp): ... here.
2640         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2641         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2642         (_FP_MUL_MEAT_4_wide): ... here.
2643         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2644         (_FP_MUL_MEAT_4_gmp): ... here.
2645         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2646         (_FP_WFRACBITS_DW_S): Likewise.
2647         (_FP_WFRACXBITS_DW_S): Likewise.
2648         (_FP_HIGHBIT_DW_S): Likewise.
2649         (FP_FMA_S): Likewise.
2650         (_FP_FRAC_HIGH_DW_S): Likewise.
2651         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2652         (_FP_WFRACBITS_DW_D): Likewise.
2653         (_FP_WFRACXBITS_DW_D): Likewise.
2654         (_FP_HIGHBIT_DW_D): Likewise.
2655         (FP_FMA_D): Likewise.
2656         (_FP_FRAC_HIGH_DW_D): Likewise.
2657         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2658         (_FP_WFRACBITS_DW_E): Likewise.
2659         (_FP_WFRACXBITS_DW_E): Likewise.
2660         (_FP_HIGHBIT_DW_E): Likewise.
2661         (FP_FMA_E): Likewise.
2662         (_FP_FRAC_HIGH_DW_E): Likewise.
2663         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2664         (_FP_WFRACBITS_DW_Q): Likewise.
2665         (_FP_WFRACXBITS_DW_Q): Likewise.
2666         (_FP_HIGHBIT_DW_Q): Likewise.
2667         (FP_FMA_Q): Likewise.
2668         (_FP_FRAC_HIGH_DW_Q): Likewise.
2669         * soft-fp/fmasf4.c: New file.
2670         * soft-fp/fmadf4.c: Likewise.
2671         * soft-fp/fmatf4.c: Likewise.
2673 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2676         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2677         Silvermont.
2678         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2679         macro.
2680         (index_Slow_SSE4_2): Likewise.
2681         (index_Prefer_PMINUB_for_stringop): Likewise.
2682         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2683         bit_Slow_SSE4_2 is set.
2684         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2685         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2687 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2689         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2690         rtld_global._dl_hwcap2.
2691         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2692         POWER8.
2693         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2694         POWER8 feature descriptions defined in _dl_hwcap2.
2695         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2696         string handling for POWER8 feature bits.
2697         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2698         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2699         _dl_powerpc_cap_flags.
2700         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2701         * sysdeps/powerpc/rtld-global-offsets.sym
2702         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2703         _dl_hwcap2 in the rtld_global_ro structure.
2705 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2707         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2708         hardware capabilities in support of AT_HWCAP2.
2709         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2710         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2711         GLRO(dl_hwcap2).
2712         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2713         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2714         explicitly the unknown a_type display mechanism is used.
2715         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2716         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2717         struct member.
2718         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2719         to macro prototype for AT_HWCAP2 support.
2720         * sysdeps/i386/dl-procinfo.h: Likewise.
2721         * sysdeps/s390/dl-procinfo.h: Likewise.
2722         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2723         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2724         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2725         return -1 for unknown a_type display fallback.
2726         * sysdeps/sparc/dl-procinfo.h: Likewise.
2727         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2728         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2730 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2732         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2733         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2735 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2737         [BZ #12492]
2738         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2739         mprotect making __stack_prot writable.
2741 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2742             Joseph Myers  <joseph@codesourcery.com>
2744         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2745         as being properly aligned.
2747 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2749         * dlfcn/modstatic5.c: New file.
2750         * dlfcn/tststatic5.c: New file.
2751         * dlfcn/Makefile (tests): Add tststatic5.
2752         (tests-static): Likewise.
2753         (modules-names): Add modstatic5.
2754         (tststatic5-ENV): New variable.
2755         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2757         [BZ #15022]
2758         * elf/dl-support.c (_dl_main_map): New variable.
2759         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2760         (_dl_nns, _dl_load_adds): Set to 1.
2761         (_dl_initial_searchlist): Refer to _dl_main_map.
2762         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2763         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2764         call to _dl_get_origin.
2765         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2766         around call_map.
2767         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2768         * dlfcn/modstatic3.c: New file.
2769         * dlfcn/tststatic3.c: New file.
2770         * dlfcn/tststatic4.c: New file.
2771         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2772         (tests-static): Likewise.
2773         (modules-names): Add modstatic3.
2774         (tststatic3-ENV, tststatic4-ENV): New variables.
2775         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2776         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2778 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2780         * configure.in (CC): Require GCC version 4.4 or later.
2781         * configure: Regenerated.
2782         * manual/install.texi (Tools for Compilation): Update GCC version
2783         requirement.
2784         * INSTALL: Regenerated.
2786 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2788         [BZ #15674]
2789         * string/test-memcmp.c (check2): New.
2790         (main): Call check2.
2792         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2794 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2796         [BZ #15022]
2797         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2798         over to...
2799         (dl_open_worker) [!SHARED]: ... here.
2801 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2803         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2805 2013-06-25  Richard Henderson  <rth@redhat.com>
2807         * locale/programs/locarchive.c: Include <libc-internal.h>
2809 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2811         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2812         trailing whitespace removed.
2814 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2816         [BZ #10283]
2817         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2818         * locale/programs/locarchive.c: Include libc-mmap.h.
2819         (prepare_address_space): Take two new outputs (the mmap base and len).
2820         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2821         values.
2822         (create_archive): Declare new mmap base and len values for
2823         prepare_address_space, and store the result in ah.
2824         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2825         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2826         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2827         Declare new mmap base and len values for
2828         prepare_address_space, and store the result in new_ah.
2829         (open_archive): Declare new mmap base and len values for
2830         prepare_address_space, and store the result in ah.
2831         (close_archive): If ah->mmap_base is not NULL, use that and
2832         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2833         * sysdeps/generic/libc-mmap.h: New file.
2835 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2837         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2838         (ALIGN_UP): Likewise.
2839         (PTR_ALIGN_DOWN): Likewise.
2840         (PTR_ALIGN_UP): Likewise.
2842 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2844         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2845         entry mapped to PPC_PLATFORM_POWER8.
2846         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2847         POWER8.
2848         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2849         (_dl_string_platform): Add case for exporting platform position for
2850         POWER8.
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2852         search path to sysdeps/powerpc/powerpc32/power8 directory.
2853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2854         search path to sysdeps/powerpc/powerpc64/power8 directory.
2855         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2856         power7 directories.
2857         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2858         power7 directories.
2860 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2862         * INSTALL: Regenerate.
2864         * nscd/connections.c (nscd_init): Fix comment.
2866 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2868         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2870         [BZ #15667]
2871         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2872         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2874 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2876         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2877         DL_DST_REQ_STATIC.
2878         (DL_DST_REQ_STATIC): Remove macro.
2880 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2882         [BZ #7006]
2883         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2884         with a shift of 0 bits.
2886 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
2888         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2889         $(tststatic-ENV).
2891 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2893         [BZ #15655]
2894         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2896 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2899         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2900         accepts -fno-tree-loop-distribute-patterns.
2901         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2902         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2903         recursive call.
2904         * string/memset.c (memset): Likewise.
2905         * string/test-memmove.c (simple_memmove): Disable loop transformation
2906         to library calls.
2907         * string/test-memset.c (simple_memset): Likewise.
2908         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2909         * benchtests/bench-memset.c (simple_memset): Likewise.
2910         * configure: Regenerated.
2912 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2914         * math/test-misc.c (main): Ignore fesetround failure when failures
2915         of subsequent rounding tests would be ignored.
2917         [BZ #15654]
2918         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2919         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2920         * math/fegetenv.c (__fegetenv): Return 0.
2921         * math/fegetexcept.c (fegetexcept): Return 0.
2922         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2923         FE_TONEAREST.
2924         * math/feholdexcpt.c (feholdexcept): Return 0.
2925         * math/fesetenv.c (__fesetenv): Return 0.
2926         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2927         argument FE_TONEAREST.
2928         * math/feupdateenv.c (__feupdateenv): Return 0.
2929         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2931 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2933         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2934         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2935         ($(objpfx)rtld-%.os rules): Use them.
2937 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2939         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2940         fields.
2942 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2944         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2945         length of target pattern, then descending length of dependency pattern.
2946         * configure.in (AWK): Require gawk 3.1.2 or newer.
2947         * manual/install.texi (Tools for Compilation): Say that we do.
2948         * configure: Regenerated.
2950         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2951         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2952         * scripts/sysd-rules.awk: ... this new script.
2953         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2954         than a glob-style pattern.
2956 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2958         * math/test-misc.c (main): Do not treat incorrectly rounded
2959         conversions as failure unless ROUNDING_TESTS passes.
2961 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2963         [BZ #15631]
2964         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2965         restore exception state around main square root computation, then
2966         check for inexactness explicitly.
2968         * math/libm-test.inc (fma_test_data): Add another test.
2970 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2972         * manual/threads.texi (Non-POSIX Extensions): New document
2973         node.  Document pthread_getattr_default_np and
2974         pthread_setattr_default_np.
2976         * Versions.def (libpthread): Add GLIBC_2.18.
2977         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2979         Likewise.
2980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2981         Likewise.
2982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2983         Likewise.
2984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2985         Likewise.
2986         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2987         Likewise.
2988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2989         Likewise.
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2991         Likewise.
2992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2993         Likewise.
2994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2995         Likewise.
2997 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3000         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3002 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3003             H.J. Lu  <hjl.tools@gmail.com>
3005         [BZ #15627]
3006         * sysdeps/x86_64/rtld-memset.c: Remove file.
3007         * sysdeps/x86_64/rtld-memset.S: New file.
3009 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3011         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3012         (test_in_one_mode): Take arguments for whether the rounding mode
3013         is supported for each floating-point type.
3014         (do_test): Pass new arguments to test_in_one_mode using
3015         ROUNDING_TESTS.
3017 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3019         * posix/tst-waitid.c (do_test): Distinguish different instances of
3020         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3021         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3022         before entering the kernel for waitpid.
3024 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         * NEWS: Fix note on clock function precision.  Text by Roland
3027         McGrath.
3029 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3031         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3032         it into place only when and if the sanity check passes.
3034 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3036         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3037         output for whether conversion result is exact.  Take argument
3038         indicating whether type is IBM long double.
3039         (round_for_all): Change need_exact field to ibm_ld.
3040         * stdlib/tst-strtod-round.c (struct exactness): New type.
3041         (struct test): Change bool ld_ok field to struct exactness exact.
3042         (TEST): Update all definitions for change to field.
3043         (tests): Regenerate array contents.
3044         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3045         field value.  Check for IBM long double here.
3046         (do_test): Update calls to test_in_one_mode.
3048 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3050         [BZ #12515]
3051         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3052         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3054 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3056         [BZ #15605]
3057         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3058         generated by the compiler on loop optimizations.
3059         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3060         general definitions.
3062 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3064         * math/bug-nextafter.c: Include <math-tests.h>.
3065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3066         the relevant type.
3067         * math/bug-nexttoward.c: Include <math-tests.h>.
3068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3069         the relevant type.
3070         * math/test-misc.c: Include <math-tests.h>.
3071         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3072         the relevant type.
3074 2013-06-12  Andreas Jaeger  <aj@suse.de>
3076         * po/ia.po: Update Interlingua translation from translation
3077         project.
3079 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3081         * include/fenv.h: Include stdbool.h.
3082         (struct rm_ctx): New structure.
3083         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3084         Define macro.
3085         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3086         (SET_RESTORE_ROUNDF): Likewise.
3087         (SET_RESTORE_ROUNDL): Likewise.
3088         (SET_RESTORE_ROUND_NOEX): Likewise.
3089         (SET_RESTORE_ROUND_NOEXF): Likewise.
3090         (SET_RESTORE_ROUND_NOEXL): Likewise.
3091         (SET_RESTORE_ROUND_53BIT): Likewise.
3092         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3093         (libc_feresetround_noexf_ctx): Likewise.
3094         (libc_feresetround_noexl_ctx): Likewise.
3095         (libc_feholdsetround_53bit_ctx): Likewise.
3096         (libc_feresetround_53bit_ctx): Likewise.
3097         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3098         (libc_feholdexcept_setround_sse_ctx): New function.
3099         (libc_fesetenv_sse_ctx): Likewise.
3100         (libc_feupdateenv_sse_ctx): Likewise.
3101         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3102         (libc_feholdexcept_setround_387_ctx): Likewise.
3103         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3104         (libc_feholdsetround_387_prec_ctx): Likewise.
3105         (libc_feholdsetround_387_ctx): Likewise.
3106         (libc_feholdsetround_387_53bit_ctx): Likewise.
3107         (libc_feholdsetround_sse_ctx): Likewise.
3108         (libc_feresetround_sse_ctx): Likewise.
3109         (libc_feresetround_387_ctx): Likewise.
3110         (libc_feupdateenv_387_ctx): Likewise.
3111         (libc_feholdexcept_setroundf_ctx): Define macro.
3112         (libc_fesetenvf_ctx): Likewise.
3113         (libc_feupdateenvf_ctx): Likewise.
3114         (libc_feholdsetroundf_ctx): Likewise.
3115         (libc_feresetroundf_ctx): Likewise.
3116         (libc_feholdexcept_setround_ctx): Likewise.
3117         (libc_fesetenv_ctx): Likewise.
3118         (libc_feupdateenv_ctx): Likewise.
3119         (libc_feholdsetround_ctx): Likewise.
3120         (libc_feresetround_ctx): Likewise.
3121         (libc_feholdexcept_setroundl_ctx): Likewise.
3122         (libc_feupdateenvl_ctx): Likewise.
3123         (libc_feholdsetroundl_ctx): Likewise.
3124         (libc_feresetroundl_ctx): Likewise.
3125         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3126         (libc_feresetround_53bit_ctx): Likewise.
3128 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3130         * locale/iso-639.def: Convert to UTF-8.
3132 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3134         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3135         (EXCEPTION_TESTS_double): Likewise.
3136         (EXCEPTION_TESTS_long_double): Likewise.
3137         (EXCEPTION_TESTS): Likewise.
3138         * math/libm-test.inc (test_exceptions): Only test exceptions if
3139         EXCEPTION_TESTS (FLOAT).
3141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3143         * benchtests/Makefile (string-bench): Add strcpy_chk and
3144         stpcpy_chk.
3145         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3146         * benchtests/bench-stpcpy_chk.c: New file.
3147         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3148         * benchtests/bench-strcpy_chk.c: New file.
3149         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3150         code.
3151         (do_test): Likewise.
3153 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3155         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3156         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3157         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3158         with tabs where appropriate.
3159         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3160         dl-procinfo.h.
3161         [PPC_PLATFORM_PPC440]: Likewise.
3162         [PPC_PLATFORM_PPC464]: Likewise.
3163         [PPC_PLATFORM_PPC476]: Likewise.
3164         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3165         ppc464, and ppc476 platform strings merging from ports/
3166         dl-procinfo.h.
3168 2013-06-11  Andreas Schwab  <schwab@suse.de>
3170         [BZ #14991]
3171         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3172         (from_ucs4_idx): Regenerate.
3173         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3174         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3175         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3176         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3177         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3178         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3179         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3180         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3181         from FROM_LOOP and TO_LOOP specific macros.
3182         (BODY): Handle combining characters.
3183         * iconvdata/BIG5HKSCS.irreversible: Update.
3184         * iconvdata/BIG5HKSCS.precomposed: New file.
3185         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3186         characters.
3187         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3191         * include/sys/time.h: Fix indentation and add copyright header.
3193         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3194         (do_test): Likewise.
3195         * string/test-memchr.c (do_one_test): Likewise.
3196         (do_test): Likewise.
3197         * string/test-memcmp.c (do_one_test): Likewise.
3198         (do_test): Likewise.
3199         * string/test-memcpy.c (do_one_test): Likewise.
3200         (do_test): Likewise.
3201         * string/test-memmem.c (do_one_test): Likewise.
3202         (do_test): Likewise.
3203         (do_random_tests): Likewise.
3204         * string/test-memmove.c (do_one_test): Likewise.
3205         (do_test): Likewise.
3206         * string/test-memset.c (do_one_test): Likewise.
3207         (do_test): Likewise.
3208         * string/test-rawmemchr.c (do_one_test): Likewise.
3209         (do_test): Likewise.
3210         * string/test-strcasecmp.c (do_one_test): Likewise.
3211         (do_test): Likewise.
3212         * string/test-strcasestr.c (do_one_test): Likewise.
3213         (do_test): Likewise.
3214         * string/test-strcat.c (do_one_test): Likewise.
3215         (do_test): Likewise.
3216         * string/test-strchr.c (do_one_test): Likewise.
3217         (do_test): Likewise.
3218         * string/test-strcmp.c (do_one_test): Likewise.
3219         (do_test): Likewise.
3220         * string/test-strcpy.c (do_one_test): Likewise.
3221         (do_test): Likewise.
3222         * string/test-string.h: Likewise.
3223         (test_init): Likewise.
3224         * string/test-strlen.c (do_one_test): Likewise.
3225         (do_test): Likewise.
3226         * string/test-strncasecmp.c (do_one_test): Likewise.
3227         (do_test): Likewise.
3228         * string/test-strncat.c (do_one_test): Likewise.
3229         (do_test): Likewise.
3230         * string/test-strncmp.c (do_one_test): Likewise.
3231         (do_test_limit): Likewise.
3232         (do_test): Likewise.
3233         * string/test-strncpy.c (do_one_test): Likewise.
3234         (do_test): Likewise.
3235         * string/test-strnlen.c (do_one_test): Likewise.
3236         (do_test): Likewise.
3237         * string/test-strpbrk.c (do_one_test): Likewise.
3238         (do_test): Likewise.
3239         * string/test-strrchr.c (do_one_test): Likewise.
3240         (do_test): Likewise.
3241         * string/test-strspn.c (do_one_test): Likewise.
3242         (do_test): Likewise.
3243         * string/test-strstr.c (do_one_test): Likewise.
3244         (do_test): Likewise.
3246         * benchtests/Makefile (string-bench): Add string benchmarks.
3247         * benchtests/bench-bcopy-ifunc.c: New file.
3248         * benchtests/bench-bcopy.c: New file.
3249         * benchtests/bench-bzero-ifunc.c: New file.
3250         * benchtests/bench-bzero.c: New file.
3251         * benchtests/bench-memccpy-ifunc.c: New file.
3252         * benchtests/bench-memccpy.c: New file.
3253         * benchtests/bench-memchr-ifunc.c: New file.
3254         * benchtests/bench-memchr.c: New file.
3255         * benchtests/bench-memcmp-ifunc.c: New file.
3256         * benchtests/bench-memcmp.c: New file.
3257         * benchtests/bench-memmem-ifunc.c: New file.
3258         * benchtests/bench-memmem.c: New file.
3259         * benchtests/bench-memmove-ifunc.c: New file.
3260         * benchtests/bench-memmove.c: New file.
3261         * benchtests/bench-mempcpy-ifunc.c: New file.
3262         * benchtests/bench-mempcpy.c: New file.
3263         * benchtests/bench-memset-ifunc.c: New file.
3264         * benchtests/bench-memset.c: New file.
3265         * benchtests/bench-rawmemchr-ifunc.c: New file.
3266         * benchtests/bench-rawmemchr.c: New file.
3267         * benchtests/bench-stpcpy-ifunc.c: New file.
3268         * benchtests/bench-stpcpy.c: New file.
3269         * benchtests/bench-stpncpy-ifunc.c: New file.
3270         * benchtests/bench-stpncpy.c: New file.
3271         * benchtests/bench-strcasecmp-ifunc.c: New file.
3272         * benchtests/bench-strcasecmp.c: New file.
3273         * benchtests/bench-strcasestr-ifunc.c: New file.
3274         * benchtests/bench-strcasestr.c: New file.
3275         * benchtests/bench-strcat-ifunc.c: New file.
3276         * benchtests/bench-strcat.c: New file.
3277         * benchtests/bench-strchr-ifunc.c: New file.
3278         * benchtests/bench-strchr.c: New file.
3279         * benchtests/bench-strchrnul-ifunc.c: New file.
3280         * benchtests/bench-strchrnul.c: New file.
3281         * benchtests/bench-strcmp-ifunc.c: New file.
3282         * benchtests/bench-strcmp.c: New file.
3283         * benchtests/bench-strcpy-ifunc.c: New file.
3284         * benchtests/bench-strcpy.c: New file.
3285         * benchtests/bench-strcspn-ifunc.c: New file.
3286         * benchtests/bench-strcspn.c: New file.
3287         * benchtests/bench-strlen-ifunc.c: New file.
3288         * benchtests/bench-strlen.c: New file.
3289         * benchtests/bench-strncasecmp-ifunc.c: New file.
3290         * benchtests/bench-strncasecmp.c: New file.
3291         * benchtests/bench-strncat-ifunc.c: New file.
3292         * benchtests/bench-strncat.c: New file.
3293         * benchtests/bench-strncmp-ifunc.c: New file.
3294         * benchtests/bench-strncmp.c: New file.
3295         * benchtests/bench-strncpy-ifunc.c: New file.
3296         * benchtests/bench-strncpy.c: New file.
3297         * benchtests/bench-strnlen-ifunc.c: New file.
3298         * benchtests/bench-strnlen.c: New file.
3299         * benchtests/bench-strpbrk-ifunc.c: New file.
3300         * benchtests/bench-strpbrk.c: New file.
3301         * benchtests/bench-strrchr-ifunc.c: New file.
3302         * benchtests/bench-strrchr.c: New file.
3303         * benchtests/bench-strspn-ifunc.c: New file.
3304         * benchtests/bench-strspn.c: New file.
3305         * benchtests/bench-strstr-ifunc.c: New file.
3306         * benchtests/bench-strstr.c: New file.
3308         * benchtests/Makefile: Disable parallel execution of targets.
3309         (string-bench): Add memcpy.
3310         (benchset): New variable to store a list of benchmark sets.
3311         (bench-func): Renamed from bench.
3312         (bench-set): New target.
3313         (bench): Depend on bench-func and bench-set.
3314         * benchtests/README: Add section on benchmark sets.
3315         * benchtests/bench-memcpy-ifunc.c: New file.
3316         * benchtests/bench-memcpy.c: New file.
3317         * benchtests/bench-string.h: New file.
3319 2013-06-11  Andreas Schwab  <schwab@suse.de>
3321         [BZ #15577]
3322         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3323         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3324         values in the triple.
3325         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3326         terminator in the group key.
3328 2013-06-11  Andreas Jaeger  <aj@suse.de>
3330         * po/zh_TW.po: Update Chinese (traditional) translation from
3331         translation project.
3333 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3335         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3336         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3337         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3339         (clock_getcpuclockid): Likewise.
3340         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3341         Add weak_alias and libc_hidden_def.
3342         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3343         * rt/clock_gettime.c (clock_gettime): Rename to
3344         __clock_gettime.  Add weak_alias and libc_hidden_def.
3345         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3346         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3347         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3348         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3349         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3350         Likewise.
3351         * rt/clock_settime.c (clock_settime): Rename to
3352         __clock_settime.  Add weak_alias and libc_hidden_def.
3353         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3355 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3357         * mach/err_boot.sub: Remove trailing whitespace.
3358         * mach/err_ipc.sub: Likewise.
3359         * mach/err_mach.sub: Likewise.
3361         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3362         (ROUNDING_TESTS_double): Likewise.
3363         (ROUNDING_TESTS_long_double): Likewise.
3364         (ROUNDING_TESTS): Likewise.
3365         * math/libm-test.inc: Include <math-tests.h>.
3366         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3367         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3368         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3369         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3371 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3373         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3374         of assigning.
3376 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3378         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3379         otherwise empty TRANS lines.
3380         * sysdeps/gnu/errlist.c: Regenerated.
3382         * catgets/gencat.c (error_print): Use (void) in function
3383         definition.
3384         * crypt/crypt_util.c (__init_des): Likewise.
3385         * crypt/speeds.c (Stop): Likewise.
3386         (main): Likewise.
3387         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3388         * inet/ruserpass.c (token): Likewise.
3389         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3390         * intl/localealias.c (extend_alias_table): Likewise.
3391         * intl/plural-exp.c (init_germanic_plural): Likewise.
3392         * libio/fcloseall.c (__fcloseall): Likewise.
3393         * libio/genops.c (_IO_flush_all): Likewise.
3394         (_IO_flush_all_linebuffered): Likewise.
3395         (_IO_cleanup): Likewise.
3396         (_IO_iter_begin): Likewise.
3397         (_IO_iter_end): Likewise.
3398         (_IO_list_lock): Likewise.
3399         (_IO_list_unlock): Likewise.
3400         (_IO_list_resetlock): Likewise.
3401         * libio/getchar.c (getchar): Likewise.
3402         * libio/getchar_u.c (getchar_unlocked): Likewise.
3403         * libio/getwchar.c (getwchar): Likewise.
3404         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3405         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3406         * login/getpt.c (__getpt): Likewise.
3407         * login/tst-utmp.c (main): Likewise.
3408         * malloc/hooks.c (__malloc_check_init): Likewise.
3409         * malloc/malloc.c (__malloc_stats): Likewise.
3410         * malloc/mtrace.c (tr_break): Likewise.
3411         (mtrace): Likewise.
3412         (muntrace): Likewise.
3413         * misc/fstab.c (endfsent): Likewise.
3414         * misc/getclktck.c (__getclktck): Likewise.
3415         * misc/getdtsz.c (__getdtablesize): Likewise.
3416         * misc/gethostid.c (gethostid): Likewise.
3417         * misc/getpagesize.c (__getpagesize): Likewise.
3418         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3419         (__get_nprocs): Likewise.
3420         (__get_phys_pages): Likewise.
3421         (__get_avphys_pages): Likewise.
3422         * misc/getttyent.c (getttyent): Likewise.
3423         (setttyent): Likewise.
3424         (endttyent): Likewise.
3425         * misc/getusershell.c (getusershell): Likewise.
3426         (endusershell): Likewise.
3427         (setusershell): Likewise.
3428         (initshells): Likewise.
3429         * misc/hsearch.c (__hdestroy): Likewise.
3430         * misc/sync.c (sync): Likewise.
3431         * misc/syslog.c (closelog_internal): Likewise.
3432         (closelog): Likewise.
3433         * misc/ttyslot.c (ttyslot): Likewise.
3434         * misc/vhangup.c (vhangup): Likewise.
3435         * posix/fork.c (__fork): Likewise.
3436         * posix/getegid.c (__getegid): Likewise.
3437         * posix/geteuid.c (__geteuid): Likewise.
3438         * posix/getgid.c (__getgid): Likewise.
3439         * posix/getpid.c (__getpid): Likewise.
3440         * posix/getppid.c (__getppid): Likewise.
3441         * posix/getuid.c (__getuid): Likewise.
3442         * posix/pause.c (pause): Likewise.
3443         * posix/setpgrp.c (setpgrp): Likewise.
3444         * posix/setsid.c (__setsid): Likewise.
3445         * posix/test-vfork.c (noop): Likewise.
3446         * resolv/gethnamaddr.c (_endhtent): Likewise.
3447         (_gethtent): Likewise.
3448         (ht_endhostent): Likewise.
3449         (gethostent): Likewise.
3450         (dns_service): Likewise.
3451         * stdlib/drand48.c (drand48): Likewise.
3452         * stdlib/lrand48.c (lrand48): Likewise.
3453         * stdlib/mrand48.c (mrand48): Likewise.
3454         * stdlib/rand.c (rand): Likewise.
3455         * stdlib/random.c (__random): Likewise.
3456         * stdlib/setenv.c (clearenv): Likewise.
3457         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3458         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3459         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3460         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3461         (__get_nprocs): Likewise.
3462         (__get_phys_pages): Likewise.
3463         (__get_avphys_pages): Likewise.
3464         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3465         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3466         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3467         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3468         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3469         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3470         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3471         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3472         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3473         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3474         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3475         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3476         * sysdeps/posix/clock.c (clock): Likewise.
3477         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3478         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3479         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3480         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3481         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3483         (__get_nprocs_conf): Likewise.
3484         (__get_phys_pages): Likewise.
3485         (__get_avphys_pages): Likewise.
3486         * time/clock.c (clock): Likewise.
3487         * time/tzset.c (__tzname_max): Likewise.
3489 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3491         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3492         (__bswap_32): Do not use "register".
3493         * crypt/crypt.c (_ufc_doit_r): Likewise.
3494         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3495         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3496         * gmon/gmon.c (__monstartup): Likewise.
3497         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3498         * hurd/hurdmalloc.c (more_memory): Likewise.
3499         (malloc): Likewise.
3500         (free): Likewise.
3501         (realloc): Likewise.
3502         (malloc_fork_prepare): Likewise.
3503         (malloc_fork_parent): Likewise.
3504         (malloc_fork_child): Likewise.
3505         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3506         (_svcauth_des): Likewise.
3507         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3508         * inet/inet_net.c (inet_network): Likewise.
3509         * inet/inet_netof.c (inet_netof): Likewise.
3510         * inet/rcmd.c (__validuser2_sa): Likewise.
3511         * io/fts.c (fts_open): Likewise.
3512         (fts_load): Likewise.
3513         (fts_close): Likewise.
3514         (fts_read): Likewise.
3515         (fts_children): Likewise.
3516         (fts_build): Likewise.
3517         (fts_stat): Likewise.
3518         (fts_sort): Likewise.
3519         (fts_alloc): Likewise.
3520         (fts_lfree): Likewise.
3521         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3522         (_IO_file_xsgetn): Likewise.
3523         (_IO_file_xsgetn_mmap): Likewise.
3524         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3525         (_IO_cookie_write): Likewise.
3526         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3527         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3528         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3529         * malloc/obstack.c (_obstack_begin): Likewise.
3530         (_obstack_begin_1): Likewise.
3531         (_obstack_newchunk): Likewise.
3532         (_obstack_allocated_p): Likewise.
3533         (obstack_free): Likewise.
3534         (_obstack_memory_used): Likewise.
3535         * misc/getttyent.c (getttynam): Likewise.
3536         (getttyent): Likewise.
3537         (skip): Likewise.
3538         (value): Likewise.
3539         * misc/getusershell.c (initshells): Likewise.
3540         * misc/syslog.c (__vsyslog_chk): Likewise.
3541         * misc/ttyslot.c (ttyslot): Likewise.
3542         * nis/nis_hash.c (__nis_hash): Likewise.
3543         * posix/fnmatch_loop.c (FCT): Likewise.
3544         * posix/getconf.c (print_all): Likewise.
3545         (main): Likewise.
3546         * posix/getopt.c (exchange): Likewise.
3547         * posix/glob.c (globfree): Likewise.
3548         (prefix_array): Likewise.
3549         (__glob_pattern_type): Likewise.
3550         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3551         (NS_GET32): Likewise.
3552         (NS_PUT16): Likewise.
3553         (NS_PUT32): Likewise.
3554         * resolv/gethnamaddr.c (getanswer): Likewise.
3555         (gethostbyname2): Likewise.
3556         (gethostbyaddr): Likewise.
3557         (_gethtent): Likewise.
3558         (_gethtbyname2): Likewise.
3559         (_gethtbyaddr): Likewise.
3560         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3561         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3562         * resolv/res_init.c (__res_vinit): Likewise.
3563         (net_mask): Likewise.
3564         * resolv/res_mkquery.c (outchar): Likewise.
3565         (PRINT): Likewise.
3566         * stdio-common/printf_fp.c (outchar): Likewise.
3567         (PRINT): Likewise.
3568         * stdio-common/printf_fphex.c (outchar): Likewise.
3569         (PRINT): Likewise.
3570         * stdio-common/printf_size.c (outchar): Likewise.
3571         (PRINT): Likewise.
3572         * stdio-common/test_rdwr.c (main): Likewise.
3573         * stdio-common/tfformat.c (matches): Likewise.
3574         * stdio-common/vfprintf.c (outchar): Likewise.
3575         (printf_unknown): Likewise.
3576         (buffered_vfprintf): Likewise.
3577         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3578         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3579         (ReadFile): Likewise.
3580         * stdlib/qsort.c (SWAP): Likewise.
3581         (_quicksort): Likewise.
3582         * stdlib/setenv.c (__add_to_environ): Likewise.
3583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3584         * stdlib/strtol_l.c (__strtol_l): Likewise.
3585         * stdlib/tst-strtod.c (main): Likewise.
3586         * stdlib/tst-strtol.c (main): Likewise.
3587         * stdlib/tst-strtoll.c (main): Likewise.
3588         * string/bits/string2.h (__strcmp_cc): Likewise.
3589         (__strcmp_cg): Likewise.
3590         (__strcspn_c1): Likewise.
3591         (__strcspn_c2): Likewise.
3592         (__strcspn_c3): Likewise.
3593         (__strspn_c1): Likewise.
3594         (__strspn_c2): Likewise.
3595         (__strspn_c3): Likewise.
3596         (__strsep_1c): Likewise.
3597         (__strsep_2c): Likewise.
3598         (__strsep_3c): Likewise.
3599         * string/memccpy.c (__memccpy): Likewise.
3600         * string/stpcpy.c (__stpcpy): Likewise.
3601         * string/strcmp.c (strcmp): Likewise.
3602         * string/strrchr.c (strrchr): Likewise.
3603         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3604         Likewise.
3605         * sysdeps/mach/hurd/getcwd.c
3606         (_hurd_canonicalize_directory_name_internal): Likewise.
3607         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3608         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3609         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3610         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3611         Likewise, in both definitions.
3612         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3613         definitions.
3614         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3615         64] (__bswap_64): Likewise.
3616         * time/test_time.c (main): Likewise.
3617         * time/tzfile.c (__tzfile_read): Likewise.
3618         (__tzfile_compute): Likewise.
3619         * time/tzset.c (__tzset_parse_tz): Likewise.
3620         (tzset_internal): Likewise.
3621         (compute_change): Likewise.
3622         * wcsmbs/wcscat.c (__wcscat): Likewise.
3623         * wcsmbs/wcschr.c (wcschr): Likewise.
3624         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3625         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3626         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3627         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3628         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3629         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3630         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3631         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3632         * wcsmbs/wmemset.c (wmemset): Likewise.
3634 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3636         * scripts/config.guess: Update to version 2013-05-16.
3637         * scripts/config.sub: Update to version 2013-04-24.
3638         * scripts/install-sh: Update to version 2011-11-20.07.
3639         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3640         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3642 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3644         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3645         * elf/sln.c: Likewise.
3646         * hurd/hurd/ioctl.h: Likewise.
3647         * hurd/hurdmalloc.c: Likewise.
3648         * hurd/xattr.c: Likewise.
3649         * include/shlib-compat.h: Likewise.
3650         * inet/ruserpass.c: Likewise.
3651         * libio/iofgets_u.c: Likewise.
3652         * libio/iofgetws_u.c: Likewise.
3653         * locale/programs/ld-identification.c: Likewise.
3654         * locale/programs/ld-time.c: Likewise.
3655         * mach/msg-destroy.c: Likewise.
3656         * nss/nss_files/files-netgrp.c: Likewise.
3657         * resolv/res_data.c: Likewise.
3658         * soft-fp/op-1.h: Likewise.
3659         * soft-fp/op-2.h: Likewise.
3660         * soft-fp/op-4.h: Likewise.
3661         * soft-fp/op-common.h: Likewise.
3662         * stdio-common/printf_fphex.c: Likewise.
3663         * stdlib/strtod_l.c: Likewise.
3664         * sunrpc/rpc/clnt.h: Likewise.
3665         * sysdeps/generic/framestate.c: Likewise.
3666         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3667         * sysdeps/i386/bsd-setjmp.S: Likewise.
3668         * sysdeps/i386/__longjmp.S: Likewise.
3669         * sysdeps/i386/setjmp.S: Likewise.
3670         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3671         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3672         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3673         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3677         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3679         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3680         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3681         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3682         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3683         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3684         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3685         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3686         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3687         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3688         * sysdeps/ieee754/support.c: Likewise.
3689         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3690         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3691         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3692         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3693         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3694         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3695         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3696         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3697         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3698         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3699         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3700         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3701         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3702         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3703         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3704         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3705         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3708 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3710         * posix/transbug.c: Remove executable mode.
3712 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3714         * crypt/speeds.c: Remove trailing whitespace.
3715         * dlfcn/default.c: Likewise.
3716         * elf/ifuncdep2.c: Likewise.
3717         * elf/ifuncmain1.c: Likewise.
3718         * elf/ifuncmain1vis.c: Likewise.
3719         * elf/testobj.h: Likewise.
3720         * elf/tst-stackguard1.c: Likewise.
3721         * gmon/sys/gmon.h: Likewise.
3722         * hurd/hurdmsg.c: Likewise.
3723         * hurd/new-fd.c: Likewise.
3724         * hurd/ports-get.c: Likewise.
3725         * iconvdata/ibm1008_420.c: Likewise.
3726         * inet/tst-getni1.c: Likewise.
3727         * inet/tst-getni2.c: Likewise.
3728         * libio/ioungetc.c: Likewise.
3729         * libio/wfiledoalloc.c: Likewise.
3730         * manual/libm-err-tab.pl: Likewise.
3731         * math/w_dremf.c: Likewise.
3732         * misc/ftruncate.c: Likewise.
3733         * posix/bug-glob2.c: Likewise.
3734         * posix/tst-pcre.c: Likewise.
3735         * posix/wait4.c: Likewise.
3736         * resolv/README: Likewise.
3737         * resolv/res_debug.h: Likewise.
3738         * resolv/tst-inet_ntop.c: Likewise.
3739         * setjmp/bug269-setjmp.c: Likewise.
3740         * soft-fp/extended.h: Likewise.
3741         * soft-fp/op-1.h: Likewise.
3742         * soft-fp/op-2.h: Likewise.
3743         * soft-fp/op-4.h: Likewise.
3744         * soft-fp/op-8.h: Likewise.
3745         * soft-fp/testit.c: Likewise.
3746         * stdio-common/bug16.c: Likewise.
3747         * stdlib/random.c: Likewise.
3748         * sunrpc/rpcsvc/rquota.x: Likewise.
3749         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3750         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3752         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3753         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3754         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3755         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3756         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3757         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3758         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3759         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3760         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3762         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3763         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3764         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3765         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3767         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3770         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3771         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3772         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3776         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3777         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3778         * sysdeps/ieee754/s_lib_version.c: Likewise.
3779         * sysdeps/mach/hurd/check_fds.c: Likewise.
3780         * sysdeps/mach/hurd/getsockname.c: Likewise.
3781         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3782         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3783         * sysdeps/powerpc/bits/link.h: Likewise.
3784         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3785         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3786         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3787         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3788         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3789         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3790         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3791         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3792         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3793         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3794         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3795         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3796         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3797         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3798         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3799         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3802         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3803         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3804         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3805         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3807         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3811         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3812         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3815         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3816         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3817         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3818         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3819         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3820         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3821         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3822         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3823         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3824         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3825         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3826         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3827         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3828         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3829         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3830         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3831         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3832         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3833         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3835         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3836         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3837         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3838         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3839         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3840         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3841         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3843         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3844         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3845         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3846         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3847         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3848         * sysdeps/powerpc/sysdep.h: Likewise.
3849         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3850         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3851         * sysdeps/sh/dl-trampoline.S: Likewise.
3852         * sysdeps/sh/memset.S: Likewise.
3853         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3854         * sysdeps/sh/strlen.S: Likewise.
3855         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3856         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3857         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3858         * sysdeps/sparc/sparc32/rem.S: Likewise.
3859         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3860         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3861         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3862         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3863         * sysdeps/sparc/sparc32/urem.S: Likewise.
3864         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3865         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3866         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3867         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3868         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3869         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3870         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3871         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3872         * sysdeps/unix/bsd/times.c: Likewise.
3873         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3874         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3878         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3879         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3880         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3882         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3885         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3886         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3887         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3888         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3889         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3890         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3891         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3892         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3893         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3894         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3895         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3896         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3897         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3898         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3899         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3901         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3902         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3903         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3904         * sysdeps/x86_64/strcspn.S: Likewise.
3906 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3908         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3909         generated file.  Regenerate properly from gen-translit.pl.
3910         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3911         locale/C-translit.h.
3913 2013-06-05  Andreas Schwab  <schwab@suse.de>
3915         [BZ #15100]
3916         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3917         week as 6 instead of -1.
3918         * time/tst-strptime.c (day_tests): Add test case.
3920 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3922         * sysdeps/generic/math_private.h
3923         (libc_feholdexcept_setround_53bit): Replace with
3924         libc_feholdsetround_53bit.
3925         (libc_feupdateenv_53bit): Replace with
3926         libc_feresetround_53bit.
3927         (SET_RESTORE_ROUND_53BIT): Adjust.
3929 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3931         * string/test-strchrnul.c: Add copyright header.
3933         * posix/tst-getaddrinfo4.c: Increase test timeout.
3935 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3937         [BZ #15536]
3938         * math/libm-test.inc (MAX_EXP): Remove
3939         (MIN_EXP): Define.
3940         (ulp): Use MIN_EXP - MANT_DIG.
3941         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3943 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3945         * po/be.po: Revert last change.
3946         * po/zh_CN.po: Likewise.
3947         * po/header.pot: Likewise.
3949 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3951         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3952         link-libc-deps to empty as target-specific variable.
3953         * Makerules (link-libc-args): New variable.
3954         (libc-for-link): Likewise.
3955         (link-libc-deps): Likewise.
3956         (lib%.so): Depend on $(link-libc-deps).  Link with
3957         $(link-libc-args).
3958         (build-module): Link with $(link-libc-args).
3959         (build-module-asneeded): Likewise.
3960         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3961         list of objects.
3962         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3963         target-specific variable.
3964         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3965         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3966         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3967         libc.
3968         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3969         libc and ld.so.
3970         ($(objpfx)libpcprofile.so): Likewise.
3971         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3972         libc_nonshared.a.
3973         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3974         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3975         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3976         $(link-libc-deps).
3977         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3978         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3979         * login/Makefile ($(objpfx)libutil.so): Likewise.
3980         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3981         * math/Makefile ($(objpfx)libm.so): Likewise.
3982         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3983         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3984         variable instead of depending directly on libc.
3985         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3986         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3987         $(link-libc-deps).
3988         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3989         libc.
3990         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3991         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3992         ($(objpfx)libanl.so): Likewise.
3993         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3994         ld.so.
3995         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3996         $(link-libc-deps).
3997         * sysdeps/i386/fpu/Makefile: Remove file.
3998         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3999         ($(objpfx)libm.so): Remove dependency on ld.so.
4001 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4003         [BZ # 15553]
4004         * nis/yp_xdr.c (XDRMAXNAME): Define.
4005         (XDRMAXRECORD): Define.
4006         (xdr_domainname): Use XDRMAXNAME.
4007         (xdr_mapname): Likewise.
4008         (xdr_peername): Likewise.
4009         (xdr_keydat): Use XDRMAXRECORD.
4010         (xdr_valdat): Likewise.
4012 2013-05-30  Jeff Law  <law@redhat.com>
4014         [BZ #14256]
4015         * manual/errno.texi (ESTALE): Update to account for more than
4016         just NFS file systems.
4017         * sysdeps/gnu/errlist.c: Regenerated.
4019 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4021         [BZ #15465]
4022         * elf/Makefile (tests): Add tst-null-argv.
4023         (modules-names):  Add tst-null-argv-lib.
4024         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4025         (tst-null-argv-ENV): Set environment for tst-null-argv.
4026         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4027         (RTLD_PROGNAME): New macro.
4028         * elf/tst-null-argv.c: New test case.
4029         * elf/tst-null-argv-lib.c: Library for test case.
4030         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4031         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4032         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4033         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4034         * elf/dl-init.c (call_init): Likewise.
4035         (_dl_init): Likewise.
4036         * elf/dl-load.c (print_search_path): Likewise.
4037         (_dl_map_object): Likewise.
4038         * elf/dl-lookup.c (do_lookup_x): Likewise.
4039         (add_dependency): Likewise.
4040         (_dl_lookup_symbol_x): Likewise.
4041         (_dl_debug_bindings): Likewise.
4042         * elf/dl-open.c (_dl_show_scope): Likewise.
4043         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4044         * elf/dl-version.c (match_symbol): Likewise.
4045         (_dl_check_map_versions): Likewise.
4046         * elf/rtld.c (dl_main): Likewise.
4047         (print_unresolved): Use RTLD_PROGNAME.
4048         (print_missing_version): Likewise.
4049         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4050         (elf_machine_rela): Likewise.
4051         * sysdeps/powerpc/powerpc32/dl-machine.c
4052         (__process_machine_rela): Likewise.
4053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4054         Likewise.
4055         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4056         Likewise.
4057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4058         Likewise.
4059         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4061         Likewise.
4062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4063         Likewise.
4064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4066 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4068         * po/be.po: Add descriptive title.
4069         * po/zh_CN.po: Likewise.
4070         * po/header.pot: Likewise.
4072 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4074         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4075         error message.
4076         (enlarge_archive): Likewise.
4078 2013-05-28  Ben North  <ben@redfrontdoor.org>
4080         * manual/arith.texi (frexp): It is the magnitude of the return
4081         value which lies in [0.5, 1), not the return value itself.
4083 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4087 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4089         * stdio-common/bug26.c (main): Correct fscanf template.
4091         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4092         declare _dl_skip_args.
4094         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4095         Don't declare.
4097         * manual/platform.texi: Add missing @end deftypefun.
4099 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4101         [BZ #15529]
4102         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4103         bit of mantissa of 2^16382.
4104         * math/libm-test.inc (hypot_test_data): Add more tests.
4106         * math/libm-test.inc: Add drem and pow10 to list of tested
4107         functions.
4108         (pow10_test): New function.
4109         (drem_test): Likewise.
4110         (drem_test_tonearest): Likewise.
4111         (drem_test_towardzero): Likewise.
4112         (drem_test_downward): Likewise.
4113         (drem_test_upward): Likewise.
4114         (main): Call the new functions.
4116         * math/libm-test.inc (finite_test_data): Remove.
4117         (finite_test): Run tests from isfinite_test_data.
4118         (gamma_test_data): Remove.
4119         (gamma_test): Run tests from lgamma_test_data.
4120         * sysdeps/i386/fpu/libm-test-ulps: Update.
4121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4125         * manual/platform.texi: Add PowerPC PPR function set documentation.
4126         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4127         implementation.
4129 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4131         * math/libm-test.inc (MAX_EXP): Define.
4132         (ULPDIFF): Define.
4133         (ulp): New function.
4134         (check_float_internal): Use ULPDIFF.
4135         (cpow_test): Disable failing test.
4136         (check_ulp): Test ulp() implemetnation.
4137         (main): Call check_ulp before starting tests.
4139 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4141         * math/gen-libm-test.pl (generate_testfile): Do not handle
4142         START_DATA and END_DATA.
4143         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4144         END_DATA.
4145         (acos_tonearest_test_data): Likewise.
4146         (acos_towardzero_test_data): Likewise.
4147         (acos_downward_test_data): Likewise.
4148         (acos_upward_test_data): Likewise.
4149         (acosh_test_data): Likewise.
4150         (asin_test_data): Likewise.
4151         (asin_tonearest_test_data): Likewise.
4152         (asin_towardzero_test_data): Likewise.
4153         (asin_downward_test_data): Likewise.
4154         (asin_upward_test_data): Likewise.
4155         (asinh_test_data): Likewise.
4156         (atan_test_data): Likewise.
4157         (atanh_test_data): Likewise.
4158         (atan2_test_data): Likewise.
4159         (cabs_test_data): Likewise.
4160         (cacos_test_data): Likewise.
4161         (cacosh_test_data): Likewise.
4162         (carg_test_data): Likewise.
4163         (casin_test_data): Likewise.
4164         (casinh_test_data): Likewise.
4165         (catan_test_data): Likewise.
4166         (catanh_test_data): Likewise.
4167         (cbrt_test_data): Likewise.
4168         (ccos_test_data): Likewise.
4169         (ccosh_test_data): Likewise.
4170         (ceil_test_data): Likewise.
4171         (cexp_test_data): Likewise.
4172         (cimag_test_data): Likewise.
4173         (clog_test_data): Likewise.
4174         (clog10_test_data): Likewise.
4175         (conj_test_data): Likewise.
4176         (copysign_test_data): Likewise.
4177         (cos_test_data): Likewise.
4178         (cos_tonearest_test_data): Likewise.
4179         (cos_towardzero_test_data): Likewise.
4180         (cos_downward_test_data): Likewise.
4181         (cos_upward_test_data): Likewise.
4182         (cosh_test_data): Likewise.
4183         (cosh_tonearest_test_data): Likewise.
4184         (cosh_towardzero_test_data): Likewise.
4185         (cosh_downward_test_data): Likewise.
4186         (cosh_upward_test_data): Likewise.
4187         (cpow_test_data): Likewise.
4188         (cproj_test_data): Likewise.
4189         (creal_test_data): Likewise.
4190         (csin_test_data): Likewise.
4191         (csinh_test_data): Likewise.
4192         (csqrt_test_data): Likewise.
4193         (ctan_test_data): Likewise.
4194         (ctan_tonearest_test_data): Likewise.
4195         (ctan_towardzero_test_data): Likewise.
4196         (ctan_downward_test_data): Likewise.
4197         (ctan_upward_test_data): Likewise.
4198         (ctanh_test_data): Likewise.
4199         (ctanh_tonearest_test_data): Likewise.
4200         (ctanh_towardzero_test_data): Likewise.
4201         (ctanh_downward_test_data): Likewise.
4202         (ctanh_upward_test_data): Likewise.
4203         (erf_test_data): Likewise.
4204         (erfc_test_data): Likewise.
4205         (exp_test_data): Likewise.
4206         (exp_tonearest_test_data): Likewise.
4207         (exp_towardzero_test_data): Likewise.
4208         (exp_downward_test_data): Likewise.
4209         (exp_upward_test_data): Likewise.
4210         (exp10_test_data): Likewise.
4211         (exp2_test_data): Likewise.
4212         (expm1_test_data): Likewise.
4213         (fabs_test_data): Likewise.
4214         (fdim_test_data): Likewise.
4215         (finite_test_data): Likewise.
4216         (floor_test_data): Likewise.
4217         (fma_test_data): Likewise.
4218         (fma_towardzero_test_data): Likewise.
4219         (fma_downward_test_data): Likewise.
4220         (fma_upward_test_data): Likewise.
4221         (fmax_test_data): Likewise.
4222         (fmin_test_data): Likewise.
4223         (fmod_test_data): Likewise.
4224         (fpclassify_test_data): Likewise.
4225         (frexp_test_data): Likewise.
4226         (gamma_test_data): Likewise.
4227         (hypot_test_data): Likewise.
4228         (ilogb_test_data): Likewise.
4229         (isfinite_test_data): Likewise.
4230         (isgreater_test_data): Likewise.
4231         (isgreaterequal_test_data): Likewise.
4232         (isinf_test_data): Likewise.
4233         (isless_test_data): Likewise.
4234         (islessequal_test_data): Likewise.
4235         (islessgreater_test_data): Likewise.
4236         (isnan_test_data): Likewise.
4237         (isnormal_test_data): Likewise.
4238         (issignaling_test_data): Likewise.
4239         (isunordered_test_data): Likewise.
4240         (j0_test_data): Likewise.
4241         (j1_test_data): Likewise.
4242         (jn_test_data): Likewise.
4243         (ldexp_test_data): Likewise.
4244         (lgamma_test_data): Likewise.
4245         (lrint_test_data): Likewise.
4246         (lrint_tonearest_test_data): Likewise.
4247         (lrint_towardzero_test_data): Likewise.
4248         (lrint_downward_test_data): Likewise.
4249         (lrint_upward_test_data): Likewise.
4250         (llrint_test_data): Likewise.
4251         (llrint_tonearest_test_data): Likewise.
4252         (llrint_towardzero_test_data): Likewise.
4253         (llrint_downward_test_data): Likewise.
4254         (llrint_upward_test_data): Likewise.
4255         (log_test_data): Likewise.
4256         (log10_test_data): Likewise.
4257         (log1p_test_data): Likewise.
4258         (log2_test_data): Likewise.
4259         (logb_test_data): Likewise.
4260         (logb_downward_test_data): Likewise.
4261         (lround_test_data): Likewise.
4262         (llround_test_data): Likewise.
4263         (modf_test_data): Likewise.
4264         (nearbyint_test_data): Likewise.
4265         (nextafter_test_data): Likewise.
4266         (nexttoward_test_data): Likewise.
4267         (pow_test_data): Likewise.
4268         (pow_tonearest_test_data): Likewise.
4269         (pow_towardzero_test_data): Likewise.
4270         (pow_downward_test_data): Likewise.
4271         (pow_upward_test_data): Likewise.
4272         (remainder_test_data): Likewise.
4273         (remainder_tonearest_test_data): Likewise.
4274         (remainder_towardzero_test_data): Likewise.
4275         (remainder_downward_test_data): Likewise.
4276         (remainder_upward_test_data): Likewise.
4277         (remquo_test_data): Likewise.
4278         (rint_test_data): Likewise.
4279         (rint_tonearest_test_data): Likewise.
4280         (rint_towardzero_test_data): Likewise.
4281         (rint_downward_test_data): Likewise.
4282         (rint_upward_test_data): Likewise.
4283         (round_test_data): Likewise.
4284         (scalb_test_data): Likewise.
4285         (scalbn_test_data): Likewise.
4286         (scalbln_test_data): Likewise.
4287         (signbit_test_data): Likewise.
4288         (sin_test_data): Likewise.
4289         (sin_tonearest_test_data): Likewise.
4290         (sin_towardzero_test_data): Likewise.
4291         (sin_downward_test_data): Likewise.
4292         (sin_upward_test_data): Likewise.
4293         (sincos_test_data): Likewise.
4294         (sinh_test_data): Likewise.
4295         (sinh_tonearest_test_data): Likewise.
4296         (sinh_towardzero_test_data): Likewise.
4297         (sinh_downward_test_data): Likewise.
4298         (sinh_upward_test_data): Likewise.
4299         (sqrt_test_data): Likewise.
4300         (tan_test_data): Likewise.
4301         (tan_tonearest_test_data): Likewise.
4302         (tan_towardzero_test_data): Likewise.
4303         (tan_downward_test_data): Likewise.
4304         (tan_upward_test_data): Likewise.
4305         (tanh_test_data): Likewise.
4306         (tgamma_test_data): Likewise.
4307         (trunc_test_data): Likewise.
4308         (y0_test_data): Likewise.
4309         (y1_test_data): Likewise.
4310         (yn_test_data): Likewise.
4311         (significand_test_data): Likewise.
4313         * math/gen-libm-test.pl (@functions): Remove variable.
4314         (generate_testfile): Don't handle START and END lines.
4315         * math/libm-test.inc (START): New macro.
4316         (END): Likewise.
4317         (END_COMPLEX): Likewise.
4318         (acos_test): Use END macro without arguments.
4319         (acos_test_tonearest): Likewise.
4320         (acos_test_towardzero): Likewise.
4321         (acos_test_downward): Likewise.
4322         (acos_test_upward): Likewise.
4323         (acosh_test): Likewise.
4324         (asin_test): Likewise.
4325         (asin_test_tonearest): Likewise.
4326         (asin_test_towardzero): Likewise.
4327         (asin_test_downward): Likewise.
4328         (asin_test_upward): Likewise.
4329         (asinh_test): Likewise.
4330         (atan_test): Likewise.
4331         (atanh_test): Likewise.
4332         (atan2_test): Likewise.
4333         (cabs_test): Likewise.
4334         (cacos_test): Use END_COMPLEX macro without arguments.
4335         (cacosh_test): Likewise.
4336         (carg_test): Use END macro without arguments.
4337         (casin_test): Use END_COMPLEX macro without arguments.
4338         (casinh_test): Likewise.
4339         (catan_test): Likewise.
4340         (catanh_test): Likewise.
4341         (cbrt_test): Use END macro without arguments.
4342         (ccos_test): Use END_COMPLEX macro without arguments.
4343         (ccosh_test): Likewise.
4344         (ceil_test): Use END macro without arguments.
4345         (cexp_test): Use END_COMPLEX macro without arguments.
4346         (cimag_test): Use END macro without arguments.
4347         (clog_test): Use END_COMPLEX macro without arguments.
4348         (clog10_test): Likewise.
4349         (conj_test): Likewise.
4350         (copysign_test): Use END macro without arguments.
4351         (cos_test): Likewise.
4352         (cos_test_tonearest): Likewise.
4353         (cos_test_towardzero): Likewise.
4354         (cos_test_downward): Likewise.
4355         (cos_test_upward): Likewise.
4356         (cosh_test): Likewise.
4357         (cosh_test_tonearest): Likewise.
4358         (cosh_test_towardzero): Likewise.
4359         (cosh_test_downward): Likewise.
4360         (cosh_test_upward): Likewise.
4361         (cpow_test): Use END_COMPLEX macro without arguments.
4362         (cproj_test): Likewise.
4363         (creal_test): Use END macro without arguments.
4364         (csin_test): Use END_COMPLEX macro without arguments.
4365         (csinh_test): Likewise.
4366         (csqrt_test): Likewise.
4367         (ctan_test): Likewise.
4368         (ctan_test_tonearest): Likewise.
4369         (ctan_test_towardzero): Likewise.
4370         (ctan_test_downward): Likewise.
4371         (ctan_test_upward): Likewise.
4372         (ctanh_test): Likewise.
4373         (ctanh_test_tonearest): Likewise.
4374         (ctanh_test_towardzero): Likewise.
4375         (ctanh_test_downward): Likewise.
4376         (ctanh_test_upward): Likewise.
4377         (erf_test): Use END macro without arguments.
4378         (erfc_test): Likewise.
4379         (exp_test): Likewise.
4380         (exp_test_tonearest): Likewise.
4381         (exp_test_towardzero): Likewise.
4382         (exp_test_downward): Likewise.
4383         (exp_test_upward): Likewise.
4384         (exp10_test): Likewise.
4385         (exp2_test): Likewise.
4386         (expm1_test): Likewise.
4387         (fabs_test): Likewise.
4388         (fdim_test): Likewise.
4389         (finite_test): Likewise.
4390         (floor_test): Likewise.
4391         (fma_test): Likewise.
4392         (fma_test_towardzero): Likewise.
4393         (fma_test_downward): Likewise.
4394         (fma_test_upward): Likewise.
4395         (fmax_test): Likewise.
4396         (fmin_test): Likewise.
4397         (fmod_test): Likewise.
4398         (fpclassify_test): Likewise.
4399         (frexp_test): Likewise.
4400         (gamma_test): Likewise.
4401         (hypot_test): Likewise.
4402         (ilogb_test): Likewise.
4403         (isfinite_test): Likewise.
4404         (isgreater_test): Likewise.
4405         (isgreaterequal_test): Likewise.
4406         (isinf_test): Likewise.
4407         (isless_test): Likewise.
4408         (islessequal_test): Likewise.
4409         (islessgreater_test): Likewise.
4410         (isnan_test): Likewise.
4411         (isnormal_test): Likewise.
4412         (issignaling_test): Likewise.
4413         (isunordered_test): Likewise.
4414         (j0_test): Likewise.
4415         (j1_test): Likewise.
4416         (jn_test): Likewise.
4417         (ldexp_test): Likewise.
4418         (lgamma_test): Likewise.
4419         (lrint_test): Likewise.
4420         (lrint_test_tonearest): Likewise.
4421         (lrint_test_towardzero): Likewise.
4422         (lrint_test_downward): Likewise.
4423         (lrint_test_upward): Likewise.
4424         (llrint_test): Likewise.
4425         (llrint_test_tonearest): Likewise.
4426         (llrint_test_towardzero): Likewise.
4427         (llrint_test_downward): Likewise.
4428         (llrint_test_upward): Likewise.
4429         (log_test): Likewise.
4430         (log10_test): Likewise.
4431         (log1p_test): Likewise.
4432         (log2_test): Likewise.
4433         (logb_test): Likewise.
4434         (logb_test_downward): Likewise.
4435         (lround_test): Likewise.
4436         (llround_test): Likewise.
4437         (modf_test): Likewise.
4438         (nearbyint_test): Likewise.
4439         (nextafter_test): Likewise.
4440         (nexttoward_test): Likewise.
4441         (pow_test): Likewise.
4442         (pow_test_tonearest): Likewise.
4443         (pow_test_towardzero): Likewise.
4444         (pow_test_downward): Likewise.
4445         (pow_test_upward): Likewise.
4446         (remainder_test): Likewise.
4447         (remainder_test_tonearest): Likewise.
4448         (remainder_test_towardzero): Likewise.
4449         (remainder_test_downward): Likewise.
4450         (remainder_test_upward): Likewise.
4451         (remquo_test): Likewise.
4452         (rint_test): Likewise.
4453         (rint_test_tonearest): Likewise.
4454         (rint_test_towardzero): Likewise.
4455         (rint_test_downward): Likewise.
4456         (rint_test_upward): Likewise.
4457         (round_test): Likewise.
4458         (scalb_test): Likewise.
4459         (scalbn_test): Likewise.
4460         (scalbln_test): Likewise.
4461         (signbit_test): Likewise.
4462         (sin_test): Likewise.
4463         (sin_test_tonearest): Likewise.
4464         (sin_test_towardzero): Likewise.
4465         (sin_test_downward): Likewise.
4466         (sin_test_upward): Likewise.
4467         (sincos_test): Likewise.
4468         (sinh_test): Likewise.
4469         (sinh_test_tonearest): Likewise.
4470         (sinh_test_towardzero): Likewise.
4471         (sinh_test_downward): Likewise.
4472         (sinh_test_upward): Likewise.
4473         (sqrt_test): Likewise.
4474         (tan_test): Likewise.
4475         (tan_test_tonearest): Likewise.
4476         (tan_test_towardzero): Likewise.
4477         (tan_test_downward): Likewise.
4478         (tan_test_upward): Likewise.
4479         (tanh_test): Likewise.
4480         (tgamma_test): Likewise.
4481         (trunc_test): Likewise.
4482         (y0_test): Likewise.
4483         (y1_test): Likewise.
4484         (yn_test): Likewise.
4485         (significand_test): Likewise.
4487 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4489         [BZ #15381]
4490         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4492 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4494         [BZ #14894]
4495         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4496         __ppc_mdoio and __ppc_mdoom.
4497         * manual/platform.texi: Document new functions __ppc_yield,
4498         __ppc_mdoio and __ppc_mdoom.
4500 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4502         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4503         (main): Mention "tls" pseudo-hwcap is legacy.
4504         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4506 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4508         * math/gen-libm-test.pl (parse_args): Output only string of
4509         arguments as text for test name, not full call or descriptions of
4510         tests for extra outputs.
4511         (generate_testfile): Do not pass function name to parse_args.
4512         Generate this_func variable from START.
4513         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4514         field to arg_str.
4515         (struct test_ff_f_data): Likewise.
4516         (test_ff_f_data_nexttoward): Likewise.
4517         (struct test_fi_f_data): Likewise.
4518         (struct test_fl_f_data): Likewise.
4519         (struct test_if_f_data): Likewise.
4520         (struct test_fff_f_data): Likewise.
4521         (struct test_c_f_data): Likewise.
4522         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4523         (struct test_fF_f1_data): Likewise.
4524         (struct test_ffI_f1_data): Likewise.
4525         (struct test_c_c_data): Rename test_name field to arg_str.
4526         (struct test_cc_c_data): Likewise.
4527         (struct test_f_i_data): Likewise.
4528         (struct test_ff_i_data): Likewise.
4529         (struct test_f_l_data): Likewise.
4530         (struct test_f_L_data): Likewise.
4531         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4532         and extra2_name.
4533         (COMMON_TEST_SETUP): New macro.
4534         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4535         (COMMON_TEST_CLEANUP): Likewise.
4536         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4537         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4538         macros.
4539         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4540         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4541         macros.
4542         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4543         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4544         cleanup macros.
4545         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4546         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4547         macros.
4548         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4549         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4550         macros.
4551         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4552         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4553         cleanup macros.
4554         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4555         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4556         cleanup macros.
4557         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4558         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4559         cleanup macros.
4560         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4561         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4562         macros.
4563         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4564         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4565         macros.
4566         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4567         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4568         macros.
4569         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4570         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4571         cleanup macros.
4572         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4573         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4574         cleanup macros.
4575         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4576         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4577         macros.
4578         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4579         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4580         cleanup macros.
4581         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4582         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4583         macros.
4584         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4585         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4586         macros.
4587         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4588         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4589         cleanup macros.
4590         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4592 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4594         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4595         to _sifields.sigfault.
4596         (si_addr_lsb): Define new macro.
4597         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4598         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4599         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4601 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4603         [BZ #15441]
4604         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4605         returns -1.
4606         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4607         null return -1.
4608         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4609         loading the domain.
4611 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4613         * math/gen-libm-test.pl (parse_args): Do not include expected
4614         result in test name.
4615         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4616         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4617         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4618         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4619         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4622 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4624         * benchtests/Makefile: Sort function entries.
4626         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4627         tanh, asinh, acosh, atanh.
4628         * benchtests/acos-inputs: New file.
4629         * benchtests/acosh-inputs: New file.
4630         * benchtests/asin-inputs: New file.
4631         * benchtests/asinh-inputs: New file.
4632         * benchtests/atanh-inputs: New file.
4633         * benchtests/cosh-inputs: New file.
4634         * benchtests/log-inputs: New file.
4635         * benchtests/sinh-inputs: New file.
4636         * benchtests/tanh-inputs: New file.
4638 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4640         [BZ #15339]
4641         * posix/tst-getaddrinfo4.c: New test.
4642         * posix/Makefile (tests): Add it.
4644 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4646         [BZ #15339]
4647         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4648         when no services were used.
4649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4650         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4652 2013-05-21  Andreas Schwab  <schwab@suse.de>
4654         [BZ #15014]
4655         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4656         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4657         successful.
4658         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4659         redundant variable declarations and reallocation of buffer when
4660         parsing as IPv6 address.  Always set NSS status when called from
4661         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4662         buffer too small.  Correct computation of needed size.
4663         * nss/Makefile (tests): Add test-digits-dots.
4664         * nss/test-digits-dots.c: New test.
4666 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4668         * benchtests/Makefile: Remove instructions for adding
4669         benchmark tests.
4670         * benchtests/README: New file to explain how to execute and
4671         enhance the benchmark tests.
4673 2013-05-21  Andreas Schwab  <schwab@suse.de>
4675         [BZ #15493]
4676         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4677         * setjmp/tst-sigsetjmp.c: New test.
4679 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4681         * sysdeps/x86_64/memset.S (memset): New implementation.
4682         (__bzero): Likewise.
4683         (__memset_tail): New function.
4685 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4688         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4689         __memcpy_sse2_unaligned ifunc selection.
4690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4691         Add memcpy-sse2-unaligned.S.
4692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4693         Add: __memcpy_sse2_unaligned.
4695 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4697         [BZ #15490]
4698         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4699         math_force_eval before restoring floating-point envrionment.
4700         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4702         Likewise.
4703         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4704         <math_private.h>.
4705         (__nearbyintl): Use math_force_eval before restoring
4706         floating-point environment.
4707         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4709         * math/gen-libm-test.pl (special_functions): Remove.
4710         (parse_args): Don't handle TEST_extra.  Handle functions with no
4711         return value.
4712         * math/libm-test.inc (struct test_sincos_data): Replace with
4713         struct test_fFF_11_data.
4714         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4715         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4716         (sincos_test_data): Change element type to struct
4717         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4718         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4719         RUN_TEST_LOOP_sincos.
4720         * math/README.libm-test: Don't mention special handling of
4721         individual functions.
4722         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4723         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4724         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4726         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4729         * math/gen-libm-test.pl (get_variable): Remove function.
4730         (parse_args): Don't show pointer parameters to call in test
4731         names.  Use "extra output N" in test names for extra outputs
4732         rather than naming variables.
4734 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #15488]
4737         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4738         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4739         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4740         double tests.
4741         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4742         disable.
4743         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4744         check_long_double.
4746         * math/gen-libm-test.pl (@tests): Remove variable.
4747         ($count): Likewise.
4748         (new_test): Remove function.
4749         (show_exceptions): New function.
4750         (special_functions): Use show_exceptions instead of new_test.
4751         (parse_args): Likewise.
4752         (generate_testfile): Pass only function name in generated call to
4753         print_max_error or print_complex_max_error.
4754         (get_ulps): Do not handle complex tests specially.
4755         (output_test): Rename to ...
4756         (get_all_ulps_for_test): ... this.  Return a string rather than
4757         printing to a file.  Require ulps to be present.
4758         (output_ulps): Generate arrays rather than #defines.
4759         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4760         (struct ulp_data): New type.
4761         (BUILD_COMPLEX_ULP): Remove macro.
4762         (compare_ulp_data): New function.
4763         (find_ulps): Likewise.
4764         (find_test_ulps): Likewise.
4765         (find_function_ulps): Likewise.
4766         (find_complex_function_ulps): Likewise.
4767         (print_max_error): Determine allowed ulps using
4768         find_function_ulps.
4769         (print_complex_max_error): Determine allowed ulps using
4770         find_complex_function_ulps.
4771         (check_float_internal): Determine max ulps using find_test_ulps.
4772         (check_float): Do not take max_ulp parameter.  Update call to
4773         check_float_internal.
4774         (check_complex): Likewise.
4775         (check_int): Do not take max_ulp parameter.
4776         (check_long): Likewise.
4777         (check_bool): Likewise.
4778         (check_longlong): Likewise.
4779         (struct test_f_f_data): Remove max_ulp field.
4780         (struct test_ff_f_data): Likewise.
4781         (struct test_ff_f_data_nexttoward): Likewise.
4782         (struct test_fi_f_data): Likewise.
4783         (struct test_fl_f_data): Likewise.
4784         (struct test_if_f_data): Likewise.
4785         (struct test_fff_f_data): Likewise.
4786         (struct test_c_f_data): Likewise.
4787         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4788         (struct test_fF_f1_data): Likewise.
4789         (struct test_ffI_f1_data): Likewise.
4790         (struct test_c_c_data): Remove max_ulp field.
4791         (struct test_cc_c_data): Likewise.
4792         (struct test_f_i_data): Likewise.
4793         (struct test_ff_i_data): Likewise.
4794         (struct test_f_l_data): Likewise.
4795         (struct test_f_L_data): Likewise.
4796         (struct test_sincos_data): Likewise.
4797         (RUN_TEST_f_f): Do not handle ulps.
4798         (RUN_TEST_LOOP_f_f): Likewise.
4799         (RUN_TEST_2_f): Likewise.
4800         (RUN_TEST_LOOP_2_f): Likewise.
4801         (RUN_TEST_fff_f): Likewise.
4802         (RUN_TEST_LOOP_fff_f): Likewise.
4803         (RUN_TEST_c_f): Likewise.
4804         (RUN_TEST_LOOP_c_f): Likewise.
4805         (RUN_TEST_f_f1): Likewise.
4806         (RUN_TEST_LOOP_f_f1): Likewise.
4807         (RUN_TEST_fF_f1): Likewise.
4808         (RUN_TEST_LOOP_fF_f1): Likewise.
4809         (RUN_TEST_fI_f1): Likewise.
4810         (RUN_TEST_LOOP_fI_f1): Likewise.
4811         (RUN_TEST_ffI_f1): Likewise.
4812         (RUN_TEST_LOOP_ffI_f1): Likewise.
4813         (RUN_TEST_c_c): Likewise.
4814         (RUN_TEST_LOOP_c_c): Likewise.
4815         (RUN_TEST_cc_c): Likewise.
4816         (RUN_TEST_LOOP_cc_c): Likewise.
4817         (RUN_TEST_f_i): Likewise.
4818         (RUN_TEST_LOOP_f_i): Likewise.
4819         (RUN_TEST_f_i_tg): Likewise.
4820         (RUN_TEST_LOOP_f_i_tg): Likewise.
4821         (RUN_TEST_ff_i_tg): Likewise.
4822         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4823         (RUN_TEST_f_b): Likewise.
4824         (RUN_TEST_LOOP_f_b): Likewise.
4825         (RUN_TEST_f_b_tg): Likewise.
4826         (RUN_TEST_LOOP_f_b_tg): Likewise.
4827         (RUN_TEST_f_l): Likewise.
4828         (RUN_TEST_LOOP_f_l): Likewise.
4829         (RUN_TEST_f_L): Likewise.
4830         (RUN_TEST_LOOP_f_L): Likewise.
4831         (RUN_TEST_sincos): Likewise.
4832         (RUN_TEST_LOOP_sincos): Likewise.
4834 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4836         [BZ #15480]
4837         [BZ #15485]
4838         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4839         main case of finite arguments, set rounding mode to FE_TONEAREST
4840         and discard exceptions.
4841         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4842         exceptions.
4843         (remainder_tonearest_test_data): New variable.
4844         (remainder_test_tonearest): New function.
4845         (remainder_towardzero_test_data): New variable.
4846         (remainder_test_towardzero): New function.
4847         (remainder_downward_test_data): New variable.
4848         (remainder_test_downward): New function.
4849         (remainder_upward_test_data): New variable.
4850         (remainder_test_upward): New function.
4851         (main): Call the new test functions.
4853         * math/libm-test.inc (struct test_f_f1_data): Remove field
4854         extra_init.
4855         (struct test_fF_f1_data): Likewise.
4856         (struct test_ffI_f1_data): Likewise.
4857         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4858         based on value of EXTRA_EXPECTED.
4859         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4860         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4861         EXTRA_VAR based on value of EXTRA_EXPECTED.
4862         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4863         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4864         EXTRA_VAR based on value of EXTRA_EXPECTED.
4865         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4866         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4867         EXTRA_VAR based on value of EXTRA_EXPECTED.
4868         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4869         * math/gen-libm-test.pl (parse_args): Don't output initializers
4870         for extra output values.
4872         * math/libm-test.inc (check_int): Expect result to be exactly
4873         equal to expected value and do not handle ulps.
4874         (check_long): Likewise.
4875         (check_longlong): Likewise.
4877         * math/libm-test.inc (ceil_test_data): Test for "inexact"
4878         exceptions.
4879         (cimag_test_data): Likewise.
4880         (conj_test_data): Likewise.
4881         (copysign_test_data): Likewise.
4882         (cproj_test_data): Likewise.
4883         (creal_test_data): Likewise.
4884         (fabs_test_data): Likewise.
4885         (fdim_test_data): Likewise.
4886         (finite_test_data): Likewise.
4887         (floor_test_data): Likewise.
4888         (fmax_test_data): Likewise.
4889         (fmin_test_data): Likewise.
4890         (fmod_test_data): Likewise.
4891         (fpclassify_test_data): Likewise.
4892         (frexp_test_data): Likewise.
4893         (ilogb_test_data): Likewise.
4894         (isfinite_test_data): Likewise.
4895         (isgreater_test_data): Likewise.
4896         (isgreaterequal_test_data): Likewise.
4897         (isinf_test_data): Likewise.
4898         (isless_test_data): Likewise.
4899         (islessequal_test_data): Likewise.
4900         (islessgreater_test_data): Likewise.
4901         (isnan_test_data): Likewise.
4902         (isnormal_test_data): Likewise.
4903         (issignaling_test_data): Likewise.
4904         (isunordered_test_data): Likewise.
4905         (ldexp_test_data): Likewise.
4906         (lrint_test_data): Likewise.
4907         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4908         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4909         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4910         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4911         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4912         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4913         test input.
4914         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4915         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4916         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4917         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4918         that test input.
4919         (lrint_downward_test_data): Test for "inexact" exceptions.
4920         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4921         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4922         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4923         test input.
4924         (lrint_upward_test_data): Test for "inexact" exceptions.
4925         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4926         test input.
4927         (llrint_test_data): Test for "inexact" exceptions.
4928         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4929         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4930         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4931         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4932         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4933         (llrint_downward_test_data): Test for "inexact" exceptions.
4934         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4935         (llrint_upward_test_data): Test for "inexact" exceptions.
4936         (logb_test_data): Likewise.
4937         (logb_downward_test_data): Likewise.
4938         (nextafter_test_data): Likewise.
4939         (nexttoward_test_data): Likewise.
4940         (remainder_test_data): Likewise.
4941         (remquo_test_data): Likewise.
4942         (scalbn_test_data): Likewise.
4943         (scalbln_test_data): Likewise.
4944         (signbit_test_data): Likewise.
4945         (sqrt_test_data): Likewise.
4946         (significand_test_data): Likewise.
4948 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4950         [BZ #15424]
4951         * benchtests/bench-modf.c (struct args): Mark arg0 as
4952         volatile.
4953         * scripts/bench.pl: Mark members of struct args as volatile.
4955 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4957         [BZ # 15497]
4958         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4959         negative infinity on POWER6 or lower.
4960         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4962 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4964         [BZ #15442]
4965         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4966         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4967         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4968         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4969         (_FP_SETQNAN): New macro.
4970         (_FP_SETQNAN_SEMIRAW): Likewise.
4971         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4972         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4973         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4974         (FP_EXTEND): Use _FP_FRAC_SNANP.
4975         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4976         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4977         into account.
4978         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4979         New macro.
4980         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4981         Likewise.
4983 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4985         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4986         with DIVIDE_BY_ZERO_EXCEPTION.
4987         (gamma_test_data): Likewise.
4988         (lgamma_test_data): Likewise.
4989         (log_test_data): Likewise.
4990         (log10_test_data): Likewise.
4991         (log2_test_data): Likewise.
4992         (tgamma_test_data): Likewise.
4994         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4995         (acos_test_tonearest): Likewise.
4996         (acos_test_towardzero): Likewise.
4997         (acos_test_downward): Likewise.
4998         (acos_test_upward): Likewise.
4999         (acosh_test): Likewise.
5000         (asin_test): Likewise.
5001         (asin_test_tonearest): Likewise.
5002         (asin_test_towardzero): Likewise.
5003         (asin_test_downward): Likewise.
5004         (asin_test_upward): Likewise.
5005         (asinh_test): Likewise.
5006         (atan_test): Likewise.
5007         (atanh_test): Likewise.
5008         (atan2_test): Likewise.
5009         (cabs_test): Likewise.
5010         (cacos_test): Likewise.
5011         (cacosh_test): Likewise.
5012         (casin_test): Likewise.
5013         (casinh_test): Likewise.
5014         (catan_test): Likewise.
5015         (catanh_test): Likewise.
5016         (cbrt_test): Likewise.
5017         (ccos_test): Likewise.
5018         (ccosh_test): Likewise.
5019         (cexp_test): Likewise.
5020         (clog_test): Likewise.
5021         (clog10_test): Likewise.
5022         (cos_test): Likewise.
5023         (cos_test_tonearest): Likewise.
5024         (cos_test_towardzero): Likewise.
5025         (cos_test_downward): Likewise.
5026         (cos_test_upward): Likewise.
5027         (cosh_test): Likewise.
5028         (cosh_test_tonearest): Likewise.
5029         (cosh_test_towardzero): Likewise.
5030         (cosh_test_downward): Likewise.
5031         (cosh_test_upward): Likewise.
5032         (cpow_test): Likewise.
5033         (csin_test): Likewise.
5034         (csinh_test): Likewise.
5035         (csqrt_test): Likewise.
5036         (ctan_test): Likewise.
5037         (ctan_test_tonearest): Likewise.
5038         (ctan_test_towardzero): Likewise.
5039         (ctan_test_downward): Likewise.
5040         (ctan_test_upward): Likewise.
5041         (ctanh_test): Likewise.
5042         (ctanh_test_tonearest): Likewise.
5043         (ctanh_test_towardzero): Likewise.
5044         (ctanh_test_downward): Likewise.
5045         (ctanh_test_upward): Likewise.
5046         (erf_test): Likewise.
5047         (erfc_test): Likewise.
5048         (exp_test): Likewise.
5049         (exp_test_tonearest): Likewise.
5050         (exp_test_towardzero): Likewise.
5051         (exp_test_downward): Likewise.
5052         (exp_test_upward): Likewise.
5053         (exp10_test): Likewise.
5054         (exp2_test): Likewise.
5055         (expm1_test): Likewise.
5056         (fmod_test): Likewise.
5057         (gamma_test): Likewise.
5058         (hypot_test): Likewise.
5059         (j0_test): Likewise.
5060         (j1_test): Likewise.
5061         (jn_test): Likewise.
5062         (lgamma_test): Likewise.
5063         (log_test): Likewise.
5064         (log10_test): Likewise.
5065         (log1p_test): Likewise.
5066         (log2_test): Likewise.
5067         (logb_test_downward): Likewise.
5068         (pow_test): Likewise.
5069         (pow_test_tonearest): Likewise.
5070         (pow_test_towardzero): Likewise.
5071         (pow_test_downward): Likewise.
5072         (pow_test_upward): Likewise.
5073         (remainder_test): Likewise.
5074         (remquo_test): Likewise.
5075         (sin_test): Likewise.
5076         (sin_test_tonearest): Likewise.
5077         (sin_test_towardzero): Likewise.
5078         (sin_test_downward): Likewise.
5079         (sin_test_upward): Likewise.
5080         (sincos_test): Likewise.
5081         (sinh_test): Likewise.
5082         (sinh_test_tonearest): Likewise.
5083         (sinh_test_towardzero): Likewise.
5084         (sinh_test_downward): Likewise.
5085         (sinh_test_upward): Likewise.
5086         (sqrt_test): Likewise.
5087         (tan_test): Likewise.
5088         (tan_test_tonearest): Likewise.
5089         (tan_test_towardzero): Likewise.
5090         (tan_test_downward): Likewise.
5091         (tan_test_upward): Likewise.
5092         (tanh_test): Likewise.
5093         (tgamma_test): Likewise.
5094         (y0_test): Likewise.
5095         (y1_test): Likewise.
5096         (yn_test): Likewise.
5098         * math/gen-libm-test.pl (adjust_arg): Remove function.
5099         (special_function): Remove argument $in_func.  Only handle
5100         generating output for tables of tests, not inside functions.
5101         (parse_args): Likewise.
5102         (generate_testfile): Remove variable $in_func.  Update call to
5103         parse_args.
5104         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5105         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5106         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5107         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5108         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5109         (MAX_VALUE_INIT): Rename macro to max_value.
5110         (MIN_VALUE_INIT): Rename macro to min_value.
5111         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5112         (plus_zero): Remove variable.
5113         (minus_zero): Likewise.
5114         (plus_infty): Likewise.
5115         (minus_infty): Likewise.
5116         (qnan_value): Likewise.
5117         (max_value): Likewise.
5118         (min_value): Likewise.
5119         (min_subnorm_value): Likewise.
5121 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5123         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5124         uint64_t or uint32_t usage.
5125         * crypt/sha256-block.c: Likewise.
5126         * crypt/sha256-crypt.c: Likewise.
5127         * crypt/sha256.c: Likewise.
5128         * crypt/sha512-block.c: Likewise.
5129         * crypt/sha512-crypt.c: Likewise.
5130         * crypt/sha512.c: Likewise.
5131         * debug/backtrace-tst.c: Likewise.
5132         * debug/pcprofiledump.c: Likewise.
5133         * elf/cache.c: Likewise.
5134         * elf/dl-cache.c: Likewise.
5135         * elf/dl-misc.c: Likewise.
5136         * elf/dl-profile.c: Likewise.
5137         * elf/dl-support.c: Likewise.
5138         * elf/ldconfig.c: Likewise.
5139         * elf/sprof.c: Likewise.
5140         * iconv/dummy-repertoire.c: Likewise.
5141         * iconv/iconv_charmap.c: Likewise.
5142         * iconv/skeleton.c: Likewise.
5143         * iconvdata/8bit-generic.c: Likewise.
5144         * iconvdata/cp737.h: Likewise.
5145         * iconvdata/cp775.h: Likewise.
5146         * iconvdata/ibm1008.h: Likewise.
5147         * iconvdata/ibm1025.h: Likewise.
5148         * iconvdata/ibm1046.h: Likewise.
5149         * iconvdata/ibm1097.h: Likewise.
5150         * iconvdata/ibm1112.h: Likewise.
5151         * iconvdata/ibm1122.h: Likewise.
5152         * iconvdata/ibm1123.h: Likewise.
5153         * iconvdata/ibm1124.h: Likewise.
5154         * iconvdata/ibm1129.h: Likewise.
5155         * iconvdata/ibm1130.h: Likewise.
5156         * iconvdata/ibm1132.h: Likewise.
5157         * iconvdata/ibm1133.h: Likewise.
5158         * iconvdata/ibm1137.h: Likewise.
5159         * iconvdata/ibm1140.h: Likewise.
5160         * iconvdata/ibm1141.h: Likewise.
5161         * iconvdata/ibm1142.h: Likewise.
5162         * iconvdata/ibm1143.h: Likewise.
5163         * iconvdata/ibm1144.h: Likewise.
5164         * iconvdata/ibm1145.h: Likewise.
5165         * iconvdata/ibm1146.h: Likewise.
5166         * iconvdata/ibm1147.h: Likewise.
5167         * iconvdata/ibm1148.h: Likewise.
5168         * iconvdata/ibm1149.h: Likewise.
5169         * iconvdata/ibm1153.h: Likewise.
5170         * iconvdata/ibm1154.h: Likewise.
5171         * iconvdata/ibm1155.h: Likewise.
5172         * iconvdata/ibm1156.h: Likewise.
5173         * iconvdata/ibm1157.h: Likewise.
5174         * iconvdata/ibm1158.h: Likewise.
5175         * iconvdata/ibm1160.h: Likewise.
5176         * iconvdata/ibm1161.h: Likewise.
5177         * iconvdata/ibm1162.h: Likewise.
5178         * iconvdata/ibm1163.h: Likewise.
5179         * iconvdata/ibm1164.h: Likewise.
5180         * iconvdata/ibm1166.h: Likewise.
5181         * iconvdata/ibm1167.h: Likewise.
5182         * iconvdata/ibm12712.h: Likewise.
5183         * iconvdata/ibm1390.h: Likewise.
5184         * iconvdata/ibm1399.h: Likewise.
5185         * iconvdata/ibm16804.h: Likewise.
5186         * iconvdata/ibm4517.h: Likewise.
5187         * iconvdata/ibm4899.h: Likewise.
5188         * iconvdata/ibm4909.h: Likewise.
5189         * iconvdata/ibm4971.h: Likewise.
5190         * iconvdata/ibm5347.h: Likewise.
5191         * iconvdata/ibm803.h: Likewise.
5192         * iconvdata/ibm856.h: Likewise.
5193         * iconvdata/ibm901.h: Likewise.
5194         * iconvdata/ibm902.h: Likewise.
5195         * iconvdata/ibm9030.h: Likewise.
5196         * iconvdata/ibm9066.h: Likewise.
5197         * iconvdata/ibm921.h: Likewise.
5198         * iconvdata/ibm922.h: Likewise.
5199         * iconvdata/ibm9448.h: Likewise.
5200         * iconvdata/isiri-3342.h: Likewise.
5201         * iconvdata/jis0201.h: Likewise.
5202         * include/link.h: Likewise.
5203         * include/netdb.h: Likewise.
5204         * inet/check_native.c: Likewise.
5205         * inet/check_pf.c: Likewise.
5206         * inet/getipv4sourcefilter.c: Likewise.
5207         * inet/getnameinfo.c: Likewise.
5208         * inet/getsourcefilter.c: Likewise.
5209         * inet/htonl.c: Likewise.
5210         * inet/setipv4sourcefilter.c: Likewise.
5211         * inet/setsourcefilter.c: Likewise.
5212         * inet/test-inet6_opt.c: Likewise.
5213         * inet/tst-network.c: Likewise.
5214         * locale/C-collate.c: Likewise.
5215         * locale/C-ctype.c: Likewise.
5216         * locale/C-time.c: Likewise.
5217         * locale/C-translit.h: Likewise.
5218         * locale/loadarchive.c: Likewise.
5219         * locale/programs/3level.h: Likewise.
5220         * locale/programs/charmap.c: Likewise.
5221         * locale/programs/charmap.h: Likewise.
5222         * locale/programs/ld-address.c: Likewise.
5223         * locale/programs/ld-collate.c: Likewise.
5224         * locale/programs/ld-ctype.c: Likewise.
5225         * locale/programs/ld-identification.c: Likewise.
5226         * locale/programs/ld-measurement.c: Likewise.
5227         * locale/programs/ld-messages.c: Likewise.
5228         * locale/programs/ld-monetary.c: Likewise.
5229         * locale/programs/ld-name.c: Likewise.
5230         * locale/programs/ld-numeric.c: Likewise.
5231         * locale/programs/ld-paper.c: Likewise.
5232         * locale/programs/ld-telephone.c: Likewise.
5233         * locale/programs/ld-time.c: Likewise.
5234         * locale/programs/linereader.c: Likewise.
5235         * locale/programs/locale.c: Likewise.
5236         * locale/programs/locarchive.c: Likewise.
5237         * locale/programs/locfile.h: Likewise.
5238         * locale/programs/repertoire.c: Likewise.
5239         * locale/programs/simple-hash.c: Likewise.
5240         * locale/programs/simple-hash.h: Likewise.
5241         * malloc/memusage.c: Likewise.
5242         * malloc/memusagestat.c: Likewise.
5243         * nis/nis_defaults.c: Likewise.
5244         * nis/nis_hash.c: Likewise.
5245         * nis/nis_print.c: Likewise.
5246         * nis/nis_xdr.c: Likewise.
5247         * nscd/connections.c: Likewise.
5248         * nscd/hstcache.c: Likewise.
5249         * nscd/nscd_gethst_r.c: Likewise.
5250         * nscd/nscd_getserv_r.c: Likewise.
5251         * nscd/nscd_helper.c: Likewise.
5252         * nscd/servicescache.c: Likewise.
5253         * nss/makedb.c: Likewise.
5254         * nss/nss_db/db-XXX.c: Likewise.
5255         * nss/nss_db/db-initgroups.c: Likewise.
5256         * nss/nss_db/db-netgrp.c: Likewise.
5257         * nss/nss_files/files-network.c: Likewise.
5258         * nss/nss_files/files-parse.c: Likewise.
5259         * posix/bug-regex5.c: Likewise.
5260         * posix/fnmatch_loop.c: Likewise.
5261         * posix/regcomp.c: Likewise.
5262         * posix/regexec.c: Likewise.
5263         * posix/tst-rfc3484-2.c: Likewise.
5264         * posix/tst-rfc3484-3.c: Likewise.
5265         * posix/tst-rfc3484.c: Likewise.
5266         * resolv/nss_dns/dns-canon.c: Likewise.
5267         * resolv/nss_dns/dns-network.c: Likewise.
5268         * resolv/res_init.c: Likewise.
5269         * resolv/res_mkquery.c: Likewise.
5270         * resolv/tst-aton.c: Likewise.
5271         * stdlib/cxa_atexit.c: Likewise.
5272         * stdlib/cxa_finalize.c: Likewise.
5273         * stdlib/gen-fpioconst.c: Likewise.
5274         * stdlib/strtol_l.c: Likewise.
5275         * string/tst-endian.c: Likewise.
5276         * sunrpc/auth_des.c: Likewise.
5277         * sunrpc/clnt_udp.c: Likewise.
5278         * sunrpc/rtime.c: Likewise.
5279         * sunrpc/svcauth_des.c: Likewise.
5280         * sunrpc/xdr.c: Likewise.
5281         * sunrpc/xdr_intXX_t.c: Likewise.
5282         * sunrpc/xdr_rec.c: Likewise.
5283         * sysdeps/generic/ldconfig.h: Likewise.
5284         * sysdeps/generic/ldsodefs.h: Likewise.
5285         * sysdeps/generic/memusage.h: Likewise.
5286         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5287         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5288         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5289         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5290         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5292         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5294         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5295         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5296         * sysdeps/posix/getaddrinfo.c: Likewise.
5297         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5298         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5299         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5300         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5301         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5302         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5303         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5304         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5305         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5306         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5307         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5308         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5309         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5310         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5311         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5312         * sysdeps/x86_64/dl-tls.h: Likewise.
5313         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5314         * time/alt_digit.c: Likewise.
5315         * time/era.c: Likewise.
5316         * wcsmbs/tst-c16c32-1.c: Likewise.
5318 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5320         * math/libm-test.inc (struct test_sincos_data): New type.
5321         (RUN_TEST_LOOP_sincos): New macro.
5322         (sincos_test_data): New variable.
5323         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5325 2013-05-16  Richard Henderson  <rth@redhat.com>
5327         * math/atest-exp2.c (LIMB64): New macro.
5328         (CONSTSZ): New macro.
5329         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5330         (hexdig): Move ...
5331         (print_mpn_fp): ... to function scope.
5332         (read_mpn_hex): Remove.
5333         (get_log2): Remove.
5334         (exp2_mpn): Use mp_log2.
5335         (main): Use mp_exp1.
5337 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5339         * math/libm-test.inc: Remove comment about not testing "inexact"
5340         exceptions.
5341         (INEXACT_EXCEPTION): New macro.
5342         (NO_INEXACT_EXCEPTION): Likewise.
5343         (INVALID_EXCEPTION_OK): Update value.
5344         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5345         (OVERFLOW_EXCEPTION_OK): Likewise.
5346         (UNDERFLOW_EXCEPTION_OK): Likewise.
5347         (IGNORE_ZERO_INF_SIGN): Likewise.
5348         (ERRNO_UNCHANGED): Likewise.
5349         (ERRNO_EDOM): Likewise.
5350         (ERRNO_ERANGE): Likewise.
5351         (test_exceptions): Handle testing "inexact" exceptions.
5352         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5353         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5354         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5355         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5356         INEXACT_EXCEPTION.
5357         (rint_towardzero_test_data): Likewise.
5358         (rint_downward_test_data): Likewise.
5359         (rint_upward_test_data): Likewise.
5361         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5362         with OVERFLOW_EXCEPTION.
5363         (exp10_test_data): Likewise.
5364         (exp2_test_data): Likewise.
5365         (expm1_test_data): Likewise.
5366         (lgamma_test_data): Likewise.
5367         (pow_test_data): Likewise.
5368         (tgamma_test_data): Likewise.
5369         (yn_test_data): Remove duplicate test of overflow.
5371         * math/libm-test.inc (struct test_cc_c_data): New type.
5372         (RUN_TEST_LOOP_cc_c): New macro.
5373         (cpow_test_data): New variable.
5374         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5376         * math/libm-test.inc (struct test_f_L_data): New type.
5377         (RUN_TEST_LOOP_f_L): New macro.
5378         (llrint_test_data): New variable.
5379         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5380         (llrint_tonearest_test_data): New variable.
5381         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5382         (llrint_towardzero_test_data): New variable.
5383         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5384         (llrint_downward_test_data): New variable.
5385         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5386         (llrint_upward_test_data): New variable.
5387         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5388         (llround_test_data): New variable.
5389         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5391 2013-05-13  Peter Collingbourne  <pcc@google.com>
5393         * math/atest-exp2.c (get_log2): Remove const attribute.
5395 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5397         * math/libm-test.inc (struct test_f_l_data): New type.
5398         (RUN_TEST_LOOP_f_l): New macro.
5399         (lrint_test_data): New variable.
5400         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5401         (lrint_tonearest_test_data): New variable.
5402         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5403         (lrint_towardzero_test_data): New variable.
5404         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5405         (lrint_downward_test_data): New variable.
5406         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5407         (lrint_upward_test_data): New variable.
5408         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5409         (lround_test_data): New variable.
5410         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5412 2013-05-15  Peter Collingbourne  <pcc@google.com>
5414         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5415         (EXTRACT_WORDS64) Use where appropriate.
5416         (INSERT_WORDS64) Likewise.
5418         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5419         constraints with x constraints.
5420         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5422         * malloc/obstack.c (_obstack_compat): Add initializer.
5424 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5427         si_trapno and add si_addr_lsb to _sifields.sigfault.
5428         (si_trapno): Remove macro.
5429         (si_addr_lsb): Define new macro.
5430         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5432 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5434         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5435         instead of TEST_f_l.
5436         (llrint_test_tonearest): Likewise.
5437         (llrint_test_towardzero): Likewise.
5438         (llrint_test_downward): Likewise.
5439         (llrint_test_upward): Likewise.
5440         (llround_test): Likewise.
5442         * math/libm-test.inc (struct test_f_i_data): Add comment.
5443         (RUN_TEST_LOOP_f_b): New macro.
5444         (RUN_TEST_LOOP_f_b_tg): Likewise.
5445         (finite_test_data): New variable.
5446         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5447         (isfinite_test_data): New variable.
5448         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5449         (isinf_test_data): New variable.
5450         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5451         (isnan_test_data): New variable.
5452         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5453         (isnormal_test_data): New variable.
5454         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5455         (issignaling_test_data): New variable.
5456         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5457         (signbit_test_data): New variable.
5458         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5460         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5461         with INVALID_EXCEPTION.
5462         (acosh_test_data): Likewise.
5463         (asin_test_data): Likewise.
5464         (atanh_test_data): Likewise.
5465         (fmod_test_data): Likewise.
5466         (log_test_data): Likewise.
5467         (log10_test_data): Likewise.
5468         (log2_test_data): Likewise.
5469         (pow_test_data): Likewise.
5470         (sqrt_test_data): Likewise.
5471         (y0_test_data): Likewise.
5472         (y1_test_data): Likewise.
5473         (yn_test_data): Likewise.
5475         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5476         function contents.
5478         * math/libm-test.inc (struct test_ff_i_data): New type.
5479         (RUN_TEST_LOOP_ff_i_tg): New macro.
5480         (isgreater_test_data): New variable.
5481         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5482         (isgreaterequal_test_data): New variable.
5483         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5484         (isless_test_data): New variable.
5485         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5486         (islessequal_test_data): New variable.
5487         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5488         (islessgreater_test_data): New variable.
5489         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5490         (isunordered_test_data): New variable.
5491         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5493 2013-05-14  David S. Miller  <davem@davemloft.net>
5495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5497 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5499         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5501         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5502         extra_test to int.
5503         (struct test_f_i_data): Change type of max_ulp to int.
5505         * math/libm-test.inc (test_ffI_f1_data): New type.
5506         (RUN_TEST_LOOP_ffI_f1): New macro.
5507         (remquo_test_data): New variable.
5508         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5510         * setjmp/tst-setjmp-fp.c: New file.
5511         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5512         (link-libm): New variable.
5513         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5515         * math/libm-test.inc (struct test_f_i_data): New type.
5516         (RUN_TEST_LOOP_f_i): New macro.
5517         (RUN_TEST_LOOP_f_i_tg): Likewise.
5518         (fpclassify_test_data): New variable.
5519         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5520         (ilogb_test_data): New variable.
5521         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5523         * math/libm-test.inc (scalbln_test): Correct function name in END
5524         call.
5526         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5527         (RUN_TEST_LOOP_fI_f1): New macro.
5528         (frexp_test_data): New variable.
5529         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5531         * math/libm-test.inc (struct test_fF_f1_data): New type.
5532         (RUN_TEST_LOOP_fF_f1): New macro.
5533         (modf_test_data): New variable.
5534         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5536         * math/libm-test.inc (struct test_f_f1_data): New type.
5537         (RUN_TEST_LOOP_f_f1): New macro.
5538         (gamma_test_data): New variable.
5539         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5540         (lgamma_test_data): New variable.
5541         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5543 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5545         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5546         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5547         (main): Comment "tls" pseudo-hwcap.
5549 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5551         * math/libm-test.inc (struct test_fl_f_data): New type.
5552         (RUN_TEST_LOOP_fl_f): New variable.
5553         (scalbln_test_data): New variable.
5554         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5556         * math/libm-test.inc (struct test_fi_f_data): New type.
5557         (RUN_TEST_LOOP_fi_f): New macro.
5558         (ldexp_test_data): New variable.
5559         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5560         (scalbn_test_data): New variable.
5561         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5563         * math/libm-test.inc (struct test_c_f_data): New type.
5564         (RUN_TEST_LOOP_c_f): New macro.
5565         (cabs_test_data): New variable.
5566         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5567         (carg_test_data): New variable.
5568         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5569         (cimag_test_data): New variable.
5570         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5571         (creal_test_data): New variable.
5572         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5574         * math/libm-test.inc (struct test_if_f_data): New type.
5575         (RUN_TEST_LOOP_if_f): New macro.
5576         (jn_test_data): New variable.
5577         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5578         (yn_test_data): New variable.
5579         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5581         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5583 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5585         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5586         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5588 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5590         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5591         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5592         (bench-deps): Add bench-timing.h.
5593         * benchtests-bench-skeleton.c: Include bench-timing.h.
5594         (main): Use TIMING_* macros instead of clock_gettime.
5595         * benchtests/bench-timing.h: New file.
5597         [BZ #14582]
5598         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5599         Renamed from _LIB_VERSION.
5600         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5602 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5604         * math/libm-test.inc (struct test_fff_f_data): New type.
5605         (RUN_TEST_LOOP_fff_f): New macro.
5606         (fma_test_data): New variable.
5607         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5608         (fma_towardzero_test_data): New variable.
5609         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5610         (fma_downward_test_data): New variable.
5611         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5612         (fma_upward_test_data): New variable.
5613         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5615         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5616         (struct test_c_c_data): New type.
5617         (RUN_TEST_LOOP_c_c): New macro.
5618         (cacos_test_data): New variable.
5619         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5620         (cacosh_test_data): New variable.
5621         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5622         (casin_test_data): New variable.
5623         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5624         (casinh_test_data): New variable.
5625         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5626         (catan_test_data): New variable.
5627         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5628         (catanh_test_data): New variable.
5629         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5630         (ccos_test_data): New variable.
5631         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5632         (ccosh_test_data): New variable.
5633         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5634         (cexp_test_data): New variable.
5635         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5636         (clog_test_data): New variable.
5637         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5638         (clog10_test_data): New variable.
5639         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5640         (conj_test_data): New variable.
5641         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5642         (cproj_test_data): New variable.
5643         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5644         (csin_test_data): New variable.
5645         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5646         (csinh_test_data): New variable.
5647         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5648         (csqrt_test_data): New variable.
5649         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5650         (ctan_test_data): New variable.
5651         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5652         (ctan_tonearest_test_data): New variable.
5653         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5654         (ctan_towardzero_test_data): New variable.
5655         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5656         (ctan_downward_test_data): New variable.
5657         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5658         (ctan_upward_test_data): New variable.
5659         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5660         (ctanh_test_data): New variable.
5661         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5662         (ctanh_tonearest_test_data): New variable.
5663         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5664         (ctanh_towardzero_test_data): New variable.
5665         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5666         (ctanh_downward_test_data): New variable.
5667         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5668         (ctanh_upward_test_data): New variable.
5669         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5670         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5671         of BUILD_COMPLEX.
5673         * math/libm-test.inc (struct test_ff_f_data): New type.
5674         (struct test_ff_f_data_nexttoward): Likewise.
5675         (RUN_TEST_LOOP_2_f): New macro.
5676         (RUN_TEST_LOOP_ff_f): Likewise.
5677         (atan2_test_data): New variable.
5678         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5679         (copysign_test_data): New variable.
5680         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5681         (fdim_test_data): New variable.
5682         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5683         (fmax_test_data): New variable.
5684         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5685         (fmin_test_data): New variable.
5686         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5687         (fmod_test_data): New variable.
5688         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5689         (hypot_test_data): New variable.
5690         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5691         (nextafter_test_data): New variable.
5692         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5693         (nexttoward_test_data): New variable.
5694         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5695         (pow_test_data): New variable.
5696         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5697         (pow_tonearest_test_data): New variable.
5698         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5699         (pow_towardzero_test_data): New variable.
5700         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5701         (pow_downward_test_data): New variable.
5702         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5703         (pow_upward_test_data): New variable.
5704         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5705         (remainder_test_data): New variable.
5706         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5707         (scalb_test_data): New variable.
5708         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5709         * sysdeps/i386/fpu/libm-test-ulps: Update.
5711 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5713         * math/libm-test.inc (fma_test): Use max_value instead of local
5714         variable fltmax.
5715         (nextafter_test): Likewise.
5717         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5718         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5719         (acos_downward_test_data): New variable.
5720         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5721         (acos_upward_test_data): New variable.
5722         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5723         (acosh_test_data): New variable.
5724         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5725         (asin_test_data): New variable.
5726         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5727         (asin_tonearest_test_data): New variable.
5728         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5729         (asin_towardzero_test_data): New variable.
5730         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5731         (asin_downward_test_data): New variable.
5732         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5733         (asin_upward_test_data): New variable.
5734         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5735         (asinh_test_data): New variable.
5736         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5737         (atan_test_data): New variable.
5738         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5739         (atanh_test_data): New variable.
5740         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5741         (cbrt_test_data): New variable.
5742         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5743         (ceil_test_data): New variable.
5744         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5745         (cos_test_data): New variable.
5746         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5747         (cos_tonearest_test_data): New variable.
5748         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5749         (cos_towardzero_test_data): New variable.
5750         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5751         (cos_downward_test_data): New variable.
5752         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5753         (cos_upward_test_data): New variable.
5754         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5755         (cosh_test_data): New variable.
5756         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5757         (cosh_tonearest_test_data): New variable.
5758         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5759         (cosh_towardzero_test_data): New variable.
5760         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5761         (cosh_downward_test_data): New variable.
5762         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5763         (cosh_upward_test_data): New variable.
5764         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5765         (erf_test_data): New variable.
5766         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5767         (erfc_test_data): New variable.
5768         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5769         (exp_test_data): New variable.
5770         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5771         (exp_tonearest_test_data): New variable.
5772         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5773         (exp_towardzero_test_data): New variable.
5774         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5775         (exp_downward_test_data): New variable.
5776         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5777         (exp_upward_test_data): New variable.
5778         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5779         (exp10_test_data): New variable.
5780         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5781         (exp2_test_data): New variable.
5782         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5783         (expm1_test_data): New variable.
5784         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5785         (fabs_test_data): New variable.
5786         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5787         (floor_test_data): New variable.
5788         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5789         (j0_test_data): New variable.
5790         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5791         (j1_test_data): New variable.
5792         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5793         (log_test_data): New variable.
5794         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5795         (log10_test_data): New variable.
5796         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5797         (log1p_test_data): New variable.
5798         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5799         (log2_test_data): New variable.
5800         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5801         (logb_test_data): New variable.
5802         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5803         (logb_downward_test_data): New variable.
5804         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5805         (nearbyint_test_data): New variable.
5806         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5807         (rint_test_data): New variable.
5808         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5809         (rint_tonearest_test_data): New variable.
5810         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5811         (rint_towardzero_test_data): New variable.
5812         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5813         (rint_downward_test_data): New variable.
5814         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5815         (rint_upward_test_data): New variable.
5816         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5817         (round_test_data): New variable.
5818         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5819         (sin_test_data): New variable.
5820         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5821         (sin_tonearest_test_data): New variable.
5822         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5823         (sin_towardzero_test_data): New variable.
5824         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5825         (sin_downward_test_data): New variable.
5826         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5827         (sin_upward_test_data): New variable.
5828         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5829         (sinh_test_data): New variable.
5830         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5831         (sinh_tonearest_test_data): New variable.
5832         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5833         (sinh_towardzero_test_data): New variable.
5834         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5835         (sinh_downward_test_data): New variable.
5836         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5837         (sinh_upward_test_data): New variable.
5838         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5839         (sqrt_test_data): New variable.
5840         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5841         (tan_test_data): New variable.
5842         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5843         (tan_tonearest_test_data): New variable.
5844         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5845         (tan_towardzero_test_data): New variable.
5846         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5847         (tan_downward_test_data): New variable.
5848         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5849         (tan_upward_test_data): New variable.
5850         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5851         (tanh_test_data): New variable.
5852         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5853         (tgamma_test_data): New variable.
5854         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5855         (trunc_test_data): New variable.
5856         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5857         (y0_test_data): New variable.
5858         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5859         (y1_test_data): New variable.
5860         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5861         (significand_test_data): New variable.
5862         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5864 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5866         [BZ #12387]
5867         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5869 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5871         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5873 2013-05-10  Andreas Jaeger  <aj@suse.de>
5875         [BZ #15448]
5876         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5877         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5879 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5881         * math/gen-libm-test.pl (adjust_arg): New function.
5882         (special_functions): Handle generating output in both functions
5883         and arrays.
5884         (parse_args): Likewise.
5885         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
5886         $in_func argument to parse_args.
5887         * math/libm-test.inc (struct test_f_f_data): New type.
5888         (IF_ROUND_INIT_): New macro.
5889         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5890         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5891         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5892         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5893         (ROUND_RESTORE_): Likewise.
5894         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5895         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5896         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5897         (ROUND_RESTORE_FE_UPWARD): Likewise.
5898         (RUN_TEST_LOOP_f_f): New macro.
5899         (acos_test_data): New variable.
5900         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5901         (acos_tonearest_test_data): New variable.
5902         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5904 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5906         * benchtests/bench-skeleton.c (startup): Fix coding style.
5908 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5910         [BZ #6809]
5911         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5912         negative infinity argument.
5913         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5914         negative infinity argument.
5915         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5916         negative infinity argument.
5917         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5918         domain errors.
5920 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5922         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5923         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5924         * iconv/iconv_prog.c (main): Likewise.
5925         * locale/programs/charmap-dir.c (charmap_readdir)
5926         (fopen_uncompressed): Likewise.
5927         * locale/programs/locfile.c (siblings_uncached)
5928         (write_locale_data): Use lstat64 instead of lstat.
5929         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5930         stat.
5932 2013-05-10  Andreas Jaeger  <aj@suse.de>
5934         [BZ #15395]
5935         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5936         localization.
5937         Include <locale.h>.
5939 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5941         * elf/dl-close.c (_dl_close_worker): Add comments.
5943 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #15359]
5946         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5947         high part of pi/2.
5948         (__ieee754_rem_pio2l): Update comments.
5950         [BZ #15429]
5951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5952         high part of pi/2.
5953         (__ieee754_rem_pio2l): Update comments.
5955         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5956         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5958         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5959         M_PI_4l.
5961         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5962         (M_PI_34_LOG10El): Likewise.
5963         (M_PI2_LOG10El): Likewise.
5964         (M_PI4_LOG10El): Likewise.
5965         (M_PI_LOG10El): Likewise.
5967 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5971 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5973         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5974         (MINUS_ZERO_INIT): Likewise.
5975         (PLUS_INFTY_INIT): Likewise.
5976         (MINUS_INFTY_INIT): Likewise.
5977         (QNAN_VALUE_INIT): Likewise.
5978         (MAX_VALUE_INIT): Likewise.
5979         (MIN_VALUE_INIT): Likewise.
5980         (MIN_SUBNORM_VALUE_INIT): Likewise.
5981         (plus_zero): Initialize with PLUS_ZERO_INIT.
5982         (minus_zero): Initialize with MINUS_ZERO_INIT.
5983         (plus_infty): Initialize with PLUS_INFTY_INIT.
5984         (minus_infty): Initialize with MINUS_INFTY_INIT.
5985         (qnan_value): Initialize with QNAN_VALUE_INIT.
5986         (max_value): Initialize with MAX_VALUE_INIT.
5987         (min_value): Initialize with MIN_VALUE_INIT.
5988         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5990         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5991         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5992         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5993         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5995         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5996         (RUN_TEST_2_f): Likewise.
5997         (RUN_TEST_ff_f): Likewise.
5998         (RUN_TEST_fi_f): Likewise.
5999         (RUN_TEST_fl_f): Likewise.
6000         (RUN_TEST_fff_f): Likewise.
6001         (RUN_TEST_c_f): Likewise.
6002         (RUN_TEST_f_f1): Likewise.
6003         (RUN_TEST_fF_f1): Likewise.
6004         (RUN_TEST_fI_f1): Likewise.
6005         (RUN_TEST_ffI_f1): Likewise.
6006         (RUN_TEST_c_c): Likewise.
6007         (RUN_TEST_cc_c): Likewise.
6008         (RUN_TEST_f_i): Likewise.
6009         (RUN_TEST_f_i_tg): Likewise.
6010         (RUN_TEST_ff_i_tg): Likewise.
6011         (RUN_TEST_f_b): Likewise.
6012         (RUN_TEST_f_b_tg): Likewise.
6013         (RUN_TEST_f_l): Likewise.
6014         (RUN_TEST_f_L): Likewise.
6015         (RUN_TEST_sincos): Likewise.
6016         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6017         whether to show exceptions.  Do not include ");\n" in return
6018         value.
6019         (special_functions): Output call to RUN_TEST_sincos instead of
6020         check_float calls.  Update calls to new_test.
6021         (parse_args): Output call to single RUN_TEST_* macro instead of
6022         check_* calls and other assignments.  Update calls to new_test.
6024         [BZ #2546]
6025         [BZ #2560]
6026         [BZ #5159]
6027         [BZ #15426]
6028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6029         input to result for tgamma overflow.
6030         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6031         (gamma_coeff): New variable.
6032         (NCOEFF): New macro.
6033         (gamma_positive): New function.
6034         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6035         underflow here.  Use gamma_positive instead of exp (lgamma) for
6036         other arguments.
6037         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6038         (gamma_coeff): New variable.
6039         (NCOEFF): New macro.
6040         (gammaf_positive): New function.
6041         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6042         underflow here.  Use gamma_positive instead of exp (lgamma) for
6043         other arguments.
6044         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6045         (gamma_coeff): New variable.
6046         (NCOEFF): New macro.
6047         (gammal_positive): New function.
6048         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6049         underflow here.  Use gamma_positive instead of exp (lgamma) for
6050         other arguments.
6051         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6052         (gamma_coeff): New variable.
6053         (NCOEFF): New macro.
6054         (gammal_positive): New function.
6055         (__ieee754_gammal_r): Handle positive infinity, overflow and
6056         underflow here.  Handle NaN the same as positive infinity.  Remove
6057         check x < 0xffffffff for negative integers.  Use gamma_positive
6058         instead of exp (lgamma) for other arguments.
6059         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6060         (gamma_coeff): New variable.
6061         (NCOEFF): New macro.
6062         (gammal_positive): New function.
6063         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6064         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6065         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6066         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6067         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6068         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6069         * sysdeps/generic/math_private.h (__gamma_productf): New
6070         prototype.
6071         (__gamma_product): Likewise.
6072         (__gamma_productl): Likewise.
6073         * math/Makefile (libm-calls): Add gamma_product.
6074         * math/libm-test.inc (tgamma_test): Add more tests.
6075         * sysdeps/i386/fpu/libm-test-ulps: Update.
6076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6080         * benchtests/bench-skeleton.c (main): Preheat CPU.
6082 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6084         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6086 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6088         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6089         and _dl_skip_args_internal.
6091 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6093         * manual/message.texi (Message Translation): Talk about users.
6094         Message to key mapping impacts design.
6096 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6098         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6100         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6102         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6103         * sysdeps/wordsize-64/glob64.c: ... here.
6105         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6106         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6107         New macros.
6109         * debug/getlogin_r_chk.c: Moved to ...
6110         * login/getlogin_r_chk.c: ... here.
6111         * debug/Makefile (routines): Move getlogin_r_chk to ...
6112         * login/Makefile (routines): ... here.
6113         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6114         * login/Versions (libc: GLIBC_2.4): ... here.
6116         * io/poll.c (__poll): Renamed from poll.
6117         Add libc_hidden_def.
6118         (poll): Define as weak alias.
6120         * debug/ptsname_r_chk.c: Moved to ...
6121         * login/ptsname_r_chk.c: ... here.
6122         * debug/Makefile (routines): Move ptsname_r_chk to ...
6123         * login/Makefile (routines): ... here.
6124         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6125         * login/Versions (libc: GLIBC_2.4): ... here.
6127         * posix/getlogin.c: Moved to ...
6128         * login/getlogin.c: ... here.
6129         * posix/getlogin_r.c: Moved to ...
6130         * login/getlogin_r.c: ... here.
6131         * posix/getlogin_r.c: Moved to ...
6132         * login/getlogin_r.c: ... here.
6133         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6134         * login/Makefile (routines): ... here.
6135         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6136         * login/Versions (libc: GLIBC_2.0): ... here.
6138         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6139         (setrlimit): Define as weak alias.
6141         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6142         Call __ names for open, ftruncate, and close.
6143         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6144         (truncate): Define as weak alias.
6146 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6148         * math/gen-libm-test.pl (parse_args): Initialize x before each
6149         test of frexp, modf and remquo.
6151         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6152         test signgam value.
6154 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6156         [BZ #15418]
6157         [BZ #15419]
6158         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6159         internal tests.
6160         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6162 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6164         * elf/dl-writev.h: New file.
6165         * elf/dl-misc.c: Include it.
6166         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6167         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6169 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6171         * math/libm-test.inc (noXFails): Remove variable.
6172         (noXPasses): Likewise.
6173         (BUILD_COMPLEX_INT): Remove macro.
6174         (print_screen): Remove xfail argument.
6175         (print_screen_max_error): Likewise.
6176         (update_stats): Likewise.
6177         (print_max_error): Likewise.  Update calls to other affected
6178         functions.
6179         (print_complex_max_error): Likewise.
6180         (test_single_exception): Update calls to print_screen.
6181         (test_single_errno): Likewise.
6182         (check_float_internal): Remove xfail argument.  Update calls to
6183         other affected functions.
6184         (check_float): Likewise.
6185         (check_complex): Likewise.
6186         (check_int): Likewise.
6187         (check_long): Likewise.
6188         (check_bool): Likewise.
6189         (check_longlong): Likewise.
6190         (main): Don't print noXFails and noXPasses.
6191         * math/gen-libm-test.pl (top level): Don't mention expected
6192         failure handling in comment.
6193         (new_test): Don't handle expected failures.
6194         (parse_args): Don't mention expected failure handling in comment.
6195         (generate_testfile): Don't handle expected failures.
6196         (parse_ulps): Likewise.
6197         (print_ulps_file): Likewise.
6198         (get_failure): Remove function.
6199         (output_test): Don't handle expected failures.
6200         * make/README.libm-test: Don't mention expected failure handling.
6202         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6203         (minus_zero): Likewise.
6204         (plus_infty): Likewise.
6205         (minus_infty): Likewise.
6206         (qnan_value): Likewise.
6207         (max_value): Likewise.
6208         (min_value): Likewise.
6209         (min_subnorm_value): Likewise.
6210         (initialize): Do not initialize those variables dynamically.
6212 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6214         * io/open.c (__open_2): Moved to ...
6215         * io/open_2.c: ... this new file.
6216         * io/open64.c (__open64_2): Moved to ...
6217         * io/open64_2.c: ... this new file.
6218         * io/openat.c (__openat_2): Moved to ...
6219         * io/openat_2.c: ... this new file.
6220         * io/openat64.c (__openat64_2): Moved to ...
6221         * io/openat64_2.c: ... this new file.
6222         * io/Makefile (routines): Add them.
6223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6224         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6225         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6226         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6227         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6228         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6229         (__openat64): Add hidden_ver.
6230         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6231         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6233         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6234         Separately conditionalize setting of GLRO(dl_sysinfo) so
6235         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6236         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6238 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6240         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6242         definition.
6243         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6244         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6245         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6246         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6247         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6249 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6251         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6252         test signgam value.
6254         * math/libm-test.inc (hypot_test): Do not use
6255         IGNORE_ZERO_INF_SIGN.
6257 2013-05-03  Andreas Jaeger  <aj@suse.de>
6259         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6260         Linux 3.9.
6261         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6262         (PF_MAX): Adjust for VSOCK change.
6264 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6268 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6270         [BZ #15264]
6271         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6272         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6273         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6275 2013-05-02  David S. Miller  <davem@davemloft.net>
6277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6279 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6281         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6283 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6285         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6287 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6289         [BZ #14952]
6290         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6291         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6292         Use __attribute__ ((__gnu_inline__)).
6293         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6294         Don't use __attribute__ ((__gnu_inline__)).
6296 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #15423]
6299         * math/s_catan.c (__catan): Handle small real or imaginary part of
6300         input specially to avoid spurious underflow.
6301         * math/s_catanf.c (__catanf): Likewise.
6302         * math/s_catanh.c (__catanh): Likewise.
6303         * math/s_catanhf.c (__catanhf): Likewise.
6304         * math/s_catanhl.c (__catanhl): Likewise.
6305         * math/s_catanl.c (__catanl): Likewise.
6306         * math/libm-test.inc (catan_test): Add more tests.
6307         (catanh_test): Likewise.
6308         * sysdeps/i386/fpu/libm-test-ulps: Update.
6309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6311 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6315 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6317         [BZ #15416]
6318         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6319         accurately for denominator in atan2.
6320         * math/s_catanf.c (__catanf): Likewise.
6321         * math/s_catanh.c (__catanh): Likewise.
6322         * math/s_catanhf.c (__catanhf): Likewise.
6323         * math/s_catanhl.c (__catanhl): Likewise.
6324         * math/s_catanl.c (__catanl): Likewise.
6325         * math/libm-test.inc (catan_test): Add more tests.
6326         (catanh_test): Likewise.
6327         * sysdeps/i386/fpu/libm-test-ulps: Update.
6328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6332         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6334         * benchtests/Makefile (bench): Remove slow benchmarks.
6335         * benchtests/atan-inputs: Add slow benchmark inputs.
6336         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6337         (BENCH_FUNC): Accept variant offset.
6338         (VARIANT): Define.
6339         * benchtests/bench-skeleton.c (main): Run benchmark for each
6340         variant.
6341         * benchtests/cos-inputs: Add slow benchmark inputs.
6342         * benchtests/exp-inputs: Likewise.
6343         * benchtests/pow-inputs: Likewise.
6344         * benchtests/sin-inputs: Likewise.
6345         * benchtests/slowatan-inputs: Remove.
6346         * benchtests/slowatan.c: Remove.
6347         * benchtests/slowcos-inputs: Remove.
6348         * benchtests/slowcos.c: Remove.
6349         * benchtests/slowexp-inputs: Remove.
6350         * benchtests/slowexp.c: Remove.
6351         * benchtests/slowpow-inputs: Remove.
6352         * benchtests/slowpow.c: Remove.
6353         * benchtests/slowsin-inputs: Remove.
6354         * benchtests/slowsin.c: Remove.
6355         * benchtests/slowtan-inputs: Remove.
6356         * benchtests/slowtan.c: Remove.
6357         * benchtests/tan-inputs: Add slow benchmark inputs.
6358         * scripts/bench.pl: Parse comments and directives.
6360         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6361         in CPPFLAGS.
6362         ($(objpfx)bench-%.c): Remove *-ITER.
6363         * benchtests/bench-modf.c: Remove definition of ITER.
6364         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6365         (main): Loop for DURATION seconds instead of fixed number of
6366         iterations.
6367         * scripts/bench.pl: Don't expect iterations in parameters.
6369 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6371         * io/fchdir.c (__fchdir): Renamed from fchdir.
6372         (fchdir): Define as weak alias.
6374 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6376         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6377         (ERRNO_EDOM): Likewise.
6378         (ERRNO_ERANGE): Likewise.
6379         (noErrnoTests): New variable.
6380         (init_max_error): Set errno to 0.
6381         (test_single_errno): New function.
6382         (test_errno): Likewise.
6383         (check_float_internal): Call test_errno.  Set errno to 0.
6384         (check_complex): Refer to errno tests in comment.
6385         (check_int): Call test_errno.  Set errno to 0.
6386         (check_long): Likewise.
6387         (check_bool): Likewise.
6388         (check_longlong): Likewise.
6389         (cos_test): Use ERRNO_* flags for errno tests instead of
6390         check_int.
6391         (expm1_test): Likewise.
6392         (fmod_test): Likewise.
6393         (ilogb_test): Likewise.
6394         (lgamma_test): Likewise.
6395         (pow_test): Likewise.
6396         (remainder_test): Likewise.
6397         (sin_test): Likewise.
6398         (tan_test): Likewise.
6399         (yn_test): Likewise.
6400         (initialize): Set errno to 0.
6401         (main): Print number of errno tests.
6402         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6404 2013-04-29  Andreas Jaeger  <aj@suse.de>
6406         [BZ #15084]
6407         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6408         and RES_USEVC.
6410         [BZ #15085]
6411         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6412         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6413         unimplemented.
6415         [BZ #15380]
6416         * stdlib/random.c (__initstate): Return NULL if
6417         __initstate fails.
6419         [BZ #15086]
6420         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6421         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6422         RES_SNGLKUPREOP.
6424 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6428 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6430         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6431         of individual tests.
6432         (casin_test): Likewise.
6433         (casinh_test): Likewise.
6435 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6437         [BZ #15409]
6438         * math/s_catan.c (__catan): Handle arguments with large real or
6439         imaginary part separately without squaring.
6440         * math/s_catanf.c (__catanf): Likewise.
6441         * math/s_catanh.c (__catanh): Likewise.
6442         * math/s_catanhf.c (__catanhf): Likewise.
6443         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6444         and redefine.
6445         (__catanhl): Handle arguments with large real or imaginary part
6446         separately without squaring.
6447         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6448         and redefine.
6449         (__catanl): Handle arguments with large real or imaginary part
6450         separately without squaring.
6451         * math/libm-test.inc (catan_test): Add more tests.
6452         (catanh_test): Likewise.
6453         * sysdeps/i386/fpu/libm-test-ulps: Update.
6454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6456 2013-04-27  Andreas Jaeger  <aj@suse.de>
6458         [BZ #15007]
6459         * stdlib/stdlib.h: Update guards for qecvt.
6460         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6461         <stdlib.h>.
6463 2013-04-27  Allan McRae  <allan@archlinux.org>
6465         * sysdeps/i386/fpu/libm-test-ulps: Update.
6467 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6469         [BZ #15406]
6470         * math/s_catan.c: Include <float.h>.
6471         (__catan): Ensure underflow exception occurs for underflowed
6472         result.
6473         * math/s_catanf.c: Include <float.h>.
6474         (__catanf): Ensure underflow exception occurs for underflowed
6475         result.
6476         * math/s_catanh.c: Include <float.h>.
6477         (__catanh): Ensure underflow exception occurs for underflowed
6478         result.
6479         * math/s_catanhf.c: Include <float.h>.
6480         (__catanhf): Ensure underflow exception occurs for underflowed
6481         result.
6482         * math/s_catanhl.c: Include <float.h>.
6483         (__catanhl): Ensure underflow exception occurs for underflowed
6484         result.
6485         * math/s_catanl.c: Include <float.h>.
6486         (__catanl): Ensure underflow exception occurs for underflowed
6487         result.
6488         * math/libm-test.inc (catan_test): Add more tests.
6489         (catanh_test): Likewise.
6491         [BZ #15405]
6492         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6493         underflowed result.
6494         * math/s_ccoshf.c (__ccoshf): Likewise.
6495         * math/s_ccoshl.c (__ccoshl): Likewise.
6496         * math/s_csin.c (__csin): Likewise.
6497         * math/s_csinf.c (__csinf): Likewise.
6498         * math/s_csinh.c (__csinh): Likewise.
6499         * math/s_csinhf.c (__csinhf): Likewise.
6500         * math/s_csinhl.c (__csinhl): Likewise.
6501         * math/s_csinl.c (__csinl): Likewise.
6502         * math/libm-test.inc (ccos_test): Add more tests.
6503         (ccosh_test): Likewise.
6504         (csin_test): Likewise.
6505         (csinh_test): Likewise.
6507 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6509         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6510         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6511         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6512         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6513         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6514         powerpc/power5+/fpu folders.
6515         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6518 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6522 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6524         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6525         additions to variable.
6526         [$(config-machine) = x86_64] (modules-names): Likewise.
6527         ($(objpfx)tst-audit3): Remove dependency.
6528         ($(objpfx)tst-audit3.out): Likewise.
6529         ($(objpfx)tst-audit4): Likewise.
6530         ($(objpfx)tst-audit4.out): Likewise.
6531         ($(objpfx)tst-audit5): Likewise.
6532         ($(objpfx)tst-audit5.out): Likewise.
6533         ($(objpfx)tst-audit6): Likewise.
6534         ($(objpfx)tst-audit6.out): Likewise.
6535         ($(objpfx)tst-audit7): Likewise.
6536         ($(objpfx)tst-audit7.out): Likewise.
6537         (tst-audit3-ENV): Remove variable.
6538         (tst-audit4-ENV): Likewise.
6539         (tst-audit5-ENV): Likewise.
6540         (tst-audit6-ENV): Likewise.
6541         (tst-audit7-ENV): Likewise.
6542         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6543         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6544         addition to variable.
6545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6547         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6548         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6549         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6550         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6551         tst-audit3, tst-audit4 and tst-audit5.
6552         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6553         tst-audit6 and tst-audit7.
6554         [$(subdir) = elf] (modules-names): Add audit modules for those
6555         tests.
6556         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6557         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6558         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6559         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6560         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6561         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6562         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6563         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6564         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6565         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6566         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6567         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6568         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6569         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6570         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6571         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6572         Likewise.
6573         [$(subdir) = elf && $(config-cflags-avx) = yes]
6574         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6575         [$(subdir) = elf && $(config-cflags-avx) = yes]
6576         (CFLAGS-tst-auditmod4a.c): Likewise.
6577         [$(subdir) = elf && $(config-cflags-avx) = yes]
6578         (CFLAGS-tst-auditmod4b.c): Likewise.
6579         [$(subdir) = elf && $(config-cflags-avx) = yes]
6580         (CFLAGS-tst-auditmod6b.c): Likewise.
6581         [$(subdir) = elf && $(config-cflags-avx) = yes]
6582         (CFLAGS-tst-auditmod6c.c): Likewise.
6583         [$(subdir) = elf && $(config-cflags-avx) = yes]
6584         (CFLAGS-tst-auditmod7b.c): Likewise.
6585         * elf/tst-audit3.c: Move to ...
6586         * sysdeps/x86_64/tst-audit3.c: ... here.
6587         * elf/tst-audit4.c: Move to ...
6588         * sysdeps/x86_64/tst-audit4.c: ... here.
6589         * elf/tst-audit5.c: Move to ...
6590         * sysdeps/x86_64/tst-audit5.c: ... here.
6591         * elf/tst-audit6.c: Move to ...
6592         * sysdeps/x86_64/tst-audit6.c: ... here.
6593         * elf/tst-audit7.c: Move to ...
6594         * sysdeps/x86_64/tst-audit7.c: ... here.
6595         * elf/tst-auditmod3a.c: Move to ...
6596         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6597         * elf/tst-auditmod3b.c: Move to ...
6598         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6599         * elf/tst-auditmod4a.c: Move to ...
6600         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6601         * elf/tst-auditmod4b.c: Move to ...
6602         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6603         * elf/tst-auditmod5a.c: Move to ...
6604         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6605         * elf/tst-auditmod5b.c: Move to ...
6606         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6607         * elf/tst-auditmod6a.c: Move to ...
6608         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6609         * elf/tst-auditmod6b.c: Move to ...
6610         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6611         * elf/tst-auditmod6c.c: Move to ...
6612         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6613         * elf/tst-auditmod7a.c: Move to ...
6614         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6615         * elf/tst-auditmod7b.c: Move to ...
6616         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6618 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6620         [BZ #15366]
6621         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6622         define unconditionally.
6623         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6624         define unconditionally.
6625         (INT8_C, INT16_C, etc.): Likewise.
6627 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6629         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6630         __ehdr_start with hidden visibility.
6632         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6634 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6636         * math/libm-test.inc (cos_test): Use accurate hex constants.
6637         (sincost_test): Likewise.
6639 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6641         * math/libm-test.inc (catan_test): Add more tests.
6642         (catanh_test): Likewise.
6644         * math/s_catanf.c (__catanf): Use suffixed floating-point
6645         constants.
6646         * math/s_catanhf.c (__catanhf): Likewise.
6647         * math/s_catanhl.c (__catanhl): Likewise.
6648         * math/s_catanl.c (__catanl): Likewise.
6650         [BZ #15394]
6651         * math/s_catan.c (__catan): Calculate imaginary part of result
6652         with log1p not log unless computing log of number close to 0.
6653         * math/s_catanf.c (__catanf): Likewise.
6654         * math/s_catanl.c (__catanl): Likewise.
6655         * math/s_catanh.c (__catanh): Calculate real part of result with
6656         log1p not log unless computing log of number close to 0.
6657         * math/s_catanhf.c (__catanhf): Likewise.
6658         * math/s_catanhl.c (__catanhl): Likewise.
6659         * math/libm-test.inc (catan_test): Add more tests.
6660         (catanh_test): Likewise.
6661         * sysdeps/i386/fpu/libm-test-ulps: Update.
6662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6664 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6666         * benchtests/Makefile: Mention files in which fast and slow
6667         paths of math functions are implemented.
6669 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6671         * sysdeps/posix/timespec_get.c: New file.
6673 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6675         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6676         POWER.
6677         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6678         for POWER.
6679         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6680         powerpc/power5/fpu folders.
6681         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6682         * benchtests/Makefile: Add modf testcase.
6683         * benchtests/bench-modf.c: New file: Benchmark test for mo
6685 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6687         [BZ #14888]
6688         * time/Makefile (tests): Add tst-strptime-whitespace.
6689         * time/strptime_l.c (get_number): Use ISSPACE.
6690         (__strptime_internal): Likewise.
6691         * time/tst-strptime-whitespace.c: New test case.
6693 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6695         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6696         member.
6697         (_nss_files_init): Set it here.
6699 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6701         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6702         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6703         unsigned.
6705 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6707         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6709 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6712         size just once.
6714 2013-04-21  David S. Miller  <davem@davemloft.net>
6716         * po/ru.po: Update Russion translation from translation project.
6718 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6720         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6721         and setfsgid.
6723 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6725         * configure.in: Remove i386 configure warning. Remove i386 case.
6726         * configure: Regenerate.
6727         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6728         Add example to error message.
6729         * sysdeps/i386/configure: Regenerate.
6731 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6733         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6734         slowtan.
6735         * benchtests/cos-inputs: New file.
6736         * benchtests/slowcos-inputs: New file.
6737         * benchtests/slowcos.c: New file.
6738         * benchtests/slowtan-inputs: New file.
6739         * benchtests/slowtan.c: New file.
6740         * benchtests/tan-inputs: New file.
6742 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6744         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6745         considered kosher.
6747 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6749         * benchtests/Makefile: Include cppflags-iterator.mk to add
6750         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6752         * Makefile.in (bench-clean): New target.
6753         * benchtests/Makefile (bench-clean): Likewise.
6755 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6757         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6759 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6761         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6763 2013-04-15  Andreas Schwab  <schwab@suse.de>
6765         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6766         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6767         * nscd/pwdcache.c (cache_addpw): Likewise.
6768         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6769         more than recsize.
6771 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6773         * benchtests/Makefile (bench): Write all output to
6774         bench-out.tmp together.
6776 2013-04-15  Andreas Schwab  <schwab@suse.de>
6778         * nscd/nscd.c (main): Don't fork again after closing files.
6780 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6782         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6784         * benchtests/Rules (bench-deps): Collect dependencies into a
6785         single variable.  Add Makefile to dependencies.
6786         ($(objpfx)bench-%.c): Depend on bench-deps.
6788 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6789             Xavier Roche  <roche+kml2@exalead.com>
6791         [BZ #15361]
6792         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6793         just that it's a file descriptor.
6794         * manual/llio.texi (Synchronizing AIO Operations): Update description
6795         for EBADF error from aio_fsync.
6797 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6799         * Rules (bench): Move target definition...
6800         * benchtests/Makefile: ... here.
6802 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6804         * math/libm-test.inc (cos_test): Fix PI/2 test.
6805         (sincos_test): Likewise.
6806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6807         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6809 2013-04-11  Andreas Schwab  <schwab@suse.de>
6811         [BZ #13988]
6812         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6813         accept exponent character only when digits were seen.
6814         * stdio-common/Makefile (tests): Add bug26.
6815         * stdio-common/bug26.c: New file.
6817         [BZ #14293]
6818         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6819         non-freeable.
6821 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6823         * Makeconfig (rtld-prefix): Define built linker prefix.
6824         * Rules (run-bench): Use it.
6825         * math/Makefile (run-regen-ulps): Likewise.
6827         * Rules (bench): Remove eval.
6829 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6830             Roland McGrath  <roland@hack.frob.com>
6831             Ondrej Bilka  <neleai@seznam.cz>
6833         [BZ #15346]
6834         * time/getdate.c: Include ctype.h and alloca.h.
6835         (__getdate_r): Trim leading and trailing spaces of input.
6836         * time/tst-getdate.c (tests): Add tests with leading and
6837         trailing spaces.
6839 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6841         [BZ #14280]
6842         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6843         when computing value.
6845 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6847         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6848         Use testrun.sh to run libm tests.
6850         [BZ #15309]
6851         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6853 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6855         [BZ #15264]
6856         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6858 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6860         * Makefile.in (regen-ulps): New target.
6861         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6862         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6863         [ifneq (no,$(PERL)] (regen-ulps): New target.
6864         [ifeq (no,$(PERL)] (regen-ulps): New target.
6865         * math/libm-test.inc (ulps_file_name): Define.
6866         (output_dir): New variable.
6867         (options): Add "output-dir" option.
6868         (parse_opt): Handle 'o' case.
6869         (main): If output_dir is non-NULL use it as a prefix
6870         otherwise use "".
6871         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6873 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6875         [BZ #10060, #10062]
6876         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6877         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6878         fail configure if __sync_val_compare_and_swap is not inlined.
6879         * sysdeps/i386/configure: Regenerate.
6880         * configure.in: Build for i686 when configured for i386.
6881         * configure: Regenerate.
6882         * README: Remove i386 reference.
6884 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6886         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6887         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6889 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6891         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6892         (lmsnanval): New variables.
6893         (F): Add conversion tests.
6894         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6895         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6897         * stdio-common/tstdiomisc.c (F): Properly collect individual
6898         tests' results.
6900         [BZ #14686, #15336]
6901         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6902         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6903         Instead, use input NaN values or generate a qNaN by arithmetic
6904         operation.  Also fix bugs to comply with the standard.
6905         * math/libm-test.inc (remainder_test): Add more tests.
6907         [BZ #15335, #15342]
6908         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6910         input NaN values or generate a qNaN by arithmetic operation.
6912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6913         unreachable code.
6915         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6916         definitions.
6918 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6920         [BZ #14478]
6921         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6922         underflowed result.
6923         * math/s_cexpf.c (__cexpf): Likewise.
6924         * math/s_cexpl.c (__cexpl): Likewise.
6925         * math/libm-test.inc (cexp_test): Add more tests.
6927 2013-04-03  Andreas Schwab  <schwab@suse.de>
6929         [BZ #15330]
6930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6931         order arrays from heap if bigger than alloca cutoff.
6933 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6935         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6936         (SNAN_TESTS_double): Refer to GCC PR56831.
6937         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6938         GCC PR56828.
6940 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6942         * Rules (bench): Move bench.out after the run is complete.
6944         * Rules (bench): Echo currently running benchmark.
6946         * benchtests/Makefile (bench): Add atan and slowatan.
6947         * benchtests/atan-inputs: New file.
6948         * benchtests/slowatan-inputs: New file.
6949         * benchtests/slowatan.c: New file.
6951         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6952         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6953         its value.
6955         [BZ #15305]
6956         * sysdeps/unix/sysv/linux/kernel-features.h
6957         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6958         __ASSUME_XFS_RESTRICTED_CHOWN.
6959         * sysdeps/unix/sysv/linux/pathconf.c
6960         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6961         Save and restore errno.
6963 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6965         [BZ #15327]
6966         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6967         arguments using __kernel_casinh.
6968         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6969         arguments using __kernel_casinhf.
6970         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6971         arguments using __kernel_casinhl.
6972         * math/libm-test.inc (cacosh_test): Add more tests.
6973         * sysdeps/i386/fpu/libm-test-ulps: Update.
6974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6976 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6978         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6981         * bench/Makefile (bench): Add sin and slowsin.
6982         * benchtests/sin-inputs: New file.
6983         * benchtests/slowsin-inputs: New file.
6984         * benchtests/slowsin.c: New file.
6986         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6987         (bench): Add slowexp and slowpow.
6988         (exp-ITER): Increase iterations.
6989         (pow-ITER): Likewise.
6990         * benchtests/exp-inputs: Change input.
6991         * benchtests/pow-inputs: Likewise.
6992         * benchtests/slowexp-inputs: New file.
6993         * benchtests/slowexp.c: New file.
6994         * benchtests/slowpow-inputs: New file.
6995         * benchtests/slowpow.c: New file.
6997 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6999         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7000         instructions.
7001         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7002         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7003         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7004         * benchtests/Makefile: Add rint benchtest.
7005         * benchtests/rint-inputs: Input for rint benchtest.
7007 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7009         * Versions.def (libm): Add GLIBC_2.18.
7010         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7011         hidden libm prototypes.
7012         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7013         * math/Makefile (libm-calls): Add s_issignaling.
7014         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7015         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7016         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7017         declaration.
7018         * math/math.h [__USE_GNU] (issignaling): New macro.
7019         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7020         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7021         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7022         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7023         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7024         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7025         * manual/arith.texi (issignaling): New section.
7026         * manual/libm-err-tab.pl (@all_functions): Update comment.
7027         * math/gen-libm-test.pl (parse_args): Apply special handling for
7028         issignaling.
7029         * math/libm-test.inc (print_float, issignaling_test): New
7030         functions.
7031         (check_float_internal): Add issignaling checks.
7032         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7033         default definition.
7034         * sysdeps/powerpc/math-tests.h: New file.
7035         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7036         tests.
7037         * math/test-snan.c (TEST_FUNC): Likewise.
7039 2013-03-30  David S. Miller  <davem@davemloft.net>
7041         * po/de.po: Update from translation team.
7043 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7045         [BZ #10357]
7046         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7047         imaginary part less than 1.0 and real part less than 0.5
7048         specially.
7049         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7050         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7051         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7052         (cacos_test): Add more tests.
7053         (casin_test): Likewise.
7054         (casinh_test): Likewise.
7055         * sysdeps/i386/fpu/libm-test-ulps: Update.
7056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7060         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7061         ONE with its value.
7063         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7064         (__pow_mp): Replace ONE and MONE with their values.
7065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7066         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7068         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7069         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7070         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7072         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7074         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7075         (__pow_mp): Replace ZERO and MZERO with their values.
7076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7078         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7080         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7081         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7082         (__sqr): Likewise.
7084         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7086         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7088 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7090         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7091         Declare with __attribute__ ((weak)).
7092         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7093         Call __call_tls_dtors only if it's not NULL.
7095 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7097         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7098         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7099         magic __ehdr_start linker symbol if it's defined.
7100         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7101         them up here if it was already done.
7103         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7104         (_dl_aux_init): Use const in cast when setting it.
7105         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7106         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7107         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7109         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7110         Declare them here.
7111         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7112         * csu/libc-tls.c: Nor here.
7113         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7115         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7116         (__libc_message): Never call vsyslog.
7118 2013-03-28  Alan Modra  <amodra@gmail.com>
7120         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7121         Define as empty.
7122         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7123         Likewise.
7125 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7127         [BZ #15214]
7128         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7129         underflow.
7130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7132 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7134         [BZ #15304]
7135         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7136         Don't add gid passed as argument.
7138         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7140 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7142         [BZ #15307]
7143         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7144         imaginary part between 1.0 and 1.5 and real part less than 0.5
7145         specially.
7146         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7147         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7148         * math/libm-test.inc (cacos_test): Add more tests.
7149         (casin_test): Likewise.
7150         (casinh_test): Likewise.
7151         * sysdeps/i386/fpu/libm-test-ulps: Update.
7152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7154 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7156         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7157         constants.
7158         (norm): Likewise.
7159         (denorm): Likewise.
7160         (__dbl_mp): Likewise.
7161         (add_magnitudes): Likewise.
7162         (sub_magnitudes): Likewise.
7163         (__add): Likewise.
7164         (__sub): Likewise.
7165         (__mul): Likewise.
7166         (__sqr): Likewise.
7167         (__inv): Likewise.
7168         (__dvd): Likewise.
7170         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7171         commented code.
7172         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7173         (__dubcos): Likewise.
7174         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7175         (__ieee754_acos): Likewise.
7176         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7177         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7178         (__exp1): Likewise.
7179         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7181         (log1): Likewise.
7182         (my_log2): Likewise.
7183         (checkint): Likewise.
7184         * sysdeps/ieee754/dbl-64/e_remainder.c
7185         (__ieee754_remainder): Likewise.
7186         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7188         (bsloww): Likewise.
7189         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7191         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7192         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7193         MANTISSA_STORE_T to store computations on mantissa.  Use
7194         macros for rounding and division.
7195         (denorm): Likewise.
7196         (__dbl_mp): Likewise.
7197         (add_magnitudes): Likewise.
7198         (sub_magnitudes): Likewise.
7199         (__mul): Likewise.
7200         (__sqr): Likewise.
7201         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7202         powers of two in terms of TWOPOW macro.
7203         (mp_no): Make type of mantissa as MANTISSA_T.
7204         [!RADIXI]: Define RADIXI.
7205         [!TWO52]: Define TWO52.
7206         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7208 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7210         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7211         llroundl symbol when building for PPC32.
7213 2013-03-24  Mark H Weaver  <mhw@netris.org>
7215         * manual/arith.texi (Normalization Functions): Fix prototypes for
7216         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7218 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7220         [BZ #13889]
7221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7222         high value to check if expl overflow.
7223         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7224         to check for underflow and overflow.
7225         * math/libm-test.inc: Add exp test.
7227 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7229         [BZ #11120]
7230         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7231         with NOT_IN_libc.
7233 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7236         symbol.
7238 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7240         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7241         wrap blocks consisting of several statements.
7243         * sysdeps/generic/math-tests.h: New file.
7244         * sysdeps/i386/fpu/math-tests.h: Likewise.
7245         * math/test-snan.c: Include it.
7246         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7248 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7250         [BZ #15285]
7251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7252         (__ieee754_j0l): Do not improve calculations using cos of twice
7253         input for inputs above LDBL_MAX / 2.0L.
7254         (__ieee754_y0l): Likewise.
7255         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7256         (__ieee754_j1l): Do not improve calculations using cos of twice
7257         input for inputs above LDBL_MAX / 2.0L.
7258         (__ieee754_y1l): Likewise.
7259         * math/libm-test.inc (j0_test): Add another test.
7260         (j1_test): Likewise.
7261         (y0_test): Likewise.
7262         (y1_test): Likewise.
7263         * sysdeps/i386/fpu/libm-test-ulps: Update.
7265 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7267         * Rules ($(objpfx)bench-%.c): Include code from a C source
7268         file.
7270 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7272         [BZ #15287]
7273         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7274         imaginary part 1.0 and real part less than 0.5 specially.
7275         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7276         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7277         * math/libm-test.inc (cacos_test): Add more tests.
7278         (casin_test): Likewise.
7279         (casinh_test): Likewise.
7280         * sysdeps/i386/fpu/libm-test-ulps: Update.
7281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7283 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7285         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7286         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7288 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7290         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7291         * config.make.in (config-cflags-sse4): Remove variable.
7292         (config-cflags-avx): Likewise.
7293         (config-cflags-sse2avx): Likewise.
7294         (config-cflags-novzeroupper): Likewise.
7295         (config-asflags-i686): Likewise.
7296         (have-mfma4): Likewise.
7297         (have-as-vis3): Likewise.
7298         (MIG): Likewise.
7299         * configure.in (MIG): Do not AC_SUBST.
7300         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7301         (libc_cv_cc_sse4): Do not AC_SUBST.
7302         (libc_cv_cc_avx): Likewise.
7303         (libc_cv_cc_sse2avx): Likewise.
7304         (libc_cv_cc_novzeroupper): Likewise.
7305         (libc_cv_cc_fma4): Likewise.
7306         (libc_cv_as_i686): Likewise.
7307         (libc_cv_sparc_as_vis3): Likewise.
7308         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7309         LIBC_CONFIG_VAR.
7310         (config-asflags-i686): Likewise.
7311         (config-cflags-avx): Likewise.
7312         (config-cflags-sse2avx): Likewise.
7313         (have-mfma4): Likewise.
7314         (config-cflags-novzeroupper): Likewise.
7315         * sysdeps/mach/configure.in (MIG): Likewise.
7316         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7317         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7318         LIBC_CONFIG_VAR.
7319         (config-cflags-avx): Likewise.
7320         (config-cflags-sse2avx): Likewise.
7321         (have-mfma4): Likewise.
7322         (config-cflags-novzeroupper): Likewise.
7323         * configure: Regenerated.
7324         * sysdeps/i386/configure: Likewise.
7325         * sysdeps/mach/configure: Likewise.
7326         * sysdeps/sparc/configure: Likewise.
7327         * sysdeps/x86_64/configure: Likewise.
7329 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7331         [BZ #14812]
7332         * locale/programs/localedef.c (options): Put N_ translation marker
7333         on argument names, not just descriptions.
7335 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7337         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7339 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7341         [BZ #14176]
7342         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7344 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7346         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7347         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7348         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7349         [!BEFORE_ABORT] (before_abort): New function.
7350         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7351         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7352         (writev_for_fatal): New function.
7353         (WRITEV_FOR_FATAL): New macro; call that.
7354         (backtrace_and_maps): New function.
7355         (BEFORE_ABORT): New macro; call that.
7356         (struct str_list): Type removed.
7357         (__libc_message, __libc_fatal): Functions removed.
7358         Include <sysdeps/posix/libc_fatal.c> instead.
7360 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7362         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7363         constants.
7364         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7365         double constants.
7367 2013-03-19  Andreas Schwab  <schwab@suse.de>
7369         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7370         * sysdeps/gnu/configure: Regenerate.
7372         * configure.in: Substitute libc_cv_rtlddir.
7373         * configure: Regenerate.
7374         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7375         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7376         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7377         * elf/Makefile (install-others, CFLAGS-interp.c)
7378         (ldso_install, common-ldd-rewrite): Likewise.
7379         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7380         $(inst_slibdir)/$(rtld-installed-name).
7381         * scripts/rellns-sh: Add -p option.
7382         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7383         for source.
7385 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7387         * manual/nptl.texi: Renamed to ...
7388         * manual/threads.texi: ... this.
7389         * manual/Makefile (chapters): Update.
7391 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7393         [BZ #14812]
7394         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7395         on argument names, not just descriptions.
7396         * malloc/memusagestat.c (options): Likewise.
7397         * nss/getent.c (options): Likewise.
7399 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7401         [BZ #14812]
7402         * iconv/iconv_prog.c (options): Put N_ translation marker
7403         on argument names, not just descriptions.
7404         * iconv/iconvconfig.c (options): Likewise.
7406 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7408         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7409         implementation which is faster on all x86_64 architectures.
7410         Tested on AMD, Intel Nehalem, SNB, IVB.
7411         * sysdeps/x86_64/strnlen.S: Likewise.
7413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7414         Remove all multiarch strlen and strnlen versions.
7415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7416         Remove strlen and strnlen related parts.
7418         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7419         Inline strlen part.
7420         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7422         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7423         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7424         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7425         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7426         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7427         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7429 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7431         * manual/memory.texi (Malloc Tunable Parameters):
7432         Sort parameters alphabetically. Add comments for missing entries.
7434 2013-03-17  David S. Miller  <davem@davemloft.net>
7436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7438 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7440         [BZ #15283]
7441         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7442         for arguments at most half maximum finite value.
7443         * math/libm-test.inc (j0_test): Add more tests.
7444         (j1_test): Likewise.
7445         (y0_test): Likewise.
7446         (y1_test): Likewise.
7447         * sysdeps/i386/fpu/libm-test-ulps: Update.
7448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7450         [BZ #14155]
7451         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7452         1 / x and functions P and Q for arguments above 0x1p256L.
7453         (__ieee754_y0l): Likewise.
7454         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7455         (__ieee754_y1l): Likewise.
7456         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7457         (j1_test): Likewise.
7458         (y0_test): Likewise.
7459         (y1_test): Likewise.
7461 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7463         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7464         variable.
7466 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7468         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7469         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7470         zero since it's initialized to EXEC_PAGESIZE.
7472         * sysdeps/unix/sysv/linux/ldsodefs.h
7473         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7474         * sysdeps/generic/ldsodefs.h: ... here.
7476 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7478         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7480         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7481         math/test-snan.c.
7482         * math/test-snan.c: Renamed from
7483         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7484         * math/Makefile (tests): Add test-snan.
7485         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7486         test-powerpc-snan.
7488         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7489         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7490         functions.
7491         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7492         __builtin_nan family of functions.
7493         * math/libm-test.inc (initialize): Initialize qnan_value with
7494         __builtin_nan family of functions.
7495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7496         Remove variables.
7497         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7498         Remove functions.
7499         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7500         storage class.  Initialize qNaN_var and sNaN_var with
7501         __builtin_nan and __builtin_nans families of functions,
7502         respectively.
7504         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7505         (sqrt_test): Remove duplicate test with qNaN input.
7506         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7507         (round_test, signbit_test, significand_test): Note missing +/-Inf
7508         as well as qNaN tests.
7510         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7511         qNaN_var.  Fix a few strings, too.
7512         * math/libm-test.inc (nan_value): Rename to qnan_value.
7513         * math/gen-libm-test.pl (%beautify): Adjust to that.
7514         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7515         * math/test-misc.c (main): Likewise.
7516         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7517         to __qnan_bytes, and __qnan_union, respectively.
7518         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7519         Likewise.
7520         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7521         and lqnanval, respectively.
7522         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7523         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7524         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7525         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7527         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7528         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7529         doubles.
7531         * math/test-misc.c (main): Fix copy'n'pastos.
7532         * misc/tst-efgcvt.c (special): Likewise.
7534         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7535         Remove declarations.
7537 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7539         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7540         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7541         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7542         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7544 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7546         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7547         macro to return vdso values correctly in IFUNC implementations.
7548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7549         Optimization by using IFUNC.
7551 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7552             Richard Henderson  <rth@redhat.com>
7553             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7555         * Makefile.in (bench): New target.
7556         * NEWS: Mention the benchmark framework.
7557         * Rules (bench): Likewise.
7558         (binaries-bench): Generate binaries for functions to
7559         benchmark.
7560         * benchtests/Makefile: New makefile for benchmark tests.
7561         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7562         programs.
7563         * benchtests/exp-inputs: New input file for EXP function.
7564         * benchtests/pow-inputs: New input file for POW function.
7565         * scripts/bench.pl: New script to generate source files for
7566         benchmark programs.
7568 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7570         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7571         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7572         computations on mantissa.  Use macros for rounding and
7573         division.
7574         (denorm): Likewise.
7575         (__dbl_mp): Likewise.
7576         (add_magnitudes): Likewise.
7577         (sub_magnitudes): Likewise.
7578         (__mul): Likewise.
7579         (__sqr): Likewise.
7580         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7581         powers of two in terms of TWOPOW macro.
7582         (mp_no): Make type of mantissa as MANTISSA_T.
7583         [!RADIXI]: Define RADIXI.
7584         [!TWO52]: Define TWO52.
7585         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7587         * manual/nptl.texi (cindex): Modify threads to pthreads.
7589 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7591         * sysdeps/x86_64/preconfigure: Regenerated.
7593 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7595         [BZ #14155]
7596         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7597         0x1p28 and above.
7598         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7599         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7600         0x1p28 and above.
7601         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7602         * math/libm-test.inc (j0_test): Do not allow one spurious
7603         underflow exception.
7604         (y1_test): Likewise.
7606 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7608         * manual/Makefile (chapters): Add nptl.
7609         * manual/debug.texi (Debugging Support): Add link to Threads
7610         chapter.
7611         * manual/nptl.texi: New file.
7613         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7615 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7617         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7618         for non-NULL pointer before the memory validity test. Pointed
7619         out by Holger Brunck <holger.brunck@keymile.com>.
7621 2013-03-13  Andreas Schwab  <schwab@suse.de>
7623         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7624         instead of .os.
7626 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7628         * timezone/zic.c: Update from tzcode 2013b.
7630 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7632         * manual/install.texi (Configuring and compiling):
7633         Mention i686 and i586.
7634         * INSTALL: Regenerate.
7636 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7638         * sysdeps/init_array/elf-init.c: New file.
7639         * csu/elf-init.c
7640         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7641         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7643         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7644         __gmon_start__ as global, but as static with a .preinit_array pointer.
7645         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7646         * sysdeps/init_array/crti.S: New file, empty except for comments.
7647         * sysdeps/init_array/crtn.S: Likewise.
7649 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7651         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7652         definining bcopy.
7653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7654         Remove Prefer_SSE_for_memop.
7655         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7656         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7657         HAS_PREFER_SSE_FOR_MEMOP.
7658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7659         memset-x86-64.
7660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7661         Remove bzero, memset ifunc support.
7662         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7663         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7664         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7667 2013-03-11  Andreas Schwab  <schwab@suse.de>
7669         [BZ #15234]
7670         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7671         by SHLIB_COMPAT.
7672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7673         (GLIBC_2.16): Remove pthread_atfork.
7675 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7677         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7678         (ptestcases.h): Likewise.
7680 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7682         * Makeconfig ($(common-objpfx)config.status): Depend on
7683         sysdeps/*/preconfigure{,.in} too.
7685 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7687         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7688         (__free_hook): Use void * instead of __malloc_ptr_t.
7689         (__malloc_hook): Likewise.
7690         (__realloc_hook): Likewise.
7691         (__memalign_hook): Likewise.
7692         (__after_morecore_hook): Likewise.
7693         * malloc/arena.c (save_malloc_hook): Likewise.
7694         (save_free_hook): Likewise.
7695         * malloc/hooks.c (malloc_hook_ini): Likewise.
7696         (realloc_hook_ini): Likewise.
7697         (memalign_hook_ini): Likewise.
7698         * malloc/malloc.c (malloc_hook_ini): Likewise.
7699         (realloc_hook_ini): Likewise.
7700         (memalign_hook_ini): Likewise.
7701         (__free_hook): Likewise.
7702         (__malloc_hook): Likewise.
7703         (__realloc_hook): Likewise.
7704         (__memalign_hook): Likewise.
7705         (__libc_malloc): Likewise.
7706         (__libc_free): Likewise.
7707         (__libc_realloc): Likewise.
7708         (__libc_memalign): Likewise.
7709         (__libc_valloc): Likewise.
7710         (__libc_pvalloc): Likewise.
7711         (__libc_calloc): Likewise.
7712         (__posix_memalign): Likewise.
7713         * malloc/morecore.c (__sbrk): Likewise.
7714         (__default_morecore): Likewise.
7716         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7718         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7719         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7720         __malloc_ptrdiff_t.
7722         * malloc/malloc.h (__malloc_size_t): Remove macro.
7723         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7724         __malloc_size_t.
7725         (old_memalign_hook): Likewise.
7726         (old_realloc_hook): Likewise.
7727         (struct hdr): Likewise.
7728         (flood): Likewise.
7729         (mallochook): Likewise.
7730         (memalignhook): Likewise.
7731         (reallochook): Likewise.
7732         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7733         (tr_old_realloc_hook): Likewise.
7734         (tr_old_memalign_hook): Likewise.
7735         (tr_mallochook): Likewise.
7736         (tr_reallochook): Likewise.
7737         (tr_memalignhook): Likewise.
7739 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7742         default_ldbl_pack and using as default implementation.
7743         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7744         implementation.
7745         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7746         redundant definition.
7747         (ldbl_insert_mantissa): Likewise.
7748         (ldbl_canonicalize): Likewise.
7749         (ldbl_nearbyint): Likewise.
7750         (ldbl_pack): Rename to ldbl_pack_ppc.
7751         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7752         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7753         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7755 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7758         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7759         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7760         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7762         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7763         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7764         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7766 2013-03-07  Andreas Jaeger  <aj@suse.de>
7768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7769         bits/mman-linux.h.
7771 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7773         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7774         Include mpa.h and declare __MPEXP.
7775         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7776         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7777         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7778         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7779         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7780         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7781         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7783         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7784         (__slowpow): Use long double EXPL and LOGL functions to
7785         compute POW.
7786         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7787         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7788         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7789         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7790         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7794         intermediate variable to calculate exponent.
7795         (__sqr): Likewise.
7796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7797         Likewise.
7798         (__sqr): Likewise.
7800         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7801         [!NO__SQR]: Define __sqr.
7802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7803         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7804         sysdeps/ieee754/dbl-64/mpa.c.
7805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7807         [BZ #12723]
7808         * posix/Makefile (tests): Add tst-pathconf.
7809         * posix/tst-pathconf.c: New test case.
7810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7811         _PC_PIPE_BUF.
7812         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7814 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7816         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7818 2013-03-06  Andreas Jaeger  <aj@suse.de>
7820         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7821         definition via __MAP_ANONYMOUS.
7823         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7824         it's not part of Linux headers.
7826         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7827         (MAP_HUGE_MASK): Define.
7829         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7830         Define.
7831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7832         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7833         Define.
7834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7835         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7836         Define.
7837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7839         Define.
7840         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7842         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7843         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7844         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7845         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7846         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7847         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7849         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7850         Handle f2fs.
7852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7853         Handle f2fs and efivarfs.
7855         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7856         f2fs.
7858         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7859         (EFIVARFS_MAGIC): Add.
7860         (F2FS_LINK_MAX): Add.
7862 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7864         * stdio-common/vfprintf.c: Replace __builtin_expect with
7865         __glibc_unlikely.
7867 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7869         [BZ #13550]
7870         * sysdeps/generic/bp-sym.h: Remove file.
7871         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7872         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7873         <bp-sym.h> and <bp-asm.h>.
7874         (__longjmp): Don't use BP_SYM.
7875         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7876         and <bp-asm.h>.
7877         (memcpy): Don't use BP_SYM.
7878         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7879         <bp-sym.h> and <bp-asm.h>.
7880         (memcpy): Don't use BP_SYM.
7881         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7882         <bp-asm.h>.
7883         (memcpy): Don't use BP_SYM.
7884         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7885         <bp-asm.h>.
7886         (memset): Don't use BP_SYM.
7887         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7888         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7889         (__bzero): Don't use BP_SYM.
7890         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7891         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7892         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7893         <bp-sym.h> and <bp-asm.h>.
7894         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7895         pointers.
7896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7897         <bp-sym.h> and <bp-asm.h>.
7898         (memcpy): Don't use BP_SYM.
7899         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7900         <bp-sym.h> and <bp-asm.h>.
7901         (memset): Don't use BP_SYM.
7902         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7903         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7904         (__bzero): Don't use BP_SYM.
7905         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7906         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7907         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7908         <bp-sym.h> and <bp-asm.h>.
7909         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7910         pointers.
7911         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7912         <bp-sym.h> and <bp-asm.h>.
7913         (memcpy): Don't use BP_SYM.
7914         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7915         <bp-sym.h> and <bp-asm.h>.
7916         (memset): Don't use BP_SYM.
7917         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7918         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7919         (__bzero): Don't use BP_SYM.
7920         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7921         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7922         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7923         <bp-sym.h> and <bp-asm.h>.
7924         (__memchr): Don't use BP_SYM.
7925         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7926         <bp-sym.h> and <bp-asm.h>.
7927         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7928         pointers.
7929         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7930         <bp-sym.h> and <bp-asm.h>.
7931         (memcpy): Don't use BP_SYM.
7932         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7933         <bp-sym.h> and <bp-asm.h>.
7934         (__mempcpy): Don't use BP_SYM.
7935         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7936         <bp-sym.h> and <bp-asm.h>.
7937         (__memrchr): Don't use BP_SYM.
7938         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7939         <bp-sym.h> and <bp-asm.h>.
7940         (memset): Don't use BP_SYM.
7941         (__bzero): Likewise.
7942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7943         <bp-sym.h> and <bp-asm.h>.
7944         (__rawmemchr): Don't use BP_SYM.
7945         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7946         <bp-sym.h> and <bp-asm.h>.
7947         (__STRCMP): Don't use BP_SYM.
7948         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7949         <bp-sym.h> and <bp-asm.h>.
7950         (strchr): Don't use BP_SYM.
7951         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7952         <bp-sym.h> and <bp-asm.h>.
7953         (__strchrnul): Don't use BP_SYM.
7954         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7955         <bp-sym.h> and <bp-asm.h>.
7956         (strlen): Don't use BP_SYM.
7957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7958         <bp-sym.h> and <bp-asm.h>.
7959         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7960         pointers.
7961         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7962         <bp-sym.h> and <bp-asm.h>.
7963         (__strnlen): Don't use BP_SYM.
7964         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7965         <bp-sym.h> and <bp-asm.h>.
7966         (__GI__setjmp): Don't use BP_SYM.
7967         (_setjmp): Likewise.
7968         (__sigsetjmp): Likewise.
7969         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7970         (L(start_addresses)): Don't use BP_SYM.
7971         (_start): Likewise.
7972         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7973         <bp-asm.h>.
7974         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7975         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7976         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7977         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7978         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7979         <bp-asm.h>.
7980         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7981         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7982         about bounded pointers.
7983         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7984         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7985         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7986         <bp-asm.h>.
7987         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7988         about bounded pointers.  Remove GKM FIXME comments.
7989         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7990         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7991         <bp-asm.h>.
7992         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7993         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7994         Remove GKM FIXME comments.
7995         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7996         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7997         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7998         <bp-asm.h>.
7999         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8000         about bounded pointers.  Remove GKM FIXME comment.
8001         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8002         and <bp-asm.h>.
8003         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8004         pointers.
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8006         <bp-sym.h> and <bp-asm.h>.
8007         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8009         <bp-sym.h> and <bp-asm.h>.
8010         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8011         comment.
8013 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8015         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8016         call free(NULL).
8018 2013-03-05  David S. Miller  <davem@davemloft.net>
8020         * po/es.po: Update from translation team.
8022 2013-03-05  Andreas Jaeger  <aj@suse.de>
8024         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8025         <bits/mman-linux.h>.
8026         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8027         is fine.
8028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8029         <bits/mman-linux.h> to end of file.
8030         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8031         is fine.
8032         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8033         <bits/mman-linux.h> to end of file.
8034         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8035         is fine.
8036         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8037         <bits/mman-linux.h> to end of file.
8039         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8040         (MCL_CURRENT, MCL_FUTURE): Define here.
8042 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8044         [BZ #15232]
8045         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8046         attribute_hidden.
8047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8049 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8051         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8052         fourth parameter needed for rt_sigprocmask syscall.
8053         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8054         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8055         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8056         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8057         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8058         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8060 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8062         [BZ #13550]
8063         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8064         comment about bounded pointers.
8065         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8066         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8068 2013-03-04  Andreas Jaeger  <aj@suse.de>
8070         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8071         common definitions.
8073         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8074         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8075         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8076         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8077         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8078         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8080 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8082         [BZ #15055]
8083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8084         __ieee754_sqrl instead of __sqrl.
8086 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8088         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8089         * sysdeps/powerpc/fpu_control.h: ... here.
8090         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8091         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8092         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8093         * sysdeps/powerpc/bits/mathinline.h: ... here.
8095 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8097         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8098         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8099         to just [NEED_DL_SYSINFO_DSO].
8100         * elf/dl-support.c: Likewise.
8101         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8102         * elf/rtld.c (dl_main): Likewise.
8103         * elf/setup-vdso.h (setup_vdso): Likewise.
8104         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8105         * sysdeps/unix/sysv/linux/dl-sysdep.c
8106         (_dl_discover_osversion): Likewise.
8108 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8110         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8111         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8113 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8115         * NEWS: Mention libm performance improvements and non-x86 PI
8116         futex support.
8118         * csu/libc-start.c (__pthread_initialize_minimal): Change
8119         function arguments.
8120         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8122 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8124         [BZ #13550]
8125         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8126         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8127         <bp-sym.h> and <bp-asm.h>.
8128         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8129         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8130         and <bp-asm.h>.
8131         (memcpy): Don't use BP_SYM.
8132         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8133         <bp-asm.h>.
8134         (__mpn_add_n): Don't use BP_SYM.
8135         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8136         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8137         and <bp-asm.h>.
8138         (__mpn_addmul_1): Don't use BP_SYM.
8139         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8140         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8141         <bp-sym.h>.
8142         (_setjmp): Don't use BP_SYM.
8143         (__novmx_setjmp): Likewise.
8144         (__GI__setjmp): Likewise.
8145         (__vmx_setjmp): Likewise.
8146         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8147         <bp-sym.h>.
8148         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8149         (__bzero): Don't use BP_SYM.
8150         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8151         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8152         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8153         <bp-sym.h> and <bp-asm.h>.
8154         (memcpy): Don't use BP_SYM.
8155         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8156         <bp-sym.h> and <bp-asm.h>.
8157         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8158         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8159         <bp-sym.h> and <bp-asm.h>.
8160         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8161         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8162         <bp-asm.h>.
8163         (__mpn_lshift): Don't use BP_SYM.
8164         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8165         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8166         <bp-asm.h>.
8167         (memset): Don't use BP_SYM.
8168         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8169         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8170         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8171         <bp-asm.h>.
8172         (__mpn_mul_1): Don't use BP_SYM.
8173         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8174         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8175         <bp-sym.h> and <bp-asm.h>.
8176         (memcmp): Don't use BP_SYM.
8177         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8178         <bp-sym.h> and <bp-asm.h>.
8179         (memcpy): Don't use BP_SYM.
8180         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8181         <bp-sym.h> and <bp-asm.h>.
8182         (memset): Don't use BP_SYM.
8183         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8184         <bp-sym.h> and <bp-asm.h>.
8185         (strncmp): Don't use BP_SYM.
8186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8187         <bp-sym.h> and <bp-asm.h>.
8188         (memcpy): Don't use BP_SYM.
8189         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8190         <bp-sym.h> and <bp-asm.h>.
8191         (memset): Don't use BP_SYM.
8192         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8193         <bp-sym.h> and <bp-asm.h>.
8194         (__memchr): Don't use BP_SYM.
8195         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8196         <bp-sym.h> and <bp-asm.h>.
8197         (memcmp): Don't use BP_SYM.
8198         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8199         <bp-sym.h> and <bp-asm.h>.
8200         (memcpy): Don't use BP_SYM.
8201         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8202         <bp-sym.h> and <bp-asm.h>.
8203         (__mempcpy): Don't use BP_SYM.
8204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8205         <bp-sym.h> and <bp-asm.h>.
8206         (__memrchr): Don't use BP_SYM.
8207         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8208         <bp-sym.h> and <bp-asm.h>.
8209         (memset): Don't use BP_SYM.
8210         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8211         <bp-sym.h> and <bp-asm.h>.
8212         (__rawmemchr): Don't use BP_SYM.
8213         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8214         <bp-sym.h> and <bp-asm.h>.
8215         (__STRCMP): Don't use BP_SYM.
8216         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8217         <bp-sym.h> and <bp-asm.h>.
8218         (strchr): Don't use BP_SYM.
8219         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8220         <bp-sym.h> and <bp-asm.h>.
8221         (__strchrnul): Don't use BP_SYM.
8222         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8223         <bp-sym.h> and <bp-asm.h>.
8224         (strlen): Don't use BP_SYM.
8225         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8226         <bp-sym.h> and <bp-asm.h>.
8227         (strncmp): Don't use BP_SYM.
8228         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8229         <bp-sym.h> and <bp-asm.h>.
8230         (__strnlen): Don't use BP_SYM.
8231         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8232         <bp-asm.h>.
8233         (__mpn_rshift): Don't use BP_SYM.
8234         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8235         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8236         <bp-sym.h> and <bp-asm.h>.
8237         (__sigsetjmp): Don't use BP_SYM.
8238         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8239         (L(start_addresses)): Don't use BP_SYM.
8240         (_start): Likewise.
8241         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8242         <bp-asm.h>.
8243         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8244         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8245         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8246         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8247         <bp-asm.h>.
8248         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8249         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8250         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8251         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8252         <bp-asm.h>.
8253         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8254         comments.
8255         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8256         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8257         <bp-asm.h>.
8258         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8259         FIXME comments.
8260         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8261         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8262         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8263         <bp-asm.h>.
8264         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8265         comment.
8266         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8267         and <bp-asm.h>.
8268         (strncmp): Don't use BP_SYM,
8269         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8270         <bp-asm.h>.
8271         (__mpn_sub_n): Don't use BP_SYM.
8272         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8273         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8274         and <bp-asm.h>.
8275         (__mpn_submul_1): Don't use BP_SYM.
8276         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8278         <bp-sym.h> and <bp-asm.h>.
8279         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8281         <bp-sym.h> and <bp-asm.h>.
8282         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8283         comment.
8285 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8288         Use ZK to minimize writes to Z.
8289         (sub_magnitudes): Simplify code a bit.
8290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8291         Use ZK to minimize writes to Z.
8292         (sub_magnitudes): Simplify code a bit.
8294 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8296         * csu/gmon-start.c: Add special exception to license text.
8298 2013-02-27  Richard Henderson  <rth@redhat.com>
8300         * scripts/config.guess: Update from config.git.
8301         * scripts/config.sub: Likewise.
8303 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8305         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8307         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8309         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8311         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8313         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8315 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8317         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8318         [$(build-shared = yes].
8320 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8322         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8323         (__mul): Reduce iterations for calculating mantissa.
8325         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8326         MPTWO.
8327         (__mpranred): Likewise.
8329         [BZ #15160]
8330         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8331         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8333 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8335         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8336         Define __attribute__.
8338 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8340         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8341         unused.
8342         * posix/regex_internal.h (__attribute): Remove.
8343         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8344         (re_string_context_at): Likewise.
8345         (bitset_not): Use __attribute__ and mark function as possibly
8346         unused.
8347         (bitset_merge): Likewise.
8348         (bitset_mask): Likewise.
8349         (re_string_char_size_at): Likewise.
8350         (re_string_wchar_at): Likewise.
8351         (re_string_elem_size_at): Likewise.
8353 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8356         code.
8357         (cc32): Likewise.
8359         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8360         (__acr): Likewise.
8361         (__cpy): Likewise.
8362         (norm): Likewise.
8363         (denorm): Likewise.
8364         (__dbl_mp): Likewise.
8365         (add_magnitudes): Likewise.
8366         (sub_magnitudes): Likewise.
8367         (__mul): Likewise.
8368         (__inv): Likewise.
8370         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8371         style.
8373         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8374         style.
8376         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8377         code.
8379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8380         up changes with default code.
8381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8382         Likewise.
8384 2013-02-24  Allan McRae  <allan@archlinux.org>
8386         * manual/socket.texi (The Internet Namespace): Order menu items
8387         to match that in the file.
8389         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8390         node listing of the info page menu.
8392 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8394         [BZ #13550]
8395         * sysdeps/i386/bp-asm.h: Remove file.
8396         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8397         (PARMS): Do not use macros from bp-asm.h.
8398         (S1): Likewise.
8399         (S2): Likewise.
8400         (SIZE): Likewise.
8401         (__mpn_add_n): Do not use BP_SYM
8402         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8403         "bp-asm.h".
8404         (PARMS): Do not use macros from bp-asm.h.
8405         (S1): Likewise.
8406         (SIZE): Likewise.
8407         (__mpn_addmul_1): Do not use BP_SYM
8408         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8409         "bp-asm.h".
8410         (PARMS): Do not use macros from bp-asm.h.
8411         (SIGMSK): Likewise.
8412         (_setjmp): Likewise.  Do not use BP_SYM.
8413         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8414         "bp-asm.h".
8415         (PARMS): Do not use macros from bp-asm.h.
8416         (SIGMSK): Likewise.
8417         (setjmp): Likewise.  Do not use BP_SYM.
8418         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8419         "bp-asm.h".
8420         (PARMS): Do not use macros from bp-asm.h.
8421         (__frexp): Do not use BP_SYM.
8422         (frexp): Likewise.
8423         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8424         "bp-asm.h".
8425         (PARMS): Do not use macros from bp-asm.h.
8426         (__frexpf): Do not use BP_SYM.
8427         (frexpf): Likewise.
8428         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8429         "bp-asm.h".
8430         (PARMS): Do not use macros from bp-asm.h.
8431         (__frexpl): Do not use BP_SYM.
8432         (frexpl): Likewise.
8433         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8434         "bp-asm.h".
8435         (PARMS): Do not use macros from bp-asm.h.
8436         (__remquo): Do not use BP_SYM.
8437         (remquo): Likewise.
8438         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8439         "bp-asm.h".
8440         (PARMS): Do not use macros from bp-asm.h.
8441         (__remquof): Do not use BP_SYM.
8442         (remquof): Likewise.
8443         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8444         "bp-asm.h".
8445         (PARMS): Do not use macros from bp-asm.h.
8446         (__remquol): Do not use BP_SYM.
8447         (remquol): Likewise.
8448         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8449         "bp-asm.h".
8450         (PARMS): Do not use macros from bp-asm.h.
8451         (DEST): Likewise.
8452         (SRC): Likewise.
8453         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8454         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8455         "bp-asm.h".
8456         (PARMS): Do not use macros from bp-asm.h.
8457         (strlen): Do not use BP_SYM.
8458         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8459         "bp-asm.h".
8460         (PARMS): Do not use macros from bp-asm.h.
8461         (S1): Likewise.
8462         (S2): Likewise.
8463         (SIZE): Likewise.
8464         (__mpn_add_n): Do not use BP_SYM.
8465         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8466         "bp-asm.h".
8467         (PARMS): Do not use macros from bp-asm.h.
8468         (S1): Likewise.
8469         (SIZE): Likewise.
8470         (__mpn_addmul_1): Do not use BP_SYM.
8471         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8472         weak_alias.
8473         (bzero): Likewise.
8474         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8475         "bp-asm.h".
8476         (PARMS): Do not use macros from bp-asm.h.
8477         (S): Likewise.
8478         (SIZE): Likewise.
8479         (__mpn_lshift): Do not use BP_SYM.
8480         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8481         "bp-asm.h".
8482         (PARMS): Do not use macros from bp-asm.h.
8483         (DEST): Likewise.
8484         (SRC): Likewise.
8485         (LEN): Likewise.
8486         (memcpy): Likewise.  Do not use BP_SYM.
8487         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8488         libc_hidden_def and weak_alias.
8489         (mempcpy): Do not use BP_SYM in weak_alias.
8490         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8491         "bp-asm.h".
8492         (PARMS): Do not use macros from bp-asm.h.
8493         (DEST): Likewise.
8494         (LEN): Likewise.
8495         [!BZERO_P] (CHR): Likewise.
8496         (memset): Likewise.  Do not use BP_SYM.
8497         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8498         "bp-asm.h".
8499         (PARMS): Do not use macros from bp-asm.h.
8500         (S1): Likewise.
8501         (SIZE): Likewise.
8502         (__mpn_mul_1): Do not use BP_SYM.
8503         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8504         "bp-asm.h".
8505         (PARMS): Do not use macros from bp-asm.h.
8506         (S): Likewise.
8507         (SIZE): Likewise.
8508         (__mpn_rshift): Do not use BP_SYM.
8509         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8510         "bp-asm.h".
8511         (PARMS): Do not use macros from bp-asm.h.
8512         (STR): Likewise.
8513         (CHR): Likewise.
8514         (strchr): Likewise.  Do not use BP_SYM.
8515         (index): Do not use BP_SYM in weak_alias.
8516         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8517         "bp-asm.h".
8518         (PARMS): Do not use macros from bp-asm.h.
8519         (DEST): Likewise.
8520         (SRC): Likewise.
8521         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8522         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8523         "bp-asm.h".
8524         (PARMS): Do not use macros from bp-asm.h.
8525         (strlen): Do not use BP_SYM.
8526         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8527         "bp-asm.h".
8528         (PARMS): Do not use macros from bp-asm.h.
8529         (S1): Likewise.
8530         (S2): Likewise.
8531         (SIZE): Likewise.
8532         (__mpn_sub_n): Do not use BP_SYM.
8533         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8534         "bp-asm.h".
8535         (PARMS): Do not use macros from bp-asm.h.
8536         (S1): Likewise.
8537         (SIZE): Likewise.
8538         (__mpn_submul_1): Do not use BP_SYM.
8539         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8540         "bp-asm.h".
8541         (PARMS): Do not use macros from bp-asm.h.
8542         (S1): Likewise.
8543         (S2): Likewise.
8544         (SIZE): Likewise.
8545         (__mpn_add_n): Do not use BP_SYM.
8546         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8547         weak_alias.
8548         (bzero): Likewise.
8549         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8550         "bp-asm.h".
8551         (PARMS): Do not use macros from bp-asm.h.
8552         (BLK2): Likewise.
8553         (LEN): Likewise.
8554         (memcmp): Do not use BP_SYM.
8555         (bcmp): Do not use BP_SYM in weak_alias.
8556         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8557         "bp-asm.h".
8558         (PARMS): Do not use macros from bp-asm.h.
8559         (DEST): Likewise.
8560         (SRC): Likewise.
8561         (LEN): Likewise.
8562         (memcpy): Likewise.  Do not use BP_SYM.
8563         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8564         "bp-asm.h".
8565         (PARMS): Do not use macros from bp-asm.h.
8566         (DEST): Likewise.
8567         (SRC): Likewise.
8568         (LEN): Likewise.
8569         (memmove): Likewise.  Do not use BP_SYM.
8570         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8571         "bp-asm.h".
8572         (PARMS): Do not use macros from bp-asm.h.
8573         (DEST): Likewise.
8574         (SRC): Likewise.
8575         (LEN): Likewise.
8576         (__mempcpy): Likewise.  Do not use BP_SYM.
8577         (mempcpy): Do not use BP_SYM in weak_alias.
8578         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8579         "bp-asm.h".
8580         (PARMS): Do not use macros from bp-asm.h.
8581         (DEST): Likewise.
8582         (LEN): Likewise.
8583         [!BZERO_P] (CHR): Likewise.
8584         (memset): Likewise.  Do not use BP_SYM.
8585         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8586         "bp-asm.h".
8587         (PARMS): Do not use macros from bp-asm.h.
8588         (STR2): Likewise.
8589         (strcmp): Do not use BP_SYM.
8590         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8591         "bp-asm.h".
8592         (PARMS): Do not use macros from bp-asm.h.
8593         (STR): Likewise.
8594         (DELIM): Likewise.
8595         [USE_AS_STRTOK_R] (SAVE): Likewise.
8596         (FUNCTION): Likewise.  Do not use BP_SYM.
8597         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8598         aliases.
8599         (strtok_r): Likewise.
8600         (__GI___strtok_r): Likewise.
8601         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8602         (PARMS): Do not use macros from bp-asm.h.
8603         (S): Likewise.
8604         (SIZE): Likewise.
8605         (__mpn_lshift): Do not use BP_SYM.
8606         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8607         (PARMS): Do not use macros from bp-asm.h.
8608         (STR): Likewise.
8609         (CHR): Likewise.
8610         (__memchr): Do not use BP_SYM.
8611         (memchr): Do not use BP_SYM in weak_alias.
8612         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8613         (PARMS): Do not use macros from bp-asm.h.
8614         (BLK2): Likewise.
8615         (LEN): Likewise.
8616         (memcmp): Do not use BP_SYM.
8617         (bcmp): Do not use BP_SYM in weak_alias.
8618         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8619         (PARMS): Do not use macros from bp-asm.h.
8620         (S1): Likewise.
8621         (SIZE): Likewise.
8622         (__mpn_mul_1): Do not use BP_SYM.
8623         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8624         "bp-asm.h".
8625         (PARMS): Do not use macros from bp-asm.h.
8626         (STR): Likewise.
8627         (CHR): Likewise.
8628         (__rawmemchr): Do not use BP_SYM.
8629         (rawmemchr): Do not use BP_SYM in weak_alias.
8630         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8631         (PARMS): Do not use macros from bp-asm.h.
8632         (S): Likewise.
8633         (SIZE): Likewise.
8634         (__mpn_rshift): Do not use BP_SYM.
8635         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8636         (PARMS): Do not use macros from bp-asm.h.
8637         (SIGMSK): Likewise.
8638         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8639         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8640         (_start): Do not use BP_SYM.
8641         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8642         (PARMS): Do not use macros from bp-asm.h.
8643         (DEST): Likewise.
8644         (SRC): Likewise.
8645         (__stpcpy): Likewise.  Do not use BP_SYM.
8646         (stpcpy): Do not use BP_SYM in weak_alias.
8647         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8648         "bp-asm.h".
8649         (PARMS): Do not use macros from bp-asm.h.
8650         (DEST): Likewise.
8651         (SRC): Likewise.
8652         (LEN): Likewise.
8653         (__stpncpy): Likewise.  Do not use BP_SYM.
8654         (stpncpy): Do not use BP_SYM in weak_alias.
8655         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8656         (PARMS): Do not use macros from bp-asm.h.
8657         (STR): Likewise.
8658         (CHR): Likewise.
8659         (strchr): Likewise.  Do not use BP_SYM.
8660         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8661         "bp-asm.h".
8662         (PARMS): Do not use macros from bp-asm.h.
8663         (STR): Likewise.
8664         (CHR): Likewise.
8665         (__strchrnul): Likewise.  Do not use BP_SYM.
8666         (strchrnul): Do not use BP_SYM in weak_alias.
8667         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8668         "bp-asm.h".
8669         (PARMS): Do not use macros from bp-asm.h.
8670         (STOP): Likewise.
8671         (strcspn): Do not use BP_SYM.
8672         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8673         "bp-asm.h".
8674         (PARMS): Do not use macros from bp-asm.h.
8675         (STR): Likewise.
8676         (STOP): Likewise.
8677         (strpbrk): Likewise.  Do not use BP_SYM.
8678         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8679         "bp-asm.h".
8680         (PARMS): Do not use macros from bp-asm.h.
8681         (STR): Likewise.
8682         (CHR): Likewise.
8683         (strrchr): Likewise.  Do not use BP_SYM.
8684         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8685         (PARMS): Do not use macros from bp-asm.h.
8686         (SKIP): Likewise.
8687         (strspn): Do not use BP_SYM.
8688         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8689         (PARMS): Do not use macros from bp-asm.h.
8690         (STR): Likewise.
8691         (DELIM): Likewise.
8692         (SAVE): Likewise.
8693         (FUNCTION): Likewise.  Do not use BP_SYM.
8694         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8695         aliases.
8696         (strtok_r): Likewise.
8697         (__GI___strtok_r): Likewise.
8698         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8699         (PARMS): Do not use macros from bp-asm.h.
8700         (S1): Likewise.
8701         (S2): Likewise.
8702         (SIZE): Likewise.
8703         (__mpn_sub_n): Do not use BP_SYM.
8704         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8705         "bp-asm.h".
8706         (PARMS): Do not use macros from bp-asm.h.
8707         (S1): Likewise.
8708         (SIZE): Likewise.
8709         (__mpn_submul_1): Do not use BP_SYM.
8710         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8711         <bp-sym.h>.
8712         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8713         and <bp-asm.h>.
8714         (PARMS): Do not use macros from bp-asm.h.
8715         (FLAGS): Likewise.
8716         (PTID): Likewise.
8717         (TLS): Likewise.
8718         (CTID): Likewise.
8719         (__clone): Do not use BP_SYM.
8720         (clone): Do not use BP_SYM in weak_alias.
8721         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8722         and <bp-asm.h>.
8723         (PARMS): Do not use macros from bp-asm.h.
8724         (LEN): Likewise.
8725         (__mmap64): Do not use BP_SYM.
8726         (mmap64): Do not use BP_SYM in weak_alias.
8727         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8728         <bp-sym.h> and <bp-asm.h>.
8729         (PARMS): Do not use macros from bp-asm.h.
8730         (__posix_fadvise64_l64): Do not use BP_SYM.
8731         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8732         (PARMS): Do not use macros from bp-asm.h.
8733         (NSOPS): Likewise.
8734         (semtimedop): Do not use BP_SYM.
8735         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8736         and <bp-asm.h>.
8738 2013-02-21  Allan McRae  <allan@archlinux.org>
8740         * manual/message.texi (Charset conversion in gettext):
8741         Move @end statement to beginning of line.
8743 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8746         static.
8747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8748         Likewise.
8750         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8751         (denorm): Likewise.
8752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8755 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8757         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8758         tail-call to the resolved function if pltexit isn't needed.
8760 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8763         or Y being zero as being unlikely.
8764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8765         Likewise.
8767 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8769         * manual/nss.texi (System Databases and Name Service Switch):
8770         Remove frobnicate @pxref.
8772 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8774         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8775         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8777 2013-02-20  Petr Machata  <pmachata@redhat.com>
8779         * elf/elf.h (R_ARM_TARGET1): New macro.
8780         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8781         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8782         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8783         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8784         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8785         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8786         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8787         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8788         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8789         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8790         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8791         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8792         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8793         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8794         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8795         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8796         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8797         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8798         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8799         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8800         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8801         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8802         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8803         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8804         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8805         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8806         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8807         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8808         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8809         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8810         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8811         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8812         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8813         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8814         (R_ARM_THM_GOT_BREL12): Likewise.
8815         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8816         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8817         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8818         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8819         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8820         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8821         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8822         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8823         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8825 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8827         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8828         __attribute_used__ to __attribute__ ((unused)).
8830 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8833         powerpc mpa.c.
8834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8835         comment formatting.
8836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8838 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8840         [BZ #13550]
8841         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8842         Remove macro.
8843         (ENTER): Remove both macro definitions.
8844         (LEAVE): Likewise.
8845         (CHECK_BOUNDS_LOW): Likewise.
8846         (CHECK_BOUNDS_HIGH): Likewise.
8847         (CHECK_BOUNDS_BOTH): Likewise.
8848         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8849         (RETURN_BOUNDED_POINTER): Likewise.
8850         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8851         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8852         (POP_ERRNO_LOCATION_RETURN): Likewise.
8853         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8854         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8855         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8856         macros.
8857         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8858         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8859         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8860         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8861         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8862         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8863         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8864         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8865         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8866         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8867         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8868         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8869         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8870         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8871         removed macros.
8872         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8873         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8874         macros.
8875         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8876         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8877         * sysdeps/i386/i586/memset.S (memset): Likewise.
8878         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8879         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8880         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8881         macros.
8882         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8883         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8884         Change uses of L(2) to L(out).
8885         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8886         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8887         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8888         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8889         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8890         removed macros.
8891         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8892         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8893         macros.
8894         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8895         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8896         (RETURN): Do not use macro LEAVE.
8897         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8898         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8899         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8900         * sysdeps/i386/i686/memset.S (memset): Likewise.
8901         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8902         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8903         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8904         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8905         Likewise.
8906         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8907         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8908         L(1_2) and L(1_3) into L(1).
8909         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8910         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8911         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8912         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8913         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8914         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8915         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8916         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8917         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8918         macros.
8919         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8920         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8921         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8922         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8923         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8924         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8925         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8926         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8927         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8928         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8929         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8930         * sysdeps/i386/strspn.S (strspn): Likewise.
8931         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8932         conditional code.
8933         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8934         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8935         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8936         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8937         L(1_3) into L(1_1).
8938         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8939         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8940         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8941         macros.
8942         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8944 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8946         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8947         macro.
8949 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8951         * math/atest-exp.c (exp_mpn): Remove ROUND.
8952         * math/atest-exp2.c (exp_mpn): Likewise.
8953         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8955         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8956         * stdlib/tst-tls-atexit-lib.c: Likewise.
8957         * stdlib/tst-tls-atexit.c: Likewise.
8959 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8961         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8962         and __attribute_alloc_size__.
8964 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8966         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8967         __attribute_alloc_size__.
8968         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8969         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8971 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8973         * include/programs/xmalloc.h: New file.
8974         * catgets/gencat.c: Include it.
8975         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8976         * elf/pldd.c: Likewise.
8977         * iconv/iconv_charmap.c: Likewise.
8978         * iconv/iconvconfig.c: Likewise.
8979         * iconv/strtab.c: Likewise.
8980         * locale/programs/locale.c: Likewise.
8981         * locale/programs/localedef.h: Likewise.
8982         * locale/programs/simple-hash.c: Likewise.
8983         * nscd/nscd.h: Likewise.
8984         * nss/makedb.c: Likewise.
8985         * sysdeps/generic/ldconfig.h: Likewise.
8987 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8989         * Versions.def: Add GLIBC_2.18.
8990         * include/link.h (struct link_map): New member l_tls_dtor_count.
8991         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8992         (__call_tls_dtors): Likewise.
8993         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8994         __cxa_thread_atexit_impl.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8996         Likewise.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9000         Likewise.
9001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9002         Likewise.
9003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9005         Likewise.
9006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9007         Likewise.
9008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9010         Likewise.
9011         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9012         (tests): Add test case tst-tls-atexit.
9013         (modules-names): Add shared library for tst-tls-atexit.
9014         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9015         (GLIBC_PRIVATE): Add __call_tls_dtors.
9016         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9017         for libstdc++.
9018         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9019         * stdlib/tst-tls-atexit.c: New test case.
9020         * stdlib/tst-tls-atexit-lib.c: New test case.
9022         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9024         * elf/Versions (ld): Add _dl_find_dso_for_object.
9025         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9026         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9027         (dl_open_worker): Use _dl_find_dso_for_object.
9028         * elf/dl-sym.c (do_sym): Likewise.
9029         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9031 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9033         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9034         Syntactic changes only.
9035         (_dl_runtime_profile): Do a tail-call to the resolved function.
9037 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9039         [BZ #13550]
9040         * sysdeps/x86_64/bp-asm.h: Remove file.
9041         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9042         <bp-sym.h> and <bp-asm.h>.
9043         (__clone): Do not use BP_SYM.
9044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9045         <bp-sym.h> and <bp-asm.h>.
9046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9047         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9048         "bp-asm.h".
9049         (_setjmp): Do not use BP_SYM.
9050         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9051         "bp-asm.h".
9052         (setjmp): Do not use BP_SYM.
9053         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9054         libc_hidden_def.
9055         (mempcpy): Do not use BP_SYM in weak_alias.
9056         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9057         "bp-asm.h".
9058         (strchr): Do not use BP_SYM.
9059         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9060         "bp-asm.h".
9061         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9062         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9063         (_start): Do not use BP_SYM.
9064         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9065         "bp-asm.h".
9066         (strcat): Do not use BP_SYM.
9067         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9068         "bp-asm.h".
9069         (STRCMP): Do not use BP_SYM.
9070         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9071         "bp-asm.h".
9072         (STRCPY): Do not use BP_SYM.
9073         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9074         "bp-asm.h".
9075         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9076         "bp-asm.h".
9077         (FUNCTION): Do not use BP_SYM.
9078         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9079         weak_alias.
9080         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9082 2013-02-17  Andreas Jaeger  <aj@suse.de>
9084         * time/Versions: Sort entries.
9085         * string/Versions: Likewise.
9086         * resolv/Versions: Likewise.
9087         * posix/Versions: Likewise.
9088         * iconv/Versions: Likewise.
9089         * elf/Versions: Likewise.
9090         * wcsmbs/Versions: Likewise.
9092 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9094         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9095         loop termination condition.
9097         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9098         variable to calculate EZ.
9099         (__sqr): Likewise.
9101         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9102         the lower precision input.
9104 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9106         [BZ #13550]
9107         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9108         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9109         (run-via-rtld-prefix): Do not handle %-bp tests.
9110         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9111         (all-object-suffixes): Remove .ob.
9112         (bppfx): Remove variable.
9113         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9114         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9115         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9116         [$(build-bounded) = yes] (libtype.ob): Likewise.
9117         * Makerules (elide-routines.ob): Remove variable.
9118         (do-tests-clean): Do not handle *-bp.out.
9119         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9120         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9121         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9122         (tests): Do not include $(tests-bp.out).
9123         (xtests): Do not include $(xtests-bp.out).
9124         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9125         [$(build-bounded) = yes] ($(addprefix
9126         $(objpfx),$(binaries-bounded))): Remove rule.
9127         ($(objpfx)%-bp.out): Remove rule.
9128         * config.make.in (build-bounded): Remove variable.
9129         * crypt/Makefile [$(build-bounded) = yes]
9130         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9131         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9132         append to variable.
9133         [$(build-bounded) = yes] (install-lib): Likewise.
9134         [$(build-bounded) = yes] (generated): Likewise.
9135         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9136         Remove rule.
9137         * intl/Makefile [$(build-bounded) = yes]
9138         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9139         * math/Makefile [$(build-bounded) = yes]
9140         ($(tests:%=$(objpfx)%-bp): Likewise.
9141         * misc/Makefile [$(build-bounded) = yes]
9142         ($(objpfx)tst-tsearch-bp): Likewise.
9143         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9144         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9145         Remove dependency.
9146         * string/Makefile (o-objects.ob): Remove variable.
9147         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9148         (CFLAGS-.ob): Remove variable.
9149         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9150         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9151         both definitions of variable.
9152         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9153         (ASFLAGS-.ob): Remove variable.
9155 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9157         [BZ #13550]
9158         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9159         Remove __BOUNDED_POINTERS__ from condition.
9160         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9161         * string/bits/string2.h [!__NO_STRING_INLINES &&
9162         !__BOUNDED_POINTERS__]: Likewise.
9163         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9164         Likewise.
9165         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9166         Remove conditional code.
9167         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9168         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9169         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9170         condition.
9172         [BZ #13550]
9173         * csu/libc-start.c: Do not include <bp-sym.h>.
9174         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9175         * elf/dl-open.c: Do not include <bp-sym.h>.
9176         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9177         * math/fegetenv.c: Do not include <bp-sym.h>.
9178         (fegetenv): Do not use BP_SYM in versioned symbols.
9179         * nptl/sysdeps/pthread/bits/libc-lockP.h
9180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9181         <bp-sym.h>.
9182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9183         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9185         (__pthread_mutex_destroy): Likewise.
9186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9187         (__pthread_mutex_lock): Likewise.
9188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9189         (__pthread_mutex_trylock): Likewise.
9190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9191         (__pthread_mutex_unlock): Likewise.
9192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9193         (__pthread_mutexattr_init): Likewise.
9194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9195         (__pthread_mutexattr_destroy): Likewise.
9196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9197         (__pthread_mutexattr_settype): Likewise.
9198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9199         (__pthread_rwlock_init): Likewise.
9200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9201         (__pthread_rwlock_destroy): Likewise.
9202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9203         (__pthread_rwlock_rdlock): Likewise.
9204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9205         (__pthread_rwlock_tryrdlock): Likewise.
9206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9207         (__pthread_rwlock_wrlock): Likewise.
9208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9209         (__pthread_rwlock_trywrlock): Likewise.
9210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9211         (__pthread_rwlock_unlock): Likewise.
9212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9213         (__pthread_key_create): Likewise.
9214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9215         (__pthread_setspecific): Likewise.
9216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9217         (__pthread_getspecific): Likewise.
9218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9219         Likewise.
9220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9221         (_pthread_cleanup_push_defer): Likewise.
9222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9223         (_pthread_cleanup_pop_restore): Likewise.
9224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9225         (pthread_setcancelstate): Likewise.
9226         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9227         <bp-sym.h>.
9228         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9229         (memchr): Do not use BP_SYM in weak_alias.
9230         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9231         (fegetenv): Do not use BP_SYM in versioned symbols.
9232         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9233         (fesetenv): Do not use BP_SYM in versioned symbols.
9234         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9235         (feupdateenv): Do not use BP_SYM in versioned symbols.
9236         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9237         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9238         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9239         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9240         (open64): Do not use BP_SYM in weak_alias.
9241         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9242         (fegetenv): Do not use BP_SYM in versioned symbols.
9243         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9244         (fesetenv): Do not use BP_SYM in versioned symbols.
9245         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9246         (feupdateenv): Do not use BP_SYM in versioned symbols.
9247         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9248         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9249         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9250         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9251         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9252         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9253         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9254         <bp-sym.h>.
9255         (__libc_start_main): Do not use BP_SYM.
9257 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9260         redundant return line.
9261         (norm): Likewise.
9262         (denorm): Likewise.
9263         (dbl_mp): Likewise.
9264         (sub_magnitudes): Likewise.
9265         (__add): Likewise.
9266         (__sub): Likewise.
9267         (__mul): Likewise.
9268         (__inv): Likewise.
9269         (__dvd): Likewise.
9270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9271         (norm): Likewise.
9272         (denorm): Likewise.
9273         (dbl_mp): Likewise.
9274         (sub_magnitudes): Likewise.
9275         (__add): Likewise.
9276         (__sub): Likewise.
9277         (__mul): Likewise.
9278         (__inv): Likewise.
9279         (__dvd): Likewise.
9281         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9282         instead of __mul.
9283         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9284         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9285         (cc32): Likewise.
9287         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9288         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9290         of __mul for squares.
9291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9292         function
9293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9294         Likewise.
9295         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9296         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9298 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9300         [BZ #13550]
9301         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9302         code.
9303         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9304         prototype or function definition.  Rename ubp_* variables and
9305         parameters.  Remove argv definitions conditional on
9306         [__BOUNDED_POINTERS__].
9307         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9308         * elf/dl-runtime.c (_dl_fixup): Likewise.
9309         * include/set-hooks.h (RUN_HOOK): Likewise.
9310         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9311         definition.
9312         * string/strcpy.c (strcpy): Do not use __unbounded.
9313         * sysdeps/generic/frame.h (struct layout): Likewise.
9314         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9315         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9316         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9317         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9318         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9319         (__backtrace): Likewise.
9320         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9321         use __ptrvalue.
9322         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9323         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9324         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9325         Likewise.
9326         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9327         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9328         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9329         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9330         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9331         Do not use __unbounded.
9332         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9333         Rename __unboundedrlimits parameter to rlimits in prototype.
9334         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9335         Do not use __unbounded.
9336         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9337         not use __ptrvalue.
9338         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9339         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9340         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9341         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9342         __ptrvalue or __unbounded.
9343         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9344         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9345         use __unbounded.
9346         (__new_msgctl): Do not use __ptrvalue.
9347         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9348         __unbounded.
9349         (__libc_msgrcv): Do not use __ptrvalue.
9350         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9351         startup_info): Do not use __unbounded.
9352         (__libc_start_main): Likewise.  Rename ubp_* variables and
9353         parameters.  Remove argv definitions conditional on
9354         [__BOUNDED_POINTERS__].
9355         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9356         __ptrvalue.
9357         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9358         use __unbounded.
9359         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9360         or __ptrvalue.
9361         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9362         use __unbounded.
9363         (__new_shmctl): Do not use __ptrvalue.
9364         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9365         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9366         Likewise.
9367         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9368         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9369         (__libc_sigaction): Likewise.
9370         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9372         Likewise.
9373         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9375 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9377         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9379         * string/mempcpy.c: Implement by calling memcpy.
9381 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9385         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9386         evaluation.
9388         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9389         values in the mantissa.
9391         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9392         minimize writes to Z.
9393         (sub_magnitudes): Simplify code a bit.
9395 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9397         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9398         from the message.  The linker prefixes all warnings with that already.
9400 2013-02-12  Andreas Schwab  <schwab@suse.de>
9402         [BZ #15078]
9403         * posix/regexec.c (extend_buffers): Add parameter min_len.
9404         (check_matching): Pass minimum needed length.
9405         (clean_state_log_if_needed): Likewise.
9406         (get_subexp): Likewise.
9407         * posix/Makefile (tests): Add bug-regex34.
9408         (bug-regex34-ENV): Define.
9409         * posix/bug-regex34.c: New file.
9411         [BZ #11561]
9412         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9413         elements compare against the byte sequence of it, not its name.
9414         * posix/Makefile (tests): Add bug-regex35.
9415         (bug-regex35-ENV): Define.
9416         * posix/bug-regex35.c: New file.
9418 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9420         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9421         comment.
9422         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9423         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9424         (CHECK_EOL): Add undef.
9426 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9428         * bits/stdlib-bsearch.h: New file.
9429         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9430         * stdlib/stdlib.h: Likewise.
9432 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9434         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9435         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9436         declaration.
9437         * manual/search.texi (Array Search Function): Add missing const in
9438         lfind prototype.
9439         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9440         declaration to use rlim_t.
9441         (Basic Scheduling Functions): Remove erroneous const from
9442         sched_getparam prototype.  Remove erroneous * from
9443         sched_get_priority_max and sched_get_priority_min prototypes.
9444         (Resource Usage): Fix summary @comment on vtimes to refer to
9445         sys/vtimes.h rather than vtimes.h.
9446         Add missing *s in vtimes prototype.
9447         (Limits on Resources): Fix ulimit prototype to return long int.
9448         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9449         prototypes to use long int rather than double.
9450         (BSD Random): Fix initstate and setstate to use char *, not void *.
9451         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9452         prototype to make second argument 'struct aiocb64 *const[]'.
9453         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9454         (Status of AIO Operations): Remove erroneous const in aio_return and
9455         aio_return64 prototypes.
9456         (Synchronizing I/O): Fix sync prototype to return void.
9457         * manual/startup.texi (Suboptions): Remove an erroneous const in
9458         getsubopt prototype.
9459         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9460         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9461         use size_t rather than int.
9462         (Scanning All Users): Likewise for getpwent_r.
9463         (Setting Groups): Add missing const to setgroups prototype.
9464         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9465         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9466         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9467         'const void *' rather than 'const char *'.
9468         (Host Address Functions): Likewise for inet_ntop.
9469         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9470         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9471         ssize_t for return value.
9472         (Sending Data): Likewise for send, sendto, sendmsg.
9473         (Socket Option Functions): Add a missing const in setsockopt prototype.
9474         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9475         use wchar_t for the argument.
9476         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9477         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9478         take no arguments.
9479         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9480         double/float/long double for second argument.
9481         Fix return types of significand, significandf, significandl.
9482         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9483         argument in fchmod prototype.
9484         (File Owner): Use uid_t and gid_t in fchown prototype.
9485         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9486         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9487         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9488         use 'const struct dirent **' as argument types to CMP function pointer
9489         argument.
9490         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9491         (File Times): Fix summary magic @comment for struct utimbuf and utime
9492         to refer to utime.h, not time.h.
9493         * manual/string.texi (Argz Functions): Add missing const in
9494         argz_extract and argz_next prototypes.
9495         (Finding Tokens in a String): Likewise for basename.
9496         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9497         (Copying and Concatenation): Fix typo in wmemmove prototype.
9498         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9499         (Signal Stack): Remove erroneous const in sigstack prototype.
9500         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9501         prototype.
9502         (Simple Calendar Time): Likewise for stime.
9503         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9504         prototype.
9505         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9506         say sys/sysctl.h instead.
9507         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9508         and vsyslog prototypes.
9510 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9512         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9513         Remove.
9515 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9517         * misc/sys/mman.h: Fix typo in mremap comment.
9519 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9521         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9522         the '\0' terminator.
9524 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9526         [BZ #13550]
9527         * debug/segfault.c: Don't include <bp-checks.h>.
9528         * sysdeps/generic/bp-checks.h: Remove file.
9529         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9530         (__GETDENTS): Don't use CHECK_N.
9531         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9532         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9533         (__getgroups): Don't use CHECK_N.
9534         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9535         (setgroups): Don't use CHECK_N.
9536         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9537         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9538         (__libc_msgrcv): Don't use CHECK_N.
9539         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9540         (__libc_msgsnd): Don't use CHECK_N.
9541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9542         <bp-checks.h>.
9543         (__libc_pread): Don't use CHECK_N.
9544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9545         include <bp-checks.h>.
9546         (__libc_pread64): Don't use CHECK_N.
9547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9548         include <bp-checks.h>.
9549         (__libc_pwrite): Don't use CHECK_N.
9550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9551         include <bp-checks.h>.
9552         (__libc_pwrite64): Don't use CHECK_N.
9553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9554         <bp-checks.h>.
9555         (__libc_pread): Don't use CHECK_N.
9556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9557         include <bp-checks.h>.
9558         (__libc_pread64): Don't use CHECK_N.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9560         include <bp-checks.h>.
9561         (__libc_pwrite): Don't use CHECK_N.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9563         include <bp-checks.h>.
9564         (__libc_pwrite64): Don't use CHECK_N.
9565         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9566         (do_pread): Don't use CHECK_N.
9567         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9568         (do_pread64): Don't use CHECK_N.
9569         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9570         (do_pwrite): Don't use CHECK_N.
9571         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9572         (do_pwrite64): Don't use CHECK_N.
9573         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9574         (__libc_readv): Don't use CHECK_N.
9575         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9576         (semop): Don't use CHECK_N.
9577         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9578         <bp-checks.h>.
9579         (semtimedop): Don't use CHECK_N.
9580         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9581         (__libc_pread): Don't use CHECK_N.
9582         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9583         <bp-checks.h>.
9584         (__libc_pread64): Don't use CHECK_N.
9585         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9586         <bp-checks.h>.
9587         (__libc_pwrite): Don't use CHECK_N.
9588         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9589         <bp-checks.h>.
9590         (__libc_pwrite64): Don't use CHECK_N.
9591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9592         <bp-checks.h>.
9593         (__libc_msgrcv): Don't use CHECK_N.
9594         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9595         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9596         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9597         (__libc_writev): Don't use CHECK_N.
9599 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9601         * string/strcpy.c: Removed unused variable.
9603         * Makeconfig (+sysdep-includes): Define with := rather than =.
9604         Use an existing include/ subdir of each sysdeps dir before it.
9606 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9608         * nscd/connection.c (register_traced_file): Comment function.
9609         [HAVE_INOTIFY] (union __inev): Define.
9610         [HAVE_INOTIFY] (inotify_check_files): New function.
9611         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9612         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9613         clear_db_cache.
9614         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9616 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9618         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9619         loaded if not already and that a failure is permanent.
9621 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9623         [BZ #15006]
9624         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9625         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9627 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9629         [BZ #13550]
9630         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9631         (CHECK_1_NULL_OK): Likewise.
9632         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9633         (__fxstat): Do not use CHECK_1.
9634         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9635         <bp-checks.h>.
9636         (___fxstat64): Do not use CHECK_1.
9637         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9638         <bp-checks.h>.
9639         (__fxstatat): Do not use CHECK_1.
9640         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9641         <bp-checks.h>.
9642         (__fxstatat64): Do not use CHECK_1.
9643         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9644         <bp-checks.h>.
9645         (__fxstat): Do not use CHECK_1.
9646         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9647         <bp-checks.h>.
9648         (__fxstatat): Do not use CHECK_1.
9649         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9650         <bp-checks.h>.
9651         (__getresgid): Do not use CHECK_1.
9652         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9653         <bp-checks.h>.
9654         (__getresuid): Do not use CHECK_1.
9655         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9656         <bp-checks.h>.
9657         (__lxstat): Do not use CHECK_1.
9658         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9659         <bp-checks.h>.
9660         (__old_msgctl): Do not use CHECK_1.
9661         (__new_msgctl): Likewise.
9662         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9663         <bp-checks.h>.
9664         (__new_setrlimit): Do not use CHECK_1.
9665         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9666         <bp-checks.h>.
9667         (__old_shmctl): Do not use CHECK_1.
9668         (__new_shmctl): Likewise.
9669         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9670         <bp-checks.h>.
9671         (__xstat): Do not use CHECK_1.
9672         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9673         (__lxstat): Do not use CHECK_1.
9674         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9675         <bp-checks.h>.
9676         (___lxstat64): Do not use CHECK_1.
9677         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9678         (__old_msgctl): Do not use CHECK_1.
9679         (__new_msgctl): Likewise.
9680         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9681         <bp-checks.h>.
9682         (__gettimeofday): Do not use CHECK_1.
9683         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9684         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9685         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9686         <bp-checks.h>.
9687         (__gettimeofday): Do not use CHECK_1.
9688         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9689         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9690         (__new_shmctl): Do not use CHECK_1.
9691         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9692         <bp-checks.h>.
9693         (do_sigtimedwait): Do not use CHECK_1.
9694         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9695         <bp-checks.h>.
9696         (do_sigwaitinfo): Do not use CHECK_1.
9697         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9698         <bp-checks.h>.
9699         (msgctl): Do not use CHECK_1.
9700         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9701         <bp-checks.h>.
9702         (shmctl): Do not use CHECK_1.
9703         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9704         (ustat): Do not use CHECK_1.
9705         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9706         <bp-checks.h>.
9707         (__fxstat): Do not use CHECK_1.
9708         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9709         <bp-checks.h>.
9710         (__fxstatat): Do not use CHECK_1.
9711         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9712         <bp-checks.h>.
9713         (__lxstat): Do not use CHECK_1.
9714         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9715         <bp-checks.h>.
9716         (__xstat): Do not use CHECK_1.
9717         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9718         (__xstat): Do not use CHECK_1.
9719         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9720         (___xstat64): Do not use CHECK_1.
9722         [BZ #13550]
9723         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9724         definitions.
9725         (CHECK_BOUNDS_HIGH): Likewise.
9726         * string/strcpy.c: Do not include <bp-checks.h>.
9727         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9729 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9731         * nscd/nscd-client.h (__nscd_drop_map_ref):
9732         Add __attribute__ ((unused)).
9733         * nis/nss-nisplus.h (niserr2nss): Likewise.
9735         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9736         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9738         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9739         Remove inline keyword.
9740         * include/rounding-mode.h (round_away): Likewise.
9741         * libio/wfileops.c (adjust_wide_data): Likewise.
9742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9743         (__m128i_strloadu_tolower): Likewise.
9744         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9745         (__m128i_strloadu_tolower): Likewise.
9746         * time/mktime.c (ydhms_diff): Likewise.
9747         * locale/elem-hash.h (elem_hash): Likewise.
9748         * locale/setlocale.c (setdata): Likewise.
9749         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9750         (re_string_wchar_at): Likewise.
9751         (bitset_not, bitset_merge, bitset_mask): Likewise.
9752         [!(__GNUC__ > 3)] (inline): Remove macro.
9753         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9754         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9755         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9756         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9757         * string/memcmp.c (memcmp_bytes): Likewise.
9758         * locale/programs/locarchive.c (compute_hashval): Likewise.
9759         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9760         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9761         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9762         * nss/getent.c (print_rpc, print_protocols): Likewise.
9763         (print_passwd, print_group, print_aliases): Likewise.
9764         * nis/nss-nisplus.h (niserr2nss): Likewise.
9765         * nscd/connections.c (restart_p): Likewise.
9766         Change return type to bool.
9768 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9770         * Makeconfig (all-Depend-files): Add existing
9771         $(sorted-subdirs:=/Depend) files.
9772         (all-subdirs): Remove nss.
9773         * sysdeps/unix/inet/Subdirs: Add it here instead.
9774         * hesiod/Depend: New file.
9776         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9777         instead of calling alloca.
9779         * io/lseek.c (__lseek): Rename to __libc_lseek.
9780         Define __lseek as an alias.
9782         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9784 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9786         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9787         else clause and remove check for non-standard endianness.
9789 2013-02-04  David S. Miller  <davem@davemloft.net>
9791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9793 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9795         [BZ #13550]
9796         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9797         (__ubp_memchr): Remove prototype.
9798         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9799         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9800         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9801         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9802         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9803         Remove alias.
9804         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9805         (__ubp_memchr): Likewise.
9806         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9807         (__ubp_memchr): Likewise.
9808         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9809         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9810         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9811         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9812         CHECK_STRING.
9813         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9814         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9815         (__getcwd): Do not use CHECK_STRING.
9816         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9817         <bp-checks.h>.
9818         (__real_chown): Do not use CHECK_STRING.
9819         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9820         <bp-checks.h>.
9821         (fchownat): Do not use CHECK_STRING.
9822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9823         CHECK_STRING.
9824         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9825         <bp-checks.h>.
9826         (__lchown): Do not use CHECK_STRING.
9827         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9828         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9829         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9830         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9832         include <bp-checks.h>.
9833         (truncate64): Do not use CHECK_STRING.
9834         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9835         <bp-checks.h>.
9836         (__real_chown): Do not use CHECK_STRING.
9837         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9838         <bp-checks.h>.
9839         (__lchown): Do not use CHECK_STRING.
9840         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9841         <bp-checks.h>.
9842         (__chown): Do not use CHECK_STRING.
9843         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9844         <bp-checks.h>.
9845         (truncate64): Do not use CHECK_STRING.
9846         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9847         Likewise.
9848         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9849         (__xmknod): Do not use CHECK_STRING.
9850         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9851         <bp-checks.h>.
9852         (__xmknodat): Do not use CHECK_STRING.
9853         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9854         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9856 2013-02-04  Andreas Schwab  <schwab@suse.de>
9858         [BZ #14142]
9859         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9860         * include/netdb.h: Likewise for h_errno.
9861         * elf/tst-stackguard1.c: Include <tls.h>.
9863 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9865         * elf/link.h (struct link_map): Extend the l_addr comment.
9866         * include/link.h (struct link_map): Likewise.
9868 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9870         [BZ #13550]
9871         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9872         (BOUNDED_1): Remove macro.
9873         * debug/backtrace.c: Don't include <bp-checks.h>.
9874         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9875         (__backtrace): Likewise.
9876         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9877         <bp-checks.h>.
9878         (__backtrace): Don't use BOUNDED_1.
9879         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9880         <bp-checks.h>.
9881         (__backtrace): Don't use BOUNDED_1.
9882         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9883         (__backtrace): Don't use BOUNDED_1.
9884         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9885         (shmat): Don't use BOUNDED_N.
9887 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
9889         [BZ #13550]
9890         * sysdeps/generic/bp-start.h: Remove file.
9891         * csu/libc-start.c: Don't include <bp-start.h>.
9892         (LIBC_START_MAIN): Set up __environ directly instead of using
9893         INIT_ARGV_and_ENVIRON.
9894         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9895         <bp-start.h>.
9897         [BZ #13550]
9898         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9899         definitions.
9900         (CHECK_FCNTL): Likewise.
9901         (CHECK_N_PAGES): Likewise.
9903         [BZ #13550]
9904         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9905         definitions.
9906         (CHECK_SIGSET_NULL_OK): Likewise.
9907         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9908         <bp-checks.h>.
9909         (sigpending): Don't use CHECK_SIGSET.
9910         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9911         <bp-checks.h>.
9912         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9913         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9914         <bp-checks.h>.
9915         (do_sigsuspend): Don't use CHECK_SIGSET.
9916         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9917         use CHECK_SIGSET.
9918         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9919         (do_sigwait): Don't use CHECK_SIGSET.
9920         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9921         use CHECK_SIGSET.
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9923         include <bp-checks.h>.
9924         (sigpending): Don't use CHECK_SIGSET.
9925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9926         include <bp-checks.h>.
9927         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9928         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9929         <bp-checks.h>.
9930         (sigpending): Don't use CHECK_SIGSET.
9931         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9932         <bp-checks.h>.
9933         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9935         [BZ #13550]
9936         * sysdeps/generic/bp-semctl.h: Remove file.
9937         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9938         <bp-checks.h> and <bp-semctl.h>.
9939         (__old_semctl): Don't use CHECK_SEMCTL.
9940         (__new_semctl): Likewise.
9941         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9942         and <bp-semctl.h>.
9943         (__old_semctl): Don't use CHECK_SEMCTL.
9944         (__new_semctl): Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9946         <bp-checks.h> and <bp-semctl.h>.
9947         (__old_semctl): Don't use CHECK_SEMCTL.
9948         (__new_semctl): Likewise.
9949         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9950         <bp-checks.h> and <bp-semctl.h>.
9951         (semctl): Don't use CHECK_SEMCTL.
9953         [BZ #13550]
9954         * Makerules (elide-bp-thunks): Remove variable.
9955         (elide-routines.oS): Don't use $(elide-bp-thunks).
9956         (elide-routines.os): Likewise.
9957         (elide-routines.o): Likewise.
9958         (elide-routines.op): Likewise.
9959         (elide-routines.og): Likewise.
9960         (objects): Don't use $(bp-thunks).
9961         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9962         include.
9963         (common-generated): Do not add s-proto-bp.d.
9964         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9965         (int): Likewise.
9966         (typ): Likewise.
9967         Do not generate makefile rules for bounded-pointer thunks.
9968         * sysdeps/generic/bp-thunks.h: Remove file.
9969         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9970         * sysdeps/unix/s-proto-bp.S: Likewise.
9972         [BZ #15062]
9973         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9974         parts of result separately when argument is not close to line from
9975         -i to i and one part of argument is small.
9976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9978         * math/libm-test.inc (cacos_test): Add more tests.
9979         (casin_test): Likewise.
9980         (casinh_test): Likewise.
9981         * sysdeps/i386/fpu/libm-test-ulps: Update.
9982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984 2013-01-31  David S. Miller  <davem@davemloft.net>
9986         * po/de.po: Update from translation team.
9988 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9990         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9992 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9994         * configure.in (_AC_PROG_CC_C89): New definition.
9995         * configure: Regenerate.
9997         * configure.in (AC_PROG_CPP): New definition.
9998         * configure: Regenerate.
10000 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10002         * debug/tst-backtrace.h: New file.
10003         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10004         (ret): Remove variable.
10005         (x): Likewise.
10006         (FAIL): Remove macro.
10007         (NO_INLINE): Likewise.
10008         (fn1): Use match function instead of strstr.
10009         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10010         (ret): Remove variable.
10011         (x): Likewise.
10012         (FAIL): Remove macro.
10013         (NO_INLINE): Likewise.
10014         (fn): Use match function instead of strstr.
10015         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10016         (ret): Remove variable.
10017         (x): Likewise.
10018         (FAIL): Remove macro.
10019         (NO_INLINE): Likewise.
10020         (handle_signal): Use match function instead of strstr.
10021         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10022         (ret): Remove variable.
10023         (x): Likewise.
10024         (FAIL): Remove macro.
10025         (NO_INLINE): Likewise.
10026         (handle_signal): Use match function instead of strstr.
10028 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10030         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10032 2013-01-23  David S. Miller  <davem@davemloft.net>
10034         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10035         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10036         argument of CAS if possible.
10037         * sysdeps/sparc/sparc64/bits/atomic.h
10038         (__arch_compare_and_exchange_val_32_acq): Likewise.
10039         (__arch_compare_and_exchange_val_64_acq): Likewise.
10041 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10043         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10044         * sysdeps/posix/ulimit.c: ... this.
10045         Include <limits.h>.
10046         * sysdeps/unix/bsd/ulimit.c: Remove file.
10048 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10050         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10051         (LDFLAGS-tst-array5): Likewise.
10053 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10055         [BZ #15036]
10056         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10057         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10058         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10059         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10061 2013-01-21  David S. Miller  <davem@davemloft.net>
10063         * sysdeps/sparc/backtrace.c: New file.
10064         * sysdeps/sparc/sparc32/backtrace.h: New file.
10065         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10066         * sysdeps/sparc/sparc64/backtrace.h: New file.
10067         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10068         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10069         -funwind-tables.
10071 2013-01-21  Andreas Schwab  <schwab@suse.de>
10073         [BZ #15020]
10074         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10075         closed its stdout.
10077 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10080         "mpa2.h".
10081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10083 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10084             Mark Mitchell  <mark@codesourcery.com>
10085             Tom de Vries  <tom@codesourcery.com>
10086             Paul Pluzhnikov  <ppluzhnikov@google.com>
10088         * debug/tst-backtrace2.c: New file.
10089         * debug/tst-backtrace3.c: Likewise.
10090         * debug/tst-backtrace4.c: Likewise.
10091         * debug/tst-backtrace5.c: Likewise.
10092         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10093         (CFLAGS-tst-backtrace3.c): Likewise.
10094         (CFLAGS-tst-backtrace4.c): Likewise.
10095         (CFLAGS-tst-backtrace5.c): Likewise.
10096         (LDFLAGS-tst-backtrace2): Likewise.
10097         (LDFLAGS-tst-backtrace3): Likewise.
10098         (LDFLAGS-tst-backtrace4): Likewise.
10099         (LDFLAGS-tst-backtrace5): Likewise.
10100         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10101         tst-backtrace4 and tst-backtrace5.
10103 2013-01-18  Anton Blanchard  <anton@samba.org>
10104             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10106         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10107         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10108         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10109         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10111         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10112         "+r" and remove output regs list as redundant.  Add explicit inline
10113         asm to specify register of return val to work around compiler codegen
10114         bug.  Remove (int) cast on return value.  Add return type parameter to
10115         use in macro so that this macro does not truncate return value for
10116         64-bit values.
10117         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10118         pass to INTERNAL_VSYSCALL_NCS.
10119         (INLINE_VSYSCALL): Add 'long int' as return type to
10120         INTERNAL_VSYSCALL_NCS macro invocation.
10121         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10122         INTERNAL_VSYSCALL_NCS macro invocation.
10123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10125 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10127         [BZ #14496]
10128         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10129         Fix application of SIMD FP exception mask.
10131         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10132         mp_no from a power of two.
10133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10134         __mpexp_twomm1.  Use __pow_mp.
10136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10137         multiplication.
10139 2013-01-17  David S. Miller  <davem@davemloft.net>
10141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10143 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10145         [BZ #15023]
10146         * include/complex.h: Condition contents on [!_COMPLEX_H].
10147         (__kernel_casinhf): New prototype.
10148         (__kernel_casinh): Likewise.
10149         (__kernel_casinhl): Likewise.
10150         * math/Makefile (libm_calls): Add k_casinh.
10151         * math/k_casinh.c: New file.
10152         * math/k_casinhf.c: Likewise.
10153         * math/k_casinhl.c: Likewise.
10154         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10155         finite nonzero arguments.
10156         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10157         finite nonzero arguments.
10158         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10159         finite nonzero arguments.
10160         * math/s_casinh.c: Do not include <float.h>.
10161         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10162         * math/s_casinhf.c: Do not include <float.h>.
10163         (__casinhf): Move code for finite nonzero arguments to
10164         k_casinhf.c.
10165         * math/s_casinhl.c: Do not include <float.h>.
10166         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10167         redefine.
10168         (__casinhl): Move code for finite nonzero arguments to
10169         k_casinhl.c.
10170         * math/libm-test.inc (cacos_test): Add more tests.
10171         * sysdeps/i386/fpu/libm-test-ulps: Update.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10174 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10176         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10177         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10178         [!HAVE_MREMAP]: Remove [defined linux] case.
10179         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10181 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10183         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10185 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10187         * elf/elf.h (R_386_SIZE32): New relocation.
10188         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10189         R_386_SIZE32.
10190         (elf_machine_rela): Likewise.
10191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10192         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10194 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10196         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10197         (FP_FAST_FMA): Do not define.
10198         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10199         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10200         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10201         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10202         !_SOFT_FLOAT]: Likewise.
10203         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10204         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10205         value.
10206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10207         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10208         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10209         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10210         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10211         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10212         file.
10214 2013-01-16  Andreas Schwab  <schwab@suse.de>
10216         [BZ #14327]
10217         * include/stdlib.h (__mktemp): Add declaration.
10218         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10219         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10221 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10223         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10224         definitions.
10225         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10226         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10227         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10228         definitions here.
10229         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10230         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10231         definitions.
10232         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10233         and ONE.
10234         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10235         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10236         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10237         definitions.
10238         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10239         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10240         definitions.
10241         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10243         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10245 2013-01-15  David S. Miller  <davem@davemloft.net>
10247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10248         trunc{,f} to libm-sysdep_routes.
10249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10251         file.
10252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10254         file.
10255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10256         file.
10257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10259         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10260         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10261         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10262         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10263         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10264         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10267         nearbyint{,f} to libm-sysdep_routes.
10268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10270         New file.
10271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10272         file.
10273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10274         New file.
10275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10276         file.
10277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10280         file.
10281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10282         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10283         file.
10284         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10285         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10286         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10288         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10289         libc_feholdexcept and libc_fesetenv.
10291 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10293         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10295 2013-01-14  David S. Miller  <davem@davemloft.net>
10297         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10298         (SPARC_ASM_VIS2_IFUNC): Likewise.
10299         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10301         use of 'siam' instruction.
10302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10303         Likewise.
10304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10305         Likewise.
10306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10307         Likewise.
10308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10313         file.
10314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10315         file.
10316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10317         file.
10318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10319         file.
10320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10325         new VIS2 routines.
10326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10329         Likewise.
10330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10335         routines to libm-sysdep_routines.
10336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10339         fdim/fdimf to libm-sysdep_routines.
10340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10341         file.
10342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10344         file.
10345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10348         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10349         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10350         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10351         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10353 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10355         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10356         to optimize copies.
10358         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10363         local variable MPTWO.
10364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10365         Likewise.
10367 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10369         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10370         GLOB_NOESCAPE.
10372 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10374         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10376 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10378         * manual/pattern.texi (glob_t): Document gl_flags.
10379         (glob64_t): Likewise.
10381 2013-01-11  David S. Miller  <davem@davemloft.net>
10383         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10384         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10385         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10386         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10387         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10388         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10389         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10390         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10391         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10392         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10393         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10394         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10395         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10397         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10398         sparc V9 rather than using V8 code.
10399         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10400         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10402         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10403         Move to...
10404         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10405         Here.
10407 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10409         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10410         not in the main loop.
10411         * configure: Regenerated.
10413 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10415         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10416         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10417         to just #else.
10418         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10419         [!__GLIBC_HAVE_LONG_LONG] case.
10420         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10421         condition to just #else.
10422         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10423         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10424         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10425         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10426         unconditional.
10427         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10428         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10429         #elif condition to just #else.
10430         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10431         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10432         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10433         #elif condition to just #else.
10435 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10437         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10438         (EF_MIPS_ARCH_64): Fix value.
10439         (EF_MIPS_ARCH_32R2): New.
10440         (EF_MIPS_ARCH_64R2): New.
10442 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10444         * Makeconfig (+link-pie-before-libc): New.
10445         (+link-pie-after-libc): Likewise.
10446         (+link-pie-tests): Likewise.
10447         (+link-pie): Rewritten.
10448         (link-before-libc): Remove $(config-LDFLAGS).
10449         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10450         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10451         (config-LDFLAGS): Renamed to ...
10452         (rtld-LDFLAGS): This.
10453         (rtld-tests-LDFLAGS): New macro.
10454         (link-libc-rpath-link): Likewise.
10455         (link-libc-tests-rpath-link): Likewise.
10456         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10457         (link-libc): Prepand $(link-libc-rpath-link).
10458         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10459         (test-program-prefix): New macro.
10460         (test-via-rtld-prefix): Likewise.
10461         (test-program-cmd): Likewise.
10462         (host-test-program-cmd): Likewise.
10463         * Makefile ($(common-objpfx)testrun.sh): Replace
10464         $(run-program-prefix) with $(test-program-prefix).
10465         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10466         $(rtld-LDFLAGS).
10467         ($(common-objpfx)shlib.lds): Likewise.
10468         (build-module-helper): Likewise.
10469         ($(common-objpfx)format.lds): Likewise.
10470         * Rules (binaries-pie-tests): New.
10471         (binaries-pie-notests): Likewise.
10472         (binaries-pie): Rewritten.
10473         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10474         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10475         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10476         (make-test-out): Replace $(host-built-program-cmd) with
10477         $(host-test-program-cmd).
10478         * config.make.in (build-hardcoded-path-in-tests): New variable.
10479         * configure.in (--enable-hardcoded-path-in-tests): New configure
10480         option.
10481         (hardcoded_path_in_tests): New AC_SUBST.
10482         * configure: Regenerated.
10483         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10484         $(built-program-cmd) with $(test-program-cmd).
10485         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10486         (test_program_cmd): This.
10487         * elf/Makefile ($(objpfx)order.out): Run test with
10488         $(test-program-prefix).
10489         ($(objpfx)order2.out): Likewise.
10490         ($(objpfx)tst-initorder.out): Likewise.
10491         ($(objpfx)tst-initorder2.out): Likewise.
10492         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10493         $(test-program-cmd).
10494         ($(objpfx)tst-array1-static.out): Likewise.
10495         ($(objpfx)tst-array2.out): Likewise.
10496         ($(objpfx)tst-array3.out): Likewise.
10497         ($(objpfx)tst-array4.out): Likewise.
10498         ($(objpfx)tst-array5.out): Likewise.
10499         ($(objpfx)tst-array5-static.out): Likewise.
10500         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10501         $(test-program-cmd).
10502         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10503         $(run-program-prefix) with $(test-program-prefix).
10504         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10505         (test_program_prefix): This.
10506         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10507         $(run-program-prefix) with $(test-program-prefix).
10508         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10509         (test_program_prefix): This.
10510         * iconvdata/tst-tables.sh: Likewise.
10511         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10512         $(run-program-prefix) with $(test-program-prefix).
10513         ($(objpfx)tst-translit.out): Likewise.
10514         ($(objpfx)tst-gettext2.out): Likewise.
10515         ($(objpfx)tst-gettext4.out): Likewise.
10516         ($(objpfx)tst-gettext6.out): Likewise.
10517         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10518         (test_program_prefix): This.
10519         * intl/tst-gettext2.sh: Likewise.
10520         * intl/tst-gettext4.sh  Likewise.
10521         * intl/tst-gettext6.sh: Likewise.
10522         * intl/tst-translit.sh: Likewise.
10523         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10524         with $(test-program-cmd).
10525         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10526         $(run-program-prefix) with $(test-program-prefix).
10527         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10528         (test_program_prefix): This.
10529         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10530         $(run-program-prefix) with $(test-program-prefix).
10531         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10532         (test_program_prefix): This.
10533         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10534         * posix/Makefile ($(objpfx)globtest.out): Replace
10535         $(run-via-rtld-prefix) and $(test-wrapper) with
10536         $(test-program-prefix) and $(test-via-rtld-prefix).
10537         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10538         $(test-program-prefix).
10539         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10540         $(host-test-program-cmd).
10541         (tst-spawn-ARGS): Likewise.
10542         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10543         $(test-program-prefix).
10544         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10545         (test_via_rtld_prefix): This.
10546         (test_wrapper): Renamed to ...
10547         (test_program_prefix): This.
10548         (run_program_prefix): Replaced by test_program_prefix.
10549         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10550         (test_program_prefix): This.
10551         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10552         with $(host-test-program-cmd).
10553         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10554         $(run-program-prefix) with $(test-program-prefix).
10555         ($(objpfx)tst-printf.out): Likewise.
10556         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10557         $(test-program-cmd).
10558         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10559         (test_program_prefix): This.
10560         * stdio-common/tst-unbputc.sh: Likewise.
10561         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10562         $(run-program-prefix) with $(test-program-prefix).
10563         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10564         (test_program_prefix): This.
10565         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10566         $(built-program-cmd) with $(test-program-cmd).
10568 2013-01-11  Andreas Jaeger  <aj@suse.de>
10570         [BZ #15003]
10571         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10572         value. Sync with Linux 3.7.
10574 2013-01-10  David S. Miller  <davem@davemloft.net>
10576         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10577         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10578         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10580 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10582         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10583         never set.
10584         * configure: Regenerated.
10586 2013-01-10  David S. Miller  <davem@davemloft.net>
10588         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10589         sparc V9 rather than using V8 code.
10590         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10591         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10593 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10595         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10596         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10597         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10598         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10599         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10600         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10601         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10602         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10603         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10604         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10605         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10606         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10607         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10608         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10609         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10610         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10611         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10612         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10613         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10614         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10615         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10616         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10617         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10618         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10619         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10620         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10621         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10623 2013-01-10  David S. Miller  <davem@davemloft.net>
10625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10627 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10629         * posix/Makefile (tests-static): New variable.
10630         (tests): Add $(tests-static).
10631         (tst-exec-static-ARGS): New variable.
10632         (tst-spawn-static-ARGS): Likewise.
10633         * posix/tst-exec-static.c: New file.
10634         * posix/tst-spawn-static.c: Likewise.
10635         * posix/tst-exec.c: Support run directly.
10636         * posix/tst-spawn.c: Likewise.
10638 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10640         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10641         long.
10642         * math/bits/mathcalls.h (llrint): Likewise.
10643         (llround): Likewise.
10644         * stdlib/stdlib.h (struct drand48_data): Likewise.
10645         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10646         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10647         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10648         Likewise.
10649         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10650         Likewise.
10651         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10652         (elf_greg_t): Likewise.
10653         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10654         (__jmp_buf): Likewise.
10655         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10656         definitions.
10657         (llrint): Likewise, for all definitions.
10658         (llrintl): Likewise.
10660         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10661         Remove [__GNUC__] condition.
10662         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10663         condition to just [__USE_ISOC99].
10664         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10666 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10668         [BZ #14200]
10669         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10670         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10671         defined.
10672         (_POSIX_V6_ILP32_OFF32): Likewise.
10673         (_XBS5_ILP32_OFF32): Likewise.
10674         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10675         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10677 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10679         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10682         doubles __mpexp_twomm1.  Adjust usage.
10683         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10684         Remove.
10686 2013-01-10  Andreas Schwab  <schwab@suse.de>
10688         [BZ #14964]
10689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10690         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10692 2013-01-09  David S. Miller  <davem@davemloft.net>
10694         [BZ #15003]
10695         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10696         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10697         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10698         TCP_FASTOPEN): Define.
10699         (tcp_repair_opt): New structure.
10700         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10701         enum values.
10702         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10703         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10704         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10705         (tcp_cookie_transactions): New structure.
10707 2013-01-09  Anton Blanchard  <anton@samba.org>
10709         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10710         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10711         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10712         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10714 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10716         * include/features.h (__USE_ANSI): Remove.
10718 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10720         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10722         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10724 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10726         * sysdeps/s390/fpu/libm-test-ulps: Update.
10728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10730         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10731         (__acr): Likewise.
10732         (__cpy): Likewise.
10733         (norm): Likewise.
10734         (denorm): Likewise.
10735         (__mp_dbl): Likewise.
10736         (__dbl_mp): Likewise.
10737         (add_magnitudes): Likewise.
10738         (sub_magnitudes): Likewise.
10739         (__add): Likewise.
10740         (__sub): Likewise.
10741         (__mul): Likewise.
10742         (__inv): Likewise.
10743         (__dvd): Likewise.
10744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10745         (__acr): Likewise.
10746         (__cpy): Likewise.
10747         (norm): Likewise.
10748         (denorm): Likewise.
10749         (__mp_dbl): Likewise.
10750         (__dbl_mp): Likewise.
10751         (add_magnitudes): Likewise.
10752         (sub_magnitudes): Likewise.
10753         (__add): Likewise.
10754         (__sub): Likewise.
10755         (__mul): Likewise.
10756         (__inv): Likewise.
10757         (__dvd): Likewise.
10758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10759         (__acr): Likewise.
10760         (__cpy): Likewise.
10761         (norm): Likewise.
10762         (denorm): Likewise.
10763         (__mp_dbl): Likewise.
10764         (__dbl_mp): Likewise.
10765         (add_magnitudes): Likewise.
10766         (sub_magnitudes): Likewise.
10767         (__add): Likewise.
10768         (__sub): Likewise.
10769         (__mul): Likewise.
10770         (__inv): Likewise.
10771         (__dvd): Likewise.
10773 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10775         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10776         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10777         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10778         2 && __USE_EXTERN_INLINES]: Likewise.
10780 2013-01-08  Andreas Jaeger  <aj@suse.de>
10782         [BZ# 14985]
10783         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10784         Remove.
10785         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10786         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10788 2013-01-07  Anton Blanchard  <anton@samba.org>
10790         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10791         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10792         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10793         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10794         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10795         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10796         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10797         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10799         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10802         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10804         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10806         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10807         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10808         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10809         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10810         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10811         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10812         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10813         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10814         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10815         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10816         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10817         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10819         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10820         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10822         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10823         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10824         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10825         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10826         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10827         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10828         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10830         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10831         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10832         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10834 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10836         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10837         (__MALLOC_PMT): Likewise.
10838         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10839         [__GNUC__], only on [_LIBC].
10840         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10841         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10842         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10843         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10844         forward declaration.
10845         (realloc_hook_ini): Likewise.
10846         (memalign_hook_ini): Likewise.
10847         (__libc_memalign): Do not use __MALLOC_PMT in variable
10848         declaration.
10849         (__libc_valloc): Likewise.
10850         (__libc_pvalloc): Likewise.
10851         (__libc_calloc): Likewise.
10852         (__posix_memalign): Likewise.
10854         [BZ #14996]
10855         * math/s_casinh.c: Include <float.h>.
10856         (__casinh): Do not do computation with squaring and square root
10857         for large arguments.
10858         * math/s_casinhf.c: Include <float.h>.
10859         (__casinhf): Do not do computation with squaring and square root
10860         for large arguments.
10861         * math/s_casinhl.c: Include <float.h>.
10862         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10863         (__casinhl): Do not do computation with squaring and square root
10864         for large arguments.
10865         * math/libm-test.inc (casin_test): Add more tests.
10866         (casinh_test): Likewise.
10867         * sysdeps/i386/fpu/libm-test-ulps: Update.
10868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10870 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10872         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10873         (__x86_64_raw_data_cache_size): Likewise.
10874         (__x86_64_data_cache_size_half): Likewise.
10875         (__x86_64_raw_data_cache_size_half): Likewise.
10876         (__x86_64_shared_cache_size): Likewise.
10877         (__x86_64_raw_shared_cache_size): Likewise.
10878         (__x86_64_shared_cache_size_half): Likewise.
10879         (__x86_64_raw_shared_cache_size_half): Likewise.
10880         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10881         to ...
10882         (__x86_data_cache_size): This.
10883         (__x86_64_raw_data_cache_size): Renamed to ...
10884         (__x86_raw_data_cache_size): This.
10885         (__x86_64_data_cache_size_half): Renamed to ...
10886         (__x86_data_cache_size_half): This.
10887         (__x86_64_raw_data_cache_size_half): Renamed to ...
10888         (__x86_raw_data_cache_size_half): This.
10889         (__x86_64_shared_cache_size): Renamed to ...
10890         (__x86_shared_cache_size): This.
10891         (__x86_64_raw_shared_cache_size): Renamed to ...
10892         (__x86_raw_shared_cache_size): This.
10893         (__x86_64_shared_cache_size_half): Renamed to ...
10894         (__x86_shared_cache_size_half): This.
10895         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10896         (__x86_raw_shared_cache_size_half): This.
10897         * sysdeps/x86_64/memcpy.S: Updated.
10898         * sysdeps/x86_64/memset.S: Likewise.
10899         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10900         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10901         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10903 2013-01-04  David S. Miller  <davem@davemloft.net>
10905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10907 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10909         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10910         1 to avoid redefinition warning.
10911         (__USE_GNU): Don't define.
10912         (init_signaling_nan): Protoize.
10914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10916 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10918         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10920         (__cpymn): Likewise.
10921         (norm): Remove commented code.
10922         (denorm): Likewise.
10923         (__mp_dbl): Likewise.
10924         (__inv): Likewise.
10925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10926         (__cpymn): Likewise.
10927         (norm): Remove commented code.
10928         (denorm): Likewise.
10929         (__mp_dbl): Likewise.
10930         (__inv): Likewise.
10932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10933         mp_no value for 1.0 and 2.0.
10934         (norm): Use RADIXI instead of radixi.d.
10935         (denorm): Likewise.
10936         (__mul): Use 0.0 instead of zero.d.
10937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10938         mp_no value for 1.0 and 2.0.
10939         (norm): Use RADIXI instead of radixi.d.
10940         (denorm): Likewise.
10941         (__mul): Use 0.0 instead of zero.d.
10943 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10945         [BZ #14994]
10946         * math/s_casinh.c (__casinh): Reduce finite argument to first
10947         quadrant then set signs of results at the end.
10948         * math/s_casinhf.c (__casinhf): Likewise.
10949         * math/s_casinhl.c (__casinhl): Likewise.
10950         * math/libm-test.inc (casin_test): Add more tests.
10951         (casinh_test): Likewise.
10952         * sysdeps/i386/fpu/libm-test-ulps: Update.
10953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10955 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10957         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10959         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10961         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10962         declarations.
10963         (denorm): Likewise.
10964         (__mp_dbl): Likewise.
10965         (__inv): Likewise.
10967         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10968         and adjust the header comment.
10970         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10971         variable name from declaration.
10973 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10976         Initialize COMMON_CPUID_INDEX_7 element.
10977         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10978         (CPUID_RTM): Likewise.
10979         (HAS_RTM): Likewise.
10980         (COMMON_CPUID_INDEX_7): New enum.
10982 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10984         [BZ #14981]
10985         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10986         size is zero, record memory as freed.
10988 2013-01-03  Andreas Jaeger  <aj@suse.de>
10990         * po/ia.po: Add new Interlingua translation.
10992 2012-01-03  Allan McRae  <allan@archlinux.org>
10994         * locale/programs/localedef.c: Fix description of '--posix' flag.
10996 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10998         * NEWS: Update dates in second copyright notice.
10999         * README: Update copyright dates in example.
11000         * manual/libc.texinfo: Update copyright dates.
11001         * scripts/test-installation.pl: Update copyright date in --version
11002         output.
11004         * hurd/ctty-input.c: Fix copyright notice formatting.
11005         * hurd/ctty-output.c: Likewise.
11006         * hurd/dtable.c: Likewise.
11007         * hurd/hurd-raise.c: Likewise.
11008         * hurd/hurdprio.c: Likewise.
11009         * hurd/msgportdemux.c: Likewise.
11010         * misc/sys/file.h: Likewise.
11011         * misc/sys/ioctl.h: Likewise.
11012         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11013         * sysdeps/mach/hurd/chdir.c: Likewise.
11014         * sysdeps/mach/hurd/fchdir.c: Likewise.
11015         * sysdeps/mach/hurd/rename.c: Likewise.
11016         * sysdeps/mach/hurd/rmdir.c: Likewise.
11017         * sysdeps/mach/hurd/seekdir.c: Likewise.
11018         * sysdeps/mach/hurd/setsid.c: Likewise.
11019         * sysdeps/posix/wait3.c: Likewise.
11021         * All files with FSF copyright notices: Update copyright dates
11022         using scripts/update-copyrights.
11023         * intl/plural.c: Regenerated.
11024         * locale/programs/charmap-kw.h: Likewise.
11025         * locale/programs/locfile-kw.h: Likewise.
11027 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11029         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11030         four values.
11032         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11033         calculation loop and add branch prediction.
11035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11036         check access beyond bounds of m1np.
11038         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11039         MPTWO.
11040         (__inv): Remove local variable MPTWO to use the global
11041         constant.
11042         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11043         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11044         variable MPTWO.
11045         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11046         MP3HALFS static const.
11048 2013-01-01  David S. Miller  <davem@davemloft.net>
11050         * po/ca.po: Update from translation team.
11052 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11054         * scripts/update-copyrights: New file.
11055         * Makeconfig: Reformat copyright notice.
11056         * ctype/ctype.h: Likewise.
11057         * debug/swprintf_chk.c: Likewise.
11058         * elf/dl-cache.c: Likewise.
11059         * elf/dl-debug.c: Likewise.
11060         * elf/dl-object.c: Likewise.
11061         * grp/initgroups.c: Likewise.
11062         * hurd/Makefile: Likewise.
11063         * hurd/hurd/signal.h: Likewise.
11064         * hurd/hurdfault.c: Likewise.
11065         * hurd/hurdioctl.c: Likewise.
11066         * hurd/hurdlookup.c: Likewise.
11067         * hurd/intr-msg.c: Likewise.
11068         * iconv/gconv_open.c: Likewise.
11069         * libio/swprintf.c: Likewise.
11070         * locale/lc-ctype.c: Likewise.
11071         * locale/nl_langinfo.c: Likewise.
11072         * mach/Machrules: Likewise.
11073         * mach/Makefile: Likewise.
11074         * malloc/obstack.h: Likewise.
11075         * manual/Makefile: Likewise.
11076         * manual/tsort.awk: Likewise.
11077         * misc/bits/stab.def: Likewise.
11078         * nis/nis_print_group_entry.c: Likewise.
11079         * nis/nis_table.c: Likewise.
11080         * nis/nss_compat/compat-pwd.c: Likewise.
11081         * nis/nss_compat/compat-spwd.c: Likewise.
11082         * po/Makefile: Likewise.
11083         * posix/fnmatch.c: Likewise.
11084         * posix/regex.h: Likewise.
11085         * resolv/Makefile: Likewise.
11086         * resolv/nss_dns/dns-network.c: Likewise.
11087         * resolv/res_hconf.c: Likewise.
11088         * scripts/gen-sorted.awk: Likewise.
11089         * soft-fp/soft-fp.h: Likewise.
11090         * stdio-common/printf.h: Likewise.
11091         * stdlib/monetary.h: Likewise.
11092         * stdlib/random.c: Likewise.
11093         * stdlib/random_r.c: Likewise.
11094         * sysdeps/generic/Makefile: Likewise.
11095         * sysdeps/gnu/Makefile: Likewise.
11096         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11097         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11098         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11099         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11100         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11103         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11104         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11106         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11107         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11108         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11109         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11110         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11111         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11112         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11113         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11114         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11115         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11116         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11117         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11118         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11119         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11120         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11121         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11122         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11123         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11124         * sysdeps/mach/hurd/errnos.awk: Likewise.
11125         * sysdeps/mach/hurd/fork.c: Likewise.
11126         * sysdeps/mach/hurd/getcwd.c: Likewise.
11127         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11128         * sysdeps/mach/hurd/mmap.c: Likewise.
11129         * sysdeps/mach/hurd/utimes.c: Likewise.
11130         * sysdeps/mach/hurd/xmknod.c: Likewise.
11131         * sysdeps/posix/profil.c: Likewise.
11132         * sysdeps/posix/readdir_r.c: Likewise.
11133         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11134         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11135         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11136         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11138         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11139         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11142         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11143         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11144         * sysdeps/pthread/lio_listio.c: Likewise.
11145         * sysdeps/sparc/dl-procinfo.h: Likewise.
11146         * sysdeps/unix/i386/sysdep.S: Likewise.
11147         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11148         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11149         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11150         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11152         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11153         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11154         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11155         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11156         * sysdeps/wordsize-32/divdi3.c: Likewise.
11157         * time/sys/time.h: Likewise.
11158         * wcsmbs/Makefile: Likewise.
11160 2013-01-01  David S. Miller  <davem@davemloft.net>
11162         * po/fr.po: Update from translation team.
11164         * catgets/gencat.c: Update copyright year.
11165         * csu/version.c: Likewise.
11166         * debug/catchsegv.sh: Likewise.
11167         * debug/pcprofiledump.c: Likewise.
11168         * debug/xtrace.sh: Likewise.
11169         * elf/ldconfig.c: Likewise.
11170         * elf/ldd.bash.in: Likewise.
11171         * elf/pldd.c: Likewise.
11172         * elf/sotruss.ksh: Likewise.
11173         * elf/sprof.c: Likewise.
11174         * iconv/iconv_prog.c: Likewise.
11175         * iconv/iconvconfig.c: Likewise.
11176         * locale/programs/locale.c: Likewise.
11177         * locale/programs/localedef.c: Likewise.
11178         * login/programs/pt_chown.c: Likewise.
11179         * malloc/memusage.sh: Likewise.
11180         * malloc/memusagestat.c: Likewise.
11181         * malloc/mtrace.pl: Likewise.
11182         * nscd/nscd.c: Likewise.
11183         * nss/getent.c: Likewise.
11184         * nss/makedb.c: Likewise.
11185         * posix/getconf.c: Likewise.
11187 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11189         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11190         numbers.
11192 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11194         * math/bits/mathcalls.h (modf): Use __nonnull.
11196 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11198         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11199         (split): Use macro CN instead of the bare value.
11200         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11201         could be used.
11202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11203         instead of the bare value.
11204         (power1): Likewise.
11206 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11209         __ATAN_TWOM.
11210         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11212         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11213         their values.
11214         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11215         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11216         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11217         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11219 2012-12-28  Andreas Jaeger  <aj@suse.de>
11221         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11222         values are from Linux 3.7.
11224         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11225         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11227 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11229         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11230         TRUE case.
11232         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11233         (norm): Likewise.
11234         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11235         variables with preprocessor constants.
11236         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11237         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11238         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11240 2012-12-27  Bruno Haible  <bruno@clisp.org>
11242         [BZ #14317]
11243         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11244         only if needed.
11246 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11249         and use variable directly.
11250         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11252         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11253         MPONE.
11254         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11255         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11256         variable MPONE.
11257         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11259         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11260         include directive.  Remove local variable MPONE.
11261         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11262         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11263         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11265 2012-12-25  David S. Miller  <davem@davemloft.net>
11267         * version.h (RELEASE): Set to "development".
11268         (VERSION): Set to "2.17.90".
11269         * NEWS: Add 2.18 section.
11271 2012-12-21  David S. Miller  <davem@davemloft.net>
11273         * po/hr.po: Update from translation team.
11275 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11277         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11279 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11281         * NEWS:  Mention new memcpy for MIPS.
11283 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11285         * manual/contrib.texi (Contributors): Spelling correction.
11287 2012-12-15  David S. Miller  <davem@davemloft.net>
11289         * po/ru.po: Update from translation team.
11291 2012-12-13  David S. Miller  <davem@davemloft.net>
11293         * NEWS: Mention IFUNC testsuite enhancements.
11295         * po/pl.po: Update from translation team.
11296         * po/bg.po: Likewise.
11298         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11299         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11301 2012-12-11  David S. Miller  <davem@davemloft.net>
11303         * po/sv.po: Update from translation team.
11305         * po/vi.po: Update from translation team.
11307         * po/cs.po: Update from translation team.
11309         * po/de.po: Update from translation team.
11310         * po/eo.po: Likewise.
11311         * po/nl.po: Likewise.
11313 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11315         [BZ #14246]
11316         * manual/argp.texi (Argp Helper Functions): Move node to follow
11317         Argp Parsing State.
11319         [BZ #14872]
11320         * manual/conf.texi (Limits on File System Capacity): Mention if
11321         terminating null is included in the max size.
11323 2012-12-10  Andreas Jaeger  <aj@suse.de>
11325         * po/cs.po: Update from translation team.
11327 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11329         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11330         void pointer and cast to uintptr_t.
11331         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11332         path.
11333         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11334         * sysdeps/s390/s390-64/memset.S: Likewise.
11336 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11338         [BZ #14833]
11339         * menual/message.texi (Message Translation): Fix typos.
11340         (Helper programs for gettext): Likewise.
11342 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11344         [BZ #14898]
11345         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11346         Change to -1.
11348 2012-12-07  David S. Miller  <davem@davemloft.net>
11350         * po/libc.pot: Update.
11352 2012-12-07  Richard Henderson  <rth@redhat.com>
11354         [BZ #10114]
11355         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11356         normal/normal case to before the switch.
11357         (_FP_DIV): Likewise.
11359 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11360             Mike Frysinger  <vapier@gentoo.org>
11362         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11363         check for __NR_fadvise64_64.
11365 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11367         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11368         0, not just to plain "0" as a statement.
11369         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11370         with cw.
11372 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11374         * NEWS: Use sourceware.org in Bugzilla URL.
11376 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11379         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11381         * stdio-common/tst-put-error.c (do_test): Add newline to the
11382         padded test to ensure flush.
11384 2012-12-05  Jeff Law  <law@redhat.com>
11386         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11388 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11390         * README: Don't refer to ports add-on as distributed separately.
11391         Mention AArch64 in list of systems supported in the ports add-on.
11393         * LICENSES: Add more non-FSF copyright and license notices.
11395         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11396         ((unused)).
11398         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11400         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11401         10000 as width of padded output.
11403 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11405         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11408         variable LX with __attribute__ ((unused)).
11409         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11410         Likewise.
11411         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11413         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11414         with __attribute__ ((unused)).
11416 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11418         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11420 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11422         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11423         (CFLAGS-nldbl-acos.c): New variable.
11424         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11425         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11426         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11427         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11428         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11429         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11430         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11431         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11432         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11433         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11434         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11435         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11436         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11437         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11438         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11439         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11440         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11441         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11442         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11443         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11444         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11445         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11446         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11447         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11448         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11449         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11450         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11451         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11452         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11453         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11454         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11455         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11456         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11457         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11458         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11459         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11460         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11461         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11462         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11463         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11464         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11465         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11466         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11467         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11468         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11469         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11470         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11471         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11472         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11473         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11474         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11475         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11476         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11477         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11478         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11479         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11480         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11481         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11482         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11483         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11484         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11485         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11486         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11487         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11488         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11489         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11490         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11491         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11492         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11493         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11494         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11495         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11496         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11497         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11498         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11499         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11500         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11501         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11502         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11503         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11504         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11505         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11506         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11507         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11508         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11509         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11510         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11511         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11512         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11513         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11514         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11515         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11516         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11517         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11518         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11519         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11520         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11523         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11525         [BZ #14914]
11526         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11527         whole low double instead of just low 47 bits when splitting values
11528         into two parts.
11530 2012-12-03  Allan McRae  <allan@archlinux.org>
11532         * manual/stdio.texi (Predefined Printf Handlers): Remove
11533         @hsep and @vsep usage.
11535 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11537         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11538         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11540 2012-12-03  Jeff Law  <law@redhat.com>
11542         * time/sys/time.h (settimeofday): Do not mark TV argument
11543         as __nonnull.
11545 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11547         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11548         when currently writing and seek to current position when not.
11549         * libio/Makefile (tests): Remove bug-fclose1.
11550         * libio/bug-fclose1.c: Delete.
11552 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11554         * manual/arith.texi (feenableexcept): Fix typo.
11555         (fedisableexcept): Likewise.
11557 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11559         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11560         second, differently-typed declaration, rather than a cast.
11562 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11564         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11565         * include/rpc/svc.h: ... here.
11567 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11569         [BZ #13013]
11570         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11571         depending n and resplen2 to catch cases where answer
11572         equals answerp2.
11574 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11576         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11577         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11579 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11581         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11583 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11585         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11587 2012-11-28  Jeff Law  <law@redhat.com>
11589         [BZ #13761]
11590         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11591         dataset_temporary.  Track alloca usage into alloca_used.
11592         If dataset is large allocate and release it via malloc/free.
11594 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11596         [BZ #14197]
11597         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11599 2012-11-28  David S. Miller  <davem@davemloft.net>
11601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11603 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11605         [BZ #14803]
11606         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11607         of pi/2 rounded to nearest to 64 bits.
11608         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11609         nearest to 64 bits.
11610         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11611         bits.
11613 2012-11-28  Jeff Law <law@redhat.com>
11614             Martin Osvald <mosvald@redhat.com>
11616         [BZ #14889]
11617         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11618         * sunrpc/svc.c: Include time.h.
11619         (__svc_accept_failed): New function.
11620         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11621         any reason other than EINTR, call __svc_accept_failed.
11622         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11623         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11625 2012-11-28  Andreas Schwab  <schwab@suse.de>
11627         * scripts/abilist.awk: Also handle indirect functions in .opd
11628         section.
11630 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #13881]
11633         * sysdeps/x86/fpu/powl_helper.c: New file.
11634         * sysdeps/x86/fpu/Makefile: Likewise.
11635         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11636         (p3): New object.
11637         (__ieee754_powl): Use __powl_helper for finite arguments except
11638         integer exponents below 8.
11639         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11640         (p3): New object.
11641         (__ieee754_powl): Use __powl_helper for finite arguments except
11642         integer exponents below 8.
11643         * math/libm-test.inc (pow_test): Add more tests and enable some
11644         previously disabled tests.
11645         * sysdeps/i386/fpu/libm-test-ulps: Update.
11646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11648 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11649             Carlos O'Donell  <carlos_odonell@mentor.com>
11651         * nss/makedb.c (is_prime): Assert that input is odd and greater
11652         than 4.  Note that fact in a comment too.
11653         (next_prime): Add 4 to input.
11655 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11657         [BZ #11741]
11658         * libio/Makefile (tests): Add test case tst-fwrite-error.
11659         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11660         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11661         * libio/tst-fwrite-error.c: New test case.
11663 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11665         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11666         before casting to void *.
11667         * include/libc-internal.h (__pointer_type): New macro.
11668         (__integer_if_pointer_type_sub): Likewise.
11669         (__integer_if_pointer_type): Likewise.
11670         (cast_to_integer): Likewise.
11671         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11672         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11673         before casting to atomic64_t.
11674         (atomic_exchange_acq): Likewise.
11675         (__arch_exchange_and_add_body): Likewise.
11676         (__arch_add_body): Likewise.
11677         (atomic_add_negative): Likewise.
11678         (atomic_add_zero): Likewise.
11680 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11682         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11683         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11684         (add_fdes): Likewise.
11685         (linear_search_fdes): Likewise.
11686         (binary_search_unencoded_fdes): Likewise.
11688 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11690         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11692 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11694         * configure.in: Autodetect C++ header directories.
11695         * configure: Regenerated.
11697 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11699         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11701 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11705 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11707         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11708         LDBL_MANT_DIG == 106]: Disable some tests.
11709         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11710         Likewise.
11711         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11712         Likewise.
11714         [BZ #14871]
11715         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11716         input for small inputs.  Return +/- pi/2 for large inputs.
11717         * math/libm-test.inc (atan_test): Add more tests.
11719         * sysdeps/generic/unwind-dw2-fde-glibc.c
11720         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11721         __attribute__ ((unused)).
11723         [BZ #14645]
11724         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11725         x * y if x and y are nonzero and z is zero.
11727         [BZ #14811]
11728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11729         nonzero exponents with absolute value below 0x1p-117 to +/-
11730         0x1p-117.
11732         [BZ #14869]
11733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11734         up arguments below 2**-450, not just those below 2**-500.
11735         * math/libm-test.inc (hypot_test): Add another test.
11737         [BZ #14868]
11738         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11739         Return a+b for ratio over 2**120, not 2**60.
11740         * math/libm-test.inc (hypot_test): Add another test.
11742         * math/libm-test.inc (clog_test): Use
11743         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11744         (clog10_test): Likewise.
11746         [BZ #6778]
11747         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11749 2012-11-22  Andreas Schwab  <schwab@suse.de>
11751         * sysdeps/i386/fpu/libm-test-ulps: Update.
11753 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11755         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11756         printf output with newline.
11758 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11760         [BZ #14865]
11761         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11762         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11763         -z nodlopen, -z initfirst and -z execstack support.
11764         * configure: Regenerated.
11766         * elf/elf.h (DF_1_NODIRECT): New macro.
11767         (DF_1_IGNMULDEF): Likewise.
11768         (DF_1_NOKSYMS): Likewise.
11769         (DF_1_NOHDR): Likewise.
11770         (DF_1_EDITED): Likewise.
11771         (DF_1_NORELOC): Likewise.
11772         (DF_1_SYMINTPOSE): Likewise.
11773         (DF_1_GLOBAUDIT): Likewise.
11774         (DF_1_SINGLETON): Likewise.
11775         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11776         DT_1_SUPPORTED_MASK bits.
11777         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11779 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11781         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11783 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11785         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11786         macro.
11788         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11789         (sendmmsg): Move declarations...
11790         * socket/sys/socket.h: ... here.
11791         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11792         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11793         include it from...
11794         * socket/recvmmsg.c: ... this new file.
11795         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11796         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11797         definition of __sendmmsg hidden.
11798         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11799         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11800         Move ENOSYS stub into and include it from...
11801         * socket/sendmmsg.c: ... this new file.
11802         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11803         (sysdep_routines): Move recvmmsg and sendmmsg...
11804         * socket/Makefile (routines): ... here.
11805         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11806         (GLIBC_PRIVATE): Add __sendmmsg.
11807         * include/sys/socket.h (__sendmmsg): Add declarations.
11808         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11809         sendmmsg.
11811 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11813         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11814         variable I1 with __attribute__ ((unused)).
11815         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11817 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11819         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11820         DUMMY variables with __attribute__ ((unused)).
11822         * bits/byteswap.h: Include <bits/types.h>.
11823         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11825 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11827         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11828         string_t.  Do not manually set errno.
11829         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11830         length with __strnlen.  Make sure to both set errno and return it on
11831         failure.
11833 2012-11-19  David S. Miller  <davem@davemloft.net>
11835         With help from Joseph Myers.
11836         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11837         very large arguments properly.
11838         * math/libm-test.inc (atan_test): New tests.
11839         (atan2_test): New tests.
11840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11843 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11845         [BZ #14856]
11846         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11847         Define to 3.
11849         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11850         [POSIX] (EADDRNOTAVAIL): Likewise.
11851         [POSIX] (EAFNOSUPPORT): Likewise.
11852         [POSIX] (EALREADY): Likewise.
11853         [POSIX] (ECONNABORTED): Likewise.
11854         [POSIX] (ECONNREFUSED): Likewise.
11855         [POSIX] (ECONNRESET): Likewise.
11856         [POSIX] (EDESTADDRREQ): Likewise.
11857         [POSIX] (EDQUOT): Likewise.
11858         [POSIX] (EHOSTUNREACH): Likewise.
11859         [POSIX] (EIDRM): Likewise.
11860         [POSIX] (EISCONN): Likewise.
11861         [POSIX] (ELOOP): Likewise.
11862         [POSIX] (EMULTIHOP): Likewise.
11863         [POSIX] (ENETDOWN): Likewise.
11864         [POSIX] (ENETUNREACH): Likewise.
11865         [POSIX] (ENOBUFS): Likewise.
11866         [POSIX] (ENODATA): Likewise.
11867         [POSIX] (ENOLINK): Likewise.
11868         [POSIX] (ENOMSG): Likewise.
11869         [POSIX] (ENOPROTOOPT): Likewise.
11870         [POSIX] (ENOSR): Likewise.
11871         [POSIX] (ENOSTR): Likewise.
11872         [POSIX] (ENOTCONN): Likewise.
11873         [POSIX] (ENOTSOCK): Likewise.
11874         [POSIX] (EOPNOTSUPP): Likewise.
11875         [POSIX] (EOVERFLOW): Likewise.
11876         [POSIX] (EPROTO): Likewise.
11877         [POSIX] (EPROTONOSUPPORT): Likewise.
11878         [POSIX] (EPROTOTYPE): Likewise.
11879         [POSIX] (ESTALE): Likewise.
11880         [POSIX] (ETIME): Likewise.
11881         [POSIX] (ETXTBSY): Likewise.
11882         [POSIX] (EWOULDBLOCK): Likewise.
11883         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11884         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11885         [POSIX] (SEEK_CUR): Likewise.
11886         [POSIX] (SEEK_END): Likewise.
11887         [POSIX || UNIX98] (mode_t): Do not require.
11888         [POSIX] (off_t): Likewise.
11889         [POSIX] (pid_t): Likewise.
11890         [POSIX] (sys/stat.h): Do not allow header.
11891         [POSIX] (unistd.h): Likewise.
11892         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11893         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11894         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11895         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11896         require.
11897         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11898         sigevent): Specify elements.
11899         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11900         entry.
11901         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11902         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11904         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11905         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11906         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11907         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11908         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11909         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11910         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11911         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11912         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11913         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11914         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11915         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11916         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11917         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11918         Likewise.
11919         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11920         Likewise.
11921         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11922         Likewise.
11923         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11924         Likewise.
11925         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11926         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11927         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11928         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11929         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11930         Specify lower bound on value.
11931         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11932         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11933         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11934         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11935         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11936         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11937         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11938         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11939         value.
11940         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11941         as optional.
11942         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11943         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11944         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11945         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11946         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11947         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11948         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11949         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11950         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11951         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11952         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11953         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11954         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11955         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11956         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11957         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11958         entry.
11959         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11960         optional.
11961         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11962         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11963         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11964         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11965         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11966         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11967         Likewise.
11968         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11969         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11970         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11971         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11972         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11973         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11974         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11975         as optional.
11976         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11977         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11978         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11979         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11980         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11981         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11982         specify as optional.
11983         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11984         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11985         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11986         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11987         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11988         [XPG3] (NL_LANGMAX): Likewise.
11989         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11990         [POSIX || XPG3] (NL_NMAX): Likewise.
11991         [POSIX || XPG3] (NL_SETMAX): Likewise.
11992         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11993         [XPG3] (NZERO): Likewise.
11994         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11995         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11996         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11997         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11998         (REG_ERANGE): Expect.
11999         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12000         optional-constant.
12001         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12002         Use (void) in prototype.
12003         [POSIX] (*_t): Allow.
12004         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12005         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12006         (WRDE_BADVAL): Expect.
12008         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12009         expect.
12010         [XPG3 || XPG4] (O_RSYNC): Likewise.
12011         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12012         Likewise.
12013         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12014         [XPG3 || XPG4] (sigqueue): Likewise.
12015         [XPG3 || XPG4] (sigtimedwait): Likewise.
12016         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12017         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12018         [XPG3 || XPG4] (vsnprintf): Likewise.
12019         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12020         Likewise.
12021         [XPG3 || XPG4] (blksize_t): Likewise.
12022         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12023         Likewise.
12024         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12025         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12026         [XPG3 || XPG4] (struct itimerspec): Likewise.
12027         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12028         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12029         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12030         [XPG3 || XPG4] (clockid_t): Likewise.
12031         [XPG3 || XPG4] (timer_t): Likewise.
12032         [XPG3 || XPG4] (clock_getres): Likewise.
12033         [XPG3 || XPG4] (clock_gettime): Likewise.
12034         [XPG3 || XPG4] (clock_settime): Likewise.
12035         [XPG3 || XPG4] (nanosleep): Likewise.
12036         [XPG3 || XPG4] (timer_create): Likewise.
12037         [XPG3 || XPG4] (timer_delete): Likewise.
12038         [XPG3 || XPG4] (timer_gettime): Likewise.
12039         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12040         [XPG3 || XPG4] (timer_settime): Likewise.
12041         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12042         [XPG3 || XPG4] (getlogin_r): Likewise.
12043         [XPG3 || XPG4] (pread): Likewise.
12044         [XPG3 || XPG4] (pthread_atfork): Likewise.
12045         [XPG3 || XPG4] (pwrite): Likewise.
12047         [BZ #14835]
12048         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12049         <bits/siginfo.h>.
12051 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12053         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12054         finalizing MALLSTREAM.
12056         * sysdeps/mach/hurd/syncfs.c: New file.
12058 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12060         [BZ #14719]
12061         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12062         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12063         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12064         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12065         (_nss_dns_gethostbyname4_r): Likewise.
12066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12067         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12069 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12071         [BZ #13763]
12072         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12074 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12076         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12077         * elf/cache.c (print_entry): Print ",AArch64" for
12078         FLAG_AARCH64_LIB64
12080         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12081         * elf/cache.c (print_entry): Print ",hard-float" for
12082         FLAG_ARM_LIBHF.
12084 2012-11-18  David S. Miller  <davem@davemloft.net>
12086         With help from Joseph Myers.
12087         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12088         cutoff to 2**-13.
12089         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12090         cutoff to 2**-25.
12091         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12092         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12093         small.
12094         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12095         * math/libm-test.inc (y0_test): New tests.
12096         (y1_test): New tests.
12097         * sysdeps/i386/fpu/libm-test-ulps: Update.
12098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12101 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12103         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12104         64-bit targets.
12105         * configure: Regenerated.
12107 2012-11-17  David S. Miller  <davem@davemloft.net>
12109         [BZ #14811]
12110         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12111         nonzero exponents with absolute value below 0x1p-128 to +/-
12112         0x1p-128.
12114 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12116         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12118         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12120         * posix/getconf-speclist.c: New file.
12121         * posix/posix-envs.def: Likewise.
12122         * posix/confstr.c (START_ENV_GROUP): New macro.
12123         (END_ENV_GROUP): Likewise.
12124         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12125         (KNOWN_PRESENT_ENV_STRING): Likewise.
12126         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12127         (UNKNOWN_ENVIRONMENT): Likewise.
12128         (confstr): Include posix-envs.def instead of handling
12129         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12130         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12131         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12132         (END_ENV_GROUP): Likewise.
12133         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12134         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12135         (UNKNOWN_ENVIRONMENT): Likewise.
12136         (__sysconf): Include posix-envs.def instead of handling associated
12137         cases directly here.
12138         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12139         preprocessing getconf-speclist.c rather than running getconf or
12140         generating empty file.
12142 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12144         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12146 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12148         [BZ #14672]
12149         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12151 2012-11-16  David S. Miller  <davem@davemloft.net>
12153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12154         smaller than LDBL_EPSILON/2.0L, just return xm1.
12156 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12158         * elf/tst-array1.c (init): Set constructor priority to 1000.
12159         (fini): Set destructor priority to 1000.
12160         * elf/tst-array2dep.c: Likewise.
12162 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12164         [BZ #11741]
12165         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12166         (_IO_new_file_xsputn): Also return EOF if none of the input
12167         data was written when overflow failed.
12168         * libio/iopadn.c (_IO_padn): Likewise.
12169         * libio/iowpadn.c (_IO_wpadn): Likewise.
12170         * stdio-common/tst-put-error.c: Add copyright notice.
12171         (do_test): Add case for printing padded string.
12172         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12173         _IO_padn returned error.
12174         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12175         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12176         return EOF.
12178 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12180         * libio/libioP.h: Add comment note that the references to C++
12181         bits are now obsolete.
12183 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12185         * math/libm-test.inc (check_complex): Use asprintf.
12187 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12189         * debug/pcprofiledump.c (print_version): Update copyright year.
12190         * malloc/memusagestat.c (print_version): Likewise.
12192 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12194         [BZ #14831]
12195         * elf/Makefile (tests): Add tst-audit8.
12196         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12197         ($(objpfx)tst-audit8.out): New target.
12198         (tst-audit8-ENV): New variable.
12199         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12200         audit if l_reloc_result is NULL.
12201         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12202         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12203         * elf/tst-audit8.c: New file.
12205 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12207         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12208         * misc/Makefile (CFLAGS-select.c): Define.
12209         * posix/Makefile (CFLAGS-pause.c): Define.
12211 2012-11-13  David S. Miller  <davem@davemloft.net>
12213         * crypt/Makefile: Move test targets after toplevel Rules
12214         inclusion.  Grab any necessary sysdep routines when linking.
12215         * crypt/md5.c (md5_process_block): Remove define, we will always
12216         name it __md5_process_block.
12217         (md5_finish_ctx): Update md5_process_block call.
12218         (md5_stream): Likewise.
12219         (md5_process_bytes): Likewise.
12220         (md5_process_block): Rename to __md5_process_block and move to ...
12221         * crypt/md5-block.c: ... here.
12222         * crypt/sha256.c (sha256_process_block): Move to ...
12223         * crypt/sha256-block.c: ... here.
12224         * crypt/sha512.c (sha512_process_block): Move to ...
12225         * crypt/sha512-block.c: ... here.
12226         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12227         path.
12228         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12229         * sysdeps/sparc/sparc64/multiarch/Makefile
12230         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12231         crypt subdir.
12232         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12233         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12234         multiarch changes.
12235         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12236         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12237         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12238         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12239         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12240         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12241         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12242         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12244         file.
12245         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12246         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12247         file.
12248         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12250 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12252         * timezone/tzselect.ksh: Update from tzcode git revision
12253         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12254         * timezone/zdump.c: Likewise.
12255         * timezone/zic.c: Likewise.
12256         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12257         in TZVERSION setting, not $(PKGVERSION).
12258         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12259         REPORT_BUGS_TO settings.
12261         [BZ #14838]
12262         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12263         macro.
12265 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12267         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12268         detection to immediately after _FP_ROUND().
12269         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12270         bits are 0.
12272 2012-11-11  David S. Miller  <davem@davemloft.net>
12274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12275         inttypes.h
12276         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12277         __close rather than their public counterparts.
12279 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12281         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12282         file.
12283         [UNIX98] (sem_timedwait): Do not expect.
12284         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12285         [XPG4 || UNIX98] (sockatmark): Do not expect.
12286         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12287         (clock_getcpuclockid): Do not expect.
12288         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12289         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12290         Do not expect.
12291         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12292         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12293         [UNIX98] (vwscanf): Likewise.
12294         [UNIX98] (vswscanf): Likewise.
12296 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12298         * timezone/version.h: Remove file.
12299         * timezone/README: Do not refer to version.h.
12300         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12301         $(objpfx)version.h.
12302         ($(objpfx)zdump.o): Likewise.
12303         ($(objpfx)version.h): New target.
12305         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12306         2012i.
12307         * timezone/README: Don't mention modification to tzselect.ksh.
12308         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12309         work on unmodified tzselect.ksh.  Substitute version numbers in
12310         tzselect.ksh.
12312         * Makefile (format-me): Remove.
12313         (INSTALL): Adjust indentation.  Use commands directly instead of
12314         using $(format-me).
12316         * aclocal.m4 (ACX_PKGVERSION): New macro.
12317         (ACX_BUGURL): Likewise.
12318         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12319         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12320         (REPORT_BUGS_TO): Likewise.
12321         * configure: Regenerated.
12322         * config.h.in (PKGVERSION): New macro.
12323         (REPORT_BUGS_TO): Likewise.
12324         * config.make.in (PKGVERSION): New variable.
12325         (PKGVERSION_TEXI): Likewise.
12326         (REPORT_BUGS_TO): Likewise.
12327         (REPORT_BUGS_TEXI): Likewise.
12328         * Makefile (format-me): Use -I$(common-objpfx)manual.
12329         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12330         ($(common-objpfx)manual/%): New target.
12331         (manual/%): Remove target.
12332         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12333         (print_version): Use PKGVERSION.
12334         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12335         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12336         and REPORT_BUGS_TO.
12337         ($(objpfx)xtrace): Likewise.
12338         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12339         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12340         (print_version): Use PKGVERSION.
12341         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12342         (do_version): Use PKGVERSION.
12343         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12344         REPORT_BUGS_TO.
12345         (common-ldd-rewrite): Likewise.
12346         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12347         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12348         (print_version): Use PKGVERSION.
12349         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12350         * elf/pldd.c (argp_program_bug_address): Remove variable.
12351         (more_help): New function.
12352         (argp): Use more_help.
12353         (print_version): Use PKGVERSION.
12354         * elf/sln.c (main): Use PKGVERSION.
12355         (usage): Use REPORT_BUGS_TO.
12356         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12357         (top level): Use PKGVERSION.
12358         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12359         (print_version): Use PKGVERSION.
12360         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12361         (print_version): Use PKGVERSION.
12362         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12363         (print_version): Use PKGVERSION.
12364         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12365         (print_version): Use PKGVERSION.
12366         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12367         (print_version): Use PKGVERSION.
12368         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12369         (print_version): Use PKGVERSION.
12370         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12371         and BUGURL.
12372         ($(objpfx)memusage): Likewise.
12373         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12374         (do_version): Use PKGVERSION.
12375         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12376         (print_version): Use PKGVERSION.
12377         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12378         ($PKGVERSION): New variable.
12379         ($REPORT_BUGS_TO): Likewise.
12380         (usage): Use $REPORT_BUGS_TO.
12381         (top level): Use $PKGVERSION.
12382         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12383         ($(objpfx)pkgvers.texi): New rule.
12384         ($(objpfx)stamp-pkgvers): Likewise.
12385         * manual/install.texi: Include pkgvers.texi.
12386         (--with-pkgversion): Document new configure option.
12387         (--with-bugurl): Likewise.
12388         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12389         than necessarily for this particular distribution.  Use
12390         REPORT_BUGS_TO for where to report bugs.
12391         * INSTALL: Regenerated.
12392         * manual/libc.texinfo: Include pkgvers.texi.
12393         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12394         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12395         (print_version): Use PKGVERSION.
12396         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12397         (print_version): Use PKGVERSION.
12398         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12399         (print_version): Use PKGVERSION.
12400         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12401         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12402         macro.
12403         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12404         (print_version): Use PKGVERSION.
12405         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12406         (print_version): Use PKGVERSION.
12407         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12408         and PKGVERSION.
12410         * timezone/checktab.awk: Update from tzcode 2012i.
12411         * timezone/ialloc.c: Likewise.
12412         * timezone/private.h: Likewise.
12413         * timezone/scheck.c: Likewise.
12414         * timezone/tzfile.h: Likewise.
12415         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12416         (TZVERSION): Hardcode tzcode version number.
12417         * timezone/zdump.c: Update from tzcode 2012i.
12418         * timezone/zic.c: Likewise.
12419         * timezone/version.h: New file.
12420         * timezone/README: Describe version.h.  Update upstream location.
12422         [BZ #14824]
12423         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12424         (mktemp): Enable declaration.
12425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12429         Likewise.
12430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12431         Likewise.
12432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12433         Likewise.
12434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12435         Likewise.
12436         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12437         Likewise.
12438         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12439         Likewise.
12441         [BZ #14821]
12442         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12443         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12444         for copies of such integer values.
12445         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12446         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12448 2012-11-09  Andreas Jaeger  <aj@suse.de>
12450         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12451         definitions and declarations that are provided by
12452         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12454 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12456         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12457         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12458         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12459         definition.
12461 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12463         * elf/elf.h: Update comment before AArch64 relocations.
12465 2012-11-07  David S. Miller  <davem@davemloft.net>
12467         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12468         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12469         (__start_context): Declare.
12470         (__makecontext_ret): Delete.
12471         (__makecontext): Hook up __start_context instead of
12472         __makecontext_ret.
12473         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12474         (sysdep_routines): Add __start_context when in stdlib.
12476 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12478         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12479         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12480         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12481         hardcoded "nm".
12482         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12483         (READELF): New variable.  Use it instead of hardcoded "readelf".
12485 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12487         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12488         * sysdeps/x86/Makefile: Here.
12489         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12490         * sysdeps/x86/tst-xmmymm.sh: This.
12492 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12494         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12495         expectations.
12496         [UNIX98] (pthread_barrier_t): Do not expect.
12497         [UNIX98] (pthread_barrierattr_t): Likewise.
12498         [UNIX98] (pthread_spinlock_t): Likewise.
12499         [UNIX98] (pthread_barrier_destroy): Likewise.
12500         [UNIX98] (pthread_barrier_init): Likewise.
12501         [UNIX98] (pthread_barrier_wait): Likewise.
12502         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12503         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12504         [UNIX98] (pthread_barrierattr_init): Likewise.
12505         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12506         [UNIX98] (pthread_getcpuclockid): Likewise.
12507         [UNIX98] (pthread_mutex_timedlock): Likewise.
12508         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12509         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12510         [UNIX98] (pthread_sigmask): Likewise.
12511         [UNIX98] (pthread_spin_destroy): Likewise.
12512         [UNIX98] (pthread_spin_init): Likewise.
12513         [UNIX98] (pthread_spin_lock): Likewise.
12514         [UNIX98] (pthread_spin_trylock): Likewise.
12515         [UNIX98] (pthread_spin_unlock): Likewise.
12516         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12517         Do not expect.
12518         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12519         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12520         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12521         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12522         [XPG3 || XPG4] (pthread_key_t): Likewise.
12523         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12524         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12525         [XPG3 || XPG4] (pthread_once_t): Likewise.
12526         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12527         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12528         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12529         [XPG3 || XPG4] (pthread_t): Likewise.
12531         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12532         not expect.
12533         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12535         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12536         Change function return type to int.
12538         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12539         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12540         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12541         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12542         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12543         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12544         [!POSIX] (posix_madvise): Likewise.
12545         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12546         && !UNIX98].
12547         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12548         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12549         (mode_t): Likewise.
12550         (posix_mem_offset): Likewise.
12551         (posix_typed_mem_get_info): Likewise.
12552         (posix_typed_mem_open): Likewise.
12554         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12555         Change condition to [XOPEN2K8].
12557         * conform/conformtest.pl: Preprocess allow-header data with -x c
12558         instead of from stdin.
12559         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12560         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12561         [C99-based standards] (cerfc): Likewise.
12562         [C99-based standards] (cexp2): Likewise.
12563         [C99-based standards] (cexpm1): Likewise.
12564         [C99-based standards] (clog10): Likewise.
12565         [C99-based standards] (clog1p): Likewise.
12566         [C99-based standards] (clog2): Likewise.
12567         [C99-based standards] (clgamma): Likewise.
12568         [C99-based standards] (ctgamma): Likewise.
12569         [C99-based standards] (cerff): Likewise.
12570         [C99-based standards] (cerfcf): Likewise.
12571         [C99-based standards] (cexp2f): Likewise.
12572         [C99-based standards] (cexpm1f): Likewise.
12573         [C99-based standards] (clog10f): Likewise.
12574         [C99-based standards] (clog1pf): Likewise.
12575         [C99-based standards] (clog2f): Likewise.
12576         [C99-based standards] (clgammaf): Likewise.
12577         [C99-based standards] (ctgammaf): Likewise.
12578         [C99-based standards] (cerfl): Likewise.
12579         [C99-based standards] (cerfcl): Likewise.
12580         [C99-based standards] (cexp2l): Likewise.
12581         [C99-based standards] (cexpm1l): Likewise.
12582         [C99-based standards] (clog10l): Likewise.
12583         [C99-based standards] (clog1pl): Likewise.
12584         [C99-based standards] (clog2l): Likewise.
12585         [C99-based standards] (clgammal): Likewise.
12586         [C99-based standards] (ctgammal): Likewise.
12587         * conform/data/inttypes.h-data [C99-based standards]: Include
12588         stdint.h-data.  Remove all expectations for stdint.h contents.
12589         [C99-based standards] (PRI*): Do not allow.
12590         [C99-based standards] (SCN*): Likewise.
12591         [C99-based standards] (*_t): Likewise.
12592         [C99-based-standards] (PRId8): Expect macro.
12593         [C99-based-standards] (PRIi8): Likewise.
12594         [C99-based-standards] (PRIo8): Likewise.
12595         [C99-based-standards] (PRIu8): Likewise.
12596         [C99-based-standards] (PRIx8): Likewise.
12597         [C99-based-standards] (PRIX8): Likewise.
12598         [C99-based-standards] (SCNd8): Likewise.
12599         [C99-based-standards] (SCNi8): Likewise.
12600         [C99-based-standards] (SCNo8): Likewise.
12601         [C99-based-standards] (SCNu8): Likewise.
12602         [C99-based-standards] (SCNx8): Likewise.
12603         [C99-based-standards] (PRIdLEAST8): Likewise.
12604         [C99-based-standards] (PRIiLEAST8): Likewise.
12605         [C99-based-standards] (PRIoLEAST8): Likewise.
12606         [C99-based-standards] (PRIuLEAST8): Likewise.
12607         [C99-based-standards] (PRIxLEAST8): Likewise.
12608         [C99-based-standards] (PRIXLEAST8): Likewise.
12609         [C99-based-standards] (SCNdLEAST8): Likewise.
12610         [C99-based-standards] (SCNiLEAST8): Likewise.
12611         [C99-based-standards] (SCNoLEAST8): Likewise.
12612         [C99-based-standards] (SCNuLEAST8): Likewise.
12613         [C99-based-standards] (SCNxLEAST8): Likewise.
12614         [C99-based-standards] (PRIdFAST8): Likewise.
12615         [C99-based-standards] (PRIiFAST8): Likewise.
12616         [C99-based-standards] (PRIoFAST8): Likewise.
12617         [C99-based-standards] (PRIuFAST8): Likewise.
12618         [C99-based-standards] (PRIxFAST8): Likewise.
12619         [C99-based-standards] (PRIXFAST8): Likewise.
12620         [C99-based-standards] (SCNdFAST8): Likewise.
12621         [C99-based-standards] (SCNiFAST8): Likewise.
12622         [C99-based-standards] (SCNoFAST8): Likewise.
12623         [C99-based-standards] (SCNuFAST8): Likewise.
12624         [C99-based-standards] (SCNxFAST8): Likewise.
12625         [C99-based-standards] (PRId16): Likewise.
12626         [C99-based-standards] (PRIi16): Likewise.
12627         [C99-based-standards] (PRIo16): Likewise.
12628         [C99-based-standards] (PRIu16): Likewise.
12629         [C99-based-standards] (PRIx16): Likewise.
12630         [C99-based-standards] (PRIX16): Likewise.
12631         [C99-based-standards] (SCNd16): Likewise.
12632         [C99-based-standards] (SCNi16): Likewise.
12633         [C99-based-standards] (SCNo16): Likewise.
12634         [C99-based-standards] (SCNu16): Likewise.
12635         [C99-based-standards] (SCNx16): Likewise.
12636         [C99-based-standards] (PRIdLEAST16): Likewise.
12637         [C99-based-standards] (PRIiLEAST16): Likewise.
12638         [C99-based-standards] (PRIoLEAST16): Likewise.
12639         [C99-based-standards] (PRIuLEAST16): Likewise.
12640         [C99-based-standards] (PRIxLEAST16): Likewise.
12641         [C99-based-standards] (PRIXLEAST16): Likewise.
12642         [C99-based-standards] (SCNdLEAST16): Likewise.
12643         [C99-based-standards] (SCNiLEAST16): Likewise.
12644         [C99-based-standards] (SCNoLEAST16): Likewise.
12645         [C99-based-standards] (SCNuLEAST16): Likewise.
12646         [C99-based-standards] (SCNxLEAST16): Likewise.
12647         [C99-based-standards] (PRIdFAST16): Likewise.
12648         [C99-based-standards] (PRIiFAST16): Likewise.
12649         [C99-based-standards] (PRIoFAST16): Likewise.
12650         [C99-based-standards] (PRIuFAST16): Likewise.
12651         [C99-based-standards] (PRIxFAST16): Likewise.
12652         [C99-based-standards] (PRIXFAST16): Likewise.
12653         [C99-based-standards] (SCNdFAST16): Likewise.
12654         [C99-based-standards] (SCNiFAST16): Likewise.
12655         [C99-based-standards] (SCNoFAST16): Likewise.
12656         [C99-based-standards] (SCNuFAST16): Likewise.
12657         [C99-based-standards] (SCNxFAST16): Likewise.
12658         [C99-based-standards] (PRId32): Likewise.
12659         [C99-based-standards] (PRIi32): Likewise.
12660         [C99-based-standards] (PRIo32): Likewise.
12661         [C99-based-standards] (PRIu32): Likewise.
12662         [C99-based-standards] (PRIx32): Likewise.
12663         [C99-based-standards] (PRIX32): Likewise.
12664         [C99-based-standards] (SCNd32): Likewise.
12665         [C99-based-standards] (SCNi32): Likewise.
12666         [C99-based-standards] (SCNo32): Likewise.
12667         [C99-based-standards] (SCNu32): Likewise.
12668         [C99-based-standards] (SCNx32): Likewise.
12669         [C99-based-standards] (PRIdLEAST32): Likewise.
12670         [C99-based-standards] (PRIiLEAST32): Likewise.
12671         [C99-based-standards] (PRIoLEAST32): Likewise.
12672         [C99-based-standards] (PRIuLEAST32): Likewise.
12673         [C99-based-standards] (PRIxLEAST32): Likewise.
12674         [C99-based-standards] (PRIXLEAST32): Likewise.
12675         [C99-based-standards] (SCNdLEAST32): Likewise.
12676         [C99-based-standards] (SCNiLEAST32): Likewise.
12677         [C99-based-standards] (SCNoLEAST32): Likewise.
12678         [C99-based-standards] (SCNuLEAST32): Likewise.
12679         [C99-based-standards] (SCNxLEAST32): Likewise.
12680         [C99-based-standards] (PRIdFAST32): Likewise.
12681         [C99-based-standards] (PRIiFAST32): Likewise.
12682         [C99-based-standards] (PRIoFAST32): Likewise.
12683         [C99-based-standards] (PRIuFAST32): Likewise.
12684         [C99-based-standards] (PRIxFAST32): Likewise.
12685         [C99-based-standards] (PRIXFAST32): Likewise.
12686         [C99-based-standards] (SCNdFAST32): Likewise.
12687         [C99-based-standards] (SCNiFAST32): Likewise.
12688         [C99-based-standards] (SCNoFAST32): Likewise.
12689         [C99-based-standards] (SCNuFAST32): Likewise.
12690         [C99-based-standards] (SCNxFAST32): Likewise.
12691         [C99-based-standards] (PRId64): Likewise.
12692         [C99-based-standards] (PRIi64): Likewise.
12693         [C99-based-standards] (PRIo64): Likewise.
12694         [C99-based-standards] (PRIu64): Likewise.
12695         [C99-based-standards] (PRIx64): Likewise.
12696         [C99-based-standards] (PRIX64): Likewise.
12697         [C99-based-standards] (SCNd64): Likewise.
12698         [C99-based-standards] (SCNi64): Likewise.
12699         [C99-based-standards] (SCNo64): Likewise.
12700         [C99-based-standards] (SCNu64): Likewise.
12701         [C99-based-standards] (SCNx64): Likewise.
12702         [C99-based-standards] (PRIdLEAST64): Likewise.
12703         [C99-based-standards] (PRIiLEAST64): Likewise.
12704         [C99-based-standards] (PRIoLEAST64): Likewise.
12705         [C99-based-standards] (PRIuLEAST64): Likewise.
12706         [C99-based-standards] (PRIxLEAST64): Likewise.
12707         [C99-based-standards] (PRIXLEAST64): Likewise.
12708         [C99-based-standards] (SCNdLEAST64): Likewise.
12709         [C99-based-standards] (SCNiLEAST64): Likewise.
12710         [C99-based-standards] (SCNoLEAST64): Likewise.
12711         [C99-based-standards] (SCNuLEAST64): Likewise.
12712         [C99-based-standards] (SCNxLEAST64): Likewise.
12713         [C99-based-standards] (PRIdFAST64): Likewise.
12714         [C99-based-standards] (PRIiFAST64): Likewise.
12715         [C99-based-standards] (PRIoFAST64): Likewise.
12716         [C99-based-standards] (PRIuFAST64): Likewise.
12717         [C99-based-standards] (PRIxFAST64): Likewise.
12718         [C99-based-standards] (PRIXFAST64): Likewise.
12719         [C99-based-standards] (SCNdFAST64): Likewise.
12720         [C99-based-standards] (SCNiFAST64): Likewise.
12721         [C99-based-standards] (SCNoFAST64): Likewise.
12722         [C99-based-standards] (SCNuFAST64): Likewise.
12723         [C99-based-standards] (SCNxFAST64): Likewise.
12724         [C99-based-standards] (PRIdMAX): Likewise.
12725         [C99-based-standards] (PRIiMAX): Likewise.
12726         [C99-based-standards] (PRIoMAX): Likewise.
12727         [C99-based-standards] (PRIuMAX): Likewise.
12728         [C99-based-standards] (PRIxMAX): Likewise.
12729         [C99-based-standards] (PRIXMAX): Likewise.
12730         [C99-based-standards] (SCNdMAX): Likewise.
12731         [C99-based-standards] (SCNiMAX): Likewise.
12732         [C99-based-standards] (SCNoMAX): Likewise.
12733         [C99-based-standards] (SCNuMAX): Likewise.
12734         [C99-based-standards] (SCNxMAX): Likewise.
12735         [C99-based-standards] (PRIdPTR): Likewise.
12736         [C99-based-standards] (PRIiPTR): Likewise.
12737         [C99-based-standards] (PRIoPTR): Likewise.
12738         [C99-based-standards] (PRIuPTR): Likewise.
12739         [C99-based-standards] (PRIxPTR): Likewise.
12740         [C99-based-standards] (PRIXPTR): Likewise.
12741         [C99-based-standards] (SCNdPTR): Likewise.
12742         [C99-based-standards] (SCNiPTR): Likewise.
12743         [C99-based-standards] (SCNoPTR): Likewise.
12744         [C99-based-standards] (SCNuPTR): Likewise.
12745         [C99-based-standards] (SCNxPTR): Likewise.
12746         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12747         allow.
12748         * conform/data/stdint.h-data: Update comments to clarify
12749         requirements.
12750         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12751         type.
12752         [C99-based standards] (INT8_MAX): Likewise.
12753         [C99-based standards] (INT16_MIN): Likewise.
12754         [C99-based standards] (INT16_MAX): Likewise.
12755         [C99-based standards] (INT32_MIN): Likewise.
12756         [C99-based standards] (INT32_MAX): Likewise.
12757         [C99-based standards] (INT64_MIN): Likewise.
12758         [C99-based standards] (INT64_MAX): Likewise.
12759         [C99-based standards] (UINT8_MAX): Likewise.
12760         [C99-based standards] (UINT16_MAX): Likewise.
12761         [C99-based standards] (UINT32_MAX): Likewise.
12762         [C99-based standards] (UINT64_MAX): Likewise.
12763         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12764         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12765         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12766         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12767         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12768         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12769         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12770         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12771         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12772         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12773         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12774         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12775         [C99-based standards] (INT_FAST8_MIN): Likewise.
12776         [C99-based standards] (INT_FAST8_MAX): Likewise.
12777         [C99-based standards] (INT_FAST16_MIN): Likewise.
12778         [C99-based standards] (INT_FAST16_MAX): Likewise.
12779         [C99-based standards] (INT_FAST32_MIN): Likewise.
12780         [C99-based standards] (INT_FAST32_MAX): Likewise.
12781         [C99-based standards] (INT_FAST64_MIN): Likewise.
12782         [C99-based standards] (INT_FAST64_MAX): Likewise.
12783         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12784         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12785         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12786         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12787         [C99-based standards] (INTPTR_MIN): Likewise.
12788         [C99-based standards] (INTPTR_MAX): Likewise.
12789         [C99-based standards] (UINTPTR_MAX): Likewise.
12790         [C99-based standards] (INTMAX_MIN): Likewise.
12791         [C99-based standards] (INTMAX_MAX): Likewise.
12792         [C99-based standards] (UINTMAX_MAX): Likewise.
12793         [C99-based standards] (PTRDIFF_MIN): Likewise.
12794         [C99-based standards] (PTRDIFF_MAX): Likewise.
12795         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12796         [C99-based standards] (SIZE_MAX): Likewise.
12797         [C99-based standards] (WCHAR_MAX): Likewise.
12798         [C99-based standards] (WINT_MAX): Likewise.
12799         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12800         constraint on value.
12801         [C99-based standards] (WCHAR_MIN): Likewise.
12802         [C99-based standards] (WINT_MIN): Likewise.
12803         [C99-based standards] (*_t): Allow.
12804         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12805         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12806         Include math.h-data and complex.h-data.  Remove all expectations
12807         of math.h and complex.h contents.
12808         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12809         at end of line.
12810         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12811         (struct tm): Expect tag.
12812         [C99-based-standards] (wcstof): Expect function.
12813         [C99-based-standards] (wcstold): Likewise.
12814         [C99-based-standards] (wcstoll): Likewise.
12815         [C99-based-standards] (wcstoull): Likewise.
12816         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12817         macro-int-constant.  Specify type.
12818         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12819         constraint on value.
12820         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12821         Specify type.
12822         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12823         Specify value.
12824         [ISO C standards]: Do not allow headers.
12825         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12826         wcs[abcdefghijklmnopqrstuvwxyz]*.
12827         [ISO C standards] (*_t): Do not allow.
12828         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12829         Expect function.
12830         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12831         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12832         Specify type.
12833         [ISO C standards]: Do not allow headers.
12834         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12835         is[abcdefghijklmnopqrstuvwxyz]*.
12836         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12837         to[abcdefghijklmnopqrstuvwxyz]*.
12838         [ISO C standards] (*_t): Do not allow.
12839         * conform/data/stdalign.h-data: New file.
12840         * conform/data/stdbool.h-data: Likewise.
12841         * conform/data/stdnoreturn.h-data: Likewise.
12843 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12845         [BZ #14815]
12846         * manual/filesys.texi (Directory Entries): Typo fix.
12847         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12849 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12851         * elf/elf.h (EM_AARCH64): New macro.
12852         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12853         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12854         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12855         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12856         (R_AARCH64_TLSDESC): Likewise.
12857         (NT_ARM_TLS): Likewise.
12858         (NT_ARM_HW_BREAK): Likewise.
12859         (NT_ARM_HW_WATCH): Likewise.
12861 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12863         [BZ #14811]
12864         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12865         (__ieee754_powl): Saturate nonzero exponents with absolute value
12866         below 0x1p-79 to +/- 0x1p-79.
12867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12868         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12869         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12870         nonzero exponents with absolute value below 0x1p-32 to +/-
12871         0x1p-32.
12872         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12873         (__ieee754_powl): Saturate nonzero exponents with absolute value
12874         below 0x1p-79 to +/- 0x1p-79.
12875         * math/libm-test.inc (pow_test): Add more tests.
12877 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12879         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12880         _dl_s390_cap_flags with kernel. Increase string length.
12881         (_dl_s390_platforms): Add z196 and zEC12.
12883 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12885         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12886         Change XOPEN21K to XOPEN2K.
12888 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12890         * string/memmove.c: Use memcpy when possible.
12892 2012-11-06  Andreas Jaeger  <aj@suse.de>
12894         * po/eo.po: Update from translation team.
12896 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12898         [BZ #14793]
12899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12900         exponent and small x and y exponents, scale x or y up.  Increase
12901         by 2 the exponent used in scaling up.
12902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12904         * math/libm-test.inc (fma_test): Add more tests.
12905         (fma_test_towardzero): Likewise.
12906         (fma_test_downward): Likewise.
12907         (fma_test_upward): Likewise.
12909 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12911         [BZ #14805]
12912         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12913         fenv_t *.
12915         [BZ #14801]
12916         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12917         namespace for names of struct fields.
12918         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12919         fenv_t fields.
12920         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12921         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12923 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12925         [BZ #3665]
12926         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12928 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12930         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12931         PTR_DEMANGLE.
12933         [BZ #5246]
12934         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12935         PTR_DEMANGLE.
12937 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12939         [BZ #14797]
12940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12941         definitely overflow as x * y not x * y + z.
12942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12944         * math/libm-test.inc (fma_test): Add more tests.
12945         (fma_test_towardzero): Likewise.
12946         (fma_test_downward): Likewise.
12947         (fma_test_upward): Likewise.
12949 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12951         [BZ #157]
12953         * include/stub-tag.h: Remove file.
12954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12955         '#include' of it.
12956         * manual/maint.texi (Porting): Don't reference it.
12957         * Makerules ($(objpfx)stubs): Likewise.
12958         * dirent/closedir.c: Don't include <stub-tag.h>.
12959         * dirent/dirfd.c: Likewise.
12960         * dirent/fdopendir.c: Likewise.
12961         * dirent/getdents.c: Likewise.
12962         * dirent/getdents64.c: Likewise.
12963         * dirent/opendir.c: Likewise.
12964         * dirent/readdir.c: Likewise.
12965         * dirent/readdir64.c: Likewise.
12966         * dirent/readdir64_r.c: Likewise.
12967         * dirent/readdir_r.c: Likewise.
12968         * dirent/rewinddir.c: Likewise.
12969         * dirent/seekdir.c: Likewise.
12970         * dirent/telldir.c: Likewise.
12971         * gmon/profil.c: Likewise.
12972         * grp/setgroups.c: Likewise.
12973         * inet/if_index.c: Likewise.
12974         * io/access.c: Likewise.
12975         * io/chdir.c: Likewise.
12976         * io/chmod.c: Likewise.
12977         * io/chown.c: Likewise.
12978         * io/close.c: Likewise.
12979         * io/dup.c: Likewise.
12980         * io/dup2.c: Likewise.
12981         * io/dup3.c: Likewise.
12982         * io/euidaccess.c: Likewise.
12983         * io/faccessat.c: Likewise.
12984         * io/fchdir.c: Likewise.
12985         * io/fchmod.c: Likewise.
12986         * io/fchmodat.c: Likewise.
12987         * io/fchown.c: Likewise.
12988         * io/fchownat.c: Likewise.
12989         * io/fcntl.c: Likewise.
12990         * io/flock.c: Likewise.
12991         * io/fstatfs.c: Likewise.
12992         * io/fstatfs64.c: Likewise.
12993         * io/fstatvfs.c: Likewise.
12994         * io/fstatvfs64.c: Likewise.
12995         * io/futimens.c: Likewise.
12996         * io/fxstat.c: Likewise.
12997         * io/fxstat64.c: Likewise.
12998         * io/fxstatat.c: Likewise.
12999         * io/fxstatat64.c: Likewise.
13000         * io/getcwd.c: Likewise.
13001         * io/isatty.c: Likewise.
13002         * io/lchmod.c: Likewise.
13003         * io/lchown.c: Likewise.
13004         * io/link.c: Likewise.
13005         * io/linkat.c: Likewise.
13006         * io/lseek.c: Likewise.
13007         * io/lseek64.c: Likewise.
13008         * io/lxstat64.c: Likewise.
13009         * io/mkdir.c: Likewise.
13010         * io/mkdirat.c: Likewise.
13011         * io/mkfifo.c: Likewise.
13012         * io/mkfifoat.c: Likewise.
13013         * io/open.c: Likewise.
13014         * io/open64.c: Likewise.
13015         * io/openat.c: Likewise.
13016         * io/openat64.c: Likewise.
13017         * io/pipe.c: Likewise.
13018         * io/pipe2.c: Likewise.
13019         * io/poll.c: Likewise.
13020         * io/posix_fadvise.c: Likewise.
13021         * io/posix_fadvise64.c: Likewise.
13022         * io/posix_fallocate.c: Likewise.
13023         * io/posix_fallocate64.c: Likewise.
13024         * io/read.c: Likewise.
13025         * io/readlink.c: Likewise.
13026         * io/readlinkat.c: Likewise.
13027         * io/rmdir.c: Likewise.
13028         * io/sendfile.c: Likewise.
13029         * io/sendfile64.c: Likewise.
13030         * io/statfs.c: Likewise.
13031         * io/statfs64.c: Likewise.
13032         * io/statvfs.c: Likewise.
13033         * io/statvfs64.c: Likewise.
13034         * io/symlink.c: Likewise.
13035         * io/symlinkat.c: Likewise.
13036         * io/ttyname.c: Likewise.
13037         * io/ttyname_r.c: Likewise.
13038         * io/umask.c: Likewise.
13039         * io/unlink.c: Likewise.
13040         * io/unlinkat.c: Likewise.
13041         * io/utime.c: Likewise.
13042         * io/utimensat.c: Likewise.
13043         * io/write.c: Likewise.
13044         * io/xmknod.c: Likewise.
13045         * io/xmknodat.c: Likewise.
13046         * io/xstat.c: Likewise.
13047         * io/xstat64.c: Likewise.
13048         * login/getpt.c: Likewise.
13049         * login/grantpt.c: Likewise.
13050         * login/unlockpt.c: Likewise.
13051         * math/e_acoshl.c: Likewise.
13052         * math/e_acosl.c: Likewise.
13053         * math/e_asinl.c: Likewise.
13054         * math/e_atan2l.c: Likewise.
13055         * math/e_atanhl.c: Likewise.
13056         * math/e_coshl.c: Likewise.
13057         * math/e_expl.c: Likewise.
13058         * math/e_fmodl.c: Likewise.
13059         * math/e_gammal_r.c: Likewise.
13060         * math/e_hypotl.c: Likewise.
13061         * math/e_j0l.c: Likewise.
13062         * math/e_j1l.c: Likewise.
13063         * math/e_jnl.c: Likewise.
13064         * math/e_lgammal_r.c: Likewise.
13065         * math/e_log10l.c: Likewise.
13066         * math/e_log2l.c: Likewise.
13067         * math/e_logl.c: Likewise.
13068         * math/e_powl.c: Likewise.
13069         * math/e_rem_pio2l.c: Likewise.
13070         * math/e_sinhl.c: Likewise.
13071         * math/e_sqrtl.c: Likewise.
13072         * math/fclrexcpt.c: Likewise.
13073         * math/fedisblxcpt.c: Likewise.
13074         * math/feenablxcpt.c: Likewise.
13075         * math/fegetenv.c: Likewise.
13076         * math/fegetexcept.c: Likewise.
13077         * math/fegetround.c: Likewise.
13078         * math/feholdexcpt.c: Likewise.
13079         * math/fesetenv.c: Likewise.
13080         * math/fesetround.c: Likewise.
13081         * math/feupdateenv.c: Likewise.
13082         * math/fgetexcptflg.c: Likewise.
13083         * math/fraiseexcpt.c: Likewise.
13084         * math/fsetexcptflg.c: Likewise.
13085         * math/ftestexcept.c: Likewise.
13086         * math/k_cosl.c: Likewise.
13087         * math/k_rem_pio2l.c: Likewise.
13088         * math/k_sinl.c: Likewise.
13089         * math/k_tanl.c: Likewise.
13090         * math/s_asinhl.c: Likewise.
13091         * math/s_atanl.c: Likewise.
13092         * math/s_cbrtl.c: Likewise.
13093         * math/s_erfl.c: Likewise.
13094         * math/s_expm1l.c: Likewise.
13095         * math/s_log1pl.c: Likewise.
13096         * math/s_tanhl.c: Likewise.
13097         * misc/acct.c: Likewise.
13098         * misc/brk.c: Likewise.
13099         * misc/chflags.c: Likewise.
13100         * misc/chroot.c: Likewise.
13101         * misc/fchflags.c: Likewise.
13102         * misc/fgetxattr.c: Likewise.
13103         * misc/flistxattr.c: Likewise.
13104         * misc/fremovexattr.c: Likewise.
13105         * misc/fsetxattr.c: Likewise.
13106         * misc/fsync.c: Likewise.
13107         * misc/ftruncate.c: Likewise.
13108         * misc/futimes.c: Likewise.
13109         * misc/futimesat.c: Likewise.
13110         * misc/getdomain.c: Likewise.
13111         * misc/getdtsz.c: Likewise.
13112         * misc/gethostid.c: Likewise.
13113         * misc/gethostname.c: Likewise.
13114         * misc/getloadavg.c: Likewise.
13115         * misc/getpagesize.c: Likewise.
13116         * misc/getsysstats.c: Likewise.
13117         * misc/getxattr.c: Likewise.
13118         * misc/gtty.c: Likewise.
13119         * misc/ioctl.c: Likewise.
13120         * misc/lgetxattr.c: Likewise.
13121         * misc/listxattr.c: Likewise.
13122         * misc/llistxattr.c: Likewise.
13123         * misc/lremovexattr.c: Likewise.
13124         * misc/lsetxattr.c: Likewise.
13125         * misc/lutimes.c: Likewise.
13126         * misc/madvise.c: Likewise.
13127         * misc/mincore.c: Likewise.
13128         * misc/mlock.c: Likewise.
13129         * misc/mlockall.c: Likewise.
13130         * misc/mmap.c: Likewise.
13131         * misc/mprotect.c: Likewise.
13132         * misc/msync.c: Likewise.
13133         * misc/munlock.c: Likewise.
13134         * misc/munlockall.c: Likewise.
13135         * misc/munmap.c: Likewise.
13136         * misc/preadv.c: Likewise.
13137         * misc/preadv64.c: Likewise.
13138         * misc/ptrace.c: Likewise.
13139         * misc/pwritev.c: Likewise.
13140         * misc/pwritev64.c: Likewise.
13141         * misc/readv.c: Likewise.
13142         * misc/reboot.c: Likewise.
13143         * misc/remap_file_pages.c: Likewise.
13144         * misc/removexattr.c: Likewise.
13145         * misc/revoke.c: Likewise.
13146         * misc/select.c: Likewise.
13147         * misc/setdomain.c: Likewise.
13148         * misc/setegid.c: Likewise.
13149         * misc/seteuid.c: Likewise.
13150         * misc/sethostid.c: Likewise.
13151         * misc/sethostname.c: Likewise.
13152         * misc/setregid.c: Likewise.
13153         * misc/setreuid.c: Likewise.
13154         * misc/setxattr.c: Likewise.
13155         * misc/sstk.c: Likewise.
13156         * misc/stty.c: Likewise.
13157         * misc/swapoff.c: Likewise.
13158         * misc/swapon.c: Likewise.
13159         * misc/sync.c: Likewise.
13160         * misc/syncfs.c: Likewise.
13161         * misc/syscall.c: Likewise.
13162         * misc/truncate.c: Likewise.
13163         * misc/ualarm.c: Likewise.
13164         * misc/usleep.c: Likewise.
13165         * misc/ustat.c: Likewise.
13166         * misc/utimes.c: Likewise.
13167         * misc/vhangup.c: Likewise.
13168         * misc/writev.c: Likewise.
13169         * posix/_exit.c: Likewise.
13170         * posix/alarm.c: Likewise.
13171         * posix/execve.c: Likewise.
13172         * posix/fexecve.c: Likewise.
13173         * posix/fork.c: Likewise.
13174         * posix/fpathconf.c: Likewise.
13175         * posix/getaddrinfo.c: Likewise.
13176         * posix/getegid.c: Likewise.
13177         * posix/geteuid.c: Likewise.
13178         * posix/getgid.c: Likewise.
13179         * posix/getgroups.c: Likewise.
13180         * posix/getlogin.c: Likewise.
13181         * posix/getlogin_r.c: Likewise.
13182         * posix/getpgid.c: Likewise.
13183         * posix/getpid.c: Likewise.
13184         * posix/getppid.c: Likewise.
13185         * posix/getresgid.c: Likewise.
13186         * posix/getresuid.c: Likewise.
13187         * posix/getsid.c: Likewise.
13188         * posix/getuid.c: Likewise.
13189         * posix/glob64.c: Likewise.
13190         * posix/nanosleep.c: Likewise.
13191         * posix/pathconf.c: Likewise.
13192         * posix/pause.c: Likewise.
13193         * posix/posix_madvise.c: Likewise.
13194         * posix/pread.c: Likewise.
13195         * posix/pread64.c: Likewise.
13196         * posix/pwrite.c: Likewise.
13197         * posix/pwrite64.c: Likewise.
13198         * posix/sched_getaffinity.c: Likewise.
13199         * posix/sched_getp.c: Likewise.
13200         * posix/sched_gets.c: Likewise.
13201         * posix/sched_primax.c: Likewise.
13202         * posix/sched_primin.c: Likewise.
13203         * posix/sched_rr_gi.c: Likewise.
13204         * posix/sched_setaffinity.c: Likewise.
13205         * posix/sched_setp.c: Likewise.
13206         * posix/sched_sets.c: Likewise.
13207         * posix/sched_yield.c: Likewise.
13208         * posix/setgid.c: Likewise.
13209         * posix/setlogin.c: Likewise.
13210         * posix/setpgid.c: Likewise.
13211         * posix/setresgid.c: Likewise.
13212         * posix/setresuid.c: Likewise.
13213         * posix/setsid.c: Likewise.
13214         * posix/setuid.c: Likewise.
13215         * posix/sleep.c: Likewise.
13216         * posix/spawni.c: Likewise.
13217         * posix/sysconf.c: Likewise.
13218         * posix/times.c: Likewise.
13219         * posix/wait.c: Likewise.
13220         * posix/wait3.c: Likewise.
13221         * posix/wait4.c: Likewise.
13222         * posix/waitpid.c: Likewise.
13223         * resolv/gai_sigqueue.c: Likewise.
13224         * resource/getpriority.c: Likewise.
13225         * resource/getrlimit.c: Likewise.
13226         * resource/getrusage.c: Likewise.
13227         * resource/nice.c: Likewise.
13228         * resource/setpriority.c: Likewise.
13229         * resource/setrlimit.c: Likewise.
13230         * resource/ulimit.c: Likewise.
13231         * rt/aio_cancel.c: Likewise.
13232         * rt/aio_fsync.c: Likewise.
13233         * rt/aio_read.c: Likewise.
13234         * rt/aio_sigqueue.c: Likewise.
13235         * rt/aio_suspend.c: Likewise.
13236         * rt/aio_write.c: Likewise.
13237         * rt/clock_getres.c: Likewise.
13238         * rt/clock_gettime.c: Likewise.
13239         * rt/clock_nanosleep.c: Likewise.
13240         * rt/clock_settime.c: Likewise.
13241         * rt/lio_listio.c: Likewise.
13242         * rt/mq_close.c: Likewise.
13243         * rt/mq_getattr.c: Likewise.
13244         * rt/mq_notify.c: Likewise.
13245         * rt/mq_open.c: Likewise.
13246         * rt/mq_receive.c: Likewise.
13247         * rt/mq_send.c: Likewise.
13248         * rt/mq_setattr.c: Likewise.
13249         * rt/mq_timedreceive.c: Likewise.
13250         * rt/mq_timedsend.c: Likewise.
13251         * rt/mq_unlink.c: Likewise.
13252         * rt/shm_open.c: Likewise.
13253         * rt/shm_unlink.c: Likewise.
13254         * rt/timer_create.c: Likewise.
13255         * rt/timer_delete.c: Likewise.
13256         * rt/timer_getoverr.c: Likewise.
13257         * rt/timer_gettime.c: Likewise.
13258         * rt/timer_settime.c: Likewise.
13259         * setjmp/__longjmp.c: Likewise.
13260         * setjmp/setjmp.c: Likewise.
13261         * signal/kill.c: Likewise.
13262         * signal/killpg.c: Likewise.
13263         * signal/raise.c: Likewise.
13264         * signal/sigaction.c: Likewise.
13265         * signal/sigaltstack.c: Likewise.
13266         * signal/sigblock.c: Likewise.
13267         * signal/sigignore.c: Likewise.
13268         * signal/sigintr.c: Likewise.
13269         * signal/signal.c: Likewise.
13270         * signal/sigpause.c: Likewise.
13271         * signal/sigpending.c: Likewise.
13272         * signal/sigqueue.c: Likewise.
13273         * signal/sigreturn.c: Likewise.
13274         * signal/sigset.c: Likewise.
13275         * signal/sigsetmask.c: Likewise.
13276         * signal/sigstack.c: Likewise.
13277         * signal/sigsuspend.c: Likewise.
13278         * signal/sigtimedwait.c: Likewise.
13279         * signal/sigvec.c: Likewise.
13280         * signal/sigwait.c: Likewise.
13281         * signal/sigwaitinfo.c: Likewise.
13282         * signal/sysv_signal.c: Likewise.
13283         * socket/accept.c: Likewise.
13284         * socket/accept4.c: Likewise.
13285         * socket/bind.c: Likewise.
13286         * socket/connect.c: Likewise.
13287         * socket/getpeername.c: Likewise.
13288         * socket/getsockname.c: Likewise.
13289         * socket/getsockopt.c: Likewise.
13290         * socket/isfdtype.c: Likewise.
13291         * socket/listen.c: Likewise.
13292         * socket/recv.c: Likewise.
13293         * socket/recvfrom.c: Likewise.
13294         * socket/recvmsg.c: Likewise.
13295         * socket/send.c: Likewise.
13296         * socket/sendmsg.c: Likewise.
13297         * socket/sendto.c: Likewise.
13298         * socket/setsockopt.c: Likewise.
13299         * socket/shutdown.c: Likewise.
13300         * socket/sockatmark.c: Likewise.
13301         * socket/socket.c: Likewise.
13302         * socket/socketpair.c: Likewise.
13303         * stdio-common/ctermid.c: Likewise.
13304         * stdio-common/cuserid.c: Likewise.
13305         * stdio-common/remove.c: Likewise.
13306         * stdio-common/rename.c: Likewise.
13307         * stdio-common/renameat.c: Likewise.
13308         * stdio-common/tempname.c: Likewise.
13309         * stdlib/getcontext.c: Likewise.
13310         * stdlib/makecontext.c: Likewise.
13311         * stdlib/setcontext.c: Likewise.
13312         * stdlib/swapcontext.c: Likewise.
13313         * stdlib/system.c: Likewise.
13314         * streams/fattach.c: Likewise.
13315         * streams/fdetach.c: Likewise.
13316         * streams/getmsg.c: Likewise.
13317         * streams/getpmsg.c: Likewise.
13318         * streams/putmsg.c: Likewise.
13319         * streams/putpmsg.c: Likewise.
13320         * sysdeps/unix/bsd/getpt.c: Likewise.
13321         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13322         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13323         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13325         Likewise.
13326         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13327         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13328         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13329         * sysvipc/msgctl.c: Likewise.
13330         * sysvipc/msgget.c: Likewise.
13331         * sysvipc/msgrcv.c: Likewise.
13332         * sysvipc/msgsnd.c: Likewise.
13333         * sysvipc/semctl.c: Likewise.
13334         * sysvipc/semget.c: Likewise.
13335         * sysvipc/semop.c: Likewise.
13336         * sysvipc/semtimedop.c: Likewise.
13337         * sysvipc/shmat.c: Likewise.
13338         * sysvipc/shmctl.c: Likewise.
13339         * sysvipc/shmdt.c: Likewise.
13340         * sysvipc/shmget.c: Likewise.
13341         * termios/tcdrain.c: Likewise.
13342         * termios/tcflow.c: Likewise.
13343         * termios/tcflush.c: Likewise.
13344         * termios/tcgetattr.c: Likewise.
13345         * termios/tcgetpgrp.c: Likewise.
13346         * termios/tcsendbrk.c: Likewise.
13347         * termios/tcsetattr.c: Likewise.
13348         * termios/tcsetpgrp.c: Likewise.
13349         * time/adjtime.c: Likewise.
13350         * time/clock.c: Likewise.
13351         * time/getitimer.c: Likewise.
13352         * time/gettimeofday.c: Likewise.
13353         * time/setitimer.c: Likewise.
13354         * time/settimeofday.c: Likewise.
13355         * time/stime.c: Likewise.
13356         * time/time.c: Likewise.
13358 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13360         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13361         /usr/old/bin.
13363         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13364         instead of spaces.
13365         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13367 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13369         [BZ #14796]
13370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13371         FE_TONEAREST before applying Dekker multiplication and Knuth
13372         addition.  Clear inexact exceptions and check for exact zero
13373         results afterwards.
13374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13377         * math/libm-test.inc (fma_test): Add more tests.
13378         (fma_test_towardzero): Likewise.
13379         (fma_test_downward): Likewise.
13380         (fma_test_upward): Likewise.
13381         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13382         function.
13383         (libc_fesetround): New macro.
13384         (libc_fesetroundf): Likewise.
13385         (libc_fesetroundl): Likewise.
13386         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13387         function.
13388         (libc_fesetround_387): Likewise.
13389         (libc_fesetroundf): New macro.
13390         (libc_fesetround): Likewise.
13391         (libc_fesetroundl): Likewise.
13392         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13393         function.
13394         (libc_fesetroundf): New macro.
13395         (libc_fesetround): Likewise.
13396         (libc_fesetroundl): Likewise.
13397         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13398         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13399         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13400         libm_hidden_ver.
13401         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13402         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13403         libm_hidden_def.
13404         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13405         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13406         libm_hidden_ver.
13407         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13408         libm_hidden_def.
13410         [BZ #3439]
13411         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13412         integer constant usable in #if and use that to give value to enum
13413         constant.
13414         (FE_DIVBYZERO): Likewise.
13415         (FE_UNDERFLOW): Likewise.
13416         (FE_OVERFLOW): Likewise.
13417         (FE_INVALID): Likewise.
13418         (FE_INVALID_SNAN): Likewise.
13419         (FE_INVALID_ISI): Likewise.
13420         (FE_INVALID_IDI): Likewise.
13421         (FE_INVALID_ZDZ): Likewise.
13422         (FE_INVALID_IMZ): Likewise.
13423         (FE_INVALID_COMPARE): Likewise.
13424         (FE_INVALID_SOFTWARE): Likewise.
13425         (FE_INVALID_SQRT): Likewise.
13426         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13427         (FE_TONEAREST): Likewise.
13428         (FE_TOWARDZERO): Likewise.
13429         (FE_UPWARD): Likewise.
13430         (FE_DOWNWARD): Likewise.
13431         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13432         (FE_DIVBYZERO): Likewise.
13433         (FE_OVERFLOW): Likewise.
13434         (FE_UNDERFLOW): Likewise.
13435         (FE_INEXACT): Likewise.
13436         (FE_TONEAREST): Likewise.
13437         (FE_DOWNWARD): Likewise.
13438         (FE_UPWARD): Likewise.
13439         (FE_TOWARDZERO): Likewise.
13440         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13441         (FE_UNDERFLOW): Likewise.
13442         (FE_OVERFLOW): Likewise.
13443         (FE_DIVBYZERO): Likewise.
13444         (FE_INVALID): Likewise.
13445         (FE_TONEAREST): Likewise.
13446         (FE_TOWARDZERO): Likewise.
13447         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13448         (FE_OVERFLOW): Likewise.
13449         (FE_UNDERFLOW): Likewise.
13450         (FE_DIVBYZERO): Likewise.
13451         (FE_INEXACT): Likewise.
13452         (FE_TONEAREST): Likewise.
13453         (FE_TOWARDZERO): Likewise.
13454         (FE_UPWARD): Likewise.
13455         (FE_DOWNWARD): Likewise.
13456         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13457         (FE_DIVBYZERO): Likewise.
13458         (FE_OVERFLOW): Likewise.
13459         (FE_UNDERFLOW): Likewise.
13460         (FE_INEXACT): Likewise.
13461         (FE_TONEAREST): Likewise.
13462         (FE_DOWNWARD): Likewise.
13463         (FE_UPWARD): Likewise.
13464         (FE_TOWARDZERO): Likewise.
13466 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13468         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13470 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13472         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13473         commands.  Quote $PWD.
13474         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13475         -x" by "export".
13476         (remove_newlines): Remove.
13478 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13480         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13481         * stdlib/stdlib.h (atof): Moved to ...
13482         * include/bits/stdlib-float.h: Here.  New file.
13483         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13484         * stdlib/bits/stdlib-float.h: New file.
13485         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13486         -mno-sse -mno-mmx.
13487         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13488         <xmmintrin.h>.
13490 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13492         * conform/conformtest.pl (@headers): Add fenv.h.
13493         * conform/data/fenv.h-data: New file.
13494         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13495         include of <math/fenv.h>.
13497         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13498         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13499         && !UNIX98].  Enables tests for XOPEN2K8.
13500         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13501         POSIX2008]: Likewise.
13503         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13504         (struct rusage): Do not expect type or its members.
13506         [BZ #3439]
13507         * math/math.h (FP_NAN): Define macro to integer constant usable in
13508         #if and use that to give value to enum constant.
13509         (FP_INFINITE): Likewise.
13510         (FP_ZERO): Likewise.
13511         (FP_SUBNORMAL): Likewise.
13512         (FP_NORMAL): Likewise.
13514 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13516         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13517         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13518         arguments.
13520 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13522         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13523         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13524         autoconf-time if not.
13525         * configure.in: Remove AC_PREREQ.
13527 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13529         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13530         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13531         of the internal implementation.
13533 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13535         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13536         except include of <misc/sys/syslog.h>.
13538 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13541         function returns with a NULL context exit with zero.
13543 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13545         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13547 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13549         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13550         (run_program_cmd): This.
13551         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13552         (tst_langinfo): New variable.  Use it.
13554 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13556         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13557         floating point opcodes.
13559 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13561         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13562         variable.
13564         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13566         * sysdeps/mach/hurd/powerpc: Remove directory.
13567         * sysdeps/mach/powerpc: Likewise.
13569 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13571         * scripts/check-local-headers.sh: Ignore c++ headers.
13573 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13575         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13576         __libc_cleanup_region_start argument.
13578 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13580         [BZ #14784]
13581         [BZ #14785]
13582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13583         x * y using scaling, not as x * y + z.
13584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13586         * math/libm-test.inc (fma_test): Add more tests.
13587         (fma_test_towardzero): Likewise.
13588         (fma_test_downward): Likewise.
13589         (fma_test_upward): Likewise.
13591 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13593         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13595 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13597         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13598         New variable.
13600 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13602         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13604 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13607         Fix sort order.
13608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13609         Likewise.
13611 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13614         Fix the order of the list for glibc 2.17.
13615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13616         Likewise.
13618 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13622 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13624         [BZ #14610]
13625         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13626         for low part of x being zero before using __atanl (y).
13627         * math/libm-test.inc (atan2_test): Add another test.
13629         * manual/install.texi (Configuring and compiling): Document
13630         general use of test-wrapper and test-wrapper-env.
13631         * INSTALL: Regenerated.
13633         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13634         (__fma): Do not extract and scale down low bits on after-rounding
13635         systems when result rounded to normal precision would have normal
13636         exponent.
13637         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13638         (__fmal): Do not extract and scale down low bits on after-rounding
13639         systems when result rounded to normal precision would have normal
13640         exponent.
13641         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13642         (__fmal): Do not extract and scale down low bits on after-rounding
13643         systems when result rounded to normal precision would have normal
13644         exponent.
13645         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13646         macro.
13647         (fma_test): Add more tests.
13648         (fma_test_towardzero): Likewise.
13649         (fma_test_downward): Likewise.
13650         (fma_test_upward): Likewise.
13652 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13654         * sysdeps/i386/tininess.h: Renamed to ...
13655         * sysdeps/x86/tininess.h: This.
13656         * sysdeps/x86_64/tininess.h: Removed.
13658 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13660         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13661         input.  Use $(build-program-cmd).
13662         ($(objpfx)tst-array1-static.out): Likewise.
13663         ($(objpfx)tst-array2.out): Likewise.
13664         ($(objpfx)tst-array3.out): Likewise.
13665         ($(objpfx)tst-array4.out): Likewise.
13666         ($(objpfx)tst-array5.out): Likewise.
13667         ($(objpfx)tst-array5-static.out): Likewise.
13669 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13671         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13672         if defined.
13674         * nss/nsswitch.h (nss_interface_function): Provide new
13675         macro for use with NSS functions.
13676         * grp/initgroups.c: Use new macro.
13677         * nss/getXXbyYY.c: Likewise.
13678         * nss/getXXbyYY_r.c: Likewise.
13679         * nss/getXXent.c: Likewise.
13680         * nss/getXXent_r.c: Likewise.
13681         * sysdeps/posix/getaddrinfo.c: Likewise.
13683 2012-10-30  Andreas Jaeger  <aj@suse.de>
13685         * po/ru.po: Update Russion translation from translation project.
13687 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13689         [BZ #14152]
13690         [BZ #14783]
13691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13692         result and shift together with sticky bit instead of replicating
13693         round-to-nearest rounding.
13694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13696         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13697         missing underflow exceptions.
13698         (fma_test_towardzero): Add more tests.
13699         (fma_test_downward): Likewise.
13700         (fma_test_upward): Likewise.
13702         [BZ #14047]
13703         * sysdeps/generic/tininess.h: New file.
13704         * sysdeps/i386/tininess.h: Likewise.
13705         * sysdeps/sh/tininess.h: Likewise.
13706         * sysdeps/x86_64/tininess.h: Likewise.
13707         * stdlib/tst-strtod-underflow.c: Likewise.
13708         * stdlib/tst-tininess.c: Likewise.
13709         * stdlib/strtod_l.c: Include <tininess.h>.
13710         (round_and_return): Do not set errno for exact underflow cases.
13711         Force an underflow exception when setting errno for underflow.
13712         Determine underflow based on rounding to normal precision if
13713         TININESS_AFTER_ROUNDING.
13714         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13715         ERANGE for exact underflow cases.
13716         * stdlib/Makefile (tests): Add tst-tininess and
13717         tst-strtod-underflow.
13718         ($(objpfx)tst-tininess): Use $(link-libm).
13719         ($(objpfx)tst-strtod-underflow): Likewise.
13721 2012-10-30  Andreas Jaeger  <aj@suse.de>
13723         [BZ#14767]
13724         * elf/Makefile (tests): Remove conditional for have-initfini-array
13725         since this is now always required and the variable does not exist
13726         anymore.
13727         (tests-static): Likewise.
13728         (modules-names): Likewise.
13730         * po/eo.po: Add Esperanto translation from translation project.
13732         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13733         merged with constructor/destructor.
13734         (init_array): Likewise.
13735         * elf/tst-array2dep.c (fini_array): Likewise.
13736         (init_array): Likewise.
13738 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13740         * manual/message.texi: Delete @cartouche tags.
13742 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13744         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13745         EOPNOTSUPP.
13746         * sysdeps/mach/hurd/fsync.c: Likewise.
13748         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13749         [_POSIX_REALTIME_SIGNALS]: Change condition to
13750         [_POSIX_REALTIME_SIGNALS > 0].
13752 2012-10-27  Andreas Jaeger  <aj@suse.de>
13754         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13755         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13756         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13757         [__WORDSIZE != 64]: Likewise.
13759 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13761         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13762         *  iconvdata/tst-tables.sh: Likewise.
13764 2012-10-25  David S. Miller  <davem@davemloft.net>
13766         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13767         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13768         of strtoull.
13770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13771         ifunc-impl-list.c
13772         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13773         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13774         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13775         file.
13777 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13779         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13780         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13781         __getdirentries.
13783 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13784             Jim Blandy  <jimb@codesourcery.com>
13786         * scripts/cross-test-ssh.sh: New file.
13787         * manual/install.texi (Configuring and compiling): Document use of
13788         cross-test-ssh.sh.
13789         * INSTALL: Regenerated.
13791 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13793         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13794         EOPNOTSUPP.
13796 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13798         * Makeconfig (run-program-prefix): Fix comment.
13800 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13801             Jim Blandy  <jimb@codesourcery.com>
13803         * Makeconfig (test-wrapper): New variable,
13804         (test-wrapper-env): Likewise.
13805         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13806         (run-built-tests): Define to yes.
13807         (run-program-prefix): Use $(test-wrapper).
13808         (built-program-cmd): Likewise.
13809         * Rules (make-test-out): Use $(test-wrapper-env) and
13810         $(host-built-program-cmd).
13811         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13812         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13813         tst-pathopt.sh.
13814         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13815         $(test-wrapper-env) to tst-rtld-load-self.sh.
13816         ($(objpfx)order2.out): Use $(test-wrapper).
13817         ($(objpfx)tst-initorder.out): Likewise.
13818         ($(objpfx)tst-initorder2.out): Likewise.
13819         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13820         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13821         (test_wrapper_env): New variable.  Use it to run ld.so.
13822         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13823         Use it to run ld.so.
13824         (test_wrapper_env): Likewise.
13825         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13826         $(test-wrapper) to run-iconv-test.sh.
13827         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13828         (ICONV): Use $test_wrapper.
13829         * posix/Makefile ($(objpfx)globtest.out): Pass
13830         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13831         globtest.sh, not $(run-program-prefix).
13832         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13833         (test_wrapper): Likewise.
13834         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13835         set together with run_via_rtld_prefix.
13836         (run_program_prefix): Define in terms of test_wrapper and
13837         run_via_rtld_prefix.
13839 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13841         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13842         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13843         Targets removed.
13845         [BZ #14743]
13846         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13847         Declare __clock_getres, __clock_gettime, __clock_settime,
13848         __clock_nanosleep, and __clock_getcpuclockid.
13849         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13850         Remove librt_hidden_def (clock_gettime).
13851         * sysdeps/unix/clock_gettime.c: Likewise.
13852         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13853         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13854         * rt/clock_getres.c: Define __clock_getres as an alias.
13855         * sysdeps/posix/clock_getres.c: Likewise.
13856         * rt/clock_settime.c: Define __clock_settime as an alias.
13857         * sysdeps/unix/clock_settime.c: Likewise.
13858         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13859         * sysdeps/unix/clock_nanosleep.c: Likewise.
13860         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13861         * rt/clock-compat.c: New file.
13862         * rt/Makefile (librt-routines): Add clock-compat and move
13863         $(clock-routines) to ...
13864         (routines): ... here, new variable.
13865         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13866         Don't add get_clockfreq here.
13867         * rt/Versions (libc: GLIBC_2.17): New version set.
13868         Add clock_* symbols here.
13869         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13870         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13871         (GLIBC_2.17): Add clock_* symbols.
13872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13874         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13876         Likewise.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13878         Likewise.
13879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13883         * NEWS: Mention the move.
13885         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13886         Use __open, __read, __close rather than their public counterparts.
13887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13888         (__get_clockfreq_via_cpuinfo): Likewise.
13889         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13890         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13892         * config.h.in (HAVE_IFUNC): New #undef.
13893         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13894         was successful.
13895         * configure: Regenerated.
13897 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13899         * configure.in: Move READELF check to start of file.
13900         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13901         libc_cv_asm_gnu_indirect_function in the process.
13902         * configure: Regenerated.
13904 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13906         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13907         send the output to /dev/null.
13908         (libc_cv_cc_with_libunwind): Likewise.
13909         (libc_cv_as_noexecstack): Likewise.
13910         * configure: Regenerate.
13912 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13914         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13916         * posix/globtest.sh (TMPDIR): Do not set.
13917         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13918         (testout): Likewise.
13920 2012-10-24  Andreas Jaeger  <aj@suse.de>
13922         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13923         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13924         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13925         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13926         posix_fadvise64, posix_fallocate64.
13928         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13929         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13930         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13931         Likewise.
13932         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13933         Likewise.
13934         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13937         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13938         <bits/fcntl-linux.h>.
13939         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13942         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13943         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13944         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13945         [__WORDSIZE != 64]: Likewise.
13947 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13949         * Makeconfig (run-built-tests): New variable.
13950         * Rules [$(cross-compiling) = yes]: Change condition to
13951         [$(run-built-tests) = no].
13952         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13953         to [$(run-built-tests) = yes].
13954         * elf/Makefile [$(cross-compiling) = no]: Likewise
13955         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13956         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13957         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13958         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13959         * io/Makefile [$(cross-compiling) = no]: Likewise.
13960         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13961         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13962         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13963         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13964         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13965         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13966         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13967         * string/Makefile [$(cross-compiling) = no]: Likewise.
13969         * posix/Makefile ($(objpfx)globtest.out): Pass
13970         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13971         $(rtld-installed-name).
13972         * posix/globtest.sh (elf_objpfx): Remove variable.
13973         (rtld_installed_name): Likewise.
13974         (library_path): Likewise.
13975         (run_program_prefix): New variable.  Use for running globtest
13976         binary.
13978 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13979             Joseph Myers  <joseph@codesourcery.com>
13981         * Makeconfig (host-built-program-cmd): New variable.
13982         * elf/Makefile (tst-stackguard1-ARGS): Use
13983         $(host-built-program-cmd).
13984         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13985         (tst-spawn-ARGS): Likewise.
13986         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13988 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13989             Jim Blandy  <jimb@codesourcery.com>
13991         * Makeconfig (run-via-rtld-prefix): New variable.
13992         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13993         (built-program-cmd): Likewise.
13995 2012-10-22  Andreas Jaeger  <aj@suse.de>
13997         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13998         __O_RSYNC if it exists, otherwise to O_SYNC.
14000 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14001             Joseph Myers  <joseph@codesourcery.com>
14003         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14004         /dev/null.
14005         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14006         from /dev/null
14007         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14008         /dev/null.
14010 2012-10-22  Andreas Jaeger  <aj@suse.de>
14012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14013         Define always.
14014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14017         bits/fcntl-linux.h.
14019         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14020         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14022         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14023         to __O_LARGEFILE.
14024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14025         to __O_LARGEFILE.
14027 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14028             Joseph Myers  <joseph@codesourcery.com>
14030         * config.make.in (NM): New variable.
14032 2012-10-21  Andreas Jaeger  <aj@suse.de>
14034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14035         definitions and declarations that are provided by
14036         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14038 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14040         [BZ #14683]
14041         * elf/Makefile (tests-static): Add tst-leaks1-static.
14042         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14043         ($(objpfx)tst-leaks1-static): New rule.
14044         ($(objpfx)tst-leaks1-static-mem): Likewise.
14045         (tst-leaks1-static-ENV): New macro.
14046         * elf/dl-open.c (dl_open_worker): Check the main application
14047         only if SHARED is defined.
14048         * elf/tst-leaks1-static.c: New file.
14050 2012-10-20  Andreas Jaeger  <aj@suse.de>
14052         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14053         generic values for Linux.
14054         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14055         and declarations that are provided by <bits/fcntl-linux.h> and
14056         include <bits/fcntl-linux.h>.
14057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14060 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14062         * io/fcntl.h: Move include of <bits/types.h> to the top and
14063         include it unconditionally.
14065 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14067         * wcsmbs/Makefile (tests-ifunc): New variable.
14068         (tests): Add $(tests-ifunc).
14069         * wcsmbs/test-wcschr-ifunc.c: New file.
14070         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14071         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14072         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14073         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14074         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14076         * string/Makefile (tests-ifunc): New variable.
14077         (tests): Add $(tests-ifunc).
14078         * string/test-memccpy.c (TEST_NAME): New macro.
14079         * string/test-memchr.c (TEST_NAME): Likewise.
14080         * string/test-memcmp.c (TEST_NAME): Likewise.
14081         * string/test-memcpy.c (TEST_NAME): Likewise.
14082         * string/test-memmem.c (TEST_NAME): Likewise.
14083         * string/test-memmove.c (TEST_NAME): Likewise.
14084         * string/test-memset.c (TEST_NAME): Likewise.
14085         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14086         * string/test-stpcpy.c (TEST_NAME): Likewise.
14087         * string/test-stpncpy.c (TEST_NAME): Likewise.
14088         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14089         * string/test-strcasestr.c (TEST_NAME): Likewise.
14090         * string/test-strcat.c (TEST_NAME): Likewise.
14091         * string/test-strchr.c (TEST_NAME): Likewise.
14092         * string/test-strcmp.c(TEST_NAME): Likewise.
14093         * string/test-strcpy.c (TEST_NAME): Likewise.
14094         * string/test-strcspn.c (TEST_NAME): Likewise.
14095         * string/test-strlen.c (TEST_NAME): Likewise.
14096         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14097         * string/test-strncmp.c (TEST_NAME): Likewise.
14098         * string/test-strncpy.c (TEST_NAME): Likewise.
14099         * string/test-strnlen.c (TEST_NAME): Likewise.
14100         * string/test-strpbrk.c (TEST_NAME): Likewise.
14101         * string/test-strrchr.c (TEST_NAME): Likewise.
14102         * string/test-strspn.c (TEST_NAME): Likewise.
14103         * string/test-strstr.c (TEST_NAME): Likewise.
14104         * string/test-bcopy-ifunc.c: New file.
14105         * string/test-bzero-ifunc.c: Likewise.
14106         * string/test-memccpy-ifunc.c: Likewise.
14107         * string/test-memchr-ifunc.c: Likewise.
14108         * string/test-memcmp-ifunc.c: Likewise.
14109         * string/test-memcpy-ifunc.c: Likewise.
14110         * string/test-memmem-ifunc.c: Likewise.
14111         * string/test-memmove-ifunc.c: Likewise.
14112         * string/test-mempcpy-ifunc.c: Likewise.
14113         * string/test-memset-ifunc.c: Likewise.
14114         * string/test-rawmemchr-ifunc.c: Likewise.
14115         * string/test-stpcpy-ifunc.c: Likewise.
14116         * string/test-stpncpy-ifunc.c: Likewise.
14117         * string/test-strcasecmp-ifunc.c: Likewise.
14118         * string/test-strcasestr-ifunc.c: Likewise.
14119         * string/test-strcat-ifunc.c: Likewise.
14120         * string/test-strchr-ifunc.c: Likewise.
14121         * string/test-strchrnul-ifunc.c: Likewise.
14122         * string/test-strcmp-ifunc.c: Likewise.
14123         * string/test-strcpy-ifunc.c: Likewise.
14124         * string/test-strcspn-ifunc.c: Likewise.
14125         * string/test-strlen-ifunc.c: Likewise.
14126         * string/test-strncasecmp-ifunc.c: Likewise.
14127         * string/test-strncat-ifunc.c: Likewise.
14128         * string/test-strncmp-ifunc.c: Likewise.
14129         * string/test-strncpy-ifunc.c: Likewise.
14130         * string/test-strnlen-ifunc.c: Likewise.
14131         * string/test-strpbrk-ifunc.c: Likewise.
14132         * string/test-strrchr-ifunc.c: Likewise.
14133         * string/test-strspn-ifunc.c: Likewise.
14134         * string/test-strstr-ifunc.c: Likewise.
14136         * debug/Makefile (tests-ifunc): New variable.
14137         (tests): Add $(tests-ifunc).
14138         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14139         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14140         * debug/test-stpcpy_chk-ifunc.c: New file.
14141         * debug/test-strcpy_chk-ifunc.c: Likewise.
14143 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145         [BZ #13601]
14146         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14147         header is not read in.
14149 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14151         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14152         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14153         directly.  Pass built executable to script as
14154         $(built-program-cmd).
14155         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14156         $testprogram without using LD_LIBRARY_PATH and $ldso.
14158         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14159         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14160         $(rtld-installed-name).
14161         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14162         (rtld_installed_name): Likewise.
14163         (library_path): Likewise.
14164         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14165         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14166         $(run-program-prefix) to tst-tables.sh.
14167         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14168         it to run tst-table-from and tst-table-to.
14169         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14170         Pass it to tst-table.sh.
14171         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14172         $(run-program-prefix) to tst-gettext.sh.
14173         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14174         tst-translit.sh.
14175         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14176         tst-gettext2.sh.
14177         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14178         to run tst-gettext.
14179         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14180         to run tst-gettext2.
14181         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14182         to run tst-translit.
14183         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14184         $(run-program-prefix) to tst-mtrace.sh.
14185         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14186         to run tst-mtrace.
14187         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14188         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14189         $(rtld-installed-name).
14190         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14191         (rtld_installed_name): Likewise.
14192         (run_program_prefix): New variable.  Use it to run wordexp-test.
14194         * Makeconfig (ARCH): Remove all definitions.
14195         (machine): Likewise.
14196         [ARCH]: Remove conditional code.
14197         [!objdir]: Give error.
14198         [!objdir] (objpfx): Remove.
14199         [!objdir] (common-objpfx): Likewise.
14200         [!objdir] (common-objdir): Likewise.
14201         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14202         AC_CONFIG_FILES call.
14203         * configure: Regenerated.
14205         [BZ #13888]
14206         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14207         or TMPDIR.
14208         (testout): Likewise.
14210         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14211         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14212         $(rtld-installed-name).
14213         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14214         (rtld_installed_name): Likwise.
14215         (runit): Remove function.
14216         (run_getconf): New variable,  Use it for running getconf binary.
14218 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14220         [BZ #14716]
14221         * string/test-memmem.c (check_result): New function.
14222         (do_one_test): Use it.
14223         (check1): New function.
14224         (test_main): Use it.
14226 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14228         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14230 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14232         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14233         (_G_LSEEK64): Likewise.
14234         (_G_MMAP64): Likewise.
14235         (_G_FSTAT64): Likewise.
14236         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14237         (_G_LSEEK64): Likewise.
14238         (_G_MMAP64): Likewise.
14239         (_G_FSTAT64): Likewise.
14240         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14241         unconditional.  Call __mmap64 directly.
14242         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14243         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14244         __lseek64 directly.
14245         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14246         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14247         __mmap64 directly.
14248         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14249         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14250         __lseek64 directly.
14251         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14252         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14253         __lseek64 directly.
14254         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14255         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14256         __lseek64 directly.
14257         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14258         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14259         __fxstat64 directly.
14260         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14261         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14262         unconditional.
14263         (freopen64) [!_G_OPEN64]: Remove conditional code.
14264         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14265         unconditional.
14266         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14267         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14268         unconditional.
14269         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14270         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14271         unconditional.
14272         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14273         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14274         unconditional.
14275         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14276         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14277         unconditional.
14278         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14279         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14280         unconditional.
14281         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14282         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14283         unconditional.
14284         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14286 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14288         [BZ #12140]
14289         * manual/memory.texi (Malloc Tunable Parameters): Add note
14290         about free list pointers overwriting some perturb bytes.
14291         Wording suggested by Roland McGrath.
14293 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14295         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14296         (lgamma_test): Likewise.
14297         (tgamma_test): Likewise.
14299 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14301         [BZ #14700]
14302         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14303         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14305 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14307         * NEWS: Mention BZ #14716.
14308         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14309         when removing AVAILABLE1_USES_J macro.
14311 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14313         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14314         (__bswap_64): __uint64_t for unsigned 64-bit int.
14316 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14318         * include/string.h (memmem): Declare libc hidden alias.
14319         * string/memmem.c (memmem): Define libc hidden alias.
14320         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14321         __read, __close instead of open, read, close.
14323 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14326         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14327         global and hidden.
14328         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14329         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14330         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14331         Likewise.
14332         (__rawmemchr_sse2): Likewise.
14333         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14334         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14335         (__strchr_sse2): Likewise.
14336         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14337         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14338         (__strcasecmp_sse2): Likewise.
14339         (__strncasecmp_sse2): Likewise.
14340         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14341         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14342         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14343         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14344         (__strrchr_sse2): Likewise.
14345         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14346         ifunc-impl-list.c.
14347         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14348         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14349         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14350         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14351         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14352         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14353         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14354         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14355         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14356         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14357         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14358         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14359         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14360         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14361         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14362         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14363         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14364         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14365         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14366         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14367         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14368         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14369         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14370         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14371         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14372         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14373         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14374         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14375         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14376         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14378         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14379         global and hidden.
14380         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14381         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14382         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14383         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14384         Likewise.
14385         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14386         Likewise.
14387         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14388         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14389         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14390         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14391         ifunc-impl-list.c.
14392         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14393         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14394         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14395         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14396         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14397         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14398         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14399         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14400         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14401         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14402         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14403         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14404         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14405         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14406         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14407         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14408         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14409         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14410         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14411         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14412         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14413         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14414         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14415         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14416         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14417         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14418         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14419         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14420         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14421         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14422         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14423         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14424         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14425         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14426         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14427         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14429         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14430         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14431         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14432         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14434         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14435         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14436         * include/ifunc-impl-list.h: New file.
14437         * misc/ifunc-impl-list.c: Likewise.
14438         * misc/Makefile (routines): Add ifunc-impl-list.
14439         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14440         * string/test-string.h: Include <ifunc-impl-list.h>.
14441         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14442         impl_array): New variables.
14443         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14444         are defined.
14445         (test_init): Call __libc_ifunc_impl_list to initialize
14446         func_list if TEST_IFUNC and TEST_NAME are defined.
14448         * string/Makefile (strop-tests): Add bcopy and bzero.
14449         * string/test-bcopy.c: New file.
14450         * string/test-bzero.c: Likewise.
14451         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14452         defined.
14453         * string/test-memset.c: Support bzero test if TEST_BZERO is
14454         defined.
14455         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14456         __libc_memmove.
14457         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14458         __libc_memset.
14459         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14460         of memset.
14462 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14464         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14465         * configure: Regenerated.
14467         * Makeconfig (+link-static-before-libc): Don't include
14468         $(link-static-libc).
14470         * libio/libio.h (_IO_pos_t): Remove.
14472 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14474         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14475         McGrath.
14477 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14479         * crypt/crypt-entry.c: Include fips-private.h.
14480         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14481         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14482         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14483         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14485 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14487         * crypt/crypt-private.h: Include stdbool.h.
14488         (_ufc_setup_salt_r): Return bool.
14489         * crypt/crypt-entry.c: Include errno.h.
14490         (__crypt_r): Return NULL with EINVAL for bad salt.
14491         * crypt/crypt_util.c (bad_for_salt): New.
14492         (_ufc_setup_salt_r): Check that salt is long enough and within
14493         the specified alphabet.
14494         * crypt/badsalttest.c: New file.
14495         * crypt/Makefile (tests): Add it.
14496         ($(objpfx)badsalttest): New.
14498 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14500         * NEWS: Add entry for BZ #14602.
14502 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14504         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14505         type-generic.
14506         * math/libm-test.inc: Update comment listing what functions and
14507         macros are tested.
14508         (isgreater_test): New function.
14509         (isgreaterequal_test): Likewise.
14510         (isless_test): Likewise.
14511         (islessequal_test): Likewise.
14512         (islessgreater_test): Likewise.
14513         (isunordered_test): Likewise.
14514         (main): Call the new functions.
14516 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14518         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14519         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14520         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14521         * sysdeps/i386/configure: Regenerated.
14522         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14523         * sysdeps/mach/configure: Regenerated.
14524         * sysdeps/mach/hurd/configure: Regenerated.
14525         * sysdeps/powerpc/configure: Regenerated.
14526         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14527         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14528         * sysdeps/s390/s390-32/configure: Regenerated.
14529         * sysdeps/s390/s390-64/configure: Regenerated.
14530         * sysdeps/sh/configure: Regenerated.
14531         * sysdeps/sparc/configure: Regenerated.
14532         * sysdeps/unix/sysv/linux/configure: Regenerated.
14533         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14534         * sysdeps/x86_64/configure: Regenerated.
14536         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14537         defined.  Don't check if MAP is NULL.
14539 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14541         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14542         (_G_stat64): Likewise.
14543         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14544         (_G_stat64): Likewise.
14545         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14546         instead of struct _G_stat64.
14547         * libio/fileops.c (mmap_remap_check): Likewise.
14548         (decide_maybe_mmap): Likewise.
14549         (_IO_new_file_seekoff): Likewise.
14550         (_IO_file_stat): Likewise.
14551         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14552         _G_off64_t.
14553         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14554         instead of struct _G_stat64.
14555         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14557 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14559         [BZ #14602]
14560         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14561         Replace with ...
14562         (CHECK_EOL): New macro.
14563         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14564         CHECK_EOL.
14565         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14566         Replace with CHECK_EOL.
14567         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14568         Replace with CHECK_EOL.
14570 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14572         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14573         type-generic.
14574         * math/libm-test.inc: Update comment listing what functions and
14575         macros are tested.
14576         (finite_test): New function.
14577         (isinf_test): Likewise.
14578         (isnan_test): Likewise.
14579         (fpclassify_test): Test subnormal input.
14580         (isfinite_test): Likewise.
14581         (isnormal_test): Likewise.
14582         (main): Call the new functions.
14584 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14586         [BZ #14660]
14587         * Makerules (%.dynsym): Force C locale when running
14588         $(OBJDUMP) --dynamic-syms.
14590 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14592         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14593         <stdint.h>.
14595 2012-10-06  David S. Miller  <davem@davemloft.net>
14597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14598         upper 32-bits of the length value in %o2 since we use branch-on-register
14599         tests which consider the entire 64-bit register.
14601 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14603         * string/test-strstr.c (check2): Add a test for page boundary.
14605 2012-10-05  David S. Miller  <davem@davemloft.net>
14607         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14608         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14609         file.
14610         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14611         sysdep_routines.
14612         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14613         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14614         and bzero when HWCAP_SPARC_CRYPTO is present.
14616 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14618         [BZ #14602]
14619         * string/test-strstr.c (check2): New function.
14620         (test_main): Call check2.
14622         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14623         and bug-strchr1.
14624         * string/bug-strcasestr1.c (do_test): Moved to ...
14625         * string/test-strcasestr.c (check1): Here.  New function.
14626         (do_one_test): Break out result checking code into ...
14627         (check_result): This.  New function.
14628         (do_one_test): Call check_result.
14629         (test_main): Call check1.
14630         * string/bug-strchr1.c (do_test): Moved to ...
14631         * string/test-strchr.c (check1): Here.  New function.
14632         (do_one_test): Break out result checking code into ...
14633         (check_result): This.  New function.
14634         (do_one_test): Call check_result.
14635         (test_main): Call check1.
14636         * string/bug-strstr1.c (main): Moved to ...
14637         * string/test-strstr.c (check1): Here.  New function.
14638         (do_one_test): Break out result checking code into ...
14639         (check_result): This.  New function.
14640         (do_one_test): Call check_result.
14641         (test_main): Call check1.
14642         * string/bug-strcasestr1.c: Removed.
14643         * string/bug-strchr1.c: Likewise.
14644         * string/bug-strstr1.c: Likewise.
14646         * elf/Makefile (dl-routines): Add hwcaps.
14647         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14648         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14649         (_dl_important_hwcaps): Moved to ...
14650         * elf/dl-hwcaps.c: Here.  New file.
14651         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14653         [BZ #14557]
14654         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14655         if IS_IN_rtld isn't defined.
14657         * elf/dl-support.c (_dl_sysinfo_map): New.
14658         Include "get-dynamic-info.h" and "setup-vdso.h".
14659         (_dl_non_dynamic_init): Call setup_vdso.
14660         * elf/dynamic-link.h: Don't include <assert.h>.
14661         (elf_get_dynamic_info): Moved to ...
14662         * elf/get-dynamic-info.h: Here.  New file.
14663         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14664         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14665         * elf/setup-vdso.h: Here.  New file.
14666         * elf/rtld.c: Include "setup-vdso.h".
14667         (dl_main): Call setup_vdso.
14669 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14671         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14672         creal in comment listing functions tested.  List finite, isinf,
14673         isnan, isless, islessequal, isgreater, isgreaterequal,
14674         islessgreater, isunordered, lgamma_r and pow10 as functions and
14675         macros not tested.  Mention which functions not tested are aliases
14676         for other functions.  Fix typo.  Note that signs of NaNs are not
14677         tested.
14679         * scripts/config.guess: Update from config.git.
14680         * scripts/config.sub: Likewise.
14682 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14684         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14685         * misc/madvise.c (madvise): Renamed to __madvise.
14686         Make madvise a weak alias.
14687         * include/sys/mman.h: Declare __madvise.
14688         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14689         * sysdeps/unix/syscalls.list
14690         (madvise): Make __madvise the strong name, and madvise a weak alias.
14691         * sysdeps/unix/sysv/linux/syscalls.list
14692         (madvise, mmap): Remove redundant entries.
14693         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14694         * malloc/malloc.c (mtrim): Likewise.
14695         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14697 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14699         * sysdeps/mach/hurd/dl-cache.c: File removed.
14700         * config.h.in (USE_LDCONFIG): New #undef.
14701         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14702         * configure: Regenerated.
14703         * elf/Makefile (dl-routines): Add dl-cache only under
14704         [$(use-ldconfig) = yes].
14705         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14706         cache on [USE_LDCONFIG].
14707         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14708         [USE_LDCONFIG].
14709         * elf/rtld.c (dl_main): Likewise.
14711 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14713         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14714         _SC_LEVEL4_CACHE_LINESIZE.
14716 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14718         * sysdeps/unix/bsd/confstr.h: File removed.
14720 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14722         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14723         sys/sdt-config.h.
14725 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14727         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14728         Make 'mapoff' field ElfW(Off) rather than off_t.
14730 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14732         * nscd/Makefile: Remove nscd-cflags and all its users.
14733         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14734         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14736         [BZ #10631]
14737         * malloc.c (malloc_printerr): Clarify error message.
14739 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14741         [BZ #14648]
14742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14743         Set bit_FMA_Usable if FMA is supported.
14744         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14745         macro.
14746         (bit_FMA4_Usable): Updated.
14747         (index_FMA_Usable): New macro.
14748         (CPUID_FMA): Likewise
14749         (HAS_FMA): Defined with bit_FMA_Usable.
14751 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14753         * bits/types.h (__swblk_t): Type removed.
14754         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14755         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14757         (__SWBLK_T_TYPE): Likewise.
14758         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14759         (__SWBLK_T_TYPE): Likewise.
14760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14761         (__SWBLK_T_TYPE): Likewise.
14762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14763         (__SWBLK_T_TYPE): Likewise.
14765 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14766             Honza Horak <hhorak@redhat.com>
14768         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14769         (xdr_mapname): Use YPMAXMAP as maxsize.
14770         (xdr_peername): Use YPMAXPEER as maxsize.
14771         (xdr_keydat): Use YPAXRECORD as maxsize.
14772         (xdr_valdat): Use YPMAXRECORD as maxsize.
14774 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14776         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14778         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14779         * csu/init-first.c: ... here.
14780         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14781         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14782         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14783         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14784         * sysdeps/i386/init-first.c: File removed.
14785         * sysdeps/sh/init-first.c: File removed.
14787 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14789         [BZ #14645]
14790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14791         if x * y might underflow to zero and z is zero.
14792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14794         * math/libm-test.inc (min_subnorm_value): New variable.
14795         (fma_test): Add more tests.
14796         (fma_test_towardzero): Likewise.
14797         (fma_test_downward): Likewise
14798         (fma_test_upward): Likewise.
14799         (initialize): Set min_subnorm_value.
14801 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14803         [BZ #14638]
14804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14805         0 + 0.
14806         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14807         mode for addition resulting in exact zero.
14808         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14810         exact 0 + 0.
14811         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14813         * math/libm-test.inc (fma_test): Add more tests.
14814         (fma_test_towardzero): New function.
14815         (fma_test_downward): Likewise.
14816         (fma_test_upward): Likewise.
14817         (main): Call the new functions.
14819 2012-09-28  David S. Miller  <davem@davemloft.net>
14821         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14823 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14825         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14826         instead of SIGALRM.
14828         * sysdeps/gnu/_G_config.h: Moved to ...
14829         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14830         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14831         * sysdeps/generic/_G_config.h: ... here.
14833         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14835         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14837         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14838         Conditionalize target on [libnss_test1.so-version].
14840         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14842         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14843         (elfobjdir): Move out of conditionals.
14845         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14846         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14847         (__nss_lookup_function): Conditionalize label remove_from_tree on
14848         [!DO_STATIC_NSS || SHARED], matching its only use.
14850 2012-09-28  David S. Miller  <davem@davemloft.net>
14852         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14853         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14854         file.
14855         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14856         sysdep_routines.
14857         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14859         when HWCAP_SPARC_CRYPTO is present.
14861 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14863         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14865 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14867         [BZ #6530]
14868         * stdio-common/vfprintf.c (process_string_arg): Revert
14869         2000-07-22 change.
14871 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14873         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14874         for testcase.
14875         * stdio-common/tst-sprintf.c: Include <locale.h>
14876         (main): Test sprintf's handling of incomplete multibyte
14877         characters.
14879 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
14881         * elf/dl-runtime.c (VERSYMIDX): Removed.
14882         * elf/dl-version.c (VERSYMIDX): Likewise.
14883         * elf/do-rel.h (VERSYMIDX): Likewise.
14884         (VALIDX): Likewise.
14885         * elf/dynamic-link.h (VERSYMIDX): Likewise.
14886         * elf/rtld.c (VALIDX): Likewise.
14887         (ADDRIDX): Likewise.
14888         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14889         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14890         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14891         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14892         (VALIDX): Likewise.
14893         (ADDRIDX): Likewise.
14895 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14897         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14899 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14901         [BZ #11438]
14902         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14903         to global scope.
14904         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14905         addresses are in the same scope as 192.0.2/24.
14906         * posix/gai.conf: Document new scope table defaults.
14908 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14910         [BZ #5298]
14911         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14912         for ftell.  Compute offsets from write pointers instead.
14913         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14915 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14917         [BZ #14543]
14918         * libio/Makefile (tests): New test case tst-fseek.
14919         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14920         combination works in wide mode.
14921         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14922         state when the external buffer state changes.
14924 2012-09-27  David S. Miller  <davem@davemloft.net>
14926         [BZ #14376]
14927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14928         pass reloc->r_addend in as the 'high' argument to
14929         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14933 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14935         * rt/tst-aio2.c: Include <pthread.h>.
14936         * rt/tst-aio3.c: Likewise.
14938 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14940         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14942 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14944         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14945         contents on [SHARED].
14947 2012-09-26  Marek Polacek  <polacek@redhat.com>
14949         [BZ #14530]
14950         [BZ #13741]
14951         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14952         for C++ and GCC <4.3 as well as for non GCC compilers.
14954 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14958 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14960         * Makefile.in (all, install): Declare with .PHONY.
14961         Reported by Michael Hope <michael.hope@linaro.org>.
14963 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14965         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14966         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14967         system header.
14968         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14969         Likewise.
14970         (sydep_routines): Add the new and the internal functions.
14971         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14972         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14974         (GLIBC_2.17): Add the new function.
14975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14976         (GLIBC_2.17): Likewise.
14977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14978         (GLIBC_2.17): Likewise.
14979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14980         (GLIBC_2.17): Likewise.
14981         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14983 2012-09-25  Alan Modra  <amodra@gmail.com>
14985         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14986         Add release barrier before setting once_control to say
14987         initialisation is done.  Add hints on lwarx.  Use macro in
14988         place of isync.
14989         (clear_once_control): Add release barrier.
14991 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14993         [BZ #13629]
14994         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14995         specially.
14996         * math/s_clog10.c (__clog10): Likewise.
14997         * math/s_clog10f.c (__clog10f): Likewise.
14998         * math/s_clog10l.c (__clog10l): Likewise.
14999         * math/s_clogf.c (__clogf): Likewise.
15000         * math/s_clogl.c (__clogl): Likewise.
15001         * math/Makefile (libm-calls): Add x2y2m1.
15002         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15003         (__x2y2m1): Likewise.
15004         (__x2y2m1l): Likewise.
15005         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15006         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15007         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15008         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15009         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15010         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15011         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15012         * sysdeps/i386/fpu/libm-test-ulps: Update.
15013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15015         [BZ #14621]
15016         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15017         int as type of variable DEPTH.
15018         (glob): Use size_t instead of int as type of variables NEWCOUNT
15019         and OLD_PATHC.
15021 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15023         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15024         Add s_sincosf-sse2.
15025         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15026         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15027         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15028         macros for using routine as __sincosf_ia32.
15029         Use macro for function declaration and weak_alias.
15030         * sysdeps/i386/fpu/libm-test-ulps: Update.
15032         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15035         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15036         subnormal argument.
15037         * math/s_cexpf.c (__cexpf): Likewise.
15038         * math/s_csinf.c (__csinf): Likewise.
15039         * math/s_csinhf.c (__csinhf): Likewise.
15040         * math/s_ctanf.c (__ctanf): Likewise.
15041         * math/s_ctanhf.c (__ctanhf): Likewise.
15042         * math/s_ccosh.c (__ccoshf): Likewise.
15043         * math/s_cexp.c (__cexpl): Likewise.
15044         * math/s_csin.c (__csin): Likewise.
15045         * math/s_csinh.c (__csinh): Likewise.
15046         * math/s_ctan.c (__ctan): Likewise.
15047         * math/s_ctanh.c (ctanh): Likewise.
15048         * math/s_ccoshl.c (__ccoshl): Likewise.
15049         * math/s_cexpl.c (__cexpl): Likewise.
15050         * math/s_csinl.c (__csinl): Likewise.
15051         * math/s_csinhl.c (__csinhl): Likewise.
15052         * math/s_ctanl.c (__ctanl): Likewise.
15053         * math/s_ctanhl.c (__ctanhl): Likewise.
15055 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15057         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15058         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15059         (_IO_off_t): Define to __off_t, not _G_off_t.
15060         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15061         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15062         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15063         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15064         type of __dummy and __dummy2 fields.
15065         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15066         (_G_ssize_t): Likewise.
15067         (_G_off_t): Likewise.
15068         (_G_pid_t): Likewise.
15069         (_G_uid_t): Likewise.
15070         (_G_wchar_t): Likewise.
15071         (_G_wint_t): Likewise.
15072         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15073         (_G_ssize_t): Likewise.
15074         (_G_off_t): Likewise.
15075         (_G_pid_t): Likewise.
15076         (_G_uid_t): Likewise.
15077         (_G_wchar_t): Likewise.
15078         (_G_wint_t): Likewise.
15079         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15080         (_G_ssize_t): Likewise.
15081         (_G_off_t): Likewise.
15082         (_G_pid_t): Likewise.
15083         (_G_uid_t): Likewise.
15084         (_G_wchar_t): Likewise.
15085         (_G_wint_t): Likewise.
15087 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * malloc/arena.c: Include malloc-sysdep.h.
15090         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15091         is sufficient to shrink the heap or an unmap is needed.
15092         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15093         new function check_may_shrink_heap.
15094         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15095         new function check_may_shrink_heap.
15097 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15099         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15100         comments.
15102 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15104         * catgets/test-gencat.sh: Add "set -e".
15105         * elf/tst-pathopt.sh: Likewise.
15106         * grp/tst_fgetgrent.sh: Likewise.
15107         * iconvdata/run-iconv-test.sh: Likewise.
15108         * intl/tst-gettext.sh: Likewise.
15109         * intl/tst-gettext2.sh: Likewise.
15110         * intl/tst-gettext4.sh: Likewise.
15111         * intl/tst-gettext6.sh: Likewise.
15112         * intl/tst-translit.sh: Likewise.
15113         * io/ftwtest-sh: Likewise.
15114         * libio/test-freopen.sh: Likewise.
15115         * malloc/tst-mtrace.sh: Likewise.
15116         * posix/globtest.sh: Likewise.
15117         * posix/tst-getconf.sh: Likewise.
15118         * posix/wordexp-tst.sh: Likewise.
15119         * stdio-common/tst-printf.sh: Likewise.
15120         * stdio-common/tst-unbputc.sh: Likewise.
15121         * stdlib/tst-fmtmsg.sh: Likewise.
15122         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15123         * catgets/Makefile: Do not specify -e option when running
15124         testsuite shell scripts.
15125         * elf/Makefile: Likewise.
15126         * grp/Makefile: Likewise.
15127         * iconvdata/Makefile: Likewise.
15128         * intl/Makefile: Likewise.
15129         * io/Makefile: Likewise.
15130         * libio/Makefile: Likewise.
15131         * malloc/Makefile: Likewise.
15132         * posix/Makefile: Likewise.
15133         * stdio-common/Makefile: Likewise.
15134         * stdlib/Makefile: Likewise.
15135         * sysdeps/x86_64/Makefile: Likewise.
15137         * io/ftwtest-sh: Add copyright header.
15138         * posix/globtest.sh: Likewise.
15139         * posix/tst-getconf.sh: Likewise.
15140         * posix/wordexp-tst.sh: Likewise.
15141         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15143 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15145         [BZ #13679]
15146         * Makeconfig (+link): Defined as $(+link-static) if
15147         $(build-shared) isn't yes.
15148         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15149         isn't yes.
15150         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15152         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15154         [BZ #14562]
15155         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15156         new chunk size with MALLOC_ALIGN_MASK.
15158 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15160         [BZ #5044]
15161         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15162         <rounding-mode.h>.
15163         (__printf_fphex): Determine rounding using get_rounding_mode and
15164         round_away.
15165         * stdio-common/tst-printf-round.c (struct hex_test): New
15166         structure.
15167         (hex_tests): New variable.
15168         (test_hex_in_one_mode): New function.
15169         (do_test): Also run tests for hex float output.
15171 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15173         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15174         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15175         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15176         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15177         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15178         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15179         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15180         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15182 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15184         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15185         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15186         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15187         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15189 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15191         [BZ #14579]
15192         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15193         mode only.
15194         * elf/tst-rtld-load-self.sh: New test.
15195         * elf/Makefile: Run it.
15197 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15199         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15200         (tst-writev-ENV): Remove.
15201         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15203 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15205         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15207 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15209         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15210         unconditional.
15211         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15212         Likewise.
15213         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15214         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15215         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15216         Likewise.
15218 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15220         [BZ #14587]
15221         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15222         * config.make.in (have-cpp-asm-debuginfo): Removed.
15223         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15224         * configure: Regenerated.
15226 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15228         [BZ #5044]
15229         * stdio-common/printf_fp.c: Include <stdbool.h> and
15230         <rounding-mode.h>.
15231         (___printf_fp): Determine rounding using get_rounding_mode and
15232         round_away.
15233         * stdio-common/tst-printf-round.c: New file.
15234         * stdio-common/Makefile (tests): Add tst-printf-round.
15235         (link-libm): New variable.
15236         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15238 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15240         [BZ #14576]
15241         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15242         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15243         Likewise.
15244         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15245         Likewise.
15247 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15249         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15250         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15251         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15252         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15254 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15256         [BZ #14518]
15257         * include/rounding-mode.h: New file.
15258         * sysdeps/generic/get-rounding-mode.h: Likewise.
15259         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15260         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15261         (MAX_VALUE): New macro.
15262         (MIN_VALUE): Likewise.
15263         (overflow_value): New function.
15264         (underflow_value): Likewise.
15265         (round_and_return): Use overflow_value and underflow_value to
15266         determine return values in overflow and underflow cases.  Use
15267         round_away to determine rounding depending on rounding mode.
15268         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15269         determine return values in overflow and underflow cases.
15270         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15271         (struct test_results): New structure.
15272         (struct test): Use struct test_results to store expected results
15273         for all rounding modes.
15274         (TEST): Include expected results for all rounding modes.
15275         (test_in_one_mode): New function.
15276         (do_test): Use test_in_one_mode to compute and check results.
15277         Check results for all rounding modes.
15278         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15279         $(link-libm).
15281 2012-12-09  Allan McRae  <allan@archlinux.org>
15283         * sysdeps/i386/fpu/libm-test-ulps: Update
15285 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15287         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15288         (_G_int32_t): Likewise.
15289         (_G_uint16_t): Likewise.
15290         (_G_uint32_t): Likewise.
15291         (_G_HAVE_BOOL): Likewise.
15292         (_G_HAVE_ATEXIT): Likewise.
15293         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15294         (_G_HAVE_IO_FILE_OPEN): Likewise.
15295         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15296         (_G_int32_t): Likewise.
15297         (_G_uint16_t): Likewise.
15298         (_G_uint32_t): Likewise.
15299         (_G_HAVE_BOOL): Likewise.
15300         (_G_HAVE_ATEXIT): Likewise.
15301         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15302         (_G_HAVE_IO_FILE_OPEN): Likewise.
15303         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15304         (_G_int32_t): Likewise.
15305         (_G_uint16_t): Likewise.
15306         (_G_uint32_t): Likewise.
15307         (_G_HAVE_BOOL): Likewise.
15308         (_G_HAVE_ATEXIT): Likewise.
15309         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15310         (_G_HAVE_IO_FILE_OPEN): Likewise.
15312 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15314         * csu/libc-tls.c: Update copyright years.
15316 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15318         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15319         [!_G_USING_THUNKS]: Remove conditional code.
15320         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15321         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15323         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15324         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15325         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15326         (_G_VTABLE_LABEL_PREFIX): Likewise.
15327         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15328         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15329         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15330         (_G_VTABLE_LABEL_PREFIX): Likewise.
15331         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15332         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15333         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15334         (_G_VTABLE_LABEL_PREFIX): Likewise.
15335         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15337 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15339         * libio/Makefile: Include ../Makeconfig before tests.
15340         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15341         only if $(build-shared) is yes.
15343         * iconv/gconv_db.c: Update copyright years.
15345 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15347         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15348         unwind info if defined PIC. Fix special cases description.
15349         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15351         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15352         DP_HI_MASK entry.
15353         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15355 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15357         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15359         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15360         is NULL.
15362         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15363         (LDLIBS-tst-chk4): This.
15364         (LDFLAGS-tst-chk5): Renamed to ...
15365         (LDLIBS-tst-chk5): This.
15366         (LDFLAGS-tst-chk6): Renamed to ...
15367         (LDLIBS-tst-chk6): This.
15368         (LDFLAGS-tst-lfschk4): Renamed to ...
15369         (LDLIBS-tst-lfschk4): This.
15370         (LDFLAGS-tst-lfschk5): Renamed to ...
15371         (LDLIBS-tst-lfschk5): This.
15372         (LDFLAGS-tst-lfschk6): Renamed to ...
15373         (LDLIBS-tst-lfschk6): This.
15375         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15376         on $(common-objpfx)soversions.mk.
15378 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15380         [BZ #10014]
15381         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15382         example host name.
15384 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15386         * malloc/arena.c (arena_get_retry): New function that gets
15387         another arena for the caller to try its request on.
15388         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15389         current arena cannot fulfill the request.
15390         (__libc_memalign): Likewise.
15391         (__libc_memalign): Likewise.
15392         (__libc_pvalloc): Likewise.
15393         (__libc_calloc): Likewise.
15395 2012-09-05  John Tobey  <john.tobey@gmail.com>
15397         [BZ #13542]
15398         * manual/arith.texi (Operations on Complex): Fix description
15399         of carg branch cut.
15401 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15403         [BZ #10014]
15404         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15405         host name.
15407         [BZ #10038]
15408         * manual/memory.texi (Memory): Make order of menu items match
15409         order of sections.
15411 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15413         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15414         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15415         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15417 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15419         * csu/libc-tls.c (static_dtv): Renamed to ...
15420         (_dl_static_dtv): This.  Make it global.
15421         (_dl_initial_dtv): Removed.
15422         (__libc_setup_tls): Updated.
15423         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15424         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15425         DL_INITIAL_DTV.
15427 2012-09-06  Petr Machata  <pmachata@redhat.com>
15429         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15430         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15431         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15432         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15434 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15436         [BZ #14545]
15437         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15438         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15439         freeing dtv[-1].
15441 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15443         [BZ #14544]
15444         * Makeconfig (link-static-before-libc): Replace $(+prector)
15445         with $(+prectorT).
15446         (link-static-after-libc): Replace $(+postctor) with
15447         $(+postctorT).
15448         (link-bounded): Replace $(+prector)/$(+postctor) with
15449         $(+prectorT)/$(+postctorT).
15450         (+prectorT): New macro.
15451         (+postctorT): Likewise.
15453 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15455         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15456         (round_str): Handle values above the maximum for IBM long double
15457         as inexact.
15458         * stdlib/tst-strtod-round.c (tests): Regenerated.
15460 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15462         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15463         assembler flag.
15464         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15465         zarch_nohighgprs around the zarch optimized routines.
15466         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15467         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15468         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15469         for zarch.
15471 2012-09-05  David S. Miller  <davem@davemloft.net>
15473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15475         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15476         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15477         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15478         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15479         entries.
15481 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15483         * malloc/arena.c: Fold copyright years.
15484         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15486 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15488         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15490 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15492         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15494 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15496         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15497         change internal state upon failure.
15499 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15501         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15502         * malloc/memusage.c (mmap): Likewise.
15503         (mmap64, mremap): Likewise.  Adjust name in comment.
15505 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15507         * libio/fileops.c: Fix typos in comments.
15508         * libio/oldfileops.c: Likewise.
15509         * libio/wfileops.c: Likewise.
15511 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15513         [BZ #1349]
15514         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15515         (tst-malloc-usable-ENV): Set environment for test case.
15516         * malloc/hooks.c (malloc_check_get_size): New function to get
15517         requested size.
15518         * malloc/malloc.c (musable): Use malloc_check_get_size.
15519         * malloc/tst-malloc-usable.c: New test case.
15521 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15523         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15525 2012-09-05  Allan McRae  <allan@archlinux.org>
15527         [BZ #13966]
15528         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15529         determine header location.
15530         * configure: Regenerated.
15532 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15534         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15535         float format.
15536         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15537         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15538         format.
15539         (test): Regenerate.
15541 2012-09-04  David S. Miller  <davem@davemloft.net>
15543         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15544         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15545         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15547 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15549         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15550         failures.
15552         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15554 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15556         [BZ #9914]
15557         * libio/iogetdelim.c: Include <limits.h>.
15558         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15559         + len + 1 would overflow.
15561 2012-09-03  Andreas Jaeger  <aj@suse.de>
15563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15564         * sysdeps/i386/fpu/libm-test-ulps: Update.
15566 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15568         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15569         Add s_sinf-sse2, s_conf-sse2.
15571         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15572         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15573         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15574         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15576         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15577         for using routine as __sinf_ia32.
15578         Use macro for function declaration and weak_alias.
15579         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15580         for using routine as __cosf_ia32.
15581         Use macro for function declaration and weak_alias.
15583         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15584         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15586         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15587         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15590         * math/libm-test.inc (cos_test): Add more test cases.
15591         (sin_test): Likewise.
15592         (sincos_test): Likewise.
15594 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15596         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15597         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15598         hidden.
15599         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15601 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15603         [BZ #14538]
15604         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15605         first element of the GOT.
15606         (elf_machine_load_address): Return the difference between
15607         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15609 2012-09-01  Allan McRae  <allan@archlinux.org>
15611         [BZ #13412]
15612         * configure.in (AWK): Require gawk version 3.0 or later.
15613         * configure: Regenerated.
15615 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15617         * sysdeps/unix/sysv/linux/kernel-features.h
15618         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15619         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15620         [__NR_clock_getres]: Make code unconditional.
15621         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15622         (clock_getcpuclockid): Remove code left unreachable by removal of
15623         conditionals.
15624         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15625         code unconditional.
15626         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15627         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15628         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15629         Make code unconditional.
15630         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15631         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15632         * sysdeps/unix/sysv/linux/clock_settime.c
15633         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15634         conditional code.
15635         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15636         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15638 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15640         [BZ #14476]
15641         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15642         scripts/test-installation.pl.
15644         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15645         and $ld_so_version if it is set.
15647 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15649         [BZ #14516]
15650         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15651         failure if reading from procfs failed.
15652         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15654 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15656         * sysdeps/unix/sysv/linux/kernel-features.h
15657         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15658         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15659         Remove conditional code.
15660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15661         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15662         Remove conditional code.
15663         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15664         * sysdeps/unix/sysv/linux/i386/fxstat.c
15665         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15666         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15667         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15668         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15669         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15670         * sysdeps/unix/sysv/linux/i386/lxstat.c
15671         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15672         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15673         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15674         Remove conditional code.
15675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15676         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15677         Remove conditional code.
15678         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15679         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15680         <kernel-features.h>.
15681         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15682         Remove.
15683         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15684         Remove conditional code.
15685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15686         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15687         Remove conditional.
15689 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15691         [BZ #5400]
15692         * NEWS: Add fixed bug number.
15694 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15696         [BZ #14519]
15697         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15698         underflowing exponent in case of negative sign.
15699         * stdlib/tst-strtod-round-data: Add more tests.
15700         * stdlib/tst-strtod-round.c (tests): Regenerated.
15702         [BZ #3479]
15703         * stdlib/strtod_l.c (NDIG): Remove.
15704         (HEXNDIG): Likewise.
15705         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15706         smallest representable value.
15707         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15708         lie within an exact representation of 1/2 ulp of the result.
15709         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15710         unconditionally.
15711         (TENS_P9_IDX): Define unconditionally.
15712         (TENS_P9_SIZE): Likewise.
15713         (TENS_P10_IDX): Likewise.
15714         (TENS_P10_SIZE): Likewise.
15715         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15716         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15717         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15718         entries for 10^2^13 and 10^2^14.
15719         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15720         (TENS_P13_IDX): Define.
15721         (TENS_P13_SIZE): Likewise.
15722         (TENS_P14_IDX): Likewise.
15723         (TENS_P14_SIZE): Likewise.
15724         (_fpioconst_pow10): Change array size to
15725         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15726         unconditional.
15727         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15728         1024]: Add entries for 10^2^13 and 10^2^14.
15729         [LAST_POW10 > _LAST_POW10]: Remove #error.
15730         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15731         (_fpioconst_pow10): Change array size to
15732         FPIOCONST_POW10_ARRAY_SIZE.
15733         * stdlib/gen-fpioconst.c: New file.
15734         * stdlib/gen-tst-strtod-round.c: Likewise.
15735         * stdlib/tst-strtod-round-data: Likewise.
15736         * stdlib/tst-strtod-round.c: Likewise.
15737         * stdlib/Makefile (tests): Add tst-strtod-round.
15739         [BZ #14459]
15740         * stdlib/strtod_l.c: Include <stdint.h>.
15741         (NDEBUG): Do not define.
15742         (round_and_return): Change EXPONENT parameter to type intmax_t.
15743         Rearrange calculations to avoid internal overflow possibilities.
15744         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15745         Rearrange calculations to avoid internal overflow possibilities.
15746         Assert that number fits inside MPNSIZE limbs.
15747         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15748         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15749         calculations and add assertions to avoid internal overflow
15750         possibilities.  Add casts to avoid signed/unsigned operations.
15751         * stdlib/tst-strtod-overflow.c: New file.
15752         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15754 2012-08-25  Marek Polacek  <polacek@redhat.com>
15756         * time/time.h: Fix some typos in comments.
15758 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15760         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15761         * posix/tst-rfc3484-2.c: Likewise.
15762         * posix/tst-rfc3484-3.c: Likewise.
15764 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15766         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15767         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15769 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15771         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15772         #include of fxstatat64.c.
15774 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15776         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15777         * shadow/getspent_r.c: Likewise.
15778         * shadow/getspnam.c: Likewise.
15779         * shadow/getspnam_r.c: Likewise.
15780         * gshadow/getsgent.c: Likewise.
15781         * gshadow/getsgent_r.c: Likewise.
15782         * gshadow/getsgnam.c: Likewise.
15783         * gshadow/getsgnam_r.c: Likewise.
15784         * inet/getnetbyad.c: Likewise.
15785         * inet/getnetbyad_r.c: Likewise.
15786         * inet/getnetbynm.c: Likewise.
15787         * inet/getnetbynm_r.c: Likewise.
15788         * inet/getnetent.c: Likewise.
15789         * inet/getnetent_r.c: Likewise.
15790         * inet/getproto.c: Likewise.
15791         * inet/getproto_r.c: Likewise.
15792         * inet/getprtent.c: Likewise.
15793         * inet/getprtent_r.c: Likewise.
15794         * inet/getprtname.c: Likewise.
15795         * inet/getprtname_r.c: Likewise.
15796         * inet/getrpcbyname.c: Likewise.
15797         * inet/getrpcbyname_r.c: Likewise.
15798         * inet/getrpcbynumber.c: Likewise.
15799         * inet/getrpcbynumber_r.c: Likewise.
15800         * inet/getrpcent.c: Likewise.
15801         * inet/getrpcent_r.c: Likewise.
15802         * inet/getaliasent.c: Likewise.
15803         * inet/getaliasent_r.c: Likewise.
15804         * inet/getaliasname.c: Likewise.
15805         * inet/getaliasname_r.c: Likewise.
15806         * nscd/getgrgid_r.c: Likewise.
15807         * nscd/getgrnam_r.c: Likewise.
15808         * nscd/gethstbyad_r.c: Likewise.
15809         * nscd/gethstbynm3_r.c: Likewise.
15810         * nscd/getpwnam_r.c: Likewise.
15811         * nscd/getpwuid_r.c: Likewise.
15812         * nscd/getsrvbynm_r.c: Likewise.
15813         * nscd/getsrvbypt_r.c: Likewise.
15814         * nscd/gai.c: Likewise.
15816         * configure.in (build_nscd): New substituted variable, set
15817         by --disable-build-nscd and defaults to $use_nscd.
15818         * configure: Regenerated.
15819         * config.make.in (build-nscd): New substituted variable.
15820         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15821         Change conditional to require [$(build-nscd) = yes] as well.
15822         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15824         [BZ# 13696]
15825         * configure.in (use_nscd): New substituted variable, set by
15826         --disable-nscd.  If enabled, define USE_NSCD.
15827         * configure: Regenerated.
15828         * config.h.in: Add USE_NSCD.
15829         * config.make.in (use-nscd): New substituted variable.
15830         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15831         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15832         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15833         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15834         (CFLAGS-getgrnam_r.c): Likewise.
15835         (CFLAGS-initgroups.c): Likewise.
15836         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15837         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15838         Variables removed.
15839         * inet/getnetgrent_r.c
15840         (nscd_setnetgrent): New function, broken out of ...
15841         (setnetgrent): ... here.  Call it.
15842         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15843         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15844         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15845         * nscd/Makefile (routines, aux): Move definitions after include of
15846         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15847         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15848         Conditionalize on [USE_NSCD].
15849         (is_nscd, nscd_init_cb): Likewise.
15850         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15851         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15852         * nss/nss_db/db-init.c: Likewise.
15853         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15854         [USE_NSCD].
15855         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15856         (make_request): Use it.
15857         (cache_valid_p): New function.
15858         (__check_pf): Use it.
15859         * NEWS: Add item for --disable-nscd.
15861 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15863         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15864         to support sed >= 4.2.1-20-ga9bf076.
15865         * configure: Regenerated.
15867 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15869         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15870         Conditionalize whole body on [IREL].
15872 2012-08-22  Jeff Law <law@redhat.com>
15874         [BZ #14505]
15875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15876         if the family is PF_UNSPEC.
15878 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
15880         * Makerules (lib-version): Rename from V.
15881         (install-lib-nosubdir): Change V to lib-version.
15883 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
15885         [BZ #14252]
15886         * powerpc32/power6/wcschr.c: New file.
15887         * powerpc32/power6/wcscpy.c: New file.
15888         * powerpc32/power6/wcsrchr.c: New file.
15889         * powerpc64/power6/wcschr.c: New file.
15890         * powerpc64/power6/wcscpy.c: New file.
15891         * powerpc64/power6/wcsrchr.c: New file.
15893 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15895         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15896         (two_way_short_needle): Use it.
15897         * string/strstr.c (AVAILABLE1_USES_J): Define.
15898         * string/strcasestr.c: Likewise.
15900         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15901         array references.
15902         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15904         [BZ #11607]
15905         * NEWS: Add an entry.
15906         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15907         define their defaults.
15908         (two_way_short_needle): Detect end-of-string on-the-fly.
15909         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15910         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15911         * string/bug-strcasestr1.c: New test.
15912         * string/Makefile: Run it.
15914 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15916         [BZ #11607]
15917         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15918         the first character.
15920 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15922         * csu/elf-init.c (__libc_csu_irel): Function removed.
15923         * csu/libc-start.c (apply_irel): New function.
15924         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15926 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15928         * sysdeps/unix/sysv/linux/kernel-features.h
15929         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15930         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15931         <kernel-features.h>.
15932         [__NR_fadvise64_64]: Make code unconditional.
15933         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15934         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15935         !__NR_fadvise64_64)]: Likewise.
15936         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15937         !__NR_fadvise64_64))]: Likewise.
15938         [__NR_fadvise64]: Make code unconditional.
15939         [!__NR_fadvise64]: Remove conditional code.
15940         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15941         <kernel-features.h>.
15942         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15943         unconditional.
15944         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15945         conditional code.
15946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15947         not include <kernel-features.h>.
15948         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15949         unconditional.
15950         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15951         conditional code.
15952         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15953         include <kernel-features.h>.
15954         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15955         unconditional.
15956         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15957         conditional code.
15959 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15961         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15962         slight instruction rearrangements per scrollpipe analysis.
15963         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15965 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15967         * manual/syslog.texi (syslog; vsyslog, closelog):
15968         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15969         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15971         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15972         DSOCAPS to match condition on defining it.
15974 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15976         * sysdeps/unix/sysv/linux/kernel-features.h
15977         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15979         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15980         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15982         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15983         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15985         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15986         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15988         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15989         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15991         * sysdeps/unix/sysv/linux/kernel-features.h
15992         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15993         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15994         unconditional.
15995         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15996         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15997         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15998         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15999         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16000         Make code unconditional.
16001         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16002         (__mmap64) [!__NR_mmap2]: Likewise.
16003         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16004         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16005         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16006         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16007         [__NR_mmap2]: Make code unconditional.
16008         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16009         (__mmap64) [!__NR_mmap2]: Likewise.
16011 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16013         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16015 2012-08-18  Andreas Jaeger  <aj@suse.de>
16017         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16019 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16021         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16022         * include/unistd.h (__have_sock_cloexec): Likewise.
16023         (__have_pipe2): Likewise.
16024         (__have_dup3): Likewise.
16026 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16028         [BZ #9685]
16029         * include/unistd.h (__have_pipe2): Change define into an extern int.
16030         (__have_dup3): Likewise.
16031         * socket/have_sock_cloexec.c: Include fcntl.h.
16032         (__have_pipe2): New variable.
16033         (__have_dup3): Likewise.
16035 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16037         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16039 2012-08-17  Marek Polacek  <polacek@redhat.com>
16041         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16042         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16044 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16046         * configure.in: Add AC_SUBST for sysheaders.
16047         * configure: Regenerated.
16048         * config.make.in (sysheaders): New substituted variable.
16050         * sysdeps/unix/mkfifo.c: Moved ...
16051         * sysdeps/posix/mkfifo.c: ... here.
16052         * sysdeps/unix/mkfifoat.c: Moved ...
16053         * sysdeps/posix/mkfifoat.c: ... here.
16055         * sysdeps/unix/utime.c: Moved ...
16056         * sysdeps/posix/utime.c: ... here.
16058         * sysdeps/unix/time.c: Moved ...
16059         * sysdeps/posix/time.c: ... here.
16060         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16061         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16063         * sysdeps/unix/nice.c: Moved ...
16064         * sysdeps/posix/nice.c: ... here.
16066         * sysdeps/unix/alarm.c: Moved ...
16067         * sysdeps/posix/alarm.c: ... here.
16069         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16071 2012-08-17  Jeff Law <law@redhat.com>
16073         * intl/Makefile (codeset_mo): New variable.
16074         ($(codeset_mo)): New target.
16075         (tst-codeset.out): Depend on that.  Remove explicit rule.
16076         (tst-gettext3.out, tst-gettext5.out): Likewise.
16077         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16078         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16079         * intl/tst-codeset.sh: Remove.
16080         * intl/tst-gettext3.sh: Likewise.
16081         * intl/tst-gettext5.sh: Likewise.
16083 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16085         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16086         * sysdeps/unix/syscalls.list: ... here.
16088         * sysdeps/posix/getaddrinfo.c
16089         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16090         (gaiconf_init, gaiconf_reload): Use them.
16091         [!_STATBUF_ST_NSEC]
16092         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16093         Define using time_t rather than struct timespec.
16095         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16096         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16097         Macros removed.
16098         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16099         [!NO_THREADS].
16100         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16101         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16102         Likewise.
16104         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16105         __libc_cleanup_push argument.
16107         * bits/param.h: New file.
16108         * misc/sys/param.h: New file.
16109         * include/sys/param.h: New file.
16110         * misc/Makefile (headers): Add bits/param.h.
16111         * sysdeps/generic/sys/param.h: File removed.
16112         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16113         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16114         * sysdeps/mach/hurd/bits/param.h: New file.
16115         * sysdeps/mach/hurd/sys/param.h: File removed.
16117         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16118         last change.
16120         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16121         [_IO_MTSAFE_IO].
16122         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16123         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16124         New macros.
16126         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16127         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16128         rather than -D_IO_MTSAFE_IO conditionally.
16129         * stdio-common/Makefile (CPPFLAGS): Likewise.
16130         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16131         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16132         Use $(libio-mtsafe).
16133         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16134         of -D_IO_MTSAFE_IO.
16135         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16136         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16137         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16138         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16139         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16140         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16141         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16142         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16143         (CFLAGS-fread_u_chk.c): Likewise.
16144         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16145         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16146         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16147         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16148         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16149         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16150         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16151         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16152         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16154         * libio/Makefile: Test [$(libc-reentrant) = yes]
16155         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16157         * Makeconfig
16158         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16159         * sysdeps/pthread/configure: File removed.
16160         * sysdeps/pthread/Makeconfig: New file.
16161         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16162         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16164 2012-08-16  Gary Benson  <gbenson@redhat.com>
16166         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16167         unmapping the first object in a namespace.
16169 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16171         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16172         (__internal_setnetgrent): ... this.  Add internal_function to
16173         definition.  Add libc_hidden_def.
16174         (setnetgrent): Update caller.
16175         (internal_endnetgrent): Renamed to ...
16176         (__internal_endnetgrent): ... this.  Add internal_function to
16177         definition.  Add libc_hidden_def.
16178         (endnetgrent): Update caller.
16179         (internal_getnetgrent_r): Renamed to ...
16180         (__internal_getnetgrent_r): ... this.  Add internal_function to
16181         definition.  Add libc_hidden_def.
16182         (__getnetgrent_r): Update caller.
16183         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16185 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16187         * stdlib/longlong.h: Update from GCC.
16189 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16191         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16192         on _QL, which is set by umul_ppmm but never used.
16193         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16194         variables, which are set by GMP macros but never used.
16195         * stdio-common/_itowa.c (_itowa): Likewise.
16196         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16197         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16199 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16201         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16202         struct La_sh_regs is not constant.
16203         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16204         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16205         and struct La_sparc64_regs are not constant.
16207 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16209         * sysdeps/unix/sysv/linux/kernel-features.h
16210         (__ASSUME_POSIX_TIMERS): Remove.
16211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16212         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16213         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16214         Make code unconditional.
16215         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16216         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16217         Make code unconditional.
16218         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16219         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16220         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16221         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16222         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16223         Make code unconditional.
16224         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16225         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16226         (__libc_missing_posix_timers): Remove.
16228 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16230         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16231         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16233         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16235         * elf/dl-sym.c: Include <stdlib.h>.
16237         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16238         constants, which avoids warnings in 32-bit builds.
16240         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16241         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16243         * misc/lseek.c: File moved to ...
16244         * io/lseek.c: ... here.
16246         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16248         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16249         shifting LEN more than 31 bits at once.
16251 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16253         [BZ #14195]
16254         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16255         segmentation fault for a case of two empty input strings.
16256         * string/test-strncasecmp.c (check1): Renamed to...
16257         (bz12205): ...this.
16258         (bz14195): Add new testcase for two empty input strings and N > 0.
16259         (test_main): Call new testcase, adapt for renamed function.
16261 2012-08-15  Andreas Jaeger  <aj@suse.de>
16263         [BZ #14090]
16264         * crypt/md5test2.c: New test, based on test supplied by Serge
16265         Belyshev <belyshev@depni.sinp.msu.ru>.
16266         * crypt/Makefile (xtests): Add md5test-giant..
16267         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16269 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16271         [BZ #14090]
16272         * crypt/md5.c (md5_process_block): Don't assume the buffer
16273         length is less than 2**32.
16274         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16275         length is less than 2**64.
16277 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16279         * string/str-two-way.h: Include <sys/param.h>.
16280         (MAX): Macro removed.
16282         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16283         Move #define and #undef of memmove to just before and after
16284         including <string.h>.
16286         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16287         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16288         and after including <string.h>.  Move declarations of
16289         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16290         to before #include "string/memmove.c".
16292         * include/dirent.h: Declare __getdirentries.
16294         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16295         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16297 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16299         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16300         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16301         * sysdeps/i386/configure: Regenerated.
16302         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16303         STABS_CURRENT_FILE, and STABS_FUN.
16304         (END): Remove call to STABS_FUN_END.
16305         (STABS_CURRENT_FILE1): Delete.
16306         (STABS_CURRENT_FILE): Likewise.
16307         (STABS_FUN): Likewise.
16308         (STABS_FUN_END): Likewise.
16309         (STABS_FUN2): Likewise.
16310         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16311         * sysdeps/x86_64/configure: Regenerated.
16313 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16315         * elf/dl-open.c: Include <atomic.h>.
16316         * elf/dl-lookup.c: Likewise.
16318 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16320         * sysdeps/unix/sysv/linux/kernel-features.h
16321         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16322         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16323         unconditionally.
16324         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16325         unconditionally.
16326         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16327         condition on __ASSUME_CLONE_THREAD_FLAGS.
16329 2012-08-14  Andreas Jaeger  <aj@suse.de>
16331         * sysdeps/i386/fpu/libm-test-ulps: Update.
16333 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16335         * include/atomic.h (atomic_exchange_and_add): Split into ...
16336         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16337         New atomic macros.
16339 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16343 2012-08-13  Jeff Law <law@redhat.com>
16345         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16346         null byte in the output string.
16348 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16350         * sysdeps/unix/sysv/linux/kernel-features.h
16351         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16352         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16353         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16354         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16355         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16356         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16357         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16359 2012-08-09  Jeff Law <law@redhat.com>
16361         [BZ #13939]
16362         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16363         When avoid_arena is set, don't retry in the that arena.  Pick the
16364         next one, whatever it might be.
16365         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16366         (arena_lock): Pass in new parameter to arena_get2.
16367         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16368         arena_get2.
16369         (__libc_malloc): Unify retrying after main arena failure with
16370         __libc_memalign version.
16371         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16373 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16375         [BZ #14166]
16376         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16377         to __redirect_strstr.
16378         (__strstr_sse42): Use typeof __redirect_strstr.
16379         (__strstr_ia32): Likewise.
16380         (__libc_strstr): New prototype.
16381         (strstr): Renamed to ...
16382         (__libc_strstr): This.
16383         (strstr): New strong alias of __libc_strstr.
16384         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16385         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16386         __redirect_time.
16387         Include <time.h>.
16388         (__libc_time): New prototype.
16389         (time_ifunc): Replace time with __libc_time.
16390         (time): New strong alias and hidden definition of __libc_time.
16391         (__GI_time): Remove strong alias.
16392         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16393         Include <stddef.h>.
16394         (memmove): Redefined to __redirect_memmove.
16395         (__memmove_sse2): Use typeof __redirect_memmove.
16396         (__memmove_ssse3): Likewise.
16397         (__memmove_ssse3_back): Likewise.
16398         (__libc_memmove): New prototype.
16399         (memmove): Renamed to ...
16400         (__libc_memmove): This.
16401         (memmove): New strong alias of __libc_memmove.
16403 2012-08-08  Mark Salter  <msalter@redhat.com>
16405         * elf/elf.h
16406         (R_MN10300_TLS_GD): Define.
16407         (R_MN10300_TLS_LD): Likewise.
16408         (R_MN10300_TLS_LDO): Likewise.
16409         (R_MN10300_TLS_GOTIE): Likewise.
16410         (R_MN10300_TLS_IE): Likewise.
16411         (R_MN10300_TLS_LE): Likewise.
16412         (R_MN10300_TLS_DTPMOD): Likewise.
16413         (R_MN10300_TLS_DTPOFF): Likewise.
16414         (R_MN10300_TLS_TPOFF): Likewise.
16415         (R_MN10300_SYM_DIFF): Likewise.
16416         (R_MN10300_ALIGN): Likewise.
16417         (R_MN10300_NUM): Update.
16419 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16422         Remove.
16424 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16426         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16428         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16429         sysdeps/unix -> sysdeps/posix move.
16430         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16432 2012-08-07      Allan McRae     <allan@archlinux.org>
16434         [BZ #14303]
16435         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16436         (SUNOS_CPP): Likewise.
16437         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16438         not found.
16439         (open_input): Call CPP using execvp.
16441 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16443         * sysdeps/unix/sysv/linux/kernel-features.h
16444         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16445         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16446         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16447         (__ASSUME_WAITID_SYSCALL): Likewise.
16448         * sysdeps/unix/sysv/linux/dl-execstack.c
16449         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16450         code unconditional.
16451         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16452         conditional code.
16453         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16454         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16455         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16456         code.
16457         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16458         unconditional.
16459         [__ASSUME_WAITID_SYSCALL]: Likewise.
16460         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16462 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16464         * sysdeps/unix/closedir.c: Renamed to ...
16465         * sysdeps/posix/closedir.c: ... here.
16466         * sysdeps/unix/dirfd.c: Renamed to ...
16467         * sysdeps/posix/dirfd.c: ... here.
16468         * sysdeps/unix/dirstream.h: Renamed to ...
16469         * sysdeps/posix/dirstream.h: ... here.
16470         * sysdeps/unix/fdopendir.c: Renamed to ...
16471         * sysdeps/posix/fdopendir.c: ... here.
16472         * sysdeps/unix/opendir.c: Renamed to ...
16473         * sysdeps/posix/opendir.c: ... here.
16474         * sysdeps/unix/readdir.c: Renamed to ...
16475         * sysdeps/posix/readdir.c: ... here.
16476         * sysdeps/unix/readdir_r.c: Renamed to ...
16477         * sysdeps/posix/readdir_r.c: ... here.
16478         * sysdeps/unix/rewinddir.c: Renamed to ...
16479         * sysdeps/posix/rewinddir.c: ... here.
16480         * sysdeps/unix/seekdir.c: Renamed to ...
16481         * sysdeps/posix/seekdir.c: ... here.
16482         * sysdeps/unix/telldir.c: Renamed to ...
16483         * sysdeps/posix/telldir.c: ... here.
16484         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16485         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16486         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16487         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16489         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16490         * bits/fcntl.h: ... here.
16492         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16493         not 0.
16494         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16495         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16496         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16497         (struct flock): Move l_start, l_len to the beginning.
16498         Use __pid_t for l_pid.
16499         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16500         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16501         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16502         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16503         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16504         [__USE_LARGEFILE64] (struct flock64): New type.
16505         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16507         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16508         * bits/dirent.h: ... here.
16510         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16511         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16513 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16515         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16516         Change from 2.6.0 to 2.6.16.
16517         * sysdeps/unix/sysv/linux/configure: Regenerated.
16518         * sysdeps/unix/sysv/linux/kernel-features.h
16519         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16520         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16521         version.
16522         (__ASSUME_UTIMES): Likewise.
16523         (__ASSUME_CLONE_STOPPED): Remove.
16524         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16525         architectures, not kernel version.
16526         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16527         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16528         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16529         (__ASSUME_WAITID_SYSCALL): Likewise.
16530         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16531         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16532         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16533         refer to older versions.
16535 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16537         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16538         Define alphasort64 as an alias.
16539         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16540         Define versionsort64 as an alias.
16541         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16542         Define scandir64 as an alias.
16543         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16544         Define scandirat64 as an alias.
16545         * dirent/alphasort64.c (alphasort64):
16546         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16547         * dirent/versionsort64.c: Likewise.
16548         * dirent/scandir64.c: Likewise.
16549         * dirent/scandirat64.c: Likewise.
16550         * sysdeps/wordsize-64/alphasort.c: File removed.
16551         * sysdeps/wordsize-64/alphasort64.c: File removed.
16552         * sysdeps/wordsize-64/scandir.c: File removed.
16553         * sysdeps/wordsize-64/scandir64.c: File removed.
16554         * sysdeps/wordsize-64/scandirat.c: File removed.
16555         * sysdeps/wordsize-64/scandirat64.c: File removed.
16556         * sysdeps/wordsize-64/versionsort.c: File removed.
16557         * sysdeps/wordsize-64/versionsort64.c: File removed.
16558         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16559         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16560         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16561         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16562         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16563         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16564         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16565         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16567         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16569         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16571         [defined __arch64__ || defined __sparcv9]
16572         (__INO_T_MATCHES_INO64_T): New macro.
16573         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16574         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16575         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16576         * sysdeps/unix/sysv/linux/bits/dirent.h
16577         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16578         (_DIRENT_MATCHES_DIRENT64): New macro.
16580         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16581         Define lockf64 as an alias.
16582         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16583         Define fseeko64 as an alias.
16584         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16585         Define ftello64 as an alias.
16586         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16587         Define _IO_fgetpos64 and fgetpos64 as aliases.
16588         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16589         Define _IO_fsetpos64 and fsetpos64 as aliases.
16590         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16591         Conditionalize body on this.
16592         * libio/fseeko64.c: Likewise.
16593         * libio/ftello64.c: Likewise.
16594         * libio/iofgetpos64.c: Likewise.
16595         * libio/iofsetpos64.c: Likewise.
16596         * sysdeps/wordsize-64/lockf.c: File removed.
16597         * sysdeps/wordsize-64/lockf64.c: File removed.
16598         * sysdeps/wordsize-64/fseeko.c: File removed.
16599         * sysdeps/wordsize-64/fseeko64.c: File removed.
16600         * sysdeps/wordsize-64/ftello.c: File removed.
16601         * sysdeps/wordsize-64/ftello64.c: File removed.
16602         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16603         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16604         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16605         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16606         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16607         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16608         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16609         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16610         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16611         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16612         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16613         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16615         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16617         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16619         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16620         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16621         [defined __arch64__ || defined __sparcv9]
16622         (__OFF_T_MATCHES_OFF64_T): New macro.
16623         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16624         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16625         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16626         (__OFF_T_MATCHES_OFF64_T): New macro.
16628 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16630         * stdlib/secure-getenv.c (__secure_getenv): Replace
16631         GLIBC_2_16 with GLIBC_2_17.
16633 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16635         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16636         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16638 2012-08-03  David S. Miller  <davem@davemloft.net>
16640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16642 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16645         Remove.
16646         (__ASSUME_CORRECT_SI_PID): Likewise.
16647         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16648         (__ASSUME_TMPFS_NAME): Likewise.
16649         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16650         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16651         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16652         (HAVE_AUX_SECURE): Make definition unconditional.
16653         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16654         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16656 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16658         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16659         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16660         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16661         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16662         __eloop_threshold instead of SYMLOOP_MAX.
16664         * sysdeps/generic/eloop-threshold.h: New file.
16665         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16666         of MAXSYMLINKS.
16667         * elf/chroot_canon.c (chroot_canon): Likewise.
16669 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16671         [BZ #13717]
16672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16673         Change to 2.6.0 everywhere.
16674         * sysdeps/unix/sysv/linux/configure: Regenerated.
16675         * sysdeps/unix/sysv/linux/kernel-features.h
16676         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16677         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16678         kernel versions.
16679         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16680         (__ASSUME_FUTEX_REQUEUE): Remove.
16681         (__ASSUME_STATFS64): Define unconditionally.
16682         (__ASSUME_AT_SECURE): Likewise.
16683         (__ASSUME_CORRECT_SI_PID): Likewise.
16684         (__ASSUME_TGKILL): Define without depending on kernel version for
16685         i386.
16686         (__ASSUME_UTIMES): Likewise.
16687         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16688         kernel version.
16689         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16690         (__ASSUME_TMPFS_NAME): Likewise.
16691         * README: Update reference to Linux kernel versions.
16693 2012-08-02  Marek Polacek  <polacek@redhat.com>
16695         [BZ# 14150]
16696         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16697         libc_cv_asm_type_prefix with %.
16698         * configure: Regenerated.
16699         * include/libc-symbols.h: Remove comment about
16700         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16701         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16702         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16703         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16704         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16705         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16706         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16707         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16708         * elf/tst-unique2mod1.c: Likewise.
16709         * elf/tst-unique1mod2.c: Likewise.
16710         * elf/tst-unique1mod1.c: Likewise.
16711         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16712         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16713         Replace ASM_TYPE_DIRECTIVE with .type.
16714         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16715         * sysdeps/i386/sysdep.h: Likewise.
16716         * sysdeps/x86_64/sysdep.h: Likewise.
16717         * sysdeps/sh/sysdep.h: Likewise.
16718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16719         Do not define ASM_TYPE_DIRECTIVE.
16720         * sysdeps/powerpc/sysdep.h: Likewise.
16721         * sysdeps/powerpc/powerpc32/sysdep.h:
16722         Replace ASM_TYPE_DIRECTIVE with .type.
16723         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16724         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16725         * sysdeps/i386/fpu/e_powf.S: Likewise.
16726         * sysdeps/i386/fpu/e_expl.S: Likewise.
16727         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16728         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16729         * sysdeps/i386/fpu/e_pow.S: Likewise.
16730         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16731         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16732         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16733         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16734         * sysdeps/i386/fpu/e_log2.S: Likewise.
16735         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16736         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16737         * sysdeps/i386/fpu/e_powl.S: Likewise.
16738         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16739         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16740         * sysdeps/i386/fpu/e_logl.S: Likewise.
16741         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16742         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16743         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16744         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16745         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16746         * sysdeps/i386/fpu/e_log.S: Likewise.
16747         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16748         * sysdeps/i386/fpu/e_logf.S: Likewise.
16749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16750         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16751         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16752         * sysdeps/i386/fpu/e_log10.S: Likewise.
16753         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16754         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16755         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16756         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16757         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16758         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16759         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16760         * sysdeps/i386/i686/strtok.S: Likewise.
16761         * sysdeps/i386/i386-mcount.S: Likewise.
16762         * sysdeps/i386/strtok.S: Likewise.
16763         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16764         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16765         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16766         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16767         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16768         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16769         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16770         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16771         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16772         * sysdeps/x86_64/_mcount.S: Likewise.
16773         * sysdeps/x86_64/strtok.S: Likewise.
16774         * sysdeps/sh/_mcount.S: Likewise.
16776 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16778         * libio/iofopen.c: Include <fcntl.h>.
16779         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16780         (_IO_fopen64, fopen64): Define as aliases.
16781         * libio/iofopen64.c: Include <fcntl.h>.
16782         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16783         Conditionalize body on this.
16784         * sysdeps/wordsize-64/iofopen.c: File removed.
16785         * sysdeps/wordsize-64/iofopen64.c: File removed.
16787 2012-08-01  Marek Polacek  <polacek@redhat.com>
16789         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16790         Use dlfcn directly instead of a variable.
16791         (binfmt-subdir): Do not define.
16792         (dlfcn): Likewise.
16794 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16797         Remove all definitions.
16798         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16799         <kernel-features.h>.
16800         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16801         (miss_F_GETOWN_EX): Remove all definitions.
16802         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16803         macro definition.
16804         [!__ASSUME_FCNTL64]: Remove conditional code.
16805         [__ASSUME_FCNTL64]: Make code unconditional.
16806         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16807         <kernel-features.h>.
16808         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16809         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16810         (lockf64) [__NR_fcntl64]: Make code unconditional.
16811         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16813         * sysdeps/unix/sysv/linux/kernel-features.h
16814         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16815         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16816         Make code unconditional.
16817         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16818         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16820         [__NR_vfork]: Make code unconditional.
16821         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16822         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16824         [__NR_vfork]: Make code unconditional.
16825         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16826         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16828 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16830         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16831         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16833         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16834         Define mkstemp64 as an alias.
16835         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16836         Define mkstemps64 as an alias.
16837         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16838         Define mkostemp64 as an alias.
16839         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16840         Define mkostemps64 as an alias.
16841         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16842         Conditionalize body on this.
16843         * misc/mkostemp64.c: Likewise.
16844         * misc/mkostemps64.c: Likewise.
16845         * misc/mkstemps64.c: Likewise.
16846         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16847         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16848         * sysdeps/wordsize-64/mkostemp.c: File removed.
16849         * sysdeps/wordsize-64/mkstemp.c: File removed.
16850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16851         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16852         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16853         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16855         [BZ #14138]
16856         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16857         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16858         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16859         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16861         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16862         compat_symbol macros from <shlib-compat.h> rather than the underlying
16863         default_symbol_version and symbol_version macros, so that DEFAULT
16864         lines in shlib-versions are respected.
16865         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16867 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16869         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16870         Declare with warn_unused_result.
16871         (setgid, setregid, setegid, setresgid): Likewise.
16872         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16873         Likewise.
16874         * WUR-REPORT: Remove set*id functions.
16876 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
16878         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16880 2012-07-31  Roland McGrath  <roland@hack.frob.com>
16882         [BZ #10191]
16883         * include/sys/socket.h (__libc_accept, __libc_accept4):
16884         Add attribute_hidden.
16885         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16887         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16888         use of PTR_MANGLE.
16889         * inet/getnetgrent_r.c (setup): Likewise.
16891         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16893 2012-07-31  David S. Miller  <davem@davemloft.net>
16895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16897 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16899         [BZ #13629]
16900         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16901         value between 1.0 and 2.0 and smaller part has absolute value less
16902         than 1.0.
16903         * math/s_clog10.c (__clog10): Likewise.
16904         * math/s_clog10f.c (__clog10f): Likewise.
16905         * math/s_clog10l.c (__clog10l): Likewise.
16906         * math/s_clogf.c (__clogf): Likewise.
16907         * math/s_clogl.c (__clogl): Likewise.
16908         * math/libm-test.inc (clog_test): Add more tests.
16909         (clog10_test): Likewise.
16910         * sysdeps/i386/fpu/libm-test-ulps: Update.
16911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16915         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16916         Exit with zero in case no suitable GID is found, and write a
16917         message to standard error.
16919 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16921         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16922         rather than to 1.
16923         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16924         (MAXPATHLEN): Removed.
16925         (NOGROUP, NODEV): New macros.
16926         (setbit, clrbit, isset, isclr): New macros.
16927         (howmany, roundup, powerof2): New macros.
16928         (DEV_BSIZE): New macro.
16930         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16931         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16933         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16934         definition on [!__NO_LONG_DOUBLE_MATH].
16936         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16937         PTR_MANGLE and PTR_DEMANGLE.
16939         * socket/accept4.c (accept4): Rename to __libc_accept4.
16940         Define accept4 as a weak alias.
16942         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16943         on [_DIRENT_HAVE_D_TYPE].
16944         * io/ftw.c (ftw_dir): Likewise.
16946         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16948         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16950         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16951         Use the BSD numbers rather than the arbitrary ones we had.
16952         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16953         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16954         (SIGXCPU, SIGXFSZ): New macros.
16955         (_NSIG): Now 32.
16957         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16958         initializer on [_LIBC_REENTRANT].
16960         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16961         definitions inside [_POSIX_MAPPED_FILES].
16963         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16965         * dirent/opendir.c: Include <fcntl.h>.
16967         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16968         (__libc_getspecific): Likewise.
16969         (__libc_key_create): Likewise.
16971         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16972         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16973         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16974         (tmpfile64): Define as alias.
16975         * sysdeps/wordsize-64/tmpfile.c: File removed.
16976         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16977         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16978         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16980         * stdio-common/vfscanf.c: Include <stdbool.h>.
16981         * nss/makedb.c: Likewise.
16982         * stdio-common/_i18n_number.h: Likewise.
16983         * argp/argp-help.c: Likewise.
16984         * posix/wordexp.c: Likewise.
16985         * sysdeps/posix/spawni.c: Likewise.
16986         * nss/nss_files/files-initgroups.c: Likewise.
16987         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16988         * nss/nss_files/files-initgroups.c: Likewise.
16989         * nss/nss_db/db-netgrp.c: Likewise.
16990         * nss/nss_db/db-initgroups.c: Likewise.
16991         * io/fchmodat.c: Include <sys/stat.h>.
16993         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16994         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16996         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16997         [HAVE_MMAP].
16999         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17000         Add multiple inclusion protection.
17002 2012-07-27  David S. Miller  <davem@davemloft.net>
17004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17006 2012-07-27  Gary Benson  <gbenson@redhat.com>
17008         [BZ #14298]
17009         * elf/rtld.c: Include <stap-probe.h>.
17010         (dl_main): Added static probes "init_start" and "init_complete".
17011         * elf/dl-load.c: Include <stap-probe.h>.
17012         (lose): Take new parameter "nsid".
17013         Added static probe "map_failed".
17014         (_dl_map_object_from_fd): Pass namespace id to lose.
17015         Added static probe "map_start".
17016         (open_verify): Pass namespace id to lose.
17017         * elf/dl-open.c: Include <stap-probe.h>.
17018         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17019         and "reloc_complete".
17020         * elf/dl-close.c: Include <stap-probe.h>.
17021         (_dl_close_worker): Added static probes "unmap_start" and
17022         "unmap_complete".
17023         * elf/rtld-debugger-interface.txt: New file documenting the above.
17025 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17027         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17028         rather than a string variable.
17029         * sunrpc/rpc_main.c (h_output): Likewise.
17030         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17032 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17034         * inet/check_native.c: New file.
17036 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17038         [BZ #13629]
17039         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17040         if larger part has absolute value 1.0.
17041         * math/s_clog10.c (__clog10): Likewise.
17042         * math/s_clog10f.c (__clog10f): Likewise.
17043         * math/s_clog10l.c (__clog10l): Likewise.
17044         * math/s_clogf.c (__clogf): Likewise.
17045         * math/s_clogl.c (__clogl): Likewise.
17046         * math/libm-test.inc (clog_test): Add more tests.
17047         (clog10_test): Likewise.
17048         * sysdeps/i386/fpu/libm-test-ulps: Update.
17049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17051         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17052         (pltexit): Likewise.
17053         (La_regs): Likewise.
17054         (La_retval): Likewise.
17055         (int_retval): Likewise.
17056         Update #error for removed macros to refer only to definitions in
17057         tst-audit.h.
17058         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17059         macro.
17060         (pltexit): Likewise.
17061         (La_regs): Likewise.
17062         (La_retval): Likewise.
17063         (int_retval): Likewise.
17064         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17065         macro.
17066         (pltexit): Likewise.
17067         (La_regs): Likewise.
17068         (La_retval): Likewise.
17069         (int_retval): Likewise.
17070         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17071         macro.
17072         (pltexit): Likewise.
17073         (La_regs): Likewise.
17074         (La_retval): Likewise.
17075         (int_retval): Likewise.
17076         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17077         macro.
17078         (pltexit): Likewise.
17079         (La_regs): Likewise.
17080         (La_retval): Likewise.
17081         (int_retval): Likewise.
17082         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17083         macro.
17084         (pltexit): Likewise.
17085         (La_regs): Likewise.
17086         (La_retval): Likewise.
17087         (int_retval): Likewise.
17088         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17089         macro.
17090         (pltexit): Likewise.
17091         (La_regs): Likewise.
17092         (La_retval): Likewise.
17093         (int_retval): Likewise.
17094         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17095         macro definitions in tst-audit.h.
17096         * sysdeps/i386/tst-audit.h: New file.
17097         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17098         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17099         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17100         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17101         * sysdeps/sh/tst-audit.h: Likewise.
17102         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17103         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17104         * sysdeps/x86_64/tst-audit.h: Likewise.
17106 2012-07-26  Andreas Jaeger  <aj@suse.de>
17108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17109         ptrace.
17111         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17112         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17113         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17114         PTRACE_O_MASK.
17115         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17116         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17117         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17119         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17120         value.
17122         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17123         _sigsys.
17124         (si_call_addr, si_syscall, si_arch): Define new macro.
17125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17126         _sigsys.
17127         (si_call_addr, si_syscall, si_arch): Define new marcro.
17128         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17129         _sigsys.
17130         (si_call_addr, si_syscall, si_arch): Define new macro.
17131         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17132         _sigsys.
17133         (si_call_addr, si_syscall, si_arch): Define new macro.
17135 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17137         [BZ #13717]
17138         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17139         Change to 2.4.21 where previously 2.4.1.
17140         * sysdeps/unix/sysv/linux/configure: Regenerated.
17141         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17142         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17143         Linux kernel version.
17144         (__ASSUME_STD_AUXV): Remove.
17145         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17146         kernel version.
17147         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17148         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17149         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17150         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17151         (__ASSUME_NETLINK_SUPPORT): Likewise.
17152         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17153         (__no_netlink_support): Remove conditional definition.
17154         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17155         Remove.
17156         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17157         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17158         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17159         (if_nameindex_ioctl): Remove.
17160         (if_nameindex_netlink): Do not handle __no_netlink_support.
17161         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17162         code.
17163         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17164         Remove conditional code.
17165         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17166         code.
17167         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17168         unconditional.
17169         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17170         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17171         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17172         Remove.
17173         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17174         [!__ASSUME_STD_AUXV]: Remove conditional code.
17175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17176         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17177         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17179         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17180         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17181         code.
17182         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17184         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17185         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17186         conditional code.
17187         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17189         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17190         code.
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17192         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17193         conditional code.
17194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17195         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17196         code unconditional.
17197         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17198         conditional code.
17199         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17200         unconditional.
17201         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17202         conditional code.
17203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17204         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17205         unconditional.
17206         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17207         conditional code.
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17209         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17210         code unconditional.
17211         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17212         conditional code.
17213         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17214         unconditional.
17215         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17216         conditional code.
17217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17218         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17219         code unconditional.
17220         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17221         conditional code.
17222         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17223         unconditional.
17224         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17225         conditional code.
17227 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17229         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17230         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17231         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17232         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17233         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17234         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17235         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17236         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17237         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17238         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17239         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17240         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17241         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17242         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17243         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17244         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17245         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17246         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17247         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17249         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17250         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17251         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17253 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17255         * Versions.def: Add GLIBC_2.17.
17256         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17257         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17258         Introduce __libc_secure_getenv.
17259         * stdlib/Versions (2.17): Add secure_getenv
17260         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17261         * stdlib/secure-getenv.c: Rename __secure_getenv to
17262         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17263         symbol __secure_getenv for GLIBC_2.0.
17264         * stdlib/tst-secure-getenv.c: New.
17265         * stdlib/Makefile (tests): Add testcase.
17266         * manual/startup.texi (Environment Access): Document
17267         secure_getenv.
17268         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17269         __libc_secure_getenv.
17270         * inet/ruserpass.c (ruserpass): Likewise.
17271         * malloc/mtrace.c (mtrace): Likewise.
17272         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17273         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17274         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17275         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17276         HAVE_SECURE_GETENV.
17277         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17278         __secure_getenv to __libc_secure_getenv.
17279         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17281         Likewise.
17282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17283         Likewise.
17284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17292 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17294         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17295         (struct La_i86_retval): Likewise.
17296         (struct La_x86_64_regs): Likewise.
17297         (struct La_x86_64_retval): Likewise.
17298         (struct La_x32_regs): Likewise.
17299         (struct La_x32_retval): Likewise.
17300         (struct La_ppc32_regs): Likewise.
17301         (struct La_ppc32_retval): Likewise.
17302         (struct La_ppc64_regs): Likewise.
17303         (struct La_ppc64_retval): Likewise.
17304         (struct La_sh_regs): Likewise.
17305         (struct La_sh_retval): Likewise.
17306         (struct La_s390_32_regs): Likewise.
17307         (struct La_s390_32_retval): Likewise.
17308         (struct La_s390_64_regs): Likewise.
17309         (struct La_s390_64_retval): Likewise.
17310         (struct La_sparc32_regs): Likewise.
17311         (struct La_sparc32_retval): Likewise.
17312         (struct La_sparc64_regs): Likewise.
17313         (struct La_sparc64_retval): Likewise.
17314         (struct audit_ifaces): Remove architecture-specific pltenter and
17315         pltexit members.
17316         * sysdeps/i386/ldsodefs.h: New file.
17317         * sysdeps/powerpc/ldsodefs.h: Likewise.
17318         * sysdeps/s390/ldsodefs.h: Likewise.
17319         * sysdeps/sh/ldsodefs.h: Likewise.
17320         * sysdeps/sparc/ldsodefs.h: Likewise.
17321         * sysdeps/x86_64/ldsodefs.h: Likewise.
17323 2012-07-25  Marek Polacek  <polacek@redhat.com>
17325         [BZ #6808]
17326         * math/libm-test.inc (yn_test): Add another test.
17327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17328         to ERANGE when the result is +-Inf.
17329         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17330         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17331         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17332         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17334 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17336         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17337         equal to 0.
17338         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17339         clock_t.
17340         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17342 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17344         * configure.in <sysdeps resolving>: Correct printing
17345         Implies_before.
17346         * configure: Regenerate.
17348 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17350         * math/w_ilogb.c: Include <limits.h>.
17351         * math/w_ilogbl.c: Likewise.
17353 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17355         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17356         va_copy.  Document allowing for unavailable va_copy only as
17357         pre-C99 compatibility.
17358         * manual/string.texi (Copying and Concatenation): Use va_copy
17359         instead of __va_copy in concat example.
17361 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17363         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17364         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17365         it if not null.
17367         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17368         with O_NOLINK passed to __file_name_lookup.
17370         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17371         with O_NOLINK passed to __file_name_lookup.
17373         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17374         negative N or less than NGIDS.
17376         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17377         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17378         enough.  Use memcpy instead of strncpy.
17380 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17382         * elf/Makefile (check-data): Remove.
17383         (localplt.data): New vpath directive.
17384         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17385         instead of $(check-data).
17386         * scripts/data/localplt-generic.data: Move to ...
17387         * sysdeps/generic/localplt.data: ... here.
17388         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17389         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17390         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17392         ... here.
17393         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17395         ... here.
17396         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17398         ... here.
17399         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17401         ... here.
17402         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17404         ... here.
17405         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17407         ... here.
17409 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17411         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17412         PPC32 and PPC64 files.
17413         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17414         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17416 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17418         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17419         __makecontext_ret to ...
17420         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17421         ... here and call exit if uc_link is NULL.  New file.
17422         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17423         __makecontext_ret.S.
17424         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17425         __makecontext_ret to ...
17426         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17427         ... here and call exit if uc_link is NULL.  New file.
17428         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17429         __makecontext_ret.S.
17431 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17433         * elf/elf.h (R_390_IRELATIVE): New definition.
17434         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17435         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17436         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17437         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17438         (elf_machine_lazy_rel): Likewise.
17439         * sysdeps/s390/dl-irel.h: New file.
17440         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17441         * sysdeps/s390/s390-64/memset.S: New asm code.
17442         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17443         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17445         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17446         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17447         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17448         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17449         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17450         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17451         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17452         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17453         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17454         * sysdeps/s390/s390-32/memset.S: New asm code.
17455         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17457 2012-07-17  Marek Polacek  <polacek@redhat.com>
17459         [BZ #14349]
17460         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17461         * sysdeps/s390/s390-64/configure.in: Likewise.
17462         * sysdeps/sparc/configure.in: Likewise.
17463         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17464         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17465         * sysdeps/i386/configure.in: Likewise.
17466         * sysdeps/x86_64/configure.in: Likewise.
17467         * sysdeps/sh/configure.in: Likewise.
17468         * sysdeps/s390/s390-32/configure: Regenerated.
17469         * sysdeps/s390/s390-64/configure: Likewise.
17470         * sysdeps/x86_64/configure: Likewise.
17471         * sysdeps/sh/configure: Likewise.
17472         * sysdeps/powerpc/powerpc64/configure: Likewise.
17473         * sysdeps/powerpc/powerpc32/configure: Likewise.
17474         * sysdeps/sparc/configure: Likwise.
17475         * sysdeps/i386/configure: Likewise.
17477         * elf/dl-open.c: Comment fixes.
17479 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17481         * Makefile [CXX] (check-data): Remove.
17482         [CXX] (c++-types.data): New vpath directive.
17483         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17484         vpath.  Do not allow for C++ type data being missing.
17485         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17486         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17487         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17488         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17489         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17490         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17491         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17493         ... here.
17494         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17496         ... here.
17497         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17499         ... here.
17500         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17502         ... here.
17503         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17505         ... here.
17506         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17508         ... here.
17509         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17511         ... here.
17512         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17515         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17516         definitions to architecture-specific files.
17517         (TLS_IE): Likewise.
17518         (TLS_LD): Likewise.
17519         (TLS_GD): Likewise.
17520         * sysdeps/i386/tls-macros.h: New file.
17521         * sysdeps/powerpc/tls-macros.h: Likewise.
17522         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17523         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17524         * sysdeps/sh/tls-macros.h: Likewise.
17525         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17526         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17527         * sysdeps/x86_64/tls-macros.h: Likewise.
17529 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17531         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17532         zero value for regular exit case.
17534         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17535         (__start_context): Preserve zero value for regular exit case.
17537 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17538             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17540         * manual/setjmp.texi (setcontext): Clarify normal process
17541         termination when uc_link is the null pointer.
17542         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17543         exit call.
17545 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17547         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17548         preprocessor.  Test for each exception mask separately.
17550 2012-07-16  Andreas Jaeger  <aj@suse.de>
17552         * po/ru.po: Update from translation team.
17554 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17556         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17557         equal to 0.
17558         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17559         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17560         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17561         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17562         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17564 2012-07-13  Andreas Jaeger  <aj@suse.de>
17566         * po/fr.po: Update from translation team.
17568 2012-07-12  Marek Polacek  <polacek@redhat.com>
17570         [BZ #14173]
17571         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17572         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17573         loop condition.
17575 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17577         [BZ #13717]
17578         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17579         Change to 2.4.1 where previously 2.4.0.
17580         * sysdeps/unix/sysv/linux/configure: Regenerated.
17581         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17582         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17583         version.
17584         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17585         (__ASSUME_AT_CLKTCK): Remove.
17586         (__ASSUME_AT_PAGESIZE): Likewise.
17587         (__ASSUME_AT_XID): Likewise.
17588         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17589         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17590         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17591         unconditionally.
17592         (HAVE_AUX_PAGESIZE): Likewise.
17593         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17594         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17595         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17597 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17599         [BZ #14307]
17600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17601         the temporary buffer used to invoke __gethostbyname2_r,
17602         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17603         host_data / struct gaih_addrtuple.
17604         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17605         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17606         header file nss/nsswitch.h.
17607         * nss/nsswitch.h (global scope): Add definition of implementation
17608         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17609         resolv/nss_dns/dns-host.c).
17611 2012-07-11  Andreas Jaeger  <aj@suse.de>
17613         * po/fr.po: Update from translation team.
17615         * po/sv.po: Update from translation team
17616         * po/fr.po: Another update from translation team.
17618 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17620         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17621         for subnormals or multiply small sinh result by itself.
17622         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17625 2012-07-11  David S. Miller  <davem@davemloft.net>
17627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17629 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17631         [BZ #14347]
17632         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17633         (INTERNAL_MARK): Shift it here.
17635 2012-07-10  Marek Polacek  <polacek@redhat.com>
17637         [BZ #14151]
17638         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17639         libc_cv_asm_global_directive with .globl.
17640         * configure: Regenerated.
17641         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17642         with .globl.
17643         * sysdeps/i386/configure: Regenerated.
17644         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17645         with .globl.
17646         * sysdeps/x86_64/configure: Regenerated.
17647         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17648         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17649         * elf/tst-unique2mod2.c: Likewise.
17650         * elf/tst-unique2mod1.c: Likewise.
17651         * elf/tst-unique1mod2.c: Likewise.
17652         * elf/tst-unique1mod1.c: Likewise.
17653         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17654         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17656         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17657         * sysdeps/mach/sysdep.h: Likewise.
17658         * sysdeps/i386/sysdep.h: Likewise.
17659         * sysdeps/i386/i386-mcount.S: Likewise.
17660         * sysdeps/x86_64/_mcount.S: Likewise.
17661         * sysdeps/x86_64/sysdep.h: Likewise.
17662         * sysdeps/sh/_mcount.S: Likewise.
17663         * sysdeps/sh/sysdep.h: Likewise.
17664         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17665         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17666         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17667         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17668         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17669         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17670         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17671         * locale/localeinfo.h: Likewise.
17672         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17673         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17675 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17677         [BZ #14336]
17678         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17679         system".
17680         * manual/message.texi (The Uniforum approach): Likewise.
17681         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17682         (glibc iconv Implementation): Likewise.
17684 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #14337]
17687         * math/s_clog.c (__clog): Avoid scaling a value down where that
17688         could result in underflow.
17689         * math/s_clog10.c (__clog10): Likewise.
17690         * math/s_clog10f.c (__clog10f): Likewise.
17691         * math/s_clog10l.c (__clog10l): Likewise.
17692         * math/s_clogf.c (__clogf): Likewise.
17693         * math/s_clogl.c (__clogl): Likewise.
17694         * math/libm-test.inc (clog_test): Add more tests.
17695         (clog10_test): Likewise.
17696         * sysdeps/i386/fpu/libm-test-ulps: Update.
17697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17699 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17701         [BZ #14283]
17702         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17703         by 7 not 8 to examine high bit of fractional part.
17705         [BZ #14042]
17706         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17707         for call to __mcount_internal.
17708         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17709         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17710         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17712 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17714         [BZ #14154]
17715         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17716         approximation for values within 0x1p-13f of an odd multiple of
17717         pi/4.
17718         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17719         exception.  Add more tests.
17720         * sysdeps/i386/fpu/libm-test-ulps: Update.
17722         [BZ #6778]
17723         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17724         inputs and return -1 for them.  Do not check for +Inf in case not
17725         reachable for +Inf.
17726         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17727         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17728         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17729         and return -1 for them.  Do not check for +Inf in case not
17730         reachable for +Inf.
17731         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17732         define.
17733         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17734         and return -1 for them.  Do not check for +Inf in case not
17735         reachable for +Inf.
17736         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17737         spurious underflow.
17738         * sysdeps/i386/fpu/libm-test-ulps: Update.
17739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17741 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17743         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17745 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17747         [BZ #14157]
17748         [BZ #14331]
17749         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17750         could result in spurious underflow.  Scale down values above
17751         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17752         * math/s_csqrtf.c (__csqrtf): Likewise.
17753         * math/s_csqrtl.c (__csqrtl): Likewise.
17754         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17755         spurious underflow.
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17761         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17762         xopen-msg.sed.
17763         * catgets/xopen-msg.awk: New file.
17764         * catgets/xopen-msg.sed: Removed.
17766         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17767         po2text.sed.
17768         * intl/po2test.awk: New file.
17769         * intl/po2test.sed: Removed.
17771 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17773         [BZ #14328]
17774         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17775         or multiply small sinh result by itself.
17776         * math/s_ctanf.c (__ctanf): Likewise.
17777         * math/s_ctanh.c (__ctanh): Likewise.
17778         * math/s_ctanhf.c (__ctanhf): Likewise.
17779         * math/s_ctanhl.c (__ctanhl): Likewise.
17780         * math/s_ctanl.c (__ctanl): Likewise.
17781         * math/libm-test.inc (ctan_test_tonearest): New function.
17782         (ctan_test_towardzero): Likewise.
17783         (ctan_test_downward): Likewise.
17784         (ctan_test_upward): Likewise.
17785         (ctanh_test_tonearest): Likewise.
17786         (ctanh_test_towardzero): Likewise.
17787         (ctanh_test_downward): Likewise.
17788         (ctanh_test_upward): Likewise.
17789         (main): Call these new functions.
17790         * sysdeps/i386/fpu/libm-test-ulps: Update.
17791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17793 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17795         * .gitignore: Delete /ports entry.
17797 2012-07-03  Andreas Jaeger  <aj@suse.de>
17799         * po/bg.po: Update from translation team.
17800         * po/cs.po: Likewise.
17801         * po/de.po: Likewise.
17802         * po/hr.po: Likewise.
17803         * po/nl.pl: Likewise.
17804         * po/pl.po: Likewise.
17805         * po/vi.po: Likewise.
17807 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17809         * Makeconfig [!+link] (+link-before-libc): New variable.
17810         [!+link] (+link-after-libc): Likewise.
17811         [!+link] (+link-tests): Likewise.
17812         [!+link] (+link): Define in terms of $(+link-before-libc) and
17813         $(+link-after-libc).
17814         [!+link-static] (+link-static-before-libc): New variable.
17815         [!+link-static] (+link-static-after-libc): Likewise.
17816         [!+link-static] (+link-static-tests): Likewise.
17817         [!+link-static] (+link-static): Define in terms of
17818         $(+link-static-before-libc) and $(+link-static-after-libc).
17819         [build-shared] (link-libc-before-gnulib): New variable.
17820         [build-shared] (link-libc-tests): Likewise.
17821         [build-shared] (link-libc): Define in terms of
17822         $(link-libc-before-gnulib).
17823         [!build-shared] (link-libc-tests): New variable.
17824         (link-libc-static-tests): New variable.
17825         [!gnulib] (gnulib-arch): New variable.
17826         [!gnulib] (gnulib-tests): Likewise.
17827         [!gnulib] (static-gnulib-arch): Likewise.
17828         [!gnulib] (static-gnulib-tests): Likewise.
17829         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17830         Define with "=" instead of ":=".
17831         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17832         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17833         * Rules (binaries-all-notests): New variable.
17834         (binaries-all-tests): Likewise.
17835         (binaries-static-notests): Likewise.
17836         (binaries-static-tests): Likewise.
17837         (binaries-all): Define using $(binaries-all-notests) and
17838         $(binaries-all-tests).
17839         (binaries-static): Define using $(binaries-static-notests) and
17840         $(binaries-static-tests).
17841         (binaries-shared-tests): New variable.
17842         (binaries-shared-notests): Likewise.
17843         (binaries-shared): Remove variable.
17844         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17845         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17846         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17847         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17848         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17849         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17850         * elf/Makefile (sln-modules): New variable.
17851         (extra-objs): Add $(sln-modules:=.o).
17852         (ldconfig-modules): Add static-stubs.
17853         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17854         * elf/static-stubs.c: New file.
17856         [BZ #14283]
17857         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17858         by 7 not 8 to examine high bit of fractional part.  Use volatile
17859         variables when splitting into final array of floats if
17860         __FLT_EVAL_METHOD__ != 0.
17861         * math/libm-test.inc (cos_test): Add another test.
17862         (sin_test): Likewise.
17863         * sysdeps/i386/fpu/libm-test-ulps: Update.
17865         [BZ #14273]
17866         * math/libm-test.inc (cosh_test): Add more tests.
17868         * version.h (RELEASE): Set to "development".
17869         (VERSION): Set to "2.16.90".
17871 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17873         * NEWS: Update copyright. Remove last-updated date.
17874         Mention math library bug fixes and timezone data changes.
17875         * README: Mention GNU/Hurd, x32, and HPPA support status.
17877 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
17879         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17881 2012-06-27  Andreas Jaeger  <aj@suse.de>
17883         * manual/contrib.texi (Contributors): Add Samuel Thibault.
17885 2012-06-25  Andreas Jaeger  <aj@suse.de>
17887         * sysdeps/s390/fpu/libm-test-ulps: Update.
17889 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17890             Thomas Schwinge  <thomas@codesourcery.com>
17892         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17893         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17895         fanotify_mark.
17897 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17899         * sysdeps/mach/start.c: Remove file.
17900         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17901         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17902         * sysdeps/sh/init-first.c: Likewise.
17904         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17905         registers for frame unwinding purposes, add CFI directives.
17906         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17907         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17908         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17909         Likewise.
17911         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17912         __fortify_fail returning.
17913         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17915         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17916         sysdeps/sh/____longjmp_chk.S.
17917         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17918         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17919         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17920         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17922         * sysdeps/sh/abort-instr.h: New file.
17923         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17924         process in case exit returns.
17926         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17927         initialize the GOT register before use.
17929         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17930         calculation of ARGC > 4.
17932         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17933         meaningful names to some local labels.
17935 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17936             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17938         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17939         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17940         (__arch_compare_and_exchange_val_16_acq): Likewise.
17941         (__arch_compare_and_exchange_val_32_acq): Likewise.
17942         (atomic_exchange_and_add): Fix gUSA sequence.
17943         (atomic_add): Likewise.
17944         (atomic_add_negative): Likewise.
17945         (atomic_add_zero): Likewise.
17946         (atomic_bit_test_set): Likewise.
17948 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17950         [BZ #13579]
17951         * include/link.h (struct link_map): Add l_free_initfini.
17952         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17953         l_initfini.
17954         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17955         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17956         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17957         set.
17959 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17961         * configure.in: Use AC_LANG_SOURCE.
17962         * configure: Regenerate.
17964 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17966         * configure.in (libc_cv_localstatedir): New substituted variable.
17967         * configure: Regenerated.
17968         * config.make.in (localstatedir): New variable, substituted from
17969         libc_cv_localstatedir.
17970         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17971         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17972         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17973         * sysdeps/gnu/configure: Regenerated.
17975 2012-06-21  Jeff Law  <law@redhat.com>
17977         [BZ #14277]
17978         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17979         free.  Simplify list management for _LIBC case.
17981 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17983         [BZ #14273]
17984         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17985         Clear sign bit of 64-bit integer value before comparing against
17986         overflow value.
17988         * sysdeps/mach/configure: Regenerated.
17990 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17992         [BZ #14278]
17993         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17995 2012-06-21  Jeff Law  <law@redhat.com>
17997         [BZ #13882]
17998         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17999         uint16_t for elements in the "seen" array to avoid char overflows.
18000         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18001         * elf/dl-open.c (dl_open_worker): Likewise.
18003 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18005         * scripts/list-sources.sh: Scan PORTS for translations.
18006         * po/libc.pot: Regenerated.
18008 2012-06-21  Andreas Jaeger  <aj@suse.de>
18010         [BZ #12194]
18011         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18012         warning.
18013         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18014         * bits/byteswap-16.h (__bswap_16): Likewise.
18015         * bits/byteswap.h (__bswap_constant_16): Likewise.
18017 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18019         [BZ #14117]
18020         * sysdeps/i386/fpu_control.h: Removed.
18021         * sysdeps/x86_64/fpu_control.h: Moved to ...
18022         * sysdeps/x86/fpu_control.h: Here.
18024         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18025         (_FPU_SETCW): Likewise.
18027 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18029         [BZ #14117]
18030         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18031         * sysdeps/x86/fpu/bits/mathinline.h: This.
18032         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18034         [BZ #14050]
18035         [BZ #14117]
18036         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18037         functions if __x86_64__ is defined.
18039 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18041         * string/endian.h: Add !__ASSEMBLER__ condition for including
18042         conversion interfaces.
18044 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #14241]
18047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18048         of ABS(x) in calculating zero to negative powers other than odd
18049         integers.
18050         * math/libm-test.inc (pow_test): Add more tests.
18052 2012-06-15  Andreas Jaeger  <aj@suse.de>
18054         * manual/contrib.texi (Contributors): Update entry of Liubov
18055         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18056         Machado Filho.
18058 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18060         * string/string.h: Add __wur to GNU version of strerror_r.
18062 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18064         [BZ #14229]
18065         * string/Makefile (tests): Add tst-strtok_r.
18066         * string/tst-strtok_r.c: New file.
18067         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18068         RAX_LP/RDX_LP on SAVE_PTR.
18070 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18072         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18074 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18076         * libm_test.inc (csqrt_test): Allow more spurious underflow
18077         exceptions.
18078         (j0_test): Likewise.
18079         (j1_test): Likewise.
18080         (y0_test): Likewise.
18081         (y1_test): Likewise.
18083 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18085         * po/Makefile (libc.pot): Use UTF-8 charset.
18087 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18089         [BZ #14210]
18090         Suppress sign-conversion warning from FD_SET.
18091         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18092         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18093         not unsigned long int.
18094         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18096 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18098         [BZ #14050]
18099         [BZ #14117]
18100         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18101         __extern_always_inline instead of __extern_inline.
18102         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18103         (__signbit): Likewise.
18104         (__signbitl): Support C++ namespace.
18105         (lrintf): New inline function.
18106         (lrint): Likewise.
18107         (llrintf): Likewise.
18108         (llrint): Likewise.
18109         (fmaxf): Likewise.
18110         (fmax): Likewise.
18111         (fminf): Likewise.
18112         (fmin): Likewise.
18113         (rint): Likewise.
18114         (rintf): Likewise.
18115         (ceil): Likewise.
18116         (ceilf): Likewise.
18117         (floor): Likewise.
18118         (floorf): Likewise.
18119         (nearbyint): Likewise.
18120         (nearbyintf): Likewise.
18122 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18124         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18125         non-default versions.
18127 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18129         [BZ #14218]
18130         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18132 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18134         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18135         (FE_UPWARD, FE_DOWNWARD): Don't define.
18136         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18137         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18139         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18140         reading it.
18141         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18142         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18144 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18146         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18147         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18148         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18149         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18151 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18153         [BZ #14117]
18154         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18155         * sysdeps/i386/fpu/Implies: New file.
18156         * sysdeps/x86_64/fpu/Implies: Likewise.
18157         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18158         * sysdeps/x86/fpu/bits/fenv.h: This.
18160         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18161         __SSE_MATH__.
18163 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18165         [BZ #14134]
18166         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18167         character 0xffff that matches the last element of the
18168         conversion table.
18170 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18172         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18173         fmodl commit.
18175 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18177         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18178         values higher than 25.6283.
18180 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18182         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18183         subnormal exponent extraction and add some __builtin_expect.
18184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18185         Fix for subnormal mantissa calculation.
18187 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18189         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18190         cpu2 is -1 and errno is not ENOSYS.
18192 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18194         [BZ #14117]
18195         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18196         * sysdeps/x86/bits/string.h: This.
18197         * sysdeps/x86_64/bits/string.h: Removed.
18199         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18200         if not compiling for x86-64, but compiling for >= i486.
18202         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18203         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18205         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18206         New macro from Linux kernel 3.4.0.
18207         (FP_XSTATE_MAGIC2): Likewise.
18208         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18209         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18210         (struct _fpx_sw_bytes): New struct.
18211         (struct _xsave_hdr): Likewise.
18212         (struct _ymmh_state): Likewise.
18213         (struct _xstate): Likewise.
18215         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18216         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18217         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18218         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18219         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18220         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18222         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18223         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18224         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18225         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18226         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18227         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18229 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18231         [BZ #13743]
18232         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18233         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18234         (sysdep_headers): Include sys/platform/ppc.h.
18235         * sysdeps/powerpc/test-gettimebase.c: Test for
18236         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18237         * manual/Makefile (appendices): Include platform.texi.
18238         * manual/contrib.texi (Contributors): Update @node pointers.
18239         * manual/maint.texi (Maintenance): Likewise.
18240         (Platform): New node.
18241         * manual/platform.texi: New file.  Document the new features.
18243 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18244             Jakub Jelinek  <jakub@redhat.com>
18246         [BZ #14188]
18247         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18248         where __builtin_expect is unavailable.
18250 2012-06-03  David S. Miller  <davem@davemloft.net>
18252         * stdlib/longlong.h: Updated from GCC.
18254 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18256         [BZ #14042]
18257         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18258         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18259         __mcount_internal.
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18261         (GLIBC_2.16): Likewise.
18263 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18265         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18267 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18270         (default-abi): New variable.
18271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18272         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18273         variable.
18274         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18275         Likewise.
18276         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18277         Likewise.
18278         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18279         Likewise.
18281         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18282         definition.  Document in comment.
18284 2012-06-01  David S. Miller  <davem@davemloft.net>
18286         * stdlib/longlong.h: Updated from GCC.
18288 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18290         [BZ #14117]
18291         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18292         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18293         sys/debugreg.h sys/io.h here.
18294         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18295         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18296         sys/io.h.
18297         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18298         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18299         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18300         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18301         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18302         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18304         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18305         Define only if __x86_64__ is defined.
18307 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18309         [BZ #14048]
18310         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18311         Use int64_t for variable i.
18312         * math/libm-test.inc (fmod_test): Add more tests.
18314         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18315         z computation is not scheduled after fetestexcept.
18316         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18317         Use math_force_eval instead of asm to ensure calculation scheduled
18318         before exception test.
18319         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18320         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18322 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18324         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18325         computation is not scheduled after fetestexcept.
18327 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18329         [BZ #14117]
18330         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18331         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18333 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18335         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18336         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18338 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18340         [BZ #14117]
18341         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18342         <bits/wordsize.h>.
18343         (__WCHAR_MIN): Support __WORDSIZE == 64.
18344         (__WCHAR_MAX): Likewise.
18346         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18347         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18349         [BZ #14183]
18350         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18351         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18353         [BZ #14117]
18354         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18355         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18357         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18358         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18360         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18361         Defined to 1 if __x86_64__ isn't defined.
18362         (_STAT_VER_LINUX_OLD): New.
18363         (st_atime): Remove duplicate.
18364         (st_mtime): Likewise.
18365         (st_ctime): Likewise.
18367 2012-05-31  David S. Miller  <davem@davemloft.net>
18369         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18370         entries.
18372 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18374         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18375         gen-libm-test.pl.
18377         [BZ #14132]
18378         * elf/dl-reloc.c: Include <_itoa.h>.
18379         (_dl_reloc_bad_type): Remove use of INTUSE.
18380         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18381         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18382         * stdio-common/psiginfo.c (psiginfo): Likewise.
18383         * stdio-common/psignal.c (psignal): Likewise.
18384         * string/strsignal.c (strsignal): Likewise.
18385         * include/signal.h (_sys_siglist): Declare hidden proto.
18386         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18387         INTVARDEF with libc_hidden_data_def.
18388         * stdio-common/itoa-udigits.c: Likewise.
18389         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18390         (_itoa_lower_digits_internal): Remove declaration.
18391         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18392         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18393         (_sys_sigabbrev_internal): Remove aliases.
18394         (_sys_siglist): Define hidden alias.
18396 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18399         bits/sysctl.h.
18401 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18403         [BZ #14117]
18404         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18405         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18407         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18408         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18409         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18410         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18411         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18412         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18414         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18415         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18416         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18418         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18419         with __addr.
18420         (insw): Likewise.
18421         (insl): Likewise.
18422         (outsb): Likewise.
18423         (outsw): Likewise.
18424         (outsl): Likewise.
18426         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18427         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18428         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18430         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18431         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18432         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18433         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18434         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18435         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18437         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18438         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18440         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18441         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18443         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18444         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18445         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18447         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18448         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18449         to ...
18450         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18452         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18453         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18454         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18456         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18457         for x86-64.
18458         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18460 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18462         * math/math.h (M_El): Use two more decimal places.
18463         (M_LOG2El): Likewise.
18464         (M_LOG10El): Likewise.
18465         (M_LN2l): Likewise.
18466         (M_LN10l): Likewise.
18467         (M_PIl): Likewise.
18468         (M_PI_2l): Likewise.
18469         (M_PI_4l): Likewise.
18470         (M_1_PIl): Likewise.
18471         (M_2_PIl): Likewise.
18472         (M_2_SQRTPIl): Likewise.
18473         (M_SQRT2l): Likewise.
18474         (M_SQRT1_2l): Likewise.
18476 2012-05-31  David S. Miller  <davem@davemloft.net>
18478         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18479         values between float registers.
18480         * sysdeps/sparc/sparc64/memset.S: Likewise.
18481         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18483 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18485         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18486         -D_FORTIFY_SOURCE=1.
18487         (CPPFLAGS-tst-longjmp_chk.c): Define.
18488         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18489         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18490         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18491         CFLAGS-tst-wchar-h.c.
18493 2012-05-31  Marek Polacek  <polacek@redhat.com>
18495         [BZ #14132]
18496         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18497         __endmntent_internal): Remove declaration.
18498         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18499         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18500         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18502 2012-05-30  David S. Miller  <davem@davemloft.net>
18504         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18505         (___Q_simulate_exceptions): Use real FP ops rather than writing
18506         into the %fsr.
18507         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18508         Likewise.
18510 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18512         [BZ #14117]
18513         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18514         * sysdeps/x86/bits/xtitypes.h: This.
18516         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18517         * sysdeps/x86/bits/wordsize.h: This.
18519         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18520         * sysdeps/x86/bits/huge_vall.h: This.
18522         * sysdeps/i386/bits/select.h: Removed.
18523         * sysdeps/x86_64/bits/select.h: Renamed to ...
18524         * sysdeps/x86/bits/select.h: This.
18526         * sysdeps/i386/bits/setjmp.h: Removed.
18527         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18528         * sysdeps/x86/bits/setjmp.h: This.
18530         * sysdeps/i386/bits/mathdef.h: Removed.
18531         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18532         * sysdeps/x86/bits/mathdef.h: This.
18534 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18536         [BZ #14132]
18537         * include/sys/socket.h (__connect_internal)
18538         (__libc_sa_len_internal): Remove declaration.
18539         (__connect, __libc_sa_len): Declare hidden_proto.
18540         (SA_LEN): Remove use of INTUSE.
18541         * socket/connect.c: Add libc_hidden_def.
18542         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18543         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18544         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18545         alias.
18546         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18547         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18548         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18549         of adding _internal alias.
18551 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18553         [BZ #14117]
18554         * sysdeps/i386/bits/link.h: Removed.
18555         * sysdeps/i386/bits/linkmap.h: Likewise.
18556         * sysdeps/x86_64/bits/link.h: Renamed to ...
18557         * sysdeps/x86/bits/link.h: This.
18558         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18559         * sysdeps/x86/bits/linkmap.h: This.
18561         * sysdeps/i386/bits/endian.h: Removed.
18562         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18563         * sysdeps/x86/bits/endian.h: This.
18565         * sysdeps/i386/bits/byteswap.h: Removed.
18566         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18567         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18568         * sysdeps/x86/bits/byteswap.h: This.
18569         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18570         * sysdeps/x86/bits/byteswap-16.h: This.
18571         * sysdeps/i386/Implies: Add x86.
18572         * sysdeps/x86_64/Implies: Likewise.
18574 2012-05-30  David S. Miller  <davem@davemloft.net>
18576         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18577         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18578         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18579         (FP_TRAPPING_EXCEPTIONS): Define.
18580         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18581         (FP_TRAPPING_EXCEPTIONS): Define.
18582         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18583         subnormals only when inexact has been signalled or underflow
18584         exceptions are enabled.
18585         (_FP_PACK_CANONICAL): Likewise.
18587 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18589         [BZ #14183]
18590         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18591         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18593 2012-05-30  Richard Henderson  <rth@twiddle.net>
18595         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18596         with #ifndef NOT_IN_libc.
18598         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18599         marked to avoid plt entry.
18601 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18603         [BZ #14112]
18604         * Makeconfig (default-abi): New macro.
18605         (abi-includes): Likewise.
18606         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18607         $(abi-$(default-abi)-lib-soname) for soname if defined.
18608         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18609         abi-variants.
18610         * Makefile (installed-stubs): Likewise.
18611         * include/stubs-biarch.h: Removed.
18612         * scripts/lib-names.awk: Only handle one library at a time.
18613         * scripts/soversions.awk: Remove WORDSIZE support.
18614         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18615         entries.
18616         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18617         Removed.
18618         (syscall-list-default-condition): Likewise.
18619         (syscall-list-default-condition): Likewise.
18620         (syscall-list-includes): Likewise.
18621         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18622         syscall-list-* with abi-*.  Handle undefined abi-variants.
18623         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18624         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18625         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18626         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18627         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18628         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18629         Removed.
18630         (syscall-list-32-options): Likewise.
18631         (syscall-list-32-condition): Likewise.
18632         (syscall-list-64-options): Likewise.
18633         (syscall-list-64-condition): Likewise.
18634         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18635         macro.
18636         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18637         Renamed to ...
18638         (abi-*): This.
18639         (abi-64-ld-soname): New macro.
18640         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18641         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18642         Renamed to ...
18643         (abi-*): This.
18644         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18645         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18647 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18649         * sysdeps/unix/sysv/linux/kernel-features.h
18650         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18651         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18652         include <kernel-features.h>.
18653         [!__NR_ftruncate64]: Remove conditional code.
18654         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18655         [__NR_ftruncate64]: Make code unconditional.
18656         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18657         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18658         include <kernel-features.h>.
18659         [!__NR_ftruncate64]: Remove conditional code.
18660         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18661         [__NR_ftruncate64]: Make code unconditional.
18662         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18664         include <kernel-features.h>.
18665         [!__NR_ftruncate64]: Remove conditional code.
18666         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18667         [__NR_ftruncate64]: Make code unconditional.
18668         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18670         include <kernel-features.h>.
18671         [!__NR_ftruncate64]: Remove conditional code.
18672         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18673         [__NR_ftruncate64]: Make code unconditional.
18674         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18676         * configure.in (libc_cv_fpie): Weaken to a compile test using
18677         LIBC_TRY_CC_OPTION.
18678         * configure: Regenerated.
18680 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18686         Refreshed.
18687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18693         Refreshed.
18695 2012-05-27  David S. Miller  <davem@davemloft.net>
18697         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18698         (___Q_zero): New.
18699         (__Q_simulate_exceptions): Return void.  Change to simulate
18700         exceptions by writing into the %fsr.
18701         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18702         (__Qp_handle_exceptions): Likewise.
18703         (numbers): Delete.
18704         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18705         __Qp_handle_exceptions.
18706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18707         __Qp_handle_exceptions.
18708         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18709         as unused and give dummy FP_RND_NEAREST initializer.
18710         (FP_INHIBIT_RESULTS): Define.
18711         (___Q_simulate_exceptions): Update declaration.
18712         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18713         formatting.
18714         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18715         as unused and give dummy FP_RND_NEAREST initializer.
18716         (__Qp_handle_exceptions): Update declaration.
18717         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18718         formatting.
18720 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18722         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18723         the temporary FPU control word.
18724         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18725         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18726         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18727         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18728         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18729         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18730         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18731         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18732         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18733         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18734         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18736 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18738         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18739         fields.
18741 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18743         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18744         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18745         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18746         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18749         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18750         Likewise.
18752 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18754         * po/h.po: Update from translation team.
18756 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18758         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18760         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18761         handling of denormals.
18762         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18763         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18764         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18765         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18769         Likewise.
18771 2012-05-26  Marek Polacek  <polacek@redhat.com>
18773         [BZ #14152]
18774         * math/libm-test.inc (fma_test): Don't always expect underflow
18775         exception.
18777 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18779         [BZ #12416]
18780         * elf/tst-execstack.c: Include stackinfo.h.
18781         (do_test): Adjust test case to ensure that pthread_getattr_np
18782         behaviour remains the same after marking stack executable.
18784 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18786         * sysdeps/unix/sysv/linux/kernel-features.h
18787         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18788         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18789         kernel-features.h.
18790         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18791         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18792         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18793         kernel-features.h.
18794         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18795         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18797 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18799         * configure.in: Define the default includes to being none.
18800         * configure: Regenerated.
18802 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18804         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18805         * sysdeps/x86_64/setjmp.S: Likewise.
18806         * sysdeps/i386/bsd-setjmp.S: Likewise.
18807         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18808         * sysdeps/i386/setjmp.S: Likewise.
18809         * sysdeps/i386/__longjmp.S: Likewise.
18810         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18811         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18813         * include/stap-probe.h: New file.
18814         * configure.in: Handle --enable-systemtap.
18815         * configure: Regenerated.
18816         * config.h.in (USE_STAP_PROBE): New #undef.
18817         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18818         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18819         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18821 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18823         [BZ #13717]
18824         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18825         to 2.4.0 where earlier.
18826         * sysdeps/unix/sysv/linux/configure: Regenerated.
18827         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18828         <kernel-features.h>.
18829         [__ASSUME_32BITUIDS]: Make code unconditional.
18830         [!__ASSUME_32BITUIDS]: Remove conditional code.
18831         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18832         <kernel-features.h>.
18833         [__ASSUME_32BITUIDS]: Make code unconditional.
18834         [!__ASSUME_32BITUIDS]: Remove conditional code.
18835         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18836         [__ASSUME_32BITUIDS]: Make code unconditional.
18837         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18838         * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.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/i386/getgid.c: Do not include
18847         <kernel-features.h>.
18848         [__ASSUME_32BITUIDS]: Make code unconditional.
18849         [!__ASSUME_32BITUIDS]: Remove conditional code.
18850         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18851         <kernel-features.h>.
18852         [__ASSUME_32BITUIDS]: Make code unconditional.
18853         [!__ASSUME_32BITUIDS]: Remove conditional code.
18854         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18855         <kernel-features.h>.
18856         [__ASSUME_32BITUIDS]: Make code unconditional.
18857         [!__ASSUME_32BITUIDS]: Remove conditional code.
18858         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18859         <kernel-features.h>.
18860         [__ASSUME_32BITUIDS]: Make code unconditional.
18861         [!__ASSUME_32BITUIDS]: Remove conditional code.
18862         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18863         <kernel-features.h>.
18864         [__ASSUME_32BITUIDS]: Make code unconditional.
18865         [!__ASSUME_32BITUIDS]: Remove conditional code.
18866         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18867         <kernel-features.h>.
18868         [__ASSUME_32BITUIDS]: Make code unconditional.
18869         [!__ASSUME_32BITUIDS]: Remove conditional code.
18870         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18871         <kernel-features.h>.
18872         [__ASSUME_32BITUIDS]: Make code unconditional.
18873         [!__ASSUME_32BITUIDS]: Remove conditional code.
18874         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18875         <kernel-features.h>.
18876         [__ASSUME_32BITUIDS]: Make code unconditional.
18877         [!__ASSUME_32BITUIDS]: Remove conditional code.
18878         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18879         <kernel-features.h>.
18880         [__NR_setresgid] (__setresgid): Do not declare.
18881         [__ASSUME_32BITUIDS]: Make code unconditional.
18882         [!__ASSUME_32BITUIDS]: Remove conditional code.
18883         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18884         <kernel-features.h>.
18885         [__NR_setresuid] (__setresuid): Do not declare.
18886         [__ASSUME_32BITUIDS]: Make code unconditional.
18887         [!__ASSUME_32BITUIDS]: Remove conditional code.
18888         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18889         <kernel-features.h>.
18890         [__ASSUME_32BITUIDS]: Make code unconditional.
18891         [!__ASSUME_32BITUIDS]: Remove conditional code.
18892         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18893         <kernel-features.h>.
18894         [__ASSUME_32BITUIDS]: Make code unconditional.
18895         [!__ASSUME_32BITUIDS]: Remove conditional code.
18896         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18897         <kernel-features.h>.
18898         [__ASSUME_32BITUIDS]: Make code unconditional.
18899         [!__ASSUME_32BITUIDS]: Remove conditional code.
18900         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18901         <kernel-features.h>.
18902         [__ASSUME_32BITUIDS]: Make code unconditional.
18903         [!__ASSUME_32BITUIDS]: Remove conditional code.
18904         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18905         <kernel-features.h>.
18906         [__ASSUME_32BITUIDS]: Make code unconditional.
18907         [!__ASSUME_32BITUIDS]: Remove conditional code.
18908         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18909         <kernel-features.h>.
18910         [__ASSUME_32BITUIDS]: Make code unconditional.
18911         [!__ASSUME_32BITUIDS]: Remove conditional code.
18912         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18913         <kernel-features.h>.
18914         [__ASSUME_32BITUIDS]: Make code unconditional.
18915         [!__ASSUME_32BITUIDS]: Remove conditional code.
18916         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18917         <kernel-features.h>.
18918         [__ASSUME_32BITUIDS]: Make code unconditional.
18919         [!__ASSUME_32BITUIDS]: Remove conditional code.
18920         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18921         <kernel-features.h>.
18922         [__ASSUME_32BITUIDS]: Make code unconditional.
18923         [!__ASSUME_32BITUIDS]: Remove conditional code.
18924         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18925         <kernel-features.h>.
18926         [__ASSUME_32BITUIDS]: Make code unconditional.
18927         [!__ASSUME_32BITUIDS]: Remove conditional code.
18928         * sysdeps/unix/sysv/linux/kernel-features.h
18929         (__ASSUME_SETRESUID_SYSCALL): Remove.
18930         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18931         (__ASSUME_32BITUIDS): Likewise.
18932         (__ASSUME_LDT_WORKS): Likewise.
18933         (__ASSUME_O_DIRECTORY): Likewise.
18934         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18935         architecture but not kernel version.
18936         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18937         (__ASSUME_MMAP2_SYSCALL): Likewise.
18938         (__ASSUME_STAT64_SYSCALL): Likewise.
18939         (__ASSUME_IPC64): Likewise.
18940         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18941         <kernel-features.h>.
18942         [__ASSUME_32BITUIDS]: Make code unconditional.
18943         [!__ASSUME_32BITUIDS]: Remove conditional code.
18944         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18945         <kernel-features.h>.
18946         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18947         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18948         132096]: Remove conditional code.
18949         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18950         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18951         <kernel-features.h>.
18952         [__ASSUME_32BITUIDS]: Make code unconditional.
18953         [!__ASSUME_32BITUIDS]: Remove conditional code.
18954         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18955         <kernel-features.h>.
18956         [__ASSUME_32BITUIDS]: Make code unconditional.
18957         [!__ASSUME_32BITUIDS]: Remove conditional code.
18958         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18959         <kernel-features.h>.
18960         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18961         unconditional.
18962         (__setresgid): Do not declare.
18963         [__ASSUME_32BITUIDS]: Make code unconditional.
18964         [!__ASSUME_32BITUIDS]: Remove conditional code.
18965         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18966         <kernel-features.h>.
18967         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18968         unconditional.
18969         (__setresuid): Do not declare.
18970         [__ASSUME_32BITUIDS]: Make code unconditional.
18971         [!__ASSUME_32BITUIDS]: Remove conditional code.
18972         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18973         <kernel-features.h>.
18974         [__ASSUME_32BITUIDS]: Make code unconditional.
18975         [!__ASSUME_32BITUIDS]: Remove conditional code.
18976         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18977         <kernel-features.h>.
18978         [__ASSUME_32BITUIDS]: Make code unconditional.
18979         [!__ASSUME_32BITUIDS]: Remove conditional code.
18981 2012-05-25  Richard Henderson  <rth@twiddle.net>
18983         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18984         dl_hwcap to ifunc resolver.
18985         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18986         elf_ifunc_invoke.
18987         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18988         dl_hwcap to ifunc resolver.
18989         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18991 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18993         [BZ #14153]
18994         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18995         for |x| <= 2**-26, not 2**-57.
18996         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18997         exception.
18999 2012-05-24  Jeff Law  <law@redhat.com>
19001         * stdio-common/Makefile (tests): Add bug25.
19002         * stdio-common/bug25.c: New test.
19004 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19006         [BZ #13576]
19007         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19008         multiple of MALLOC_ALIGNMENT in size.
19009         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19011 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19013         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19014         Require >= 256.
19015         (FILENAME_MAX): Use macro-int-constant.
19016         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19017         (_IOFBF): Use macro-int-constant.
19018         (_IOLBF): Likewise.
19019         (_IONBF): Likewise.
19020         (SEEK_CUR): Likewise.
19021         (SEEK_END): Likewise.
19022         (SEEK_SET): Likewise.
19023         (TMP_MAX): Likewise.
19024         (EOF): Use macro-int-constant.  Require < 0.
19025         (NULL): Use macro-constant.  Require == 0.
19026         (stdin): Require type to be FILE *.
19027         (stdout): Likewise.
19028         (stderr): Likewise.
19029         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19030         macro-int-constant.
19031         (EXIT_SUCCESS): Likewise.
19032         (NULL): Use macro-constant.  Require == 0.
19033         (RAND_MAX): Use macro-int-constant.
19034         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19035         [C99-based standards] (strtof): Require function.
19036         [C99-based standards] (strtold): Likewise.
19037         [C99-based standards] (strtoll): Likewise.
19038         [C99-based standards] (strtoull): Likewise.
19039         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19040         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19041         [ISO || ISO99 || ISO11] (math.h): Likewise.
19042         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19043         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19046 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19048         [BZ #14132]
19049         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19050         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19051         * intl/dgettext.c (DCGETTEXT): Likewise.
19052         * intl/gettext.c (DCGETTEXT): Likewise.
19053         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19054         * posix/regex_internal.h (gettext): Likewise.
19055         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19056         Remove declaration.
19057         * include/argz.h (__argz_count_internal)
19058         (__argz_stringify_internal): Remove declaration.
19059         (__argz_count, __argz_stringify): Declare hidden proto.
19060         * intl/dcgettext.c: Remove use of INTDEF.
19061         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19062         * string/argz-stringify.c: Likewise.
19063         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19064         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19065         Declare hidden proto.
19066         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19067         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19068         Declare hidden proto.
19069         * include/stdio.h (__asprintf_internal): Don't declare.
19070         (__asprintf): Don't define as macro.  Declare hidden proto.
19071         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19072         (__fsetlocking): Declare hidden proto.
19073         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19074         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19075         hidden proto.
19076         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19077         (_IO_setlinebuf): Remove use of INTUSE.
19078         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19079         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19080         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19081         Remove declaration.
19082         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19083         (_IO_do_flush): Remove use of INTUSE.
19084         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19085         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19086         (_IO_adjust_column, _IO_least_wmarker)
19087         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19088         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19089         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19090         (_IO_default_doallocate, _IO_wdefault_doallocate)
19091         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19092         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19093         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19094         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19095         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19096         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19097         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19098         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19099         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19100         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19101         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19102         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19103         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19104         proto.
19105         (_IO_flush_all_internal, _IO_adjust_column_internal)
19106         (_IO_default_uflow_internal, _IO_default_finish_internal)
19107         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19108         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19109         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19110         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19111         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19112         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19113         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19114         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19115         (_IO_file_close_internal, _IO_file_close_it_internal)
19116         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19117         (_IO_file_init_internal, _IO_file_attach_internal)
19118         (_IO_file_fopen_internal, _IO_file_read_internal)
19119         (_IO_file_sync_internal, _IO_file_seek_internal)
19120         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19121         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19122         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19123         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19124         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19125         (_IO_list_all_internal, _IO_link_in_internal)
19126         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19127         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19128         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19129         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19130         (_IO_do_write_internal, _IO_padn_internal)
19131         (_IO_getline_info_internal, _IO_getline_internal)
19132         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19133         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19134         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19135         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19136         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19137         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19138         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19139         with libc_hidden_ver, remove use of INTUSE.
19140         * libio/genops.c: Likewise.
19141         * libio/freopen.c: Likewise.
19142         * libio/freopen64.c: Likewise.
19143         * libio/iofclose.c: Likewise.
19144         * libio/iofdopen.c: Likewise.
19145         * libio/iofflush.c: Likewise.
19146         * libio/iofflush_u.c: Likewise.
19147         * libio/iofgets.c: Likewise.
19148         * libio/iofgets_u.c: Likewise.
19149         * libio/iofopen.c: Likewise.
19150         * libio/iofopncook.c: Likewise.
19151         * libio/iofread.c: Likewise.
19152         * libio/iofread_u.c: Likewise.
19153         * libio/ioftell.c: Likewise.
19154         * libio/iofwrite.c: Likewise.
19155         * libio/iogetline.c: Likewise.
19156         * libio/iogets.c: Likewise.
19157         * libio/iogetwline.c: Likewise.
19158         * libio/iopadn.c: Likewise.
19159         * libio/iopopen.c: Likewise.
19160         * libio/ioseekoff.c: Likewise.
19161         * libio/ioseekpos.c: Likewise.
19162         * libio/iosetbuffer.c: Likewise.
19163         * libio/iosetvbuf.c: Likewise.
19164         * libio/ioungetc.c: Likewise.
19165         * libio/ioungetwc.c: Likewise.
19166         * libio/iovdprintf.c: Likewise.
19167         * libio/iovsprintf.c: Likewise.
19168         * libio/iovsscanf.c: Likewise.
19169         * libio/memstream.c: Likewise.
19170         * libio/obprintf.c: Likewise.
19171         * libio/oldfileops.c: Likewise.
19172         * libio/oldiofclose.c: Likewise.
19173         * libio/oldiofdopen.c: Likewise.
19174         * libio/oldiofopen.c: Likewise.
19175         * libio/oldiopopen.c: Likewise.
19176         * libio/oldstdfiles.c: Likewise.
19177         * libio/putc.c: Likewise.
19178         * libio/setbuf.c: Likewise.
19179         * libio/setlinebuf.c: Likewise.
19180         * libio/stdfiles.c: Likewise.
19181         * libio/strops.c: Likewise.
19182         * libio/vasprintf.c: Likewise.
19183         * libio/vscanf.c: Likewise.
19184         * libio/vsnprintf.c: Likewise.
19185         * libio/vswprintf.c: Likewise.
19186         * libio/wfiledoalloc.c: Likewise.
19187         * libio/wfileops.c: Likewise.
19188         * libio/wgenops.c: Likewise.
19189         * libio/wmemstream.c: Likewise.
19190         * libio/wstrops.c: Likewise.
19191         * libio/__fpurge.c: Likewise.
19192         * libio/__fsetlocking.c: Likewise.
19193         * assert/assert.c: Likewise.
19194         * debug/fgets_chk.c: Likewise.
19195         * debug/fgets_u_chk.c: Likewise.
19196         * debug/fread_chk.c: Likewise.
19197         * debug/fread_u_chk.c: Likewise.
19198         * debug/gets_chk.c: Likewise.
19199         * debug/obprintf_chk.c: Likewise.
19200         * debug/vasprintf_chk.c: Likewise.
19201         * debug/vdprintf_chk.c: Likewise.
19202         * debug/vsnprintf_chk.c: Likewise.
19203         * debug/vsprintf_chk.c: Likewise.
19204         * malloc/mtrace.c: Likewise.
19205         * misc/error.c: Likewise.
19206         * misc/syslog.c: Likewise.
19207         * stdio-common/asprintf.c: Likewise.
19208         * stdio-common/fxprintf.c: Likewise.
19209         * stdio-common/getw.c: Likewise.
19210         * stdio-common/isoc99_fscanf.c: Likewise.
19211         * stdio-common/isoc99_scanf.c: Likewise.
19212         * stdio-common/isoc99_vfscanf.c: Likewise.
19213         * stdio-common/isoc99_vscanf.c: Likewise.
19214         * stdio-common/isoc99_vsscanf.c: Likewise.
19215         * stdio-common/printf-prs.c: Likewise.
19216         * stdio-common/printf_fp.c: Likewise.
19217         * stdio-common/printf_fphex.c: Likewise.
19218         * stdio-common/printf_size.c: Likewise.
19219         * stdio-common/putw.c: Likewise.
19220         * stdio-common/scanf.c: Likewise.
19221         * stdio-common/sprintf.c: Likewise.
19222         * stdio-common/tmpfile.c: Likewise.
19223         * stdio-common/vfprintf.c: Likewise.
19224         * stdio-common/vfscanf.c: Likewise.
19225         * stdlib/strfmon_l.c: Likewise.
19226         * sunrpc/openchild.c: Likewise.
19227         * sunrpc/xdr_stdio.c: Likewise.
19228         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19229         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19231 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19233         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19235         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19236         in the third column, to generate for the shared library an IFUNC
19237         that uses _dl_vdso_vsym.
19238         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19239         * Makeconfig (object-suffixes-noshared): New variable.
19241         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19242         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19243         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19244         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19246         [BZ #14132]
19247         * include/sys/time.h (__gettimeofday): Remove macro.
19248         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19249         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19250         Remove INTDEF.
19251         (__gettimeofday): Add libc_hidden_def.
19252         (gettimeofday): Add libc_hidden_weak.
19253         * sysdeps/mach/gettimeofday.c: Likewise.
19254         * sysdeps/posix/gettimeofday.c: Likewise.
19255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19256         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19258         (__gettimeofday_internal): Remove strong_alias.
19259         (__gettimeofday): Add libc_hidden_def.
19260         (gettimeofday): Add libc_hidden_weak.
19261         * sysdeps/unix/syscalls.list (gettimeofday):
19262         Remove __gettimeofday_internal alias.
19264 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19265             H.J. Lu  <hongjiu.lu@intel.com>
19267         [BZ #12495]
19268         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19269         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19270         (largebin_index_32_big): New.
19271         (largebin_index): Use it for 16-byte alignment.
19272         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19273         correction with front_misalign.
19275 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19279         Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19281         Likewise.
19282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19283         Likewise.
19284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19285         Likewise.
19286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19287         Likewise.
19288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19289         Likewise.
19290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19291         Likewise.
19292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19293         Likewise.
19294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19295         Likewise.
19296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19297         Likewise.
19298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19299         Likewise.
19300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19301         Likewise.
19303         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19304         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19306 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19308         [BZ #10846]
19309         [BZ #14036]
19310         * math/libm-test.inc (exp_test): Add test from bug 14036.
19311         (pow_test): Add test from bug 10846.
19313         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19314         and other flags.
19315         (special_function): Do not include flags in test name.
19316         (parse_args): Likewise.
19317         * sysdeps/i386/fpu/libm-test-ulps: Update.
19318         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19319         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19320         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19323         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19324         exceptions.
19325         * math/libm-test.inc ("Philosophy"): Update comment about
19326         exception testing.
19327         (UNDERFLOW_EXCEPTION): New macro.
19328         (UNDERFLOW_EXCEPTION_OK): Likewise.
19329         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19330         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19331         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19332         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19333         (INVALID_EXCEPTION_OK): Update value.
19334         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19335         (OVERFLOW_EXCEPTION_OK): Likewise.
19336         (IGNORE_ZERO_INF_SIGN): Likewise.
19337         (test_exceptions): Handle underflow exceptions.
19338         (acos_test): Update for underflow exception expectations.
19339         (cexp_test): Likewise.
19340         (clog_test): Likewise.
19341         (clog10_test): Likewise.
19342         (csqrt_test): Likewise.
19343         (ctan_test): Likewise.
19344         (ctanh_test): Likewise.
19345         (exp_test): Likewise.
19346         (exp10_test): Likewise.
19347         (exp2_test): Likewise.
19348         (expm1_test): Likewise.
19349         (fma_test): Likewise.
19350         (j0_test): Likewise.
19351         (jn_test): Likewise.
19352         (nexttoward_test): Likewise.
19353         (pow_test): Likewise.
19354         (scalbn_test): Likewise.
19355         (scalbln_test): Likewise.
19356         (tan_test): Likewise.
19357         (y1_test): Likewise.
19358         * sysdeps/i386/fpu/libm-test-ulps: Update.
19359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19361 2012-05-23  David S. Miller  <davem@davemloft.net>
19363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19364         (__libc_sigaction): Remove unused local variables.
19366 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19368         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19370 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19372         mktime: avoid signed integer overflow
19373         * time/mktime.c (__mktime_internal): Do not mishandle the case
19374         where diff == INT_MIN.
19376         mktime: simplify computation of average
19377         * time/mktime.c (ranged_convert): Use new time_t_avg function
19378         instead of rolling our own (probably-slower) code.
19380         mktime: do not assume signed right shift propagates sign bit
19381         * time/mktime.c (isdst_differ): New static function.
19382         (__mktime_internal): No need to normalize tm_isdst now.
19383         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19384         tm_isdst values.
19386         mktime: merge another wrapv change from gnulib
19387         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19388         from some compilers.
19390         mktime: remove incorrect attempt at unusual arithmetics
19391         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19392         The code didn't really work on such machines anyway.
19393         (TYPE_MINIMUM): Assume two's complement.
19394         (twos_complement_arithmetic): Verify that long_int and time_t
19395         are two's complement (or unsigned, in the latter case).
19397         mktime: check signed shifts on long_int and time_t, too
19398         * time/mktime.c (SHR): Check that shifts work as desired
19399         on the types long_int and time_t too, as SHR is used on
19400         such types.
19402         mktime: do not assume 'long' is wide enough
19403         * time/mktime.c (verify): Move decl up.
19404         (long_int): New type.
19405         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19406         to remove assumption in the code that 'long' is wide enough to
19407         store year values.  This assumption is not true on x32 and on
19408         some non-glibc platforms.
19410         mktime: merge wrapv change from gnulib
19411         * time/mktime.c (WRAPV): New macro.
19412         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19413         (guess_time_tm, __mktime_internal): Do not assume that signed
19414         integer overflow wraps around; modern compilers generate code
19415         where this assumption is no longer valid.
19417 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19419         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19420         Replace "jmp L(pseudo_end)" with "ret".
19421         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19422         Likewise.
19424 2012-05-23  Andreas Jaeger  <aj@suse.de>
19426         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19427         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19429 2012-05-23  Andreas Jaeger  <aj@suse.de>
19430             Maximilian Attems  <max@stro.at>
19432         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19433         New macros.
19435 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19437         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19438         code so that pseudo_end is just ret and the stack pointer is
19439         correct also for static library in error case.
19441 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19443         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19444         move to syscalls.list.
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19450         * manual/install.texi (Running make install): Do not mention Linux
19451         kernel version for which pt_chown is not needed.
19452         (Linux): Do not mention problems with nscd with 2.0 kernels.
19453         * INSTALL: Regenerated.
19455 2012-05-23  Andreas Jaeger  <aj@suse.de>
19457         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19458         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19459         macro.
19460         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19461         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19462         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19463         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19464         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19465         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19467         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19468         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19469         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19470         * sysdeps/unix/sysv/linux/bits/in.h
19471         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19473 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19475         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19476         (PREPARE_VERSION): Just use assert instead, it will be elided
19477         under [NDEBUG] anyway.
19479 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19481         * sysdeps/unix/sysv/linux/Makefile: Include
19482         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19483         (sysdep_routines): Remove sysctl.
19484         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19485         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19486         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19487         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19488         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19490 2012-05-22  Andreas Jaeger  <aj@suse.de>
19492         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19493         that pseudo_end is just ret and the stack pointer is correct also
19494         for static library in error case.
19496 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19498         [BZ #14122]
19499         * nss/nsswitch.c (defconfig_entries): New variable.
19500         (__nss_database_lookup): Don't leak defconfig entries.
19501         (nss_parse_service_list): Don't leak on error paths.
19502         (free_database_entries): New function.
19503         (free_defconfig): New function.
19504         (free_mem): Move common code to free_database_entries.
19506 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19508         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19509         Add arch_prctl.
19510         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19512         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19513         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19515         New macro.
19516         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19517         (INTERNAL_SYSCALL_TYPES): Likewise.
19518         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19519         (LOAD_REGS_TYPES_[1-6]): Likewise.
19520         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19521         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19523 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19525         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19526         copysignl for GLIBC_2_0.
19527         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19528         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19530         logbl for GLIBC_2_0.
19531         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19532         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19534 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19537         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19539         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19540         Use "neg %eax".
19542         * time/mktime.c: Update copyright years.
19544 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19546         mktime: merge comment-quoting-style change from gnulib
19547         * time/mktime.c: Quote 'like this' in comments.
19548         The GNU coding standards suggest that we no longer quote `like this',
19549         as "`" and "'" are typically rendered asymmetrically nowadays.
19550         The typical gnulib style is to quote 'like this' when quoting
19551         code, and "like this" when quoting English.
19553         * time/mktime.c (compile-command): Add "-I.".
19555         mktime: merge mktime-internal.h change from gnulib
19556         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19558         mktime: merge time_r change from gnulib
19559         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19561         mktime: merge DEBUG change from gnulib
19562         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19563         case system <time.h> has a #define.
19565         mktime: merge <sys/types.h> change from gnulib
19566         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19567         since <time.t> is now guaranteed to define time_t.
19569         mktime: merge HAVE_CONFIG_H change from gnulib
19570         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19572 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19575         Use "neg %eax".
19577         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19578         __rlim_t cast.
19579         (struct rusage): Use anonymous union to pad each field to
19580         __syscall_slong_t.
19582 2012-05-21  David S. Miller  <davem@davemloft.net>
19584         * Makefules (o-iterator): Remove .s cases.
19585         (compile-command.s): Delete.
19586         (COMPILE.s): Delete.
19587         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19589 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19591         * configure.in (libc_cv_predef_stack_protector): Only consider
19592         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19593         * configure: Regenerated.
19595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19598         New macro.  Use R*LP on int and pointer.
19599         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19600         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19601         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19602         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19604         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19605         [__WORDSIZE_TIME64_COMPAT32] instead of
19606         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19607         (struct utmp): Likewise.
19608         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19609         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19610         Renamed to ...
19611         (__WORDSIZE_TIME64_COMPAT32): This.
19612         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19613         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19614         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19615         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19616         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19617         (__WORDSIZE_TIME64_COMPAT32): New macro.
19619 2012-05-21  Andreas Jaeger  <aj@suse.de>
19621         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19622         only if [SHARED]. Add prototype for __wcschr_ia32.
19624 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19626         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19627         of %rbp unmolested in the jmp_buf while mangling the low bits.
19628         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19629         unmolested high bits of %rbp while demangling the low bits.
19630         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19632 2012-05-21  Andreas Jaeger  <aj@suse.de>
19634         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19635         * sunrpc/svc_simple.c: Use it for registerrpc.
19636         * sunrpc/xcrypt.c: Use it for passwd2des.
19638         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19640 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19642         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19643         Don't define if [__SYSCALL_WORDSIZE != 32].
19644         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19645         New macro.
19647 2012-05-21  Bruno Haible  <bruno@clisp.org>
19648             Andreas Jaeger  <aj@suse.de>
19650         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19651         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19652         inptr and inend for must_buffer_ch.
19653         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19654         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19655         * stdio-common/Makefile (tests): Remove bug15.
19656         (bug15-ENV): Remove macro.
19657         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19658         anymore.
19660 2012-05-19  Andreas Jaeger  <aj@suse.de>
19661             Roland McGrath  <roland@hack.frob.com>
19663         * manual/contrib.texi: Completely rewritten. It contains now an
19664         alphabetical list of contributors and their contributions.
19666 2012-05-21  Richard Henderson  <rth@twiddle.net>
19668         * misc/getauxval.c (__getauxval): Use unsigned long int.
19669         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19670         (getauxval): Use unsigned long int.
19672 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19674         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19676 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19678         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19679         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19680         __alignof__ (long double).
19682 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19686 2012-05-20  Richard Henderson  <rth@twiddle.net>
19688         * misc/getauxval.c: New file.
19689         * misc/sys/auxv.h: New file.
19690         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19691         (routines): Add getauxval.
19692         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19693         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19694         * elf/dl-sysdep.c (_dl_auxv): Remove.
19695         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19696         * elf/dl-support.c (_dl_auxv): New variable.
19697         (_dl_aux_init): Initialize it.
19698         * manual/startup.texi (Auxiliary Vector): New node.
19699         * sysdeps/generic/bits/hwcap.h: New file.
19700         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19701         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19702         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19703         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19704         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19705         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19707         Update.
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19717 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19721 2012-05-19  David S. Miller  <davem@davemloft.net>
19723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19725 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19727         [BZ #14123]
19728         * math/s_ccosh.c: Include <float.h>
19729         (__ccosh): Avoid internal overflow calculating sinh and cosh
19730         values before multiplying by sin and cos values.
19731         * math/s_ccoshf.c: Likewise.
19732         * math/s_ccoshl.c: Likewise.
19733         * math/s_csin.c: Likewise.
19734         * math/s_csinf.c: Likewise.
19735         * math/s_csinl.c: Likewise.
19736         * math/s_csinh.c: Likewise.
19737         * math/s_csinhf.c: Likewise.
19738         * math/s_csinhl.c: Likewise.
19739         * math/libm-test.inc (ccos_test): Add more tests.
19740         (ccosh_test): Likewise.
19741         (csin_test): Likewise.
19742         (csinh_test): Likewise.
19743         * sysdeps/i386/fpu/libm-test-ulps: Update.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19746 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19748         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19749         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19751         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19753 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19755         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19756         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19757         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19758         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19759         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19760         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19761         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19762         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19763         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19764         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19765         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19766         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19767         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19768         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19769         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19770         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19771         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19772         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19773         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19774         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19775         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19776         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19777         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19778         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19779         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19780         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19781         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19782         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19783         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19784         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19785         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19787 2012-05-18  Andreas Jaeger  <aj@suse.de>
19789         * csu/.gitignore: Delete.
19791 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19793         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19794         (timex): Use __syscall_slong_t.
19796 2012-05-18  Andreas Jaeger  <aj@suse.de>
19797             Carlos O'Donell  <carlos_odonell@mentor.com>
19799         * manual/install.texi (Configuring and compiling): Update
19800         description about files modified in the source directory.
19801         * INSTALL: Regenerated.
19803 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19805         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19806         value.  Use "or" to set return value to -1.
19807         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19808         negate return value.
19810 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19812         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19813         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19814         failure if the compiler has Graphite support disabled.
19815         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19816         Likewise.
19817         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19818         CFLAGS-memmove.c): Likewise.
19819         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19820         Likewise.
19822 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19824         * sysdeps/x86_64/x32/_itoa.h: New file.
19826         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19827         getdents system call only if kernel and user dirents have the
19828         same d_ino and d_off.
19830         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19831         LLONG_MAX != LONG_MAX.
19832         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19833         (_fitoa_word): Likewise.
19835         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19836         years.
19837         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19838         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19839         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19841         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19842         include <bits/wordsize.h>.  Check __x86_64__ instead of
19843         __WORDSIZE.
19844         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19845         if __x86_64__ is defined.  Use anonymous union on fpstate.
19847         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19848         anonymous union.
19850 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19852         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19853         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19854         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19855         Refer to _rtld_local_ro instead of _rtld_global_ro.
19856         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19857         Likewise.
19858         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19859         Likewise.
19860         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19861         Likewise.
19862         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19863         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19864         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19866         * sysdeps/powerpc/powerpc32/dl-machine.c
19867         (__elf_machine_runtime_setup) [PROF]: Don't reference
19868         _dl_prof_resolve.
19870 2012-05-18  Andreas Jaeger  <aj@suse.de>
19872         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19873         function only available for GCCs before 3.4 since GCC 3.4
19874         introduced a builtin.
19875         (lrint): Likewise.
19876         (llrintf): Likewise.
19877         (llrint): Likewise.
19878         (fmaxf): Likewise.
19879         (fmax): Likewise.
19880         (fminf): Likewise.
19881         (fmin): Likewise.
19882         (rint): Likewise.
19883         (rintf): Likewise.
19884         (nearbyint): Likewise.
19885         (nearbyintf): Likewise.
19886         (ceil): Likewise.
19887         (ceilf): Likewise.
19888         (floor): Likewise.
19889         (floorf): Likewise.
19891 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19893         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19894         on both fields and cast pointer to __syscall_ulong_t.
19896         * bits/types.h (__fsword_t): New type.
19897         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19898         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19900         (__FSWORD_T_TYPE): Likewise.
19901         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19902         (__FSWORD_T_TYPE): Likewise.
19903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19904         (__FSWORD_T_TYPE): Likewise.
19905         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19906         (__FSWORD_T_TYPE): Likewise.
19907         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19908         __SWORD_TYPE with __fsword_t.
19909         (statfs64): Likewise.
19911 2012-05-17  David S. Miller  <davem@davemloft.net>
19913         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19915 2012-05-17  Andreas Jaeger  <aj@suse.de>
19917         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19918         warning.
19920 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19922         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19924 2012-05-17  Andreas Jaeger  <aj@suse.de>
19926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19927         when it is used.
19929 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19931         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19933 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19935         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19936         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19938 2012-05-17  Andreas Jaeger  <aj@suse.de>
19939             Carlos O'Donell  <carlos_odonell@mentor.com>
19941         [BZ #14059]
19942         * sysdeps/x86_64/multiarch/init-arch.h
19943         (bit_YMM_Usable): Rename to...
19944         (bit_AVX_Usable): ... this.
19945         (bit_FMA4_Usable): New macro.
19946         (bit_XMM_state): New macro.
19947         (bit_YMM_state): New macro.
19948         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19949         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19950         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19951         (CPUID_OSXSAVE): New macro.
19952         (CPUID_AVX): New macro.
19953         (CPUID_FMA4): New macro.
19954         (index_YMM_Usable): Rename to...
19955         (index_AVX_Usable): ... this.
19956         (HAS_AVX): Use HAS_ARCH_FEATURE.
19957         (HAS_FMA4): Likewise.
19958         (HAS_YMM_USABLE): Remove.
19959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19960         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19961         are present.
19962         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19963         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19964         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19965         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19966         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19968 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19970         * math/libm-test.c: Support platforms without multiple rounding modes.
19971         * math/bug-nextafter.c: Support platforms without FP exceptions.
19972         * math/bug-nexttoward.c: Likewise.
19973         * math/test-fenv.c: Likewise.
19974         * math/test-misc.c: Likewise.
19975         * stdlib/bug-getcontext.c: Likewise.
19977 2012-05-17  Andreas Jaeger  <aj@suse.de>
19979         * manual/examples/search.c (critter_cmp): Change signature to
19980         avoid warnings.
19981         * manual/string.texi (Collation Functions): Likewise.
19983 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19985         * bits/types.h: Fold copyright years.
19986         * bits/typesizes.h: Likewise.
19987         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19991         * time/time.h: Likewise.
19993 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19995         [BZ #208]
19996         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19997         in instead of returning them.  Return void.
19998         (__libc_mallinfo): Accumulate over all arenas.
19999         (__malloc_stats): Adjust for change in int_mallinfo interface.
20001 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20003         [BZ #10375]
20004         * configure.in (NM): Add AC_CHECK_TOOL for it.
20005         (libc_extra_cflags): New substituted variable.
20006         Check for -fstack-protector being used implicitly.
20007         * configure: Regenerated.
20008         * config.make.in (config-extra-cflags): New variable,
20009         gets @libc_extra_cflags@.
20010         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20012         [BZ #10375]
20013         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20014         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20015         * configure: Regenerated.
20016         * config.make.in (CPPUNDEFS): New substituted variable.
20017         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20018         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20019         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20021 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20023         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20024         (mq_attr): Use __syscall_slong_t.
20026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20029         Check __x86_64__ instead of __WORDSIZE.
20030         (_STAT_VER_LINUX): Likewise.
20031         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20032         __syscall_ulong_t and __syscall_slong_t.
20033         (stat64): Likewise.
20035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20037         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20041         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20045         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20046         __syscall_ulong_t.
20048         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20049         include <bits/wordsize.h>.  Check __x86_64__ instead of
20050         __WORDSIZE.
20051         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20052         defined.
20053         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20056         include <bits/wordsize.h>.  Check __x86_64__ instead of
20057         __WORDSIZE.
20058         (user_regs_struct): Use "__extension__ unsigned long long"
20059         instead of "unsigned long" if __x86_64__ is defined.
20060         (user): Likewise.  Pad after pointer field if __ILP32__ is
20061         defined.
20063 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20065         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20066         versions 5 to 9.
20067         * configure: Regenerated.
20068         * manual/install.texi (texinfo): Increase version requirement to
20069         4.5 or later.
20070         * INSTALL: Regenerated.
20072         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20076         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20078         * sysdeps/x86_64/x32/ffs.c: New file.
20080         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20081         __syscall_ulong_t.
20082         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20083         defined.  Use __syscall_ulong_t.
20084         (shminfo): Use __syscall_ulong_t.
20085         (shm_info): Likewise.
20087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20088         __syscall_ulong_t.
20090         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20091         <bits/wordsize.h>.
20092         (msgqnum_t): Use __syscall_ulong_t.
20093         (msglen_t): Likewise.
20094         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20095         __syscall_ulong_t.
20097         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20098         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20100         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20102         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20103         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20105         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20106         __syscall_slong_t.
20108         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20109         include <bits/wordsize.h>.  Check __x86_64__ instead of
20110         __WORDSIZE.
20112         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20113         "unsigned long long int" if __x86_64__ is defined.
20114         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20116         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20117         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20118         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20120         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20121         <stdint.h>.
20122         (GET_PC): Cast to uintptr_t first.
20123         (GET_FRAME): Likewise.
20124         (GET_STACK): Likewise.
20126         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20127         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20129         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20131         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20132         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20133         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20134         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20136         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20138         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20144         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20148         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20150         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20152         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20154         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20156 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20158         * Makerules (+depfiles): Also collect depfiles from .oS in
20159         $(extra-objs).
20160         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20161         .oS, $(libnldbl-routines)).
20163         * Makerules (native-compile-mkdep-flags): Define.
20164         * sunrpc/Makefile (extra-objs): Add $(addprefix
20165         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20166         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20167         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20168         calling $(make-target-directory).
20170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20172         * bits/types.h (__snseconds_t): Removed.
20173         * time/time.h (struct timespec): Replace __snseconds_t with
20174         __syscall_slong_t.
20175         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20176         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20177         Likewise.
20178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20179         (__SNSECONDS_T_TYPE): Likewise.
20180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20181         (__SNSECONDS_T_TYPE): Likewise.
20182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20183         (__SNSECONDS_T_TYPE): Likewise.
20185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20187         * sysdeps/mach/hurd/bits/typesizes.h
20188         (__SYSCALL_SLONG_TYPE): New macro.
20189         (__SYSCALL_ULONG_TYPE): Likewise.
20191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20193         * bits/types.h (__syscall_slong_t): New type.
20194         (__syscall_ulong_t): Likewise.
20196         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20197         (__SYSCALL_ULONG_TYPE): Likewise.
20198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20199         (__SYSCALL_SLONG_TYPE): Likewise.
20200         (__SYSCALL_ULONG_TYPE): Likewise.
20201         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20202         (__SYSCALL_SLONG_TYPE): Likewise.
20203         (__SYSCALL_ULONG_TYPE): Likewise.
20204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20205         (__SYSCALL_SLONG_TYPE): Likewise.
20206         (__SYSCALL_ULONG_TYPE): Likewise.
20208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20210         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20211         Add sigaltstack-offsets.sym.
20212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20213         <sigaltstack-offsets.h>.
20214         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20215         longjmp_msg pointer.
20216         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20217         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20218         signal stack.
20219         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20221 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20223         * elf/stackguard-macros.h: Remove file.
20224         * sysdeps/generic/stackguard-macros.h: New file.
20225         * sysdeps/i386/stackguard-macros.h: Likewise.
20226         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20227         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20228         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20229         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20230         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20231         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20232         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20233         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20234         <elf/stackguard-macros.h>.
20236         [BZ #14109]
20237         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20238         __aligned__ in attribute.
20239         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20240         (gregset_t): Likewise.
20242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20244         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20245         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20246         * sysdeps/x86_64/x32/Implies-after: New file.
20248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20250         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20251         and access return value for _dl_profile_fixup.  Use R10_LP to
20252         load frame size.
20254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20256         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20260         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20261         * sysdeps/x86_64/x32/sysdep.h: New file.
20263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20265         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20266         * sysdeps/x86_64/setjmp.S: Likewise.
20268 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20271         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20272         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20273         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20274         remove unused global constant.
20276 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20278         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20279         include of <not-cancel.h>.
20281 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20283         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20285 2012-05-15  Jeff Law  <law@redhat.com>
20286             Andreas Jaeger  <aj@suse.de>
20288         [BZ #13594]
20289         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20290         out from...
20291         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20292         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20293         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20294         code changing __hst_map_handle.map.
20296 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20298         * configure.in (sysnames): Look for Implies-before and Implies-after
20299         files.
20300         * configure: Regenerated.
20302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20304         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20305         8-byte data alignment with LP_SIZE alignment.
20307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20309         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20310         into R10_LP.
20312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20314         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20318         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20319         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20320         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20321         Likewise.
20322         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20326         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20327         (stackinfo_sub_sp): Likewise.
20329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20332         RAX_LP.
20334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20337         into R*_LP.
20339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20341         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20342         sizes into R*_LP.
20344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20346         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20350         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20351         into R11_LP and load __x86_64_shared_cache_size_half into
20352         R8_LP.
20354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20356         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20357         R8_LP.
20359 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20362         logb for POWER7.
20363         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20364         logbf for POWER7.
20365         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20366         logbl for POWER7.
20367         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20368         powerpc32/power7/fpu/s_logb.c via #include.
20369         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20370         powerpc32/power7/fpu/s_logbf.c via #include.
20371         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20372         powerpc32/power7/fpu/s_logbl.c via #include.
20374 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20376         * README.libm: Remove file.
20378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20380         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20381         count for x32.  Use R*_LP and omit operand-size suffix.
20383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20385         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20386         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20387         * sysdeps/x86_64/x32/shlib-versions: New file.
20389 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20391         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20392         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20393         Use _dl_fatal_printf instead.
20395 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20397         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20398         set if not set by the user.  Do not allow for being unset.
20399         * sysdeps/unix/sysv/linux/configure: Regenerated.
20401 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20403         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20404         the `q' suffix from lea and replace .quad with ASM_ADDR.
20406 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20409         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20410         instead of $17.
20411         (PTR_DEMANGLE): Likewise.
20413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20415         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20416         (LP_OP): Likewise.
20417         (ASM_ADDR): Likewise.
20418         (RAX_LP): Likewise.
20419         (RBP_LP): Likewise.
20420         (RBX_LP): Likewise.
20421         (RCX_LP): Likewise.
20422         (RDI_LP): Likewise.
20423         (RSI_LP): Likewise.
20424         (RSP_LP): Likewise.
20425         (R8_LP): Likewise.
20426         (R9_LP): Likewise.
20427         (R10_LP): Likewise.
20428         (R10_LP): Likewise.
20429         (R11_LP): Likewise.
20430         (R12_LP): Likewise.
20431         (R13_LP): Likewise.
20432         (R14_LP): Likewise.
20433         (R15_LP): Likewise.
20435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20437         * sysdeps/x86_64/x32/dl-machine.h: New file.
20439 2012-05-14  Andreas Jaeger  <aj@suse.de>
20441         * manual/Makefile (subdir): Remove export of subdir.
20442         (all): Remove target.
20443         (.PHONY): Remove all from list.
20444         (mkinstalldirs): Remove.
20445         (.PHONY): Remove installdirs from list.
20446         ($(inst_infodir)/libc.info): Use make-target-directory.
20447         (installdirs): Remove.
20448         (subdir_%): Remove.
20449         (glibc-targets): Remove.
20450         (lib): Remove.
20451         (stubs): Remove.
20452         ($(objpfx)stubs ../po/manual.pot): Remove.
20453         ($(objpfx)stamp%): Remove.
20454         (make-target-directory): Remove.
20455         (subdir_install): Remove.
20456         (routines): Remove.
20457         (aux): Remove.
20458         (sources): Remove.
20459         (objects): Remove.
20460         (headers): Remove.
20462         [BZ #13750]
20463         * manual/.gitignore: Remove, it's not needed anymore.
20464         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20465         all files in it.
20466         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20467         directory.
20468         (texis): Renamed to $(objpfx)texis.
20469         (texis-path): New, contains path to generated files.
20470         (chapters.%): Use texis-path for complete path, add extra argument
20471         libc-texinfo.sh.
20472         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20473         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20474         (summary,texi, stamp-summary): Use complete path of
20475         files. Generate files in build dir.
20476         (dir-add.texi): Build in build dir.
20477         (libm-err.texi,stamp-libm-err): Likewise.
20478         (version.texi, stamp-version): Likewise.
20479         (.%c.texi): Likewise.
20480         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20481         (mostlyclean): Remove target.
20482         (realclean): Remove target.
20483         (generated): Add new variable with contents from mostlyclean and
20484         realclean, remove entries duplicated in common-mostlyclean, add
20485         stamp-libm-err and stamp-version.
20486         (generated-dirs): Add libc directory.
20487         ($(inst_infodir)/libc.info): Install files from build dir.
20489         * manual/install.texi (Configuring and compiling): Adjust since
20490         the info files are not part of the tar ball anymore.
20492 2012-05-14  Andreas Jaeger  <aj@suse.de>
20494         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20495         variable.
20497 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20499         [BZ #13717]
20500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20501         to 2.2.0 where earlier.
20502         * sysdeps/unix/sysv/linux/configure: Regenerated.
20503         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20504         Remove conditional code.
20505         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20506         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20507         Remove conditional code.
20508         [!__NR_lchown]: Likewise.
20509         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20510         [__NR_lchown]: Likewise.
20511         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20512         comment referencing __ASSUME_LCHOWN_SYSCALL.
20513         * sysdeps/unix/sysv/linux/i386/sigaction.c
20514         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20515         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20516         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20517         Remove conditional code.
20518         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20519         (__protocol_available): Remove #if 0 code.
20520         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20521         conditional code.
20522         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20523         * sysdeps/unix/sysv/linux/kernel-features.h
20524         (__ASSUME_GETCWD_SYSCALL): Don't define.
20525         (__ASSUME_REALTIME_SIGNALS): Likewise.
20526         (__ASSUME_PREAD_SYSCALL): Likewise.
20527         (__ASSUME_PWRITE_SYSCALL): Likewise.
20528         (__ASSUME_POLL_SYSCALL): Likewise.
20529         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20530         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20531         non-SPARC.
20532         (__ASSUME_SIOCGIFNAME): Don't define.
20533         (__ASSUME_MSG_NOSIGNAL): Likewise.
20534         (__ASSUME_SENDFILE): Define unconditionally.
20535         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20536         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20537         conditional code.
20538         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20539         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20540         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20541         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20542         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20543         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20544         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20546         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20549         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20552         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20553         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20558         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20559         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20561         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20564         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20567         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20569         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20570         Remove conditional code.
20571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20572         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20573         Remove conditional code.
20574         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20575         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20576         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20577         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20578         Remove conditional code.
20579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20580         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20581         Remove conditional code.
20582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20583         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20584         Remove conditional code.
20585         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20586         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20587         Remove conditional code.
20588         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20589         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20590         Remove conditional code.
20591         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20592         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20593         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20594         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20595         * sysdeps/unix/sysv/linux/sigaction.c
20596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20598         * sysdeps/unix/sysv/linux/sigpending.c
20599         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20600         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20601         * sysdeps/unix/sysv/linux/sigprocmask.c
20602         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20603         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20604         * sysdeps/unix/sysv/linux/sigsuspend.c
20605         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20606         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20607         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20608         (__libc_missing_rt_sigs): Remove.
20609         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20610         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20611         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20612         Remove conditional code.
20613         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20614         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20615         return 1.
20616         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20617         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20618         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20619         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20621 2012-05-14  Andreas Jaeger  <aj@suse.de>
20623         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20624         it's not used in glibc.
20625         (__coshm1): Likewise.
20626         (__acosh1p): Likewise.
20627         (__sgn): Likewise.
20629         * manual/string.texi (Copying and Concatenation): Add missing
20630         variable in concat example.
20631         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20633 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20635         [BZ #14103]
20636         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20637         __builtin_clzl with __builtin_clzll.
20639 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20641         [BZ #14104]
20642         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20643         libc_freeres_ptr.
20645 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20647         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20648         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20649         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20650         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20652 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20654         * NEWS: Update ia64 info.
20656 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20658         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20659         used as bcopy.
20661 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20663         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20664         * sysdeps/unix/syscalls.list (dup3): Likewise.
20665         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20666         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20668 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20670         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20671         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20673 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20675         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20676         thread pointer.
20677         (TLS_IE): Use mov/add instead of movq/addq to load thread
20678         pointer.
20679         (TLS_GD_PREFIX): New.
20680         (TLS_GD): Use it.
20682 2012-05-11  David S. Miller  <davem@davemloft.net>
20684         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20685         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20686         (_FPU_SETCW): Likewise.
20688 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20690         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20691         is 32-byte aligned.
20693 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20695         [BZ #11837]
20696         * iconvdata/gb18030.c: Update tables.
20697         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20698         characters specially.
20699         (BODY for TO_LOOP): Add encoding of missing ranges.
20701 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20703         [BZ #13673]
20704         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20705         * sysdeps/mach/hurd/dup3.c: Likewise.
20706         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20707         * sysdeps/powerpc/memmove.c:: Likewise.
20709 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20711         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20712         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20714 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20716         * elf/elf.h (R_X86_64_RELATIVE64): New.
20717         (R_X86_64_NUM): Updated.
20718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20719         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20720         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20721         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20722         tst-quad1pie tst-quad2pie
20723         (modules-names): Add tst-quadmod1 tst-quadmod2.
20724         ($(objpfx)tst-quad1): New dependency.
20725         ($(objpfx)tst-quad2): Likewise.
20726         ($(objpfx)tst-quad1pie): Likewise.
20727         ($(objpfx)tst-quad2pie): Likewise.
20728         * sysdeps/x86_64/tst-quad1.c: New file.
20729         * sysdeps/x86_64/tst-quad1pie.c: New file.
20730         * sysdeps/x86_64/tst-quad2.c: Likewise.
20731         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20732         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20733         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20734         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20735         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20739         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20740         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20741         * streams/stropts.h (t_scalar_t): Define type.
20743         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20744         (_PATH_PRESERVE): Set to "/var/lib".
20745         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20747         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20748         instead of int.
20750         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20751         if __dir_mkfile succeeded.
20753         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20754         checking for _hurd_dtablesize.  Unlock it right after having
20755         finished _hurd_dtable allocation.
20757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20759         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20760         * sysdeps/mach/hurd/configure: Regenerated.
20761         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20762         special-casing to...
20763         * sysdeps/gnu/configure.in: ... this new file.
20764         * sysdeps/unix/sysv/linux/configure: Regenerated.
20765         * sysdeps/gnu/configure: New generated file.
20767         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20768         for Linux: use nsec instead of usec, as well as:
20769         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20770         members of type struct timespec.
20771         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20772         New macros.
20773         (struct stat64): Likewise.
20774         (_STATBUF_ST_NSEC): New macro.
20775         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20777         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20778         __strtoul_internal rather than strtoul.
20780 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20782         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20783         and reject them.
20785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20787         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20788         which preserves existing values.
20789         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20791 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20793         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20794         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20795         greater than FD_SETSIZE.
20797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20799         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20800         allocated, call __vm_protect to finish enabling the existing space, and
20801         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20802         allocate the remainder.
20804 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20806         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20807         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20811         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20812         sysdeps/mach/hurd/readlink.c.
20814         * posix/tst-sysconf.c (posix_options): Only use
20815         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20816         _POSIX_SYNCHRONIZED_IO when they are defined
20817         * sysdeps/mach/hurd/bits/posix_opt.h:
20818         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20819         (_XOPEN_REALTIME): Undefine macro.
20820         (_XOPEN_REALTIME_THREADS): Undefine macro.
20821         (_XOPEN_SHM): Undefine macro.
20822         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20823         macro to -1.
20824         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20825         macro to -1.
20826         (_POSIX_ASYNC_IO): Undefine macro.
20827         (_POSIX_PRIORITIZED_IO): Undefine macro.
20828         (_POSIX_SPIN_LOCKS): Define macro to -1.
20830         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20831         SA_NODEFER, SA_RESETHAND.
20832         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20833         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20834         F_DUPFD_CLOEXEC.
20836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20838         * elf/Makefile (pldd-modules): Define unconditionally.
20840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20842         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20846         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20847         Return ENOENT when name is empty.
20848         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20852         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20854         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20858         Fix mlock in all cases except non-readable pages.
20859         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20860         instead of VM_PROT_ALL as parameter to __vm_wire function.
20862         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20863         (__mkdir): When path is `/', just fail with EEXIST.
20864         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20868         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20869         <sys/uio.h> (for writev).
20870         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20871         and <sys/param.h> (for MIN).
20873 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20875         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20876         REQUESTED_TIME.  Properly set the remaining time and return EINTR
20877         if interrupted.
20879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20881         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20882         Depend on against $(link-rpcuserlibs).
20884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20886         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20887         (__libc_stack_end): Do not use attribute_relro.
20888         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20889         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20890         to libthread-provided value.
20891         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20892         attribute_relro.
20894 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20896         [BZ #3748]
20897         * bits/libc-lock.h (__libc_once_get): New macro.
20898         * sysdeps/mach/bits/libc-lock.h: Likewise.
20899         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20901         instead of using implementation details.
20903         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20904         * libio/freopen.c: Likewise.
20905         * libio/freopen64.c: Likewise.
20906         * misc/syslog.c: Likewise.
20907         * nscd/connections.c: Likewise.
20908         * nscd/netgroupcache.c: Likewise.
20909         * sysdeps/posix/getcwd.c: Likewise.
20911 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20913         * math/w_ilogbf.c: Add #include <limits.h>.
20915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20917         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20918         path instead of returning without unlocking.
20920         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20921         immediate-write ioctls.
20922         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20926         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20927         __builtin_frame_address instead of making assumptions about the
20928         location of the return address relative to DATA.  Force early load of
20929         the return address.
20930         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20931         __builtin_frame_address.
20933         dup3 for GNU Hurd.
20934         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20935         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20936         implement dup3 and do some further code clean-ups.
20937         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20938         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20942         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20944         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20945         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20946         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20947         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20948         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20949         d->port.lock.
20951         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20952         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20953         when handler == SIG_ERR, not when handler != SIG_ERR.
20955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20957         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20958         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20959         definitions.
20961         accept4 for GNU Hurd.
20962         * include/sys/socket.h (__libc_accept4): New prototype.
20963         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20964         to implement __libc_accept4.
20965         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20966         __libc_accept4.
20967         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20969         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20970         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20971         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20972         signal-defines.sym.
20974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20976         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20978 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20980         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20981         assertion on O_CLOEXEC flag.
20982         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20983         * hurd/intern-fd.c: Likewise.
20984         * hurd/port2fd.c: Likewise.
20986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20988         [BZ #3906]
20989         * bits/in.h (IPV6_PKTINFO): Define new macro.
20990         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20992 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20994         [BZ #13954]
20995         [BZ #13955]
20996         [BZ #13956]
20997         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20999         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21000         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21001         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21002         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21003         * math/libm-test.inc (logb_test) : Additional logb tests.
21005 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21006             Andreas Jaeger  <aj@suse.de>
21008         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21009         * configure: Regenerated.
21010         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21011         * config.make.in (link-obsolete-rpc): New substituted variable.
21012         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21013         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21014         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21015         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21016         so that libc.a contains the symbols.
21017         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21018         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21019         * sunrpc/auth_none.c: Likewise.
21020         * sunrpc/auth_unix.c: Likewise.
21021         * sunrpc/authdes_prot.c: Likewise.
21022         * sunrpc/authuxprot.c: Likewise.
21023         * sunrpc/clnt_gen.c: Likewise.
21024         * sunrpc/clnt_perr.c: Likewise.
21025         * sunrpc/clnt_raw.c: Likewise.
21026         * sunrpc/clnt_simp.c: Likewise.
21027         * sunrpc/clnt_tcp.c: Likewise.
21028         * sunrpc/clnt_udp.c: Likewise.
21029         * sunrpc/clnt_unix.c: Likewise.
21030         * sunrpc/des_crypt.c: Likewise.
21031         * sunrpc/des_soft.c: Likewise.
21032         * sunrpc/get_myaddr.c: Likewise.
21033         * sunrpc/key_call.c: Likewise.
21034         * sunrpc/key_prot.c: Likewise.
21035         * sunrpc/netname.c: Likewise.
21036         * sunrpc/pm_getmaps.c: Likewise.
21037         * sunrpc/pm_getport.c: Likewise.
21038         * sunrpc/pmap_clnt.c: Likewise.
21039         * sunrpc/pmap_prot.c: Likewise.
21040         * sunrpc/pmap_prot2.c: Likewise.
21041         * sunrpc/pmap_rmt.c: Likewise.
21042         * sunrpc/publickey.c: Likewise.
21043         * sunrpc/rpc_cmsg.c: Likewise.
21044         * sunrpc/rpc_common.c: Likewise.
21045         * sunrpc/rpc_dtable.c: Likewise.
21046         * sunrpc/rpc_prot.c: Likewise.
21047         * sunrpc/rpc_thread.c: Likewise.
21048         * sunrpc/rtime.c: Likewise.
21049         * sunrpc/svc.c: Likewise.
21050         * sunrpc/svc_auth.c: Likewise.
21051         * sunrpc/svc_raw.c: Likewise.
21052         * sunrpc/svc_run.c: Likewise.
21053         * sunrpc/svc_tcp.c: Likewise.
21054         * sunrpc/svc_udp.c: Likewise.
21055         * sunrpc/svc_unix.c: Likewise.
21056         * sunrpc/svcauth_des.c: Likewise.
21057         * sunrpc/xcrypt.c: Likewise.
21058         * sunrpc/xdr.c: Likewise.
21059         * sunrpc/xdr_array.c: Likewise.
21060         * sunrpc/xdr_float.c: Likewise.
21061         * sunrpc/xdr_intXX_t.c: Likewise.
21062         * sunrpc/xdr_mem.c: Likewise.
21063         * sunrpc/xdr_rec.c: Likewise.
21064         * sunrpc/xdr_ref.c: Likewise.
21065         * sunrpc/xdr_sizeof.c: Likewise.
21066         * sunrpc/xdr_stdio.c: Likewise.
21068 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21071         change.  Update copyright years.
21073 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21075         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21077 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21078             Joseph Myers  <joseph@codesourcery.com>
21079             Paul Pluzhnikov  <ppluzhnikov@google.com>
21081         [BZ #14012]
21082         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21083         requiring rpcgen.
21084         [cross-compiling] (extra-libs): Likewise.
21085         [cross-compiling] (extra-libs-others): Likewise.
21086         [cross-compiling] (librpcsvc-routines): Likewise.
21087         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21088         [cross-compiling] (omit-deps): Likewise.
21089         (sunrpc-CPPFLAGS): New variable.
21090         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21091         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21092         (cross-rpcgen-objs): New variable.
21093         (extra-objs): Append $(cross-rpcgen-objs).
21094         ($(cross-rpcgen-objs)): New rule.
21095         ($(objpfx)cross-rpcgen): Likewise.
21096         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21097         comment.
21098         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21099         ($(objpfx)x%.stmp): Likewise.
21100         * sunrpc/proto.h [IS_IN_build] (_): Define.
21101         [IS_IN_build] (_libc_intl_domainname): Likewise.
21103 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21106         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21107         and R_X86_64_TPOFF64.
21109 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21111         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21112         sysdeps/unix/sysv/syscalls.list.
21113         (stime): Likewise.
21114         (utime): Likewise.
21115         * sysdeps/unix/sysv/syscalls.list: Remove file.
21117 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21119         [BZ #3440]
21120         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21121         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21122         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21123         (__LC_IDENTIFICATION): Make these macros useful in #if
21124         expressions, as required by C99.
21126 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21128         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21129         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21130         after this.
21132 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21134         * stdlib/longlong.h: Updated from GCC.
21136 2012-05-09  Andreas Jaeger  <aj@suse.de>
21138         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21139         default is first entry.
21140         (run_mode): Set type.
21141         (main): Remove informal message about syslog.
21142         (options): Fix typo.
21144         [BZ #14053]
21145         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21146         to asm.
21147         (lrint): Likewise.
21148         (llrintf): Likewise.
21149         (llrint): Likewise.
21150         (rint): Likewise.
21151         (rintf): Likewise.
21152         (nearbyint): Likewise.
21153         (nearbyintf): Likewise.
21155 2012-05-09  Andreas Jaeger  <aj@suse.de>
21156             Pedro Alves  <palves@redhat.com>
21158         * nscd/nscd.c (run_mode): Use enum.
21159         (main): Cleanup coding style issue.
21161 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21162             Andreas Jaeger  <aj@suse.de>
21164         * nscd/nscd.c (go_background): Replaced with...
21165         (run_mode): ... this.
21166         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21167         (options): Add -F --foreground.
21168         (main): Implement it.
21169         (parse_opt): Parse it.
21171 2012-05-09  Andreas Jaeger  <aj@suse.de>
21173         [BZ #14083]
21174         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21175         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21176         -Wconversion warning.
21177         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21178         Likewise.
21180 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21182         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21183         == 0.
21184         (LC_ALL): Use macro-int-constant.
21185         (LC_COLLATE): Likewise.
21186         (LC_CTYPE): Likewise.
21187         (LC_MESSAGES): Likewise.
21188         (LC_MONETARY): Likewise.
21189         (LC_NUMERIC): Likewise.
21190         (LC_TIME): Likewise.
21191         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21192         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21194         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21195         Specify type.
21196         [C99-based standards] (float_t): Expect type.
21197         [C99-based standards] (double_t): Expect type.
21198         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21199         type.
21200         [C99-based standards] (HUGE_VALL): Likewise.
21201         [C99-based standards] (INFINITY): Likewise.
21202         [C99-based standards] (NAN): Likewise.
21203         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21204         [C99-based standards] (FP_NAN): Likewise.
21205         [C99-based standards] (FP_NORMAL): Likewise.
21206         [C99-based standards] (FP_SUBNORMAL): Likewise.
21207         [C99-based standards] (FP_ZERO): Likewise.
21208         [C99-based standards] (FP_FAST_FMA): Use
21209         optional-macro-int-constant.  Specify type.  Require == 1.
21210         [C99-based standards] (FP_FAST_FMAF): Likewise.
21211         [C99-based standards] (FP_FAST_FMAL): Likewise.
21212         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21213         [C99-based standards] (FP_ILOGBNAN): Likewise.
21214         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21215         Specify type.
21216         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21217         [C99-based standards] (math_errhandling): Specify type.
21218         [ISO99 || ISO11] (signgam): Do not allow.
21219         [non-C99-based standards] (copysignf): Do not allow.
21220         [non-C99-based standards] (exp2f): Likewise.
21221         [non-C99-based standards] (log2f): Likewise.
21222         [non-C99-based standards] (modff): Allow.
21223         [non-C99-based standards] (erff): Do not allow.
21224         [non-C99-based standards] (erfcf): Likewise.
21225         [non-C99-based standards] (gammaf): Likewise.
21226         [non-C99-based standards] (hypotf): Likewise.
21227         [non-C99-based standards] (j0f): Likewise.
21228         [non-C99-based standards] (j1f): Likewise.
21229         [non-C99-based standards] (jnf): Likewise.
21230         [non-C99-based standards] (lgammaf): Likewise.
21231         [non-C99-based standards] (tgammaf): Likewise.
21232         [non-C99-based standards] (y0f): Likewise.
21233         [non-C99-based standards] (y1f): Likewise.
21234         [non-C99-based standards] (ynf): Likewise.
21235         [non-C99-based standards] (isnanf): Likewise.
21236         [non-C99-based standards] (acoshf): Likewise.
21237         [non-C99-based standards] (asinhf): Likewise.
21238         [non-C99-based standards] (atanhf): Likewise.
21239         [non-C99-based standards] (cbrtf): Likewise.
21240         [non-C99-based standards] (expm1f): Likewise.
21241         [non-C99-based standards] (ilogbf): Likewise.
21242         [non-C99-based standards] (log1pf): Likewise.
21243         [non-C99-based standards] (logbf): Likewise.
21244         [non-C99-based standards] (nextafterf): Likewise.
21245         [non-C99-based standards] (remainderf): Likewise.
21246         [non-C99-based standards] (rintf): Likewise.
21247         [non-C99-based standards] (scalbf): Likewise.
21248         [non-C99-based standards] (copysignl): Likewise.
21249         [non-C99-based standards] (exp2l): Likewise.
21250         [non-C99-based standards] (log2l): Likewise.
21251         [non-C99-based standards] (modfl): Allow.
21252         [non-C99-based standards] (erfl): Do not allow.
21253         [non-C99-based standards] (erfcl): Likewise.
21254         [non-C99-based standards] (gammal): Likewise.
21255         [non-C99-based standards] (hypotl): Likewise.
21256         [non-C99-based standards] (j0l): Likewise.
21257         [non-C99-based standards] (j1l): Likewise.
21258         [non-C99-based standards] (jnl): Likewise.
21259         [non-C99-based standards] (lgammal): Likewise.
21260         [non-C99-based standards] (tgammal): Likewise.
21261         [non-C99-based standards] (y0l): Likewise.
21262         [non-C99-based standards] (y1l): Likewise.
21263         [non-C99-based standards] (ynl): Likewise.
21264         [non-C99-based standards] (isnanl): Likewise.
21265         [non-C99-based standards] (acoshl): Likewise.
21266         [non-C99-based standards] (asinhl): Likewise.
21267         [non-C99-based standards] (atanhl): Likewise.
21268         [non-C99-based standards] (cbrtl): Likewise.
21269         [non-C99-based standards] (expm1l): Likewise.
21270         [non-C99-based standards] (ilogbl): Likewise.
21271         [non-C99-based standards] (log1pl): Likewise.
21272         [non-C99-based standards] (logbl): Likewise.
21273         [non-C99-based standards] (nextafterl): Likewise.
21274         [non-C99-based standards] (remainderl): Likewise.
21275         [non-C99-based standards] (rintl): Likewise.
21276         [non-C99-based standards] (scalbl): Likewise.
21277         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21278         [non-C99-based standards] (FP_*): Do not allow.
21279         [C99-based standards] (FP_*): Change to
21280         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21281         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21282         allow.
21283         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21284         (SIG_ERR): Likewise.
21285         [X/Open-based standards] (SIG_HOLD): Likewise.
21286         (SIG_IGN): Likewise.
21287         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21288         positive value.
21289         (SIGFPE): Likewise.
21290         (SIGILL): Likewise.
21291         (SIGINT): Likewise.
21292         (SIGSEGV): Likewise.
21293         (SIGTER): Likewise.
21294         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21295         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21296         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21297         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21298         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21299         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21300         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21301         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21302         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21303         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21304         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21305         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21306         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21307         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21308         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21309         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21310         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21311         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21312         [X/Open-based standards] (SIGTRAP): Likewise.
21313         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21314         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21315         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21316         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21317         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21318         allow.
21320 2012-05-08  Ian Wienand  <ianw@vmware.com>
21322         [BZ #14080]
21323         * time/tzset.c (__tzset_parse_tz): Update default rules for
21324         daylight time changes in the Energy Policy Act of 2005.
21326 2012-05-09  Andreas Jaeger  <aj@suse.de>
21328         [BZ #13983]
21329         * elf/ldconfig.c (parse_conf): Change string to make clear that
21330         ldconfig only issued a warning if ld.so.conf does not exist.
21332 2012-05-08  David S. Miller  <davem@davemloft.net>
21334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21335         movxtod instead of popping the value on the stack.
21337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21339 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21341         * config.h.in: Add HAVE_ARM_PCS_VFP.
21343 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21345         [BZ #13979]
21346         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21347         checking but the checks are disabled for any reason.
21349 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21351         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21352         and ELF64_R_TYPE with ELFW(R_TYPE).
21354 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21356         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21357         (ulimit): Likewise.
21359         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21360         (settimeofday): Likewise.
21362 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21364         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21365         a struct th_u2 inside the union, and move tu_block/tu_code into
21366         a new th_u3 union of tu_block/tu_code inside of that.  Move
21367         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21368         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21369         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21370         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21371         (th_stuff): Change to th_u1.tu_stuff.
21372         (th_data): Define.
21373         (th_msg): Change to th_u1.th_u2.tu_data.
21375 2012-05-07  David S. Miller  <davem@davemloft.net>
21377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21379         [BZ #14074]
21380         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21381         (SETUP_PIC_REG): Use it.
21382         (SETUP_PIC_REG_LEAF): Use it.
21384 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #13885]
21387         [BZ #13923]
21388         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21389         USE_AS_EXPM1L.
21390         (EXPL_FINITE): Likewise.
21391         (FLDLOG): Likewise.
21392         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21393         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21394         e_expl.S.
21395         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21396         USE_AS_EXPM1L.
21397         (EXPL_FINITE): Likewise.
21398         (FLDLOG): Likewise.
21399         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21400         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21401         e_expl.S.
21402         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21403         test of -max_value argument for long double.
21404         * sysdeps/i386/fpu/libm-test-ulps: Update.
21405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21407 2012-05-06  David S. Miller  <davem@davemloft.net>
21409         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21410         quad soft-float symbols whose references which are compiler
21411         generated.
21412         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21414 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21416         [BZ #13884]
21417         [BZ #13914]
21418         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21419         USE_AS_EXP10L.
21420         (EXPL_FINITE): Likewise.
21421         (FLDLOG): Likewise.
21422         (c0): Likewise.
21423         (c1): Likewise.
21424         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21425         Adjust comments for base varying.
21426         (__expl_finite): Change alias to EXPL_FINITE.
21427         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21428         e_expl.S.
21429         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21430         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21431         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21432         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21433         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21434         USE_AS_EXP10L.
21435         (EXPL_FINITE): Likewise.
21436         (FLDLOG): Likewise.
21437         (c0): Likewise.
21438         (c1): Likewise.
21439         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21440         Adjust comments for base varying.
21441         (__expl_finite): Change alias to EXPL_FINITE.
21442         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21443         tests for bugs.
21444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21446         [BZ #14064]
21447         * math/libm-test.inc (check_float_internal): Correct ulp
21448         calculation for subnormal expected results.
21450 2012-05-06  Andreas Jaeger  <aj@suse.de>
21452         * Makeconfig (+math-flags): New, set to -frounding-math.
21453         (+cflags): Add +math-flags so that all of glibc gets compiled with
21454         it.
21456         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21458 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21460         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21461         Disable one test.
21463         [BZ #13787]
21464         [BZ #13922]
21465         [BZ #14036]
21466         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21467         (__ieee754_expl): Allow for and saturate large arguments.
21468         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21469         (u_threshold): Likewise.
21470         (__exp): Call __ieee754_exp before checking for overflow and
21471         underflow.
21472         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21473         (u_threshold): Likewise.
21474         (__expf): Call __ieee754_expf before checking for overflow and
21475         underflow.
21476         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21477         (u_threshold): Likewise.
21478         (__expl): Call __ieee754_expl before checking for overflow and
21479         underflow.
21480         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21481         (__ieee754_expl): Allow for and saturate large arguments.
21482         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21483         missing overflow exception on overflow.
21484         (expm1_test): Do not allow missing overflow exception on overflow.
21486         * sysdeps/i386/fpu/e_expl.c: Move to ...
21487         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21488         rather than using inline asm.
21489         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21490         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21491         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21493         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21494         (nice): Likewise.
21495         (poll): Likewise.
21496         (signal): Likewise.
21497         (time): Likewise.
21498         (times): Likewise.
21500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21502         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21503         sysdeps/unix/common/syscalls.list.
21504         (fchmod): Likewise.
21505         (fchown): Likewise.
21506         (ftruncate): Likewise.
21507         (getrusage): Likewise.
21508         (gettimeofday): Likewise.
21509         (setpgid): Likewise.
21510         (setregid): Likewise.
21511         (setreuid): Likewise.
21512         (sigaction): Likewise.
21513         (truncate): Likewise.
21514         (vhangup): Likewise.
21515         * sysdeps/unix/common/syscalls.list: Remove file.
21516         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21517         * sysdeps/unix/sysv/linux/Implies: Likewise.
21519 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21521         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21523         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21524         Moved to ...
21525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21526         Here.
21527         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21528         to ...
21529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21530         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21531         to ...
21532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21533         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21534         to ...
21535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21536         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21537         to ...
21538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21539         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21540         to ...
21541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21542         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21543         to ...
21544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21545         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21546         to ...
21547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21548         Here.
21549         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21550         to ...
21551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21552         Here.
21553         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21554         to ...
21555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21556         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21557         Moved to ...
21558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21559         Here.
21560         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21561         to ...
21562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21564 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21566         * sysdeps/unix/common/bits/dirent.h: Remove file.
21567         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21569         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21570         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21571         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21572         * sysdeps/unix/bsd/isatty.c: Likewise.
21573         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21574         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21575         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21577 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21579         [BZ #13563]
21580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21581         long double comparison inaccuracies.
21582         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21585 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21587         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21588         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21590 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21592         [BZ #14049]
21593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21594         nonzero digits before rounding a hex value.
21595         * stdlib/tst-strtod.c (tests): Add another test.
21597 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21599         * sysdeps/s390/fpu/libm-test-ulps: Update.
21601 2012-05-03  Andreas Jaeger  <aj@suse.de>
21603         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21604         does not get optimized out.
21605         (malloc_opt_barrier): New.
21607 2012-05-03  Andreas Jaeger  <aj@suse.de>
21608             Roland McGrath  <roland@hack.frob.com>
21610         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21611         intermediate file deletion.
21612         (generated): Add .symlist files.
21614 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21616         [BZ #13775]
21617         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21618         Redirect under this condition.
21619         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21620         [__USE_GNU] (__dprintf_chk): Not under this condition.
21621         [__USE_GNU] (__vdprintf_chk): Likewise.
21622         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21623         under this condition.
21624         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21625         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21626         [__USE_XOPEN2K8] (vdprintf): Likewise.
21627         [__USE_GNU] (__dprintf_chk): Not under this condition.
21628         [__USE_GNU] (__vdprintf_chk): Likewise.
21629         [__USE_GNU] (dprintf): Likewise.
21630         [__USE_GNU] (vdprintf): Likewise.
21632 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21634         * elf/Makefile (common-generated): Set this instead of generated for
21635         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21636         $(all-built-dso)-derived lists.
21638 2012-05-03  Andreas Jaeger  <aj@suse.de>
21640         * sysdeps/i386/fpu/libm-test-ulps: Update.
21642         * FAQ: Removed.
21643         * FAQ.in: Likewise.
21644         * scripts/gen-FAQ.pl: Likewise.
21645         * manual/install.texi (Installation): Point to online location of
21646         FAQ.
21647         * Makefile (files-for-dist): Remove FAQ.
21648         (FAQ): Remove.
21650 2012-05-02  Allan McRae  <allan@archlinux.org>
21652         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21653         (LDFLAGS-reldepmod5.so): Likewise.
21654         (LDFLAGS-reldep6mod1.so): Likewise.
21655         (LDFLAGS-reldep6mod4.so): Likewise.
21656         (LDFLAGS-reldep8mod3.so): Likewise.
21657         (LDFLAGS-unload4mod1.so): Likewise.
21658         (LDFLAGS-unload4mod2.so): Likewise.
21659         (LDFLAGS-tst-initorder): Likewise.
21660         (LDFLAGS-tst-initordera2.so): Likewise.
21661         (LDFLAGS-tst-initordera3.so): Likewise.
21662         (LDFLAGS-tst-initordera4.so): Likewise.
21663         (LDFLAGS-tst-initorderb2.so): Likewise.
21664         (LDFLAGS-noload): Likewise.
21665         (LDFLAGS-next): Likewise.
21666         (LDFLAGS-order2mod1.so): Likewise.
21667         (LDFLAGS-order2mod2.so): Likewise.
21668         (LDFLAGS-tst-initorder2): Likewise.
21669         (LDFLAGS-tst-initorder2a.so): Likewise.
21670         (LDFLAGS-tst-initorder2b.so): Likewise.
21671         (LDFLAGS-tst-initorder2c.so): Likewise.
21672         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21674 2012-05-02  David S. Miller  <davem@davemloft.net>
21676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21678 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21680         [BZ #14055]
21681         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21683 2012-05-02  Andreas Jaeger  <aj@suse.de>
21685         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21686         since we manipulate rounding mode.
21687         (CPPFLAGS-test-idouble.c): Likewise.
21688         (CPPFLAGS-test-ifloat.c): Likewise.
21689         (CFLAGS-test-ldouble.c): Likewise.
21690         (CFLAGS-test-double.c): Likewise.
21691         (CFLAGS-test-float.c): Likewise.
21692         (CFLAGS-test-misc.c): Likewise.
21693         (CFLAGS-test-test-fenv.c): Likewise.
21695 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21697         [BZ #2550]
21698         [BZ #2570]
21699         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21700         comparisons to determine direction to adjust input.
21702 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21704         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21705         output to the target.
21707         * scripts/localplt.awk: New file.
21708         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21709         (check-localplt-CFLAGS): Variable removed.
21710         ($(all-built-dso:=.jmprel)): New static pattern rule.
21711         (generated): Add those targets.
21712         (localplt-built-dso): New variable.
21713         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21715         * elf/check-localplt.c: File removed.
21717         * scripts/check-execstack.awk: New file.
21718         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21719         (check-execstack-CFLAGS): Variable removed.
21720         ($(objpfx)check-execstack.h): Target removed.
21721         ($(objpfx)execstack-default): New target.
21722         (generated): Add that instead of check-execstack.h.
21723         ($(all-built-dso:=.phdr)): New static pattern rule.
21724         (generated): Add those targets.
21725         * elf/check-execstack.c: File removed.
21727         * scripts/check-textrel.awk: New file.
21728         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21729         (check-textrel-CFLAGS): Variable removed.
21730         (all-built-dso): Use := to define.o
21731         ($(all-built-dso:=.dyn)): New static pattern rule.
21732         (generated): Add those targets.
21733         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21734         * config.make.in (READELF): New substituted variable.
21735         * elf/check-textrel.c: File removed.
21737 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21739         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21740         allow.
21741         * conform/data/ctype.h-data [C99-based standards] (isblank):
21742         Expect function.
21743         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21744         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21746         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21747         Specify type.  Require positive value.
21748         (EILSEQ): Likewise.
21749         (ERANGE): Likewise.
21750         [ISO || POSIX] (EILSEQ): Do not expect.
21751         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21752         Specify type.  Require positive value.
21753         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21754         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21755         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21756         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21757         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21758         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21759         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21760         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21761         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21762         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21763         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21764         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21765         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21766         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21767         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21768         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21769         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21770         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21771         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21772         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21773         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21774         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21775         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21776         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21777         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21778         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21779         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21780         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21781         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21782         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21783         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21784         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21785         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21786         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21787         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21788         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21789         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21790         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21791         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21792         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21793         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21794         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21795         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21796         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21797         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21798         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21799         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21800         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21801         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21802         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21803         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21804         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21805         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21806         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21807         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21808         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21809         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21810         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21811         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21812         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21813         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21814         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21815         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21816         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21817         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21818         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21819         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21820         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21821         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21822         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21823         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21824         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21825         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21826         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21827         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21828         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21829         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21830         Require >= 2.
21831         (FLT_ROUNDS): Expect as macro, not constant.
21832         (FLT_MANT_DIG): Use macro-int-constant.
21833         (DBL_MANT_DIG): Likewise.
21834         (LDBL_MANT_DIG): Likewise.
21835         (FLT_DIG): Likewise.
21836         (DBL_DIG): Likewise.
21837         (LDBL_DIG): Likewise.
21838         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21839         (DBL_MIN_EXP): Likewise.
21840         (LDBL_MIN_EXP): Likewise.
21841         (FLT_MAX_EXP): Use macro-int-constant.
21842         (DBL_MAX_EXP): Likewise.
21843         (LDBL_MAX_EXP): Likewise.
21844         (FLT_MAX_10_EXP): Likewise.
21845         (DBL_MAX_10_EXP): Likewise.
21846         (LDBL_MAX_10_EXP): Likewise.
21847         (FLT_MAX): Use macro-constant.
21848         (DBL_MAX): Likewise.
21849         (LDBL_MAX): Likewise.
21850         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21851         (DBL_EPSILON): Likewise.
21852         (LDBL_EPSILON): Likewise.
21853         (FLT_MIN): Likewise.
21854         (DBL_MIN): Likewise.
21855         (LDBL_MIN): Likewise.
21856         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21857         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21858         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21859         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21860         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21861         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21862         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21863         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21864         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21865         [ISO11] (FLT_TRUE_MIN): Likewise.
21866         [ISO11] (LDBL_TRUE_MIN): Likewise.
21867         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21868         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21869         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21870         (SCHAR_MAX): Likewise.
21871         (UCHAR_MAX): Likewise.
21872         (CHAR_MIN): Likewise.
21873         (CHAR_MAX): Likewise.
21874         (MB_LEN_MAX): Use macro-int-constant.
21875         (SHRT_MIN): Use macro-int-constant.  Specify type.
21876         (SHRT_MAX): Likewise.
21877         (USHRT_MAX): Likewise.
21878         (INT_MAX): Likewise.
21879         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
21880         bound negative.
21881         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21882         bound with "U".
21883         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21884         bound with "L".
21885         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
21886         bound negative.  Suffix upper bound with "L".
21887         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
21888         bound with "UL".
21889         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21890         Specify type.
21891         [C99-based standards] (LLONG_MAX): Likewise.
21892         [C99-based standards] (ULLONG_MAX): Likewise.
21893         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21894         == 0.
21895         [ISO11] (max_align_t): Require type.
21896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21898         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21899         from $CFLAGS, without defining away __attribute__ calls.
21900         (checknamespace): Use $CFLAGS_namespace.
21902         * conform/conformtest.pl (@keywords): Only include C99 keywords
21903         for standards based on C99 or C11.
21905         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21906         Disable tests.
21907         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21908         UNIX98]: Likewise.
21910         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21911         usability of symbols in #if.
21913         * conform/conformtest.pl: If macro or constant types start
21914         "promoted:", expect the symbol to be of the following type
21915         promoted by the integer promotions.
21917         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21918         in one place.  Also handle "macro-constant".
21920         * conform/conformtest.pl: Only accept expected macro values with
21921         "==".  Parse all "macro" lines in one place.
21922         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21924         * conform/conformtest.pl: Handle braced types on "constant" lines
21925         instead of handling "typed-constant".
21926         * conform/data/signal.h-data: Use "constant" instead of
21927         "typed-constant".
21929         * conform/conformtest.pl: Handle "optional-" at start of lines in
21930         one place rather than duplicating several cases.  Handle each
21931         format of "macro" line with initial "optional-".
21933         * conform/conformtest.pl: Only accept expected constant or
21934         optional-constant values with "==".  Parse all "constant" lines in
21935         one place.  Parse all "optional-constant" lines in one place.
21936         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21937         * conform/data/fmtmsg.h-data: Likewise.
21938         * conform/data/netinet/in.h-data: Likewise.
21939         * conform/data/tar.h-data: Likewise.
21940         * conform/data/limits.h-data: Use "==" form on "constant" and
21941         "optional-constant" lines.
21943         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21944         Use -std=c99 for XOPEN2K.
21945         (@knownproblems): Remove.
21946         (newtoken): Don't check %isknown.
21948         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21949         Do not expect macro.
21950         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21951         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21952         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21953         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21954         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21955         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21956         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21957         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21958         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21959         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21960         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21961         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21962         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21963         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21964         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21965         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21966         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21967         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21968         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21969         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21970         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21971         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21972         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21973         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21974         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21975         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21976         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21977         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21978         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21979         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21980         [XPG3] (acosh): Likewise.
21981         [XPG3] (asinh): Likewise.
21982         [XPG3] (atanh): Likewise.
21983         [XPG3] (cbrt): Likewise.
21984         [XPG3] (expm1): Likewise.
21985         [XPG3] (ilogb): Likewise.
21986         [XPG3] (log1p): Likewise.
21987         [XPG3] (logb): Likewise.
21988         [XPG3] (nextafter): Likewise.
21989         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21990         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21991         [XPG3] (remainder): Likewise.
21992         [XPG3] (rint): Likewise.
21993         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21994         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21995         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21996         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21997         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21998         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21999         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22000         [UNIX98 || XOPEN2K] (scalb): Expect.
22001         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22002         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22003         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22004         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22005         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22006         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22007         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22008         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22009         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22010         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22011         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22012         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22013         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22014         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22015         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22016         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22017         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22018         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22019         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22020         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22021         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22022         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22023         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22024         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22025         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22026         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22027         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22028         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22029         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22030         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22031         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22032         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22033         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22034         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22035         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22036         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22037         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22038         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22039         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22040         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22041         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22042         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22043         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22044         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22045         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22046         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22047         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22048         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22049         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22050         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22051         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22052         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22053         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22054         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22055         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22056         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22057         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22058         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22059         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22060         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22061         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22062         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22063         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22064         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22065         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22066         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22067         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22068         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22069         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22070         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22071         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22072         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22073         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22074         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22075         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22076         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22077         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22078         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22079         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22080         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22081         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22082         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22083         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22084         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22085         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22086         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22087         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22088         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22089         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22090         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22091         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22092         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22093         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22094         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22095         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22096         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22097         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22098         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22099         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22100         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22101         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22102         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22103         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22104         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22105         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22106         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22107         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22108         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22109         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22110         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22111         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22112         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22113         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22114         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22115         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22116         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22117         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22118         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22119         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22120         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22121         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22122         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22123         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22124         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22125         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22126         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22127         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22128         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22129         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22130         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22131         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22132         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22133         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22134         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22135         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22136         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22137         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22139         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22140         _XOPEN_SOURCE_EXTENDED for XPG4.
22142         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22144         * Makeconfig (localtime): Remove variable.
22145         (inst_localtime-file): Likewise.
22147 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22150         Update.
22151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22152         Update.
22153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22154         Update.
22155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22156         Update.
22157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22158         Update.
22159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22160         Update.
22161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22162         Update.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22164         Update.
22165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22166         Update.
22168 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #2550]
22171         [BZ #2570]
22172         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22173         comparisons to determine direction to adjust input.
22174         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22175         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22176         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22177         Likewise.
22178         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22179         Likewise.
22180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22181         Likewise.
22182         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22183         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22184         Likewise.
22185         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22186         Likewise.
22187         * math/libm-test.inc (nexttoward_test): Add more tests.
22189 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22191         [BZ #14040]
22192         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22193         in version GLIBC_2.1, not GLIBC_2.0.
22194         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22195         Likewise.
22197 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22199         [BZ #13942]
22200         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22201         (1 - x) * (1 + x).
22202         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22203         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22204         * math/libm-test.inc (acos_test): Add more tests.
22205         (asin_test): Likewise.
22206         * sysdeps/i386/fpu/libm-test-ulps: Update.
22207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22209         [BZ #14034]
22210         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22211         of square root.
22212         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22213         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22214         * math/libm-test.inc (acos_test_tonearest): New function.
22215         (acos_test_towardzero): Likewise.
22216         (acos_test_downward): Likewise.
22217         (acos_test_upward): Likewise.
22218         (asin_test_tonearest): Likewise.
22219         (asin_test_towardzero): Likewise.
22220         (asin_test_downward): Likewise.
22221         (asin_test_upward): Likewise.
22222         (main): Call the new functions.
22223         * sysdeps/i386/fpu/libm-test-ulps: Update.
22224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22226         [BZ #13884]
22227         [BZ #13924]
22228         * math/e_exp10.c: Include <float.h>.
22229         (__ieee754_exp10): Handle underflow here rather than multiplying
22230         large negative argument by M_LN10.
22231         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22232         of __ieee754_expf.
22233         * math/e_exp10l.c: Include <float.h>.
22234         (__ieee754_exp10l): Handle underflow here rather than multiplying
22235         large negative argument by M_LN10l.
22236         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22237         spurious overflow exception on underflow.
22239 2012-04-29  Marek Polacek  <polacek@redhat.com>
22241         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22242         (__fortify_function): New macro.
22243         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22244         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22245         __extern_always_inline.
22246         * libio/bits/stdio2.h: Likewise.
22247         * libio/bits/stdio.h: Likewise.
22248         * string/string.h: Likewise.
22249         * string/bits/string3.h: Likewise.
22250         * include/stdio.h: Likewise.
22251         * stdlib/bits/stdlib.h: Likewise.
22252         * stdlib/stdlib.h: Likewise.
22253         * rt/bits/mqueue2.h: Likewise.
22254         * rt/mqueue.h: Likewise.
22255         * posix/bits/unistd.h: Likewise.
22256         * posix/unistd.h: Likewise.
22257         * io/bits/poll2.h: Likewise.
22258         * io/bits/fcntl2.h: Likewise.
22259         * io/fcntl.h: Likewise.
22260         * io/sys/poll.h: Likewise.
22261         * misc/bits/syslog.h: Likewise.
22262         * misc/bits/syslog-ldbl.h: Likewise.
22263         * misc/sys/syslog.h: Likewise.
22264         * socket/bits/socket2.h: Likewise.
22265         * socket/sys/socket.h: Likewise.
22266         * debug/tst-chk1.c: Likewise.
22267         * wcsmbs/bits/wchar2.h: Likewise.
22268         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22269         * wcsmbs/wchar.h: Likewise.
22271 2012-04-29  Andreas Jaeger  <aj@suse.de>
22273         * Makerules (tests): Remove enable-check-abi protection.
22274         (check-abi-warn): Remove.
22275         (check-abi-%): Remove check-abi-warn usage.
22277         * configure.in: Remove check-abi configure option.
22278         * configure: Regenerated.
22279         * config.make.in (enable-check-abi): Remove.
22281 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22283         [BZ #14033]
22284         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22285         double functions to double *_finite functions.
22287         [BZ #13941]
22288         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22289         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22290         LDBL_MIN_EXP.
22291         * stdio-common/Makefile (tests): Add tst-sprintf3.
22292         * stdio-common/tst-sprintf3.c: New file.
22294         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22295         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22297 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22299         * conform/conformtest.pl: Remove duplicate typed-constant
22300         handling.
22302 2012-04-28  David S. Miller  <davem@davemloft.net>
22304         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22305         (check-abi-%): Remove AWK script prerequisite and explicit
22306         abilist directory.
22307         (check-abi): Rewrite to just diff the symlist with the abilist.
22308         (config-tls, config-abi-config): Delete, no longer used.
22309         (update-abi-%): Remove AWK script and explicit abilist directory.
22310         (update-abi): Rewrite to simply compare and conditionally copy the
22311         symlist and the sysdep abilist file.  Remove update-abi-config
22312         checks.
22313         * abilist/ld.abilist: Remove.
22314         * abilist/libBrokenLocale.abilist: Remove.
22315         * abilist/libanl.abilist: Remove.
22316         * abilist/libcrypt.abilist: Remove.
22317         * abilist/libdl.abilist: Remove.
22318         * abilist/librt.abilist: Remove.
22319         * abilist/libthread_db.abilist: Remove.
22320         * abilist/libutil.abilist: Remove.
22321         * scripts/extract-abilist.awk: Remove.
22322         * scripts/merge-abilist.awk: Remove.
22323         * sysdeps/generic/libcidn.abilist: New file.
22324         * sysdeps/generic/libnss_compat.abilist: New file.
22325         * sysdeps/generic/libnss_db.abilist: New file.
22326         * sysdeps/generic/libnss_dns.abilist: New file.
22327         * sysdeps/generic/libnss_files.abilist: New file.
22328         * sysdeps/generic/libnss_hesiod.abilist: New file.
22329         * sysdeps/generic/libnss_nis.abilist: New file.
22330         * sysdeps/generic/libnss_nisplus.abilist: New file.
22331         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22332         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22333         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22334         file.
22335         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22336         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22337         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22338         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22339         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22340         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22341         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22342         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22343         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22344         file.
22345         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22346         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22347         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22348         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22349         file.
22350         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22351         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22352         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22353         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22354         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22355         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22356         file.
22357         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22358         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22359         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22360         file.
22361         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22363         New file.
22364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22365         New file.
22366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22367         New file.
22368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22369         New file.
22370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22371         New file.
22372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22373         New file.
22374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22375         New file.
22376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22377         New file.
22378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22379         New file.
22380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22381         New file.
22382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22383         New file.
22384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22385         New file.
22386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22387         New file.
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22389         file.
22390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22391         New file.
22392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22393         New file.
22394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22395         file.
22396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22397         New file.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22399         New file.
22400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22401         file.
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22403         New file.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22405         New file.
22406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22407         New file.
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22409         New file.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22411         New file.
22412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22413         New file.
22414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22416         file.
22417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22418         New file.
22419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22420         file.
22421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22422         file.
22423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22424         file.
22425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22426         file.
22427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22428         file.
22429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22430         New file.
22431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22432         file.
22433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22434         file.
22435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22436         New file.
22437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22438         file.
22439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22441         file.
22442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22443         New file.
22444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22445         file.
22446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22447         file.
22448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22449         file.
22450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22451         file.
22452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22453         file.
22454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22455         New file.
22456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22457         file.
22458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22459         file.
22460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22461         New file.
22462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22463         file.
22464         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22465         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22466         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22467         file.
22468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22469         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22470         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22471         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22472         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22473         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22474         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22475         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22476         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22477         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22480         file.
22481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22482         New file.
22483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22484         file.
22485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22486         file.
22487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22488         file.
22489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22490         file.
22491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22492         file.
22493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22494         New file.
22495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22496         New file.
22497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22498         file.
22499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22500         New file.
22501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22502         file.
22503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22505         file.
22506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22507         New file.
22508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22509         file.
22510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22511         file.
22512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22513         file.
22514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22515         file.
22516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22517         file.
22518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22519         New file.
22520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22521         New file.
22522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22523         file.
22524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22525         New file.
22526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22527         file.
22529 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22531         * conform/conformtest.pl: Fix typo in handling typed-constant from
22532         allow-header.
22534 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22536         * README: Cut down references to pre-2.6 Linux kernels and
22537         Linuxthreads.  Update lists of configurations in libc and ports
22538         and sort alphabetically.  Say "or newer" with Linux kernel version
22539         requirements.
22541         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22543 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22545         [BZ #887]
22546         * math/libm-test.inc (logb_test_downward): New test to expose
22547         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22548         rounding mode.
22550 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22552         [BZ #14027]
22553         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22554         to be done.
22555         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22556         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22558 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22560         * sysdeps/unix/i386/brk.S: Remove file.
22561         * sysdeps/unix/i386/dl-brk.S: Likewise.
22562         * sysdeps/unix/i386/pipe.S: Likewise.
22563         * sysdeps/unix/i386/sigreturn.S: Likewise.
22564         * sysdeps/unix/i386/syscall.S: Likewise.
22565         * sysdeps/unix/i386/vfork.S: Likewise.
22566         * sysdeps/unix/i386/wait.S: Likewise.
22568         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22569         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22571         * configure.in (arm*-none*): Do not allow without
22572         --enable-hacker-mode.
22573         (netbsd*): Remove case setting base_os.
22574         (386bsd*): Likewise.
22575         (freebsd*): Likewise.
22576         (bsdi*): Likewise.
22577         (osf*): Likewise.
22578         (sunos*): Likewise.
22579         (ultrix*): Likewise.
22580         (newsos*): Likewise.
22581         (dynix*): Likewise.
22582         (*bsd*): Likewise.
22583         (sysv*): Likewise.
22584         (isc*): Likewise.
22585         (esix*): Likewise.
22586         (sco*): Likewise.
22587         (minix*): Likewise.
22588         (irix4*): Likewise.
22589         (irix6*): Likewise.
22590         (solaris[2-9]*): Likewise.
22591         (none): Likewise.
22592         * configure: Regenerated.
22594 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22596         [BZ #11521]
22597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22598         overflow or cancellation in calculating denominator.
22599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22600         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22601         down expression to avoid unexpected rounding in newer GCCs.
22602         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22604 2012-04-26  David S. Miller  <davem@davemloft.net>
22606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22607         long-double compat symbols.
22608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22622 2012-04-25  David S. Miller  <davem@davemloft.net>
22624         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22625         HWCAP_* values only after the memory barriers have been defined.
22626         (atomic_full_barrier): Define.
22627         (atomic_read_barrier): Define.
22628         (atomic_write_barrier): Define.
22630 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22632         * shlib-versions: Add libgcc_s version information.
22633         * sysdeps/generic/libgcc_s.h: Remove.
22634         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22635         libgcc_s.h.
22636         * sysdeps/gnu/unwind-resume.c: Likewise.
22637         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22639 2012-04-25  David S. Miller  <davem@davemloft.net>
22641         * sysdeps/unix/sparc/brk.S: Delete.
22642         * sysdeps/unix/sparc/dl-brk.S: Delete.
22643         * sysdeps/unix/sparc/pipe.S: Delete.
22644         * sysdeps/unix/sparc/sysdep.S: Delete.
22645         * sysdeps/unix/sparc/sysdep.h: Delete.
22646         * sysdeps/unix/sparc/vfork.S: Delete.
22647         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22648         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22649         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22650         ret_ERRVAL, r0, r1, MOVE): Define.
22651         (JUMPTARGET): Remove.
22652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22653         sysdeps/unix/sparc/sysdep.h
22654         (ENTRY, END): Remove.
22655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22657 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22659         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22660         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22661         -DIS_IN_build.
22663         * timezone/README: Update upstream location and email address for
22664         tzcode and tzdata.
22665         * timezone/zdump.c: Update from tzcode 2012b.
22666         * timezone/zic.c: Likewise.
22668         * configure.in (libc_cv_as_needed): Remove test.
22669         * configure: Regenerated.
22670         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22671         conditional definition.
22672         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22673         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22674         * config.make.in (have-as-needed): Remove variable.
22676 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22677             Paul Pluzhnikov  <ppluzhnikov@google.com>
22679         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22680         strings correctly.
22682 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22684         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22685         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22686         * sysdeps/sh/strlen.S: Likewise.
22688 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22690         * sysdeps/unix/fork.S: Remove file.
22691         * sysdeps/unix/i386/fork.S: Likewise.
22692         * sysdeps/unix/sparc/fork.S: Likewise.
22694         * sysdeps/unix/system.c: Remove file.
22695         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22697         * sysdeps/unix/getegid.S: Remove file.
22698         * sysdeps/unix/geteuid.S: Likewise.
22700 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22702         * scripts/check-localplt.awk: New file.
22703         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22704         of diff.
22705         * scripts/data/localplt-generic.data: Add a comment.
22707         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22708         NODE when __dir_mkfile failed.
22709         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22710         Reported by Ludovic Courtès <ludo@gnu.org>.
22712 2012-04-24  Andreas Jaeger  <aj@suse.de>
22714         * Makerules (common-clean): Also remove gen-as-const-headers
22715         files.
22717 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22719         * Makerules (native-compile): Do not change working directory for
22720         build.  Use $(OUTPUT_OPTION) in command.
22721         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22723 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         [BZ #13886]
22726         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22727         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22728         * math/libm-test.inc (floor_test): Add more tests.
22729         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22731 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22733         * sysdeps/unix/getdents.c: Remove file.
22734         * sysdeps/unix/sysv/getdents.c: Likewise.
22735         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22737         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22738         sysdeps/unix/mman/syscalls.list.
22739         (mmap): Likewise.
22740         (mprotect): Likewise.
22741         (msync): Likewise.
22742         (munmap): Likewise.
22743         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22744         * sysdeps/unix/mman/syscalls.list: Remove.
22745         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22747         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22748         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22749         * configure: Regenerated.
22750         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22751         $(libgcc_s_suffix).
22752         * config.make.in (libgcc_s_suffix): Remove variable.
22754 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22756         * sysdeps/unix/sysv/gethostname.c: Move to ...
22757         * sysdeps/posix/gethostname.c: ... here.
22759         * sysdeps/unix/execve.S: Remove file.
22761         * sysdeps/unix/_exit.S: Remove file.
22763 2012-04-23  Andreas Jaeger  <aj@suse.de>
22765         [BZ #13739]
22766         * manual/Makefile: Remove make dist support, there's no
22767         need for a stand-alone documentation tar ball.
22768         (TEXI2DVI): Define always, it's not in Makeconfig.
22769         (dist): Removed.
22770         (tar-it): Removed.
22771         (edition): Removed.
22772         (glibc-doc-$(edition).tar): Removed
22773         (%.Z): Removed.
22774         (%.gz): Removed.
22775         (%.uu): Removed.
22776         (ETAGS): Remove, it's in Makeconfig.
22777         (move-if-change): Remove, it's in Makeconfig.
22779 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22781         [BZ #13970]
22782         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22783         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22784         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22785         (strtod_l, strtof_l, strtold_l): Remove __wur.
22786         It is not necessarily an error to ignore strtol's return value.
22787         One can reliably look at the stored endptr to decide whether
22788         the number had valid syntax.
22790 2012-04-21  Andreas Jaeger  <aj@suse.de>
22792         [BZ #13739]
22793         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22795 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22797         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22798         * sysdeps/unix/sysv/Versions: Remove file.
22800 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22802         [BZ #13927]
22803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22805 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22807         [BZ #7064]
22808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22809         version from __vm86.
22811 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22813         * sysdeps/unix/common/lxstat.c: Remove file.
22814         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22816         * sysdeps/unix/sysv/Makefile: Remove file.
22818         * sysdeps/unix/sysv/direct.h: Remove file.
22820         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22821         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22822         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22823         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22824         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22825         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22826         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22828         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22830         * sysdeps/unix/xmknod.c: Remove file.
22831         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22833         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22835         * sysdeps/unix/sysv/i386/time.S: Remove file.
22837         * sysdeps/unix/fxstat.c: Remove file.
22838         * sysdeps/unix/xstat.c: Likewise.
22839         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22841         * sysdeps/unix/sysv/sigaction.c: Remove file.
22843         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22844         (sysdep_headers): Remove variable.
22845         [termio.h not in sysdep_headers] (generated): Likewise.
22846         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22847         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22848         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22849         * sysdeps/unix/sysv/tcflow.c: Likewise.
22850         * sysdeps/unix/sysv/tcflush.c: Likewise.
22851         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22852         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22853         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22854         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22855         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22857         * sysdeps/unix/siglist.c: Remove file.
22859         * sysdeps/unix/getppid.S: Remove file.
22861         * sysdeps/unix/mkdir.c: Remove file.
22862         * sysdeps/unix/rmdir.c: Likewise.
22864 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22866         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22867         ERR_MAX value.
22868         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22869         errlist-compat value.
22871 2012-04-18  David S. Miller  <davem@davemloft.net>
22873         * sysdeps/generic/memcopy.h (reg_char): Delete.
22874         * debug/strcat_chk.c: Use char, not reg_char.
22875         * debug/strcpy_chk.c: Likewise.
22876         * debug/strncat_chk.c: Likewise.
22877         * debug/strncpy_chk.c: Likewise.
22878         * string/memchr.c: Likewise.
22879         * string/memrchr.c: Likewise.
22880         * string/rawmemchr.c: Likewise.
22881         * string/strcat.c: Likewise.
22882         * string/strchr.c: Likewise.
22883         * string/strchrnul.c: Likewise.
22884         * string/strcmp.c: Likewise.
22885         * string/strcpy.c: Likewise.
22886         * string/strncat.c: Likewise.
22887         * string/strncmp.c: Likewise.
22888         * string/strncpy.c: Likewise.
22890 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22892         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22893         __builtin_memcopy is called when src and dest ranges are known to not
22894         overlap.
22896 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22899         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22900         fwd_align_merge macro call.
22901         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22902         bwd_align_merge macro call.
22903         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22905 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22907         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22908         bwd_align_merge macros.
22909         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22910         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22911         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22913 2012-04-18  David S. Miller  <davem@davemloft.net>
22915         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22917 2012-04-18  Andreas Jaeger  <aj@suse.de>
22919         [BZ# 6794]
22920         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22921         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22922         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22924         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22925         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22926         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22928         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22929         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22930         Adjust for changed ldbl-128 files.
22932         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22933         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22934         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22936 2012-04-17  David S. Miller  <davem@davemloft.net>
22938         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22940 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22942         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22943         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22944         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22945         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22946         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22947         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22949 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22951         [BZ #6794]
22952         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22953         * math/libm-test.inc: Add ilogb errno and exception tests.
22954         * math/w_ilogb.c: New file: ilogb wrapper.
22955         * math/w_ilogbf.c: New file: ilogbf wrapper.
22956         * math/w_ilogbl.c: New file: ilogbl wrapper.
22957         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22958         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22959         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22960         exception being thrown with 0.0 as argument.
22961         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22962         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22963         exception being thrown with 0.0 as argument.
22964         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22965         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22966         exception being thrown with 0.0 as argument.
22967         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22968         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22969         exception being thrown with 0.0 as argument.
22970         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22971         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22973         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22974         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22975         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22976         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22977         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22978         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22980 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22982         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22983         with altivec.
22985 2012-04-16  Marek Polacek  <polacek@redhat.com>
22987         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22989 2012-04-16  Marek Polacek  <polacek@redhat.com>
22991         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22992         operands of fdivp instruction.
22994 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22996         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22997         * elf/tst-auditmod3b.c: Likewise.
22998         * elf/tst-auditmod4b.c: Likewise.
22999         * elf/tst-auditmod5b.c: Likewise.
23000         * elf/tst-auditmod6b.c: Likewise.
23001         * elf/tst-auditmod6c.c: Likewise.
23002         * elf/tst-auditmod7b.c: Likewise.
23003         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23004         * sysdeps/x86_64/preconfigure.in: Likewise.
23005         * sysdeps/x86_64/preconfigure: Regenerated.
23007 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23009         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23010         __ILP32__.
23012 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23015         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23017 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23019         [BZ #13973]
23020         * locale/iso-639.def: Fix gl language name. Spotted by
23021         Yaron Shahrabani.
23023 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23025         [BZ #2074]
23026         * libio/libio.h (__io_write_fn): Update comment.
23028 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23030         [BZ #2074]
23031         * stdio.texi (Hook Functions): The user provided writer function
23032         is not allowed to return -1.
23034 2012-04-11  David S. Miller  <davem@davemloft.net>
23036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23038 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23040         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23041         Add a leading slash to rtkaio.
23043 2012-04-11  Jim Meyering  <meyering@redhat.com>
23045         [BZ #11959]
23046         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23047         It is not necessarily an error to ignore fwrite's return
23048         value.  One can reliably use ferror to test for errors after
23049         the fact.
23051 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23053         * bits/types.h (__snseconds_t): New type.
23054         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23056         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23058         (__SNSECONDS_T_TYPE): Likewise.
23059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23060         (__SNSECONDS_T_TYPE): Likewise.
23061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23062         (__SNSECONDS_T_TYPE): Likewise.
23064 2012-04-10  Andreas Jaeger  <aj@suse.de>
23066         [BZ #2636]
23067         * manual/time.texi (Processor Time): Return type of times is
23068         elapsed real time since an arbitrary point in the past.
23069         (CPU Time): Move CLK_TCK from here...
23070         (Processor Time): ...to here.  Correct description.
23071         * manual/conf.texi (Constants for Sysconf): Correct description of
23072         _SC_CLK_TCK.
23074 2012-04-10  David S. Miller  <davem@davemloft.net>
23076         [BZ #13967]
23077         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23078         where the is a gap between DT_REL(A) and DT_JMPREL.
23080 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23082         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23083         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23084         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23086 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23088         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23089         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23090         (dl_main): Handle --inhibit-cache.
23091         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23092         _dl_inhibit_cache.
23093         * elf/dl-load.c (_dl_map_object): Use it.
23094         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23096 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23098         [BZ #13872]
23099         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23100         (__ieee754_powl): Saturate large exponents rather than testing for
23101         overflow of y*log2(x).
23102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23103         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23104         exceptions.
23106         [BZ #11521]
23107         * math/s_ctan.c: Include <float.h>.
23108         (__ctan): Avoid internal overflow or cancellation in calculating
23109         denominator.
23110         * math/s_ctanf.c: Likewise.
23111         * math/s_ctanl.c: Likewise.
23112         * math/s_ctanh.c: Likewise.
23113         * math/s_ctanhf.c: Likewise.
23114         * math/s_ctanhl.c: Likewise.
23115         * math/libm-test.inc (ctan_test): Add more tests.
23116         (ctanh_test): Likewise.
23117         * sysdeps/i386/fpu/libm-test-ulps: Update.
23118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23120 2012-04-09  Andreas Jaeger  <aj@suse.de>
23122         [BZ #6894]
23123         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23124         is an optional BSD extension.
23126         [BZ #10254]
23127         * manual/stdio.texi (Opening Streams): Document additional fopen
23128         parameters.
23130 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23132         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23133         %eax without telling the compiler.
23135 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23137         [BZ # 13963]
23138         * manual/install.texi: Use sourceware.org.
23140 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23142         [BZ #13873]
23143         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23144         (__ieee754_pow): Generate overflow and underflow using huge*huge
23145         and tiny*tiny rather than just returning constant infinity or zero
23146         for large exponents.
23147         * math/libm-test.inc (pow_test): Require overflow exceptions for
23148         applicable cases of large exponents.
23150         [BZ #706]
23151         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23152         (__ieee754_pow): Use iterative multiplication algorithm only for
23153         integer exponents with absolute value below 1024.  Check for odd
23154         integer exponents when using algorithm for real exponents.
23155         * math/libm-test.inc (pow_test): Add more tests.
23156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23158 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23160         [BZ #13705]
23161         * math/libm-test.inc (exp_test): Do not allow overflow exception
23162         on underflow test.
23164 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23166         [BZ #13705]
23167         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23168         instead of __kernel_standard_f.
23170 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23172         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23173         * sysdeps/x86_64/memset_chk.S: Likewise.
23175 2012-04-08  Andreas Jaeger  <aj@suse.de>
23177         [BZ #10153]
23178         * manual/startup.texi (Environment Access): Describe return value
23179         for putenv and setenv.
23181         [BZ #6895]
23182         * manual/filesys.texi (Directory Entries): Add description for
23183         DT_LNK.
23185         [BZ #6890]
23186         * manual/filesys.texi (Directory Entries): Clarify that it's file
23187         system not operating system in the description of DT_UNKNOWN.
23189         [BZ #6578]
23190         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23192 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23194         [BZ #6649]
23195         * manual/llio.texi (Opening and Closing Files): Add cross
23196         reference to explain mode argument.
23198 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23200         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23201         * sysdeps/x86_64/memset_chk.S: Likewise.
23203 2012-04-07  David S. Miller  <davem@davemloft.net>
23205         * elf/elf.h (R_SPARC_WDISP10): Define.
23206         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23207         R_SPARC_SIZE32.
23208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23209         R_SPARC_SIZE64 and R_SPARC_H34.
23211 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23213         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23214         conditions and remove no longer applicable assertion.
23216 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23218         * bits/byteswap.h: Include <features.h>.
23219         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23220         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23222 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23224         * bits/byteswap.h (__bswap_16): Removed.
23225         Include <bits/byteswap-16.h> to get __bswap_16.
23226         * sysdeps/i386/bits/byteswap.h: Likewise.
23227         * sysdeps/s390/bits/byteswap.h: Likewise.
23228         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23229         * bits/byteswap-16.h: New file.
23230         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23231         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23232         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23233         * string/Makefile (headers): Add bits/byteswap-16.h.
23235 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23237         [BZ #13895]
23238         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23239         extra indirection.
23240         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23241         * nss/tst-nss-static.c: New.
23243 2012-04-06  Robert Millan  <rmh@gnu.org>
23245         [BZ #6486]
23246         * manual/llio.texi (File Position Primitive): lseek
23247         refers to WHENCE when it really means OFFSET.
23249 2012-04-06  Andreas Jaeger  <aj@suse.de>
23251         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23252         strncmp declarations.
23254         * abilist/libc.abilist: Add __poll and __ppoll.
23256 2012-04-05  David S. Miller  <davem@davemloft.net>
23258         * scripts/check-local-headers.sh: Accept a host triplet in the
23259         path matched by the exclude regexp.
23261         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23262         definition.
23263         * sysdeps/powerpc/powerpc32/dl-machine.h
23264         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23265         * sysdeps/s390/s390-32/dl-machine.h
23266         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23267         * sysdeps/sparc/sparc32/dl-machine.h
23268         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23269         * sysdeps/sparc/sparc64/dl-machine.h
23270         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23272         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23273         lazy binding.
23274         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23275         undefined symbol errors.
23277         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23278         DT_NEEDED entries.
23280 2012-04-05  Michael Matz  <matz@suse.de>
23282         [BZ #13592]
23283         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23285 2012-04-05  Andreas Jaeger  <aj@suse.de>
23287         [BZ #13908]
23288         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23289         comment.
23291 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23294         which ROUND is no valid rounding mode.
23296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23299         read again.
23300         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23302 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23304         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23305         an exception using FPU order intentionally.
23307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23309         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23310         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23311         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23312         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23314 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23316         [BZ #12340]
23317         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23318         EINVAL when BUFLEN is too smal.
23320 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23322         [BZ #13553]
23323         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23324         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23326 2012-04-03  Andreas Jaeger  <aj@suse.de>
23328         [BZ #13938]
23329         * manual/setjmp.texi (System V contexts): Fix sentence.
23331         [BZ #13926]
23332         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23333         New macro for this case.
23334         [!__GNUC__] (__bswap_64): New inline function for this case.
23335         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23336         * bits/byteswap.h: Likewise.
23337         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23338         ull, guard with __GLIBC_HAVE_LONG_LONG.
23340         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23341         __GLIBC_HAVE_LONG_LONG.
23343         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23344         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23346 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23348         [BZ #13691]
23349         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23350         inptr and inend, rather than using last_ch.
23352 2012-04-02  David S. Miller  <davem@davemloft.net>
23354         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23355         * stdio-common/printf-parse.h (read_int): Change return type to
23356         'int', return -1 on INT_MAX overflow.
23357         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23358         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23359         overflows INT_MAX.  Check for overflow of in-format-string precision
23360         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23361         SIZE_MAX not INT_MAX for integer overflow test.
23362         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23363         skip the construct in the format string but do not record anything.
23364         * stdio-common/bug22.c: Adjust to test both width/prevision
23365         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23366         explicitly for proper errno values.
23368 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23370         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23371         CHAR_MAX.
23372         * string/test-strcmp.c [! WIDE]: Likewise.
23373         * time/tst-mktime2.c: Likewise for INT_MAX.
23374         * string/test-string.h: #include <sys/param.h> for MIN.
23376         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23377         * sysdeps/i386/init-first.c (init): Likewise.
23378         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23379         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23380         * sysdeps/sh/init-first.c (init): Likewise.
23382 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23384         * po/ru.po: Update from translation team.
23385         * po/vi.po: Likewise.
23387 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23389         * resolv/nss_dns/dns-host.c: Merge copyright years.
23391 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23393         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23394         Optimize memcpy with prefetch if
23395         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23396         src, dst pointers have unequal 16 byte alignments.
23398 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23400         [BZ #13928]
23401         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23402         from a CNAME entry and return the minimum ttl for the query.
23403         (gaih_getanswer_slice): Likewise.
23405 2012-03-30  Jeff Law  <law@redhat.com>
23407         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23408         due to long keys.
23409         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23410         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23412         * resolv/nss_dns/dns-host.c: Update copyright year.
23414 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23416         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23417         requests to save a system call.  Fix check that all bytes are sent.
23419         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23420         comments for sendmmsg.
23422 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23424         [BZ #13691]
23425         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23426         with only 1 character between 0x0041 and 0x01b0.
23427         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23428         * wcsmbs/tst-mbsnrtowcs.c: New file.
23430 2012-03-29  David S. Miller  <davem@davemloft.net>
23432         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23433         small copies by hand.
23435 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23437         [BZ #13761]
23438         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23439         _nss_compat_initgroups_dyn): Fall back to malloc/free
23440         for large group memberships.
23442 2012-03-28  David S. Miller  <davem@davemloft.net>
23444         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23445         that branches into memcpy.
23446         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23448         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23449         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23451         bits.
23452         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23453         implementation too.
23454         * sysdeps/sparc/mempcpy.S: New file.
23456         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23457         the IFUNC routine in the libc case.
23458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23460         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23461         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23462         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23463         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23464         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23465         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23466         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23467         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23469         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23470         loop to 256 bytes instead of 64 bytes and fix test signedness.
23472         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23473         * sysdeps/sparc/sparc32/Makefile: rather than here...
23474         * sysdeps/sparc/sparc64/Makefile: and here.
23476 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23478         * malloc/mallocbug.c: Avoid warnings about unused variables.
23480 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23482         [BZ #13760]
23483         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23484         in the right place. Discard and retry query if response is
23485         larger than input buffer size.
23487 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23489         [BZ #369]
23490         [BZ #2678]
23491         [BZ #3866]
23492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23493         x for large integer exponent.
23494         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23495         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23496         sign of result as needed afterwards.
23497         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23498         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23499         result for underflowing pow the same as for overflow.
23500         (__kernel_standard_l): Handle powl overflow and underflow here
23501         rather than calling __kernel_standard.
23502         * math/libm-test.inc (pow_test): Add more tests.
23504         [BZ #3868]
23505         [BZ #13879]
23506         [BZ #13910]
23507         [BZ #13911]
23508         [BZ #13912]
23509         [BZ #13913]
23510         [BZ #13915]
23511         [BZ #13916]
23512         [BZ #13917]
23513         [BZ #13918]
23514         [BZ #13919]
23515         [BZ #13920]
23516         [BZ #13921]
23517         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23518         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23519         (__kernel_standard_l): New function.
23520         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23521         __kernel_standard.
23522         * math/w_acosl.c (__acosl): Likewise.
23523         * math/w_asinl.c (__asinl): Likewise.
23524         * math/w_atan2l.c (__atan2l): Likewise.
23525         * math/w_atanhl.c (__atanhl): Likewise.
23526         * math/w_coshl.c (__coshl): Likewise.
23527         * math/w_exp10l.c (__exp10l): Likewise.
23528         * math/w_exp2l.c (__exp2l): Likewise.
23529         * math/w_fmodl.c (__fmodl): Likewise.
23530         * math/w_hypotl.c (__hypotl): Likewise.
23531         * math/w_j0l.c (__j0l, __y0l): Likewise.
23532         * math/w_j1l.c (__j1l, __y1l): Likewise.
23533         * math/w_jnl.c (__jnl, __ynl): Likewise.
23534         * math/w_lgammal.c (__lgammal): Likewise.
23535         * math/w_log10l.c (__log10l): Likewise.
23536         * math/w_log2l.c (__log2l): Likewise.
23537         * math/w_logl.c (__logl): Likewise.
23538         * math/w_powl.c (__powl): Likewise.
23539         * math/w_remainderl.c (__remainderl): Likewise.
23540         * math/w_scalbl.c (sysv_scalbl): Likewise.
23541         * math/w_sinhl.c (__sinhl): Likewise.
23542         * math/w_sqrtl.c (__sqrtl): Likewise.
23543         * math/w_tgammal.c (__tgammal): Likewise.
23544         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23545         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23546         * math/libm-test.inc (acos_test): Add more tests.
23547         (acosh_test): Likewise.
23548         (asin_test): Likewise.
23549         (atanh_test): Likewise.
23550         (exp_test): Likewise.
23551         (exp10_test): Likewise.
23552         (exp2_test): Likewise.
23553         (expm1_test): Likewise.
23554         (lgamma_test): Likewise.
23555         (log_test): Likewise.
23556         (log10_test): Likewise.
23557         (log1p_test): Likewise.
23558         (log2_test): Likewise.
23559         (pow_test): Do not allow some spurious overflow exceptions.
23560         (sqrt_test): Add more tests.
23561         (tgamma_test): Likewise.
23562         (y0_test): Likewise.
23563         (y1_test): Likewise.
23564         (yn_test): Likewise.
23566 2012-03-27  Anton Blanchard  <anton@samba.org>
23568         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23569         MAP_HUGETLB.
23570         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23571         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23574 2012-03-27  David S. Miller  <davem@davemloft.net>
23576         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23578         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23579         have-as-vis3 check.
23581 2012-03-27  Andreas Jaeger  <aj@suse.de>
23583         * sysdeps/x86_64/elf/configure.in: Moved to ...
23584         * sysdeps/x86_64/configure.in: ... here.
23585         * sysdeps/x86_64/elf/start.S: Moved to ...
23586         * sysdeps/x86_64/start.S: ... here.
23587         * sysdeps/x86_64/elf/configure: Delete.
23589         * sysdeps/x86_64/configure.in: Merge contents from
23590         sysdeps/i386/configure.in (without i686 check).
23592         * sysdeps/i386/elf/Versions: Merge into ...
23593         * sysdeps/i386/Versions: ... this.
23594         * sysdeps/i386/elf/Versions: Delete file.
23595         * sysdeps/i386/elf/start.S: Moved to ...
23596         * sysdeps/i386/start.S: ...here.
23597         * sysdeps/i386/elf/configure.in: Merge into...
23598         * sysdeps/i386/configure.in: ...here.
23599         * sysdeps/i386/elf/configure.in: Delete file.
23600         * sysdeps/i386/elf/configure: Delete file.
23602         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23603         * debug/backtracesyms.c: ... here.
23604         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23605         * debug/backtracesymsfd.c: ... here.
23606         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23607         * sysdeps/generic/ifunc-sel.h: ... here.
23609         * sysdeps/unix/i386/start.c: Delete file.
23610         * sysdeps/unix/sparc/start.c: Delete file.
23611         * sysdeps/unix/start.c: Delete file.
23613         * sysdeps/sh/elf/configure.in: Moved to ...
23614         * sysdeps/sh/configure.in: ... here.
23615         * sysdeps/sh/elf/start.S: Moved to ...
23616         * sysdeps/sh/start.S: ... here.
23617         * sysdeps/sh/elf/configure: Delete file.
23619         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23620         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23621         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23622         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23623         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23624         * sysdeps/powerpc/powerpc64/start.S: here.
23625         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23626         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23627         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23628         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23629         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23631         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23632         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23633         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23634         * sysdeps/powerpc/powerpc32/start.S: ... here.
23635         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23636         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23637         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23639         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23640         * sysdeps/powerpc/ifunc-sel.h: ... here.
23641         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23642         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23644         * sysdeps/sparc/elf/configure.in: Moved to ...
23645         * sysdeps/sparc/configure.in: ... here.
23646         * sysdeps/sparc/elf/configure: Delete file.
23647         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23648         * sysdeps/sparc/sparc32/start.S: ... here.
23649         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23650         * sysdeps/sparc/sparc64/start.S: ... here.
23651         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23652         * sysdeps/sparc/sparc32/Makefile: ... this.
23653         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23654         * sysdeps/sparc/sparc64/Makefile: ... this.
23656         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23657         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23658         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23659         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23660         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23661         * sysdeps/s390/s390-32/setjmp.S: ... here.
23662         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23663         * sysdeps/s390/s390-32/configure.in: ... here.
23664         * sysdeps/s390/s390-32/elf/configure: Delete file.
23665         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23666         * sysdeps/s390/s390-32/start.S: ... here.
23668         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23669         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23670         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23671         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23672         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23673         * sysdeps/s390/s390-64/setjmp.S: ... here.
23674         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23675         * sysdeps/s390/s390-64/configure.in: ... here
23676         * sysdeps/s390/s390-64/elf/configure: Delete file.
23677         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23678         * sysdeps/s390/s390-64/start.S: ... here.
23679         * sysdeps/s390/s390-64/elf/configure: Delete.
23681         * configure.in: Remove support for elf directories in sysdeps.
23683         * configure: Regenerated.
23684         * sysdeps/i386/configure: Regenerated.
23685         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23686         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23687         * sysdeps/s390/s390-32/configure: Regenerated.
23688         * sysdeps/s390/s390-64/configure: Regenerated.
23689         * sysdeps/sh/configure: Regenerated.
23690         * sysdeps/sparc/configure: Regenerated.
23691         * sysdeps/x86_64/configure: Regenerated.
23693 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23698         denormal result into account.
23700 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23702         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23703         Reported by Allan McRae <allan@archlinux.org>.
23705 2012-03-23  Jeff Law  <law@redhat.com>
23707         * nss/getnssent.c (__nss_getent): Fix typo.
23709 2012-03-23  David S. Miller  <davem@davemloft.net>
23711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23713 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23715         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23716         to pad to uint64_t for each field.
23717         (dl_tls_index): Replace unsigned long with uint64_t.
23719 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23720         Paul Pluzhnikov  <ppluzhnikov@google.com>
23722         [BZ #6528]
23723         * grp/Makefile (otherlibs): Don't set it.
23724         * inet/Makefile (otherlibs): Likewise.
23725         * login/Makefile (otherlibs): Likewise.
23726         * nscd/Makefile (otherlibs): Likewise.
23727         * posix/Makefile (otherlibs): Likewise.
23728         * pwd/Makefile (otherlibs): Likewise.
23729         * rt/Makefile (otherlibs): Likewise.
23730         * sunrpc/Makefile (otherlibs): Likewise.
23731         * nss/Makefile (otherlibs): Likewise.
23732         Add libnss_files to routines and static-only-routines.
23733         ($(objpfx)getent): Remove rule.
23734         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23735         static-only-routines.
23737 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23739         [BZ #13892]
23740         * math/s_cexp.c: Include <float.h>.
23741         (__cexp): Handle exp result overflowing not necessarily
23742         overflowing both real and imaginary parts of result.
23743         * math/s_cexpf.c: Likewise.
23744         * math/s_cexpl.c: Likewise.
23745         * math/libm-test.inc (cexp_test): Add more tests.
23746         * sysdeps/i386/fpu/libm-test-ulps: Update.
23747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23749 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23751         * include/link.h (ELFW): New macro.
23752         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23753         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23755 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23757         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23758         with uint64_t.
23760 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23762         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23763         declaration.
23764         (struct La_x32_retval): Likewise.
23766 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23768         * sysdeps/x86_64/preconfigure.in: New file.
23769         * sysdeps/x86_64/preconfigure: New generated file.
23771 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23773         [BZ #13824]
23774         * math/e_exp2l.c: Include <float.h>.
23775         (__ieee754_exp2l): Handle overflow and underflow cases
23776         separately.  Only pass fractional part of argument to
23777         __ieee754_expl.
23778         * math/libm-test.inc (exp2_test): Add more tests.
23780         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23781         negating x to take absolute value.
23782         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23783         Likewise.
23784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23786         Likewise.
23787         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23788         computing low part if x was negated.
23789         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23791 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23793         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23794         la_x32_gnu_pltexit.
23795         (pltexit): Cast int_retval to ptrdiff_t.
23796         * elf/tst-auditmod3b.c: Likewise.
23797         * elf/tst-auditmod4b.c: Likewise.
23798         * elf/tst-auditmod5b.c: Likewise.
23799         * elf/tst-auditmod6b.c: Likewise.
23800         * elf/tst-auditmod6c.c: Likewise.
23801         * elf/tst-auditmod7b.c: Likewise.
23803         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23804         and x32_gnu_pltexit.
23806         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23807         __ELF_NATIVE_CLASS.
23808         (La_x32_regs): New macro.
23809         (La_x32_retval): Likewise.
23810         (la_x32_gnu_pltenter): New function prototype.
23811         (la_x32_gnu_pltexit): Likewise.
23813 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23816         exponent.
23818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23820         * configure.in (libc_cv_cc_nofma): Check for option to disable
23821         generation of FMA instructions.
23822         * configure: Regenerate.
23823         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23824         * sysdeps/ieee754/dbl-64/Makefile: New file.
23825         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23826         Remove brandred-fma4.
23827         (CFLAGS-brandred-fma4.c): Remove.
23828         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23829         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23830         define.
23831         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23832         define.
23834 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23836         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23837         LLONG_MAX != LONG_MAX.
23838         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23839         (_fitoa_word): Likewise.
23840         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23841         LLONG_MAX != LONG_MAX.
23842         * stdio-common/_itowa.h: Include <_itoa.h>.
23843         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23844         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23845         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23846         only if not defined.
23847         (_ITOA_WORD_TYPE): Likewise.
23848         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23849         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23851 2012-03-21  David S. Miller  <davem@davemloft.net>
23853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23855 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23858         of x86_64 when setting libc_cv_slibdir, libdir and
23859         libc_cv_localedir.
23860         * sysdeps/unix/sysv/linux/configure: Regenerated.
23862 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23864         * manual/lang.texi (Old Varargs): Remove section.
23865         (How Variadic): Update menu.
23866         (va_start): Do not mention varargs.h.
23868 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23869             Joseph Myers  <joseph@codesourcery.com>
23871         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23872         link test.
23873         * configure: Regenerated.
23875 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23877         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23878         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23879         conformtest.pl
23881 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23883         * NOTES: Remove.
23884         * Makefile (files-for-dist): Remove NOTES.
23885         (NOTES): Remove rule.
23886         * README: Don't refer to NOTES.
23887         * manual/creature.texi: Don't include macros.texi.
23888         * manual/intro.texi (creature.texi): Remove comment referring to
23889         NOTES.
23891         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23892         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23893         * configure: Regenerated.
23894         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23895         LIBC_TRY_CC_OPTION.
23896         (libc_cv_as_i686): Likewise.
23897         (libc_cv_cc_avx): Likewise.
23898         (libc_cv_cc_sse2avx): Likewise.
23899         (libc_cv_cc_fma4): Likewise.
23900         (libc_cv_cc_novzeroupper): Likewise.
23901         * sysdeps/i386/configure: Regenerated.
23903         [BZ #13883]
23904         * sysdeps/i386/fpu/s_cexp.S: Remove.
23905         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23906         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23907         * math/libm-test.inc (cexp_test): Add more tests.
23908         * sysdeps/i386/fpu/libm-test-ulps: Update.
23909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23911 2012-03-21  Allan McRae  <allan@archlinux.org>
23913         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23915 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23917         [BZ #13871]
23918         * math/w_exp2.c: Do not include <float.h>.
23919         (o_threshold, u_threshold): Remove.
23920         (__exp2): Calculate result before checking finiteness and calling
23921         __kernel_standard.
23922         * math/w_exp2f.c: Likewise.
23923         * math/w_exp2l.c: Likewise.
23924         * math/libm-test.inc (exp2_test): Require overflow exception for
23925         1e6 input.
23927         [BZ #3866]
23928         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23929         range of signed 64-bit integers before using fistpll.  Remove
23930         checks for whether integers fit in mantissa bits.
23931         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23932         the range of signed 32-bit integers before using fistpl.  Remove
23933         checks for whether integers fit in mantissa bits.
23934         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23935         (__ieee754_powl): Test for y outside the range of signed 64-bit
23936         integers before using fistpll.  Reduce 64-bit values to 63-bit
23937         ones as needed.
23938         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23939         divide-by-zero is raised for zero to large negative powers.
23940         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23941         (__ieee754_powl): Test for y outside the range of signed 64-bit
23942         integers before using fistpll.  Reduce 64-bit values to 63-bit
23943         ones as needed.
23944         * math/libm-test.inc (pow_test): Add more tests.
23946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23948         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23949         <stdio-common/_itoa.h>.
23950         * debug/segfault.c: Likewise.
23951         * elf/dl-cache.c: Likewise.
23952         * elf/dl-minimal.c: Likewise.
23953         * elf/dl-misc.c: Likewise.
23954         * elf/dl-sysdep.c: Likewise.
23955         * elf/dl-version.c: Likewise.
23956         * elf/rtld.c: Likewise.
23957         * hurd/hurdsock.c: Likewise.
23958         * hurd/lookup-retry.c: Likewise.
23959         * malloc/malloc.c: Likewise.
23960         * malloc/mtrace.c: Likewise.
23961         * nscd/nscd_getgr_r.c: Likewise.
23962         * nscd/nscd_getpw_r.c: Likewise.
23963         * nscd/nscd_getserv_r.c: Likewise.
23964         * posix/getopt_init.c: Likewise.
23965         * posix/wordexp.c: Likewise.
23966         * stdio-common/_itoa.c: Likewise.
23967         * stdio-common/printf_fphex.c: Likewise.
23968         * stdio-common/vfprintf.c: Likewise.
23969         * string/_strerror.c: Likewise.
23970         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23971         * sysdeps/i386/i686/hp-timing.h: Likewise.
23972         * sysdeps/mach/_strerror.c: Likewise.
23973         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23974         * sysdeps/mach/hurd/sethostid.c: Likewise.
23975         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23976         * sysdeps/mach/xpg-strerror.c: Likewise.
23977         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23979         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23980         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23981         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23982         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23983         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23984         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23985         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23986         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23987         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23988         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23989         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23990         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23991         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23992         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23993         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23994         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23995         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23996         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23997         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23999         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24001         * stdio-common/_itoa.h: Moved to ...
24002         * sysdeps/generic/_itoa.h: Here.
24004         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24006         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24007         instead of "_itoa.h" and "_itowa.h".
24008         * stdio-common/vfprintf.: Likewise.
24010 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24012         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24013         <bits/wordsize.h>.
24014         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24015         (__signbit): Likwise.
24016         (llrintf): Likwise.
24017         (llrint): Likwise.
24019 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24021         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24022         __WORDSIZE != 64.
24024 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24026         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24027         OVERFLOW_EXCEPTION_OK.
24028         * math/libm-test.inc ("Philosophy"): Update comment about
24029         exception testing.
24030         (OVERFLOW_EXCEPTION): Define.
24031         (OVERFLOW_EXCEPTION_OK): Likewise.
24032         (INVALID_EXCEPTION_OK): Renumber.
24033         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24034         (IGNORE_ZERO_INF_SIGN): Likewise.
24035         (test_exceptions): Handle FE_OVERFLOW.
24036         (exp10_test): Expect overflow exceptions.
24037         (exp2_test): Likewise.
24038         (expm1_test): Likewise.
24039         (nextafter_test): Likewise.
24040         (pow_test): Likewise.
24041         (scalbn_test): Likewise.
24042         (scalbln_test): Likewise.
24044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24046         * sysdeps/x86_64/bits/atomic.h
24047         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24048         64bit integer.
24049         (atomic_exchange_acq): Likewise.
24050         (__arch_exchange_and_add_body): Likewise.
24051         (__arch_add_body): Likewise.
24052         (atomic_add_negative): Likewise.
24053         (atomic_add_zero): Likewise.
24055 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24057         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24058         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24062         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24063         Check __x86_64__ instead of __WORDSIZE.
24065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24067         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24069 2012-03-19  David S. Miller  <davem@davemloft.net>
24071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24073         * sysdeps/sparc/fpu/fenv_private.h: New file.
24074         * sysdeps/sparc/fpu/math_private.h: Use it.
24075         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24076         Remove.
24077         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24078         (libc_feholdexcept_setroundl): Remove.
24079         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24080         Remove.
24081         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24082         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24084 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24086         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24087         int64_t instead of long int.
24088         (INSERT_WORDS64): Likwise.
24090 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24092         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24093         _Unwind_GetCFA return to _Unwind_Ptr first.
24095 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #13629]
24098         * math/s_clog.c: Include <float.h>.
24099         (__clog): Scale large or subnormal inputs.
24100         * math/s_clogf.c: Likewise.
24101         * math/s_clogl.c: Likewise.
24102         * math/s_clog10.c: Include <float.h>.
24103         (M_LOG10_2): Define.
24104         (__clog10): Scale large or subnormal inputs.
24105         * math/s_clog10f.c: Likewise.
24106         * math/s_clog10l.c: Likewise.
24107         * math/libm-test.inc (clog_test): Add more tests.
24108         (clog10_test): Likewise.
24109         * sysdeps/i386/fpu/libm-test-ulps: Update.
24110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24112         [BZ #11451]
24113         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24114         x and y.
24115         * math/libm-test.inc (atan2_test): Add another test.
24117         * Makerules (common-objdir-compile): Remove.
24118         * sysdeps/unix/Makefile (config-generated): Do not add
24119         $(unix-generated) to variable.
24120         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24121         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24122         Remove rule.
24123         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24124         Likewise.
24125         [generic bits/local_lim.h] (before-compile): Do not append to
24126         variable.
24127         [generic bits/local_lim.h] (common-generated): Likewise.
24128         [generic sys/param.h] (before-compile): Do not append to variable.
24129         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24130         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24131         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24132         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24133         include.
24134         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24135         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24136         [generic sys/param.h] ($(addprefix
24137         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24138         [generic sys/param.h] (common-generated): Do not append to
24139         variable.
24140         [generic sys/param.h] (sysdep_headers): Likewise.
24141         [generic bits/errno.h] (before-compile): Do not append to
24142         variable.
24143         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24144         rule.
24145         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24146         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24147         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24148         [generic bits/errno.h] (common-generated): Do not append to
24149         variable.
24150         [generic bits/ioctls.h] (before-compile): Do not append to
24151         variable.
24152         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24153         rule.
24154         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24155         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24156         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24157         rule.
24158         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24159         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24160         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24161         [generic bits/ioctls.h] (common-generated): Do not append to
24162         variable.
24163         [generic sys/syscall.h] (syscall.h): Remove variable.
24164         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24165         rule.
24166         [generic sys/syscall.h] (before-compile): Do not append to
24167         variable.
24168         [generic sys/syscall.h] (common-generated): Likewise.
24169         * sysdeps/unix/errnos-tmpl.c: Remove file.
24170         * sysdeps/unix/errnos.awk: Likewise.
24171         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24172         * sysdeps/unix/ioctls.awk: Likewise.
24173         * sysdeps/unix/mk-local_lim.c: Likewise.
24174         * sysdeps/unix/snarf-ioctls: Likewise.
24176 2012-03-19  Richard Henderson  <rth@twiddle.net>
24178         * sysdeps/i386/fpu/fenv_private.h: New file.
24179         * sysdeps/i386/fpu/math_private.h: Use it.
24180         (math_opt_barrier, math_force_eval): Remove.
24181         (libc_feholdexcept_setround_53bit): Remove.
24182         (libc_feupdateenv_53bit): Remove.
24183         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24184         (math_opt_barrier, math_force_eval): Remove.
24185         (libc_feholdexcept): Remove.
24186         (libc_feholdexcept_setround): Remove.
24187         (libc_fetestexcept, libc_fesetenv): Remove.
24188         (libc_feupdateenv_test): Remove.
24189         (libc_feupdateenv, libc_feholdsetround): Remove.
24190         (libc_feresetround): Remove.
24192         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24193         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24195         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24196         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24197         (libc_feupdateenv_testl): New.
24198         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24199         (libc_feupdateenv_testf): New.
24200         (libc_feupdateenv): Use libc_feupdateenv_test.
24201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24204         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24205         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24206         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24207         (libc_feresetround_noex): New.
24208         (libc_feresetround_noexf): New.
24209         (libc_feresetround_noexl): New.
24210         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24211         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24212         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24213         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24214         SET_RESTORE_ROUND.
24215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24217         (__cos): Likewise.
24218         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24219         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24220         SET_RESTORE_ROUND_NOEX.
24221         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24222         SET_RESTORE_ROUND_NOEXF.
24223         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24224         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24225         (libc_feholdsetroundf): New.
24226         (libc_feresetround, libc_feresetroundf): New.
24228         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24229         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24230         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24232         * sysdeps/generic/math_private.h: Include <fenv.h>.
24233         (default_libc_feholdexcept): New.
24234         (default_libc_feholdexcept_setround): New.
24235         (default_libc_fesetenv, default_libc_feupdateenv): New.
24236         (libc_feholdexcept): Only define if undefined.
24237         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24239         (libc_feholdexcept_setroundl): Likewise.
24240         (libc_feholdexcept_setround_53bit): Likewise.
24241         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24244         (libc_feupdateenv_53bit): Likewise.
24245         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24246         (libc_feholdexcept): Convert from macro to inline function.
24247         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24248         (libc_fesetenv, libc_feupdateenv): Likewise.
24250         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24251         not previously defined.
24252         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24253         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24254         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24255         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24256         * sysdeps/ieee754/flt-32/math_private.h: New file.
24257         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24258         math_private.h below SET_FLOAT_WORD.
24259         (__isnan, __isinf_ns, __finite): Remove.
24260         (__isnanf, __isinf_nsf, __finitef): Remove.
24262 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24266 2012-03-17  David S. Miller  <davem@davemloft.net>
24268         [BZ #6471]
24269         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24270         for 2.16.
24272 2012-03-16  David S. Miller  <davem@davemloft.net>
24274         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24275         warnings.
24277         [BZ #6471]
24278         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24279         properly.
24280         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24281         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24282         sysdep_routines when subdir is sysvipc.
24283         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24284         __getshmlba helper.
24286         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24288 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24290         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24291         [__LP64__].
24293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24295         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24296         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24297         (__lround): Renamed to ...
24298         (__llround): This.  Replace long int with long long int.
24299         Define lround functions as aliases of llround functions.
24300         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24302 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24304         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24305         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24306         adresses to uintptr_t.  Replace "long int" and "unsigned long
24307         int" with "greg_t" on va_arg.
24309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24311         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24312         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24314         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24315         Move e_machine check before EI_CLASS check.  Handle x32
24316         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24317         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24318         SKIP_EM_IA_64 and include
24319         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24321         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24322         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24323         (add_system_dir): New macro.
24325         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24326         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24328 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24330         [BZ #2551]
24331         [BZ #2552]
24332         [BZ #2553]
24333         [BZ #2554]
24334         [BZ #2562]
24335         [BZ #2563]
24336         [BZ #2565]
24337         [BZ #2566]
24338         [BZ #2576]
24339         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24340         (y0): Likewise.
24341         * math/w_j0f.c (j0f): Likewise.
24342         (y0f): Likewise.
24343         * math/w_j0l.c (__j0l): Likewise.
24344         (__y0l): Likewise.
24345         * math/w_j1.c (j1): Likewise.
24346         (y1): Likewise.
24347         * math/w_j1f.c (j1f): Likewise.
24348         (y1f): Likewise.
24349         * math/w_j1l.c (__j1l): Likewise.
24350         (__y1l): Likewise.
24351         * math/w_jn.c (jn): Likewise.
24352         (yn): Likewise.
24353         * math/w_jnf.c (jnf): Likewise.
24354         (ynf): Likewise.
24355         * math/w_jnl.c (__jnl): Likewise.
24356         (__ynl): Likewise.
24357         * math/libm-test.inc (j0_test): Add more tests.
24358         (j1_test): Likewise.
24359         (jn_test): Likewise.  Add trailing semicolon to existing test.
24360         (y0_test): Likewise.
24361         (y1_test): Likewise.
24362         * sysdeps/i386/fpu/libm-test-ulps: Update.
24363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24365         [BZ #13851]
24366         [BZ #13854]
24367         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24368         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24369         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24370         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24371         (__tanl): Set errno for infinite argument.
24372         * sysdeps/i386/fpu/mptan.c: Remove.
24373         * sysdeps/i386/fpu/s_tan.S: Likewise.
24374         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24375         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24376         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24377         * math/libm-test.inc (tan_test): Add more tests and enable more
24378         tests for double and long double.
24379         * sysdeps/i386/fpu/libm-test-ulps: Update.
24380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24382 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24384         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24385         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24387 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24389         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24390         * configure.in: Use it for both main tree and add-ons.
24391         * configure: Regenerated.
24393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24395         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24397 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24399         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24400         in comment.
24402         [BZ #13851]
24403         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24404         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24405         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24406         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24407         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24408         infinite argument.
24409         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24411         != 0 for prec == 2.
24412         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24413         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24414         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24415         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24416         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24417         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24418         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24419         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24420         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24421         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24422         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24423         * math/libm-test.inc (cos_test): Add more tests and enable more
24424         tests for long double.
24425         (sin_test): Likewise.
24426         (sincos_test): Likewise.
24427         * sysdeps/i386/fpu/libm-test-ulps: Update.
24428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24430 2012-03-16  David S. Miller  <davem@davemloft.net>
24432         * sysdeps/sparc/fpu/math_private.h: New file.
24434 2012-03-15  David S. Miller  <davem@davemloft.net>
24436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24437         file.
24438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24440         file.
24441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24447         sysdep routines.
24448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24450         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24451         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24453         * sysdeps/sparc/sparc-ifunc.h: New file.
24454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24455         sparc-ifunc.h
24456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24458         Likewise.
24459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24460         Likewise.
24461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24465         Likewise.
24466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24471         Likewise.
24472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24473         Likewise.
24474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24481         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24495         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24497         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24499 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24501         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24502         scaling.
24503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24505 2012-03-15  Andreas Jaeger  <aj@suse.de>
24507         [BZ #13852]
24508         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24509         ieee754/flt-32 implementation for sin, cos and sincos.
24510         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24511         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24512         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24513         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24514         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24515         ieee754/flt-32 implementation for tan.
24517         * math/libm-test.inc (cos_test): Enable some large input tests for
24518         float as well
24519         (sin_test): Likewise.
24520         (sincos_test): Likewise.
24521         (tan_test): Add tests for large input.
24523         * sysdeps/i386/fpu/libm-test-ulps: Update.
24525 2012-03-15  Andreas Jaeger  <aj@suse.de>
24527         [BZ #13658]
24528         * math/libm-test.inc (cos_test): Add more test cases.
24529         (sin_test): Likewise.
24530         (sincos_test): Likewise.
24532 2012-03-15  Andreas Jaeger  <aj@suse.de>
24534         [BZ #13837]
24535         * math/libm-test.inc (cos_test): Add a test case for large input
24536         value.
24537         (sin_test): Likewise.
24538         (sincos_test): Likewise.
24540 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24541         Joseph Myers  <joseph@codesourcery.com>
24543         [BZ #13658]
24544         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24545         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24546         * sysdeps/i386/fpu/branred.c: Likewise.
24547         * sysdeps/i386/fpu/dosincos.c: Likewise.
24548         * sysdeps/i386/fpu/mpa.c: Likewise.
24549         * sysdeps/i386/fpu/s_cos.S: Likewise.
24550         * sysdeps/i386/fpu/s_sin.S: Likewise.
24551         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24552         * sysdeps/i386/fpu/sincos32.c: Likewise.
24554         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24555         Define.
24556         (libc_feupdateenv_53bit): Define.
24557         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24558         Define.
24559         (libc_feupdateenv_53bit): Define.
24561         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24562         53 bit (without extend i386 double precision).
24564         * math/libm-test.inc (sincos_test): Add tests for large input.
24565         (sin): Likewise.
24566         (cos): Likewise.
24568         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24570 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24574 2012-03-15  David S. Miller  <davem@davemloft.net>
24576         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24577         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24578         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24579         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24592         file.
24593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24595         file.
24596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24598         file.
24599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24601         file.
24602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24604         fmin/fmax sysdep routines.
24605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24607 2012-03-14  David S. Miller  <davem@davemloft.net>
24609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24612         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24616         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24630         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24632         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24634         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24636         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24638         routines.
24639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24640         file.
24641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24643         file.
24644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24646         file.
24647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24649         file.
24650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24652         file.
24653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24655         file.
24656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24657         file.
24658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24659         file.
24660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24661         file.
24662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24663         New file.
24664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24665         file.
24666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24667         file.
24668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24670         file.
24671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24673         file.
24674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24676         file.
24677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24679         VIS3 routines.
24681         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24682         New file.
24684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24686         * sysdeps/sparc/configure.in: New file.
24687         * sysdeps/sparc/configure: Generate.
24688         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24689         * configure: Regenerate.
24690         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24691         * config.make.in (have-as-vis3): New.
24692         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24693         available use -Av9d instead of -Av9a.
24694         * sysdeps/sparc/sparc64/Makefile: Likewise.
24695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24697         New file.
24698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24699         file.
24700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24701         New file.
24702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24703         file.
24704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24708         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24710         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24711         fzeros/fnegs to load 0x80000000 into a float register instead of
24712         using the stack.
24713         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24715 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24718         bits/syscall.h.
24719         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24720         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24721         ($(inst_includedir)/bits/syscall.h): Remove rule.
24722         ($(objpfx)bits/syscall.d): Include instead of
24723         $(objpfx)syscall-list.d.
24724         (generated): Change syscall-list.h and syscall-list.d to
24725         bits/syscall.h and bits/syscall.d.
24727 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24729         [BZ #13846]
24730         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24732 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24734         [BZ #13841]
24735         * math/s_csqrt.c: Include <float.h>.
24736         (__csqrt): Scale large or subnormal inputs.
24737         * math/s_csqrtf.c: Likewise.
24738         * math/s_csqrtl.c: Likewise.
24739         * math/libm-test.inc (csqrt_test): Add more tests.
24740         * sysdeps/i386/fpu/libm-test-ulps: Update.
24741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743         [BZ #13840]
24744         * math/libm-test.inc (hypot_test): Add more tests.
24746 2012-03-13  David S. Miller  <davem@davemloft.net>
24748         [BZ #13840]
24749         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24750         double-precision for the calculation instead of scaling.
24752 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24754         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24755         manipulate bits before adding and subtracting TWO52[sx].
24756         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24757         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24758         Likewise.
24759         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24761 2012-03-13  David S. Miller  <davem@davemloft.net>
24763         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24764         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24766         rtld-global-offsets.h
24767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24769         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24770         large parameters.
24772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24774         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24775         'err' in the ifdef scope in which it is actually used.
24777         * nss/nss_db/db-init.c: Include string.h
24779 2012-03-12  David S. Miller  <davem@davemloft.net>
24781         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24782         masking out of the most significant byte of random value used.
24783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24784         Fix coding style in previous change.
24786         * sysdeps/unix/sysv/linux/kernel-features.h
24787         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24788         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24789         expression.
24790         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24791         later.
24793 2012-03-11  David S. Miller  <davem@davemloft.net>
24795         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24796         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24797         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24798         for 'resultvar' otherwise things get truncated on 64-bit.
24800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24801         Fix masking out of the most significant byte of random value used.
24803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24805 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24809 2012-03-09  David S. Miller  <davem@davemloft.net>
24811         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24812         variables with appropriate CPP guards.
24813         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24814         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24815         on resulting framesize and the management of the outregs buffer for pltexit.
24816         Preserve floating point return values across _dl_call_pltexit call.
24817         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24818         framesize and the management of the outregs buffer for pltexit.
24819         Preserve floating point return values across _dl_call_pltexit
24820         call.
24821         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24822         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24823         (print_exit): Fix format string for return register value.
24825 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24827         * sunrpc/Makefile (others): Add rpcgen.
24828         ($(objpfx)rpcgen): Remove special build rule and dependency on
24829         libc.
24830         * sunrpc/rpcgen.c: New file.
24832 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24834         [BZ #13673]
24835         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24836         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24837         * sysdeps/i386/crti.S: Likewise.
24838         * sysdeps/i386/crtn.S: Likewise.
24839         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24840         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24841         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24842         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24843         * sysdeps/sh/crti.S: Likewise.
24844         * sysdeps/sh/crtn.S: Likewise.
24845         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24847         [BZ #13673]
24848         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24849         with URL.
24850         * locale/programs/locfile-kw.gperf: Likewise.
24851         * locale/programs/charmap-kw.h: Regenerated.
24852         * locale/programs/locfile-kw.h: Likewise.
24854         [BZ #13673]
24855         * intl/plural.y: Replace FSF snail mail address with URL.
24856         * intl/plural.c: Regenerated.
24858 2012-03-09  Richard Henderson  <rth@twiddle.net>
24860         * include/math_private.h: Remove file.
24861         * math/math_private.h: Move file ...
24862         * sysdeps/generic/math_private.h: ... here.
24864         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24865         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24866         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24868         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24869         and <math_private.h>.
24870         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24871         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24872         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24873         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24874         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24875         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24876         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24878         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24879         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24881         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24882         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24883         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24884         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24885         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24886         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24887         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24888         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24889         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24891         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24892         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24894         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24895         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24896         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24900         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24901         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24902         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24903         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24904         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24905         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24906         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24907         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24908         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24909         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24910         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24911         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24912         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24913         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24914         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24915         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24916         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24917         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24918         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24919         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24920         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24921         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24922         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24923         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24924         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24925         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24926         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24927         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24928         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24929         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24930         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24931         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24933         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24934         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24935         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24936         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24937         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24938         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24939         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24941         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24942         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24943         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24944         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24948         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24949         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24950         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24951         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24952         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24953         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24954         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24957         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24958         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24961         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24962         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24963         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24964         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24965         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24966         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24967         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24968         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24969         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24970         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24971         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24972         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24973         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24974         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24975         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24976         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24977         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24978         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24979         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24980         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24981         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24982         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24983         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24984         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24985         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24986         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24987         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24988         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24989         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24990         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24991         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24992         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24993         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24994         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24995         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24996         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24997         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24998         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24999         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25000         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25001         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25002         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25003         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25004         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25005         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25006         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25007         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25008         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25009         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25010         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25011         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25012         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25013         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25014         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25015         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25016         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25017         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25018         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25019         * sysdeps/ieee754/k_standard.c: Likewise.
25020         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25021         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25022         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25023         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25024         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25025         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25026         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25027         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25028         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25029         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25032         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25033         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25034         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25035         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25036         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25037         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25038         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25039         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25040         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25041         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25042         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25043         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25044         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25045         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25046         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25047         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25048         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25049         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25050         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25051         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25052         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25053         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25054         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25055         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25056         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25057         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25058         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25059         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25060         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25061         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25062         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25063         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25064         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25065         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25066         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25067         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25068         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25069         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25070         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25071         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25072         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25073         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25074         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25075         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25076         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25077         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25078         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25079         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25080         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25081         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25082         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25084         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25086         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25087         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25088         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25089         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25090         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25092         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25093         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25094         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25096         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25097         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25098         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25099         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25100         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25101         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25102         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25103         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25104         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25105         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25106         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25108         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25110         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25111         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25112         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25113         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25114         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25115         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25116         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25117         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25118         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25119         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25121         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25122         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25123         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25124         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25125         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25127         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25128         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25129         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25130         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25131         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25132         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25133         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25134         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25135         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25136         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25137         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25138         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25139         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25140         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25141         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25142         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25143         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25144         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25145         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25147         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25148         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25150         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25151         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25152         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25153         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25154         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25155         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25156         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25157         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25158         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25159         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25160         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25161         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25162         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25163         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25164         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25165         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25166         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25167         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25168         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25169         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25170         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25171         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25173         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25174         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25175         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25176         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25177         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25178         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25179         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25180         * sysdeps/ieee754/s_lib_version.c: Likewise.
25181         * sysdeps/ieee754/s_matherr.c: Likewise.
25182         * sysdeps/ieee754/s_signgam.c: Likewise.
25183         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25184         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25185         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25186         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25187         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25188         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25189         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25190         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25191         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25192         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25193         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25194         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25195         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25196         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25197         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25198         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25199         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25200         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25201         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25202         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25203         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25205 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25207         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25208         * sunrpc/rpc_main.c: Likewise.
25209         * sunrpc/rpc_svcout.c: Likewise.
25211 2012-03-09  David S. Miller  <davem@davemloft.net>
25213         * include/math_private.h: New file.
25215 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25217         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25218         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25219         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25220         from <bits/socket_type.h>.
25221         (enum __socket_type): Don't define here.
25222         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25224         bits/socket_type.h.
25226         [BZ #13566]
25227         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25228         checking __USE_GNU.
25230         * Makerules ($(inst_includedir)/%.h): New rule.
25231         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25232         (install-others): Remove variable setting.
25233         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25235 2012-03-08  Richard Henderson  <rth@twiddle.net>
25237         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25238         from macro to inline function; merge with the
25239         !__LIBC_INTERNAL_MATH_INLINES version.
25240         (__ieee754_sqrtf): Likewise.
25242         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25243         to inline function.
25244         (__rintf, __floor, __floorf): Likewise.
25246         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25247         macro to inline function.
25248         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25250         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25251         not <math/math_private.h>.
25253 2012-03-08  David S. Miller  <davem@davemloft.net>
25255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25256         copyright year.
25257         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25259 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25261         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25262         normalization.
25263         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25264         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25266 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25268         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25269         be defined individually, they must be defined as a block.  Define
25270         S for printing a string instead of hidint the different by using a
25271         macro for adding the 'l'.
25272         * stdio-common/tst-fphex-wide.c: Adjust.
25274 2012-03-07  Marek Polacek  <polacek@redhat.com>
25276         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25278 2012-03-08  Marek Polacek  <polacek@redhat.com>
25280         [BZ #13806]
25281         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25282         * stdio-common/tst-fphex.c: Define a few macros to make the
25283         test reusable.  Use them.
25284         * stdio-common/tst-fphex-wide.c: New file.
25286 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25288         [BZ #6911]
25289         * manual/macros.texi (gnusystems): New macro.
25290         (nongnusystems): Likewise.
25291         (gnulinuxhurdsystems): Likewise.
25292         (gnuhurdsystems): Likewise..
25293         (gnulinuxsystems): Likewise.
25294         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25295         variants of the GNU system, not "GNU system".
25296         * manual/conf.texi: Likewise.
25297         * manual/errno.texi: Likewise.  Update example of errno macro
25298         expansion.
25299         * manual/filesys.texi: Likewise.
25300         (getumask): Document as specific to GNU/Hurd.
25301         * manual/install.texi: Likewise.  Reword some references to
25302         GNU/Linux.
25303         * manual/intro.texi: Likewise.
25304         * manual/io.texi: Likewise.
25305         (File Name Portability): Detail which constraints are inapplicable
25306         to all GNU systems and which are only inapplicable to GNU/Hurd.
25307         * manual/job.texi: Likewise.
25308         * manual/llio.texi: Likewise.
25309         (O_NOCTTY): Document as present on GNU/Linux.
25310         * manual/maint.texi: Likewise.
25311         * manual/memory.texi: Likewise.
25312         * manual/pattern.texi: Likewise.
25313         * manual/pipe.texi: Likewise.
25314         * manual/process.texi: Likewise.
25315         * manual/resource.texi: Likewise.
25316         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25317         child on GNU/Hurd.
25318         * manual/setjmp.texi: Likewise.
25319         * manual/signal.texi: Likewise.
25320         * manual/startup.texi: Likewise.
25321         * manual/stdio.texi: Likewise.
25322         * manual/terminal.texi: Likewise.
25323         (ONLCR): Document as POSIX.
25324         (OXTABS): Document availability on GNU/Linux as XTABS.
25325         (ONOEOT): Document availability separately from other bits.
25326         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25327         * manual/time.texi: Likewise.
25328         * manual/users.texi: Likewise.
25329         * INSTALL: Regenerated.
25330         * sysdeps/gnu/errlist.c: Regenerated.
25332         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25333         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25334         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25335         puts.
25336         * configure: Regenerated.
25338 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25340         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25341         default includes instead of AC_HEADER_CHECK.
25342         * sysdeps/i386/configure: Regenerated.
25344         [BZ #10716]
25345         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25346         * math/s_cacoshf.c (__cacoshf): Likewise.
25347         * math/s_cacoshl.c (__cacoshl): Likewise.
25348         * math/s_casinh.c (__casinh): Set signs of result from argument.
25349         * math/s_casinhf.c (__casinhf): Likewise.
25350         * math/s_casinhl.c (__casinhl): Likewise.
25351         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25352         (casinh_test): Add more tests.
25353         * sysdeps/i386/fpu/libm-test-ulps: Update.
25354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25356 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25358         * po/zh_TW.po: Update from translation team.
25360         * login/Makefile (distribute): Remove variable.
25361         * catgets/Makefile: Likewise.
25362         * mach/Makefile: Likewise.
25363         * malloc/Makefile: Likewise.
25364         * misc/Makefile: Likewise.
25365         * iconv/Makefile: Likewise.
25366         * nscd/Makefile: Likewise.
25367         * hurd/Makefile: Likewise.
25368         * manual/Makefile: Likewise.
25369         * locale/Makefile: Likewise.
25370         * intl/Makefile: Likewise.
25371         * conform/Makefile: Likewise.
25372         * nss/Makefile: Likewise.
25373         * time/Makefile: Likewise.
25374         * soft-fp/Makefile: Likewise.
25375         * dirent/Makefile: Likewise.
25376         * gmon/Makefile: Likewise.
25377         * po/Makefile: Likewise.
25378         * rt/Makefile: Likewise.
25379         * socket/Makefile: Likewise.
25380         * math/Makefile: Likewise.
25381         * signal/Makefile: Likewise.
25382         * debug/Makefile: Likewise.
25383         * elf/Makefile: Likewise.
25384         * timezone/Makefile: Likewise.
25385         * stdlib/Makefile: Likewise.
25386         * iconvdata/Makefile: Likewise.
25387         * sunrpc/Makefile: Likewise.
25388         * io/Makefile: Likewise.
25389         * argp/Makefile: Likewise.
25390         * inet/Makefile: Likewise.
25391         * hesiod/Makefile: Likewise.
25392         * grp/Makefile: Likewise.
25393         * csu/Makefile: Likewise.
25394         * wctype/Makefile: Likewise.
25395         * crypt/Makefile: Likewise.
25396         * libio/Makefile: Likewise.
25397         * string/Makefile: Likewise.
25398         * nis/Makefile: Likewise.
25399         * resolv/Makefile: Likewise.
25400         * stdio-common/Makefile: Likewise.
25401         * wcsmbs/Makefile: Likewise.
25402         * dlfcn/Makefile: Likewise.
25403         * posix/Makefile: Likewise.
25405         [BZ #6959]
25406         * timezone/Makefile: Don't install timezone files, just the programs
25407         and scripts.
25409 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25411         * nss/databases.def: Add missing gshadow entry.
25413         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25415 2012-03-06  Marek Polacek  <polacek@redhat.com>
25417         [BZ #13726]
25418         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25419         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25420         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25421         * stdio-common/tst-long-dbl-fphex.c: New file.
25423 2012-03-06  David S. Miller  <davem@davemloft.net>
25425         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25426         (set_obp_int): New function.
25427         (get_obp_int): New function.
25428         (__get_clockfreq_via_dev_openprom): Likewise.
25429         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25430         Avoid unused variable warnings on 'val' and use builtin_expect.
25431         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25432         __builtin_expect.
25433         (INLINE_CLONE_SYSCALL): Likewise.
25435 2012-03-05  David S. Miller  <davem@davemloft.net>
25437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25439 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25444         only for |x| >= 40.
25445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25447 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25449         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25450         Replace gettimeofday with __vdso_gettimeofday.
25452         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25453         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25454         __vdso_clock_gettime and __vdso_getcpu.
25456         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25457         time with __vdso_time.
25459 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25461         * manual/lang.texi (size_t): Note types to which size_t may be
25462         equivalent with the GNU C Library, but do not describe when
25463         differences between them are significant.
25465 2012-03-05  Andreas Jaeger  <aj@suse.de>
25467         * sysdeps/i386/fpu/libm-test-ulps: Update.
25469 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25471         [BZ #3976]
25472         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25473         (__ieee754_pow): Save and restore rounding mode and use
25474         round-to-nearest for main computations.
25475         * math/libm-test.inc (pow_test_tonearest): New function.
25476         (pow_test_towardzero): Likewise.
25477         (pow_test_downward): Likewise.
25478         (pow_test_upward): Likewise.
25479         (main): Call the new functions.
25480         * sysdeps/i386/fpu/libm-test-ulps: Update.
25481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25483         [BZ #3976]
25484         * math/libm-test.inc (cosh_test_tonearest): New function.
25485         (cosh_test_towardzero): Likewise.
25486         (cosh_test_downward): Likewise.
25487         (cosh_test_upward): Likewise.
25488         (sinh_test_tonearest): Likewise.
25489         (sinh_test_towardzero): Likewise.
25490         (sinh_test_downward): Likewise.
25491         (sinh_test_upward): Likewise.
25492         (main): Call the new functions.
25493         * sysdeps/i386/fpu/libm-test-ulps: Update.
25494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25496 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25498         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25499         default stack guard is set in last bytes.
25500         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25502 2012-03-05  Kees Cook  <keescook@chromium.org>
25504         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25506         [BZ #13656]
25507         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25508         possibly allocate from heap instead of stack.
25509         * stdio-common/bug-vfprintf-nargs.c: New file.
25510         * stdio-common/Makefile (tests): Add nargs overflow test.
25512 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25516 2012-03-03  Marek Polacek  <polacek@redhat.com>
25518         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25519         * math/math_private.h: Likewise.
25520         * stdlib/tst-strtod.c: Likewise.
25521         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25522         * sysdeps/x86_64/bits/atomic.h: Likewise.
25524 2012-03-02  David S. Miller  <davem@davemloft.net>
25526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25530         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25531         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25532         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25533         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25535 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25537         [BZ #13792]
25538         * manual/examples/README: New file, says the example source files
25539         can be used under GPL>=2.
25540         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25541         line containing just "*/".
25542         * manual/examples/add.c: Add copyright header (GPL>=2).
25543         * manual/examples/argp-ex1.c: Likewise.
25544         * manual/examples/argp-ex2.c: Likewise.
25545         * manual/examples/argp-ex3.c: Likewise.
25546         * manual/examples/argp-ex4.c: Likewise.
25547         * manual/examples/atexit.c: Likewise.
25548         * manual/examples/db.c: Likewise.
25549         * manual/examples/dir.c: Likewise.
25550         * manual/examples/dir2.c: Likewise.
25551         * manual/examples/execinfo.c: Likewise.
25552         * manual/examples/filecli.c: Likewise.
25553         * manual/examples/filesrv.c: Likewise.
25554         * manual/examples/fmtmsgexpl.c: Likewise.
25555         * manual/examples/genpass.c: Likewise.
25556         * manual/examples/inetcli.c: Likewise.
25557         * manual/examples/inetsrv.c: Likewise.
25558         * manual/examples/isockad.c: Likewise.
25559         * manual/examples/longopt.c: Likewise.
25560         * manual/examples/memopen.c: Likewise.
25561         * manual/examples/memstrm.c: Likewise.
25562         * manual/examples/mkfsock.c: Likewise.
25563         * manual/examples/mkisock.c: Likewise.
25564         * manual/examples/mygetpass.c: Likewise.
25565         * manual/examples/pipe.c: Likewise.
25566         * manual/examples/popen.c: Likewise.
25567         * manual/examples/rprintf.c: Likewise.
25568         * manual/examples/search.c: Likewise.
25569         * manual/examples/select.c: Likewise.
25570         * manual/examples/setjmp.c: Likewise.
25571         * manual/examples/sigh1.c: Likewise.
25572         * manual/examples/sigusr.c: Likewise.
25573         * manual/examples/stpcpy.c: Likewise.
25574         * manual/examples/strdupa.c: Likewise.
25575         * manual/examples/strftim.c: Likewise.
25576         * manual/examples/strncat.c: Likewise.
25577         * manual/examples/subopt.c: Likewise.
25578         * manual/examples/swapcontext.c: Likewise.
25579         * manual/examples/termios.c: Likewise.
25580         * manual/examples/testopt.c: Likewise.
25581         * manual/examples/testpass.c: Likewise.
25582         * manual/examples/timeval_subtract.c: Likewise.
25584         [BZ #13792]
25585         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25586         function to ...
25587         * manual/timeval_subtract.c.texi: ... here, new file.
25589 2012-03-02  David S. Miller  <davem@davemloft.net>
25591         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25593 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25595         [BZ #3976]
25596         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25597         (__sin): Save and restore rounding mode and use round-to-nearest
25598         for all computations.
25599         (__cos): Save and restore rounding mode and use round-to-nearest
25600         for all computations.
25601         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25602         <fenv.h>.
25603         (tan): Save and restore rounding mode and use round-to-nearest for
25604         all computations.
25605         * math/libm-test.inc (cos_test_tonearest): New function.
25606         (cos_test_towardzero): Likewise.
25607         (cos_test_downward): Likewise.
25608         (cos_test_upward): Likewise.
25609         (sin_test_tonearest): Likewise.
25610         (sin_test_towardzero): Likewise.
25611         (sin_test_downward): Likewise.
25612         (sin_test_upward): Likewise.
25613         (tan_test_tonearest): Likewise.
25614         (tan_test_towardzero): Likewise.
25615         (tan_test_downward): Likewise.
25616         (tan_test_upward): Likewise.
25617         (main): Call the new functions.
25618         * sysdeps/i386/fpu/libm-test-ulps: Update.
25619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25621         [BZ #10135]
25622         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25623         small n, then large n, before computing and testing k+n.
25624         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25625         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25626         Likewise.
25627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25628         Likewise.
25629         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25630         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25631         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25632         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25633         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25635         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25636         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25637         * math/libm-test.inc (scalbn_test): Add more tests.
25638         (scalbln_test): Likewise.
25640         * manual/filesys.texi (mode_t): Describe constraints on size and
25641         signedness, not exact equivalence to a particular type.
25642         (ino_t): Likewise.
25643         (ino64_t): Likewise.
25644         (dev_t): Likewise.
25645         (nlink_t): Likewise.
25646         (blkcnt_t): Likewise.
25647         (blkcnt64_t): Likewise.
25648         * manual/llio.texi (off_t): Likewise.
25650         [BZ #3976]
25651         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25652         (__ieee754_exp): Save and restore rounding mode and use
25653         round-to-nearest for all computations.
25654         * math/libm-test.inc (exp_test_tonearest): New function.
25655         (exp_test_towardzero): Likewise.
25656         (exp_test_downward): Likewise.
25657         (exp_test_upward): Likewise.
25658         (main): Call the new functions.
25659         * sysdeps/i386/fpu/libm-test-ulps: Update.
25660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25662 2012-03-01  Chris Demetriou  <cgd@google.com>
25664         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25665         have predictable order.
25667 2012-03-01  David S. Miller  <davem@davemloft.net>
25669         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25671         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25672         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25673         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25674         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25676         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25677         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25678         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25680         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25681         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25682         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25683         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25684         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25688         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25689         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25690         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25692         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25693         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25694         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25695         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25696         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25697         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25698         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25699         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25700         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25701         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25702         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25703         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25704         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25705         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25706         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25708         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25709         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25710         * sysdeps/sparc/elf/configure: Regenerated.
25712 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25714         * configure.in (AS, LD): Require binutils 2.20 or later.
25715         * configure: Regenerated.
25716         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25717         as required minimum version.
25718         * INSTALL: Regenerated.
25720         [BZ #2541]
25721         [BZ #4108]
25722         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25723         before squaring exponent.
25724         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25725         bottom long double and 27 bits of top long double before squaring
25726         exponent.
25727         * math/libm-test.inc (erfc_test): Add more tests.
25728         * sysdeps/i386/fpu/libm-test-ulps: Update.
25729         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25732 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25734         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25735         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25736         containing bit-fields.
25737         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25738         * soft-fp/single.h (_FP_UNION_S): Likewise.
25739         * soft-fp/double.h (_FP_UNION_D): Likewise.
25741 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25743         [BZ #13786]
25744         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25745         not include ../strcmp.S.
25746         [USE_AS_STRNCASECMP_L]: Likewise.
25747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25748         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25749         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25750         (__strncasecmp_l_ia32): Define as alias to
25751         __strncasecmp_l_nonascii.
25753         [BZ #5794]
25754         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25755         * sysdeps/i386/fpu/libm-test-ulps: Update.
25756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25758         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25761 2012-02-29  Jeff Law  <law@redhat.com>
25763         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25764         out of bounds read.
25766 2012-02-29  Marek Polacek  <polacek@redhat.com>
25768         [BZ #13706]
25769         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25770         * elf/Makefile: Add rules to run tst-unused-dep.out.
25772 2012-02-28  David S. Miller  <davem@davemloft.net>
25774         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25775         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25777         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25778         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25779         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25781 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25783         * math/libm-test.inc (llround_test): Move one test from
25784         lround_test.  Use TEST_f_L in moved test.
25785         (lround_test): Move misplaced test to llround_test.  Add testcase
25786         from bug 2561.
25788 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25790         * sysdeps/x86_64/fpu/e_expf.S: New file.
25791         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25793 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25795         [BZ #13637]
25796         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25797         of remain_len that may cause incomplete multi-byte character and
25798         false match.
25799         * posix/bug-regex33.c: New file.
25800         * posix/Makefile (tests): Add bug-regex33.
25802 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25804         * manual/macros.texi: New file.
25805         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25806         * manual/libc.texinfo: Include macros.texi.
25807         * manual/creatute.texi: Likewise.
25808         * manual/install.texi: Likewise.
25809         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25810         @glibcadj{} in references to the GNU C Library.
25811         * manual/charset.texi: Likewise.
25812         * manual/conf.texi: Likewise.
25813         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25814         when not using those macros.
25815         * manual/creature.texi: Likewise.
25816         * manual/crypt.texi: Likewise.
25817         * manual/errno.texi: Likewise.
25818         * manual/filesys.texi: Likewise.
25819         * manual/header.texi: Likewise.
25820         * manual/install.texi: Likewise.
25821         * manual/intro.texi: Likewise.
25822         * manual/io.texi: Likewise.
25823         * manual/job.texi: Likewise.
25824         * manual/lang.texi: Likewise.
25825         * manual/libc.texiinfo: Likewise.
25826         * manual/llio.texi: Likewise.
25827         * manual/locale.texi: Likewise.
25828         * manual/maint.texi: Likewise.
25829         * manual/math.texi: Likewise.
25830         * manual/memory.texi: Likewise.
25831         * manual/message.texi: Likewise.
25832         * manual/nss.texi: Likewise.
25833         * manual/pattern.texi: Likewise.
25834         * manual/process.texi: Likewise.
25835         * manual/resource.texi: Likewise.
25836         * manual/search.texi: Likewise.
25837         * manual/setjmp.texi: Likewise.
25838         * manual/signal.texi: Likewise.
25839         * manual/socket.texi: Likewise.
25840         * manual/startup.texi: Likewise.
25841         * manual/stdio.texi: Likewise.
25842         * manual/string.texi: Likewise.
25843         * manual/sysinfo.texi: Likewise.
25844         * manual/syslog.texi: Likewise.
25845         * manual/terminal.texi: Likewise.
25846         * manual/time.texi: Likewise.
25847         * manual/users.texi: Likewise.
25848         * INSTALL: Regenerated.
25849         * NOTES: Regenerated.
25850         * sysdeps/gnu/errlist.c: Regenerated.
25852 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25854         * include/dirent.h: Include <dirstream.h> before
25855         <dirent/dirent.h>.
25857 2012-02-28  David S. Miller  <davem@davemloft.net>
25859         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25860         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25861         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25862         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25864 2012-02-27  David S. Miller  <davem@davemloft.net>
25866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25868         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25869         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25872         frame pointer instead of stack pointer relative arg slot.
25873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25877 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
25879         [BZ #3992]
25880         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25882 2012-02-27  David S. Miller  <davem@davemloft.net>
25884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25888         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25889         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25890         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25891         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25893 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25895         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25896         later.  Allow versions 5-9.
25897         * configure: Regenerated.
25898         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25899         required minimum version and 4.6 as recommended version.  Do not
25900         mention bugs in GCC 2.7 and 2.8.
25901         * INSTALL: Regenerated.
25903 2012-02-27  David S. Miller  <davem@davemloft.net>
25905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25909         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25910         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25911         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25912         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25914         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25915         manipulate bits before adding and subtracting TWO112[sx].
25916         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25918 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25920         [BZ #13775]
25921         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25922         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25923         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25924         being in POSIX, because they are in 1003.1-2008.
25926         * rt/tst-aio.c: Include <fcntl.h>.
25927         * rt/tst-aio7.c: Likewise.
25928         * rt/tst-aio64.c: Likewise.
25930         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25932 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25934         * manual/install.texi (--with-headers): Describe headers as
25935         interface headers, not private headers.
25936         (Specific advice for GNU/Linux systems): Describe use of headers
25937         from "make headers_install", not private headers from older
25938         kernels.
25939         * INSTALL: Regenerated.
25940         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25941         Change to 2.6.19.
25942         * sysdeps/unix/sysv/linux/configure: Regenerated.
25944         * manual/llio.texi (fclean): Remove documentation.
25946         * manual/Makefile (libc-texi-generated): New variable.  Include
25947         version.texi.
25948         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25949         $(libc-texi-generated), not duplicated list of files.
25950         (version.texi, stamp-version): New rules.
25951         (realclean): Remove $(libc-texi-generated), not individual files
25952         from that list.  Do not remove dir-add.texinfo.
25953         * manual/libc.texinfo: Comment out uses of edition numbers and
25954         references to printed manual.  Remove last-updated dates.
25955         (EDITION): Comment out.
25956         (ISBN): Likewise.
25957         (VERSION, UPDATED): Remove.
25958         (version.texi): Include.
25960 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25962         * sysdeps/posix/spawni.c: Include <signal.h>.
25963         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25964         * sysdeps/pthread/aio_fsync.c: Likewise.
25966 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25968         * conform/Makefile (tests): Run only when not cross-compiling and
25969         when fast-check is not defined.
25971         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25972         * conform/data/limits.h-data: Fixes for POSIX2008.
25973         * conform/run-conformtest.sh: Run all tests.
25974         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25975         headers.
25976         * include/bits/dlfcn.h: Likewise.
25977         * include/langinfo.h: Likewise.
25978         * include/monetary.h: Likewise.
25979         * include/sys/poll.h: Likewise.
25981         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25982         for __USE_GNU.
25983         * posix/spawn.h: Define __need_sigset_t.
25984         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25985         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25986         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25987         to get sigevent_t only.
25988         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25989         only for __USE_GNU.
25990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25991         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25992         process_vm_writev only for __USE_GNU.
25993         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25995         * conform/Makefile: For now ignore errors from run-conformtest.
25996         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25997         POSIX to avoid namespace pollution.  Don't prepend headers.
25998         * conform/data/aio.h-data: Fixes for POSIX testing.
25999         * conform/data/fcntl.h-data: Likewise.
26000         * conform/data/glob.h-data: Likewise.
26001         * conform/data/grp.h-data: Likewise.
26002         * conform/data/pthread.h-data: Likewise.
26003         * conform/data/pwd.h-data: Likewise.
26004         * conform/data/signal.h-data: Likewise.
26005         * conform/data/spawn.h-data: Likewise.
26006         * conform/data/stdio.h-data: Likewise.
26007         * conform/data/stdlib.h-data: Likewise.
26008         * conform/data/stropts.h-data: Likewise.
26009         * conform/data/sys/mman.h-data: Likewise.
26010         * conform/data/sys/stat.h-data: Likewise.
26011         * conform/data/sys/types.h-data: Likewise.
26012         * conform/data/sys/wait.h-data: Likewise.
26013         * conform/data/time.h-data: Likewise.
26014         * conform/data/unistd.h-data: Likewise.
26015         * conform/data/utime.h-data: Likewise.
26017         * io/sys/stat.h: fchmod was always in POSIX.
26018         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26019         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26020         * rt/aio.h: Define __need_timespec before including <time.h>.
26021         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26022         struct.  Add forward declaration of pthread_attr_t and use it in
26023         sigevent.
26024         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26026         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26027         always remove CLK_TCK definition.
26029 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26031         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26033 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26035         * conform/run-conformtest.sh: New file.
26036         * conform/Makefile: Run run-conformtest for tests.
26037         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26038         support.
26040         * conform/data/uchar.h-data: New file.
26041         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26042         * conform/data/arpa/inet.h-data: Likewise.
26043         * conform/data/assert.h-data: Likewise.
26044         * conform/data/complex.h-data: Likewise.
26045         * conform/data/cpio.h-data: Likewise.
26046         * conform/data/ctype.h-data: Likewise.
26047         * conform/data/dirent.h-data: Likewise.
26048         * conform/data/dlfcn.h-data: Likewise.
26049         * conform/data/errno.h-data: Likewise.
26050         * conform/data/fcntl.h-data: Likewise.
26051         * conform/data/float.h-data: Likewise.
26052         * conform/data/fmtmsg.h-data: Likewise.
26053         * conform/data/fnmatch.h-data: Likewise.
26054         * conform/data/ftw.h-data: Likewise.
26055         * conform/data/glob.h-data: Likewise.
26056         * conform/data/grp.h-data: Likewise.
26057         * conform/data/iconv.h-data: Likewise.
26058         * conform/data/inttypes.h-data: Likewise.
26059         * conform/data/langinfo.h-data: Likewise.
26060         * conform/data/libgen.h-data: Likewise.
26061         * conform/data/limits.h-data: Likewise.
26062         * conform/data/locale.h-data: Likewise.
26063         * conform/data/math.h-data: Likewise.
26064         * conform/data/monetary.h-data: Likewise.
26065         * conform/data/mqueue.h-data: Likewise.
26066         * conform/data/ndbm.h-data: Likewise.
26067         * conform/data/net/if.h-data: Likewise.
26068         * conform/data/netdb.h-data: Likewise.
26069         * conform/data/netinet/in.h-data: Likewise.
26070         * conform/data/nl_types.h-data: Likewise.
26071         * conform/data/poll.h-data: Likewise.
26072         * conform/data/pthread.h-data: Likewise.
26073         * conform/data/pwd.h-data: Likewise.
26074         * conform/data/regex.h-data: Likewise.
26075         * conform/data/sched.h-data: Likewise.
26076         * conform/data/search.h-data: Likewise.
26077         * conform/data/semaphore.h-data: Likewise.
26078         * conform/data/setjmp.h-data: Likewise.
26079         * conform/data/signal.h-data: Likewise.
26080         * conform/data/spawn.h-data: Likewise.
26081         * conform/data/stdarg.h-data: Likewise.
26082         * conform/data/stdio.h-data: Likewise.
26083         * conform/data/stdlib.h-data: Likewise.
26084         * conform/data/string.h-data: Likewise.
26085         * conform/data/strings.h-data: Likewise.
26086         * conform/data/stropts.h-data: Likewise.
26087         * conform/data/sys/ipc.h-data: Likewise.
26088         * conform/data/sys/mman.h-data: Likewise.
26089         * conform/data/sys/msg.h-data: Likewise.
26090         * conform/data/sys/resource.h-data: Likewise.
26091         * conform/data/sys/select.h-data: Likewise.
26092         * conform/data/sys/sem.h-data: Likewise.
26093         * conform/data/sys/shm.h-data: Likewise.
26094         * conform/data/sys/socket.h-data: Likewise.
26095         * conform/data/sys/stat.h-data: Likewise.
26096         * conform/data/sys/statvfs.h-data: Likewise.
26097         * conform/data/sys/time.h-data: Likewise.
26098         * conform/data/sys/timeb.h-data: Likewise.
26099         * conform/data/sys/times.h-data: Likewise.
26100         * conform/data/sys/types.h-data: Likewise.
26101         * conform/data/sys/uio.h-data: Likewise.
26102         * conform/data/sys/un.h-data: Likewise.
26103         * conform/data/sys/utsname.h-data: Likewise.
26104         * conform/data/sys/wait.h-data: Likewise.
26105         * conform/data/syslog.h-data: Likewise.
26106         * conform/data/tar.h-data: Likewise.
26107         * conform/data/termios.h-data: Likewise.
26108         * conform/data/utime.h-data: Likewise.
26109         * conform/data/utmpx.h-data: Likewise.
26110         * conform/data/varargs.h-data: Likewise.
26111         * conform/data/wchar.h-data: Likewise.
26112         * conform/data/wctype.h-data: Likewise.
26113         * conform/data/wordexp.h-data: Likewise.
26115         * include/stropts.h: New file.
26116         * include/uchar.h: New file.
26117         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26118         * include/assert.h: Likewise.
26119         * include/ctype.h: Likewise.
26120         * include/dirent.h: Likewise.
26121         * include/dlfcn.h: Likewise.
26122         * include/fcntl.h: Likewise.
26123         * include/fnmatch.h: Likewise.
26124         * include/glob.h: Likewise.
26125         * include/grp.h: Likewise.
26126         * include/libio.h: Likewise.
26127         * include/locale.h: Likewise.
26128         * include/math.h: Likewise.
26129         * include/net/if.h: Likewise.
26130         * include/netdb.h: Likewise.
26131         * include/netinet/in.h: Likewise.
26132         * include/pthread.h: Likewise.
26133         * include/pwd.h: Likewise.
26134         * include/regex.h: Likewise.
26135         * include/sched.h: Likewise.
26136         * include/search.h: Likewise.
26137         * include/setjmp.h: Likewise.
26138         * include/signal.h: Likewise.
26139         * include/stdio.h: Likewise.
26140         * include/stdlib.h: Likewise.
26141         * include/string.h: Likewise.
26142         * include/sys/cdefs.h: Likewise.
26143         * include/sys/mman.h: Likewise.
26144         * include/sys/msg.h: Likewise.
26145         * include/sys/resource.h: Likewise.
26146         * include/sys/select.h: Likewise.
26147         * include/sys/socket.h: Likewise.
26148         * include/sys/stat.h: Likewise.
26149         * include/sys/statvfs.h: Likewise.
26150         * include/sys/time.h: Likewise.
26151         * include/sys/times.h: Likewise.
26152         * include/sys/uio.h: Likewise.
26153         * include/sys/utsname.h: Likewise.
26154         * include/sys/wait.h: Likewise.
26155         * include/termios.h: Likewise.
26156         * include/time.h: Likewise.
26157         * include/ulimit.h: Likewise.
26158         * include/unistd.h: Likewise.
26159         * include/utime.h: Likewise.
26160         * include/wchar.h: Likewise.
26161         * include/wctype.h: Likewise.
26162         * include/wordexp.h: Likewise.
26164         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26166         * time/time.h: TIME_UTC must be a macro.
26167         Make timespec_get available for ISO C11 only as well.
26169 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26171         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26172         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26174 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26176         * configure.in: Use -o not -a in test for unsupported multi-arch.
26178 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26180         * manual/texinfo.tex: Update to version 2012-01-19.16.
26182 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26184         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26186 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26188         [BZ #13738]
26189         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26190         * manual/fdl-1.3.texi: New file.
26191         * manual/fdl-1.1.texi: File removed.
26193         [BZ #13738]
26194         * manual/libc.texinfo (FDL_VERSION): New @set.
26195         Use it for mention of FDL in cover text.
26196         (Documentation License): Use it in @include file name.
26198 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26199             Roland McGrath  <roland@hack.frob.com>
26201         [BZ #5461]
26202         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26203         not LONG_LONG_MAX and LONG_LONG_MIN.
26204         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26205         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26206         name.
26207         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26209 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26211         [BZ #2547]
26212         [BZ #11365]
26213         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26214         manipulate bits before adding and subtracting TWO23[sx].
26215         * math/libm-test.inc (nearbyint_test): Add more tests.
26217 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26219         [BZ #2548]
26220         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26221         bits before adding and subtracting TWO23[sx].
26222         * math/libm-test.inc (rint_test): Add more tests.
26223         (rint_test_tonearest): Likewise.
26224         (rint_test_towardzero): Likewise.
26225         (rint_test_downward): Likewise.
26226         (rint_test_upward: Likewise.
26228 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #10110]
26231         * include/stdc-predef.h: New file.  Extracted from features.h.
26232         * include/features.h: Include stdc-predef.h.
26233         * Makefile (headers): Add stdc-predef.h.
26234         * CONFORMANCE (Compiler limitations): Update.
26236 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26238         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26240 2012-02-21  David S. Miller  <davem@davemloft.net>
26242         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26243         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26245 2012-02-20  David S. Miller  <davem@davemloft.net>
26247         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26248         using a normal save/restore sequence, rather than allocating a
26249         dummy stack frame just to store a frame pointer and restore.
26250         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26252 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26254         * manual/install.texi: Fix stray word in line-wrapped comment.
26256 2012-02-20  David S. Miller  <davem@davemloft.net>
26258         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26259         both binutils and gcc support GOTDATA.
26261         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26262         "rd %pc" in the PIC register setup sequences.
26264         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26265         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26266         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26267         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26268         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26269         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26270         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26271         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26273         (SYSCALL_ERROR_HANDLER): Likewise.
26274         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26275         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26277         (SYSCALL_ERROR_HANDLER): Likewise.
26279         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26280         (HAVE_GCC_GOTDATA): New.
26281         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26282         relocation support in both binutils and gcc.
26283         * sysdeps/sparc/elf/configure: Regenerate.
26285         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26286         * sysdeps/sparc/sparc32/elf/configure: Delete.
26287         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26288         * sysdeps/sparc/sparc64/elf/configure: Delete.
26289         * sysdeps/sparc/elf/configure.in: New file.
26290         * sysdeps/sparc/elf/configure: Generate.
26292         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26293         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26294         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26295         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26296         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26298 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26300         * manual/install.texi: Do not mention specific glibc version
26301         numbers.
26302         * manual/libc.texinfo (VERSION, UPDATED): Update.
26303         (@copying): Use @copyright{} and range of years.
26305 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26307         [BZ #13695]
26308         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26309         [crti.S not in sysdirs] (generated): Do not append.
26310         [crti.S not in sysdirs] (omit-deps): Likewise.
26311         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26312         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26313         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26314         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26315         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26316         Likewise.
26317         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26318         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26319         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26320         * csu/defs.awk: Remove file.
26321         * sysdeps/generic/initfini.c: Likewise.
26322         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26323         variable.
26324         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26325         Likewise.
26327 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26329         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26330         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26331         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26332         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26333         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26334         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26335         <bits/epoll.h>.
26336         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26337         (__EPOLL_PACKED): Define to empty if not defined by
26338         <bits/epoll.h>.
26339         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26341         bits/epoll.h.
26343 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26345         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26346         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26347         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26348         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26349         <bits/timerfd.h>.
26350         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26352         bits/timerfd.h.
26354 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26356         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26357         in C locale.
26358         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26359         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26360         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26363 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26365         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26366         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26368 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26370         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26371         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26372         defined.
26373         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26374         Likewise.
26375         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26376         entry for 2.16.
26378 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26380         * math/w_acos.c: Use non-signaling floating-point comparisons.
26381         * math/w_acosf.c: Likewise.
26382         * math/w_acosh.c: Likewise.
26383         * math/w_acoshf.c: Likewise.
26384         * math/w_acoshl.c: Likewise.
26385         * math/w_acosl.c: Likewise.
26386         * math/w_asin.c: Likewise.
26387         * math/w_asinf.c: Likewise.
26388         * math/w_asinl.c: Likewise.
26389         * math/w_atanh.c: Likewise.
26390         * math/w_atanhf.c: Likewise.
26391         * math/w_atanhl.c: Likewise.
26392         * math/w_exp2.c: Likewise.
26393         * math/w_exp2f.c: Likewise.
26394         * math/w_exp2l.c: Likewise.
26395         * math/w_j0.c: Likewise.
26396         * math/w_j0f.c: Likewise.
26397         * math/w_j0l.c: Likewise.
26398         * math/w_j1.c: Likewise.
26399         * math/w_j1f.c: Likewise.
26400         * math/w_j1l.c: Likewise.
26401         * math/w_jn.c: Likewise.
26402         * math/w_jnf.c: Likewise.
26403         * math/w_log.c: Likewise.
26404         * math/w_log10.c: Likewise.
26405         * math/w_log10f.c: Likewise.
26406         * math/w_log10l.c: Likewise.
26407         * math/w_log2.c: Likewise.
26408         * math/w_log2f.c: Likewise.
26409         * math/w_log2l.c: Likewise.
26410         * math/w_logf.c: Likewise.
26411         * math/w_logl.c: Likewise.
26412         * math/w_sqrt.c: Likewise.
26413         * math/w_sqrtf.c: Likewise.
26414         * math/w_sqrtl.c: Likewise.
26415         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26416         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26417         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26418         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26419         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26421 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26423         [BZ #9739]
26424         * manual/string.texi (strnlen): Use correct parameter name in
26425         equivalent expression.
26427 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26429         [BZ #11174]
26430         * manual/users.texi (seteuid): Consistently use neweuid for
26431         argument name.
26433 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26435         [BZ #13704]
26436         * manual/nss.texi (Services in the NSS configuration): Correct
26437         list of services in example configuration file.
26439 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26441         [BZ #11322]
26442         * manual/arith.texi: Remove statements about negative zero
26443         behaving identically to zero.
26445 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26447         [BZ #5993]
26448         * manual/install.texi: Do not document upgrading from libc5.
26450 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26452         [BZ #4596]
26453         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26455 2012-02-18  David S. Miller  <davem@davemloft.net>
26457         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26458         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26459         %o7 across the call.
26460         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26461         instead.
26462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26463         SETUP_PIC_REG_LEAF.
26464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26465         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26466         * sysdeps/sparc/crtn.S: Likewise.
26468 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26470         * aout/Makefile: Remove.
26472 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26474         [BZ #13058]
26475         * manual/examples/argp-ex1.c (main): Format definition in GNU
26476         style.
26477         * manual/examples/argp-ex2.c (main): Likewise.
26478         * manual/examples/argp-ex3.c (main): Likewise.
26479         * manual/examples/argp-ex4.c (main): Likewise.
26480         * manual/examples/longopt.c (main): Use new-style prototype
26481         definition.
26482         * manual/examples/strncat.c (main): Specify return type and use
26483         (void) for arguments.
26484         * manual/examples/subopt.c (main): Use char **argv argument.
26486 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26488         [BZ #5077]
26489         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26490         rounding modes.
26492 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26494         [BZ #6907]
26495         * manual/string.texi (strchr): Change when strchrnul is
26496         recommended.
26498 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26500         [BZ #174]
26501         * manual/locale.texi (setlocale): Document LOCPATH.
26503 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26505         [BZ #10210]
26506         * manual/process.texi (execle): Move @dots{} before last argument.
26508 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26510         [BZ #12047]
26511         * manual/charset.texi (Generic Charset Conversion): Fix typo
26512         (LC_TYPE -> LC_CTYPE).
26514 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26516         [BZ #5805]
26517         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26518         (scalbnf): Likewise.
26519         (scalbnl): Likewise.
26520         (scalbln): Likewise.
26521         (scalblnf): Likewise.
26522         (scalblnl): Likewise.
26523         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26524         (vwarnx): Likewise.
26525         (verr): Likewise.
26526         (verrx): Likewise.
26527         * manual/filesys.texi (telldir): Use braces around return type.
26528         * manual/llio.texi (mmap): Add space after comma.
26529         (mmap64): Likewise.
26530         * manual/math.texi (jn): Use @var{} on parameter names.
26531         (jnf): Likewise.
26532         (jnl): Likewise.
26533         (yn): Likewise.
26534         (ynf): Likewise.
26535         (ynl): Likewise.
26536         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26537         line.
26538         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26539         "...".
26540         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26541         (sched_get_priority_max): Likewise.
26542         * manual/signal.texi (sigvec): Add space after comma.
26543         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26544         names.
26545         (if_indextoname): Likewise.
26546         (if_freenameindex): Likewise.
26547         (sendto): Use ',' instead of '.' in prototype.
26548         * manual/startup.texi (syscall): Use @dots{} instead of literal
26549         "...".
26550         * manual/stdio.texi (__fpending): Separate initial words of
26551         paragraph from @deftypefun line.
26552         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26553         "...".
26554         (vsyslog): Use @var{} on parameter names.
26555         * manual/terminal.texi (stty): Use @var{} on parameter names.
26556         * manual/users.texi (getutmp): Use @var{} on parameter names.
26557         (getutmpx): Likewise.
26559 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26561         [BZ #6884]
26562         * manual/stdio.texi (fopen): Fix typos in description of
26563         ",ccs=STRING".
26565 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26567         [BZ #4026]
26568         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26569         get clock_id definition.
26571 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26573         [BZ #4822]
26574         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26575         (madvise): Cast every argument to void on its own.
26577 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26579         [BZ #9902]
26580         * manual/startup.texi (Exit Status): Fix typo.
26582 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26584         [BZ #10140]
26585         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26586         * manual/examples/argp-ex2.c: Likewise.
26587         * manual/examples/argp-ex3.c: Likewise.
26589 2012-02-16  Richard Henderson  <rth@redhat.com>
26591         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26592         * sysdeps/s390/s390-32/initfini.c: Remove.
26593         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26594         * sysdeps/s390/s390-64/initfini.c: Remove.
26596 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26598         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26599         compiler output for sysdeps/generic/initfini.c.
26600         * sysdeps/sh/elf/initfini.c: Remove file.
26602 2012-02-16  David S. Miller  <davem@davemloft.net>
26604         [BZ #11494]
26605         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26607         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26608         * sysdeps/sparc/crti.S: New file.
26609         * sysdeps/sparc/crtn.S: New file.
26610         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26611         * sysdeps/sparc/sparc64/Makefile: Likewise.
26613 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26615         [BZ #3335]
26616         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26618 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26620         [BZ #4822]
26621         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26623         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26624         (write, read, close): Likewise.
26625         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26627 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26629         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26630         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26631         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26632         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26633         <bits/signalfd.h>.
26634         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26636         bits/signalfd.h.
26638 2012-02-14  Marek Polacek  <polacek@redhat.com>
26640         * sysdeps/x86_64/crti.S: New file.
26641         * sysdeps/x86_64/crtn.S: New file.
26642         * sysdeps/x86_64/elf/initfini.c: Remove file.
26644 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26646         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26647         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26648         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26649         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26650         <bits/inotify.h>.
26651         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26653         bits/inotify.h.
26655 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26657         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26658         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26659         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26660         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26661         <bits/eventfd.h>.
26662         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26664         bits/eventfd.h.
26666 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26668         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26669         __feraiseexcept instead of feraiseexcept.
26671         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26672         nanosleep invocations.
26673         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26674         strings, and add error checking for a nanosleep invocations.
26676 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26678         Replace FSF snail mail address with URLs, as per GNU coding standards.
26679         Most of the snail mail addresses were wrong anyway, and omitting
26680         them makes the source code easier to maintain.  Almost all of the
26681         changes are to license notices and to locale LC_IDENTIFICATION
26682         addresses, except for this one:
26683         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26684         not its snail mail address.
26686 2012-02-09  Richard Henderson  <rth@twiddle.net>
26688         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26689         of kernel-features.h.
26691         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26693 2012-02-08  Marek Polacek  <polacek@redhat.com>
26695         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26696         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26697         * sysdeps/gnu/_G_config.h: Likewise.
26698         * sysdeps/generic/_G_config.h: Likewise.
26700 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26702         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26703         tests.
26704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706         * sysdeps/powerpc/powerpc32/crti.S: New file.
26707         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26708         * sysdeps/powerpc/powerpc64/crti.S: New file.
26709         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26711         * Makeconfig (have-initfini): Don't set.
26712         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26713         * configure.in (nopic_initfini): Don't substitute.
26714         * config.h.in (HAVE_INITFINI): Don't #undef.
26715         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26716         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26718 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26720         Support crti.S and crtn.S provided directly by architectures.
26721         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26722         [crti.S in sysdirs] (omit-deps): Likewise.
26723         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26724         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26725         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26726         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26727         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26728         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26729         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26730         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26731         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26732         compiler output for sysdeps/generic/initfini.c.
26733         * sysdeps/i386/elf/Makefile: Remove file.
26734         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26736 2012-02-07  Marek Polacek  <polacek@redhat.com>
26738         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26739         * sysdeps/gnu/_G_config.h: Likewise.
26740         * sysdeps/mach/hurd/_G_config.h: Likewise.
26742 2012-02-07  Marek Polacek  <polacek@redhat.com>
26744         * math/Makefile (tests): Add tst-CMPLX2.
26745         * math/tst-CMPLX2.c: New file.
26747 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26749         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26751         * math/libm-test.inc (jn_test): Add missing L suffix.
26753 2012-02-06  Marek Polacek  <polacek@redhat.com>
26755         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26756         * sysdeps/i386/fpu/e_powf.S: Likewise.
26757         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26758         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26759         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26760         * sysdeps/i386/fpu/e_pow.S: Likewise.
26761         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26762         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26763         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26764         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26765         * sysdeps/i386/fpu/e_log2.S: Likewise.
26766         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26767         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26768         * sysdeps/i386/fpu/e_powl.S: Likewise.
26769         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26770         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26771         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26772         * sysdeps/i386/fpu/e_logl.S: Likewise.
26773         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26774         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26775         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26776         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26777         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26778         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26779         * sysdeps/i386/fpu/e_log.S: Likewise.
26780         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26781         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26782         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26783         * sysdeps/i386/fpu/e_logf.S: Likewise.
26784         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26785         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26786         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26787         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26788         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26789         * sysdeps/i386/fpu/e_log10.S: Likewise.
26790         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26791         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26792         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26793         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26794         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26795         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26796         * sysdeps/i386/asm-syntax.h: Likewise.
26797         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26798         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26799         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26800         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26801         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26802         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26803         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26804         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26805         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26806         * sysdeps/powerpc/sysdep.h: Likewise.
26807         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26808         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26810 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26812         [BZ #411]
26813         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26815 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26817         * sysdeps/i386/sysdep.h: Include <features.h>.
26818         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26819         version.
26821 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26823         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26824         Define.
26825         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26826         LOAD_PIC_REG_STR.
26828 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26830         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26831         (SETUP_PIC_REG): Use GET_PC_THUNK.
26832         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26833         macro.
26835 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26837         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26838         for non-PIC compilation.
26839         (SETUP_PIC_REG): Add .p2align directive.
26840         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26841         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26842         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26843         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26844         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26845         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26846         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26847         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26848         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26849         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26850         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26851         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26852         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26853         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26854         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26855         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26856         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26857         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26858         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26859         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26860         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26862         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26863         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26867         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26868         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26869         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26870         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26871         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26872         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26873         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26874         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26875         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26876         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26877         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26878         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26879         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26880         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26882 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26884         * math/tst-CMPLX.c: Include <stdio.h>.
26886 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
26888         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26889         float.
26890         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26891         * sysdeps/sparc/bits/mathdef.h: Likewise.
26893 2012-01-31  Marek Polacek  <polacek@redhat.com>
26895         * libio/libio.h: Don't define _PARAMS.
26896         * locale/programs/config.h: Don't define PARAMS.
26897         * stdlib/strtol_l.c: Likewise.
26898         (__strtol_l): Remove PARAMS from the prototype.
26900 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26902         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26903         names.  Just use the correct names.  Remove unnecessary wrapper
26904         functions.
26905         * malloc/arena.c: Likewise.
26906         * malloc/hooks.c: Likewise.
26908         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26909         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26910         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26912 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26914         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26915         into tail calls.
26916         (update_get_addr): New function.
26917         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26918         GET_ADDR_MODULE parameter.
26920 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26922         * crypt/cert.c: Remove __STDC__ conditionals.
26923         * crypt/crypt-entry.c: Likewise.
26924         * crypt/crypt_util.c: Likewise.
26925         * libio/filedoalloc.c: Likewise.
26926         * libio/fileops.c: Likewise.
26927         * libio/genops.c: Likewise.
26928         * libio/iofclose.c: Likewise.
26929         * libio/iofdopen.c: Likewise.
26930         * libio/iofopen.c: Likewise.
26931         * libio/iofopen64.c: Likewise.
26932         * libio/iogetdelim.c: Likewise.
26933         * libio/iopopen.c: Likewise.
26934         * libio/obprintf.c: Likewise.
26935         * libio/oldfileops.c: Likewise.
26936         * libio/oldiofclose.c: Likewise.
26937         * libio/oldiofdopen.c: Likewise.
26938         * libio/oldiofopen.c: Likewise.
26939         * libio/oldiopopen.c: Likewise.
26940         * libio/wfiledoalloc.c: Likewise.
26941         * libio/wgenops.c: Likewise.
26942         * locale/programs/xmalloc.c: Likewise.
26943         * misc/syslog.c: Likewise.
26944         * stdio-common/xbug.c: Likewise.
26945         * string/memchr.c: Likewise.
26946         * string/memcmp.c: Likewise.
26947         * string/memrchr.c: Likewise.
26948         * string/rawmemchr.c: Likewise.
26949         * sysdeps/posix/getcwd.c: Likewise.
26950         * time/strftime_l.c: Likewise.
26952 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26954         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26955         * config.make.in (config-cflags-sse2avx): Define.
26956         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26957         Fix typo.
26959 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26961         * scripts/config.guess: Update from upstream config git repository.
26962         * scripts/config.sub: Likewise.
26964 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26966         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26967         (EM_NUM): Update.
26968         (R_TILEPRO_*, R_TILEGX_*): New macros.
26970         * scripts/firstversions.awk: Fix bug in version range handling.
26972         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26974         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26976         * include/sys/epoll.h: New file.
26977         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26978         libc_hidden_def.
26980 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26982         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26983         Avoid unnecessary __WORDSIZE == 64 test.
26984         (fmaxf): Use VEX format if possible.
26985         (fmax): Likewise.
26986         (fminf): Likewise.
26987         (fmin): Likewise.
26989         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26990         * math/math_private.h: Remove libc_fegetround* and
26991         libc_fesetround*.
26992         * sysdeps/i386/configure.in: Check for -msse2avx.
26993         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26994         also if SSE2AVX is defined.
26995         Remove libc_fegetround* and libc_fesetround*.
26996         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26997         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26998         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26999         of HAS_YMM_USABLE.
27000         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27001         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27002         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27003         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27004         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27006         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27008 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27010         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27011         size is not set.
27012         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27014 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27016         [BZ #13618]
27017         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27018         relocation.
27019         * Makeconfig (libm): Define.
27020         * elf/Makefile: Add rules to build and run tst-relsort1.
27021         * elf/tst-relsort1.c: New file.
27022         * elf/tst-relsort1mod1.c: New file.
27023         * elf/tst-relsort1mod2.c: New file.
27025 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27027         * math/s_ldexp.c: Remove __STDC__ conditionals.
27028         * math/s_ldexpf.c: Likewise.
27029         * math/s_ldexpl.c: Likewise.
27030         * math/s_nextafter.c: Likewise.
27031         * math/s_nexttowardf.c: Likewise.
27032         * math/s_significand.c: Likewise.
27033         * math/s_significandf.c: Likewise.
27034         * math/s_significandl.c: Likewise.
27035         * math/w_jnl.c: Likewise.
27036         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27037         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27038         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27039         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27040         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27041         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27042         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27043         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27044         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27045         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27046         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27047         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27048         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27049         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27050         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27051         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27052         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27053         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27054         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27055         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27056         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27057         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27058         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27059         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27060         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27061         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27062         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27063         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27064         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27065         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27066         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27067         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27068         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27069         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27070         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27071         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27072         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27073         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27074         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27075         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27076         * sysdeps/ieee754/k_standard.c: Likewise.
27077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27078         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27079         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27080         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27081         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27082         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27083         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27084         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27086         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27087         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27088         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27089         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27090         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27092         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27093         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27094         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27095         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27096         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27097         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27099         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27100         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27101         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27102         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27103         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27104         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27105         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27106         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27108         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27109         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27110         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27111         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27112         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27113         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27114         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27115         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27116         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27117         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27119         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27120         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27121         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27122         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27123         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27125         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27126         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27127         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27129         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27130         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27131         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27134         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27135         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27137         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27138         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27140         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27141         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27142         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27143         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27144         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27145         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27146         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27147         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27148         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27149         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27150         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27151         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27152         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27153         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27154         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27155         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27156         * sysdeps/ieee754/s_matherr.c: Likewise.
27157         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27158         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27159         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27162 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27164         * crypt/md5.h: Remove __STDC__ conditionals.
27165         * libio/libioP.h: Likewise.
27166         * locale/programs/config.h: Likewise.
27167         * sysdeps/generic/sysdep.h: Likewise.
27168         * sysdeps/i386/asm-syntax.h: Likewise.
27169         * sysdeps/s390/asm-syntax.h: Likewise.
27170         * sysdeps/unix/sysdep.h: Likewise.
27171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27174 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27176         * libio/libio.h: Remove __STDC__ conditionals.
27177         * malloc/obstack.h: Likewise.
27178         * math/complex.h: Likewise.
27179         * math/math.h: Likewise.
27180         * sysdeps/generic/_G_config.h: Likewise.
27181         * sysdeps/gnu/_G_config.h: Likewise.
27182         * sysdeps/mach/hurd/_G_config.h: Likewise.
27183         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27184         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27185         * sysdeps/sparc/bits/mathdef.h: Likewise.
27187 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27189         [BZ #13583]
27190         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27191         Clean up HAS_* macros.
27192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27193         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27194         possible.
27195         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27196         HAS_AVX.
27197         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27198         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27199         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27200         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27201         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27203 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27205         * elf/tst-unique3.cc (gets): Remove declaration.
27206         * elf/tst-unique3lib.cc (gets): Likewise.
27207         * elf/tst-unique3lib2.cc (gets): Likewise.
27208         * elf/tst-unique4.cc (gets): Likewise.
27210 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27212         * include/stdio.h: Add C++ protection.  Add gets declarations and
27213         definitions.
27214         * debug/tst-chk1.c: Don't declare gets here.
27215         * stdio-common/tst-gets.c: Likewise.
27217 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27219         * posix/glob: Remove directory.
27221 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27223         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27225 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27227         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27228         of the non-standard EPFNOSUPPORT.
27230 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27232         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27233         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27234         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27236 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27238         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27240 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27242         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27243         transient errors.
27244         * nscd/grpcache.c (cache_addgr): Likewise.
27245         * nscd/hstcache.c (cache_addhst): Likewise.
27246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27247         * nscd/pwdcache.c (cache_addpw): Likewise.
27248         * nscd/servicescache.c (cache_addserv): Likewise.
27250 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27252         * malloc/malloc.c: Various cleanups.
27253         * malloc/hooks.c: Likewise.
27255         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27256         * stdlib/bug-fmtmsg1.c: New file.
27258         * stdlib/fmtmsg.c (init): Add missing unlock.
27259         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27261 2012-01-12  Marek Polacek  <polacek@redhat.com>
27263         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27264         and _GNU_SOURCE.
27266 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27268         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27269         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27270         macro to ensure uniqueness of label name.
27271         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27272         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27274 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27276         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27278         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27279         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27280         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27281         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27283 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27285         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27287         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27288         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27289         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27291         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27293         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27294         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27295         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27296         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27298         * math/bits/math-finite.h: Add ldexp support.
27300 2012-01-10  Marek Polacek  <polacek@redhat.com>
27302         * locale/programs/localedef.h (show_archive_content): Add noreturn
27303         attribute.
27305 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27307         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27309 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27311         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27313         * io/Makefile (headers): Add bits/poll2.h.
27315 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27318         typo #include statement.
27320 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27322         * include/sys/cdefs.h: Define __attribute_alloc_size.
27323         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27324         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27325         * elf/pldd.c: Likewise.
27326         * iconv/iconv_charmap.c: Likewise.
27327         * iconv/iconvconfig.c: Likewise.
27328         * iconv/strtab.c: Likewise.
27329         * locale/programs/locale.c: Likewise.
27330         * locale/programs/localedef.h: Likewise.
27331         * locale/programs/simple-hash.c: Likewise.
27332         * nscd/nscd.h: Likewise.
27333         * nss/makedb.c: Likewise.
27334         * sysdeps/generic/ldconfig.h: Likewise.
27335         * locale/programs/localedef.c: Remove xmalloc prototype.
27336         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27338 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27340         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27341         appropriate.
27343 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27345         * math/Makefile (tests): Add tst-CMPLX.
27346         * math/tst-CMPLX.c: New file.
27348         * math/complex.h (CMPLXL): Fix typo.
27350         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27351         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27352         GLIBC_2.16.
27353         * debug/tst-chk1.c: Add poll and ppoll tests.
27354         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27355         * include/sys/poll.h: Add hidden proto for ppoll.
27356         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27357         * sysdeps/mach/hurd/ppoll.c: Likewise.
27358         * io/ppoll.c: Likewise.
27359         * debug/poll_chk.c: New file.
27360         * debug/ppoll_chk.c: New file.
27361         * include/bits/poll2.h: New file.
27362         * io/bits/poll2.h: New file.
27364         [BZ #1350]
27365         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27367         * configure.in: static is always set to yes.  Remove.
27368         * config.make.in: Don't set build-static.
27369         * Makeconfig: Remove use of build-static.
27370         * dlfcn/Makefile: Likewise.
27371         * elf/Makefile: Likewise.
27372         * math/Makefile: Likewise.
27373         * misc/Makefile: Likewise.
27374         * nptl/Makefile: Likewise.
27375         * sysdeps/mach/hurd/Makefile: Likewise.
27377         * configure.in: PWD_P is not used anymore.
27378         * config.make.in: Remove PWD_P entry.
27380         * configure.in: Remove last remnants of RANLIB.
27381         No need to check for signed size_t anymore.
27382         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27383         and IA-64.
27384         Remove __builtin_expect test because we require at least gcc 3.4.
27385         * aclocal.m4: Likewise.
27387         * wcsmbs/mbrtoc16.c: Implement using towc function.
27388         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27389         * wcsmbs/wcsmbsload.c: Likewise.
27390         * iconv/gconv_simple.c: Likewise.
27391         * iconv/gconv_int.h: Likewise.
27392         * iconv/gconv_builtin.h: Likewise.
27393         * iconv/iconv_prog.c: Remove CHAR16 handling.
27395         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27397         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27399         * configure.in: Remove --with-elf and --enable-bounded options.
27400         Dont set base_machine for ia64.  More non-ELF conditions removed.
27401         Remove testing and setting of leading underscore information.
27402         * config.make.in (build-bounded): Set to no.
27403         * config.h.in: Remove NO_UNDERSCORES entry.
27404         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27405         them.
27406         * csu/start.c: Remove !NO_UNDERSCORE code.
27407         * locale/localeinfo.h: Likewise.
27408         * sysdeps/generic/machine-gmon.h: Likewise.
27409         * sysdeps/generic/sysdep.h: Likewise.
27410         * sysdeps/i386/sysdep.h: Likewise.
27411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27412         * sysdeps/mach/sysdep.h: Likewise.
27413         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27415         * sysdeps/sh/sysdep.h: Likewise.
27416         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27417         * sysdeps/unix/i386/sysdep.S: Likewise.
27418         * sysdeps/unix/sparc/start.c: Likewise.
27419         * sysdeps/unix/sparc/sysdep.S: Likewise.
27420         * sysdeps/unix/sparc/sysdep.h: Likewise.
27421         * sysdeps/unix/start.c: Likewise.
27422         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27423         * sysdeps/x86_64/sysdep.h: Likewise.
27425 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27427         [BZ #13553]
27428         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27429         for non-gcc.
27430         * argp/argp-fmtstream.h: Use const instead __const.
27431         * argp/argp.h: Likewise.
27432         * assert/assert.h: Likewise.
27433         * bits/fenv.h: Likewise.
27434         * bits/sched.h: Likewise.
27435         * bits/sigset.h: Likewise.
27436         * bits/sigthread.h: Likewise.
27437         * catgets/nl_types.h: Likewise.
27438         * conform/data/pthread.h-data: Likewise.
27439         * crypt/crypt-private.h: Likewise.
27440         * crypt/crypt.h: Likewise.
27441         * crypt/crypt_util.c: Likewise.
27442         * ctype/ctype.h: Likewise.
27443         * debug/execinfo.h: Likewise.
27444         * debug/mbsnrtowcs_chk.c: Likewise.
27445         * debug/mbsrtowcs_chk.c: Likewise.
27446         * debug/wcsnrtombs_chk.c: Likewise.
27447         * debug/wcsrtombs_chk.c: Likewise.
27448         * debug/wcstombs_chk.c: Likewise.
27449         * dirent/dirent.h: Likewise.
27450         * dlfcn/dlfcn.h: Likewise.
27451         * elf/neededtest4.c: Likewise.
27452         * grp/grp.h: Likewise.
27453         * gshadow/gshadow.h: Likewise.
27454         * iconv/gconv.h: Likewise.
27455         * iconv/gconv_int.h: Likewise.
27456         * iconv/gconv_simple.c: Likewise.
27457         * iconv/iconv.h: Likewise.
27458         * iconv/loop.c: Likewise.
27459         * iconv/skeleton.c: Likewise.
27460         * include/aio.h: Likewise.
27461         * include/aliases.h: Likewise.
27462         * include/argz.h: Likewise.
27463         * include/arpa/inet.h: Likewise.
27464         * include/assert.h: Likewise.
27465         * include/dirent.h: Likewise.
27466         * include/dlfcn.h: Likewise.
27467         * include/execinfo.h: Likewise.
27468         * include/fcntl.h: Likewise.
27469         * include/fenv.h: Likewise.
27470         * include/glob.h: Likewise.
27471         * include/grp.h: Likewise.
27472         * include/libintl.h: Likewise.
27473         * include/mntent.h: Likewise.
27474         * include/netdb.h: Likewise.
27475         * include/pwd.h: Likewise.
27476         * include/rpc/netdb.h: Likewise.
27477         * include/sched.h: Likewise.
27478         * include/search.h: Likewise.
27479         * include/shadow.h: Likewise.
27480         * include/signal.h: Likewise.
27481         * include/stdio.h: Likewise.
27482         * include/stdlib.h: Likewise.
27483         * include/string.h: Likewise.
27484         * include/sys/socket.h: Likewise.
27485         * include/sys/stat.h: Likewise.
27486         * include/sys/statfs.h: Likewise.
27487         * include/sys/statvfs.h: Likewise.
27488         * include/sys/syslog.h: Likewise.
27489         * include/sys/time.h: Likewise.
27490         * include/sys/uio.h: Likewise.
27491         * include/time.h: Likewise.
27492         * include/unistd.h: Likewise.
27493         * include/utmp.h: Likewise.
27494         * include/wchar.h: Likewise.
27495         * include/wctype.h: Likewise.
27496         * inet/aliases.h: Likewise.
27497         * inet/arpa/inet.h: Likewise.
27498         * inet/netinet/ether.h: Likewise.
27499         * inet/netinet/in.h: Likewise.
27500         * intl/libintl.h: Likewise.
27501         * io/bits/fcntl2.h: Likewise.
27502         * io/fcntl.h: Likewise.
27503         * io/ftw.h: Likewise.
27504         * io/sys/poll.h: Likewise.
27505         * io/sys/stat.h: Likewise.
27506         * io/sys/statfs.h: Likewise.
27507         * io/sys/statvfs.h: Likewise.
27508         * io/utime.h: Likewise.
27509         * libio/bits/stdio.h: Likewise.
27510         * libio/bits/stdio2.h: Likewise.
27511         * libio/libio.h: Likewise.
27512         * libio/libioP.h: Likewise.
27513         * libio/stdio.h: Likewise.
27514         * locale/lc-ctype.c: Likewise.
27515         * locale/locale.h: Likewise.
27516         * login/utmp.h: Likewise.
27517         * malloc/arena.c: Likewise.
27518         * malloc/malloc.c: Likewise.
27519         * malloc/malloc.h: Likewise.
27520         * malloc/mcheck.c: Likewise.
27521         * malloc/mtrace.c: Likewise.
27522         * math/bits/mathcalls.h: Likewise.
27523         * math/fenv.h: Likewise.
27524         * math/math_private.h: Likewise.
27525         * misc/bits/error.h: Likewise.
27526         * misc/bits/syslog.h: Likewise.
27527         * misc/err.h: Likewise.
27528         * misc/error.h: Likewise.
27529         * misc/fstab.h: Likewise.
27530         * misc/mntent.h: Likewise.
27531         * misc/regexp.h: Likewise.
27532         * misc/search.h: Likewise.
27533         * misc/sgtty.h: Likewise.
27534         * misc/sys/mman.h: Likewise.
27535         * misc/sys/syslog.h: Likewise.
27536         * misc/sys/uio.h: Likewise.
27537         * misc/sys/xattr.h: Likewise.
27538         * misc/ttyent.h: Likewise.
27539         * nis/rpcsvc/ypclnt.h: Likewise.
27540         * nss/nss.h: Likewise.
27541         * posix/bits/unistd.h: Likewise.
27542         * posix/fnmatch.h: Likewise.
27543         * posix/glob.h: Likewise.
27544         * posix/sched.h: Likewise.
27545         * posix/spawn.h: Likewise.
27546         * posix/sys/wait.h: Likewise.
27547         * posix/unistd.h: Likewise.
27548         * posix/wordexp.h: Likewise.
27549         * pwd/pwd.h: Likewise.
27550         * resolv/netdb.h: Likewise.
27551         * resource/sys/resource.h: Likewise.
27552         * rt/aio.h: Likewise.
27553         * rt/bits/mqueue2.h: Likewise.
27554         * rt/mqueue.h: Likewise.
27555         * shadow/shadow.h: Likewise.
27556         * signal/signal.h: Likewise.
27557         * socket/send.c: Likewise.
27558         * socket/sendto.c: Likewise.
27559         * socket/sys/socket.h: Likewise.
27560         * stdio-common/printf.h: Likewise.
27561         * stdlib/bits/stdlib.h: Likewise.
27562         * stdlib/fmtmsg.h: Likewise.
27563         * stdlib/monetary.h: Likewise.
27564         * stdlib/stdlib.h: Likewise.
27565         * stdlib/ucontext.h: Likewise.
27566         * streams/stropts.h: Likewise.
27567         * string/argz.h: Likewise.
27568         * string/bits/string2.h: Likewise.
27569         * string/string.h: Likewise.
27570         * string/strings.h: Likewise.
27571         * sunrpc/rpc/auth.h: Likewise.
27572         * sunrpc/rpc/auth_des.h: Likewise.
27573         * sunrpc/rpc/clnt.h: Likewise.
27574         * sunrpc/rpc/netdb.h: Likewise.
27575         * sunrpc/rpc/pmap_clnt.h: Likewise.
27576         * sunrpc/rpc/xdr.h: Likewise.
27577         * sysdeps/generic/inttypes.h: Likewise.
27578         * sysdeps/generic/net/if.h: Likewise.
27579         * sysdeps/generic/sys/swap.h: Likewise.
27580         * sysdeps/gnu/net/if.h: Likewise.
27581         * sysdeps/gnu/utmpx.h: Likewise.
27582         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27583         * sysdeps/i386/i486/bits/string.h: Likewise.
27584         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27585         * sysdeps/s390/bits/string.h: Likewise.
27586         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27587         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27588         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27589         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27590         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27591         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27592         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27593         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27594         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27595         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27596         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27597         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27598         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27599         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27600         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27601         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27602         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27604         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27605         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27606         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27607         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27608         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27609         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27610         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27611         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27612         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27613         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27614         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27615         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27616         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27617         * sysvipc/sys/ipc.h: Likewise.
27618         * sysvipc/sys/msg.h: Likewise.
27619         * sysvipc/sys/sem.h: Likewise.
27620         * sysvipc/sys/shm.h: Likewise.
27621         * termios/termios.h: Likewise.
27622         * time/sys/time.h: Likewise.
27623         * time/time.h: Likewise.
27624         * wcsmbs/bits/wchar2.h: Likewise.
27625         * wcsmbs/uchar.h: Likewise.
27626         * wcsmbs/wchar.h: Likewise.
27627         * wctype/wctype.h: Likewise.
27629         [BZ #13551]
27630         * Makeconfig: Remove all but ELF support including AIX support.
27631         * Makerules: Likewise.
27632         * config.h.in: Likewise.
27633         * config.make.in: Likewise.
27634         * configure: Likewise.
27635         * configure.in: Likewise.
27636         * csu/Makefile: Likewise.
27637         * csu/version.c: Likewise.
27638         * debug/Makefile: Likewise.
27639         * dlfcn/Makefile: Likewise.
27640         * elf/Makefile: Likewise.
27641         * extra-lib.mk: Likewise.
27642         * iconv/Makefile: Likewise.
27643         * include/libc-symbols.h: Likewise.
27644         * include/shlib-compat.h: Likewise.
27645         * resolv/Makefile: Likewise.
27646         * resolv/res_libc.c: Likewise.
27647         * rt/Makefile: Likewise.
27648         * sysdeps/i386/asm-syntax.h: Likewise.
27649         * sysdeps/i386/sysdep.h: Likewise.
27650         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27651         * sysdeps/mach/sysdep.h: Likewise.
27652         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27653         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27654         * sysdeps/s390/asm-syntax.h: Likewise.
27655         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27656         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27657         * sysdeps/sh/sysdep.h: Likewise.
27658         * sysdeps/unix/sparc/sysdep.h: Likewise.
27659         * sysdeps/wordsize-32/divdi3.c: Likewise.
27660         * sysdeps/x86_64/sysdep.h: Likewise.
27662         * argp/Versions: Remove _argp_unlock_xxx.
27664         [BZ #13559]
27665         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27666         * abilist/libBrokenLocale.abilist: Likewise.
27667         * abilist/libanl.abilist: Likewise.
27668         * abilist/libc.abilist: Likewise.
27669         * abilist/libcrypt.abilist: Likewise.
27670         * abilist/libdl.abilist: Likewise.
27671         * abilist/libm.abilist: Likewise.
27672         * abilist/libnsl.abilist: Likewise.
27673         * abilist/libpthread.abilist: Likewise.
27674         * abilist/libresolv.abilist: Likewise.
27675         * abilist/librt.abilist: Likewise.
27676         * abilist/libthread_db.abilist: Likewise.
27677         * abilist/libutil.abilist: Likewise.
27678         * abilist/libnss_db.abilist: New file.
27680         * scripts/abilist.awk: Add support for indirect functions.
27682         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27684         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27686         * shlib-versions: Remove entries for ports architectures.
27688         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27689         files in ports.
27690         * elf/stackguard-macros.h: Remove support for IA-64.
27691         * elf/tst-auditmod1.c: Likewise.
27692         * sysdeps/generic/ldsodefs.h: Likewise.
27694         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27695         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27696         configure files.
27698         [BZ #13552]
27699         * configure.in: Remove --enable-omitfp support.
27700         * FAQ.in: Adjust.
27701         * config.make.in: Likewise.
27702         * Makeconfig: Likewise.
27703         * manual/install.texi: Likewise.
27705         In case anyone cares, the IA-64 architecture could move to ports.
27706         * sysdeps/ia64/*: Removed.
27707         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27708         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27710         [BZ #13555]
27711         * configure.in: Remove entries for unsupported architectures.
27713         [BZ #13533]
27714         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27715         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27716         routines.
27717         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27718         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27719         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27720         fall back to using wcrtomb.
27721         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27722         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27723         renaming.
27724         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27725         * wcsmbs/tst-c16c32-1.c: New file.
27727         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27728         local variable.
27730         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27732         * elf/tst-unique3.cc: Add explicit declaration of gets.
27733         * elf/tst-unique3lib.cc: Likewise.
27734         * elf/tst-unique3lib2.cc: Likewise.
27735         * elf/tst-unique4.cc: Likewise.
27737         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27739 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27741         [BZ #13566]
27742         * assert/assert.h (static_assert): Don't define for C++.
27743         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27744         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27746 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27748         * iconv/loop.c (single loop): Fix assertion in storing of
27749         remaining bytes.
27751         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27753 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27755         * posix/getconf.c: Update copyright year.
27756         * nss/getent.c: Likewise.
27757         * nss/makedb.c: Likewise.
27758         * iconv/iconvconfig.c: Likewise.
27759         * iconv/iconv_prog.c: Likewise.
27760         * elf/ldconfig.c: Likewise.
27761         * elf/pldd.c: Likewise.
27762         * elf/sotruss.ksh: Likewise.
27763         * catgets/gencat.c: Likewise.
27764         * csu/version.c: Likewise.
27765         * elf/ldd.bash.in: Likewise.
27766         * elf/sprof.c (print_version): Likewise.
27767         * locale/programs/locale.c: Likewise.
27768         * locale/programs/localedef.c: Likewise.
27769         * login/programs/pt_chown.c: Likewise.
27770         * nscd/nscd.c (print_version): Likewise.
27771         * debug/xtrace.sh: Likewise.
27772         * malloc/memusage.sh: Likewise.
27773         * malloc/mtrace.pl: Likewise.
27774         * debug/catchsegv.sh: Likewise.
27776 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27778         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27779         pure attribute.
27781 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27783         [BZ #13533]
27784         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27785         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27786         transformations.
27787         * iconv/gconv_int.h: Likewise.
27788         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27789         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27790         from libc for GLIBC_2.16.
27791         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27792         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27793         * wcsmbs/uchar.h: Really define mbstate_t.
27794         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27795         * wcsmbs/c16rtomb.c: New file.
27796         * wcsmbs/mbrtoc16.c: New file.
27797         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27798         for C/POSIX locale.
27799         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27800         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27802         * wcsmbs/wchar.h: Add missing __restrict.
27804 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27806         [BZ #13532]
27807         * time/Makefile (routines): Add timespec_get.
27808         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27809         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27810         timespec for ISO C11.
27811         * time/timespec_get.c: New file.
27812         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27813         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27815         [BZ #13531]
27816         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27817         * stdlib/stdlib.h: Declare aligned_alloc.
27818         * Versions.def: Add GLIBC_2.16 for libc.
27819         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27821         [BZ 13527]
27822         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27823         ISO C11.
27825         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27826         code.
27828         [BZ #13528]
27829         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27831         [BZ #13529]
27832         * assert/assert.h (static_assert): Define.
27834         * version.h: Update for 2.16 development version.
27836         [BZ #13526]
27837         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27838         _ISOC11_SOURCE.
27840         * version.h (RELEASE): Bump for 2.15 release.
27841         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27843         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27844         Patch by Marek Polacek <mpolacek@redhat.com>.
27846         * bits/byteswap.h: Protect long long constants with __extension__.
27847         * sysdeps/i386/bits/byteswap.h: Likewise.
27848         * sysdeps/ia64/bits/byteswap.h: Likewise.
27849         * sysdeps/s390/bits/byteswap.h: Likewise.
27850         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27852 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27854         [BZ #13540]
27855         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27856         destination buffer.
27857         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27859 2011-12-23  Marek Polacek  <polacek@redhat.com>
27861         * elf/dl-addr.c (determine_info): Add inline keyword.
27862         * elf/tst-auditmod4b.c (check_avx): Likewise.
27863         * elf/tst-auditmod6b.c (check_avx): Likewise.
27864         * elf/tst-auditmod6c.c (check_avx): Likewise.
27865         * elf/tst-auditmod7b.c (check_avx): Likewise.
27867 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27869         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27870         !__SSE_MATH__.
27872 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27874         [BZ #13540]
27875         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27876         processing for last bytes.
27878 2011-08-06  Bruno Haible  <bruno@clisp.org>
27880         [BZ #13061]
27881         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27882         U+0385, not to U+1FEE.
27884         [BZ #13062]
27885         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27886         entry for U+00A5 U+0301.
27888 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27890         [BZ #13166]
27891         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27892         buffer for the output is too small.
27894         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27895         optimization.
27897         [BZ #13185]
27898         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27899         SSE flags if possible.
27901 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27903         [BZ #13540]
27904         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27905         processing for last bytes.
27907 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27909         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27910         (syscall-list-default-options, syscall-list-default-condition)
27911         (syscall-list-includes): Define.
27912         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27913         list of ABIs and options and #if conditions for each ABI.  Do not
27914         handle common syscalls between ABIs specially.
27915         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27916         Remove.
27917         (syscall-list-variants, syscall-list-32bit-options)
27918         (syscall-list-32bit-condition, syscall-list-64bit-options)
27919         (syscall-list-64bit-condition): Define.
27920         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27921         (syscall-list-variants, syscall-list-32bit-options)
27922         (syscall-list-32bit-condition, syscall-list-64bit-options)
27923         (syscall-list-64bit-condition): Define.
27924         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27925         Remove.
27926         (syscall-list-variants, syscall-list-32bit-options)
27927         (syscall-list-32bit-condition, syscall-list-64bit-options)
27928         (syscall-list-64bit-condition): Define.
27929         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27930         Remove.
27931         (syscall-list-variants, syscall-list-32bit-options)
27932         (syscall-list-32bit-condition, syscall-list-64bit-options)
27933         (syscall-list-64bit-condition): Define.
27935 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27937         * locale/iso-639.def: Add brx entry.
27939         [BZ #13328]
27940         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27941         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27943         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27944         __feraiseexcept_renamed.
27946 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27948         [BZ #13538]
27949         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27950         EPOLLET with unsigned values.
27951         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27952         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27954         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27955         to large cancellation.
27956         * math/s_cacoshf.c: Likewise.
27957         * math/s_cacoshl.c: Likewise.
27959 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27961         [BZ #13305]
27962         [BZ #12786]
27963         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27964         * math/s_cacoshf.c: Likewise.
27965         * math/s_cacoshl.c: Likewise.
27967 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27969         [BZ #13439]
27970         * iconv/gconv.h: Define __GCONV_SWAP.
27971         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27972         * iconvdata/utf-16.c: Likewise.
27973         * iconvdata/utf-32.c: Likewise.
27975 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27977         [BZ #13524]
27978         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27979         numerator after shifting it by one limb.
27981 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27983         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27984         under [__USE_EXTERN_INLINES].
27986 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27988         [BZ #13446]
27989         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27991 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27993         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27994         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27995         optimized code.
27996         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27997         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27998         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27999         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28000         for strncasecmp/strncasecmp_l compilation.
28001         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28002         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28004 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28006         [BZ #13484]
28007         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28008         of __asm__.
28010 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28012         [BZ #13506]
28013         * time/tzfile.c (__tzfile_read): Check values from file header.
28015 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28017         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28018         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28019         * powerpc/powerpc32/dl-start.S: Likewise.
28020         * powerpc/powerpc32/elf/start.S: Likewise.
28021         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28022         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28023         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28024         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28025         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28026         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28027         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28028         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28029         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28030         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28031         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28032         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28033         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28034         * powerpc/powerpc32/memset.S: Likewise.
28035         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28036         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28037         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28038         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28039         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28040         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28041         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28042         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28043         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28044         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28045         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28046         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28047         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28049 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28051         * math/libm-test.inc: Added more nearbyint tests.
28052         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28053         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28054         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28057 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28059         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28060         FD_CLOEXEC.
28062 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28064         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28065         Add wcscpy-ssse3 wcscpy-c.
28066         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28067         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28068         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28069         * sysdeps/x86_64/wcschr.S: New file.
28070         * sysdeps/x86_64/wcsrchr.S: New file.
28071         * string/test-strcmp.c: Remove checking of wcscmp function for
28072         wrong alignments.
28073         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28074         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28075         wcsrchr-sse2 wcsrchr-c.
28076         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28077         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28078         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28079         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28080         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28081         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28082         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28083         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28084         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28085         * wcsmbc/wcschr.c (WCSCHR): New macro.
28087 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28089         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28090         * wcsmbs/test-wcsrchr.c: New file.
28091         * string/test-strrchr.c: Add wcsrchr support.
28092         (WIDE): New macro.
28093         * wcsmbs/test-wcscpy.c: New file.
28094         * string/test-strcpy.c: Add wcscpy support.
28095         (WIDE): New macro.
28097 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28099         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28100         the inner loop.
28102 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28104         [BZ #13472]
28105         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28107 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28109         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28110         Minor optimizations.
28112         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28113         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28114         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28116 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28118         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28119         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28120         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28121         for gcc to avoid warnings.
28122         * inet/Makefile (tests): Add tst-checks.
28123         * inet/tst-checks.c: New file.
28125         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28126         warning.
28128         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28129         __wmemcmp_sse2.
28131         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28132         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28134         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28136 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28138         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28139         problem.
28141         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28143 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28145         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28146         conditional on GCC version.
28147         (__arch_compare_and_exchange_val_8_acq)
28148         (__arch_compare_and_exchange_val_16_acq)
28149         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28150         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28151         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28153 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28155         * sysdeps/sh/backtrace.c: New file.
28157 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28159         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28160         parenthesis.
28162 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28164         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28165         falling back to utime.
28167 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28169         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28170         expectations for float.
28172 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28174         * locale/weight.h (findidx): Add parameter len.
28175         * locale/weightwc.h (findidx): Likewise.
28176         * posix/fnmatch_loop.c (FCT): Adjust caller.
28177         * posix/regcomp.c (build_equiv_class): Likewise.
28178         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28179         * posix/regexec.c (check_node_accept_bytes): Likewise.
28180         * string/strcoll_l.c (STRCOLL): Likewise.
28181         * string/strxfrm_l.c (STRXFRM): Likewise.
28183 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28185         * Makefile.in: Remove CVSOPT handling.
28186         * configure.in: Remove use of AC_REVISION.
28187         * iconvdata/Makefile (distribute): No need to filter out CVS.
28188         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28189         handling.
28191 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28194         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28195         [USE_AS_STRNCASECMP_L]: Likewise.
28196         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28197         NO_TLS_DIRECT_SEG_REFS.
28198         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28199         Fix argument offsets for non-PIC.
28200         [USE_AS_STRNCASECMP_L]: Likewise.
28201         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28202         NO_TLS_DIRECT_SEG_REFS.
28204 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28206         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28207         O_CLOEXEC.
28208         * locale/loadlocale.c (_nl_load_locale): Likewise.
28210 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28212         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28213         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28214         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28215         (SYSCALL_GETTIME): Set errno on error.
28217         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28218         count references to noai6ai_cached.
28220 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28222         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28224         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28225         FD_CLOEXEC for /proc/self/maps.
28227         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28228         FD_CLOEXEC for /proc/meminfo.
28230         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28231         gai.conf.
28233         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28234         FD_CLOEXEC for given file.
28236         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28238         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28239         FD_CLOEXEC for /etc/hosts.
28240         (_gethtent): Likewise.
28242         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28244         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28245         cancellation and set FD_CLOEXEC for /etc/netgroup.
28247         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28248         reading /etc/publickey.
28250         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28251         allow cancellation when reading /etc/group.
28253         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28254         cancellation.
28255         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28257         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28258         when using data file.
28260         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28262         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28263         (write_nis_obj): Use "c" and "e" in fopen.
28265         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28267         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28269         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28271         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28273         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28274         locale.alias.
28276         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28278         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28280         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28282         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28283         file parsing and set FD_CLOEXEC.
28285 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28287         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28289 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28291         * malloc/arena.c (arena_get2): Don't call reused_arena when
28292         _int_new_arena failed.
28294 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28296         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28297         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28298         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28299         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28300         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28301         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28302         to compile strcasecmp and strncasecmp.
28303         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28304         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28308 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28310         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28311         locale-defines.sym to gen-as-const-headers.
28312         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28313         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28315         to compile strcasecmp and strncasecmp.
28316         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28317         strcasecmp_l and strncasecmp_l.
28318         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28319         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28320         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28321         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28322         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28323         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28324         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28325         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28326         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28327         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28328         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28330 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28332         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28333         result of SYSDEP_GETTIME_CPU to retval.
28334         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28335         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28337         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28338         variable.
28340         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28341         mantissa words.
28342         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28344         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28345         from unused variable.
28347         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28348         DWARF definitions.
28349         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28350         for assembling.
28352         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28353         over namespaces.
28355         * sunrpc/rpc_prot.c (rejected): Fix case value.
28357         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28358         unsigned long long int to avoid warnings in shift.
28360         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28361         of use of trans.
28362         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28363         variable tmp.
28365         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28366         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28367         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28369         * nis/nis_table.c (nis_list): Use variable of correct type for
28370         result of __follow_path call.
28372 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28374         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28375         of math functions ceil, trunc, floor, round, and sqrt, when
28376         avaliable on the platform.
28377         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28378         name clash.
28379         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28380         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28381         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28383 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28385         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28386         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28388 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28390         * include/unistd.h: Fix __readlink return type.
28391         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28393 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28395         * stdlib/ucontext.h: Undo last change for makecontext.
28397 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28399         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28401         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28402         * setjmp/setjmp.h: Mark functions as non-leaf.
28403         * setjmp/bits/setjmp2.h: Likewise.
28404         * stdlib/ucontext.h: Likewise.
28406 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28408         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28409         (reused_arena): Don't check arena limit.
28410         (arena_get2): Atomically check arena limit.
28412 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28414         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28415         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28418         instructions.
28420 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28422         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28423         handler when locking.
28425         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28426         Fix size of allocated buffer.
28428 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28430         [BZ #10103]
28431         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28432         declarations for long double functions.
28433         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28435         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28437 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28439         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28440         installed.
28442         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28443         is disabled.
28445 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28447         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28449 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28451         * include/alloca.h (stackinfo_alloca_round): Define.
28452         (extend_alloca): Use it.
28453         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28454         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28455         here.
28457         * scripts/check-local-headers.sh: Ignore libaudit.h.
28459         * nscd/Makefile (extra-objs): Make recursively expanded.
28461 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28463         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28464         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28466         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28467         * posix/tst-rfc3484-2.c: Likewise.
28468         * posix/tst-rfc3484-3.c: Likewise.
28470         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28471         process_vm_writev.
28472         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28473         process_vm_writev.
28474         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28475         process_vm_writev from libc using GLIBC_2.15 version.
28477         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28479 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28481         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28482         stack usage.
28484 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28486         [BZ #13367]
28487         * nss/getent.c (initgroups_keys): Show error message in case no group
28488         names are given.
28490         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28491         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28492         __bump_nl_timestamp.
28493         * nscd/connections (nscd_init): When host database is served open
28494         netlink socket and request notification about configuration changes.
28495         (main_loop_poll): Track netlink file descriptor and bump timestamp
28496         in case data becomes available.
28497         (main_loop_epoll): Likewise.
28498         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28499         (database_pers_head): Add extra_data fileds.
28500         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28501         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28502         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28503         Adjust caller.
28504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28505         in6ai data, call __free_in6ai.
28506         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28507         Add -DHAVE_NETLINK.
28508         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28509         interface information.  Reuse previous data if netlink timestamp
28510         is not changed.
28511         (__bump_nl_timestamp): New function.
28512         (__free_in6ai): New function.
28514 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28516         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28517         close_not_cancel_no_status here.
28518         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28520 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28522         [BZ #13276]
28523         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28524         return value.
28526         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28527         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28528         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28530 2011-07-03  Andreas Jaeger  <aj@suse.de>
28532         [BZ #10709]
28533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28534         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28535         * math/libm-test.inc (sin_test): Add test case.
28537 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28539         [BZ #13337]
28540         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28541         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28543         * elf/chroot_canon.c (chroot_canon): Cleanups.
28545         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28547         [BZ #13335]
28548         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28549         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28551         * string/test-strchr.c: Make usable for strchrnul testing.
28552         * string/test-strchrnul.c: New file.
28553         * string/Makefile (strop-tests): Add strchrnul.
28555         * po/it.po: Update from translation team.
28556         * po/es.po: Likewise.
28558 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28561         the three constants needed as parameters.  Drop the others.
28562         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28563         __m128i_strloadu_tolower.
28564         Create and initialize variable zero and use it in all the places
28565         where _mm_setzero_si128 was used.
28567         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28568         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28569         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28570         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28571         anymore.
28572         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28573         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28574         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28575         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28576         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28577         __mpranred, __mptan.
28578         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28579         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28580         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28581         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28582         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28583         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28584         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28585         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28586         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28588 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28590         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28591         redefine if SHARED.
28592         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28595         wide char related routines to wcsmbs subdir.
28597 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28599         [BZ #13344]
28600         * misc/sys/cdefs.h (__THROWNL): Define.
28601         * posix/unistd.h: Use __THREADNL instead of __THREAD
28602         for memory synchronization functions.
28604 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28606         [BZ #13349]
28607         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28608         doesn't exist.
28609         * manual/stdio.texi (Obstack Streams): Node removed.
28611 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28613         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28614         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28615         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28617         * math/math_private.h (math_force_eval): Allow non-addressable
28618         arguments.
28619         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28621 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28623         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28624         file is not needed.
28626         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28627         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28628         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28629         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28630         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28631         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28632         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28633         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28634         Add AVX variants.
28635         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28636         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28637         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28638         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28639         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28640         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28641         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28642         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28643         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28644         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28645         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28646         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28647         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28648         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28649         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28650         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28651         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28652         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28653         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28655         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28656         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28658         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28659         place.  Use VEX encoding when compiling for AVX.
28661 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28663         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28664         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28666         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28668 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28670         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28671         useless if() expression.
28672         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28673         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28674         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28675         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28676         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28677         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28678         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28679         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28680         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28681         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28682         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28683         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28684         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28685         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28686         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28687         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28688         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28689         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28690         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28692         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28694 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28696         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28697         condition.
28698         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28700 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28702         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28703         .text section.  Avoid duplicate constants.
28704         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28705         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28706         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28707         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28711         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28712         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28713         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28714         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28715         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28716         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28717         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28718         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28719         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28720         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28721         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28722         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28723         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28726         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28727         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28728         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28729         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28730         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28731         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28732         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28733         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28734         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28735         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28736         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28737         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28738         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28739         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28740         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28742         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28743         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28744         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28745         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28746         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28747         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28748         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28750 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28752         * sysdeps/x86_64/dla.h: Move to ...
28753         * sysdeps/x86_64/fpu/dla.h: ...here.
28754         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28755         situations.  Use __builtin_fma only for gcc 4.6 and up.
28757         * config.make.in: Add have-mfma4 entry.
28758         * configure.in: Substitute libc_cv_cc_fma4.
28759         * math/Makefile (dbl-only-routines): Add sincostab.
28760         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28761         Use __sincostab not sincos.
28762         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28763         name is a macro.
28764         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28768         using __copysign.
28769         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28770         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28771         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28772         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28773         and __inv.
28774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28775         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28776         __copysign.
28777         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28778         define aliases when function name is a macro.
28779         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28780         sysdeps/ieee754/dbl-64/sincos.tbl.
28781         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28782         fma4-enabled routines.
28783         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28784         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28785         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28786         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28787         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28788         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28790         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28791         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28792         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28793         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28794         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28795         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28796         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28797         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28798         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28799         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28800         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28801         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28802         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28803         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28804         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28805         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28806         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28809         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28810         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28811         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28812         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28814         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28815         rename.
28816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28817         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28820         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28823         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28825 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28827         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28829 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28831         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28833         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28834         prediction.
28835         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28837         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28838         Remove unused variable magic_bits.
28839         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28841         * string/strnlen.c: Define and use STRNLEN macro.
28842         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28843         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28844         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28845         * wcsmbs/wcslen.c: Define and use WCSLEN.
28846         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28847         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28848         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28849         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28850         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28851         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28852         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28854 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28857         strnlen-sse2-no-bsf.
28858         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28859         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28860         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28861         Add strnlen support.
28862         (USE_AS_STRNLEN): New macro.
28863         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28864         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28865         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28866         * sysdeps/x86_64/wcslen.S: New file.
28868 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28870         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28871         XMM-moves are used for copying on small sizes.
28873 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28875         * wcsmbs/Makefile (strop-tests): Add wcschr.
28876         * wcsmbs/test-wcschr.c: New file.
28877         * string/test-strchr.c: Update.
28878         Add wcschr support.
28879         (WIDE): New macro.
28881 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28883         * wcsmbs/Makefile (strop-tests): Add wcslen.
28884         * wcsmbs/test-wcslen.c: New file.
28885         * string/test-strlen.c: Update.
28886         Add wcslen support.
28887         (WIDE): New macro.
28889 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28891         * po/it.po: Update from translation team.
28893 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28895         * sysdeps/x86_64/wcscmp.S: Update.
28896         Fix wrong comparison semantics.
28897         wcscmp shall use signed comparison not unsigned.
28898         Don't use substraction to avoid overflow bug.
28899         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28900         * wcsmbc/wcscmp.c: Likewise.
28901         * string/test-strcmp.c: Likewise.
28902         Add new tests to check cases with negative values.
28904 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28906         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28907         * sysdeps/x86_64/dla.h: ...here.  New file.
28908         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28910         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28911         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28912         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28913         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28918 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28921         __ynl_finite aliases.
28923 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28927         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28928         define DLA_FMA.
28929         [DLA_FMA] (EMULV): Use DLA_FMA.
28930         [DLA_FMA] (MUL12): Use EMULV.
28931         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28932         that are not needed.
28933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28936         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28937         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28941 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28943         * math/s_nan.c: Undef __nan.
28944         * math/s_nanf.c: Undef __nanf.
28945         * math/s_nanl.c: Undef __nanl.
28946         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28947         "math_private.h".
28949 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28951         * math/s_catan.c: Add branch predictions.
28952         * math/s_catanf.c: Likewise.
28953         * math/s_catanh.c: Likewise.
28954         * math/s_catanhf.c: Likewise.
28955         * math/s_catanhl.c: Likewise.
28956         * math/s_catanl.c: Likewise.
28957         * math/s_cexp.c: Likewise.
28958         * math/s_cexpf.c: Likewise.
28959         * math/s_cexpl.c: Likewise.
28960         * math/s_clog.c: Likewise.
28961         * math/s_clog10.c: Likewise.
28962         * math/s_clog10f.c: Likewise.
28963         * math/s_clog10l.c: Likewise.
28964         * math/s_clogf.c: Likewise.
28965         * math/s_clogl.c: Likewise.
28966         * math/s_csqrt.c: Likewise.
28967         * math/s_csqrtf.c: Likewise.
28968         * math/s_csqrtl.c: Likewise.
28969         * math/s_ctanf.c: Likewise.
28970         * math/s_ctanh.c: Likewise.
28971         * math/s_ctanhf.c: Likewise.
28972         * math/s_ctanhl.c: Likewise.
28973         * math/s_ctanl.c: Likewise.
28975         * math/math_private.h: Define __nan, __nanf, __nanl.
28976         * math/s_cacosh.c: Include <math_private.h>.
28977         * math/s_cacoshl.c: Likewise.
28978         * math/s_casinh.c: Likewise.
28979         * math/s_casinhf.c: Likewise.
28980         * math/s_casinhl.c: Likewise.
28981         * math/s_ccos.c: Rely entire on ccosh.
28982         * math/s_ccosf.c: Rely entire on ccoshf.
28983         * math/s_ccosl.c: Rely entirely on ccoshl.
28984         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28985         Remove tests for FE_INVALID.
28986         * math/s_ccoshf.c: Likewise.
28987         * math/s_ccoshl.c: Likewise.
28988         * math/s_csin.c: Likewise.
28989         * math/s_csinf.c: Likewise.
28990         * math/s_csinh.c Likewise.
28991         * math/s_csinhf.c: Likewise.
28992         * math/s_csinhl.c: Likewise.
28993         * math/s_csinl.c: Likewise.
28994         * math/s_ctan.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28996         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28997         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28999 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29002         compilation problems.
29004         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29005         __builtin_expect.
29007 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29009         * sysdeps/i386/configure.in: Test for -mfma4 option.
29010         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29011         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29012         COMMON_CPUID_INDEX_80000001.
29013         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29014         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29015         use it if FMA3 is not supported.
29016         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29018         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29019         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29021 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29023         [BZ #12892]
29024         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29025         it would create a cycle with a link time dependency.
29027 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29029         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29030         instruction.
29031         * string/Makefile (strop-tests): Add rawmemchr.
29032         * string/test-rawmemchr.c: New file.
29034         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29035         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29036         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29037         when compiling str{,n}casecmp and when AVX is available.  Hook up
29038         new optimized code in initializers.
29040 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29042         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29043         __feraiseexcept instead of feraiseexcept.
29045 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29047         * math/math_private.h: Define defaults for libc_fetestexcept and
29048         libc_feupdateenv.
29049         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29050         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29051         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29052         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29053         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29054         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29055         libc_fetestexcept and libc_feupdateenv.
29057         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29058         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29059         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29060         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29061         libc_feholdexcept_setround.
29063         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29064         Add s_nearbyint-c and s_nearbyintf-c.
29065         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29066         nearbyintf inlines.
29067         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29068         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29069         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29070         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29072         * math/math_private.h: Define defaults for libc_fegetround,
29073         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29074         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29075         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29076         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29077         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29078         standard functions.
29079         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29080         Remove comments and hacks for old compiler versions.
29081         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29082         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29083         libc_feholdexceptl.
29085 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29087         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29088         (__feraiseexcept_renamed): Add __NTH.
29089         (feraiseexcept): Add __NTH.  Rename local variables to fix
29090         namespace violations.
29092 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29096         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29098         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29099         recently added interfaces.
29100         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29102         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29103         about macro parameter expansion.
29105         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29106         __NO_MATH_INLINES is defined.  Cleanups.
29108         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29109         and __floorf is target has SSE4.1.
29110         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29111         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29112         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29113         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29115         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29116         name.
29117         (floorf): Likewise.
29119         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29121 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29123         * misc/sys/cdefs.h: Fix last change.
29125         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29126         database lookup.
29128 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29130         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29132         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29133         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29135         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29137         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29138         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29139         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29140         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29141         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29142         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29143         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29144         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29145         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29146         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29147         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29148         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29149         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29150         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29151         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29152         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29153         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29155         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29156         ceil, ceilf, floor, floorf.
29158         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29159         Perform IRELATIVE relocations last.
29161         * elf/do-rel.h: Add another parameter nrelative, replacing the
29162         local variable with the same name.  Change name of the function
29163         to end in Rel or Rela (uppercase).
29164         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29165         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29166         elf_dynamic_do_##reloc function.
29168 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29170         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29171         is sufficient, at least on modern CPUs.
29173         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29175         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29176         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29178         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29179         __expl_finite.
29180         * math/bits/math-finite.h: Add entries for exp.
29181         * math/e_expl.c: Add __*_finite alias.
29182         * sysdeps/i386/fpu/e_exp.S: Likewise.
29183         * sysdeps/i386/fpu/e_expf.S: Likewise.
29184         * sysdeps/i386/fpu/e_expl.c: Likewise.
29185         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29186         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29189         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29190         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29191         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29193         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29194         is sufficient, at least on modern CPUs.
29196         * ctype/ctype-info.c (__ctype_init): Define.
29197         * include/ctype.h (__ctype_init): Declare.
29198         (__ctype_b_loc): The variable is always initialized.
29199         (__ctype_toupper_loc): Likewise.
29200         (__ctype_tolower_loc): Likewise.
29201         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29202         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29204 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29206         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29208         * configure.in: Also look in $cxxmachine/include for C++ system
29209         headers.
29211 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29213         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29214         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29215         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29216         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29217         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29218         (USE_AS_WMEMCMP): New macro.
29219         Fixing indents.
29220         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29221         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29222         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29223         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29225         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29226         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29227         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29228         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29229         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29230         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29231         (USE_AS_WMEMCMP): New macro.
29232         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29233         * sysdeps/string/test-memcmp.c: Update.
29234         Fix simple_wmemcmp.
29235         Add new tests.
29236         * wcsmbs/wmemcmp.c: Update.
29237         (WMEMCMP): New macro.
29238         Fix overflow bug.
29240 2011-10-12  Andreas Jaeger  <aj@suse.de>
29242         [BZ #13268]
29243         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29245 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29247         * libio/iofwide.c (do_length): Avoid warning.
29249         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29251 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29253         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29255         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29256         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29257         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29258         * sysdeps/i386/i686/fpu/e_log.S: New file.
29259         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29260         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29262         * ctype/ctype.h: Add support for inlined isXXX functions when
29263         compiling C++ code.
29265 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29267         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29269         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29271 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29273         [BZ #13291]
29274         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29276 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29278         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29279         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29280         feraiseexcept.
29282         * sysdeps/x86_64/memrchr.S: Check for zero size.
29284         * string/stratcliff.c: Add memrchr tests.
29286 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29289         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29290         rawmemchr-sse2 rawmemchr-sse2-bsf.
29291         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29292         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29293         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29294         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29295         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29296         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29297         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29298         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29299         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29300         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29301         * string/memrchr.c (MEMRCHR): New macro.
29303 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29305         Add integration with gcc's -ffinite-math-only and optimize wrapper
29306         functions in libm.
29307         * Versions.def: Define GLIBC_2.15 version for libm.
29308         * math/Makefile (headers): Add bits/math-finite.h.
29309         * math/bits/math-finite.h: New file.
29310         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29311         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29312         * math/e_acoshl.c: Add __*_finite alias.
29313         * math/e_acosl.c: Likewise.
29314         * math/e_asinl.c: Likewise.
29315         * math/e_atan2l.c: Likewise.
29316         * math/e_atanhl.c: Likewise.
29317         * math/e_coshl.c: Likewise.
29318         * math/e_exp10.c: Likewise.
29319         * math/e_exp10f.c: Likewise.
29320         * math/e_exp10l.c: Likewise.
29321         * math/e_exp2l.c: Likewise.
29322         * math/e_fmodl.c: Likewise.
29323         * math/e_gammal_r.c: Likewise.
29324         * math/e_hypotl.c: Likewise.
29325         * math/e_j0l.c: Likewise.
29326         * math/e_j1l.c: Likewise.
29327         * math/e_jnl.c: Likewise.
29328         * math/e_lgammal_r.c: Likewise.
29329         * math/e_log10l.c: Likewise.
29330         * math/e_log2l.c: Likewise.
29331         * math/e_logl.c: Likewise.
29332         * math/e_powl.c: Likewise.
29333         * math/e_sinhl.c: Likewise.
29334         * math/e_sqrtl.c: Likewise.
29335         * math/e_scalb.c: Completely rewritten and optimized.
29336         * math/e_scalbf.c: Likewise.
29337         * math/e_scalbl.c: Likewise.
29338         * math/w_acos.c: Likewise.
29339         * math/w_acosf.c: Likewise.
29340         * math/w_acosl.c: Likewise.
29341         * math/w_acosh.c: Likewise.
29342         * math/w_acoshf.c: Likewise.
29343         * math/w_acoshl.c: Likewise.
29344         * math/w_asin.c: Likewise.
29345         * math/w_asinf.c: Likewise.
29346         * math/w_asinl.c: Likewise.
29347         * math/w_atan2.c: Likewise.
29348         * math/w_atan2f.c: Likewise.
29349         * math/w_atan2l.c: Likewise.
29350         * math/w_atanh.c: Likewise.
29351         * math/w_atanhf.c: Likewise.
29352         * math/w_atanhl.c: Likewise.
29353         * math/w_exp10.c: Likewise.
29354         * math/w_exp10f.c: Likewise.
29355         * math/w_exp10l.c: Likewise.
29356         * math/w_fmod.c: Likewise.
29357         * math/w_fmodf.c: Likewise.
29358         * math/w_fmodl.c: Likewise.
29359         * math/w_j0.c: Likewise.
29360         * math/w_j0f.c: Likewise.
29361         * math/w_j0l.c: Likewise.
29362         * math/w_j1.c: Likewise.
29363         * math/w_j1f.c: Likewise.
29364         * math/w_j1l.c: Likewise.
29365         * math/w_jn.c: Likewise.
29366         * math/w_jnf.c: Likewise.
29367         * math/w_log.c: Likewise.
29368         * math/w_logf.c: Likewise.
29369         * math/w_logl.c: Likewise.
29370         * math/w_log10.c: Likewise.
29371         * math/w_log10f.c: Likewise.
29372         * math/w_log10l.c: Likewise.
29373         * math/w_log2.c: Likewise.
29374         * math/w_log2f.c: Likewise.
29375         * math/w_log2l.c: Likewise.
29376         * math/w_pow.c: Likewise.
29377         * math/w_powf.c: Likewise.
29378         * math/w_powl.c: Likewise.
29379         * math/w_remainder.c: Likewise.
29380         * math/w_remainderf.c: Likewise.
29381         * math/w_remainderl.c: Likewise.
29382         * math/w_scalb.c: Likewise.
29383         * math/w_scalbf.c: Likewise.
29384         * math/w_scalbl.c: Likewise.
29385         * math/w_sqrt.c: Likewise.
29386         * math/w_sqrtf.c: Likewise.
29387         * math/w_sqrtl.c: Likewise.
29388         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29389         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29390         used.
29391         * math/math_private.h: Declare __kernel_standard_f.
29392         * math/w_cosh.c: Remove cruft and optimize a bit.
29393         * math/w_coshf.c: Likewise.
29394         * math/w_coshl.c: Likewise.
29395         * math/w_exp2.c: Likewise.
29396         * math/w_exp2f.c: Likewise.
29397         * math/w_exp2l.c: Likewise.
29398         * math/w_hypot.c: Likewise.
29399         * math/w_hypotf.c: Likewise.
29400         * math/w_hypotl.c: Likewise.
29401         * math/w_lgamma.c: Likewise.
29402         * math/w_lgamma_r.c: Likewise.
29403         * math/w_lgammaf.c: Likewise.
29404         * math/w_lgammaf_r.c: Likewise.
29405         * math/w_lgammal.c: Likewise.
29406         * math/w_lgammal_r.c: Likewise.
29407         * math/w_sinh.c: Likewise.
29408         * math/w_sinhf.c: Likewise.
29409         * math/w_sinhl.c: Likewise.
29410         * math/w_tgamma.c: Likewise.
29411         * math/w_tgammaf.c: Likewise.
29412         * math/w_tgammal.c: Likewise.
29413         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29414         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29415         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29416         Minor optimizations.  Pretty printing.  Remove cruft.
29417         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29418         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29419         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29421         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29422         * sysdeps/i386/fpu/e_asin.S: Likewise.
29423         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29424         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29425         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29426         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29427         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29428         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29429         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29430         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29431         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29432         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29433         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29434         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29435         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29436         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29437         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29438         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29439         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29440         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29441         * sysdeps/i386/fpu/e_log.S: Likewise.
29442         * sysdeps/i386/fpu/e_log10.S: Likewise.
29443         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29444         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29445         * sysdeps/i386/fpu/e_log2.S: Likewise.
29446         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29447         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29448         * sysdeps/i386/fpu/e_logf.S: Likewise.
29449         * sysdeps/i386/fpu/e_logl.S: Likewise.
29450         * sysdeps/i386/fpu/e_pow.S: Likewise.
29451         * sysdeps/i386/fpu/e_powf.S: Likewise.
29452         * sysdeps/i386/fpu/e_powl.S: Likewise.
29453         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29454         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29455         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29456         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29457         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29458         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29459         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29460         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29461         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29462         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29463         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29465         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29466         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29467         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29468         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29469         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29470         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29472         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29473         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29474         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29476         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29478         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29479         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29480         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29483         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29484         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29485         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29486         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29487         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29488         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29489         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29490         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29491         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29493         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29496         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29497         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29498         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29499         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29500         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29501         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29502         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29503         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29504         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29505         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29506         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29507         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29508         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29509         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29510         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29511         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29512         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29513         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29514         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29515         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29516         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29517         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29518         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29519         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29520         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29521         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29522         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29524         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29525         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29526         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29527         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29529         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29530         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29532         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29533         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29534         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29536         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29537         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29538         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29539         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29540         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29541         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29542         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29543         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29544         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29545         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29546         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29547         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29548         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29550         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29551         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29552         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29553         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29554         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29555         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29556         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29557         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29558         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29559         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29560         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29561         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29562         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29563         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29564         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29565         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29566         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29567         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29568         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29569         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29570         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29571         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29572         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29573         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29574         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29575         (__isnanf): Likewise.
29576         (__isinf_ns): Likewise.
29577         (__isinf_nsf): Likewise.
29578         (__finite): Likewise.
29579         (__finitef): Likewise.
29580         (__ieee754_sqrt): Define as macro.
29581         (__ieee754_sqrtf): Define as macro.
29582         (__ieee754_sqrtl): Define as macro.
29583         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29584         inlined copy.
29585         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29586         __FINITE_MATH_ONLY__ consistent.
29587         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29589 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29591         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29592         of rawmemchr.
29594         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29596 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29598         * po/ja.po: Update from translation team.
29600 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29602         * locale/programs/locarchive.c (prepare_address_space): New function.
29603         (create_archive, enlarge_archive, open_archive): Use it.
29605         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29606         inside [SHARED], where it is used.
29608         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29610         * nss/getent.c (netgroup_keys): Remove unused variable.
29611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29613 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29615         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29616         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29618         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29619         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29620         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29621         * math/Makefile (libm-calls): Add s_isinf_ns.
29622         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29623         * math/multc3.c: Likewise.
29624         * math/s_casin.c: Likewise.
29625         * math/s_casinf.c: Likewise.
29626         * math/s_casinl.c: Likewise.
29627         * math/s_ccos.c: Likewise.
29628         * math/s_ccosf.c: Likewise.
29629         * math/s_ccosl.c: Likewise.
29630         * math/s_ctan.c: Likewise.
29631         * math/s_ctanf.c: Likewise.
29632         * math/s_ctanh.c: Likewise.
29633         * math/s_ctanhf.c: Likewise.
29634         * math/s_ctanhl.c: Likewise.
29635         * math/s_ctanl.c: Likewise.
29636         * math/w_fmod.c: Likewise.
29637         * math/w_fmodf.c: Likewise.
29638         * math/w_fmodl.c: Likewise.
29639         * math/w_remainder.c: Likewise.
29640         * math/w_remainderf.c: Likewise.
29641         * math/w_remainderl.c: Likewise.
29642         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29643         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29644         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29646         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29647         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29648         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29649         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29651         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29652         of the number.
29653         * stdio-common/printf_fphex.c: Likewise.
29654         * stdio-common/printf_size.c: Likewise.
29656         * math/e_exp10.c: Include math_private.h using <...> not "...".
29657         * math/e_exp10f.c: Likewise.
29658         * math/e_exp10l.c: Likewise.
29659         * math/e_exp2l.c: Likewise.
29660         * math/e_j0l.c: Likewise.
29661         * math/e_j1l.c: Likewise.
29662         * math/e_jnl.c: Likewise.
29663         * math/e_lgammal_r.c: Likewise.
29664         * math/e_rem_pio2l.c: Likewise.
29665         * math/e_scalb.c: Likewise.
29666         * math/e_scalbf.c: Likewise.
29667         * math/e_scalbl.c: Likewise.
29668         * math/k_cosl.c: Likewise.
29669         * math/k_sinl.c: Likewise.
29670         * math/k_tanl.c: Likewise.
29671         * math/s_cacoshf.c: Likewise.
29672         * math/s_catan.c: Likewise.
29673         * math/s_catanf.c: Likewise.
29674         * math/s_catanh.c: Likewise.
29675         * math/s_catanhf.c: Likewise.
29676         * math/s_catanhl.c: Likewise.
29677         * math/s_catanl.c: Likewise.
29678         * math/s_ccosh.c: Likewise.
29679         * math/s_ccoshf.c: Likewise.
29680         * math/s_ccoshl.c: Likewise.
29681         * math/s_cexp.c: Likewise.
29682         * math/s_cexpf.c: Likewise.
29683         * math/s_cexpl.c: Likewise.
29684         * math/s_clog.c: Likewise.
29685         * math/s_clog10.c: Likewise.
29686         * math/s_clog10f.c: Likewise.
29687         * math/s_clog10l.c: Likewise.
29688         * math/s_clogf.c: Likewise.
29689         * math/s_clogl.c: Likewise.
29690         * math/s_csin.c: Likewise.
29691         * math/s_csinf.c: Likewise.
29692         * math/s_csinh.c: Likewise.
29693         * math/s_csinhf.c: Likewise.
29694         * math/s_csinhl.c: Likewise.
29695         * math/s_csinl.c: Likewise.
29696         * math/s_csqrt.c: Likewise.
29697         * math/s_csqrtf.c: Likewise.
29698         * math/s_csqrtl.c: Likewise.
29699         * math/s_ctan.c: Likewise.
29700         * math/s_ctanf.c: Likewise.
29701         * math/s_ctanh.c: Likewise.
29702         * math/s_ctanhf.c: Likewise.
29703         * math/s_ctanhl.c: Likewise.
29704         * math/s_ctanl.c: Likewise.
29705         * math/s_ldexp.c: Likewise.
29706         * math/s_ldexpf.c: Likewise.
29707         * math/s_ldexpl.c: Likewise.
29708         * math/s_significand.c: Likewise.
29709         * math/s_significandf.c: Likewise.
29710         * math/s_significandl.c: Likewise.
29711         * math/w_acos.c: Likewise.
29712         * math/w_acosf.c: Likewise.
29713         * math/w_acosh.c: Likewise.
29714         * math/w_acoshf.c: Likewise.
29715         * math/w_acoshl.c: Likewise.
29716         * math/w_acosl.c: Likewise.
29717         * math/w_asin.c: Likewise.
29718         * math/w_asinf.c: Likewise.
29719         * math/w_asinl.c: Likewise.
29720         * math/w_atan2.c: Likewise.
29721         * math/w_atan2f.c: Likewise.
29722         * math/w_atan2l.c: Likewise.
29723         * math/w_atanh.c: Likewise.
29724         * math/w_atanhf.c: Likewise.
29725         * math/w_atanhl.c: Likewise.
29726         * math/w_cosh.c: Likewise.
29727         * math/w_coshf.c: Likewise.
29728         * math/w_coshl.c: Likewise.
29729         * math/w_dremf.c: Likewise.
29730         * math/w_exp10.c: Likewise.
29731         * math/w_exp10f.c: Likewise.
29732         * math/w_exp10l.c: Likewise.
29733         * math/w_exp2.c: Likewise.
29734         * math/w_exp2f.c: Likewise.
29735         * math/w_fmod.c: Likewise.
29736         * math/w_fmodf.c: Likewise.
29737         * math/w_fmodl.c: Likewise.
29738         * math/w_hypot.c: Likewise.
29739         * math/w_hypotf.c: Likewise.
29740         * math/w_hypotl.c: Likewise.
29741         * math/w_j0.c: Likewise.
29742         * math/w_j0f.c: Likewise.
29743         * math/w_j0l.c: Likewise.
29744         * math/w_j1.c: Likewise.
29745         * math/w_j1f.c: Likewise.
29746         * math/w_j1l.c: Likewise.
29747         * math/w_jn.c: Likewise.
29748         * math/w_jnf.c: Likewise.
29749         * math/w_jnl.c: Likewise.
29750         * math/w_lgamma.c: Likewise.
29751         * math/w_lgamma_r.c: Likewise.
29752         * math/w_lgammaf.c: Likewise.
29753         * math/w_lgammaf_r.c: Likewise.
29754         * math/w_lgammal.c: Likewise.
29755         * math/w_lgammal_r.c: Likewise.
29756         * math/w_log.c: Likewise.
29757         * math/w_log10.c: Likewise.
29758         * math/w_log10f.c: Likewise.
29759         * math/w_log10l.c: Likewise.
29760         * math/w_log2.c: Likewise.
29761         * math/w_log2f.c: Likewise.
29762         * math/w_log2l.c: Likewise.
29763         * math/w_logf.c: Likewise.
29764         * math/w_logl.c: Likewise.
29765         * math/w_pow.c: Likewise.
29766         * math/w_powf.c: Likewise.
29767         * math/w_powl.c: Likewise.
29768         * math/w_remainder.c: Likewise.
29769         * math/w_remainderf.c: Likewise.
29770         * math/w_remainderl.c: Likewise.
29771         * math/w_scalb.c: Likewise.
29772         * math/w_scalbf.c: Likewise.
29773         * math/w_scalbl.c: Likewise.
29774         * math/w_sinh.c: Likewise.
29775         * math/w_sinhf.c: Likewise.
29776         * math/w_sinhl.c: Likewise.
29777         * math/w_sqrt.c: Likewise.
29778         * math/w_sqrtf.c: Likewise.
29779         * math/w_sqrtl.c: Likewise.
29780         * math/w_tgamma.c: Likewise.
29781         * math/w_tgammaf.c: Likewise.
29782         * math/w_tgammal.c: Likewise.
29784         * po/ja.po: Update from translation team.
29786 2011-09-29  Andreas Jaeger  <aj@suse.de>
29788         [BZ #13179]
29789         * sunrpc/netname.c (netname2host): Fix logic.
29791         [BZ #6779]
29792         [BZ #6783]
29793         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29794         correctly.
29795         * math/w_remainder.c (__remainder): Likewise.
29796         * math/w_remainderf.c (__remainderf): Likewise.
29797         * math/libm-test.inc (remainder_test): Add test cases.
29799 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29801         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29802         sdiv_qrnnd.
29804 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29806         * string/test-memcmp.c: Avoid unncessary #defines.
29807         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29809 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29811         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29812         Use new sse2 version for core i3 - i7 as it's faster
29813         than sse42 version.
29814         (bit_Prefer_PMINUB_for_stringop): New.
29815         * sysdeps/x86_64/rawmemchr.S: Update.
29816         Replace with faster SSE2 version.
29817         * sysdeps/x86_64/memrchr.S: New file.
29818         * sysdeps/x86_64/memchr.S: Update.
29819         Replace with faster SSE2 version.
29821 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29823         * elf/dl-load.c (lose): Add cast to avoid warning.
29825 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29827         * po/ca.po: Update from translation team.
29829         * inet/getnetgrent_r.c: Hook up nscd.
29830         * nscd/Makefile (routines): Add nscd_netgroup.
29831         (nscd-modules): Add netgroupcache.
29832         (CFLAGS-netgroupcache.c): Define.
29833         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29834         (cache_search): Add const to second parameter.
29835         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29836         INNETGR.
29837         (dbs): Add netgrdb entry.
29838         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29839         (verify_persistent_db): Handle netgrdb.
29840         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29841         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29842         GETFDNETGR.
29843         (netgroup_response_header): Define.
29844         (innetgroup_response_header): Define.
29845         (datahead): Add netgroup_response_header and innetgroup_response_header
29846         elements.
29847         * nscd/nscd.conf: Add entries for netgroup cache.
29848         * nscd/nscd.h (dbtype): Add netgrdb.
29849         (_PATH_NSCD_NETGROUP_DB): Define.
29850         (netgroup_iov_disabled): Declare.
29851         (xmalloc, xcalloc, xrealloc): Move declarations here.
29852         (cache_search): Adjust prototype.
29853         Add netgroup-related prototypes.
29854         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29855         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29856         (__nscd_innetgr): Declare.
29857         * nscd/selinux.c (perms): Use access_vector_t as element type and
29858         add netgroup-related initializers.
29859         * nscd/netgroupcache.c: New file.
29860         * nscd/nscd_netgroup.c: New file.
29861         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29862         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29863         For four parameters use innetgr.
29864         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29865         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29866         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29867         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29869         * nscd/connections.c (register_traced_file): Don't register file
29870         for disabled databases.
29872 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29874         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29876         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29877         from tree and freeing node.
29879 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
29881         * nss/nsswitch.c (__nss_database_lookup): Handle
29882         nss_parse_service_list out of memory case.
29884 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
29886         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29887         out of memory case.
29889 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29891         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29892         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29893         pass it down.
29894         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29895         elf_machine_rela, elf_machine_lazy_rel.
29896         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29897         (ELF_DYNAMIC_DO_REL): Likewise.
29898         (ELF_DYNAMIC_DO_RELA): Likewise.
29899         (ELF_DYNAMIC_RELOCATE): Likewise.
29900         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29901         to ELF_DYNAMIC_DO_REL.
29902         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29903         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29904         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29905         elf_machine_rela.
29906         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29907         skip_ifunc, don't call ifunc function if non-zero.
29908         (elf_machine_rela): Likewise.
29909         (elf_machine_lazy_rel): Likewise.
29910         (elf_machine_lazy_rela): Likewise.
29911         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29912         (elf_machine_lazy_rel): Likewise.
29913         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29914         Likewise.
29915         (elf_machine_lazy_rel): Likewise.
29916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29917         Likewise.
29918         (elf_machine_lazy_rel): Likewise.
29919         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29920         (elf_machine_lazy_rel): Likewise.
29921         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29922         (elf_machine_lazy_rel): Likewise.
29923         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29924         (elf_machine_lazy_rel): Likewise.
29925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29926         (elf_machine_lazy_rel): Likewise.
29927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29928         (elf_machine_lazy_rel): Likewise.
29929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29930         (elf_machine_lazy_rel): Likewise.
29932 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29934         * nss/nss_files/files-init.c (_nss_files_init): Use static
29935         initialization for all the *_traced_file variables.
29937 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29939         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29941 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29943         [BZ #13226]
29944         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29946 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29948         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29949         Reread the line before reparsing it.
29951 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29953         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29955 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29956             Maxim Kuvyrkov  <maxim@codesourcery.com>
29957             Joseph Myers  <joseph@codesourcery.com>
29959         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29960         if needed for __stack_chk_guard.
29962 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29964         * sysdeps/posix/spawni.c (script_execute): Always define it.
29965         It will be optimized away if unused.
29966         (maybe_script_execute): New function.
29967         (__spawni): Call it.
29969         * Makerules: Don't include tls.make.
29970         (config-tls): Always set to thread.
29971         * tls.make.c: File removed.
29973 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29975         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29976         * config.make.in (CPPFLAGS-config): New substituted variable.
29978 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29980         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29982         [BZ #13192]
29983         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29984         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29986 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29988         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29989         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29990         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29991         (CALL_FAIL): Likewise.
29992         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29993         (CALL_FAIL): Macro removed.
29994         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29996 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29998         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29999         for __FINITE_MATH_ONLY__ == 1.
30001 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30003         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30004         __ieee754_sqrt instead of sqrt.
30005         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30006         __ieee754_sqrtf instead of sqrtf.
30007         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30008         __floorf instead of floorf.
30009         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30010         __floorf, __truncf instead of floorf, truncf.
30012 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30014         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30016         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30017         __extern_always_inline.
30018         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30019         32-bit.
30021 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30023         * elf/rtld.c (dl_main): Also relocate in dependency order when
30024         doing symbol dependency testing.
30026 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30029         Always define `refsym'.
30031 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30033         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30034         (__FD_ELT): Renamed from __FDELT.
30035         * misc/bits/select2.h (__FD_ELT): Likewise.
30036         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30037         __FD_MASK instead of __FDELT, __FDMASK.
30038         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30039         Likewise.
30040         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30041         Likewise.
30043         * elf/Makefile (gen-ldd): Fix pattern.
30045         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30046         (init_tls): Likewise.
30048 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30050         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30052 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30054         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30055         `struct cmsghdr *' instead of `void *'.
30056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30057         Likewise.
30059 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30061         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30062         if non-absolute.
30063         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30064         ldd_rewrite_script.
30066 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30068         * configure.in: Remove --with-tls option.
30069         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30070         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30071         out in case it is missing.
30072         * sysdeps/ia64/elf/configure.in: Likewise.
30073         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30074         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30075         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30076         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30077         * sysdeps/sh/elf/configure.in: Likewise.
30078         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30079         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30080         * sysdeps/x86_64/elf/configure.in: Likewise.
30081         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30082         * sysdeps/mach/hurd/tls.h: Likewise.
30084         [BZ #13067]
30085         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30087         [BZ #13090]
30088         * configure.in: Fix use of AC_INIT.
30090         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30092 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30094         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30095         __set_errno.
30096         * malloc/hooks.c: Likewise.
30098         [BZ #11929]
30099         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30100         variables statically.
30101         (narenas): Initialize.
30102         (list_lock): Initialize.
30103         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30104         initializtion of main_arena and list_lock.  Small cleanups.
30105         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30106         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30107         Add initializers to main_arena and mp_.
30108         (malloc_state): Remove pagesize member.  Change all users to use
30109         GLRO(dl_pagesize).
30111         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30112         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30113         is always initialized.
30115         * malloc/malloc.c: Removed unused configurations and dead code.
30116         * malloc/arena.c: Likewise.
30117         * malloc/hooks.c: Likewise.
30118         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30120         * include/tls.h: Removed.  USE___THREAD must always be defined.
30121         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30122         * elf/dl-libc.c: Likewise.
30123         * elf/dl-tsd.c: Likewise.
30124         * include/errno.h: Likewise.
30125         * include/netdb.h: Likewise.
30126         * include/resolv.h: Likewise.
30127         * inet/herrno-loc.c: Likewise.
30128         * inet/herrno.c: Likewise.
30129         * malloc/arena.c: Likewise.
30130         * malloc/hooks.c: Likewise.
30131         * malloc/malloc.c: Likewise.
30132         * resolv/res-state.c: Likewise.
30133         * resolv/res_libc.c: Likewise.
30134         * sysdeps/i386/dl-machine.h: Likewise.
30135         * sysdeps/ia64/dl-machine.h: Likewise.
30136         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30137         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30138         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30139         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30140         * sysdeps/sh/dl-machine.h: Likewise.
30141         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30142         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30143         * sysdeps/unix/i386/sysdep.S: Likewise.
30144         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30145         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30150         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30151         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30154         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30155         * sysdeps/x86_64/dl-machine.h: Likewise.
30156         * tls.make.c: Likewise.
30158         * configure.in: Remove --with-__thread option.  Make tests for
30159         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30160         tls_model attribute fail if no support is available.  Remove
30161         USE_IN_LIBIO.
30162         * Makeconfig: Adjust for dropped configure option.  All features are
30163         now mandatory.
30164         * Makerules: Likewise.
30165         * Versions.def: Likewise.
30166         * argp/argp-fmtstream.c: Likewise.
30167         * argp/argp-fmtstream.h: Likewise.
30168         * argp/argp-help.c: Likewise.
30169         * assert/assert.c: Likewise.
30170         * config.h.in: Likewise.
30171         * config.make.in: Likewise.
30172         * configure: Likewise.
30173         * configure.in: Likewise.
30174         * csu/Versions: Likewise.
30175         * csu/init.c: Likewise.
30176         * elf/tst-audit2.c: Likewise.
30177         * elf/tst-tls10.c: Likewise.
30178         * elf/tst-tls10.h: Likewise.
30179         * elf/tst-tls11.c: Likewise.
30180         * elf/tst-tls12.c: Likewise.
30181         * elf/tst-tls14.c: Likewise.
30182         * elf/tst-tlsmod11.c: Likewise.
30183         * elf/tst-tlsmod12.c: Likewise.
30184         * elf/tst-tlsmod13.c: Likewise.
30185         * elf/tst-tlsmod13a.c: Likewise.
30186         * elf/tst-tlsmod14a.c: Likewise.
30187         * elf/tst-tlsmod15b.c: Likewise.
30188         * elf/tst-tlsmod16a.c: Likewise.
30189         * elf/tst-tlsmod16b.c: Likewise.
30190         * elf/tst-tlsmod7.c: Likewise.
30191         * elf/tst-tlsmod8.c: Likewise.
30192         * elf/tst-tlsmod9.c: Likewise.
30193         * gmon/gmon.c: Likewise.
30194         * grp/fgetgrent_r.c: Likewise.
30195         * grp/putgrent.c: Likewise.
30196         * hurd/fopenport.c: Likewise.
30197         * include/libc-symbols.h: Likewise.
30198         * include/tls.h: Likewise.
30199         * intl/gettextP.h: Likewise.
30200         * intl/loadinfo.h: Likewise.
30201         * locale/global-locale.c: Likewise.
30202         * locale/localeinfo.h: Likewise.
30203         * mach/devstream.c: Likewise.
30204         * malloc/arena.c: Likewise.
30205         * malloc/set-freeres.c: Likewise.
30206         * misc/err.c: Likewise.
30207         * misc/getttyent.c: Likewise.
30208         * misc/mntent_r.c: Likewise.
30209         * posix/getopt.c: Likewise.
30210         * posix/wordexp.c: Likewise.
30211         * pwd/fgetpwent_r.c: Likewise.
30212         * resolv/Versions: Likewise.
30213         * resolv/res_hconf.c: Likewise.
30214         * shadow/fgetspent_r.c: Likewise.
30215         * shadow/putspent.c: Likewise.
30216         * stdio-common/printf_fphex.c: Likewise.
30217         * stdio-common/tmpfile.c: Likewise.
30218         * stdlib/abort.c: Likewise.
30219         * stdlib/fmtmsg.c: Likewise.
30220         * sunrpc/auth_unix.c: Likewise.
30221         * sunrpc/clnt_perr.c: Likewise.
30222         * sunrpc/clnt_tcp.c: Likewise.
30223         * sunrpc/clnt_udp.c: Likewise.
30224         * sunrpc/clnt_unix.c: Likewise.
30225         * sunrpc/openchild.c: Likewise.
30226         * sunrpc/svc_simple.c: Likewise.
30227         * sunrpc/svc_tcp.c: Likewise.
30228         * sunrpc/svc_udp.c: Likewise.
30229         * sunrpc/svc_unix.c: Likewise.
30230         * sunrpc/xdr.c: Likewise.
30231         * sunrpc/xdr_array.c: Likewise.
30232         * sunrpc/xdr_rec.c: Likewise.
30233         * sunrpc/xdr_ref.c: Likewise.
30234         * sunrpc/xdr_stdio.c: Likewise.
30236 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30238         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30240 2011-07-03  Andreas Jaeger  <aj@suse.de>
30242         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30243         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30244         regenerate with gen-libm-tests.pl.
30246 2010-05-12  Petr Baudis  <pasky@suse.cz>
30248         [BZ #11589]
30249         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30250         around j0() zero points by switching to j1().
30251         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30252         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30254         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30256 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30258         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30259         instead of 0.
30260         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30261         instead of 0.
30262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30263         Patch in part by Pavel Roskin <proski@gnu.org>.
30265         [BZ #13138]
30266         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30267         realloc.
30268         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30269         Free memory block if necessary.
30271         [BZ #12847]
30272         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30273         be NULL.  Don't lock in this case.
30275 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30277         * elf/elf.h (ELFOSABI_GNU): New macro.
30278         (ELFOSABI_LINUX): Define to that.
30280 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30282         * string/strncat.c (strncat): Undef the symbol in case it has been
30283         defined in bits/string.h.
30285 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30287         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30289         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30290         link map.
30292 2011-08-17  Andreas Jaeger  <aj@suse.de>
30294         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30296 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30297             Ian Lance Taylor  <iant@google.com>
30299         * math/libm-test.inc (lround_test): New testcase.
30300         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30302 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30304         * Makefile: Remove support for automatic cvs check-ins.
30305         * Makerules: Likewise.
30306         * config.make.in: Likewise.
30307         * configure.in: Likewise.
30308         * intl/Makefile: Likewise.
30309         * locale/Makefile: Likewise.
30310         * po/Makefile: Likewise.
30311         * posix/Makefile: Likewise.
30312         * sysdeps/gnu/Makefile: Likewise.
30313         * sysdeps/mach/hurd/Makefile: Likewise.
30314         * sysdeps/sparc/sparc32/Makefile: Likewise.
30316         [BZ #13118]
30317         * posix/Makefile (bug-regex32-ENV): Define.
30318         Patch by John Stanley <jpsinthemix@verizon.net>.
30320         * misc/Makefile (headers): Add bits/select2.h.
30321         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30322         * misc/bits/select2.h: New file.
30323         * include/bits/select2.h: New file.
30324         * debug/Makefile (routines): Add fdelt_chk.
30325         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30326         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30327         FD_ISSET.
30328         * debug/fdelt_chk.c: New file.
30330         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30331         * wcsmbs/test-wmemcmp.c: Likewise.
30332         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30333         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30335 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30337         * string/Makefile (strop-tests): Add memcmp.
30338         * string/test-wmemcmp.c: New file.
30339         * string/test-memcmp.c: Add wmemcmp support.
30341 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30343         [BZ #13153]
30344         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30345         2011-07-19 change.
30347         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30348         garbage value in a __mach_port_mod_refs call in the cases of the
30349         task-self and thread-self ports.
30351 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30353         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30355 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30357         * elf/dl-load.c (lose): Check for non-null L.
30359 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30361         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30363         * elf/dl-libc.c (dlerror_run): Pass back error code from
30364         dl_catch_error.
30366         [BZ #13123]
30367         * elf/dl-load.c (lose): Free l_origin if it is valid.
30369         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30370         names.
30371         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30376         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30378 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30380         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30381         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30382         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30383         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30384         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30385         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30386         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30387         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30388         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30389         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30391 2011-08-15  Alan Modra  <amodra@gmail.com>
30393         [BZ #13092]
30394         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30395         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30396         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30397         ppc_mcount to static-only-routines.
30398         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30399         __mcount_internal.
30400         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30401         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30403 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30405         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30406         for finite and infinity parameters.
30408 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30410         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30411         and add nop instructions for throughput optimization.
30412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30414 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30416         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30417         aligned copy for power7 with vector-scalar instructions.
30418         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30420 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30423         AVX check.
30425 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30427         [BZ #13144]
30428         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30429         last change.
30431 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30433         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30434         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30435         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30436         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30437         clock_gettime.
30439 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30441         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30442         Forgot to demangle the pointer.
30444         * sysdeps/i386/sysdep.h: Define atom_text_section.
30445         * sysdeps/x86_64/sysdep.h: Likewise.
30446         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30447         section with atom_text_section.
30448         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30449         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30450         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30452         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30454         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30455         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30456         already be defined.  Change to take two parameters and don't assign
30457         result to variable.  Adjust all users.
30458         Define INTERNAL_GETTIME if not already defined.
30459         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30460         call.
30461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30462         HAVE_CLOCK_GETTIME_VSYSCALL.
30463         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30465         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30466         gettimeofday vsyscall, just use time.
30468 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30471         <errno.h>.
30473 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30475         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30476         syscall on x86-64.
30477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30478         syscall.
30479         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30480         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30481         syscall if possible.
30483 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30485         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30486         e_ident.  Don't pass to find_mapsXX.
30487         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30489 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30492         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30493         * sysdeps/x86_64/multiarch/strchr.S: Update.
30494         Check bit_slow_BSF bit.
30495         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30496         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30497         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30499 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30501         [BZ #13134]
30502         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30503         before glibc 2.15.
30504         (tryshell): Define.
30505         (__spawni): Change last parameter to be flag.  Test
30506         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30507         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30508         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30509         * posix/spawni.c: Likewise.
30510         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30511         * posix/spawnp.c: Likewise.  Change normal version to use
30512         SPAWN_XFLAGS_USE_PATH.
30513         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30514         SPAWN_XFLAGS_TRY_SHELL.
30516         [BZ #13150]
30517         * posix/glob.h: Remove gcc 1.x support.
30519         [BZ #13068]
30520         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30522 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30525         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30526         strrchr-sse2-bsf
30527         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30528         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30529         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30531         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30532         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30534 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30536         * sysdeps/x86_64/wcscmp.S: New file.
30538         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30539         wcscmp-c wcscmp-sse2
30540         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30541         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30542         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30543         * wcsmbs/wcscmp.c: Allow renaming.
30545 2011-09-05  David S. Miller  <davem@davemloft.net>
30547         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30548         stack slot, rather than the struct return pointer slot.
30549         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30550         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30552         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30554 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30556         * po/ja.po: Update from translation team.
30558         [BZ #13144]
30559         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30560         kernel in 64-bit binaries.
30562 2011-09-01  David S. Miller  <davem@davemloft.net>
30564         * elf/elf.h (HWCAP_SPARC_*): Move to..
30565         * sysdeps/sparc/sysdep.h: this new file and add new values.
30566         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30567         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30568         _DL_HWCAP_COUNT to 24.
30569         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30570         entries.
30571         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30572         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30573         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30575         instead of magic constants.
30576         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30578 2011-08-31  David S. Miller  <davem@davemloft.net>
30580         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30582         Reimplement to do errno handling inline.
30583         (SYSCALL_ERROR_HANDLER): New macro.
30584         (__SYSCALL_STRING): Do not do errno handling in asm.
30585         (__CLONE_SYSCALL_STRING): Delete.
30586         (__INTERNAL_SYSCALL_STRING): Delete.
30587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30588         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30589         (PSEUDO): Reimplement to do errno handling inline.
30590         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30591         (SYSCALL_ERROR_HANDLER): New macro.
30592         (__SYSCALL_STRING): Do not do errno handling in asm.
30593         (__CLONE_SYSCALL_STRING): Delete.
30594         (__INTERNAL_SYSCALL_STRING): Delete.
30595         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30596         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30597         i386.
30598         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30599         (inline_syscall*): Add 'err' argument.
30600         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30601         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30602         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30603         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30605         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30606         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30608 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30610         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30612 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30614         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30615         directive.
30617 2011-08-24  David S. Miller  <davem@davemloft.net>
30619         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30621 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30623         * elf/Makefile: Add rules to build and run unload8 test.
30624         * elf/unload8.c: New file.
30625         * elf/unload8mod1.c: New file.
30626         * elf/unload8mod1x.c: New file.
30627         * elf/unload8mod2.c: New file.
30628         * elf/unload8mod3.c: New file.
30630         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30631         it wasn't used.
30633 2011-08-23  David S. Miller  <davem@davemloft.net>
30635         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30636         subtract stack bias.
30637         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30638         %sp not %fp in calculations.
30639         (_JMPBUF_UNWINDS_ADJ): Likewise.
30641         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30642         (aio_suspend): Call it to force an exception region around the
30643         AIO_MISC_WAIT() invocation.
30645 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30647         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30648         backslash.
30650 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30652         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30653         protection macro.
30654         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30655         and <dl-machine.h>.
30656         (Elf64_FuncDesc): Remove.
30658 2011-08-22  David S. Miller  <davem@davemloft.net>
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30661         sigaltstack check, add missing cfi directives.
30662         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30663         missing cfi directives, and sigaltstack handling.
30665 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30667         [BZ #11724]
30668         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30669         object is seen twice.
30670         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30672         * elf/Makefile (distribute): Add tst-initorder2.c.
30673         (tests): Add tst-initorder2.
30674         (modules-names): Add tst-initorder2a tst-initorder2b
30675         tst-initorder2c tst-initorder2d.  Add rules to build them.
30676         ($(objpfx)tst-initorder2.out): New rule.
30677         * elf/tst-initorder2.c: New file.
30678         * elf/tst-initorder2.exp: New file.
30680 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30682         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30684         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30685         dependencies back to end of function.
30687         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30688         $(elfobjdir)/ld.so.
30690 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30692         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30693         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30695         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30696         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30697         of __vdso_gettimeofday.
30698         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30699         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30700         attribute_hidden.
30701         (_libc_vdso_platform_setup): Remove initialization of
30702         __vdso_gettimeofday and __vdso_time.
30704 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30706         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30707         and fgetc_unlocked.
30708         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30709         getc_unlocked.
30711         * elf/dl-open.c (add_to_global): Report additions to the global scope
30712         for LD_DEBUG=scopes.
30713         (dl_open_worker): Also print scope of newly loaded dependencies.
30714         (_dl_show_scope): Indicate if there is no scope.
30716         [BZ #13114]
30717         * stdio-common/Makefile (tests): Add bug24.
30718         * stdio-common/bug24.c: New file.
30720 2011-08-19  Andreas Jaeger  <aj@suse.de>
30722         [BZ #13114]
30723         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30724         non-existant file when using close-on-exec mode.
30726 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30728         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30729         the very first instruction.
30731         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30732         the CFI state in the end.
30733         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30734         inclusion of dl-trampoline.h.
30735         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30737 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30739         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30740         expectations for long double.
30742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30743         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30745 2011-08-14  David S. Miller  <davem@davemloft.net>
30747         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30748         artificual limit depends upon the system page size.
30750 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30752         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30753         * resolv/Makefile: Define CFLAGS-libresolv.
30755 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30757         * nss/makedb.c (compute_tables): Make variables used in nested
30758         function static.
30760 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30762         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30763         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30764         if buffer was too small.
30766         * elf/pldd.c (main): Attach to all threads in the process.
30767         Rewrite /proc handling to use *at functions.
30769 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30771         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30772         specifies first scope to show.
30773         (dl_open_worker): Update callers.  Move printing scope of new
30774         object to before the relocation.
30775         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30776         * sysdeps/generic/ldsodefs.h: Update declaration.
30778         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30779         string for the scope number.
30781 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30783         * nscd/servicescache.c (cache_addserv): Make sure written is always
30784         initialized.
30786 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30788         * sysdeps/i386/i486/bits/atomic.h
30789         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30790         statement expression, so as to suppress "set but not used" warning.
30791         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30793         * string/strncat.c (STRNCAT): Use prototype definition.
30795         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30796         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30797         -Iprograms here.
30798         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30799         (localedef-modules): Add localedef.
30800         (locale-modules): Add locale.
30802         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30803         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30804         to avoid a warning.
30806 2011-08-14  David S. Miller  <davem@davemloft.net>
30808         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30809         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30811 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30813         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30814         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30815         * elf/rtld.c (dl_main): Set l_name of vDSO.
30816         Call _dl_show_scope when DL_DEBUG_SCOPES.
30817         (process_dl_debug): Recognize scopes flag and also set it for all.
30818         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30819         Declare _dl_show_scope.
30821         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30822         (do_dlopen): Pass caller_dlopen to dl_open.
30823         (__libc_dlopen_mode): Initialize caller_dlopen.
30825         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30826         of libc.  Make tolower call locale-independent.  Optimize a bit by
30827         using isdigit instead of isalnum.
30828         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30830 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30832         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30833         was a dependency or dynamically loaded.
30835 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30837         * intl/l10nflist.c: Allow architecture-specific pop function.
30838         * sysdeps/x86_64/l10nflist.c: New file.
30840         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30841         classification.
30843 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30845         * include/dirent.h: Add libc_hidden_proto for scandirat and
30846         scandirat64.  Don't declare __scandirat64.
30847         * dirent/scandirat.c: Add libc_hidden_def.
30848         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30849         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30851 2011-08-10  David S. Miller  <davem@davemloft.net>
30853         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30854         enum.
30855         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30856         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30857         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30859 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30861         * Versions.def [libc]: Add GLIBC_2.15.
30862         * dirent/Makefile (routines): Add scandirat and scandirat64.
30863         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30864         GLIBC_2.15.
30865         * dirent/dirent.h: Declare scandirat and scandirat64.
30866         * dirent/scandirat.c: New file.
30867         * dirent/scandirat64.c: New file.
30868         * sysdeps/wordsize-64/scandirat.c: New file.
30869         * sysdeps/wordsize-64/scandirat64.c: New file.
30870         * dirent/opendir.c: Define opendirat.
30871         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30872         using scandirat.
30873         * dirent/scandir64.c: Adjust for scandir.c change.
30874         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30875         __scandirat64, and __scandir_cancel_handler.
30876         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
30877         additional parameter and use openat instead of open (outside of ld.so).
30878         Add new __opendir as wrapper around __opendirat.
30879         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30880         here without requiring old scandirat implementation.
30882 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
30884         * dirent/scandir.c (cancel_handler): Renamed to
30885         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
30886         defined.  Adjust users.
30887         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30890 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30892         * string/test-string.h (IMPL): Use __STRING to expand name and then
30893         stringify it.
30895         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30896         of cleanups.
30898 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30900         * string/Makefile: Update.
30901         (strop-tests): Append strncat.
30902         * string/test-wcscmp.c: New file.
30903         New comprehensive test for wcscmp.
30904         * string/test-strcmp.c: Update.
30905         (WIDE): New define.
30907 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30909         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30910         line.
30912 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30915         encoding to ACE if AI_IDN.
30917 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30920         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30922 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30925         Fix overflow bug in strncat.
30926         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30928         * string/test-strncat.c: Update.
30929         Add new tests for checking overflow bugs.
30931 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30934         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30935         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30936         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30937         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30938         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30939         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30940         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30941         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30943         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30944         (USE_AS_STRCAT): Define.
30945         Add strcat and strncat support.
30946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30948 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30950         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30951         __n bigger than INT_MAX+1.
30952         (__strncmp_g): Likewise.
30954 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30956         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30957         * libio/stido.h: Likewise.
30959         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30960         (AF_NFC): Define.
30961         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30962         (AF_NFC): Define.
30964         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30965         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30967         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30968         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30970         [BZ #13021]
30971         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30972         installed.
30974         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30975         typo.
30976         (_dl_x86_64_save_sse): Likewise.
30978 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30980         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30981         OSXSAVE.
30982         (_dl_x86_64_save_sse): Likewise.
30984         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30986         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30988 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30991         change.
30992         (_dl_x86_64_save_sse): Use correct AVX check.
30994 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30996         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30997         bug in strncpy/strncat.
30998         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31000 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31002         * string/tester.c (test_strcat): Add tests for different alignments
31003         of source and destination.
31004         (test_strncat): Likewise.
31006 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31008         [BZ #12852]
31009         * posix/glob.c (glob): Check passed in values before using them in
31010         expressions to avoid some overflows.
31011         (glob_in_dir): Likewise.
31013         [BZ #13007]
31014         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31015         check for AVX enablement so that we don't crash with old kernels and
31016         new hardware.
31017         * elf/tst-audit4.c: Add same checks here.
31018         * elf/tst-audit6.c: Likewise.
31020         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31022 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31024         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31026 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31028         * po/cs.po: Update from translation team.
31029         * po/bg.po: Likewise.
31031 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31033         * misc/sys/cdefs.h: Add support for const attribute.
31034         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31035         to gnu_dev_{major,minor,makedev} functions.
31037 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31039         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31041 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31043         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31044         strlen results.
31046 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31049         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31050         register in order to avoid conflicts with the soft frame pointer
31051         being held in r11 when necessary.
31052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31053         (INTERNAL_VSYSCALL_NCS): Likewise.
31055 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31057         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31058         * elf/dl-fini.c (_dl_fini): Adjust caller.
31059         * elf/dl-close.c (_dl_close_worker): Likewise.
31060         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31062 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31064         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31065         "aux_cache->nlibs < 0".
31067         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31068         in the reload-count case.
31070 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31073         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31074         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31075         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31076         * sysdeps/x86_64/multiarch/strcat.S: New file.
31077         * sysdeps/x86_64/multiarch/strncat.S: New file.
31078         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31079         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31080         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31081         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31082         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31083         (USE_AS_STRCAT): Define.
31084         Add strcat and strncat support.
31085         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31086         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31087         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31088         * string/strncat.c: Update.
31089         (USE_AS_STRNCAT): Define.
31090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31091         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31092         and i7.
31093         * sysdeps/x86_64/multiarch/init-arch.h
31094         (bit_Prefer_PMINUB_for_stringop): New.
31095         (index_Prefer_PMINUB_for_stringop): Likewise.
31096         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31097         bit_Prefer_PMINUB_for_stringop.
31099 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31101         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31102         buffer64.
31103         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31104         of casting of buffer.
31105         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31106         buffer32 and buffer64.
31107         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31108         writes instead of casting of buffer.
31109         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31110         buffer32.
31111         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31112         casting of buffer.
31114 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31116         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31118 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31120         * nscd/nscd.c (termination_handler): Don't do anything for a database
31121         if it has not yet been initialized.
31123 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31125         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31127 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31129         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31131 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31133         * po/nl.po: Update from translation team.
31134         * po/sv.po: Likewise.
31136 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31138         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31139         now disallowed by GCC.
31141         * configure.in (use-default-link): Default to yes if a test -shared
31142         link meets our qualifications.
31143         * configure: Regenerated.
31145         * config.make.in (output-format): New variable.
31146         * configure.in: Check for ld --print-output-format support.
31147         * configure: Regenerated.
31148         * Makerules ($(common-objpfx)format.lds)
31149         [$(output-format) != unknown]: Just use $(output-format),
31150         instead of the linker-script munging.
31152 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31154         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31155         of $(common-objpfx)shlib.lds.
31156         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31158         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31159         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31161         * configure.in (-z relro check): Adjust test code to add a large
31162         writable data section after it.
31163         * configure: Regenerated.
31165 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31167         * configure.in (-z relro check): Fix test code to make the variable
31168         truly const.
31169         * configure: Regenerated.
31171 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31173         * nscd/nscd.h (struct traced_file): Define.
31174         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31175         elements.  Add traced_files.
31176         (inotify_fd): Declare.
31177         (register_traced_file): Declare.
31178         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31179         (inotify_fd): Export.
31180         (resolv_conf_descr): Remove.
31181         (nscd_init): Move inotify descriptor creation to main.
31182         Don't register files for notification here.
31183         (register_traced_file): New function.
31184         (invalidate_cache): Don't use reset_res to determine whether to call
31185         res_init, go through the list of registered files.
31186         (main_loop_poll): The inotify descriptors are now stored in the
31187         structures for the traced files.
31188         (main_loop_epoll): Likewise
31189         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31190         to __nss_disable_nscd.
31191         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31192         for a database anymore.  Check the records for all the registered
31193         files instead.
31194         * nss/Makefile (libnss_files-routines): Add files-init.
31195         (libnss_db-routines): Add db-init.
31196         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31197         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31198         * nss/nss_db/db-init.c: New file.
31199         * nss/nss_files/files-init.c: New file.
31200         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31201         __nss_lookup_function.
31202         (__nss_lookup_function): Call nss_load_library.
31203         (nss_load_all_libraries): New function.
31204         (__nss_disable_nscd): Take parameter with callback function for files
31205         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31206         used for the cached services.
31207         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31208         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31209         options for features to all the files in nscd.
31211         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31213 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31215         * csu/elf-init.c (__libc_csu_init): Comment typo.
31217 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31219         * po/pl.po: Update from translation team.
31220         * po/ja.po: Likewise.
31221         * po/ru.po: Likewise.
31222         * po/ko.po: Likewise.
31223         * po/fr.po: Likewise.
31225 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31227         * configure.in (.ctors/.dtors header and trailer check):
31228         Use an empirical test on a built program.
31229         * configure: Regenerated.
31231         * configure.in (-z relro check): Use an empirical test on a built DSO.
31232         Detect, but do not require, on ia64.
31233         * configure: Regenerated.
31235         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31236         Update tests that use readelf to use $READELF instead.
31237         * configure: Regenerated.
31239 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31241         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31242         if the result is not used.
31244 2011-07-05  Andreas Jaeger  <aj@suse.de>
31246         [BZ#9696]
31247         * stdlib/tst-strtod.c: Add testcase.
31249 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31251         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31252         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31253         The latter has a higher limit.  Take additional parameter to pass to
31254         the new function.
31255         (__pathconf): Pass file to __statfs_link_max.
31256         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31257         __statfs_link_max.
31258         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31259         __statfs_link_max.
31261         [BZ #12868]
31262         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31263         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31264         Handle Lustre.
31265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31266         (__statfs_filesize_max): Likewise.
31267         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31269 2011-07-05  Andreas Jaeger  <aj@suse.de>
31271         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31273 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31275         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31276         `status' variable.
31277         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31278         Likewise.
31280 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31282         * Makefile (strop-tests): Add strncat.
31283         * string/test-strncat.c: New file.
31285 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31287         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31289 2011-06-21  Andreas Jaeger  <aj@suse.de>
31291         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31292         Copy rule from iconvdata/Makefile.
31294 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31296         [BZ #12922]
31297         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31298         but no long options are defined, just return 'W'.
31300 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31302         [BZ #9696]
31303         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31305 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31307         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31308         netgroups to read.
31309         (innetgr): Likewise.
31311 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31313         * config.make.in (install_root): Default to $(DESTDIR).
31315 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31317         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31319 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31321         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31323         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31324         containing directory rather than embedding absolute directory names.
31326         * scripts/check-local-headers.sh: Rewritten using awk.
31327         Match by word, not by line.  Print error messages for matches.
31328         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31330         * Makerules [shlib-lds-flags empty]:
31331         ($(common-objpfx)libc_pic.opts): New target.
31332         ($(common-objpfx)libc_pic.os.clean): New target.
31333         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31335         * config.make.in (OBJCOPY): New variable.
31336         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31337         * configure: Regenerated.
31339         * config.make.in (use-default-link): New variable.
31340         * configure.in (use_default_link): Grok --with-default-link to set it.
31341         * configure: Regenerated.
31342         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31343         (shlib-lds, shlib-lds-flags): Define to empty.
31345         * Makerules (shlib-lds): New variable.
31346         (shlib-lds-flags): New variable.
31347         (build-shlib, build-moduile, build-module-asneeded): Use it.
31348         ($(common-objpfx)libc.so): Use $(shlib-lds).
31349         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31350         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31352         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31353         DT_FLAGS/DT_FLAGS_1 with zero flags.
31355         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31356         linker script munging.
31358 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31360         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31361         as 128-bit value.
31362         * crypt/sha512.c (sha512_process_block): Perform total addition using
31363         128-bit if possible.
31364         (__sha512_finish_ctx): Likewise.
31365         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31366         as 64-bit value.
31367         * crypt/sha256.c (SWAP64): Define.
31368         (sha256_process_block): Perform total addition using 64-bit if
31369         possible.
31370         (__sha256_finish_ctx): Likewise.
31372 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31374         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31375         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31376         * nscd/hstcache.c (cache_addhst): Likewise.
31377         * nscd/grpcache.c (cache_addgr): Likewise.
31378         * nscd/aicache.c (addhstaiX): Likewise
31379         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31381 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31383         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31385         * nscd/hstcache.c (cache_addhst): Likewise.
31386         * nscd/grpcache.c (cache_addgr): Likewise.
31387         * nscd/aicache.c (addhstaiX): Likewise
31389 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31391         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31392         domain only when needed.
31394 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31397         is always restored.
31399 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31401         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31402         are re-adding the entry.
31403         * nscd/servicescache.c (cache_addserv): Likewise.
31405 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31407         * sysdeps/generic/dl-irel.h: fix protection against multiple
31408         inclusions.
31409         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31411 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31413         [BZ #12935]
31414         * malloc/memusage.sh: Fix quoting in message.
31415         * debug/xtrace.sh: Likewise.
31417         * configure.in: Remove support for --experimental-malloc option, make
31418         it the default.
31419         * config.make.in: Likewise.
31420         * malloc/Makefile: Likewise.
31422 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31424         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31425         two-byte characters.
31427 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31429         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31430         AC_CACHE_CHECK invocation.
31431         * configure: Regenerated.
31433         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31435 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31437         [BZ #12350]
31438         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31439         bit from old_res_options.
31441         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31443         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31444         value type for setfct.
31446 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31448         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31449         __gettimeofday instead of gettimeofday.
31451 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31453         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31455 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31457         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31459         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31460         info.
31462 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31465         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31466         strcpy-sse2-unaligned strncpy-sse2-unaligned
31467         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31468         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31469         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31470         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31471         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31472         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31474         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31475         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31476         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31477         (STRCPY): Support SSE2 and SSSE3 versions.
31479 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31481         [BZ #12874]
31482         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31483         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31484         kernels which artificially limit size of requests.
31486 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31489         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31490         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31491         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31492         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31493         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31494         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31495         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31496         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31498         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31499         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31500         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31501         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31502         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31504         Enable unaligned load optimization for Intel Core i3, i5 and i7
31505         processors.
31506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31507         Define.
31508         (index_Fast_Unaligned_Load): Define.
31509         (HAS_FAST_UNALIGNED_LOAD): Define.
31511 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31513         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31515 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31517         [BZ #12907]
31518         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31519         until it is clear that the information is realy needed.
31520         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31522 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31526 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31529         /sys/devices/system/cpu/online if it is usable.
31531         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31532         reading the information from the /proc filesystem to once a second.
31534 2011-06-21  Andreas Jaeger  <aj@suse.de>
31536         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31537         NULL after inclusion of kernel headers.
31539 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31541         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31542         calls to internal_setent.
31544         [BZ #12885]
31545         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31546         addresses using gethostbyname4_r ignore IPv4 addresses.
31548         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31549         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31551         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31553 2011-06-20  David S. Miller  <davem@davemloft.net>
31555         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31556         inclusions.
31557         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31559         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31560         (elf_irel): Use it.
31561         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31562         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31563         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31564         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31565         * sysdeps/x86_64/dl-irel.h: Likewise.
31567         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31568         * elf/dl-sym.c: Likewise.
31570 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31572         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31573         need to dereference resplen2.
31575 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31577         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31579 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31581         * Makeconfig: Define vardbdir and inst_vardbdir.
31582         * nss/Makefile: Add rules to install db-Makefile.
31584         * nss/nss_db/db-XXX.c: Cleanup.
31586         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31587         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31588         GLIBC_PRIVATE.
31589         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31590         * nss/makedb.c: Implement -g option to specify that value strings
31591         are generated and should not be added to table iterated over for
31592         get*ent calls.
31593         * nss/nss_db/db-initgroups.c: New file.
31595         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31596         interface.
31598         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31599         (internal_getgrouplist): Adjust to name change.
31600         Update use_initgroups_entry if this is not the first call.
31601         * nss/databases.def: Add initgroups entry.
31603         * nss/makedb.c (compute_tables): Check result of multiple hash table
31604         sizes to minimize maximum chain length.
31606 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31608         * Versions.def: Add entry for libnss_db.
31609         * shlib-versions: Likewise.
31610         * nss/Makefile: Add rules to build libnss_db.
31611         * nss/Versions: Add libnss_db information.  Organize libnss_files
31612         entries better.
31613         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31614         makedb progra.  Some minor improvements to generate smaller files.
31615         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31616         here from...
31617         * nss/makedb.c: ...here.
31618         Improve database format to be smaller and require less memory at
31619         runtime.
31620         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31621         db anymore.
31622         * nss/nss_db/db-netgrp.c: Likewise.
31623         * nss/nss_db/db-open.c: Likewise.
31624         * nss/nss_files/flies-XXX.x: Adjust comments.
31625         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31626         * nss/nss_files/files-grp.c: Likewise.
31627         * nss/nss_files/files-hosts.c: Likewise.
31628         * nss/nss_files/files-network.c: Likewise.
31629         * nss/nss_files/files-proto.c: Likewise.
31630         * nss/nss_files/files-pwd.c: Likewise.
31631         * nss/nss_files/files-rpc.c: Likewise.
31632         * nss/nss_files/files-service.c: Likewise.
31633         * nss/nss_files/files-sgrp.c: Likewise.
31634         * nss/nss_files/files-spwd.c: Likewise.
31635         * nss/nss_db/db-alias.c: Removed.
31636         * nss/nss_db/dummy-db.h: Removed.
31638 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31640         * nss/makedb.c: Rewritten to not use database library.
31641         * nss/Makefile: Update to build new makedb program.
31643 2011-06-14  Andreas Jaeger  <aj@suse.de>
31645         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31646         memset declaration.
31648 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31651         tmpbuf.
31653 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31655         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31656         * elf/Makefile ($(objpfx)ld.so): Likewise.
31658         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31659         Don't list ld.so twice in dependencies.
31661         * posix/bug-regex31.c: Include <stdlib.h>.
31663         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31665         * nis/nss_compat/compat-spwd.c
31666         (getspent_next_nss_netgr): Remove unused variable.
31667         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31669         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31670         nonmembers" output to use the right array.
31672         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31674         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31676         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31677         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31678         * catgets/gencat.c (read_input_file): Likewise.
31679         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31681         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31682         variable definition inside #if's controlling its use.
31684         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31686         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31688         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31690         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31691         unreachable code.
31693         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31695         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31696         * configure: Regenerated.
31698         * Makerules: Revert last change.
31699         * elf/Makefile: Likewise.
31701 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31703         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31704         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31705         (reloc-link): Likewise.
31707 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31709         * elf/Makefile: Add rules to build pldd.
31710         * elf/pldd.c: New file.
31711         * elf/pldd-xx.c: New file.
31713 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31715         * version.h: Update for 2.15 development version.
31717 2011-06-07  David S. Miller  <davem@davemloft.net>
31719         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31720         ifuncs.
31721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31722         elf_machine_lazy_rel): Likewise.
31723         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31725         elf_machine_lazy_rel): Likewise.
31726         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31727         dl_hwcap via passed in argument.
31728         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31729         Likewise.
31731 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31733         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31735 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31737         [BZ #12849]
31738         * manual/fdl-1.1.texi: New file, verbatim from:
31739         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31740         * manual/lgpl-2.1.texi: New file, verbatim from:
31741         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31742         * manual/Makefile (licenses): New variable, list those new file names.
31743         (texis): Use it.
31744         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31746         * manual/fdl.texi: File removed.
31747         * manual/lesser.texi: File removed.
31748         * manual/libc.texinfo (Copying, Documentation License):
31749         Use new @include file names, put @appendix directive before @include.
31751 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31753         [BZ #12841]
31754         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31755         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31756         (mq_open): Add __NTH.
31758 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31761         Assume Intel Core i3/i5/i7 processor if AVX is available.
31763 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31765         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31766         typo.
31768 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31770         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31771         memory.  Use alloca_account.  Fix memory leak when retrying.
31773 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31775         * version.h (RELEASE): Bump for 2.14 release.
31776         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31778         * config.make.in (RANLIB): Remove entry.
31780 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31782         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31783         (libc.pot): Work around missing support for .ksh extension in xgettext.
31785         [BZ #12684]
31786         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31787         if both request failed.
31788         (send_dg): In case of server errors clear resplen or *resplen2.
31790         [BZ #12454]
31791         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31792         when there are multiple maps.
31793         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31794         (_dl_fini): Remove test here.
31796         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31798 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31800         [BZ #12350]
31801         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31802         bit from old_res_options.
31803         (gaih_inet): Likewise.
31805         [BZ #11099]
31806         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31807         as signed.
31809         * resolv/res_init.c (res_setoptions): Make the code more compact.
31811         [BZ #11558]
31812         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31813         set RES_USEVC.
31815         [BZ #11634]
31816         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31818         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31820         [BZ #11781]
31821         * malloc/malloc.h: Declare malloc hook variables as volatile.
31823         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31824         in last patch.
31826         [BZ #11799]
31827         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31828         raise in the comment.
31829         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31831         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31833 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31835         [BZ #12811]
31836         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31837         grow the buffers more if it already has to be sufficient.
31838         (build_wcs_upper_buffer): Likewise.
31839         * posix/regexec.c (check_matching): Likewise.
31840         (clean_state_log_if_needed): Likewise.
31841         (extend_buffers): Don't enlarge buffers beyond size of the input
31842         buffer.
31843         Patches mostly by Emil Wojak <emil@wojak.eu>.
31844         * posix/bug-regex32.c: New file.
31845         * posix/Makefile (tests): Add bug-regex32.
31847         * locale/findlocale.c (_nl_find_locale): Return right away if
31848         _nl_explode_name failed.
31849         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31851         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31853         * debug/xtrace.sh: Unify messages.
31854         * malloc/memusage.sh: Likewise.
31856         [BZ #12813]
31857         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31858         time symbol from vDSO.  Substitute with vsyscall if not available.
31859         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31860         __vdso_time.
31862         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31863         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31864         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31865         Add sendmmsg and internal_sendmmsg.
31866         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31867         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31868         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31870         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31871         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31872         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31874 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
31876         [BZ #12813]
31877         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31878         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
31879         available.
31880         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31881         __vdso_getcpu.
31883         [BZ #12814]
31884         * iconvdata/Makefile (tests): Add bug-iconv9.
31885         * iconvdata/bug-iconv9.c: New file.
31887 2011-05-27  Andreas Schwab  <schwab@redhat.com>
31889         [BZ #12814]
31890         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31892 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31894         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31895         (struct user_regs_struct): Change intcs field back to cs.
31897 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31899         * po/ja.po: Update from translation team.
31901 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31903         [BZ #12795]
31904         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31905         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31907 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31909         * stdlib/longlong.h: Update from GCC.
31911 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31913         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31914         parameter name.
31915         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31916         Add parameter name.
31917         (__sysconf): Pass it down.
31919 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31921         [BZ #12671]
31922         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31923         some situations.
31924         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31925         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31926         add in in __libc_use_alloca calls.  Adjust callers.
31927         (glob): Use malloc in some situations.
31929         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31930         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31931         pltexit.
31933 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31935         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31936         and CLOCK_BOOTTIME_ALARM.
31938         [BZ #12782]
31939         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31940         is returned.
31942         * string/_strerror.c (__strerror_r): Print negative errors as signed
31943         numbers.
31945         [BZ #12777]
31946         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31947         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31948         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31950         * configure.in: Fix typo in redirection and correct removal of test
31951         files in two cases.
31953         [BZ #12788]
31954         * locale/setlocale.c (new_composite_name): Fix test to check for
31955         identical name of all categories.
31957         [BZ #12792]
31958         * libio/filedoalloc.c (local_isatty): New function.
31959         (_IO_file_doallocate): Use local_isatty.
31960         * stdio-common/perror.c (perror): In case a new stream is used
31961         forward the stream error.
31962         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31963         error flag.
31965 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31967         [BZ #11869]
31968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31969         alloca.
31970         * include/alloca.h (extend_alloca_account): Define.
31972         [BZ #11857]
31973         * posix/regex.h: Fix comments with documentation of user-accessible
31974         fields after compilation and describe correct free'ing of pattern
31975         after re_compile_pattern.
31976         Patch by Reuben Thomas <rrt@sc3d.org>.
31978 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31980         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31981         and -mno-altivec to prevent the compiler from using Altivec and/or
31982         VSX instructions when the corresponding registers are not available.
31984 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31986         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31988 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31990         * libio/freopen.c (freopen): Use __dup2, not dup2.
31991         * libio/freopen64.c (freopen64): Likewise.
31993 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31995         [BZ #12775]
31996         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31997         * math/Makefile (tests): Add test-powl.
31998         (CFLAGS-test-powl.c): Define.
31999         * math/test-powl.c: New file.
32001 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32003         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32005 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32007         [BZ #11837]
32008         * iconvdata/gb18030.c: Update to GB18020-2005.
32010 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32012         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32013         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32014         Patch by Aharon Robbins <arnold@skeeve.com>.
32016         [BZ #11892]
32017         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32018         on the stack.
32020         [BZ #11895]
32021         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32022         through underflows.
32024         [BZ #12766]
32025         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32026         point to strings before performing equality test for error_one_per_line
32027         mode.
32029         [BZ #11697]
32030         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32032         [BZ #11820]
32033         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32034         (struct user_fpregs_struct): Avoid __uint*_t types.
32036         [BZ #6420]
32037         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32038         symbol info.  Use it instead of calling _dl_addr locally.
32039         (lock_and_info): New function.
32040         (tr_freehook): Call lock_and_info and pass symbol info as additional
32041         parameter to tr_where.
32042         (tr_mallochook): Likewise.
32043         (tr_reallochook): Likewise.
32044         (tr_memalignhook): Likewise.
32046         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32047         used and couldn't be at all thread-safe.
32049 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32051         * libio/freopen.c (freopen): Don't close old file descriptor
32052         before the new one is opened.  Instead dup the new file descriptor
32053         to the old one after the new stream is created.
32054         * libio/freopen64.c (freopen64): Likewise.
32055         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32056         * libio/fileops.c (_IO_new_file_close_it): Handle new
32057         _IO_FLAGS2_NOCLOSE flag.
32058         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32059         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32060         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32061         _IO_FLAGS2_NOCLOSE flag.
32062         * include/unistd.h: Add hidden_proto for dup3.
32063         Define __have_dup3.
32064         * io/dup3.c: Define hidden symbol.
32065         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32067         [BZ #7101]
32068         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32069         when an incomplete long option is used.
32070         * posix/tst-getopt_long1.c: New file.
32071         * posix/Makefile (tests): Add tst-getopt_long1.
32073         [BZ #10138]
32074         * scripts/config.guess: Update from autoconf-2.68.
32075         * scripts/config.sub: Likewise.
32077         [BZ #10157]
32078         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32079         tests into ...
32080         (has_cpuclock): ...this.  New function.
32081         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32082         macro here based on has_cpuclock code.
32084         [BZ #10149]
32085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32086         First byte (not low byte) is now always NUL.
32087         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32090         Use non-cancelable interfaces.
32092         [BZ #9809]
32093         * locale/iso-639.def: Add entry for Sorani.
32095         [BZ #11901]
32096         * include/stdlib.h: Move include protection to the right place.
32097         Define abort_msg_s.  Declare __abort_msg with it.
32098         * stdlib/abort.c (__abort_msg): Adjust type.
32099         * assert/assert.c (__assert_fail_base): New function.  Majority
32100         of code from __assert_fail.  Allocate memory for __abort_msg with
32101         mmap.
32102         (__assert_fail): Now call __assert_fail_base.
32103         * assert/assert-perr.c: Remove bulk of implementation.  Use
32104         __assert_fail_base.
32105         * include/assert.hL Declare __assert_fail_base.
32106         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32107         mmap.
32108         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32110 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32112         [BZ #11952]
32113         [BZ #12453]
32114         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32115         until all modules are registered in the DTV.
32116         * elf/Makefile: Add rules to build and run tst-tls19.
32117         * elf/tst-tls19.c: New file.
32118         * elf/tst-tls19mod1.c: New file.
32119         * elf/tst-tls19mod2.c: New file.
32120         * elf/tst-tls19mod3.c: New file.
32121         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32123         [BZ #12083]
32124         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32125         correctly.
32127         [BZ #12601]
32128         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32129         two-byte sequence errors.
32130         * iconvdata/Makefile (tests): Add bug-iconv8.
32131         * iconvdata/bug-iconv8.c: New file.
32133         [BZ #12626]
32134         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32135         buf2 definition.
32137         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32139         [BZ #12432]
32140         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32141         (dummy_getcfa): New function.
32142         (init): Get _Unwind_GetCFA address, use dummy if not found.
32143         (backtrace_helper): In recursion check, also check whether CFA changes.
32144         (__backtrace): Completely initialize arg.
32146         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32147         storing incomplete byte sequence in state object.  Avoid testing for
32148         guaranteed too small input if we know there is enough data available.
32150 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32152         * Makeconfig (+link-pie): Indent.
32153         * Rules (binaries-pie): Define if $(have-fpie) and
32154         $(build-shared).
32155         (binaries-shared): Also filter out $(binaries-pie).
32156         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32157         * nscd/Makefile (others-pie): Add nscd.
32158         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32159         ($(objpfx)nscd): Remove command override.
32160         * login/Makefile (others-pie): Add pt_chown.
32161         ($(objpfx)pt_chown): Remove command override.
32162         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32163         remove command overrides.
32165 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32167         * libio/tst_putwc.c: Fix error messages.
32169         [BZ #12724]
32170         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32171         currently writing and seek to current position when not.
32172         * libio/Makefile (tests): Add bug-fclose1.
32173         * libio/bug-fclose1.c: New file.
32175 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32177         [BZ #12511]
32178         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32179         don't set DF_1_NODELETE here.
32180         (do_lookup_x): When entering new entry test for copy relocation
32181         and if necessary set DF_1_NODELETE flag.
32182         * elf/tst-unique4.cc: New file.
32183         * elf/tst-unique4.h: New file.
32184         * elf/tst-unique4lib.cc: New file.
32185         * elf/Makefile: Add rules to build and run tst-unique4.
32186         Patch by Piotr Bury <pbury@goahead.com>.
32188 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32190         [BZ #12052]
32191         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32193         [BZ #12625]
32194         * misc/mntent_r.c (addmntent): Flush the stream after the output
32196         [BZ #12393]
32197         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32198         (is_trusted_path_normalize): Skip initial colon.  Append slash
32199         to empty buffer.  Duplicate is_trusted_path code but allow
32200         constructed patch to be prefix.
32201         (is_dst): Allow $ORIGIN followed by /.
32202         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32203         Correct testing of result of is_trusted_path_normalize
32204         (decompose_rpath): Fix warning.
32206 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32208         [BZ #11257]
32209         * grp/initgroups.c (internal_getgrouplist): When we found the service
32210         list through the initgroups entry in nsswitch.conf do not always
32211         continue on a successful lookup.  Don't always use the
32212         __nss_group_database value if it is set.
32213         * nss/nsswitch.conf (initgroups): Change action for successful db
32214         lookup to continue for compatibility.
32216 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32218         [BZ #11532]
32219         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32220         and CP774 modules.
32221         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32222         and CP774 modules.
32223         * iconvdata/tst-tables.sh: Likewise.
32224         * iconvdata/cp770.c: New file.
32225         * iconvdata/cp771.c: New file.
32226         * iconvdata/cp772.c: New file.
32227         * iconvdata/cp773.c: New file.
32228         * iconvdata/cp774.c: New file.
32229         * iconvdata/testdata/CP770: New file.
32230         * iconvdata/testdata/CP770..UTF8: New file.
32231         * iconvdata/testdata/CP771: New file.
32232         * iconvdata/testdata/CP771..UTF8: New file.
32233         * iconvdata/testdata/CP772: New file.
32234         * iconvdata/testdata/CP772..UTF8: New file.
32235         * iconvdata/testdata/CP773: New file.
32236         * iconvdata/testdata/CP773..UTF8: New file.
32237         * iconvdata/testdata/CP774: New file.
32238         * iconvdata/testdata/CP774..UTF8: New file.
32240         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32241         END CHARMAP line.
32242         * iconvdata/gen-8bit-gap.sh: Likewise.
32243         * iconvdata/gen-8bit.sh: Likewise.
32245         * locale/iso-639.def: Add ary entry.
32247         [BZ #11258]
32248         * locale/C-translit.h.in: Add U20A1 transliteration.
32250         [BZ #12178]
32251         * locale/iso-639.def: Add wae entry.
32252         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32254         [BZ #12545]
32255         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32256         for n.
32258         [BZ #12711]
32259         * locale/C-translit.h.in: Add entry for U20B9.
32260         Patch by pravin.d.s@gmail.com.
32262 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32264         [BZ #12713]
32265         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32266         ENAMETOOLONG use generic getcwd.
32267         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32268         in rtld.  Use *stat64.
32269         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32270         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32271         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32272         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32273         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32274         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32275         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32276         __fstatat64 macros.
32277         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32278         * dirent/rewinddir.c: Add libc_hidden_def.
32279         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32280         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32282         * include/dirent.h (__alloc_dir): Add flags parameter.
32283         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32284         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32285         __alloc_dir.
32286         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32287         from fdopendir if O_CLOEXEC is already set.
32289 2011-03-15  Alan Modra  <amodra@gmail.com>
32291         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32292         l_tls_firstbyte_offset non-zero.  Save padding offset in
32293         l_tls_firstbyte_offset for later use.
32294         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32295         freeing static tls block.
32297 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32299         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32300         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32301         being defined by the kernel headers.
32303 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32305         [BZ #12734]
32306         * resolv/resolv.h: Define RES_NOTLDQUERY.
32307         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32308         no-tld-query and set RES_NOTLDQUERY.
32309         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32310         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32311         modern BIND to search name as TLD unless forbidden.
32313 2011-05-07  Petr Baudis  <pasky@suse.cz>
32314             Ulrich Drepper  <drepper@gmail.com>
32316         [BZ #12393]
32317         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32318         (is_trusted_path): ...to here.
32319         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32320         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32321         using is_trusted_path_normalize() in setuid scripts.
32323 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32325         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32326         __BEGIN/__END_DECLS.
32328 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32330         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32331         NSS_STATUS_NOTFOUND if no record was found.
32333 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32335         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32336         (headers-not-in-tirpc): Remove rpc/netdb.h
32337         * resolv/netdb.h: Revert last change.
32339 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32341         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32342         circular dependency between libgcc.a and libc.a.
32344 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32346         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32347         * nis/Makefile: Don't install rpcsvc/*.
32348         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32349         instead of <rpc/types.h>.
32350         (MAXHOSTNAMELEN): Define.
32352 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32354         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32356 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32358         [BZ #12714]
32359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32360         gethostbyname4_r when IPv6 results are possible.
32362 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32364         [BZ #12723]
32365         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32366         _PC_PIPE_BUF handling.
32368 2011-04-30  Bruno Haible  <bruno@clisp.org>
32370         [BZ #12717]
32371         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32372         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32373         to 'int'.
32374         * inet/getnameinfo.c (getnameinfo): Likewise.
32376 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32378         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32379         to groups setting in database lookup.
32380         * nss/nsswitch.conf: Add initgroups entry.
32382 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32384         [BZ #12685]
32385         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32386         mode string.
32387         Patch by Eric Blake <eblake@redhat.com>.
32389 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32391         * sunrpc/Makefile (need-export-routines): Add svc_run.
32392         (routines): Remove svc_run.
32393         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32394         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32395         * sunrpc/svc_run.c (svc_run): Likewise.
32396         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32398 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32400         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32401         problem in reallocation in last patch.
32403 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32405         * sunrpc/Makefile: Move inclusion of Rules.
32407 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32409         * nss/nss_files/files-initgroups.c: New file.
32410         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32411         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32412         _nss_files_initgroups_dyn.
32414 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32416         * elf/elf.h (R_ARM_IRELATIVE): Define.
32418 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32420         * po/ru.po: Update from translation team.
32422 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32424         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32425         dependencies.
32427 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32429         [BZ #12653]
32430         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32431         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32432         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32433         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32434         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32436 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32438         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32439         differing bytes.
32440         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32441         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32444 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32446         [BZ #12420]
32447         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32448         storing it.
32449         * stdlib/bug-getcontext.c: New file.
32450         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32452 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32454         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32455         instructions into .machine "z9-109".
32456         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32457         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32459 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32461         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32462         between environment variables and auxiliary vector.
32464 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32466         * Makefile: Add rules to build linkobj/libc.so.
32467         * include/libc-symbols.h: Define libc_hidden_nolink.
32468         * include/rpc/auth.h: Mark functions which are to be hidden.
32469         * include/rpc/auth_des.h: Likewise.
32470         * include/rpc/auth_unix.h: Likewise.
32471         * include/rpc/clnt.h: Likewise.
32472         * include/rpc/des_crypt.h: Likewise.
32473         * include/rpc/key_prot.h: Likewise.
32474         * include/rpc/pmap_clnt.h: Likewise.
32475         * include/rpc/pmap_prot.h: Likewise.
32476         * include/rpc/pmap_rmt.h: Likewise.
32477         * include/rpc/rpc_msg.h: Likewise.
32478         * include/rpc/svc.h: Likewise.
32479         * include/rpc/svc_auth.h: Likewise.
32480         * include/rpc/xdr.h: Likewise.
32481         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32482         * nss/Makefile: Likewise.
32483         * sunrpc/Makefile: Don't install headers.  Build library with normal
32484         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32485         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32486         for the compat linking library.  Remove use of INTDEF/INTUSE.
32487         * sunrpc/auth_none.c: Likewise.
32488         * sunrpc/auth_unix.c: Likewise.
32489         * sunrpc/authdes_prot.c: Likewise.
32490         * sunrpc/authuxprot.c: Likewise.
32491         * sunrpc/clnt_gen.c: Likewise.
32492         * sunrpc/clnt_perr.c: Likewise.
32493         * sunrpc/clnt_raw.c: Likewise.
32494         * sunrpc/clnt_simp.c: Likewise.
32495         * sunrpc/clnt_tcp.c: Likewise.
32496         * sunrpc/clnt_udp.c: Likewise.
32497         * sunrpc/clnt_unix.c: Likewise.
32498         * sunrpc/des_crypt.c: Likewise.
32499         * sunrpc/des_soft.c: Likewise.
32500         * sunrpc/get_myaddr.c: Likewise.
32501         * sunrpc/key_call.c: Likewise.
32502         * sunrpc/key_prot.c: Likewise.
32503         * sunrpc/netname.c: Likewise.
32504         * sunrpc/pm_getmaps.c: Likewise.
32505         * sunrpc/pm_getport.c: Likewise.
32506         * sunrpc/pmap_clnt.c: Likewise.
32507         * sunrpc/pmap_prot.c: Likewise.
32508         * sunrpc/pmap_prot2.c: Likewise.
32509         * sunrpc/pmap_rmt.c: Likewise.
32510         * sunrpc/publickey.c: Likewise.
32511         * sunrpc/rpc_cmsg.c: Likewise.
32512         * sunrpc/rpc_common.c: Likewise.
32513         * sunrpc/rpc_dtable.c: Likewise.
32514         * sunrpc/rpc_prot.c: Likewise.
32515         * sunrpc/rpc_thread.c: Likewise.
32516         * sunrpc/rtime.c: Likewise.
32517         * sunrpc/svc.c: Likewise.
32518         * sunrpc/svc_auth.c: Likewise.
32519         * sunrpc/svc_authux.c: Likewise.
32520         * sunrpc/svc_raw.c: Likewise.
32521         * sunrpc/svc_run.c: Likewise.
32522         * sunrpc/svc_simple.c: Likewise.
32523         * sunrpc/svc_tcp.c: Likewise.
32524         * sunrpc/svc_udp.c: Likewise.
32525         * sunrpc/svc_unix.c: Likewise.
32526         * sunrpc/svcauth_des.c: Likewise.
32527         * sunrpc/xcrypt.c: Likewise.
32528         * sunrpc/xdr.c: Likewise.
32529         * sunrpc/xdr_array.c: Likewise.
32530         * sunrpc/xdr_float.c: Likewise.
32531         * sunrpc/xdr_intXX_t.c: Likewise.
32532         * sunrpc/xdr_mem.c: Likewise.
32533         * sunrpc/xdr_rec.c: Likewise.
32534         * sunrpc/xdr_ref.c: Likewise.
32535         * sunrpc/xdr_sizeof.c: Likewise.
32536         * sunrpc/xdr_stdio.c: Likewise.
32538 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32540         [BZ #12650]
32541         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32542         * sysdeps/ia64/dl-tls.h: Likewise.
32543         * sysdeps/powerpc/dl-tls.h: Likewise.
32544         * sysdeps/s390/dl-tls.h: Likewise.
32545         * sysdeps/sh/dl-tls.h: Likewise.
32546         * sysdeps/sparc/dl-tls.h: Likewise.
32547         * sysdeps/x86_64/dl-tls.h: Likewise.
32548         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32550 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32552         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32553         rpath element also skip the following colon.
32554         (expand_dynamic_string_token): Add is_path parameter and pass
32555         down to DL_DST_REQUIRED and _dl_dst_substitute.
32556         (decompose_rpath): Call expand_dynamic_string_token with
32557         non-zero is_path.  Ignore empty rpaths.
32558         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32559         with zero is_path.
32561 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32564         Make cancelable.
32566 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32568         [BZ #12655]
32569         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32570         Patch by Filipe David Manana <fdmanana@apache.org>.
32572 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32574         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32575         Maintain aligned stack.
32576         (CHECK_RSP): Remove unused macro.
32578 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32580         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32581         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32583 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32585         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32587         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32589 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32591         [BZ #12518]
32592         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32593         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32594         * sysdeps/x86_64/memmove.c: New file.
32595         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32596         (memcpy): Renamed to ...
32597         (__new_memcpy): This.
32598         (memcpy): Provide GLIBC_2_14 memcpy.
32599         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32600         (memcpy): Provide GLIBC_2_2_5 memcpy.
32602 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32604         [BZ #12631]
32605         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32607 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32609         * misc/syncfs.c: New file.
32610         * misc/Makefile (routines): Add syncfs.
32611         * posix/unistd.h: Declare syncfs.
32612         * sysdeps/unix/syscalls.list: Add syncfs.
32614 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32616         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32617         open_by_handle_at.
32618         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32619         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32621         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32623         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32624         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32626 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32628         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32629         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32630         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32631         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32632         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32636         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32637         sync_file_range.c with -fexceptions.
32638         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32639         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32640         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32641         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32642         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32643         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32645         sync_file_range as cancellation point
32646         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32647         now a wrapper around __call_sync_file_range with cancellation handling.
32648         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32649         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32650         function name to __call_sync_file_range.
32651         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32652         Add call_sync_file_range.
32654 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32657         bits/timex.h.
32659 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32661         * iconv/iconv.h: Fix typo in comment.
32662         * io/fcntl.h: Likewise.
32663         * libio/stdio.h: Likewise.
32664         * posix/spawn.h: Likewise.
32665         * posix/unistd.h: Likewise.
32666         * stdlib/stdlib.h: Likewise.
32667         * time/time.h: Likewise.
32668         * wcsmbs/wchar.h: Likewise.
32670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32671         open_by_handle): Add.
32672         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32673         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32674         Augment a few comments.
32675         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32676         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32677         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32680         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32681         open_by_handle.
32683         * io/fcntl.h (AT_EMPTY_PATH): Define.
32685 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32687         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32688         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32689         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32690         to...
32691         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32692         * Versions.def: Add GLIBC_2.14.
32693         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32694         Export.
32696 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32698         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32699         round counter.
32700         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32702 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32704         [BZ #12597]
32705         * string/test-strncmp.c (do_page_test): New function.
32706         (check2): Likewise.
32707         (test_main): Call check2.
32708         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32710 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32712         [BZ #12587]
32713         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32714         Handle cache information in CPU leaf 4.
32715         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32717 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32719         [BZ #12583]
32720         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32721         character representation.
32722         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32724 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32726         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32727         END(__isnan) to END(__isnanf) to match function entry point/label
32728         EALIGN(__isnanf,...).
32730 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32732         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32734 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32736         [BZ #12510]
32737         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32738         copy from the symbol referenced in the relocation to initialize the
32739         used variable.
32740         Patch by Piotr Bury <pbury@goahead.com>.
32741         * elf/Makefile: Add rules to build and tst-unique3.
32742         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32743         * elf/tst-unique3.cc: New file.
32744         * elf/tst-unique3.h: New file.
32745         * elf/tst-unique3lib.cc: New file.
32746         * elf/tst-unique3lib2.cc: New file.
32748         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32750 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32752         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32753         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32754         to _start.
32756 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32758         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32759         to-be-loaded object along a path to loader is ld.so.
32761 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32762             Ulrich Drepper  <drepper@gmail.com>
32764         * sysdeps/x86_64/memset.S: After aligning destination, code
32765         branches to different locations depending on the value of
32766         misalignment, when multiarch is enabled. Fix this.
32768 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32770         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32771         Set _x86_64_preferred_memory_instruction for AMD processsors.
32772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32773         Set bit_Prefer_SSE_for_memop for AMD processors.
32775 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32777         * libio/fmemopen.c (fmemopen): Optimize a bit.
32779 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32781         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32783 2011-03-03  Roland McGrath  <roland@redhat.com>
32785         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32787 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32789         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32790         __bzero_ultra1 instead of __memset_ultra1.
32792 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32793             Ulrich Drepper  <drepper@gmail.com>
32795         [BZ #12509]
32796         * include/link.h (struct link_map): Add l_orig_initfini.
32797         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32798         returning unsuccessfully.
32799         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32800         close of a file loaded at startup, restore the original l_initfini
32801         list.
32802         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32803         list, store the pointer.
32804         * elf/Makefile ($(objpfx)noload-mem): New rule.
32805         (noload-ENV): Define.
32806         (tests): Add $(objpfx)noload-mem.
32807         * elf/noload.c: Include <memcheck.h>.
32808         (main): Call mtrace.  Close all opened handles.
32810 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32812         [BZ #12454]
32813         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32814         dependencies are missing.
32816 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32818         Fix __if_freereq crash: Unlike the generic version which uses free,
32819         Hurd needs munmap.
32820         * sysdeps/mach/hurd/ifreq.h: New file.
32822 2011-01-27  Petr Baudis  <pasky@suse.cz>
32823             Ulrich Drepper  <drepper@gmail.com>
32825         [BZ 12445]#
32826         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32827         to extend_alloca().
32828         * stdio-common/bug23.c: New file.
32829         * stdio-common/Makefile (tests): Add bug23.
32831 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32832             Ulrich Drepper  <drepper@gmail.com>
32834         [BZ #12489]
32835         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32836         before performing relro protection.  At old place add assertion
32837         to make sure nothing changed.
32839 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32840             Glauber de Oliveira Costa  <glommer@gmail.com>
32842         * elf/elf.h: Add new ARM TLS relocs.
32844 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32847         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32848         cast from r3.
32849         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32850         'tests' variable.
32851         * sysdeps/wordsize-64/tst-writev.c: New file.
32853 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32855         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32856         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32857         insns in _dl_start to prevent a TOC reference before relocs are
32858         resolved.
32860 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32862         [BZ #12469]
32863         * Makeconfig: Remove RANLIB definition.
32864         * Makerules: Don't use RANLIB.
32865         * aclocal.m4: Remove ranlib test.
32866         * configure.in: No need to check for ranlib.
32867         * elf/rtld-Rules: Don't use RANLIB.
32869 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32871         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32872         protection macro.
32873         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32874         inclusion protection macro.
32876         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32877         SIGRTMIN and SIGRTMAX and print information in that case only when
32878         SIGRTMIN is defined.
32880 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
32882         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32883         arginfo fn returning -1.
32885         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32886         and thousands string is zero terminated.
32888 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32891         sysdeps/unix/sysv/linux/bits/socket.h.
32893 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32895         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32896         (__CPU_COUNT): Remove old macros.
32897         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32898         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32899         (__CPU_ALLOC, __CPU_FREE): Add macros.
32900         (__sched_cpualloc, __sched_cpufree): Add declarations.
32902 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32904         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32905         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32906         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32907         (readdhstai): Return value of addhstaiX call.
32908         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32909         (addgrbyX): Return value returned by cache_addgr.
32910         (readdgrbyname): Return value returned by addgrbyX.
32911         (readdgrbygid): Likewise.
32912         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32913         (addpwbyX): Return value returned by cache_addpw.
32914         (readdpwbyname): Return value returned by addhstbyX.
32915         (readdpwbyuid): Likewise.
32916         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32917         (addservbyX): Return value returned by cache_addserv.
32918         (readdservbyname): Return value returned by addservbyX:
32919         (readdservbyport): Likewise.
32920         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32921         (addhstbyX): Return value returned by cache_addhst.
32922         (readdhstbyname): Return value returned by addhstbyX.
32923         (readdhstbyaddr): Likewise.
32924         (readdhstbynamev6): Likewise.
32925         (readdhstbyaddrv6): Likewise.
32926         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32927         (readdinitgroups): Return value returned by addinitgroupsX.
32928         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32929         (prune_cache): Keep track of timeout value of re-added entries.
32930         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32931         * nscd/nscd.h: Adjust prototypes of readd* functions.
32933 2011-02-04  Roland McGrath  <roland@redhat.com>
32935         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32936         (nis_stats): Likewise.
32937         * nis/nis_modify.c (nis_modify): Likewise.
32938         * nis/nis_remove.c (nis_remove): Likewise.
32939         * nis/nis_add.c (nis_add): Likewise.
32941         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32943         * posix/fnmatch_loop.c: Add some consts.
32945         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32947 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32949         [BZ #12460]
32950         * config.make.in (config-cflags-novzeroupper): Define.
32951         * configure.in: Substitute libc_cv_cc_novzeroupper.
32952         * elf/Makefile (AVX-CFLAGS): Define.
32953         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32954         (CFLAGS-tst-auditmod4a.c): Likewise.
32955         (CFLAGS-tst-auditmod4b.c): Likewise.
32956         (CFLAGS-tst-auditmod6b.c): Likewise.
32957         (CFLAGS-tst-auditmod6c.c): Likewise.
32958         (CFLAGS-tst-auditmod7b.c): Likewise.
32959         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32961 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32963         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32964         function to the callback.
32965         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32967 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32969         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32970         of errno.
32972 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32974         [BZ #11724]
32975         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32976         of constructors.
32977         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32978         of destructors.
32979         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32981         [BZ #11724]
32982         * elf/Makefile: Add rules to build and run new test.
32983         * elf/tst-initorder.c: New file.
32984         * elf/tst-initorder.exp: New file.
32985         * elf/tst-initordera1.c: New file.
32986         * elf/tst-initordera2.c: New file.
32987         * elf/tst-initordera3.c: New file.
32988         * elf/tst-initordera4.c: New file.
32989         * elf/tst-initorderb1.c: New file.
32990         * elf/tst-initorderb2.c: New file.
32991         * elf/tst-order-a1.c: New file.
32992         * elf/tst-order-a2.c: New file.
32993         * elf/tst-order-a3.c: New file.
32994         * elf/tst-order-a4.c: New file.
32995         * elf/tst-order-b1.c: New file.
32996         * elf/tst-order-b2.c: New file.
32997         * elf/tst-order-main.c: New file.
32998         New test case by George Gensure <werkt0@gmail.com>.
33000 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33003         decoding ACE if AI_CANONIDN.
33005 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33007         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33009 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33011         * version.h (RELEASE): Bump for 2.13 release.
33012         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33014         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33016         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33017         MADV_NOHUGEPAGE.
33018         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33020         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33021         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33022         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33023         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33025         * posix/getconf.c: Update copyright year.
33026         * catgets/gencat.c: Likewise.
33027         * csu/version.c: Likewise.
33028         * debug/catchsegv.sh: Likewise.
33029         * debug/xtrace.sh: Likewise.
33030         * elf/ldconfig.c: Likewise.
33031         * elf/ldd.bash.in: Likewise.
33032         * elf/sprof.c (print_version): Likewise.
33033         * iconv/iconv_prog.c: Likewise.
33034         * iconv/iconvconfig.c: Likewise.
33035         * locale/programs/locale.c: Likewise.
33036         * locale/programs/localedef.c: Likewise.
33037         * malloc/memusage.sh: Likewise.
33038         * malloc/mtrace.pl: Likewise.
33039         * nscd/nscd.c (print_version): Likewise.
33040         * nss/getent.c: Likewise.
33042         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33043         PF_CAIF, and PF_ALG.
33044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33046 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33048         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33049         (modules-names): Use them.
33050         (ifunc-test-modules, ifunc-pie-tests): Define.
33051         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33052         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33053         (test-extras): Likewise.
33054         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33055         $(compile-command.c).
33056         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33057         (all-built-dso): Define.
33058         (check-textrel.out, check-execstack.out): Depend on it.
33060         * configure.in: Don't override --enable-multi-arch.
33062 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33064         [BZ #6812]
33065         * nscd/hstcache.c (tryagain): Define.
33066         (cache_addhst): Return tryagain not notfound for temporary errors.
33067         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33068         failed.
33070 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33072         [BZ #10563]
33073         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33074         to make the syscall.
33075         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33077         [BZ #12378]
33078         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33079         and fall back to matching as normal character if the string ends before
33080         the matching ']' is found.  This is what POSIX requires.
33081         * posix/testfnm.c: Adjust test result.
33082         * posix/globtest.sh: Adjust test result.  Add new test.
33083         * posix/tst-fnmatch.input: Likewise.
33084         * posix/tst-fnmatch2.c: Add new test.
33086 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33088         * elf/Makefile (check-execstack): Revert last change.  Depend on
33089         check-execstack.h.
33090         (check-execstack.h): New target.
33091         (generated): Add check-execstack.h.
33092         * elf/check-execstack.c: Include "check-execstack.h".
33093         (main): Revert last change.
33094         (handle_file): Return zero if GNU_STACK is absent and
33095         DEFAULT_STACK_PERMS doesn't include PF_X.
33097 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33099         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33100         in child fails because the descriptor is already closed.
33101         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33102         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33103         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33105         [BZ #12397]
33106         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33107         syscall.
33109         [BZ #10484]
33110         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33111         temporary buffer used to handle multi lookups locally.
33112         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33114 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33116         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33117         loader is ld.so.
33119 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33121         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33122         alignment for SSE2.
33124 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33126         [BZ #12394]
33127         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33128         characters.  When rounding increased number of integer digits recompute
33129         number of groups.
33130         * stdio-common/tst-grouping.c: New file.
33131         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33133 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33135         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33136         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33138         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33139         void.
33140         * bits/select.h: Likewise.
33142 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33144         * po/ja.po: Update from translation team.
33146 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33148         [BZ #11155]
33149         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33150         implementation just like for lxstat, fxstatat, et al.
33152 2010-12-27  Jim Meyering  <meyering@redhat.com>
33154         [BZ #12348]
33155         * posix/regexec.c (build_trtable): Return failure indication upon
33156         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33158 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33160         [BZ #12201]
33161         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33162         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33163         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33164         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33166         [BZ #12207]
33167         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33169         [BZ #12204]
33170         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33171         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33173 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33175         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33176         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33177         script has SORT_BY_INIT_PRIORITY.
33178         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33179         NO_CTORS_DTORS_SECTIONS is defined.
33180         * elf/soinit.c: Likewise.
33181         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33182         NO_CTORS_DTORS_SECTIONS is defined.
33183         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33184         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33185         * sysdeps/sh/init-first.c: Likewise.
33186         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33188 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33190         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33191         always use the slow path.
33193 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33195         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33196         similar rule which adds the sysdep directories to the header search in
33197         order to pick up the correct platform stackinfo.h.
33198         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33199         perform test if it is, otherwise return successfully without testing.
33200         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33201         DEFAULT_STACK_PERMS define in stackinfo.h.
33202         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33203         defined in stackinfo.h.
33204         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33205         DEFAULT_STACK_PERMS defined in stackinfo.h.
33206         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33207         * sysdeps/ia64/stackinfo.h: Likewise.
33208         * sysdeps/s390/stackinfo.h: Likewise.
33209         * sysdeps/sh/stackinfo.h: Likewise.
33210         * sysdeps/sparc/stackinfo.h: Likewise.
33211         * sysdeps/x86_64/stackinfo.h: Likewise.
33212         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33213         PF_X for powerpc64.  Retain PF_X for powerpc32.
33215 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33217         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33218         accurately.
33219         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33220         GETDENTS_64BIT_ALIGNED.
33222 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33224         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33226 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33228         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33229         _GNU_SOURCE.
33231         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33232         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33233         Remove __restrict.
33234         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33235         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33237 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33239         [BZ #11655]
33240         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33241         are initialized.
33243 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33245         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33247 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33249         * po/it.po: Update from translation team.
33251 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33254         unused codes.
33256 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33258         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33260 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33262         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33263         specially.
33264         (gaih_getanswer_slice): Likewise.
33266 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33270 2010-05-31  Petr Baudis  <pasky@suse.cz>
33272         [BZ #11149]
33273         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33274         silently even in the chroot mode.
33276 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33278         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33279         last patch a bit.  Pretty printing
33281 2010-05-31  Petr Baudis <pasky@suse.cz>
33283         [BZ #10085]
33284         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33285         initialization of skip_initgroups_dyn.
33287 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33289         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33290         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33292 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33294         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33296 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33298         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33299         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33300         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33301         ($(objpfx)tst-fnmatch-mem): New rule.
33302         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33303         * posix/tst-fnmatch.c (main): Call mtrace.
33305 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33308         Support Intel processor model 6 and model 0x2c.
33310 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33313           signed comparison.
33315 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33317         [BZ #12205]
33318         * string/test-strncasecmp.c (check_result): New function.
33319         (do_one_test): Use it.
33320         (check1): New function.
33321         (test_main): Use it.
33322         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33323         Support strcasecmp and strncasecmp.
33325 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33327         [BZ #12194]
33328         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33329         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33331 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33333         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33334         IFUNC support.
33335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33336         memset-x86-64.
33337         * sysdeps/x86_64/multiarch/bzero.S: New file.
33338         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33339         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33340         * sysdeps/x86_64/multiarch/memset.S: New file.
33341         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33343         Set bit_Prefer_SSE_for_memop for Intel processors.
33344         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33345         Define.
33346         (index_Prefer_SSE_for_memop): Define.
33347         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33349 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33351         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33352         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33354 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33356         [BZ #12191]
33357         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33358         (__x86_64_raw_data_cache_size_half): Likewise.
33359         (__x86_64_raw_shared_cache_size): Likewise.
33360         (__x86_64_raw_shared_cache_size_half): Likewise.
33362         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33363         (__x86_64_raw_data_cache_size_half): Likewise.
33364         (__x86_64_raw_shared_cache_size): Likewise.
33365         (__x86_64_raw_shared_cache_size_half): Likewise.
33366         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33367         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33368         and __x86_64_raw_shared_cache_size_half.  Round
33369         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33370         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33371         to multiple of 256 bytes.
33373 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33375         [BZ #12167]
33376         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33377         of inacessible symlinks.  Verify result of symlink before returning it.
33378         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33379         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33381 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33383         * math/math.h (isinf): Fix typo in comment.
33385 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33387         * po/da.po: Update from translation team.
33389 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33391         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33392         is added to the list.
33394 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33395             Ulrich Drepper  <drepper@gmail.com>
33397         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33398         the global list here.  Move code to...
33399         (_dl_add_to_namespace_list): ...here.  New function.
33400         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33401         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33402         * elf/dl-load.c (lose): Don't remove the element from the list.
33403         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33404         (_dl_map_object): Likewise.
33406 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33408         [BZ #12159]
33409         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33410         into all bytes of SSE register.
33411         Patch by Richard Li <richardpku@gmail.com>.
33413 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33415         [BZ #12140]
33416         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33417         perturbing.
33419 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33421         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33422         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33423         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33424         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33426         submachine.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33429 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33431         * include/dlfcn.h (__RTLD_SECURE): Define.
33432         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33433         mode & __RTLD_SECURE instead.
33434         (open_path): Rename preloaded parameter to secure.
33435         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33436         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33437         * elf/dl-deps.c (openaux): Likewise.
33438         * elf/rtld.c (struct map_args): Remove is_preloaded.
33439         (map_doit): Don't use it.
33440         (dl_main): Likewise.
33441         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33442         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33444 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33446         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33447         (sysd-rules-targets): Remove duplicates.
33448         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33449         rtld-%.$o dependency.
33451 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33453         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33454         _dl_map_object do it.
33456 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33458         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33459         fast fma builtins, define the macros in the C99 standard.
33460         (FP_FAST_FMAF): Likewise.
33461         (FP_FAST_FMAL): Likewise.
33462         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33464         * bits/mathdef.h: Update copyright year.
33465         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33467 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33469         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33470         builtins, define the macros in the C99 standard.
33471         (FP_FAST_FMAF): Likewise.
33472         (FP_FAST_FMAL): Likewise.
33473         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33474         multiply/add.
33475         (FP_FAST_FMAF): Likewise.
33477 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33479         [BZ #3268]
33480         * math/libm-test.inc (fma_test): Some new testcases.
33481         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33482         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33483         y and infinite z.  Do multiplication by C already in long double.
33484         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33486         y and infinite z.  Do bitwise or of inexact bit into u.d.
33487         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33488         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33489         * sysdeps/i386/fpu/s_fma.S: Removed.
33490         * sysdeps/i386/fpu/s_fmal.S: Removed.
33492 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33494         [BZ #3268]
33495         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33497         computation is not scheduled after fetestexcept.  Fix value
33498         of minimum denormal long double.
33500 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33502         [BZ #3268]
33503         * math/libm-test.inc (fma_test): Add some more tests.
33504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33505         correctly.
33507 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33509         * scripts/data/localplt-s390-linux-gnu.data: New file.
33510         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33512 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33514         [BZ #3268]
33515         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33516         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33517         instead of dbl-64.
33518         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33519         inlines.
33520         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33522         if one of x and y is very large and the other is subnormal.
33523         * sysdeps/s390/fpu/s_fmaf.c: New file.
33524         * sysdeps/s390/fpu/s_fma.c: New file.
33525         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33526         * sysdeps/powerpc/fpu/s_fma.S: New file.
33527         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33528         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33529         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33531 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33533         [BZ #3268]
33534         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33535         fma tests.
33536         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33537         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33538         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33539         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33540         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33541         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33542         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33544 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33546         [BZ #12078]
33547         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33548         * posix/bug-regex31.input: Add test case.
33550 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33552         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33553         * posix/bug-regex31.input: New file.
33555         [BZ #12078]
33556         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33557         (parse_sub_exp): Fix last change, use postorder.
33559         * posix/bug-regex31.c: New file.
33560         * posix/Makefile: Add rules to build and run bug-regex31.
33562         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33564         [BZ #12078]
33565         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33567         [BZ #12108]
33568         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33569         to have entries in sys_siglist.
33571         [BZ #12093]
33572         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33573         be NULL.
33575 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33577         [BZ #3268]
33578         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33579         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33580         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33581         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33582         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33583         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33584         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33585         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33586         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33587         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33588         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33589         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33590         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33591         * math/ftestexcept.c (fetestexcept): Likewise.
33592         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33593         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33594         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33595         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33596         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33597         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33598         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33600 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33602         [BZ #12107]
33603         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33604         newline.
33606 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33608         * string/bug-strstr1.c: New file.
33609         * string/Makefile: Add rules to build and run bug-strstr1.
33611 2010-10-05  Eric Blake  <eblake@redhat.com>
33613         [BZ #12092]
33614         * string/str-two-way.h (two_way_long_needle): Always clear memory
33615         when skipping input due to the shift table.
33617 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33619         [BZ #12005]
33620         * malloc/mcheck.c: Handle large requests.
33622         [BZ #12077]
33623         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33624         for strncmp and strncasecmp.
33625         * string/stratcliff.c: Add tests for strcmp and strncmp.
33626         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33628 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33630         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33631         __set_fpscr.
33633 2010-09-30  Andreas Jaeger  <aj@suse.de>
33635         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33636         (CGROUP_SUPER_MAGIC): Define.
33637         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33638         Handle btrfs and cgroup file systems.
33639         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33640         Likewise.
33642 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33644         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33645         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33647 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33649         [BZ #12067]
33650         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33651         trying to locate the ELF header.
33653 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33655         [BZ #11611]
33656         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33657         Mask out sign-bit copies when constructing f_fsid.
33659 2010-09-24  Petr Baudis <pasky@suse.cz>
33661         * debug/stack_chk_fail_local.c: Add missing licence exception.
33662         * debug/warning-nop.c: Likewise.
33664 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33666         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33667         implementing getdents64 using getdents syscall, set d_type if
33668         __ASSUME_GETDENTS32_D_TYPE.
33670 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33672         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33673         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33675 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33677         [BZ #12037]
33678         * posix/unistd.h: Undo change of feature selection for ftruncate from
33679         2010-01-11.
33681 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33683         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33684         detection.
33686 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33688         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33689         fanotify_mark.
33690         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33692 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33694         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33695         variables after CHECK_SP call.
33696         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33698 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33699             Ulrich Drepper  <drepper@redhat.com>
33701         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33702         re-relocationg ld.so.
33703         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33704         _dl_init_paths call.
33705         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33706         here anymore.
33708 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33710         * resolv/res_init.c (__res_vinit): Count the default server we added.
33712 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33713             Ulrich Drepper  <drepper@redhat.com>
33715         [BZ #11968]
33716         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33717         (____longjmp_chk): Use %ebx for saving value across system call.
33718         Add unwind info.
33720 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33722         * manual/Makefile: Don't mix pattern rules with normal rules.
33724 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33726         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33727         operation.
33728         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33729         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33730         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33731         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33733         Likewise.
33735 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33737         [BZ #11979]
33738         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33739         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33741 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33743         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33744         * sysdeps/x86_64/addmul_1.S: Likewise.
33745         * sysdeps/x86_64/lshift.S: Likewise.
33746         * sysdeps/x86_64/mul_1.S: Likewise.
33747         * sysdeps/x86_64/rshift.S: Likewise.
33748         * sysdeps/x86_64/sub_n.S: Likewise.
33749         * sysdeps/x86_64/submul_1.S: Likewise.
33751 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33753         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33754         Define __sched_param instead of SCHED_* and sched_param when
33755         <bits/sched.h> is included with __need_schedparam defined.
33756         * bits/sched.h [__need_schedparam]
33757         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33758         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33759         (__defined_schedparam): Define to 1.
33760         (__sched_param): New structure, identical to sched_param.
33761         (__need_schedparam): Undefine.
33763 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33765         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33766         (epoll_create1): Declare.
33768         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33770 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33772         [BZ #7066]
33773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33774         shifting retval into place.
33776 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33778         * nis/rpcsvc/nis.h: Update copyright notice.
33779         * nis/rpcsvc/nis.x: Likewise.
33780         * nis/rpcsvc/nis_callback.h: Likewise.
33781         * nis/rpcsvc/nis_callback.x: Likewise.
33782         * nis/rpcsvc/nis_object.x: Likewise.
33783         * nis/rpcsvc/nis_tags.h: Likewise.
33784         * nis/rpcsvc/yp.h: Likewise.
33785         * nis/rpcsvc/yp.x: Likewise.
33786         * nis/rpcsvc/ypupd.h: Likewise.
33787         * nis/yp_xdr.c: Likewise.
33788         * nis/ypupdate_xdr.c: Likewise.
33790         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33791         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33792         (pmap_getport): Use __libc_rpc_getport.
33793         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33794         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33795         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33797 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33800         fanotify_mark.
33802 2010-08-27  Roland McGrath  <roland@redhat.com>
33804         * sysdeps/i386/i686/multiarch/Makefile
33805         (CFLAGS-varshift.c): New variable.
33807 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33809         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33810         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33812         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33814         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33816 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33818         * sysdeps/x86_64/strlen.S: Unroll the loop.
33819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33820         strlen-sse2 strlen-sse2-bsf.
33821         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33822         __strlen_no_bsf if bit_Slow_BSF is set.
33823         (__strlen_sse42): Removed.
33824         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33825         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33827 2010-08-25  Roland McGrath  <roland@redhat.com>
33829         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33830         * sysdeps/x86_64/multiarch/varshift.c: New file.
33831         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33832         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33833         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33834         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33836 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33838         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33839         strlen-sse2 strlen-sse2-bsf.
33840         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33841         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33842         (__strlen_sse2): Removed.
33843         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33844         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33846         bit_Slow_BSF for Atom.
33847         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33848         (index_Slow_BSF): Define.
33849         (HAS_SLOW_BSF): Define.
33851 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33853         [BZ #10851]
33854         * resolv/res_init.c (__res_vinit): When no server address at all
33855         is given default to loopback.
33857 2010-08-24  Roland McGrath  <roland@redhat.com>
33859         * configure.in: Remove config-name.h generation.
33860         * configure: Regenerated.
33861         * config-name.in: File removed.
33862         * scripts/config-uname.sh: New file.
33863         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33864         ($(objdir)config-name.h): New target.
33866         * sunrpc/rpc_parse.h: Avoid nested comment.
33868 2010-08-24  Richard Henderson  <rth@redhat.com>
33869             Ulrich Drepper  <drepper@redhat.com>
33870             H.J. Lu  <hongjiu.lu@intel.com>
33872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33874         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33875         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
33876         _mm_alignr_epi8 with _mm_loadu_si128.
33877         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33878         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33879         (__m128i_shift_right): Removed.
33880         * sysdeps/i386/i686/multiarch/varshift.h: New file.
33881         * sysdeps/i386/i686/multiarch/varshift.S: New file.
33882         * sysdeps/x86_64/multiarch/varshift.h: New file.
33883         * sysdeps/x86_64/multiarch/varshift.S: New file.
33885 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
33887         * configure.in: Move assembler checks to before sysdep dir checking.
33889 2010-08-20  Petr Baudis  <pasky@suse.cz>
33891         * LICENSES: Sync the sunrpc license.
33893 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33895         * sunrpc/auth_des.c: Update copyright notice once again.
33896         * sunrpc/auth_none.c: Likewise.
33897         * sunrpc/auth_unix.c: Likewise.
33898         * sunrpc/authdes_prot.c: Likewise.
33899         * sunrpc/authuxprot.c: Likewise.
33900         * sunrpc/bindrsvprt.c: Likewise.
33901         * sunrpc/clnt_gen.c: Likewise.
33902         * sunrpc/clnt_perr.c: Likewise.
33903         * sunrpc/clnt_raw.c: Likewise.
33904         * sunrpc/clnt_simp.c: Likewise.
33905         * sunrpc/clnt_tcp.c: Likewise.
33906         * sunrpc/clnt_udp.c: Likewise.
33907         * sunrpc/clnt_unix.c: Likewise.
33908         * sunrpc/des_crypt.c: Likewise.
33909         * sunrpc/des_soft.c: Likewise.
33910         * sunrpc/get_myaddr.c: Likewise.
33911         * sunrpc/getrpcport.c: Likewise.
33912         * sunrpc/key_call.c: Likewise.
33913         * sunrpc/key_prot.c: Likewise.
33914         * sunrpc/openchild.c: Likewise.
33915         * sunrpc/pm_getmaps.c: Likewise.
33916         * sunrpc/pm_getport.c: Likewise.
33917         * sunrpc/pmap_clnt.c: Likewise.
33918         * sunrpc/pmap_prot.c: Likewise.
33919         * sunrpc/pmap_prot2.c: Likewise.
33920         * sunrpc/pmap_rmt.c: Likewise.
33921         * sunrpc/rpc/auth.h: Likewise.
33922         * sunrpc/rpc/auth_unix.h: Likewise.
33923         * sunrpc/rpc/clnt.h: Likewise.
33924         * sunrpc/rpc/des_crypt.h: Likewise.
33925         * sunrpc/rpc/key_prot.h: Likewise.
33926         * sunrpc/rpc/netdb.h: Likewise.
33927         * sunrpc/rpc/pmap_clnt.h: Likewise.
33928         * sunrpc/rpc/pmap_prot.h: Likewise.
33929         * sunrpc/rpc/pmap_rmt.h: Likewise.
33930         * sunrpc/rpc/rpc.h: Likewise.
33931         * sunrpc/rpc/rpc_des.h: Likewise.
33932         * sunrpc/rpc/rpc_msg.h: Likewise.
33933         * sunrpc/rpc/svc.h: Likewise.
33934         * sunrpc/rpc/svc_auth.h: Likewise.
33935         * sunrpc/rpc/types.h: Likewise.
33936         * sunrpc/rpc/xdr.h: Likewise.
33937         * sunrpc/rpc_clntout.c: Likewise.
33938         * sunrpc/rpc_cmsg.c: Likewise.
33939         * sunrpc/rpc_common.c: Likewise.
33940         * sunrpc/rpc_cout.c: Likewise.
33941         * sunrpc/rpc_dtable.c: Likewise.
33942         * sunrpc/rpc_hout.c: Likewise.
33943         * sunrpc/rpc_main.c: Likewise.
33944         * sunrpc/rpc_parse.c: Likewise.
33945         * sunrpc/rpc_parse.h: Likewise.
33946         * sunrpc/rpc_prot.c: Likewise.
33947         * sunrpc/rpc_sample.c: Likewise.
33948         * sunrpc/rpc_scan.c: Likewise.
33949         * sunrpc/rpc_scan.h: Likewise.
33950         * sunrpc/rpc_svcout.c: Likewise.
33951         * sunrpc/rpc_tblout.c: Likewise.
33952         * sunrpc/rpc_util.c: Likewise.
33953         * sunrpc/rpc_util.h: Likewise.
33954         * sunrpc/rpcinfo.c: Likewise.
33955         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33956         * sunrpc/rpcsvc/key_prot.x: Likewise.
33957         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33958         * sunrpc/rpcsvc/mount.x: Likewise.
33959         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33960         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33961         * sunrpc/rpcsvc/rex.x: Likewise.
33962         * sunrpc/rpcsvc/rstat.x: Likewise.
33963         * sunrpc/rpcsvc/rusers.x: Likewise.
33964         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33965         * sunrpc/rpcsvc/spray.x: Likewise.
33966         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33967         * sunrpc/rtime.c: Likewise.
33968         * sunrpc/svc.c: Likewise.
33969         * sunrpc/svc_auth.c: Likewise.
33970         * sunrpc/svc_authux.c: Likewise.
33971         * sunrpc/svc_raw.c: Likewise.
33972         * sunrpc/svc_run.c: Likewise.
33973         * sunrpc/svc_simple.c: Likewise.
33974         * sunrpc/svc_tcp.c: Likewise.
33975         * sunrpc/svc_udp.c: Likewise.
33976         * sunrpc/svc_unix.c: Likewise.
33977         * sunrpc/svcauth_des.c: Likewise.
33978         * sunrpc/xcrypt.c: Likewise.
33979         * sunrpc/xdr.c: Likewise.
33980         * sunrpc/xdr_array.c: Likewise.
33981         * sunrpc/xdr_float.c: Likewise.
33982         * sunrpc/xdr_mem.c: Likewise.
33983         * sunrpc/xdr_rec.c: Likewise.
33984         * sunrpc/xdr_ref.c: Likewise.
33985         * sunrpc/xdr_sizeof.c: Likewise.
33986         * sunrpc/xdr_stdio.c: Likewise.
33988         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33989         handling.
33991 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33993         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33995 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33997         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33998         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33999         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34000         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34001         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34002         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34003         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34004         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34005         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34006         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34007         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34008         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34009         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34010         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34012 2010-07-26  Anton Blanchard  <anton@samba.org>
34014         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34015         * malloc/arena.c (heap_trim): Likewise.
34017 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34019         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34020         here.  Not...
34021         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34022         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34024 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34026         * sysdeps/i386/elf/Makefile: New file.
34028 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34030         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34031         from fanotify_init.
34032         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34033         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34035 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34037         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34038         of strncasecmp_l.
34039         * sysdeps/multiarch/strcmp.S: Likewise.
34041 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34043         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34044         strncase_l-nonascii.
34045         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34046         Add strncase_l-ssse3.
34047         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34048         * sysdeps/x86_64/strcmp.S: Likewise.
34049         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34050         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34051         * sysdeps/x86_64/strncase.S: New file.
34052         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34053         * sysdeps/x86_64/strncase_l.S: New file.
34054         * string/Makefile (strop-tests): Add strncasecmp.
34055         * string/test-strncasecmp.c: New file.
34057         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34058         warning.
34060         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34061         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34063 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34065         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34067 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34069         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34070         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34071         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34073 2010-05-01  Alan Modra  <amodra@gmail.com>
34075         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34076         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34077         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34078         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34079         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34080         tidying.  Don't tail-call __sigjmp_save for static lib.
34081         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34082         save location.
34083         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34084         (CALL_MCOUNT): Add eh info, and nop after bl.
34085         (TAIL_CALL_SYSCALL_ERROR): New macro.
34086         (PSEUDO_RET): Use it.
34087         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34088         Correct save location of integer regs and cr.
34089         (_dl_profile_resolve): Correct cr save location.  Delete nops
34090         after bl when SHARED.  Reduce cfi size a little by better
34091         placement of cfi directives.
34092         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34093         make a stack frame.  Instead use parm save area as a temp.
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34095         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34097         Don't make a stack frame for parent, use parm save area.
34098         Increase child stack frame to 112 bytes.  Don't save unused reg,
34099         and adjust reg usage.  Set up cfi on error recovery and
34100         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34102         (__makecontext): Add dummy nop after jump to exit.
34103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34104         Use correct parm save area and cr save, reduce stack frame.
34105         Correct cfi for possible PSEUDO_RET frame setup.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34107         Branch to local label emitted by PSEUDO_RET rather than
34108         __syscall_error.
34110 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34112         [BZ #11904]
34113         * locale/programs/locale.c (print_assignment): New function.
34114         (show_locale_vars): Use it.
34116 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34118         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34119         field.
34120         (struct statfs64): Likewise.
34121         (_STATFS_F_FLAGS): Define.
34122         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34123         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34124         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34125         (ST_VALID): Define locally.
34126         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34127         __statvfs_getflags, use the provided value.
34128         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34129         __ASSUME_STATFS_F_FLAGS.
34131         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34133         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34134         Add sys/fanotify.h.
34135         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34136         fanotify_mask for GLIBC_2.13.
34137         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34138         fanotify_init and fanotify_mark.
34139         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34140         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34142         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34143         Add prlimit.
34144         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34145         prlimit64 for GLIBC_2.13.
34146         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34147         prlimit64.
34148         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34149         syscall.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34151         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34152         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34153         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34155         add prlimit alias.
34156         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34158         [BZ #11903]
34159         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34160         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34162         * nss/Makefile: Add rules to build and run tst-nss-test1.
34163         * shlib-versions: Add entry for libnss_test1.
34164         * nss/nss_test1.c: New file.
34165         * nss/tst-nss-test1.c: New file.
34167         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34168         (__nss_configure_lookup): Set appropriate entry in
34169         __nss_configure_lookup to true.
34170         * nss/nsswitch.h: Define enum with indeces of databases in
34171         databases and __nss_database_custom arrays.  Declare
34172         __nss_database_custom.
34173         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34174         to avoid using nscd when custom rules are installed.
34175         * nss/getXXbyYY_r.c: Likewise.
34176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34178         * nss/nss_files/files-parse.c: Whitespace fixes.
34180 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34182         [BZ #11883]
34183         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34184         * posix/fnmatch_loop.c: Likewise.
34186 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34188         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34189         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34190         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34191         * Versions.def [GLIBC_2.13]: Add.
34193 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34195         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34196         Also fail if tpwd after pwuid call is NULL.
34198 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34200         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34201         when converting to ms.
34203 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34205         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34206         EOPNOTSUPP errors with ENOTTY.
34207         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34208         EOPNOTSUPP errors with ENOTTY.
34210 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34212         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34213         Add strcasecmp_l-ssse3.
34214         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34215         strcasecmp.
34216         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34217         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34218         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34220 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34222         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34224         * string/Makefile (strop-tests): Add strcasecmp.
34225         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34226         strcasecmp_l-nonascii.
34227         (gen-as-const-headers): Add locale-defines.sym.
34228         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34229         * sysdeps/x86_64/strcasecmp.S: New file.
34230         * sysdeps/x86_64/strcasecmp_l.S: New file.
34231         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34232         * sysdeps/x86_64/locale-defines.sym: New file.
34233         * string/test-strcasecmp.c: New file.
34235         * string/test-strcasestr.c: Test both ends of the range of characters.
34236         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34238 2010-07-29  Roland McGrath  <roland@redhat.com>
34240         [BZ #11856]
34241         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34243 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34245         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34246         for ld.so.
34248 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34250         * manual/memory.texi (Malloc Tunable Parameters): Document
34251         M_PERTURB.
34253 2010-07-26  Roland McGrath  <roland@redhat.com>
34255         [BZ #11840]
34256         * configure.in (-fgnu89-inline check): Set and substitute
34257         gnu89_inline, not libc_cv_gnu89_inline.
34258         * configure: Regenerated.
34259         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34261 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34263         * string/test-strnlen.c: New file.
34264         * string/Makefile (strop-tests): Add strnlen.
34265         * string/tester.c (test_strnlen): Add a few more test cases.
34266         * string/tst-strlen.c: Better error reporting.
34268         * sysdeps/x86_64/strnlen.S: New file.
34270 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34272         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34273         lower-latency instructions.
34275 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34277         * string/test-strcasestr.c: New file.
34278         * string/test-strstr.c: New file.
34279         * string/Makefile (strop-tests): Add strstr and strcasestr.
34280         * string/str-two-way.h: Don't undefine MAX.
34281         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34283 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34285         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34286         strcasestr-nonascii.
34287         (CFLAGS-strcasestr-nonascii.c): Define.
34288         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34289         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34290         Remove unused attribute.
34292 2010-07-20  Roland McGrath  <roland@redhat.com>
34294         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34295         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34296         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34297         like LD_HWCAP_MASK can disable hwcaps.
34299 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34301         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34303 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34305         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34306         call in strcasestr.
34307         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34308         __strcasestr_sse42_nonascii.
34309         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34310         strcasestr-nonascii.c.
34311         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34313 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34315         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34316         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34317         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34318         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34320 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34322         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34323         fcntl.
34325 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34327         [BZ #11577]
34328         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34329         dl_signal_cerror.
34331 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34333         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34334         _PC_PIPE_BUF using F_GETPIPE_SZ.
34336 2010-07-05  Roland McGrath  <roland@redhat.com>
34338         * manual/arith.texi (Rounding Functions): Fix rint description
34339         implicit in round description.
34341 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34343         * elf/Makefile: Fix linking for a few tests to make recent linker
34344         happy.
34346 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34348         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34349         $(common-objpfx)libc_nonshared.a.
34351 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34353         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34354         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34355         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34356         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34357         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34358         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34359         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34360         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34375         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34376         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34377         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34378         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34379         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34380         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34381         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34382         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34383         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34384         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34385         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34386         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34402 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34404         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34405         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34406         * string/memmove.c (memmove): Renamed to ...
34407         (MEMMOVE): ...this.  Default to memmove.
34408         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34409         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34410         (END_CHK): Define.
34411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34412         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34413         mempcpy-ssse3-back memmove-ssse3-back.
34414         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34415         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34416         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34417         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34418         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34419         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34420         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34421         * sysdeps/x86_64/multiarch/memmove.c: New file.
34422         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34423         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34424         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34425         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34426         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34427         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34428         Define.
34429         (index_Fast_Copy_Backward): Define.
34430         (HAS_ARCH_FEATURE): Define.
34431         (HAS_FAST_REP_STRING): Define.
34432         (HAS_FAST_COPY_BACKWARD): Define.
34434 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34437         Restore proper fallback handling.
34439 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34441         [BZ #11701]
34442         * posix/group_member.c (__group_member): Correct checking loop.
34444         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34445         OOM in getpwuid_r correctly.  Return error number when the caller
34446         should return, otherwise -1.
34447         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34448         call returning > 0 value.
34449         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34451 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34453         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34454         libc_nonshared.a from targets in modules-names.
34456 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34458         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34459         requires it.
34461 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34463         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34464         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34468 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34470         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34472 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34474         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34475         and F_GETPIPE_SZ.
34476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34477         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34478         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34479         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34480         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34481         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34483 2010-06-14  Roland McGrath  <roland@redhat.com>
34485         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34487 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34489         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34490         __REDIRECT followed by __THROW.
34491         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34492         * posix/getopt.h (getopt): Likewise.
34494 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34496         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34497         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34498         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34499         in AT_FLAGS.
34500         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34501         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34503 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34505         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34507 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34509         [BZ #11640]
34510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34511         Properly check family and model.
34513 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34515         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34517 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34519         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34521 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34523         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34524         symbol reference.
34526 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34528         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34529         symbol reference.
34531 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34533         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34534         and internal_recvmmsg.
34535         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34536         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34537         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34538         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34540         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34541         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34542         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34544 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34546         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34548 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34550         POWER7 optimizations.
34551         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34552         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34554 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34556         * version.h: Update for 2.13 development version.
34558 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34560         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34561         exceptions.  Return 0.
34563 2010-05-07  Roland McGrath  <roland@redhat.com>
34565         * elf/ldconfig.c (main): Add a const.
34567 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34569         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34570         (args_options): Add no-idn option.
34571         (ahosts_keys_int): Add idn_flags to ai_flags.
34572         (parse_option): Handle 'i' option to clear idn_flags.
34574         * malloc/malloc.c (_int_free): Possible race in the most recently
34575         added check.  Only act on the data if no current modification
34576         happened.
34578 See ChangeLog.17 for earlier changes.