PowerPC: multiarch modf/modff for PowerPC64
[glibc.git] / ChangeLog
blobe44199c6dfab3951fedba8b1d0f1bb0cb7286690
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4         modff multiarch implementations.
5         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8         multiarch modf for PPC64.
9         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12         multiarch modff for PPC64.
14 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17         and logl multiarch implementations.
18         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21         multiarch logb for PPC64.
22         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25         multiarch logb for PPC64.
26         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29         multiarch logb for PPC64.
31 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34         isinff multiarch implementation.
35         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36         file.
37         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39         multiarch isinf for PPC64.
40         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41         file.
42         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43         multiarch isinff for PPC64.
45 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48         finitef multiarch implementation.
49         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50         file.
51         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53         multiarch finite for PPC64.
54         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55         file.
56         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57         multiarch finitef for PPC64.
59 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
62         lrint multiarch implementation.
63         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
64         file.
65         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
66         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
67         multiarch llrint for PPC64.
68         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
69         multiarch lrint for PPC64.
71 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
74         copysignf multiarch implementation.
75         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
76         file.
77         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
78         file.
79         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
80         multiarch copysign for PPC64.
81         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
82         multiarch copysignf for PPC64.
84 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
87         multiarch implementation.
88         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
89         file.
90         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
91         file.
92         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
93         file.
94         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
95         file.
96         multiarch llround for PPC64.
97         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
98         multiarch trunc for PPC64.
99         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
100         multiarch truncf for PPC64.
102 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
104         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
105         multiarch implementation.
106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
107         file.
108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
109         file.
110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
111         file.
112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
113         file.
114         multiarch llround for PPC64.
115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
116         multiarch round for PPC64.
117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
118         multiarch roundf for PPC64.
120 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
123         multiarch implementation.
124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
125         file.
126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
127         file.
128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
129         file.
130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
131         file.
132         multiarch llround for PPC64.
133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
134         multiarch floor for PPC64.
135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
136         multiarch floorf for PPC64.
138 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
141         multiarch implementation.
142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
143         file.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
145         file.
146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
147         file.
148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
149         file.
150         multiarch llround for PPC64.
151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
152         multiarch ceil for PPC64.
153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
154         multiarch ceilf for PPC64.
156 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
159         multiarch implementation.
160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
161         file.
162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
163         file.
164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
165         file.
166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
167         multiarch llround for PPC64.
168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
169         multiarch lround for PPC64.
171 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
174         multiarch implementation.
175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
178         file.
179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
182         multiarch isnan for PPC64.
183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
184         multiarch isnanf for PPC64.
186 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
188         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
189         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
190         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
191         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
192         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
197         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
198         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
199         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
202 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
205         multiarch implementations.
206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
207         (__libc_ifunc_impl_list): Likewise.
208         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
209         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
210         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
211         multiarch stpcpy for PPC64.
213 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
216         multiarch implementations.
217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
218         (__libc_ifunc_impl_list): Likewise.
219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
221         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
222         multiarch strcpy for PPC64.
224 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
226         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
227         redefine function name.
228         (_wordcopy_fwd_dest_aligned): Likewise.
229         (_wordcopy_bwd_aligned): Likewise.
230         (_wordcopy_bwd_dest_aligned): Likewise.
231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
232         multiarch implementations.
233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
234         (__libc_ifunc_impl_list): Likewise.
235         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
236         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
237         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
238         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
239         multiarch wcscpy for PPC64.
241 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
244         multiarch implementations.
245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
246         (__libc_ifunc_impl_list): Likewise.
247         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
248         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
249         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
250         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
251         multiarch wcscpy for PPC64.
253 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
256         multiarch implementations.
257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
258         (__libc_ifunc_impl_list): Likewise.
259         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
260         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
261         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
262         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
263         multiarch wcsrchr for PPC64.
265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
268         multiarch implementations.
269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
270         (__libc_ifunc_impl_list): Likewise.
271         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
272         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
273         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
274         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
275         multiarch wcschr for PPC64.
277 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
280         multiarch implementations.
281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
282         (__libc_ifunc_impl_list): Likewise.
283         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
284         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
285         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
286         multiarch strchrnul for PPC64.
288 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
291         implementations.
292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
293         (__libc_ifunc_impl_list): Likewise.
294         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
295         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
296         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
297         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
298         strchr for PPC64.
300 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
303         implementations.
304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
305         (__libc_ifunc_impl_list): Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
307         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
308         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
309         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
310         strncmp for PPC64.
312 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
315         multiarch implementations.
316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
317         (__libc_ifunc_impl_list): Likewise.
318         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
319         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
320         strncasecmp for PPC64.
321         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
322         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
323         multiarch strncasecmp_l for PPC64.
325 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
328         multiarch implementations.
329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
330         (__libc_ifunc_impl_list): Likewise.
331         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
333         multiarch strcasecmp for PPC64.
334         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
335         file.
336         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
337         multiarch strcasecmp_l for PPC64.
339 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
342         implementations.
343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
344         (__libc_ifunc_impl_list): Likewise.
345         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
346         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
347         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
348         strnlen for PPC64.
350 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
353         implementations.
354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
355         (__libc_ifunc_impl_list): Likewise.
356         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
357         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
358         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
359         strlen for PPC64.
361 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
364         implementations.
365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
366         (__libc_ifunc_impl_list): Likewise.
367         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
368         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
369         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
370         rawmemrchr for PPC64.
372 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
375         implementation.
376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
377         (__libc_ifunc_impl_list): Likewise.
378         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
379         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
380         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
381         memrchr for PPC64.
383 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
386         implementation.
387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
388         (__libc_ifunc_impl_list): Likewise.
389         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
390         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
391         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
392         memchr for PPC64.
394 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
397         implementation.
398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
399         (__libc_ifunc_impl_list): Likewise.
400         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
401         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
402         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
403         mempcpy for PPC64.
405 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
407         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
408         avoid cretion of __bzero symbol.
409         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
410         Likewise.
411         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
412         Likewise.
413         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
414         Likewise.
415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
416         multiarch implementations.
417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
418         (__libc_ifunc_impl_list): Likewise.
419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
421         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
422         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
423         bzero for PPC32.
424         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
425         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
426         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
427         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
428         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
429         memset for PPC64.
430         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
432 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
434         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
436         implementations.
437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
438         (__libc_ifunc_impl_list): Likewise.
439         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
440         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
441         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
442         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
443         memcmp for PPC64.
445 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
448         multiarch for POWER/PPC64.
449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
450         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
452         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
453         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
454         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
455         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
456         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
457         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
458         memcpy for PPC64.
460 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
462         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
463         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
464         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
465         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
466         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
467         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
468         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
469         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
470         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
471         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
472         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
473         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
474         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
475         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
476         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
485 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
487         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
489 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
491         * benchtests/Makefile (bench): Add exp2 and log2.
492         (LDLIBS-bench-exp2): Add -lm.
493         (LDLIBS-bench-log2): Likewise.
494         * benchtests/exp2-inputs: New inputs file.
495         * benchtests/log2-inputs: New inputs file.
496         * benchtests/log-inputs: Add new inputs.
497         * benchtests/tan-inputs: Likewise.
499 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
501         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
502         definition...
503         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
504         csloww1, csloww2): ... from here.
506         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
507         instead of structures.
508         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
509         (POLYNOMIAL): Likewise.
510         (TAYLOR_SLOW): Likewise.
511         (__sin): Likewise.
512         (__cos): Likewise.
513         (slow1): Likewise.
514         (slow2): Likewise.
515         (sloww): Likewise.
516         (sloww1); Likewise.
517         (sloww2): Likewise.
518         (bsloww1): Likewise.
519         (bsloww2): Likewise.
520         (cslow2): Likewise.
521         (csloww): Likewise.
522         (csloww1): Likewise.
523         (csloww2): Likewise.
525 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
527         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
528         (__malloc_assert, __libc_realloc, __libc_calloc,
529         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
530         memcpy and memset.
531         * malloc/hooks.c (realloc_check): Likewise.
533 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
535         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
536         * malloc/arena.c: Remove PER_THREAD conditional.
537         [!PER_THREAD]: Remove code.
538         (ptmalloc_unlock_all2): Likewise.
539         (ptmalloc_init): Likewise.
540         (_int_new_arena): Likewise.
541         (arena_get2): Likewise.
542         * malloc/hooks.c (__malloc_get_state): Likewise.
543         (__malloc_set_state): Likewise.
544         * malloc/malloc.c: Likewise.
545         (struct malloc_state): Likewise.
546         (struct malloc_par): Likewise.
547         (__libc_realloc): Likewise.
548         (__libc_mallopt): Likewise.
550 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
552         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
554 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
556         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
557         macro to a function.  Check for zero perturb_byte.
558         (_int_malloc, _int_free): Remove zero perturb_byte checks.
560 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
562         * malloc/malloc.c: (force_reg): Remove.
563         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
564         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
565         force_reg by atomic_forced_read.
566         * malloc/arena.c (ptmalloc_init): Likewise.
567         * malloc/hooks.c (top_check): Likewise.
569 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
573 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
577 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
579         * math/auto-libm-test-in: Add tests of lgamma.
580         * math/auto-libm-test-out: Regenerated.
581         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
582         (M_LOG_2_SQRT_PIl): Likewise.
583         (lgamma_test_data): Use AUTO_TESTS_f_f1.
584         * math/gen-auto-libm-tests.c (func_calc_method): Add value
585         mpfr_f_f1.
586         (func_calc_desc): Add mpfr_f_f1 union field.
587         (ARGS1): New macro.
588         (ARGS2): Likewise.
589         (ARGS3): Likewise.
590         (ARGS4): Likewise.
591         (RET1): Likewise.
592         (RET2): Likewise.
593         (CALC): Likewise.
594         (FUNC): Likewise.
595         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
596         (test_functions): Add lgamma.
597         (calc_generic_results): Handle mpfr_f_f1.
598         * sysdeps/i386/fpu/libm-test-ulps: Update.
599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
603         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
604         __mpn_add_n for PowerPC64/POWER7.
605         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
606         __mpn_sub_n for PowerPC64/POWER7.
608 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
610         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
611         __mpn_addmul_1 for PowerPC64.
612         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
613         __mpn_submul_1 for PowerPC64.
614         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
615         for PowerPC64.
616         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
617         for PowerPC64.
619 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
621         [BZ #15089]
622         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
624 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
626         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
628 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
630         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
631         add multiarch folders.
632         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
633         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
634         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
635         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
636         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
637         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
638         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
639         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
640         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
641         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
642         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
650 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
653         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
655         New file.
656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
657         New file.
658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
659         multiarch __ieee754_hypot for PowerPC32.
660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
661         New file.
662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
663         New file.
664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
665         multiarch __ieee754_hypotf for PowerPC32.
667 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
670         long_double_symbol only if __logbl is defined.
671         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
672         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
674         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
676         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
677         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
678         path for implementation.
679         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
680         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
682         logb, and logbl multiarch implementations for PowerPC32.
683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
684         file.
685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
686         file.
687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
688         multiarch logb for PowerPC32.
689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
690         file.
691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
692         file.
693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
694         multiarch logbf for PowerPC32.
695         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
697         file.
698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
699         multiarch logbl implementation for PowerPC32.
701 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
704         and modff multiarch implementations.
705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
706         New file.
707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
708         New file.
709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
710         multiarch modf for PowerPC32.
711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
712         New file.
713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
714         New file.
715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
716         multiarch modff for PowerPC32.
718 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
721         and lrintf multiarch implementations.
722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
723         New file.
724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
725         New file.
726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
727         multiarch lrint for PowerPC32.
728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
729         file: multiarch lrintf for PowerPC32.
731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
734         and lroundf multiarch implementations.
735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
736         New file.
737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
738         New file.
739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
740         New file.
741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
742         multiarch lround for PowerPC32.
743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
744         file: multiarch lroundf for PowerPC32.
746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
749         copysign and copysignf multiarch implementations.
750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
751         New file.
752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
753         New file.
754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
755         file: multiarch copysign for PowerPC32.
756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
757         file: multiarch copysignf for PowerPC32.
759 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
762         and truncf multiarch implementations.
763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
764         New file.
765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
766         file.
767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
768         multiarch trunc for PowerPC32.
769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
770         New file.
771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
772         New file.
773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
774         multiarch truncf for PowerPC32.
776 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
779         and roundf multiarch implementations.
780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
781         New file.
782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
783         file.
784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
785         multiarch round for PowerPC32.
786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
787         New file.
788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
789         New file.
790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
791         multiarch roundf for PowerPC32.
793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
796         and floorf multiarch implementations.
797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
798         New file.
799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
800         file.
801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
802         multiarch floor for PowerPC32.
803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
804         New file.
805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
806         New file.
807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
808         multiarch floorf for PowerPC32.
810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
813         and ceilf multiarch implementations.
814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
815         New file.
816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
817         file.
818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
819         multiarch ceil for PowerPC32.
820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
821         New file.
822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
823         file.
824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
825         multiarch ceilf for PowerPC32.
827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
829         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
830         is defined.
831         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
832         FINITEF is defined.
833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
834         and finitef multiarch implementations.
835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
836         New file.
837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
838         file.
839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
840         multiarch finite for PowerPC32.
841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
842         New file.
843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
844         file: multiarch finitef for PowerPC32.
846 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
849         and isinff multiarch implementations.
850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
851         file.
852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
853         file.
854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
855         multiarch isinf for PowerPC32.
856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
857         New file.
858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
859         multiarch isinff for PowerPC32.
861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
864         alias when __isnan is defined.
865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
866         and isnanf multiarch implementations.
867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
868         file.
869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
870         file.
871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
872         file.
873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
874         file.
875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
876         multiarch isnan for PowerPC32.
877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
878         New file.
879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
880         New file.
881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
882         multiarch isnanf for PowerPC32.
884 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
887         and sqrtf multiarch implementations.
888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
889         file.
890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
891         file.
892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
893         multiarch sqrt for PowerPC32.
894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
895         file.
896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
897         file.
898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
899         multiarch sqrtf for PowerPC32.
901 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
904         and llroundf multiarch implementations.
905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
906         New file.
907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
908         New file.
909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
910         New file.
911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
912         file: multiarch llround for PowerPC32.
913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
914         file: multiarch llroundf for PowerPC32.
916 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
919         multiarch PowerPC32 fpu implementations.
920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
921         New file.
922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
923         New file.
924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
925         multiarch llrint for PowerPC32.
926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
927         New file.
928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
929         New file.
930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
931         file.
933 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
939         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
940         file.
941         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
942         file.
943         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
944         file.
945         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
946         multiarch wordcopy for PPC32.
947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
948         wordcopy objects.
949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
950         (__libc_ifunc_impl_list): Likewise.
951         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
952         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
953         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
954         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
955         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
956         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
958 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
960         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
962         file.
963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
964         file.
965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
966         file.
967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
968         multiarch wcscpy for PPC32.
969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
970         multiarch objects.
971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
972         (__libc_ifunc_impl_list): Likewise.
973         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
974         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
975         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
976         sysdeps/powerpc/power6/wcscpy.c.
978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
980         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
982         file.
983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
984         file.
985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
986         file.
987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
988         multiarch wcsrchr for PPC32.
989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
990         multiarch objects.
991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
992         (__libc_ifunc_impl_list): Likewise.
993         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
994         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
995         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
996         sysdeps/powerpc/power6/wcsrchr.c.
998 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1001         file.
1002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1003         file.
1004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1006         multiarch wcschr for PPc32.
1007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1008         multiarch objects.
1009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1010         (__libc_ifunc_impl_list): Likewise.
1011         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1012         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1013         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1014         sysdeps/powerpc/power6/wcschr.c.
1016 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1018         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1019         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1020         file.
1021         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1022         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1023         file: multiarch strchr for PPC32.
1024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1025         multiarch objects.
1026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1027         (__libc_ifunc_impl_list): Likewise.
1029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1031         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1032         name.
1033         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1034         file.
1035         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1036         file.
1037         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1038         multiarch strchrnul for PPC32.
1039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1040         multiarch objects.
1041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1042         (__libc_ifunc_impl_list): Likewise.
1044 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1047         file.
1048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1049         multiarch strncasecmp for PPC32.
1050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1051         file.
1052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1053         multiarch strncasecmp_l for PPC32.
1054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1055         strncasecmp multiarch objects.
1056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1057         (__libc_ifunc_impl_list): Likewise.
1059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1062         file.
1063         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1064         multiarch strncasecmp for PPC32.
1065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1066         New file.
1067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1068         multiarch strcasecmp_l for PPC32.
1069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1070         multiarch objects.
1071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1072         (__libc_ifunc_impl_list): Likewise.
1074 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1076         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1077         file.
1078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1079         file.
1080         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1081         multiarch strncmp for PPC32.
1082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1083         multiarch objects.
1084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1085         (__libc_ifunc_impl_list): Likewise.
1087 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1089         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1090         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1091         file.
1092         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1095         multiarch objects.
1096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1097         (__libc_ifunc_impl_list): Likewise.
1099 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1101         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1102         file.
1103         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1104         file.
1105         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1107         multiarch objects.
1108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1109         (__libc_ifunc_impl_list): Likewise.
1111 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1113         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1114         file.
1115         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1116         file.
1117         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1118         multiarch rawmemchr for PPC32.
1119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1120         multiarch objects.
1121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1122         (__libc_ifunc_impl_list): Likewise.
1124 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1126         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1127         file.
1128         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1129         file.
1130         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1131         file: memrchr multiarch for PPC32.
1132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1133         multiarch objects.
1134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1135         (__libc_ifunc_impl_list): Likewise.
1137 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1139         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1140         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1141         file.
1142         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1144         multiarch memchr for PPC32.
1145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1146         multiarch objects.
1147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1148         (__libc_ifunc_impl_list): Likewise.
1150 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1152         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1154         file.
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1156         file.
1157         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1158         file: multiarch mempcpy for PPC32.
1159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1160         multiarch objects.
1161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1162         (__libc_ifunc_impl_list): Likewise.
1164 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1168         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1170         multiarch bzero for PPC32.
1171         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1172         file.
1173         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1174         file.
1175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1176         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1177         file: multiarch memset for PPC32.
1178         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1180         memset multiarch objects.
1181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1182         (__libc_ifunc_impl_list): Likewise.
1184 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1187         file.
1188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1190         memcmp for PPC32.
1191         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1193         multiarch objects.
1194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1195         (__libc_ifunc_impl_list): Likewise.
1197 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1202         file.
1203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1204         file.
1205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1206         file.
1207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1208         multiarch memcpy for PPC32.
1209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1210         multiarch objects.
1211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1212         (__libc_ifunc_impl_list): Likewise.
1214 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1217         support multiarch for POWER/PPC32.
1218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1219         Likewise.
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1222         Implies file to make multiarch folder appers before the fpu and
1223         default folder for power4 configuration.
1225 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1227         * scripts/bench.pl: Append volatile keyword to type.
1229 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1231         * sysdeps/sh/sotruss-lib.c: New file.
1232         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1234 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1238 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1240         [BZ #6810]
1241         * math/w_tgamma.c: Include <errno.h>.
1242         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1243         * math/w_tgammaf.c: Include <errno.h>.
1244         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1245         * math/w_tgammal.c: Include <errno.h>.
1246         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1247         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1248         underflow.  Add more tgamma tests.
1249         * math/auto-libm-test-out: Regenerated.
1250         * sysdeps/i386/fpu/libm-test-ulps: Update.
1251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1253         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1254         sin, sinh, tan, tanh, tgamma, y0 and y1.
1255         * math/auto-libm-test-out: Regenerated.
1256         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1257         (TEST_COND_x86): Likewise.
1258         (M_E2l): Remove macro.
1259         (M_E3l): Likewise.
1260         (M_2_SQRT_PIl): Likewise.
1261         (M_SQRT_PIl): Likewise.
1262         (M_1_DIV_El): Likewise.
1263         (log_test_data): Use AUTO_TESTS_f_f.
1264         (log10_test_data): Likewise.
1265         (log1p_test_data): Likewise.
1266         (log2_test_data): Likewise.
1267         (sin_test_data): Likewise.
1268         (sin_tonearest_test_data): Likewise.
1269         (sin_towardzero_test_data): Likewise.
1270         (sin_downward_test_data): Likewise.
1271         (sin_upward_test_data): Likewise.
1272         (sinh_test_data): Likewise.
1273         (sinh_tonearest_test_data): Likewise.
1274         (sinh_towardzero_test_data): Likewise.
1275         (sinh_downward_test_data): Likewise.
1276         (sinh_upward_test_data): Likewise.
1277         (tan_test_data): Likewise.
1278         (tan_tonearest_test_data): Likewise.
1279         (tan_towardzero_test_data): Likewise.
1280         (tan_downward_test_data): Likewise.
1281         (tan_upward_test_data): Likewise.
1282         (tanh_test_data): Likewise.
1283         (tgamma_test_data): Likewise.
1284         (y0_test_data): Likewise.
1285         (y1_test_data): Likewise.
1286         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1287         (special_real_inputs): Add pi/4.
1288         * sysdeps/i386/fpu/libm-test-ulps: Update.
1289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1291 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1293         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1294         "longjmp_target" static probes.
1295         (__longjmp): Rename to __longjmp_symbol.
1296         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1297         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1298         on which longjmp to generate.
1299         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1300         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1301         probe.
1302         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1303         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1304         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1305         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1306         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1307         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1309         __longjmp_symbol based on which __longjmp to generate.
1310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1311         probe.
1312         (setjmp): Rename to setjmp_symbol.
1313         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1314         (_setjmp): Rename to _setjmp_symbol.
1315         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1316         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1317         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1318         which setjmp to generate.
1319         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1320         "longjmp_target" static probes.
1322 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1324         * benchtests/README: Add note about output arguments.
1325         * benchtests/bench-sincos.c: Remove file.
1326         * benchtests/sincos-inputs: New file.
1327         * scripts/bench.pl: Identify output arguments and define
1328         static variables for them.
1330         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1332         [BZ #15941]
1333         * Makefile (INSTALL): Add install-plain.texi as the primary
1334         dependency.
1335         * manual/install-plain.texi: New file.
1336         * manual/install.texi: Include node directive only for
1337         non-plaintext output.
1339 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1341         * stdlib/longlong.h: Update from GCC.
1343         [BZ #6807]
1344         [BZ #15901]
1345         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1346         * math/w_j0f.c (y0f): Likewise.
1347         * math/w_j0l.c (__y0l): Likewise.
1348         * math/w_j1.c (y1): Likewise.
1349         * math/w_j1f.c (y1f): Likewise.
1350         * math/w_j1l.c (__y1l): Likewise
1351         * math/w_jn.c (yn): Likewise.
1352         * math/w_jnf.c (ynf): Likewise.
1353         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1354         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1355         value for Bessel function domain errors outside _SVID_ mode.
1356         Adjust sign of return value for yn (negative integer, 0).
1357         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1358         by zero in return for negative x and set sign appropriately for
1359         negative n.
1360         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1361         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1362         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1363         expectations in error cases.
1364         (y1_test_data): Likewise.
1365         (yn_test_data): Likewise.
1366         * sysdeps/i386/fpu/libm-test-ulps: Update.
1367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1371         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1372         "64" to "64-v1".  Add "64-v2".
1373         (abi-64-options): Rename to ...
1374         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1375         (abi-64-condition): Rename to ...
1376         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1377         (abi-64-ld-soname): Rename to ...
1378         (abi-64-v1-ld-soname): ... this.
1379         (abi-64-v2-options): Define.
1380         (abi-64-v2-condition): Likewise.
1381         (abi-64-v2-ld-soname): Likewise.
1382         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1383         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1388 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1389             Alan Modra  <amodra@gmail.com>
1391         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1392         New versions for use with the ELFv2 ABI.
1393         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1394         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1395         declaration.
1396         (struct La_ppc64v2_retval): Likewise.
1397         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1398         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1399         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1400         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1401         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1402         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1403         Do not save or restore CR.
1404         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1405         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1406         return values for ELFv2 ABI.  Fix location of FPR return registers.
1407         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1408         updated values for _CALL_ELF == 2.
1409         (La_regs, La_retval, int_retval): Likewise.
1411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1413         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1414         (FRAME_MIN_SIZE_PARM): Likewise.
1415         (FRAME_BACKCHAIN): Likewise.
1416         (FRAME_CR_SAVE): Likewise.
1417         (FRAME_LR_SAVE): Likewise.
1418         (FRAME_TOC_SAVE): Likewise.
1419         (FRAME_PARM_SAVE): Likewise.
1420         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1421         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1422         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1423         (call_mcount_parm_offset): New macro.
1424         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1425         (PROF): Use symbolic stack frame offsets.
1426         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1427         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1428         Redefine in terms of FRAME_MIN_SIZE.
1429         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1430         (_dl_profile_resolve): Likewise.  Update comment.
1431         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1432         symbols stack frame offsets.
1433         (__sigsetjmp): Likewise.
1434         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1435         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1436         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1437         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1440         (FRAME_BACKCHAIN): Remove.
1441         (FRAME_CR_SAVE): Likewise.
1442         (FRAME_LR_SAVE): Likewise.
1443         (FRAME_COMPILER_DW): Likewise.
1444         (FRAME_LINKER_DW): Likewise.
1445         (FRAME_TOC_SAVE): Likewise.
1446         (FRAME_PARM_SAVE): Likewise.
1447         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1448         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1449         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1451         (CHECK_SP): Use symbolic stack frame offsets.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1453         zone" instead of caller's parameter save area for temp storage.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1455         Likewise.  Also, use symbolic stack frame offsets.
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1457         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1458         our own stack frame instead of the caller's.
1459         (__socket): Use symbolic stack frame offsets.
1461 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1462             Alan Modra  <amodra@gmail.com>
1464         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1465         Define.
1466         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1467         PPC64_LOCAL_ENTRY_OFFSET): Define.
1468         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1469         New function.
1470         (elf_machine_fixup_plt): Call it.
1471         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1472         reloc arguments.
1473         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1475         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1476         r2 before calling target.
1478 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1479             Alan Modra  <amodra@gmail.com>
1481         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1482         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1483         versions of macros to support ELFv2 ABI.
1484         (LOCALENTRY): New macro.
1485         (ENTRY, EALIGN): Use it.
1486         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1487         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1488         fall through into ENTRY entry point.
1489         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1490         Only define if _CALL_ELF != 2.
1492         (elf_machine_matches_host): Verify ABI version matches.
1493         (RTLD_START): Use LOCALENTRY.
1494         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1495         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1496         (PLT_ENTRY_WORDS): New macro.
1497         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1498         (elf_machine_runtime_setup): Support ELFv2 ABI.
1499         (elf_machine_fixup_plt): Likewise.
1500         (elf_machine_plt_conflict): Likewise.
1501         (resolve_ifunc): Likewise.
1502         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1506         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1508         (makecontext): Support ELFv2 ABI.
1509         * elf/elf.h (EF_PPC64_ABI): Define.
1511 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1513         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1514         New assembler macro.
1515         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1516         [ASSEMBLER] (ENTRY): ... but instead here ...
1517         [ASSEMBLER] (EALIGN): ... and here.
1518         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1519         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1520         [!ASSEMBLER] (ENTRY_2): Use it.
1521         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1522         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1524         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1525         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1527         Use PPC64_LOAD_FUNCPTR.
1529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1531         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1533 2013-12-04  Alan Modra  <amodra@gmail.com>
1535         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1536         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1537         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1538         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1541         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1542         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1543         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1544         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1545         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1550         (__makecontext): Fix incorrect CFI when backtracing out of
1551         context created via makecontext.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1553         (__setcontext): Fix incorrect CFI during switch to new context.
1554         (__novec_setcontext): Likewise.
1556 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1558         [BZ #4772]
1559         * time/strptime_l.c (__strptime_internal): Allow modifiers
1560         in strptime.
1561         * time/tst-strptime.c (day_tests): Add testcase.
1564 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1566         * scripts/bench.pl: Skip over blank lines.
1568 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1570         [BZ #926]
1571         * manual/time.texi (Calendar Time): Clarify what timezone functions
1572         use.
1574 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1578 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1580         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1581         implementation.
1582         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1583         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1584         * debug/memset_chk.c (__memset_chk): Likewise.
1585         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1586         * debug/strncpy_chk.c: Likewise.
1588 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1590         [BZ #15268]
1591         [BZ #15425]
1592         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1593         (__ieee754_exp): For possibly underflowing results, check size of
1594         result and force underflow exception if required.
1595         * math/auto-libm-test-in: Add more tests of exp.
1596         * math/auto-libm-test-out: Regenerated.
1597         * sysdeps/i386/fpu/libm-test-ulps: Update.
1598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1600         [BZ #16283]
1601         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1602         * math/w_exp2f.c (__exp2f): Likewise.
1603         * math/w_exp2l.c (__exp2l): Likewise.
1604         * math/auto-libm-test-in: Do not allow missing errno on exp2
1605         underflow.
1606         * math/auto-libm-test-out: Regenerated.
1608 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1610         [BZ #16274]
1611         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1612         handle filename validation.
1613         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1614         (do_open): Delete.
1616 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1618         [BZ #6786]
1619         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1620         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1621         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1622         <float.h>.
1623         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1624         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1625         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1627         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1628         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1629         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1630         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1631         Add more erfc tests.
1632         * math/auto-libm-test-out: Regenerated.
1633         * sysdeps/i386/fpu/libm-test-ulps: Update.
1634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1636         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1637         exp2, expm1, j0 and j1.
1638         * math/auto-libm-test-out: Regenerated.
1639         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1640         (erfc_test_data): Likewise.
1641         (exp_test_data): Likewise.
1642         (exp_tonearest_test_data): Likewise.
1643         (exp_towardzero_test_data): Likewise.
1644         (exp_downward_test_data): Likewise.
1645         (exp_upward_test_data): Likewise.
1646         (exp10_test_data): Likewise.
1647         (exp2_test_data): Likewise.
1648         (expm1_test_data): Likewise.
1649         (j0_test_data): Likewise.
1650         (j1_test_data): Likewise.
1651         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1652         (input_flag_type): Add flag_xfail_rounding.
1653         (input_flags): Add xfail-rounding.
1654         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1655         (output_for_one_input_case): Handle flag_xfail_rounding.
1656         * sysdeps/i386/fpu/libm-test-ulps: Update.
1657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1659 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1661         [BZ #16289]
1662         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1663         division by 0.
1665 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1667         [BZ #16195]
1668         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1669         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1670         (STAP_PROBE0): New macro.
1671         (STAP_PROBE1): Likewise.
1672         (STAP_PROBE2): Likewise.
1673         (STAP_PROBE3): Likewise.
1674         (STAP_PROBE4): Likewise.
1676 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1678         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1680 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1682         * benchtests/Makefile (bench): Add sqrt.
1683         (LDLIBS-bench-sqrt): New.
1684         * benchtests/sqrt-input: New.
1686 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1688         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1689         (GAIH_EAI): Likewise.
1690         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1691         (gaih_inet): Likewise.
1692         (getaddrinfo): Don't use GAIH_EAI.
1694         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1695         (struct gaih): Remove definition.
1697 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1699         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1700         Use HERRNOP directly.
1702 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1706 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1708         * math/gen-auto-libm-tests.c (test_functions): Add more
1709         single-argument functions.
1710         (special_fill_pi_2): New function.
1711         (special_fill_minus_pi_2): Likewise.
1712         (special_fill_pi_6): Likewise.
1713         (special_fill_minus_pi_6): Likewise.
1714         (special_fill_pi_3): Likewise.
1715         (special_fill_2pi_3): Likewise.
1716         (special_fill_e): Likewise.
1717         (special_fill_1_e): Likewise.
1718         (special_fill_e_minus_1): Likewise.
1719         (special_real_inputs): Add more special inputs.
1720         (output_for_one_input_case): Do not require ERANGE on underflow to
1721         zero if round-to-nearest result does not underflow to zero, unless
1722         exact results required.
1723         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1724         atan, atanh, cbrt, cos and cosh.
1725         * math/auto-libm-test-out: Regenerated.
1726         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1727         (acos_tonearest_test_data): Likewise.
1728         (acos_towardzero_test_data): Likewise.
1729         (acos_downward_test_data): Likewise.
1730         (acos_upward_test_data): Likewise.
1731         (acosh_test_data): Likewise.
1732         (asin_test_data): Likewise.
1733         (asin_tonearest_test_data): Likewise.
1734         (asin_towardzero_test_data): Likewise.
1735         (asin_upward_test_data): Likewise.
1736         (asinh_test_data): Likewise.
1737         (atan_test_data): Likewise.
1738         (atanh_test_data): Likewise.
1739         (cbrt_test_data): Likewise.
1740         (cos_test_data): Likewise.
1741         (cos_tonearest_test_data): Likewise.
1742         (cos_towardzero_test_data): Likewise.
1743         (cos_downward_test_data): Likewise.
1744         (cos_upward_test_data): Likewise.
1745         (cosh_test_data): Likewise.
1746         (cosh_tonearest_test_data): Likewise.
1747         (cosh_towardzero_test_data): Likewise.
1748         (cosh_downward_test_data): Likewise.
1749         (cosh_upward_test_data): Likewise.
1750         * sysdeps/i386/fpu/libm-test-ulps: Update.
1751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1753 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1755         [BZ #6787]
1756         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1757         * math/w_exp10f.c (__exp10f): Likewise.
1758         * math/w_exp10l.c (__exp10l): Likewise.
1759         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1760         errno settings in existing tests.
1762         [BZ #14032]
1763         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1764         precision control set to double precision.
1765         * sysdeps/i386/fpu/w_sqrt.c: New file.
1766         * math/auto-libm-test-in: Add more tests.
1767         * math/auto-libm-test-out: Update.
1769         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1770         (sqrt_test_tonearest): New function.
1771         (sqrt_towardzero_test_data): New variable.
1772         (sqrt_test_towardzero): New function.
1773         (sqrt_downward_test_data): New variable.
1774         (sqrt_test_downward): New function.
1775         (sqrt_upward_test_data): New variable.
1776         (sqrt_test_upward): New function.
1777         (main): Call the new functions.
1779         * math/gen-auto-libm-tests.c: New file.
1780         * math/auto-libm-test-in: Likewise.
1781         * math/auto-libm-test-out: New generated file.
1782         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1783         variables.
1784         (%beautify): Add generated representations of zero.
1785         (top level): Set $auto_input and call parse_auto_input.
1786         (beautify): Remove trailing "f" from hex float constants.
1787         (parse_args): Handle XFAIL_TEST.
1788         (convert_condition): New function.
1789         (or_value): Likewise.
1790         (or_cond_value): Likewise.
1791         (generate_testfile): Handle AUTO_TESTS_* lines.
1792         (parse_auto_input): New function.
1793         * math/libm-test.inc (XFAIL_TEST): New macro.
1794         (ERRNO_UNCHANGED): Update value.
1795         (ERRNO_EDOM): Likewise.
1796         (ERRNO_ERANGE): Likewise.
1797         (IGNORE_RESULT): Likewise.
1798         (TEST_COND_flt_32): New macro.
1799         (TEST_COND_dbl_64): Likewise.
1800         (TEST_COND_ldbl_96_intel): Likewise.
1801         (TEST_COND_ldbl_96_m68k): Likewise.
1802         (TEST_COND_ldbl_128): Likewise.
1803         (TEST_COND_ldbl_128ibm): Likewise.
1804         (TEST_COND_long32): Likewise.
1805         (TEST_COND_long64): Likewise.
1806         (TEST_COND_before_rounding): Likewise.
1807         (TEST_COND_after_rounding): Likewise.
1808         (enable_test): Handle XFAIL_TEST flag.
1809         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1810         with finite results.
1811         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1812         auto-libm-test-out.
1814 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1815             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1817         [BZ #16214]
1818         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1819         __tls_get_addr_internal instead of __tls_get_offset in order to
1820         avoid GOT pointer dependency.  Make rtld export
1821         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1822         __tls_get_addr since we are a __tls_get_offset platform.
1823         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1824         GOT pointer being set up before.
1825         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1827 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1829         * manual/math.texi (Errors in Math Functions): Document accuracy
1830         goals.
1832         [BZ #15004]
1833         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1834         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1835         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1836         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1837         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1838         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1839         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1840         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1841         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1842         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1844         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1845         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1846         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1848         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1850         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1851         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1852         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1853         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1854         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1855         Likewise.
1856         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1857         Likewise.
1858         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1859         Likewise.
1860         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1861         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1862         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1863         atomic-feupdateenv and flt-rounds.
1864         * sysdeps/powerpc/nofpu/Versions (libc): Add
1865         __atomic_feholdexcept, __atomic_feclearexcept,
1866         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1868         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1869         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1870         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1871         here.
1872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1873         Update.
1875         * manual/arith.texi (FP Exceptions): Document that exceptions may
1876         not be raised when matherr is used.
1877         (Math Error Reporting): Document overflow in directed rounding
1878         modes.  Document that errno may not be set when finite values are
1879         returned on overflow.  Document intent to set errno on underflow
1880         only for underflow to zero.
1882         [BZ #16271]
1883         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1884         round-to-nearest then adjust result for other rounding modes.
1885         * include/fenv.h (fegetround): Use libm_hidden_proto.
1886         * math/fegetround.c (fegetround): Use libm_hidden_def.
1887         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1888         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1889         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1890         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1891         Likewise.
1892         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1893         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1894         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1895         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1897 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1899         [BZ #16077]
1900         * nss/Versions (libnss_files): Add
1901         _nss_files_gethostbyname3_r.
1902         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1903         New function.
1904         (HOST_DB_LOOKUP): Remove macro.
1905         (_nss_files_gethostbyname_r): Implement function without the
1906         HOST_DB_LOOKUP macro.
1907         (_nss_files_gethostbyname2_r): Likewise.
1909 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1911         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1913 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1915         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1916         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1917         warning.
1919 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1922         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1923         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1924         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1925         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1926         __fe_nomask_env_priv and attribute_hidden.
1927         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1928         (libc_feupdateenv_test_ppc): Likewise.
1929         (libc_feresetround_ppc): Likewise.
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1931         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1932         compat_symbol macro.
1933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1934         (__fe_nomask_env): Likewise.
1935         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1937 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1939         * string/Makefile: Remove ifunc tests.
1940         * string/test-string.h: Define TEST_IFUNC.
1941         * string/test-bcopy-ifunc.c: Remove.
1942         * string/test-bzero-ifunc.c: Likewise.
1943         * string/test-memccpy-ifunc.c: Likewise.
1944         * string/test-memchr-ifunc.c: Likewise.
1945         * string/test-memcmp-ifunc.c: Likewise.
1946         * string/test-memcpy-ifunc.c: Likewise.
1947         * string/test-memmem-ifunc.c: Likewise.
1948         * string/test-memmove-ifunc.c: Likewise.
1949         * string/test-mempcpy-ifunc.c: Likewise.
1950         * string/test-memrchr-ifunc.c: Likewise.
1951         * string/test-memset-ifunc.c: Likewise.
1952         * string/test-rawmemchr-ifunc.c: Likewise.
1953         * string/test-stpcpy-ifunc.c: Likewise.
1954         * string/test-stpncpy-ifunc.c: Likewise.
1955         * string/test-strcasecmp-ifunc.c: Likewise.
1956         * string/test-strcasestr-ifunc.c: Likewise.
1957         * string/test-strcat-ifunc.c: Likewise.
1958         * string/test-strchr-ifunc.c: Likewise.
1959         * string/test-strchrnul-ifunc.c: Likewise.
1960         * string/test-strcmp-ifunc.c: Likewise.
1961         * string/test-strcpy-ifunc.c: Likewise.
1962         * string/test-strcspn-ifunc.c: Likewise.
1963         * string/test-strlen-ifunc.c: Likewise.
1964         * string/test-strncasecmp-ifunc.c: Likewise.
1965         * string/test-strncat-ifunc.c: Likewise.
1966         * string/test-strncmp-ifunc.c: Likewise.
1967         * string/test-strncpy-ifunc.c: Likewise.
1968         * string/test-strnlen-ifunc.c: Likewise.
1969         * string/test-strpbrk-ifunc.c: Likewise.
1970         * string/test-strrchr-ifunc.c: Likewise.
1971         * string/test-strspn-ifunc.c: Likewise.
1972         * string/test-strstr-ifunc.c: Likewise.
1974 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1976         * benchtests/Makefile: Remove ifunc tests.
1977         * benchtests/bench-string.h: Define TEST_IFUNC.
1978         * benchtests/bench-bcopy-ifunc.c: Remove.
1979         * benchtests/bench-bzero-ifunc.c: Likewise.
1980         * benchtests/bench-memccpy-ifunc.c: Likewise.
1981         * benchtests/bench-memchr-ifunc.c: Likewise.
1982         * benchtests/bench-memcmp-ifunc.c: Likewise.
1983         * benchtests/bench-memcpy-ifunc.c: Likewise.
1984         * benchtests/bench-memmem-ifunc.c: Likewise.
1985         * benchtests/bench-memmove-ifunc.c: Likewise.
1986         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1987         * benchtests/bench-memrchr-ifunc.c: Likewise.
1988         * benchtests/bench-memset-ifunc.c: Likewise.
1989         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1990         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1991         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1992         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1993         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1994         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1995         * benchtests/bench-strcat-ifunc.c: Likewise.
1996         * benchtests/bench-strchr-ifunc.c: Likewise.
1997         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1998         * benchtests/bench-strcmp-ifunc.c: Likewise.
1999         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2000         * benchtests/bench-strcpy-ifunc.c: Likewise.
2001         * benchtests/bench-strcspn-ifunc.c: Likewise.
2002         * benchtests/bench-strlen-ifunc.c: Likewise.
2003         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2004         * benchtests/bench-strncat-ifunc.c: Likewise.
2005         * benchtests/bench-strncmp-ifunc.c: Likewise.
2006         * benchtests/bench-strncpy-ifunc.c: Likewise.
2007         * benchtests/bench-strnlen-ifunc.c: Likewise.
2008         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2009         * benchtests/bench-strrchr-ifunc.c: Likewise.
2010         * benchtests/bench-strsep-ifunc.c: Likewise.
2011         * benchtests/bench-strspn-ifunc.c: Likewise.
2012         * benchtests/bench-strstr-ifunc.c: Likewise.
2014 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2016         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2020         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2021         * rt/aio.h: Likewise.
2022         * sysdeps/gnu/bits/utmp.h: Likewise.
2023         * sysdeps/gnu/bits/utmpx.h: Likewise.
2024         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2025         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2026         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2027         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2028         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2029         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2030         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2031         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2032         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2034         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2035         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2036         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2039         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2040         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2041         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2042         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2043         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2044         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2045         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2046         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2047         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2048         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2050         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2052         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2053         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2054         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2055         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2057         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2058         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2059         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2060         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2061         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2062         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2063         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2064         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2065         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2067 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2069         [BZ #16245]
2070         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2071         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2073 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2075         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2077         Likewise.
2079 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2082         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2083         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2084         (__fesetround): Remove define.
2085         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2086         rounding and exceptions handling.
2087         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2088         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2089         (__fe_nomask_env): Likewise.
2090         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2091         __fegetround instead of fegetround.
2092         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2093         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2095 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2097         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2098         it's there.
2100         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2102 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2104         [BZ #11157]
2105         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2106         (encrypt_r): Likewise.
2107         * malloc/obstack.h (obstack_free): Likewise.
2108         * posix/unistd.h (encrypt): Likewise.
2110 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2112         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2113         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2114         DL_CALL_DT_FINI() that call the functions directly.
2115         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2116         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2117         * elf/dl-fini.c: Likewise.
2119 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2121         * malloc/hooks.c (memalign_check): Add alignment rounding.
2122         * malloc/malloc.c (_mid_memalign): New function.
2123         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2124         Implement by calling _mid_memalign.
2125         * manual/probes.texi (Memory Allocation Probes): Remove
2126         memory_valloc_retry and memory_pvalloc_retry.
2128 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2130         * locale/programs/locarchive.c (open_archive): Add const
2131         qualifier to ARCHIVEFNAME and copy default fname to
2132         DEFAULT_FNAME.
2134         [BZ #15601]
2135         * libio/tst-widetext.input: Rename Oriya to Odia.
2136         * locale/iso-639.def: Likewise.
2138         * manual/probes.texi (Mathematical Function Probes): Add
2139         documentation for sin, cos, asin and acos probes.
2140         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2141         (__sin32): Add slowasin probe.
2142         (__cos32): Add slowacos probe.
2143         (__mpsin): Add slowsin probe.
2144         (__mpcos): Add slowcos probe.
2146 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2148         [BZ #15483]
2149         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2150         thread-local __sim_exceptions_thread and global
2151         __sim_exceptions_global.
2152         (__sim_disabled_exceptions): Change to thread-local
2153         __sim_disabled_exceptions_thread and global
2154         __sim_disabled_exceptions_global.
2155         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2156         and global __sim_round_mode_global.
2157         (__simulate_exceptions): Use thread-local floating-point state and
2158         set global state from it as needed.
2159         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2160         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2161         __sim_round_mode_thread.
2162         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2163         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2164         and global __sim_exceptions_global.
2165         (__sim_disabled_exceptions): Change to thread-local
2166         __sim_disabled_exceptions_thread and global
2167         __sim_disabled_exceptions_global.
2168         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2169         and global __sim_round_mode_global.
2170         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2171         (SIM_SET_GLOBAL): Likewise.
2172         * sysdeps/powerpc/soft-fp/sfp-machine.h
2173         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2174         __sim_round_mode_thread.
2175         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2176         __sim_disabled_exceptions_thread.
2177         (__sim_exceptions): Change to __sim_exceptions_thread.
2178         (__sim_disabled_exceptions): Change to
2179         __sim_disabled_exceptions_thread.
2180         (__sim_round_mode): Change to __sim_round_mode_thread.
2181         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2182         thread-local floating-point state and set global state from it as
2183         needed.
2184         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2185         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2186         (__sim_disabled_exceptions): Remove extern declaration.
2187         (feenableexcept): Use thread-local floating-point state and set
2188         global state from it as needed.
2189         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2190         extern declaration.
2191         (__sim_disabled_exceptions): Likewise.
2192         (__sim_round_mode): Likewise.
2193         (__fegetenv): Use thread-local floating-point state.
2194         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2195         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2196         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2197         floating-point state and set global state from it as needed.
2198         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2199         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2200         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2201         Likewise.
2202         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2203         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2204         Likewise.
2205         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2206         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2207         Use __sim_round_mode_thread.
2208         * math/test-fenv-tls.c: New file.
2209         * math/Makefile (tests): Add test-fenv-tls.
2210         ($(objpfx)test-fenv-tls): Depend on
2211         $(common-objpfx)nptl/libpthread.so.
2213 2013-11-19  Andreas Schwab  <schwab@suse.de>
2215         * locale/programs/locale.c (show_info): Decode wordarray elements.
2216         * locale/categories.def (LC_MONETARY): Add element for
2217         _NL_MONETARY_CRNCYSTR.
2218         * locale/C-monetary.c (conversion_rate): New variable.
2219         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2220         element.
2222 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2224         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2225         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2227 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2229         * elf/Makefile (tst-auxv): New test.
2230         * elf/tst-auxv.c: New
2231         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2233 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2235         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2236         (hidden_proto): Caller changed.
2237         (hidden_tls_proto): New macro.
2238         (libc_hidden_tls_proto): Likewise.
2239         (rtld_hidden_tls_proto): Likewise.
2240         (libm_hidden_tls_proto): Likewise.
2241         (libresolv_hidden_tls_proto): Likewise.
2242         (librt_hidden_tls_proto): Likewise.
2243         (libdl_hidden_tls_proto): Likewise.
2244         (libnss_files_hidden_tls_proto): Likewise.
2245         (libnsl_hidden_tls_proto): Likewise.
2246         (libnss_nisplus_hidden_tls_proto): Likewise.
2247         (libutil_hidden_tls_proto): Likewise.
2249 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2251         [BZ #10253]
2252         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2253         (decompose_rpath): Defer expansion to fillin_rpath.
2254         (_dl_init_paths): Pass linkmap to fillin_rpath.
2256 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2258         * benchtests/Makefile: Add strsep.
2259         * benchtests/bench-strsep.c: New file: strsep benchtest.
2260         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2262 2013-11-18  Andreas Schwab  <schwab@suse.de>
2264         * locale/programs/locale.c (show_info) [case byte]: Check for
2265         '\377' instead of '\177'.
2266         * locale/C-monetary.c (not_available): Always use "\377".
2267         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2268         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2269         detect unavailable sign_posn locale elements.
2270         * locale/localeconv.c (__localeconv): For grouping and
2271         mon_grouping handle "\177" and "\377" like no grouping.
2272         (INT_ELEM): New macro.  Use it to set all numeric members.
2273         * locale/programs/ld-monetary.c (monetary_read)
2274         <tok_mon_grouping>: Normalize single -1 to the empty string.
2275         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2276         Likewise.
2278 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2280         [BZ #16055]
2281         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2282         when we match (nil).
2283         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2285 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2287         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2288         (NO_TEST_INLINE): Update value.
2289         (ERRNO_UNCHANGED): Likewise.
2290         (ERRNO_EDOM): Likewise.
2291         (ERRNO_ERANGE): Likewise.
2292         (IGNORE_RESULT): Likewise.
2293         (check_float_internal): Check signs of NaN results if
2294         TEST_NAN_SIGN used.
2295         (check_complex): Pass TEST_NAN_SIGN flag through to second
2296         check_float_internal call.
2297         (copysign_test_data): Add tests with quiet NaNs as second
2298         argument.  Use TEST_NAN_SIGN.
2299         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2300         TEST_NAN_SIGN.
2301         (signbit_test_data): Add tests of quiet NaN argument.
2302         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2304         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2305         $ignore_result.
2306         (parse_args): Handle function results specified as IGNORE.
2307         * math/libm-test.inc (IGNORE_RESULT): New macro.
2308         (check_float_internal): Do not check numerical result if flag
2309         IGNORE_RESULT set.
2310         (check_complex): Pass through IGNORE_RESULT to second
2311         check_float_internal call.
2312         (check_int): Do not check numerical result if flag IGNORE_RESULT
2313         set.
2314         (check_long): Likewise.
2315         (check_bool): Likewise.
2316         (check_longlong): Likewise.
2317         (lrint_test_data): Add tests of infinite and NaN arguments.
2318         (lrint_tonearest_test_data): Likewise.
2319         (lrint_towardzero_test_data): Likewise.
2320         (lrint_downward_test_data): Likewise.
2321         (lrint_upward_test_data): Likewise.
2322         (llrint_test_data): Likewise.
2323         (llrint_tonearest_test_data): Likewise.
2324         (llrint_towardzero_test_data): Likewise.
2325         (llrint_downward_test_data): Likewise.
2326         (llrint_upward_test_data): Likewise.
2327         (lround_test_data): Likewise.
2328         (llround_test_data): Likewise.
2330         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2331         (ERRNO_UNCHANGED): Update value.
2332         (ERRNO_EDOM): Likewise.
2333         (ERRNO_ERANGE): Likewise.
2334         (NO_TEST_INLINE_FLOAT): New macro.
2335         (NO_TEST_INLINE_DOUBLE): Likewise.
2336         (enable_test): New function.
2337         (RUN_TEST_f_f): Check enable_test before running test.
2338         (RUN_TEST_2_f): Likewise.
2339         (RUN_TEST_fff_f): Likewise.
2340         (RUN_TEST_c_f): Likewise.
2341         (RUN_TEST_f_f1): Likewise.
2342         (RUN_TEST_fF_f1): Likewise.
2343         (RUN_TEST_fI_f1): Likewise.
2344         (RUN_TEST_ffI_f1): Likewise.
2345         (RUN_TEST_c_c): Likewise.
2346         (RUN_TEST_cc_c): Likewise.
2347         (RUN_TEST_f_i): Likewise.
2348         (RUN_TEST_f_i_tg): Likewise.
2349         (RUN_TEST_ff_i_tg): Likewise.
2350         (RUN_TEST_f_b): Likewise.
2351         (RUN_TEST_f_b_tg): Likewise.
2352         (RUN_TEST_f_l): Likewise.
2353         (RUN_TEST_f_L): Likewise.
2354         (RUN_TEST_fFF_11): Likewise.
2355         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2356         conditionals.
2357         (cosh_test_data): Likewise.
2358         (exp_test_data): Likewise.
2359         (expm1_test_data): Likewise.
2360         (hypot_test_data): Likewise.
2361         (pow_test_data): Likewise.
2362         (sinh_test_data): Likewise.
2363         (tanh_test_data): Likewise.
2364         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2365         flags argument.
2367         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2368         tests with quiet NaN input and output.
2369         (acosh_test_data): Likewise.
2370         (asin_test_data): Likewise.
2371         (asinh_test_data): Likewise.
2372         (atan_test_data): Likewise.
2373         (atanh_test_data): Likewise.
2374         (atan2_test_data): Likewise.
2375         (cbrt_test_data): Likewise.
2376         (cos_test_data): Likewise.
2377         (cosh_test_data): Likewise.
2378         (erf_test_data): Likewise.
2379         (erfc_test_data): Likewise.
2380         (exp_test_data): Likewise.
2381         (exp10_test_data): Likewise.
2382         (exp2_test_data): Likewise.
2383         (expm1_test_data): Likewise.
2384         (hypot_test_data): Likewise.
2385         (j0_test_data): Likewise.
2386         (j1_test_data): Likewise.
2387         (jn_test_data): Likewise.
2388         (lgamma_test_data): Likewise.
2389         (log_test_data): Likewise.
2390         (log10_test_data): Likewise.
2391         (log1p_test_data): Likewise.
2392         (log2_test_data): Likewise.
2393         (pow_test_data): Likewise.
2394         (scalb_test_data): Likewise.
2395         (sin_test_data): Likewise.
2396         (sincos_test_data): Likewise.
2397         (sinh_test_data): Likewise.
2398         (tan_test_data): Likewise.
2399         (tanh_test_data): Likewise.
2400         (tgamma_test_data): Likewise.
2401         (y0_test_data): Likewise.
2402         (y1_test_data): Likewise.
2403         (yn_test_data): Likewise.
2405         [BZ #16167]
2406         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2407         argument being NaN and avoid computations with second argument in
2408         that case.
2409         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2410         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2411         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2413 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2415         * locale/iso-639.def: Add Chitwani Tharu (the).
2417 2013-11-14  Andreas Schwab  <schwab@suse.de>
2419         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2420         word instead of empty string.
2422 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2425         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2427         (__fe_nomask_env): Likewise.
2429 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2431         * benchtests/bench-timing.h: Include time.h.
2433 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2435         [BZ #15997]
2436         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2437         to 3.4.0 for x32.
2438         * sysdeps/unix/sysv/linux/configure: Regenerated.
2440 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2442         [BZ #16151]
2443         * stdlib/strtod_l.c (round_and_return): Do not consider
2444         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2445         exponent one less than half the least subnormal exponent.
2446         * stdlib/test-strtod-round-data: Add more tests.
2447         * stdlib/tst-strtod-round.c (tests): Regenerated.
2449 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2451         [BZ #14143]
2452         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2453         (__fe_mask_env): Likewise.
2454         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2455         libm_hidden_proto and add function prototype.
2456         (__fe_mask_env): Add function prototype.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2458         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2460         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2462         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2464 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2466         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2467         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2469 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2471         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2472         of htab_find_slot().
2474 2013-11-11  David S. Miller  <davem@davemloft.net>
2476         [BZ #16150]
2477         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2478         symbol in the non-vis3 case in static builds.
2479         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2480         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2481         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2482         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2484 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2486         [BZ #387]
2487         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2488         it is empty.
2490 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2492         * benchtests/Makefile: Add bench-strtod.
2493         * benchtests/bench-strtod.c: New file: strtod benchtest
2495 2013-11-11  Andreas Schwab  <schwab@suse.de>
2497         [BZ #16153]
2498         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2499         terminating NUL in key length.
2501 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2504         Add artificial ODP entry for vDSO symbol for PPC64.
2505         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2506         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2508 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2510         [BZ #15374]
2511         * nss/getent.c (services_keys): Recognize services starting with digit.
2513 2013-11-06  David S. Miller  <davem@davemloft.net>
2515         [BZ #15985]
2516         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2517         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2519 2013-11-06  Will Newton  <will.newton@linaro.org>
2521         * manual/memory.texi (Malloc Examples): Remove register
2522         keyword from examples.
2524 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2526         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2528 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2530         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2531         depending on [__GCC_IEC_559 > 0].
2532         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2533         depending on [__GCC_IEC_559_COMPLEX > 0].
2535 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2537         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2538         to iso-639.def.
2540 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2542         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2544 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2546         [BZ #16112]
2547         * malloc/malloc (malloc_info): Do not handle first bin as
2548         special case.
2550 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2552         * locale/iso-639.def: Add Central Nahuatl (nhn).
2554 2013-11-01  Bruno Haible  <bruno@clisp.org>
2556         [BZ #7003]
2557         * manual/math.texi (BSD Random): Specify range upper bound as
2558         in POSIX.
2560 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2562         * locale/iso-639.def: Add Meadow Mari (mhr).
2564 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2566         [BZ #14752], [BZ #15763]
2567         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2568         Validate name.
2569         * rt/tst_shm.c: Add test for escaping directory.
2571 2013-10-31  Andreas Schwab  <schwab@suse.de>
2573         [BZ #15917]
2574         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2575         followed by 'x' as part of digit sequence.
2576         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2578 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2580         [BZ #16037]
2581         * configure.ac: allow GNU Make 4.0 and greater.
2582         * configure: Regenerated.
2584 2013-10-30  Will Newton  <will.newton@linaro.org>
2586         [BZ #16038]
2587         * malloc/hooks.c (memalign_check): Limit alignment to the
2588         maximum representable power of two.
2589         * malloc/malloc.c (__libc_memalign): Likewise.
2590         * malloc/tst-memalign.c (do_test): Add test for very
2591         large alignment values.
2592         * malloc/tst-posix_memalign.c (do_test): Likewise.
2594 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2596         [BZ #11087]
2597         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2598         (munmap_chunk): Likewise.
2599         (mremap_chunk): Likewise.
2601 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2603         [BZ #15799]
2604         * stdlib/div.c (div): Remove obsolete code.
2605         * stdlib/ldiv.c (ldiv): Likewise.
2606         * stdlib/lldiv.c (lldiv): Likewise.
2608 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2610         [BZ #16071]
2611         * nss/nss_files/files-XXX.c (get_contents_ret): New
2612         enumerator.
2613         (get_contents): New function.
2614         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2616 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2618         * configure.in: Moved to ...
2619         * configure.ac: ... here. Change reference to configure.in
2620         to configure.ac.
2621         * sysdeps/arm/preconfigure.ac: ... here.
2622         configure.in to configure.ac.
2623         * sysdeps/gnu/configure.in: Moved to ...
2624         * sysdeps/gnu/configure.ac: ... here.
2625         * sysdeps/i386/configure.in: Moved to ...
2626         * sysdeps/i386/configure.ac: ... here.
2627         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2628         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2629         * sysdeps/mach/configure.in: Moved to ...
2630         * sysdeps/mach/configure.ac: ... here.
2631         * sysdeps/mach/hurd/configure.in: Moved to ...
2632         * sysdeps/mach/hurd/configure.ac: ... here.
2633         * sysdeps/powerpc/configure.in: Moved to ...
2634         * sysdeps/powerpc/configure.ac: ... here.
2635         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2636         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2637         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2638         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2639         * sysdeps/s390/s390-32/configure.in: Moved to ...
2640         * sysdeps/s390/s390-32/configure.ac: ... here.
2641         * sysdeps/s390/s390-64/configure.in: Moved to ...
2642         * sysdeps/s390/s390-64/configure.ac: ... here.
2643         * sysdeps/sh/configure.in: Moved to ...
2644         * sysdeps/sh/configure.ac: ... here.
2645         * sysdeps/sparc/configure.in: Moved to ...
2646         * sysdeps/sparc/configure.ac: ... here.
2647         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2648         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2649         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2650         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2651         * sysdeps/x86_64/configure.in: Moved to ...
2652         * sysdeps/x86_64/configure.ac: ... here.
2653         * sysdeps/x86_64/preconfigure.in: Moved to ...
2654         * sysdeps/x86_64/preconfigure.ac: ... here.
2655         * aclocal.m4: Change reference to configure.in to configure.ac.
2656         * config.h.in: Likewise.
2657         * manual/install.texi: Likewise.
2658         * manual/maint.texi: Likewise.
2659         * Makefile: Likewise.
2660         * malloc/Makefile: Likewise.
2661         * nscd/Makefile: Likewise.
2662         * Makeconfig: Change reference to configure.in and
2663         preconfigure.in to configure.ac and preconfigure.ac
2664         respectively.
2665         * INSTALL: Regenerated.
2666         * configure: Likewise.
2667         * sysdeps/gnu/configure: Likewise.
2668         * sysdeps/i386/configure: Likewise.
2669         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2670         * sysdeps/mach/configure: Likewise.
2671         * sysdeps/mach/hurd/configure: Likewise.
2672         * sysdeps/powerpc/configure: Likewise.
2673         * sysdeps/powerpc/powerpc32/configure: Likewise.
2674         * sysdeps/powerpc/powerpc64/configure: Likewise.
2675         * sysdeps/s390/s390-32/configure: Likewise.
2676         * sysdeps/s390/s390-64/configure: Likewise.
2677         * sysdeps/sh/configure: Likewise.
2678         * sysdeps/sparc/configure: Likewise.
2679         * sysdeps/unix/sysv/linux/configure: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2681         * sysdeps/x86_64/configure: Likewise.
2682         * sysdeps/x86_64/preconfigure: Likewise.
2684 2013-10-29  Andreas Schwab  <schwab@suse.de>
2686         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2688 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2690         * benchtests/pow-inputs: Add new inputs.
2692         * benchtests/exp-inputs: Add new inputs.
2694         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2695         conditional check for return value.
2696         (__cos32): Likewise.
2698 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2700         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2701         to provide a boost for large inputs with word alignment.
2702         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2703         implementation based on optimized PPC64 strcpy.
2704         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2705         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2706         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2707         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2711         [BZ #2801]
2712         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2714 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2716         [BZ #14876]
2717         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2718         * time/tst-strptime.c (day_tests): Add testcase.
2720 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2722         [BZ #14029]
2723         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2725 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2727         [BZ #16074]
2728         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2729         MAP_FAILED on error.
2731 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2733         [BZ #16072]
2734         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2735         heap for large requests.
2737 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2739         [BZ #9954]
2740         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2741         result if the result has no associated interface.
2742         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2743         interface for all 127.X.Y.Z addresses.
2745 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2747         * locale/iso-639.def: Add Ligurian (lij)
2749 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2751         [BZ #15825]
2752         * sunrpc/rpc_main.c: Document rpcgen -5.
2754 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2756         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2758 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2760         [BZ #10278]
2761         * posix/glob.c: Match only directories when trailing slash is present.
2762         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2763         (main): Add testcase.
2765 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2767         [BZ #15670]
2768         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2770 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2772         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2773         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2774         AUTH_DES and cindex for FIPS 140-2.
2775         (DES Encryption): Add cindex FIPS 46-3.
2777         * locale/locarchive.h (struct locarhandle): Add fname.
2778         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2779         if an optional argument was specified to --list-archive,
2780         otherwise NULL.
2781         * locale/programs/locarchive.c (show_archive_content): Take new
2782         argument fname and pass it via ah.fname to open_archive.
2783         * locale/programs/localedef.h: Update decl.
2784         (open_archive): If AH->fname is non-null, open that file
2785         rather than the default file name, and don't ignore ENOENT.
2786         (create_archive): Set AH.fname to NULL.
2787         (delete_locales_from_archive): Likewise.
2788         (add_locales_to_archive): Likewise.
2789         * locale/programs/locfile.c (write_all_categories): Likewise.
2791 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2792             Aldy Hernandez  <aldyh@redhat.com>
2794         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2795         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2796         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2797         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2798         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2799         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2801         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2802         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2803         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2805         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2807         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2808         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2809         Likewise.
2810         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2811         Likewise.
2812         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2813         Likewise.
2814         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2815         Likewise.
2816         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2817         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2818         Likewise.
2819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2820         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2821         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2822         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2823         Likewise.
2824         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2825         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2826         * sysdeps/powerpc/preconfigure: Likewise.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2828         Likewise.
2829         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2830         Replace contents of file by #include of <fenv_libc.h>.
2831         * sysdeps/powerpc/soft-fp/sfp-machine.h
2832         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2833         and <sys/prctl.h>.
2834         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2847         Allow copysignl PLT reference to be missing.
2849 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2850             Joseph Myers  <joseph@codesourcery.com
2852         [BZ #15948]
2853         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2854         single character.
2855         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2857 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2859         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2860         * elf/tst-tls1.c: Likewise.
2861         * elf/tst-tls10.h: Likewise.
2862         * elf/tst-tls14.c: Likewise.
2863         * elf/tst-tls2.c: Likewise.
2864         * elf/tst-tls3.c: Likewise.
2865         * elf/tst-tls4.c: Likewise.
2866         * elf/tst-tls5.c: Likewise.
2867         * elf/tst-tls6.c: Likewise.
2868         * elf/tst-tls7.c: Likewise.
2869         * elf/tst-tls8.c: Likewise.
2870         * elf/tst-tls9.c: Likewise.
2871         * elf/tst-tlsmod1.c: Likewise.
2872         * elf/tst-tlsmod13.c: Likewise.
2873         * elf/tst-tlsmod13a.c: Likewise.
2874         * elf/tst-tlsmod14a.c: Likewise.
2875         * elf/tst-tlsmod16a.c: Likewise.
2876         * elf/tst-tlsmod16b.c: Likewise.
2877         * elf/tst-tlsmod2.c: Likewise.
2878         * elf/tst-tlsmod3.c: Likewise.
2879         * elf/tst-tlsmod4.c: Likewise.
2880         * elf/tst-tlsmod5.c: Likewise.
2881         * elf/tst-tlsmod6.c: Likewise.
2883 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2885         [BZ #12486]
2886         * malloc/malloc.c: remove checks for statistics.
2888 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2890         [BZ #15277]
2891         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2892         * inet/tst-network.c: Add testcase.
2894 2013-10-17  Andreas Schwab  <schwab@suse.de>
2896         [BZ #15218]
2897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2898         to determine canonical name.
2900 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2902         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2903         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2904         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2905         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2907         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2908         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2909         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2910         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2911         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2912         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2913         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2914         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2915         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2916         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2917         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2920         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2921         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2924         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2925         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2926         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2927         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2928         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2929         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2930         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2931         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2932         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2934         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2935         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2936         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2937         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2938         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2939         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2940         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2941         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2942         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2943         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2944         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2945         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2946         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2947         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2948         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2949         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2950         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2951         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2952         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2953         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2954         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2955         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2956         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2957         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2958         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2959         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2961 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2963         [BZ #16041]
2964         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2965         make result into a quiet NaN.
2967 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2969         * soft-fp/adddf3.c: Fix horizontal whitespace.
2970         * soft-fp/addsf3.c: Likewise.
2971         * soft-fp/addtf3.c: Likewise.
2972         * soft-fp/divdf3.c: Likewise.
2973         * soft-fp/divsf3.c: Likewise.
2974         * soft-fp/divtf3.c: Likewise.
2975         * soft-fp/double.h: Likewise.
2976         * soft-fp/eqdf2.c: Likewise.
2977         * soft-fp/eqsf2.c: Likewise.
2978         * soft-fp/eqtf2.c: Likewise.
2979         * soft-fp/extenddftf2.c: Likewise.
2980         * soft-fp/extended.h: Likewise.
2981         * soft-fp/extendsfdf2.c: Likewise.
2982         * soft-fp/extendsftf2.c: Likewise.
2983         * soft-fp/extendxftf2.c: Likewise.
2984         * soft-fp/fixdfdi.c: Likewise.
2985         * soft-fp/fixdfsi.c: Likewise.
2986         * soft-fp/fixdfti.c: Likewise.
2987         * soft-fp/fixsfdi.c: Likewise.
2988         * soft-fp/fixsfsi.c: Likewise.
2989         * soft-fp/fixsfti.c: Likewise.
2990         * soft-fp/fixtfdi.c: Likewise.
2991         * soft-fp/fixtfsi.c: Likewise.
2992         * soft-fp/fixtfti.c: Likewise.
2993         * soft-fp/fixunsdfdi.c: Likewise.
2994         * soft-fp/fixunsdfsi.c: Likewise.
2995         * soft-fp/fixunsdfti.c: Likewise.
2996         * soft-fp/fixunssfdi.c: Likewise.
2997         * soft-fp/fixunssfsi.c: Likewise.
2998         * soft-fp/fixunssfti.c: Likewise.
2999         * soft-fp/fixunstfdi.c: Likewise.
3000         * soft-fp/fixunstfsi.c: Likewise.
3001         * soft-fp/fixunstfti.c: Likewise.
3002         * soft-fp/floatdidf.c: Likewise.
3003         * soft-fp/floatdisf.c: Likewise.
3004         * soft-fp/floatditf.c: Likewise.
3005         * soft-fp/floatsidf.c: Likewise.
3006         * soft-fp/floatsisf.c: Likewise.
3007         * soft-fp/floatsitf.c: Likewise.
3008         * soft-fp/floattidf.c: Likewise.
3009         * soft-fp/floattisf.c: Likewise.
3010         * soft-fp/floattitf.c: Likewise.
3011         * soft-fp/floatundidf.c: Likewise.
3012         * soft-fp/floatundisf.c: Likewise.
3013         * soft-fp/floatunditf.c: Likewise.
3014         * soft-fp/floatunsidf.c: Likewise.
3015         * soft-fp/floatunsisf.c: Likewise.
3016         * soft-fp/floatunsitf.c: Likewise.
3017         * soft-fp/floatuntidf.c: Likewise.
3018         * soft-fp/floatuntisf.c: Likewise.
3019         * soft-fp/floatuntitf.c: Likewise.
3020         * soft-fp/fmadf4.c: Likewise.
3021         * soft-fp/fmasf4.c: Likewise.
3022         * soft-fp/fmatf4.c: Likewise.
3023         * soft-fp/gedf2.c: Likewise.
3024         * soft-fp/gesf2.c: Likewise.
3025         * soft-fp/getf2.c: Likewise.
3026         * soft-fp/ledf2.c: Likewise.
3027         * soft-fp/lesf2.c: Likewise.
3028         * soft-fp/letf2.c: Likewise.
3029         * soft-fp/muldf3.c: Likewise.
3030         * soft-fp/mulsf3.c: Likewise.
3031         * soft-fp/multf3.c: Likewise.
3032         * soft-fp/negdf2.c: Likewise.
3033         * soft-fp/negsf2.c: Likewise.
3034         * soft-fp/negtf2.c: Likewise.
3035         * soft-fp/op-1.h: Likewise.
3036         * soft-fp/op-2.h: Likewise.
3037         * soft-fp/op-4.h: Likewise.
3038         * soft-fp/op-8.h: Likewise.
3039         * soft-fp/op-common.h: Likewise.
3040         * soft-fp/quad.h: Likewise.
3041         * soft-fp/single.h: Likewise.
3042         * soft-fp/soft-fp.h: Likewise.
3043         * soft-fp/sqrtdf2.c: Likewise.
3044         * soft-fp/sqrtsf2.c: Likewise.
3045         * soft-fp/sqrttf2.c: Likewise.
3046         * soft-fp/subdf3.c: Likewise.
3047         * soft-fp/subsf3.c: Likewise.
3048         * soft-fp/subtf3.c: Likewise.
3049         * soft-fp/truncdfsf2.c: Likewise.
3050         * soft-fp/trunctfdf2.c: Likewise.
3051         * soft-fp/trunctfsf2.c: Likewise.
3052         * soft-fp/trunctfxf2.c: Likewise.
3053         * soft-fp/unorddf2.c: Likewise.
3054         * soft-fp/unordsf2.c: Likewise.
3055         * soft-fp/unordtf2.c: Likewise.
3057 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3059         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3060         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3062 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3064         * elf/dl-libc.c: Clear initfini list after freeing.
3066 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3068         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3069         * soft-fp/addsf3.c: Likewise.
3070         * soft-fp/addtf3.c: Likewise.
3071         * soft-fp/divdf3.c: Likewise.
3072         * soft-fp/divsf3.c: Likewise.
3073         * soft-fp/divtf3.c: Likewise.
3074         * soft-fp/double.h: Likewise.
3075         * soft-fp/eqdf2.c: Likewise.
3076         * soft-fp/eqsf2.c: Likewise.
3077         * soft-fp/eqtf2.c: Likewise.
3078         * soft-fp/extenddftf2.c: Likewise.
3079         * soft-fp/extended.h: Likewise.
3080         * soft-fp/extendsfdf2.c: Likewise.
3081         * soft-fp/extendsftf2.c: Likewise.
3082         * soft-fp/extendxftf2.c: Likewise.
3083         * soft-fp/fixdfdi.c: Likewise.
3084         * soft-fp/fixdfsi.c: Likewise.
3085         * soft-fp/fixdfti.c: Likewise.
3086         * soft-fp/fixsfdi.c: Likewise.
3087         * soft-fp/fixsfsi.c: Likewise.
3088         * soft-fp/fixsfti.c: Likewise.
3089         * soft-fp/fixtfdi.c: Likewise.
3090         * soft-fp/fixtfsi.c: Likewise.
3091         * soft-fp/fixtfti.c: Likewise.
3092         * soft-fp/fixunsdfdi.c: Likewise.
3093         * soft-fp/fixunsdfsi.c: Likewise.
3094         * soft-fp/fixunsdfti.c: Likewise.
3095         * soft-fp/fixunssfdi.c: Likewise.
3096         * soft-fp/fixunssfsi.c: Likewise.
3097         * soft-fp/fixunssfti.c: Likewise.
3098         * soft-fp/fixunstfdi.c: Likewise.
3099         * soft-fp/fixunstfsi.c: Likewise.
3100         * soft-fp/fixunstfti.c: Likewise.
3101         * soft-fp/floatdidf.c: Likewise.
3102         * soft-fp/floatdisf.c: Likewise.
3103         * soft-fp/floatditf.c: Likewise.
3104         * soft-fp/floatsidf.c: Likewise.
3105         * soft-fp/floatsisf.c: Likewise.
3106         * soft-fp/floatsitf.c: Likewise.
3107         * soft-fp/floattidf.c: Likewise.
3108         * soft-fp/floattisf.c: Likewise.
3109         * soft-fp/floattitf.c: Likewise.
3110         * soft-fp/floatundidf.c: Likewise.
3111         * soft-fp/floatundisf.c: Likewise.
3112         * soft-fp/floatunsidf.c: Likewise.
3113         * soft-fp/floatunsisf.c: Likewise.
3114         * soft-fp/floatuntidf.c: Likewise.
3115         * soft-fp/floatuntisf.c: Likewise.
3116         * soft-fp/floatuntitf.c: Likewise.
3117         * soft-fp/fmadf4.c: Likewise.
3118         * soft-fp/fmasf4.c: Likewise.
3119         * soft-fp/fmatf4.c: Likewise.
3120         * soft-fp/gedf2.c: Likewise.
3121         * soft-fp/gesf2.c: Likewise.
3122         * soft-fp/getf2.c: Likewise.
3123         * soft-fp/ledf2.c: Likewise.
3124         * soft-fp/lesf2.c: Likewise.
3125         * soft-fp/letf2.c: Likewise.
3126         * soft-fp/muldf3.c: Likewise.
3127         * soft-fp/mulsf3.c: Likewise.
3128         * soft-fp/multf3.c: Likewise.
3129         * soft-fp/negdf2.c: Likewise.
3130         * soft-fp/negsf2.c: Likewise.
3131         * soft-fp/negtf2.c: Likewise.
3132         * soft-fp/op-1.h: Likewise.
3133         * soft-fp/op-2.h: Likewise.
3134         * soft-fp/op-4.h: Likewise.
3135         * soft-fp/op-8.h: Likewise.
3136         * soft-fp/op-common.h: Likewise.
3137         * soft-fp/quad.h: Likewise.
3138         * soft-fp/single.h: Likewise.
3139         * soft-fp/soft-fp.h: Likewise.
3140         * soft-fp/sqrtdf2.c: Likewise.
3141         * soft-fp/sqrtsf2.c: Likewise.
3142         * soft-fp/sqrttf2.c: Likewise.
3143         * soft-fp/subdf3.c: Likewise.
3144         * soft-fp/subsf3.c: Likewise.
3145         * soft-fp/subtf3.c: Likewise.
3146         * soft-fp/truncdfsf2.c: Likewise.
3147         * soft-fp/trunctfdf2.c: Likewise.
3148         * soft-fp/trunctfsf2.c: Likewise.
3149         * soft-fp/trunctfxf2.c: Likewise.
3150         * soft-fp/unorddf2.c: Likewise.
3151         * soft-fp/unordsf2.c: Likewise.
3152         * soft-fp/unordtf2.c: Likewise.
3154 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3156         [BZ #15672]
3157         * misc/error.c (error_tail): Fix possible buffer overflow.
3159 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3161         [BZ #13028]
3162         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3163         address.
3165 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3167         [BZ #832]
3168         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3169         testing pipefail option.
3171 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3173         * soft-fp/double.h: Indent preprocessor directives inside #if.
3174         * soft-fp/extended.h: Likewise.
3175         * soft-fp/op-2.h: Likewise.
3176         * soft-fp/op-4.h: Likewise.
3177         * soft-fp/op-common.h: Likewise.
3178         * soft-fp/quad.h: Likewise.
3179         * soft-fp/single.h: Likewise.
3180         * soft-fp/soft-fp.h: Likewise.
3182 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3184         * iconv/iconv_prog.c: Fix typos.
3185         * stdio-common/psiginfo-data.h: Likewise.
3187 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3189         [BZ #15764]
3190         * locale/setlocale.c: Fix typo.
3192 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3194         [BZ #16036]
3195         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3196         signaling NaN arguments.
3197         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3198         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3200         [BZ #14910]
3201         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3202         unordered operands.
3203         * soft-fp/gesf2.c (__gesf2): Likewise.
3204         * soft-fp/getf2.c (__getf2): Likewise.
3205         * soft-fp/ledf2.c (__ledf2): Likewise.
3206         * soft-fp/lesf2.c (__lesf2): Likewise.
3207         * soft-fp/letf2.c (__letf2): Likewise.
3209         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3210         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3211         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3212         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3213         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3214         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3215         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3216         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3217         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3218         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3219         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3220         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3221         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3222         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3223         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3224         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3225         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3226         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3227         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3228         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3229         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3230         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3231         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3232         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3233         * soft-fp/floattidf.c (__floattidf): Likewise.
3234         * soft-fp/floattisf.c (__floattisf): Likewise.
3235         * soft-fp/floattitf.c (__floattitf): Likewise.
3236         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3237         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3238         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3239         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3240         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3241         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3242         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3243         * soft-fp/gesf2.c (__gesf2): Likewise.
3244         * soft-fp/getf2.c (__getf2): Likewise.
3245         * soft-fp/ledf2.c (__ledf2): Likewise.
3246         * soft-fp/lesf2.c (__lesf2): Likewise.
3247         * soft-fp/letf2.c (__letf2): Likewise.
3249         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3250         Undefine and redefine.
3251         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3252         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3253         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3254         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3255         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3256         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3257         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3258         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3259         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3260         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3261         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3262         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3263         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3264         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3265         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3267         [BZ #16032]
3268         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3269         without decrementing exponent if mantissa >= that for the
3270         denominator, not >.
3271         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3272         denominator, not >.  Decrement exponent in < case instead of
3273         incrementing in >= case.
3274         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3275         without decrementing exponent if mantissa >= that for the
3276         denominator, not >.
3278         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3279         computing saturated result for unsigned overflow.
3281 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3282             Jeff Law  <law@redhat.com>
3284         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3285         (atan2Mp): Add systemtap probe marker.
3286         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3287         (__ieee754_log): Add systemtap probe marker.
3288         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3289         (atanMp): Add systemtap probe marker.
3290         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3291         (tanMp): Add systemtap probe marker.
3292         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3293         (__slowexp): Add systemtap probe marker.
3294         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3295         (__slowpow): Add systemtap probe marker.
3296         * manual/probes.texi: Document probes.
3298 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3300         [BZ #15362]
3301         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3302         written.
3303         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3304         written.
3305         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3306         written to buffer but not flushed.
3307         * libio/iofwrite_u.c:  Likewise.
3308         * libio/iopadn.c:  Return bytes returned even if EOF was
3309         encountered.
3310         * libio/iowpadn.c:  Likewise.
3311         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3312         if _IO_padn does not write the whole buffer.
3313         [!COMPILE_WPRINTF] (PAD): Likewise.
3315 2013-10-10  David S. Miller  <davem@davemloft.net>
3317         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3318         directory block.
3320 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3322         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3323         instead of FSF address.
3324         * soft-fp/fixdfti.c: Likewise.
3325         * soft-fp/fixsfti.c: Likewise.
3326         * soft-fp/fixtfti.c: Likewise.
3327         * soft-fp/fixunsdfti.c: Likewise.
3328         * soft-fp/fixunssfti.c: Likewise.
3329         * soft-fp/fixunstfti.c: Likewise.
3330         * soft-fp/floattidf.c: Likewise.
3331         * soft-fp/floattisf.c: Likewise.
3332         * soft-fp/floattitf.c: Likewise.
3333         * soft-fp/floatuntidf.c: Likewise.
3334         * soft-fp/floatuntisf.c: Likewise.
3335         * soft-fp/floatuntitf.c: Likewise.
3336         * soft-fp/trunctfxf2.c: Likewise.
3338         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3339         * soft-fp/fixdfti.c: Likewise.
3340         * soft-fp/fixsfti.c: Likewise.
3341         * soft-fp/fixtfti.c: Likewise.
3342         * soft-fp/fixunsdfti.c: Likewise.
3343         * soft-fp/fixunssfti.c: Likewise.
3344         * soft-fp/fixunstfti.c: Likewise.
3345         * soft-fp/floattidf.c: Likewise.
3346         * soft-fp/floattisf.c: Likewise.
3347         * soft-fp/floattitf.c: Likewise.
3348         * soft-fp/floatuntidf.c: Likewise.
3349         * soft-fp/floatuntisf.c: Likewise.
3350         * soft-fp/floatuntitf.c: Likewise.
3351         * soft-fp/trunctfxf2.c: Likewise.
3353 2013-10-10  David S. Miller  <davem@davemloft.net>
3355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3357 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3359         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3360         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3361         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3362         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3363         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3364         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3365         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3368         for NaNs before doing comparisons on argument.
3369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3370         Likewise.
3372 2013-10-10  Will Newton  <will.newton@linaro.org>
3374         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3375         passed to _int_memalign does not overflow.
3377 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3379         * scripts/bench.pl: Add include-sources directive.
3380         * benchtests/README: Update documentation.
3382 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3384         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3385         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3386         instead of FP_INIT_ROUNDMODE.
3387         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3388         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3390         [BZ #16034]
3391         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3392         copy class of input value.
3393         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3394         not handle exceptions.
3395         * soft-fp/negsf2.c (__negsf2): Likewise.
3396         * soft-fp/negtf2.c (__negtf2): Likewise.
3397         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3399 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3401         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3402         semicolon.  From Linux kernel.
3404 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3406         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3408 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3410         [BZ #156]
3411         * manual/socket.texi: Added statement about buffer
3412         for gethostbyname2_r.
3414 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3416         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3417         Use .p2align directive instead, throughout.
3418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3419         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3420         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3421         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3422         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3423         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3424         * sysdeps/x86_64/strchr.S: Likewise.
3425         * sysdeps/x86_64/strrchr.S: Likewise.
3427 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3429         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3431         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3433         * sysdeps/generic/math_private.h (__mpsin1): Remove
3434         declaration.
3435         (__mpcos1): Likewise.
3436         (__mpsin): New argument __range_reduce.
3437         (__mpcos): Likewise.
3438         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3439         (slow): Use __mpsin and __mpcos.
3440         (slow1): Likewise.
3441         (slow2): Likewise.
3442         (sloww): Likewise.
3443         (sloww1): Likewise.
3444         (sloww2): Likewise.
3445         (bsloww): Likewise.
3446         (bsloww1): Likewise.
3447         (bsloww2): Likewise.
3448         (cslow2): Likewise.
3449         (csloww): Likewise.
3450         (csloww1): Likewise.
3451         (csloww2): Likewise.
3452         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3453         range_reduce.  Merge in __mpsin1.
3454         (__mpcos): Likewise.
3455         (__mpsin1): Remove.
3456         (__mpcos1): Likewise.
3458 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3460         * locale/loadlocale.c (_nl_intern_locale_data): Use
3461         LOCFILE_ALIGNED_P.
3462         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3463         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3464         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3465         obstack data is appropriately aligned.
3466         (obstack_int32_grow_fast): Likewise.
3467         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3468         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3469         (add_locale_uint32_array): Likewise.
3471 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3473         * benchtests/Makefile: Remove ARGLIST and RET variables.
3474         ($(objpfx)bench-%.c): Pass only function name to the script.
3475         * benchtests/README: Update documentation.
3476         * benchtests/acos-inputs: Add new directives.
3477         * benchtests/acosh-inputs: Likewise.
3478         * benchtests/asin-inputs: Likewise.
3479         * benchtests/asinh-inputs: Likewise.
3480         * benchtests/atan-inputs: Likewise.
3481         * benchtests/atanh-inputs: Likewise.
3482         * benchtests/cos-inputs: Likewise.
3483         * benchtests/cosh-inputs: Likewise.
3484         * benchtests/exp-inputs: Likewise.
3485         * benchtests/log-inputs: Likewise.
3486         * benchtests/pow-inputs: Likewise.
3487         * benchtests/rint-inputs: Likewise.
3488         * benchtests/sin-inputs: Likewise.
3489         * benchtests/sinh-inputs: Likewise.
3490         * benchtests/tan-inputs: Likewise.
3491         * benchtests/tanh-inputs: Likewise.
3492         * scripts/bench.pl: Add support for new directives.
3494 2013-10-07  Alan Modra  <amodra@gmail.com>
3496         * README: Fix careless merge.
3498 2013-10-05  Alan Modra  <amodra@gmail.com>
3500         * NEWS: Mention powerpc64le support and bugs fixed.
3501         * README: Both big-endian and little-endian powerpc64 supported.
3503 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3505         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3506         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3507         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3508         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3510 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3512         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3513         match prototype.
3515 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3517         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3518         Move -mhard-float appending from
3519         ports/sysdeps/powerpc/powerpc32/Makefile.
3520         [$(with-fp) = yes] (ASFLAGS): Likewise.
3521         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3522         * sysdeps/powerpc/nofpu: Move directory from
3523         ports/sysdeps/powerpc/nofpu.
3524         * sysdeps/powerpc/soft-fp: Move directory from
3525         ports/sysdeps/powerpc/soft-fp.
3526         * sysdeps/powerpc/powerpc32/405: Move directory from
3527         ports/sysdeps/powerpc/powerpc32/405.
3528         * sysdeps/powerpc/powerpc32/440: Move directory from
3529         ports/sysdeps/powerpc/powerpc32/440.
3530         * sysdeps/powerpc/powerpc32/464: Move directory from
3531         ports/sysdeps/powerpc/powerpc32/464.
3532         * sysdeps/powerpc/powerpc32/476: Move directory from
3533         ports/sysdeps/powerpc/powerpc32/476.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3537         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3539         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3541         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3543         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3544         * README: Update for powerpc-*-linux-gnu software floating point
3545         support in libc.
3547         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3548         case to powerpc/powerpc32*.
3549         * sysdeps/unix/sysv/linux/configure: Regenerated.
3551         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3552         (_FPU_MASK_OM): Define as 0x04.
3553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3555         0x00c10080.
3556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3557         0x0000003c.
3558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3561         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3562         getcontext_e500.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3564         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3565         setcontext_e500.
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3567         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3568         and setcontext_e500.
3570 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3572         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3574 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3576         * manual/threads.texi (Default Thread Attributes): Fix typo.
3578 2013-10-04  Will Newton  <will.newton@linaro.org>
3580         * malloc/Makefile: Add tst-memalign.
3581         * malloc/tst-memalign.c: New file.
3583         * malloc/tst-posix_memalign.c: Add comments.
3584         (do_test): Add comments and call free on all potentially
3585         allocated pointers. Add space after cast.
3587         * malloc/tst-pvalloc.c: Add comments.
3588         (do_test): Add comments and call free on all potentially
3589         allocated pointers. Remove duplicate check for NULL pointer.
3590         Add space after cast.
3592         * malloc/tst-valloc.c: Add comments.
3593         (do_test): Add comments and call free on all potentially
3594         allocated pointers. Remove duplicate check for NULL pointer.
3595         Add space after cast.
3597 2013-10-04  Alan Modra  <amodra@gmail.com>
3599         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3600         Use stdint types in rather than __attribute__((mode())).
3601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3603 2013-10-04  Alan Modra  <amodra@gmail.com>
3605         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3606         Correct handling of unaligned relocs for little-endian.
3607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3609 2013-10-04  Alan Modra  <amodra@gmail.com>
3611         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3612         * configure: Regenerate.
3613         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3614         * shlib-versions: Likewise.
3616 2013-10-04  Alan Modra  <amodra@gmail.com>
3618         * string/tester.c (test_memrchr): Increment reported test cycle.
3620 2013-10-04  Alan Modra  <amodra@gmail.com>
3622         * string/test-memcpy.c (do_one_test): When reporting errors, print
3623         string address and don't overrun end of string.
3625 2013-10-04  Alan Modra  <amodra@gmail.com>
3627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3628         insrdi.  Make better use of reg selection to speed exit slightly.
3629         Schedule entry path a little better.  Remove useless "are we done"
3630         checks on entry to main loop.  Handle wrapping around zero address.
3631         Correct main loop count.  Handle single left-over word from main
3632         loop inline rather than by using loop_small.  Remove extra word
3633         case in loop_small caused by wrong loop count.  Add little-endian
3634         support.
3635         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3636         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3637         cache hint.
3638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3639         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3640         support.  Avoid rlwimi.
3641         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3643 2013-10-04  Alan Modra  <amodra@gmail.com>
3645         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3646         insrdi.  Formatting.
3647         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3648         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3649         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3650         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3651         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3652         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3654 2013-10-04  Alan Modra  <amodra@gmail.com>
3656         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3657         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3658         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3659         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3662         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3663         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3664         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3665         use of regs.  Use power7 mtocrf.  Tidy function tails.
3667 2013-10-04  Alan Modra  <amodra@gmail.com>
3669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3670         Formatting.  Consistently use rXXX register defines or rN defines.
3671         Use early exit labels that avoid restoring unused non-volatile regs.
3672         Make cr field use more consistent with rWORDn compares.  Rename
3673         regs used as shift registers for unaligned loop, using rN defines
3674         for short lifetime/multiple use regs.
3675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3676         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3677         addi 1,1,64 to pop stack frame.  Simplify return value code.
3678         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3680 2013-10-04  Alan Modra  <amodra@gmail.com>
3682         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3683         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3684         rather than rlwimi.
3685         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3686         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3687         little-endian support.  Correct typos.
3688         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3689         rather than rlwimi.
3690         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3691         in loop and entry code to keep "and." results.
3692         (strchr): Add little-endian support.  Comment.  Move cntlzd
3693         earlier in tail.
3694         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3696 2013-10-04  Alan Modra  <amodra@gmail.com>
3698         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3699         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3700         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3701         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3703 2013-10-04  Alan Modra  <amodra@gmail.com>
3705         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3706         (rTMP): Define as r11.
3707         (strcmp): Add little-endian support.  Optimise tail.
3708         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3709         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3710         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3711         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3712         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3713         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3716 2013-10-04  Alan Modra  <amodra@gmail.com>
3718         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3719         little-endian support.  Remove unnecessary "are we done" tests.
3720         Handle "s" wrapping around zero and extremely large "size".
3721         Correct main loop count.  Handle single left-over word from main
3722         loop inline rather than by using small_loop.  Correct comments.
3723         Delete "zero" tail, use "end_max" instead.
3724         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3726 2013-10-04  Alan Modra  <amodra@gmail.com>
3728         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3729         support.  Don't branch over align.
3730         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3731         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3732         support.  Rearrange tmp reg use to suit.  Comment.
3733         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3735 2013-10-04  Alan Modra  <amodra@gmail.com>
3737         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3739 2013-10-04  Alan Modra  <amodra@gmail.com>
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3742         conditional form of branch and link when obtaining pc.
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3745 2013-10-04  Alan Modra  <amodra@gmail.com>
3747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3748         HIWORD/LOWORD.
3749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3752 2013-10-04  Alan Modra  <amodra@gmail.com>
3754         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3755         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3756         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3757         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3758         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3759         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3760         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3761         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3762         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3763         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3765 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3766             Alistair Popple <alistair@ozlabs.au.ibm.com>
3767             Alan Modra <amodra@gmail.com>
3769         [BZ #15723]
3770         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3771         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3772         _dl_hwcap access for little-endian.
3773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3774         destroy vmx regs when saving unaligned.
3775         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3776         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3777         destroy vmx regs when saving unaligned.
3779 2013-10-04  Alan Modra  <amodra@gmail.com>
3781         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3782         Don't use a union to pack hi/low value.
3784 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3786         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3787         for little-endian.
3788         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3790         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3791         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3792         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3794 2013-10-04  Alan Modra  <amodra@gmail.com>
3796         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3797         constants to usual value for .cst8 section, and remove redundant
3798         high address load.
3799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3800         constant for 0x1p52.  Load little-endian words of double from
3801         correct stack offsets.
3803 2013-10-04  Alan Modra  <amodra@gmail.com>
3805         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3806         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3807         words of double from correct stack offsets.
3808         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3809         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3811         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3812         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3813         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3814         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3815         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3816         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3817         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3819         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3820         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3821         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3822         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3823         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3824         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3826 2013-10-04  Alan Modra  <amodra@gmail.com>
3828         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3829         64-bit int/double union.
3830         (_FPU_SETCW): Likewise.
3831         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3832         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3834 2013-10-04  Alan Modra  <amodra@gmail.com>
3836         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3837         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3839 2013-10-04  Alan Modra  <amodra@gmail.com>
3841         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3842         use vector int constants.
3843         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3845 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3847         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3848         array with long long.
3849         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3850         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3851         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3852         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3853         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3854         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3855         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3856         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3857         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3858         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3859         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3860         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3861         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3863 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3865         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3866         (__signbit): Likewise.  Correct for little-endian.
3867         (__signbitl): Call __signbit.
3868         (lrint): Correct for little-endian.
3869         (lrintf): Call lrint.
3871 2013-10-04  Alan Modra  <amodra@gmail.com>
3873         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3874         union 32-bit int array member with 64-bit int array.
3875         (t515, tm256): Double rather than long double.
3876         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3878 2013-10-04  Alan Modra  <amodra@gmail.com>
3880         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3881         Delete.
3882         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3884         version of math_ldbl.h.
3886 2013-10-04  Alan Modra  <amodra@gmail.com>
3888         [BZ #15734], [BZ #15735]
3889         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3890         all uses of ieee875 long double macros and unions.  Simplify test
3891         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3892         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3893         normalize after ldbl_extract_mantissa, and don't add hidden bit
3894         already handled.  Don't treat low word of ieee854 mantissa like
3895         low word of IBM long double and mask off bit when testing for
3896         zero.
3897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3898         all uses of ieee875 long double macros and unions.  Simplify tests
3899         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3900         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3901         two1022, instead use their values.  Recognise that tests for large
3902         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3903         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3904         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3905         test for 0.0L and nan.  Correct negation.
3906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3907         ieee875 long double macros and unions.  Correct output for large
3908         magnitude x.  Correct absolute value calculation.
3909         (__erfcl): Likewise.
3910         * math/libm-test.inc: Add tests for errors discovered in IBM long
3911         double versions of fmodl, remainderl, erfl and erfcl.
3913 2013-10-04  Alan Modra  <amodra@gmail.com>
3915         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3916         all uses of ieee854 long double macros and unions.  Simplify tests
3917         for long doubles that are fully specified by the high double.
3918         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3919         Likewise.
3920         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3921         Remove dead code too.
3922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3923         (__ieee754_ynl): Likewise.
3924         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3927         Remove dead code too.
3928         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3929         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3930         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3931         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3932         Simplify.
3933         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3934         Simplify.
3935         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3938         Comment on variable precision.
3939         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3941         Likewise.
3942         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3944         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3946         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3948 2013-10-04  Alan Modra  <amodra@gmail.com>
3950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3952         all uses of ieee854 long double macros and unions.
3953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3955         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3956         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3957         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3959         Likewise.
3960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3963         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3965         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3966         Simplify sign and nan test too.
3967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3968         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3970         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3971         Likewise.
3972         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3973         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3974         Likewise.
3975         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3976         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3977         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3978         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3979         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3982 2013-10-04  Alan Modra  <amodra@gmail.com>
3984         * stdio-common/printf_size.c (__printf_size): Don't use
3985         union ieee854_long_double in fpnum union.
3986         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3987         signbit macro to retrieve sign from long double.
3988         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3989         retrieve sign from long double.
3990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3991         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3992         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3993         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3994         * math/test-misc.c (main): Don't use union ieee854_long_double.
3996 2013-10-04  Alan Modra  <amodra@gmail.com>
3998         [BZ #15680]
3999         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4000         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4001         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4002         calculation.  Remove unnecessary test for denormal exponent.
4003         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4004         Correct handling of denormals.  Avoid undefined shift behaviour.
4005         Correct normalisation of low mantissa when low double is denormal.
4006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4007         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4008         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4009         Correct normalisation of low mantissa.  Test for overflow of high
4010         mantissa and normalise.
4011         (ldbl_nearbyint): Use more readable constant for two52.
4012         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4013         (__mpn_construct_long_double): Fix test for overflow of high
4014         mantissa and correct normalisation.  Avoid undefined shift.
4016 2013-10-04  Alan Modra  <amodra@gmail.com>
4018         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4019         (union ibm_extended_long_double): Define as an array of ieee754_double.
4020         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4021         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4022         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4023         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4024         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4025         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4027         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4028         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4029         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4030         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4032 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4034         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4035         page size instead of calling getpagesize.
4037         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4038         (LOCFILE_ALIGN_MASK): Likewise.
4039         (LOCFILE_ALIGN_UP): Likewise.
4040         (LOCFILE_ALIGNED_P): Likewise.
4041         * locale/programs/ld-collate.c (collate_output): Use the new
4042         macros instead of __alignof__ (int32_t).
4043         * locale/weight.h (findidx): Likewise.
4045 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4047         [BZ #431]
4048         * manual/string.texi: Fix strncat and wcsncat.
4050 2013-10-03  Brooks Moses  <bmoses@google.com>
4052         [BZ #15915]
4053         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4054         * Makerules: ...here, and adjust associated comments.
4056 2013-10-02  Will Newton  <will.newton@linaro.org>
4058         * malloc/Makefile: Add tst-pvalloc.
4059         * malloc/tst-pvalloc.c: New file.
4061 2013-10-02  Will Newton  <will.newton@linaro.org>
4063         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4064         improve test coverage.
4066 2013-10-02  Will Newton  <will.newton@linaro.org>
4068         * malloc/Makefile: Add tst-posix_memalign.
4069         * malloc/tst-posix_memalign.c: New file.
4071 2013-10-01  Eric Blake  <eblake@redhat.com>
4073         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4074         Use __THROWNL rather than __THROW on static functions.
4076 2013-09-30  Petr Machata  <pmachata@redhat.com>
4078         * elf/elf.h (R_AARCH64_ABS16): New macro.
4079         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4080         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4081         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4082         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4083         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4084         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4085         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4086         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4087         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4088         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4089         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4090         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4091         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4092         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4093         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4094         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4095         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4096         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4097         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4098         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4099         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4100         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4101         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4102         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4103         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4104         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4105         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4106         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4107         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4108         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4109         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4110         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4111         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4112         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4113         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4114         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4115         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4116         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4117         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4118         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4119         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4120         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4121         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4122         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4123         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4124         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4125         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4126         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4127         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4128         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4129         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4130         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4131         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4132         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4133         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4134         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4135         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4136         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4137         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4138         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4139         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4140         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4141         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4142         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4143         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4144         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4145         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4146         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4147         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4148         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4149         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4150         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4151         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4152         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4153         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4154         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4155         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4156         (R_AARCH64_TLSDESC_LDR): Likewise.
4157         (R_AARCH64_TLSDESC_ADD): Likewise.
4158         (R_AARCH64_TLSDESC_CALL): Likewise.
4160 2013-09-30  Andreas Schwab  <schwab@suse.de>
4162         [BZ #15048]
4163         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4164         the nss database lookup.
4165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4168 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4170         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4172 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4174         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4175         ${Bash-specific parameter/pattern/string} parameter expansion.
4176         * sysdeps/unix/make-syscalls.sh: Likewise.
4178 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4180         * sysdeps/sh/stackguard-macros.h: New file.
4182 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4186         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4187         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4189         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4191 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4193         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4194         Fix thread ID register.
4196 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4198         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4199         [POSIX || UNIX98]: Require rather than permitting all symbols from
4200         <time.h>.
4201         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4202         element of struct sched_param.
4203         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4204         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4205         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4206         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4207         constant.
4209 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4211         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4212         argument calculation.
4214 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4216         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4217         Expect macro.
4218         [POSIX] (pthread_attr_t): Do not require type.
4219         [POSIX] (pthread_cond_t): Likewise.
4220         [POSIX] (pthread_condattr_t): Likewise.
4221         [POSIX] (pthread_key_t): Likewise.
4222         [POSIX] (pthread_mutex_t): Likewise.
4223         [POSIX] (pthread_mutexattr_t): Likewise.
4224         [POSIX] (pthread_once_t): Likewise.
4225         [POSIX] (pthread_t): Likewise.
4226         [POSIX-based standards] (pthread_atfork): Expect function.
4228 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4229             Richard Sandiford  <richard@codesourcery.com>
4231         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4232         (swap_endianness_p): New extern variable.
4233         (set_big_endian): New inline function.
4234         (maybe_swap_uint32): Likewise.
4235         (maybe_swap_uint32_array): Likewise.
4236         (maybe_swap_uint32_obstack): Likewise.
4237         * locale/programs/locfile.c: Include <stdbool.h>.
4238         (swap_endianness_p): New variable.
4239         (add_locale_uint32): Call maybe_swap_uint32.
4240         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4241         (write_locale_data): Call maybe_swap_uint32_array.
4242         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4243         maybe_swap_uint32.
4244         (obstack_int32_grow_fast): Likewise.
4245         (output_weightwc): Call maybe_swap_uint32_obstack.
4246         (collate_output): Likewise.
4247         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4248         (OPT_LITTLE_ENDIAN): Likewise.
4249         (options): Add --little-endian and --big-endian options.
4250         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4251         * locale/programs/locarchive.c: Include "locfile.h".
4252         (GET): New macro.
4253         (SET): Likewise.
4254         (INC): Likewise.
4255         (create_archive): Use the new macros to access fields of
4256         structures directly mapped from or written to locale archives.
4257         (oldlocrecentcmp): Likewise.
4258         (enlarge_archive): Likewise.
4259         (insert_name): Likewise.
4260         (add_alias): Likewise.
4261         (add_locale): Likewise.
4262         (delete_locales_from_archive): Likewise.
4263         (show_archive_content): Likewise.
4264         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4265         locale data.
4267 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4269         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4270         http://www.gnu.org/doc/freemanuals.texi.
4271         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4273 2013-09-24  Will Newton  <will.newton@linaro.org>
4275         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4276         macro.
4278 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4280         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4281         unsigned char.
4283 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4285         * manual/threads.texi (POSIX Threads): Fix a typo.
4287 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4289         [BZ #14547]
4290         * string/tst-strcoll-overflow.c: New test case.
4291         * string/Makefile (xtests): Add tst-strcoll-overflow.
4292         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4293         cache if string sizes may cause integer overflow.
4295         [BZ #14547]
4296         * string/strcoll_l.c (coll_seq): New members rule, idx,
4297         save_idx and back_us.
4298         (get_next_seq_nocache): New function.
4299         (do_compare_nocache): New function.
4300         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4301         when malloc fails.
4303 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4305         [BZ #15754]
4306         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4307         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4308         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4310         [BZ #15754]
4311         * elf/Makefile (tests): Add tst-ptrguard1.
4312         (tests-static): Add tst-ptrguard1-static.
4313         (tst-ptrguard1-ARGS): Define.
4314         (tst-ptrguard1-static-ARGS): Define.
4315         * elf/tst-ptrguard1.c: New file.
4316         * elf/tst-ptrguard1-static.c: New file.
4317         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4318         * sysdeps/i386/stackguard-macros.h: Likewise.
4319         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4320         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4321         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4322         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4323         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4324         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4326 2013-09-23  Hector Marco  <hecmargi@upv.es>
4327             Ismael Ripoll  <iripoll@disca.upv.es>
4328             Carlos O'Donell  <carlos@redhat.com>
4330         [BZ #15754]
4331         * sysdeps/generic/stackguard-macros.h: Define
4332         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4333         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4334         Define __pointer_chk_guard_local.
4335         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4336         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4338 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4340         [BZ #15859]
4341         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4343 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4345         * include/string.h (__ffs): Declare as hidden.
4346         * string/ffs.c (__ffs): Define as hidden.
4347         * sysdeps/i386/ffs.c (__ffs): Likewise.
4348         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4349         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4350         * sysdeps/s390/ffs.c (__ffs): Likewise.
4351         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4353 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4355         * NEWS: Mention malloc probes.
4357         * malloc/arena.c (new_heap): New memory_heap_new probe.
4358         (grow_heap): New memory_heap_more probe.
4359         (shrink_heap): New memory_heap_less probe.
4360         (heap_trim): New memory_heap_free probe.
4361         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4362         (systrim): New memory_sbrk_less probe.
4363         * manual/probes.texi: Document them.
4365         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4366         * manual/probes.texi: Document it.
4368         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4369         (__libc_realloc): Add memory_realloc_retry probe.
4370         (__libc_memalign): Add memory_memalign_retry probe.
4371         (__libc_valloc): Add memory_valloc_retry probe.
4372         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4373         (__libc_calloc): Add memory_calloc_retry probe.
4374         * manual/probes.texi: Document them.
4376         * malloc/arena.c (get_free_list): Add probe
4377         memory_arena_reuse_free_list.
4378         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4379         and memory_arena_reuse.
4380         (arena_get2) [!PER_THREAD]: Likewise.
4381         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4382         memory_arena_reuse_realloc.
4383         * manual/probes.texi: Document them.
4385         * malloc/malloc.c (__libc_free): Add
4386         memory_mallopt_free_dyn_thresholds probe.
4387         (__libc_mallopt): Add multiple memory_mallopt probes.
4388         * manual/probes.texi: Document them.
4390         * malloc/malloc.c: Include stap-probe.h.
4391         (__libc_mallopt): Add memory_mallopt probe.
4392         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4393         * manual/probes.texi: New.
4394         * manual/Makefile (chapters): Add probes.
4395         * manual/threads.texi: Set next node.
4397 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4399         [BZ #15963, #13985]
4400         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4401         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4402         Add `Chinese' to `nan' entry name.
4404 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4406         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4407         (POLYNOMIAL): Likewise.
4408         (TAYLOR_SINCOS): Likewise.
4409         (TAYLOR_SLOW): Likewise.
4410         (__sin): Use TAYLOR_SINCOS.
4411         (__cos): Likewise.
4412         (slow): Use TAYLOR_SLOW.
4413         (sloww): Likewise.
4414         (bsloww): Likewise.
4415         (csloww): Likewise.
4417 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4419         * stdlib/strtod_l.c: Fix buffer overrun.
4421 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4423         * benchtests/Makefile (bench): Add sincos.
4424         * benchtests/bench-sincos.c: New file.
4426         * math/libm-test.inc (cos_test_data): New test inputs.
4427         (sin_test_data): Likewise.
4429         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4430         macro.
4431         (__sin): Use it.
4432         (__cos): Likewise.
4433         (slow1): Likewise.
4434         (slow2): Likewise.
4435         (sloww1): Likewise.
4436         (sloww2): Likewise.
4437         (bsloww1): Likewise.
4438         (bsloww2): Likewise.
4439         (cslow2): Likewise.
4440         (csloww1): Likewise.
4441         (csloww2): Likewise.
4443         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4444         function.
4445         (__sin): Use it.
4446         (__cos): Likewise.
4448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4449         gotos.
4450         (__cos): Likewise.
4452 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4454         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4455         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4456         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4457         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4458         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4459         * elf/cache.c (print_entry): Handle the new cache flags.
4461 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4462             Aldy Hernandez  <aldyh@redhat.com>
4464         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4465         Change condition to [_SOFT_FLOAT].
4466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4478         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4481         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4482         declaration.
4484 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4486         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4487         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4488         (__longjmp): Use LOAD_GP to load saved GPRs.
4489         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4490         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4491         (__sigsetjmp): Use SAVE_GP to save GPRs.
4493         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4494         Do not append -msoft-float.
4495         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4497 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4499         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4501 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4503         [BZ #15966]
4504         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4505         (_FPU_GETCW): Use initial "__" on variable and field names but not
4506         on macro parameter name.
4507         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4508         parentheses around reference to macro parameter.
4510 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4512         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4513         prototype.
4514         (ctype_startup): Use uint32_t in cast and sizeof for
4515         ctype->charnames.
4517 2013-09-11  Jia Liu  <proljc@gmail.com>
4519         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4520         __daddr_t_defined.
4521         [__FreeBSD__]: Likewise.
4523 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4526         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4527         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4528         (strchr): Remove __strchr_sse42 ifunc selection.
4529         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4530         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4532 2013-09-11  Will Newton  <will.newton@linaro.org>
4534         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4535         parameter to RES. Remove hardcoded 1000 value.
4536         * benchtests/bench-skeleton.c (main): Pass RES parameter
4537         to TIMING_INIT and multiply result by 1000.
4539 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4543 2013-09-11  Andreas Schwab  <schwab@suse.de>
4545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4546         if not defined.
4547         (O_TMPFILE) [__USE_GNU]: Define.
4548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4549         Define.
4551 2013-09-11  Will Newton  <will.newton@linaro.org>
4553         [BZ #15857]
4554         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4555         does not overflow.
4557 2013-09-11  Will Newton  <will.newton@linaro.org>
4559         [BZ #15856]
4560         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4561         does not overflow.
4563 2013-09-11  Will Newton  <will.newton@linaro.org>
4565         [BZ #15855]
4566         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4567         does not overflow.
4569 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4571         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4572         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4575         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4577 2013-09-10  Allan McRae  <allan@archlinux.org>
4579         [BZ #15748]
4580         * manual/arith.texi (Parsing of Floats): Clarify
4581         cross-reference.
4583         [BZ #15849]
4584         * manual/install.texi (Running make install): Mention
4585         --enable-pt-chown.
4586         * INSTALL: Regenerated.
4588 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4590         * csu/init-first.c (_init): Remove the !SHARED condition around
4591         FPU control word initialization.
4592         * elf/dl-support.c (_dl_fpu_control): New variable.
4593         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4594         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4595         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4596         * math/test-fpucw-static.c: New file.
4597         * math/test-fpucw-ieee.c: New file.
4598         * math/test-fpucw-ieee-static.c: New file.
4599         * math/Makefile (tests): Add `test-fpucw-ieee' and
4600         `$(tests-static)'.
4601         (tests-static): New variable.
4602         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4603         dependency to...
4604         [($(build-shared),yes)]
4605         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4606         ... this.
4607         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4608         New dependency.
4610 2013-09-09  Allan McRae  <allan@archlinux.org>
4612         [BZ #15939]
4613         * manual/string.texi (Collation Functions): Fix typo in
4614         strcoll example.
4615         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4617         [BZ #15893]
4618         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4620         [BZ #15892]
4621         * libio/memstream.c (open_memstream): Fix memory leak.
4622         * libio/wmemstream.c (open_wmemstream): Likewise.
4624         [BZ #15895]
4625         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4627 2013-09-09  Will Newton  <will.newton@linaro.org>
4629         * malloc/Makefile: Add tst-realloc to tests.
4630         * malloc/tst-realloc.c: New file.
4632 2013-09-09  Allan McRae  <allan@archlinux.org>
4634         [BZ #15844]
4635         * COPYING: Update from GNU website to fix FSF address.
4636         * COPYING.LIB: Likewise.
4638 2013-09-06  David S. Miller  <davem@davemloft.net>
4640         * po/zh_TW.po: Update Chinese (traditional) translation from
4641         translation project.
4643 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4644             Joseph Myers  <joseph@codesourcery.com>
4646         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4647         "localeinfo.h".
4648         (obstack_chunk_alloc): New macro.
4649         (obstack_chunk_free): Likewise.
4650         (record_offset): New function.
4651         (init_locale_data): Likewise.
4652         (align_locale_data): Likewise.
4653         (add_locale_empty): Likewise.
4654         (add_locale_raw_data): Likewise.
4655         (add_locale_raw_obstack): Likewise.
4656         (add_locale_string): Likewise.
4657         (add_locale_wstring): Likewise.
4658         (add_locale_uint32): Likewise.
4659         (add_locale_uint32_array): Likewise.
4660         (add_locale_char): Likewise.
4661         (start_locale_structure): Likewise.
4662         (end_locale_structure): Likewise.
4663         (start_locale_prelude): Likewise.
4664         (end_locale_prelude): Likewise.
4665         (write_locale_data): Take locale_file structure rather than an
4666         iovec.
4667         * locale/programs/locfile.h: Include "obstack.h".
4668         (struct locale_file): Change to store locale file contents instead
4669         of header.
4670         (init_locale_data): New prototype.
4671         (align_locale_data): Likewise.
4672         (add_locale_empty): Likewise.
4673         (add_locale_raw_data): Likewise.
4674         (add_locale_raw_obstack): Likewise.
4675         (add_locale_string): Likewise.
4676         (add_locale_wstring): Likewise.
4677         (add_locale_uint32): Likewise.
4678         (add_locale_uint32_array): Likewise.
4679         (add_locale_char): Likewise.
4680         (start_locale_structure): Likewise.
4681         (end_locale_structure): Likewise.
4682         (start_locale_prelude): Likewise.
4683         (end_locale_prelude): Likewise.
4684         (write_locale_data): Update prototype.
4685         * locale/programs/3level.h (struct TABLE): Remove result field.
4686         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4687         Use new locale_file interface.
4688         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4689         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4690         * locale/programs/ld-address.c (address_output): Use new
4691         locale_file interface.
4692         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4693         NO_ADD_LOCALE.
4694         (collate_finish): Don't call collseq_table_finalize.
4695         (collate_output): Use new locale_file interface.
4696         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4697         in file.
4698         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4699         (TABLE): Move defines earlier in file.
4700         (ELEMENT): Likewise.
4701         (DEFAULT): Likewise.
4702         (wctrans_table_add): Move macro and inline function earlier in
4703         file.
4704         (struct wctype_table): Move type earlier in file.
4705         (add_locale_wctype_table): New static prototype.
4706         (struct locale_ctype_t): Use logical types instead of struct iovec
4707         pointers for members.
4708         (ctype_output): Use new locale_file interface.
4709         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4710         new locale_file interface.
4711         (allocate_arrays): Update for use of new locale_file interface.
4712         * locale/programs/ld-identification.c (identification_output): Use
4713         new locale_file interface.
4714         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4715         * locale/programs/ld-messages.c (messages_output): Likewise.
4716         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4717         * locale/programs/ld-name.c (name_output): Likewise.
4718         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4719         * locale/programs/ld-paper.c (paper_output): Likewise.
4720         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4721         * locale/programs/ld-time.c (time_output): Likewise.
4723 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4725         * benchtests/Makefile: Add memrchr benchmark.
4726         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4727         benchmark as memrchr.
4728         * benchtests/bench-memrchr-ifunc.c: New file.
4729         * benchtests/bench-memrchr.c: New file.
4731 2013-09-06   Will Newton  <will.newton@linaro.org>
4733         * benchtests/Makefile (string-bench): Add memcpy.
4735 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4736             Cong Wang  <amwang@redhat.com>
4738         * sysdeps/unix/sysv/linux/bits/in.h
4739         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4740         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4741         before __USE_KERNEL_IPV6_DEFS uses.
4742         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4743         IPPROTO_BEETPH.
4744         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4745         sockaddr_in6, or ipv6_mreq.
4747 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4749         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4750         memory access for final bytes in some large inputs.
4751         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4753 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4755         * string/test-memrchr.c: New file.
4756         * string/test-memrchr-ifunc.c: New file.
4757         * string/Makefile: Add new memrchr testcase.
4759 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4761         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4762         fanotify_init returns EPERM.
4764 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4766         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4767         errors.
4768         (top level): Treat second token from macro or constant entries for
4769         allowed headers as allowed.
4770         * include/complex.h: Condition internal declarations on
4771         [!_ISOMAC].
4772         * include/fenv.h: Condition include of <stdbool.h> and internal
4773         declarations on [!_ISOMAC].
4775 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4777         [BZ #15923]
4778         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4780 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4782         * configure.in (--enable-versioning): Remove configure option.
4783         (libc_cv_asm_symver_directive): Remove configure test.
4784         (libc_cv_ld_version_script_option): Likewise.
4785         (VERSIONING): Remove variable and AC_SUBST.
4786         (DO_VERSIONING): Remove AC_DEFINE.
4787         * configure: Regenerated.
4788         * config.h.in (DO_VERSIONING): Remove macro.
4789         * Makerules [$(versioning) = yes]: Change conditionals to
4790         [$(build-shared) = yes].
4791         * config.make.in (versioning): Remove variable.
4792         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4793         [$(build-shared) = yes].
4794         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4795         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4796         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4797         [$(build-shared) = yes].
4798         * extra-lib.mk [$(versioning) = yes]: Likewise.
4799         * hurd/Makefile [$(versioning) = yes]: Likewise.
4800         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4801         [SHARED].
4802         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4803         [SHARED].
4804         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4805         [SHARED && !NO_HIDDEN].
4806         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4807         [SHARED].
4808         [SHARED && DO_VERSIONING]: Likewise..
4809         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4810         [$(build-shared) = yes].
4811         * manual/install.texi (--disable-versioning): Remove
4812         documentation.
4813         * INSTALL: Regenerated.
4814         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4815         to [SHARED].
4816         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4817         [$(build-shared) = yes].
4818         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4819         * sysdeps/i386/i686/multiarch/strstr-c.c
4820         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4821         [SHARED && !NO_HIDDEN].
4822         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4823         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4824         * sysdeps/powerpc/powerpc32/dl-machine.c
4825         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4826         * sysdeps/powerpc/powerpc32/sysdep.h
4827         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4828         to [SHARED && PIC && !NO_HIDDEN].
4829         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4830         conditional to [SHARED].
4832 2013-09-04   Will Newton  <will.newton@linaro.org>
4834         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4835         * benchtests/bench-string.h: Include bench-timing.h instead
4836         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4837         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4838         call to HP_TIMING_DIFF_INIT.
4839         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4840         instead of hp-timing.h macros.
4841         * benchtests/bench-memchr.c: Likewise.
4842         * benchtests/bench-memcmp.c: Likewise.
4843         * benchtests/bench-memcpy.c: Likewise.
4844         * benchtests/bench-memmem.c: Likewise.
4845         * benchtests/bench-memmove.c: Likewise.
4846         * benchtests/bench-memset.c: Likewise.
4847         * benchtests/bench-rawmemchr.c: Likewise.
4848         * benchtests/bench-strcasecmp.c: Likewise.
4849         * benchtests/bench-strcasestr.c: Likewise.
4850         * benchtests/bench-strcat.c: Likewise.
4851         * benchtests/bench-strchr.c: Likewise.
4852         * benchtests/bench-strcmp.c: Likewise.
4853         * benchtests/bench-strcpy.c: Likewise.
4854         * benchtests/bench-strcpy_chk.c: Likewise.
4855         * benchtests/bench-strlen.c: Likewise.
4856         * benchtests/bench-strncasecmp.c: Likewise.
4857         * benchtests/bench-strncat.c: Likewise.
4858         * benchtests/bench-strncmp.c: Likewise.
4859         * benchtests/bench-strncpy.c: Likewise.
4860         * benchtests/bench-strnlen.c: Likewise.
4861         * benchtests/bench-strpbrk.c: Likewise.
4862         * benchtests/bench-strrchr.c: Likewise.
4863         * benchtests/bench-strspn.c: Likewise.
4864         * benchtests/bench-strstr.c: Likewise.
4866 2013-09-04  Will Newton  <will.newton@linaro.org>
4868         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4870 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4872         [BZ #15427]
4873         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4874         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4875         * math/libm-test.inc (lgamma_test_data): Add more tests.
4876         * sysdeps/i386/fpu/libm-test-ulps: Update.
4877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4879 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4881         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4883         Add ifunc.
4884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4885         Add strcmp-sse2-unaligned
4886         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4888 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4890         * Versions.def (libc): Add GLIBC_2.19.
4892 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4894         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4895         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4897 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4899         [BZ #14155]
4900         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4901         intermediate calculations in recurrence.
4902         (__ieee754_ynf): Likewise.
4903         * math/libm-test.inc (jn_test_data): Do not allow spurious
4904         underflow exception.  Add more tests.
4905         (yn_test_data): Add more tests.
4906         * sysdeps/i386/fpu/libm-test-ulps: Update.
4907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4909 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4911         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4913 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4915         * csu/init-first.c: Fix then/than typos.
4916         * locale/programs/ld-collate.c: Likewise.
4917         * locale/programs/linereader.h: Likewise.
4918         * manual/charset.texi: Likewise.
4919         * manual/filesys.texi: Likewise.
4920         * manual/stdio.texi: Likewise.
4921         * manual/string.texi: Likewise.
4922         * stdlib/fmtmsg.c: Likewise.
4923         * sysdeps/i386/stpncpy.S: Likewise.
4924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4925         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4926         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4927         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4929 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4931         * elf/dl-open.c: Fix typos.
4932         * iconvdata/gbbig5.c: Likewise.
4933         * iconvdata/iso-2022-jp.c: Likewise.
4934         * iconv/gconv_int.h: Likewise.
4935         * iconv/loop.c: Likewise.
4936         * nis/rpcsvc/nis.h: Likewise.
4937         * resolv/ns_name.c: Likewise.
4938         * stdio-common/vfscanf.c: Likewise.
4939         * streams/stropts.h: Likewise.
4940         * sunrpc/rpc_thread.c: Likewise.
4941         * sysdeps/i386/strpbrk.S: Likewise.
4942         * sysdeps/ieee754/k_standard.c: Likewise.
4943         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4945         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4946         * sysdeps/mach/hurd/profil.c: Likewise.
4947         * sysdeps/s390/dl-procinfo.h: Likewise.
4948         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4950         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4951         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4952         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4954 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4956         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4959 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4962         aix specific files.
4963         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4964         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4965         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4966         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4967         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4968         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4969         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4970         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4972 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4973             Roland McGrath  <roland@hack.frob.com>
4975         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4976         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4978 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4980         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4981         __executable_start symbol instead of _start.
4983 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4985         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4986         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4987         Move macros to...
4988         * sysdeps/gnu/ldsodefs.h: ... this new file.
4990         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4991         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4992         instead of ELFOSABI_LINUX.
4994         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4995         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4996         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4997         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4998         Likewise.
4999         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5000         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5001         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5002         Likewise.
5003         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5004         (ibm_extended_long_double): Add ieee_nan member.
5005         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5006         (do_test): New function.
5008         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5009         TEST_TRUNC.
5010         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5011         functions, renamed from truncdfsf_test, trunctfsf_test,
5012         trunctfdf_test.
5013         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5014         functions.
5015         (do_test): Run all these.
5017 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5019         * argp/argp-help.c: Fix typos.
5020         * argp/argp-parse.c: Likewise.
5021         * debug/backtracesyms.c: Likewise.
5022         * elf/elf.h: Likewise.
5023         * malloc/malloc.c: Likewise.
5024         * nis/nis_print.c: Likewise.
5025         * resolv/res_comp.c: Likewise.
5026         * stdlib/stdlib.h: Likewise.
5027         * sunrpc/clnt_tcp.c: Likewise.
5028         * sunrpc/clnt_udp.c: Likewise.
5029         * sunrpc/clnt_unix.c: Likewise.
5030         * sysdeps/unix/bsd/ptsname.c: Likewise.
5031         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5034         Likewise.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5038         Likewise.
5039         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5041 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5043         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5046 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5048         [BZ #15897]
5049         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5050         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5051         ($(objpfx)bug-dl-leaf): New rule.
5052         ($(objpfx)bug-dl-leaf.so): Likewise.
5053         ($(objpfx)bug-dl-leaf.out): Likewise.
5054         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5055         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5056         * dlfcn/bug-dl-leaf.c: New test.
5057         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5058         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5059         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5060         (dlclose): Likewise.
5061         (dlmopen): Likewise.
5063 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5065         * include/netdb.h [!_ISOMAC]:
5066         Don't include <tls.h>.
5067         (h_errno, __libc_h_errno): Move declaration and macros out of
5068         [_LIBC_REENTRANT].
5070         * include/resolv.h [_RESOLV_H_]:
5071         Don't include <tls.h>.
5072         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5073         * resolv/res_libc.c: Don't include <tls.h>.
5074         (_res): Use __attribute__ ((nocommon)) in place of
5075         __attribute__ ((section (".bss"))).
5077         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5078         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5080         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5082         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5083         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5085         * resolv/res_mkquery.c: Include <sys/time.h>.
5087         * inet/ifreq.c: Moved to ...
5088         * sysdeps/unix/ifreq.c: ... here.
5089         * inet/ifreq.c: New file, true stub version.
5091         * socket/sa_len.c: New file.
5092         * socket/Makefile (aux): Add it.
5093         * sysdeps/unix/sysv/linux/Makefile
5094         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5095         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5096         and #include <socket/sa_len.c>.
5097         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5098         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5100         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5101         * bits/socket.h: ... here.
5103         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5104         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5105         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5107 2013-08-27  Andreas Schwab  <schwab@suse.de>
5109         [BZ #15736]
5110         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5111         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5112         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5113         * string/test-strcasecmp.c (test_main): Run tests in several
5114         locales.
5115         * string/test-strncasecmp.c (test_main): Likewise.
5117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5118         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5119         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5121         (__strncasecmp_ssse3) [PIC]: Likewise.
5123 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5125         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5127         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5128         instead of explicitly declaring xdecrypt.
5129         * nis/nss_nis/nis-publickey.c: Likewise.
5131 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5133         [BZ #15890]
5134         * nscd/aicache.c: Include res_hconf.h.
5135         (addhstaiX): Initialize res_hconf.
5137 2013-08-26  Andreas Schwab  <schwab@suse.de>
5139         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5140         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5142 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5144         * nscd/aicache.c (addhstaiX): Fix indentation.
5146 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5148         * configure.ac: Quote $build_pt_chown test.
5149         * configure: Regenerated.
5151 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5153         [BZ #15532]
5154         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5155         * math/s_cexpf.c (__cexpf): Likewise.
5156         * math/s_cexpl.c (__cexpl): Likewise.
5157         * math/libm-test.inc (cexp_test_data): Correct expected return
5158         value for NaN + i0.  Add another test.
5160 2013-08-22  David S. Miller  <davem@davemloft.net>
5162         * po/ca.po: Update Catalan translation from translation project.
5163         * po/uk.po: Add Ukrainian translations from translation project.
5165 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #15797]
5168         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5169         is infinite, not alongside NaN test.
5170         * math/s_fdimf.c (__fdimf): Likewise.
5171         * math/s_fdiml.c (__fdiml): Likewise.
5172         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5173         errno is unchanged.
5175 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5177         * argp/argp-help.c: Fix typos.
5178         * crypt/speeds.c: Likewise.
5179         * csu/check_fds.c: Likewise.
5180         * elf/dl-load.c: Likewise.
5181         * elf/dl-open.c: Likewise.
5182         * elf/reldep3.c: Likewise.
5183         * elf/reldep.c: Likewise.
5184         * elf/sprof.c: Likewise.
5185         * iconv/iconv_charmap.c: Likewise.
5186         * iconv/skeleton.c: Likewise.
5187         * iconv/strtab.c: Likewise.
5188         * io/lockf64.c: Likewise.
5189         * libio/libioP.h: Likewise.
5190         * resolv/gai_notify.c: Likewise.
5191         * resolv/ns_name.c: Likewise.
5192         * resolv/ns_samedomain.c: Likewise.
5193         * resolv/res_send.c: Likewise.
5194         * stdlib/random.c: Likewise.
5195         * sunrpc/rpc/xdr.h: Likewise.
5196         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5197         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5198         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5199         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5200         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5202         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5204         * sysdeps/mach/hurd/check_fds.c: Likewise.
5205         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5206         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5207         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5208         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5209         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5210         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5211         * sysdeps/pthread/aio_notify.c: Likewise.
5212         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5213         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5214         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5215         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5216         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5218 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5220         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5221         version if bit_Slow_SSE4_2 is set.
5222         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5223         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5225 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5227         [BZ #15867]
5228         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5229         trampoline stack frame information.
5230         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5232         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5233         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5234         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5235         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5236         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5237         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5238         sa_flags value.
5239         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5240         interrupting a syscall and set with option SA_SIGINFO.
5242 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5244         [BZ #15531]
5245         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5246         argument is infinite.
5247         * math/s_cprojf.c (__cprojf): Likewise.
5248         * math/s_cprojl.c (__cprojl): Likewise.
5249         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5250         * math/libm-test.inc (cproj_test_data): Add more tests.
5252         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5255         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5256         size.  Use __ffs to determine corresponding shift.
5258 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5259             Roland McGrath  <roland@hack.frob.com>
5261         * Makefile (INSTALL): Remove trailing blank lines from output of
5262         makeinfo.
5264 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5266         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5267         Align 32 bit compat elf_greg to 8 bytes.
5269 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5271         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5273 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5275         * string/strcoll_l.c (coll_seq): New structure.
5276         (get_next_seq_cached): New function.
5277         (get_next_seq): New function.
5278         (do_compare): New function.
5279         (STRCOLL): Use GNU style definition.  Simplify implementation
5280         by using get_next_seq, get_next_seq_cached and do_compare.
5282 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5284         [BZ #14699]
5285         CVE-2013-4237
5286         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5287         member.
5288         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5289         member.
5290         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5291         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5292         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5293         conditional.
5294         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5295         GETDENTS_64BIT_ALIGNED.
5296         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5297         * manual/filesys.texi (Reading/Closing Directory): Document
5298         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5299         strongly.
5300         * manual/conf.texi (Limits for Files): Add portability note to
5301         NAME_MAX, PATH_MAX.
5302         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5304 2013-08-13  Andreas Schwab  <schwab@suse.de>
5306         [BZ #15749]
5307         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5308         of fabs.
5309         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5310         LDBL_MAX_EXP >= 16384]: Add tests for it.
5312 2013-08-12  David S. Miller  <davem@davemloft.net>
5314         * version.h (RELEASE): Set to "development".
5315         (VERSION): Set to "2.18.90".
5316         * NEWS: Add 2.19 section.
5318 2013-08-03  David S. Miller  <davem@davemloft.net>
5320         * po/ko.po: Update Korean translation from translation project.
5322 2013-08-01  David S. Miller  <davem@davemloft.net>
5324         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5325         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5326         Bilka.
5328 2013-07-30  David S. Miller  <davem@davemloft.net>
5330         * po/fr.po: Update French translation from translation project.
5332 2013-07-28  David S. Miller  <davem@davemloft.net>
5334         * po/cs.po: Update Czech translation from translation project.
5336         * po/sv.po: Update Swedish translation from translation project.
5338 2013-07-27  David S. Miller  <davem@davemloft.net>
5340         * po/eo.po: Update Esperanto translation from translation project.
5342         * po/vi.po: Update Vietnamese translation from translation project.
5344         * po/de.po: Update German translation from translation project.
5346 2013-07-26  David S. Miller  <davem@davemloft.net>
5348         * po/bg.po: Update Bulgarian translation from translation project.
5350         * po/nl.po: Update Dutch translation from translation project.
5351         * po/pl.po: Update Polish translation from translation project.
5352         * po/ru.po: Update Russian translation from translation project.
5354 2013-07-24  David S. Miller  <davem@davemloft.net>
5356         * po/libc.pot: Update.
5358 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5360         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5361         variable page size.
5362         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5363         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5364         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5366 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5368         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5370 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5371             Andreas Schwab  <schwab@suse.de>
5372             Roland McGrath  <roland@hack.frob.com>
5373             Joseph Myers  <joseph@codesourcery.com>
5374             Carlos O'Donell  <carlos@redhat.com>
5376         [BZ #15755]
5377         * config.h.in: Define HAVE_PT_CHOWN.
5378         * config.make.in (build-pt-chown): New variable.
5379         * configure.in (--enable-pt_chown): New configure option.
5380         * configure: Regenerate.
5381         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5382         build-pt-chown is enabled.
5383         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5384         pt_chown to fix pty ownership.
5385         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5386         CLOSE_ALL_FDS.
5387         * manual/install.texi (Configuring and compiling): Mention
5388         --enable-pt_chown. Add @findex for grantpt.
5389         * INSTALL: Regenerate.
5391 2013-07-20  David S. Miller  <davem@davemloft.net>
5393         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5394         difference between 32-bit and 64-bit.
5396 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5398         [BZ #15711]
5399         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5400         Avoid system header dependency with -ffreestanding.
5401         ($(objpfx)bits/syscall%d): Likewise.
5403 2013-07-13  David S. Miller  <davem@davemloft.net>
5405         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5406         underflows from atanl/atan2l due to bug 15319.
5407         (casinh_test_data): Likewise.
5409 2013-07-07  David S. Miller  <davem@davemloft.net>
5411         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5413 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5415         * sysdeps/i386/fpu/libm-test-ulps: Update.
5416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5420         * configure.in (--enable-lock-elision): Fix message text.
5421         * INSTALL: Regenerate.
5422         * configure: Regenerate.
5424 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5428 2013-07-03  Andreas Jaeger  <aj@suse.de>
5430         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5431         define.
5432         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5433         (ptrace_peeksiginfo_args): Add.
5434         (__ptrace_peeksiginfo_flags): Add.
5435         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5436         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5437         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5439 2013-07-03  Allan McRae  <allan@archlinux.org>
5441         * sysdeps/i386/fpu/libm-test-ulps: Update.
5443 2013-07-02  David S. Miller  <davem@davemloft.net>
5445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5447 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5451 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5453         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5456 2013-07-02  Andi Kleen <ak@linux.intel.com>
5458         * config.h.in (ENABLE_LOCK_ELISION): Add.
5459         * configure.in (--enable-lock-elision): Add option.
5460         * manual/install.texi: Document --enable lock elision.
5461         * configure: Regenerate
5462         * INSTALL: Regenerate.
5464 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5466         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5467         SSE4.2 strcasecmp for libc.a.
5468         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5470 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5472         [BZ #13304]
5473         * soft-fp/op-common.h (_FP_FMA): New macro.
5474         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5475         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5476         (_FP_MUL_MEAT_1_imm): ... here.
5477         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5478         (_FP_MUL_MEAT_1_wide): ... here.
5479         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5480         (_FP_MUL_MEAT_1_hard): ... here.
5481         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5482         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5483         (_FP_MUL_MEAT_2_wide): ... here.
5484         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5485         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5486         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5487         (_FP_MUL_MEAT_2_gmp): ... here.
5488         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5489         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5490         (_FP_MUL_MEAT_4_wide): ... here.
5491         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5492         (_FP_MUL_MEAT_4_gmp): ... here.
5493         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5494         (_FP_WFRACBITS_DW_S): Likewise.
5495         (_FP_WFRACXBITS_DW_S): Likewise.
5496         (_FP_HIGHBIT_DW_S): Likewise.
5497         (FP_FMA_S): Likewise.
5498         (_FP_FRAC_HIGH_DW_S): Likewise.
5499         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5500         (_FP_WFRACBITS_DW_D): Likewise.
5501         (_FP_WFRACXBITS_DW_D): Likewise.
5502         (_FP_HIGHBIT_DW_D): Likewise.
5503         (FP_FMA_D): Likewise.
5504         (_FP_FRAC_HIGH_DW_D): Likewise.
5505         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5506         (_FP_WFRACBITS_DW_E): Likewise.
5507         (_FP_WFRACXBITS_DW_E): Likewise.
5508         (_FP_HIGHBIT_DW_E): Likewise.
5509         (FP_FMA_E): Likewise.
5510         (_FP_FRAC_HIGH_DW_E): Likewise.
5511         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5512         (_FP_WFRACBITS_DW_Q): Likewise.
5513         (_FP_WFRACXBITS_DW_Q): Likewise.
5514         (_FP_HIGHBIT_DW_Q): Likewise.
5515         (FP_FMA_Q): Likewise.
5516         (_FP_FRAC_HIGH_DW_Q): Likewise.
5517         * soft-fp/fmasf4.c: New file.
5518         * soft-fp/fmadf4.c: Likewise.
5519         * soft-fp/fmatf4.c: Likewise.
5521 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5524         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5525         Silvermont.
5526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5527         macro.
5528         (index_Slow_SSE4_2): Likewise.
5529         (index_Prefer_PMINUB_for_stringop): Likewise.
5530         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5531         bit_Slow_SSE4_2 is set.
5532         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5535 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5537         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5538         rtld_global._dl_hwcap2.
5539         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5540         POWER8.
5541         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5542         POWER8 feature descriptions defined in _dl_hwcap2.
5543         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5544         string handling for POWER8 feature bits.
5545         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5546         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5547         _dl_powerpc_cap_flags.
5548         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5549         * sysdeps/powerpc/rtld-global-offsets.sym
5550         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5551         _dl_hwcap2 in the rtld_global_ro structure.
5553 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5555         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5556         hardware capabilities in support of AT_HWCAP2.
5557         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5558         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5559         GLRO(dl_hwcap2).
5560         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5561         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5562         explicitly the unknown a_type display mechanism is used.
5563         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5564         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5565         struct member.
5566         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5567         to macro prototype for AT_HWCAP2 support.
5568         * sysdeps/i386/dl-procinfo.h: Likewise.
5569         * sysdeps/s390/dl-procinfo.h: Likewise.
5570         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5571         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5572         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5573         return -1 for unknown a_type display fallback.
5574         * sysdeps/sparc/dl-procinfo.h: Likewise.
5575         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5578 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5580         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5581         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5583 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5585         [BZ #12492]
5586         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5587         mprotect making __stack_prot writable.
5589 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5590             Joseph Myers  <joseph@codesourcery.com>
5592         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5593         as being properly aligned.
5595 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5597         * dlfcn/modstatic5.c: New file.
5598         * dlfcn/tststatic5.c: New file.
5599         * dlfcn/Makefile (tests): Add tststatic5.
5600         (tests-static): Likewise.
5601         (modules-names): Add modstatic5.
5602         (tststatic5-ENV): New variable.
5603         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5605         [BZ #15022]
5606         * elf/dl-support.c (_dl_main_map): New variable.
5607         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5608         (_dl_nns, _dl_load_adds): Set to 1.
5609         (_dl_initial_searchlist): Refer to _dl_main_map.
5610         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5611         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5612         call to _dl_get_origin.
5613         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5614         around call_map.
5615         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5616         * dlfcn/modstatic3.c: New file.
5617         * dlfcn/tststatic3.c: New file.
5618         * dlfcn/tststatic4.c: New file.
5619         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5620         (tests-static): Likewise.
5621         (modules-names): Add modstatic3.
5622         (tststatic3-ENV, tststatic4-ENV): New variables.
5623         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5624         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5626 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5628         * configure.in (CC): Require GCC version 4.4 or later.
5629         * configure: Regenerated.
5630         * manual/install.texi (Tools for Compilation): Update GCC version
5631         requirement.
5632         * INSTALL: Regenerated.
5634 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5636         [BZ #15674]
5637         * string/test-memcmp.c (check2): New.
5638         (main): Call check2.
5640         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5642 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5644         [BZ #15022]
5645         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5646         over to...
5647         (dl_open_worker) [!SHARED]: ... here.
5649 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5651         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5653 2013-06-25  Richard Henderson  <rth@redhat.com>
5655         * locale/programs/locarchive.c: Include <libc-internal.h>
5657 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5659         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5660         trailing whitespace removed.
5662 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5664         [BZ #10283]
5665         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5666         * locale/programs/locarchive.c: Include libc-mmap.h.
5667         (prepare_address_space): Take two new outputs (the mmap base and len).
5668         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5669         values.
5670         (create_archive): Declare new mmap base and len values for
5671         prepare_address_space, and store the result in ah.
5672         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5673         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5674         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5675         Declare new mmap base and len values for
5676         prepare_address_space, and store the result in new_ah.
5677         (open_archive): Declare new mmap base and len values for
5678         prepare_address_space, and store the result in ah.
5679         (close_archive): If ah->mmap_base is not NULL, use that and
5680         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5681         * sysdeps/generic/libc-mmap.h: New file.
5683 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5685         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5686         (ALIGN_UP): Likewise.
5687         (PTR_ALIGN_DOWN): Likewise.
5688         (PTR_ALIGN_UP): Likewise.
5690 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5692         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5693         entry mapped to PPC_PLATFORM_POWER8.
5694         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5695         POWER8.
5696         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5697         (_dl_string_platform): Add case for exporting platform position for
5698         POWER8.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5700         search path to sysdeps/powerpc/powerpc32/power8 directory.
5701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5702         search path to sysdeps/powerpc/powerpc64/power8 directory.
5703         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5704         power7 directories.
5705         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5706         power7 directories.
5708 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5710         * INSTALL: Regenerate.
5712         * nscd/connections.c (nscd_init): Fix comment.
5714 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5716         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5718         [BZ #15667]
5719         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5720         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5722 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5724         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5725         DL_DST_REQ_STATIC.
5726         (DL_DST_REQ_STATIC): Remove macro.
5728 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5730         [BZ #7006]
5731         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5732         with a shift of 0 bits.
5734 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5736         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5737         $(tststatic-ENV).
5739 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5741         [BZ #15655]
5742         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5744 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5746         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5747         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5748         accepts -fno-tree-loop-distribute-patterns.
5749         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5750         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5751         recursive call.
5752         * string/memset.c (memset): Likewise.
5753         * string/test-memmove.c (simple_memmove): Disable loop transformation
5754         to library calls.
5755         * string/test-memset.c (simple_memset): Likewise.
5756         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5757         * benchtests/bench-memset.c (simple_memset): Likewise.
5758         * configure: Regenerated.
5760 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5762         * math/test-misc.c (main): Ignore fesetround failure when failures
5763         of subsequent rounding tests would be ignored.
5765         [BZ #15654]
5766         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5767         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5768         * math/fegetenv.c (__fegetenv): Return 0.
5769         * math/fegetexcept.c (fegetexcept): Return 0.
5770         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5771         FE_TONEAREST.
5772         * math/feholdexcpt.c (feholdexcept): Return 0.
5773         * math/fesetenv.c (__fesetenv): Return 0.
5774         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5775         argument FE_TONEAREST.
5776         * math/feupdateenv.c (__feupdateenv): Return 0.
5777         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5779 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5781         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5782         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5783         ($(objpfx)rtld-%.os rules): Use them.
5785 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5787         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5788         fields.
5790 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5792         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5793         length of target pattern, then descending length of dependency pattern.
5794         * configure.in (AWK): Require gawk 3.1.2 or newer.
5795         * manual/install.texi (Tools for Compilation): Say that we do.
5796         * configure: Regenerated.
5798         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5799         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5800         * scripts/sysd-rules.awk: ... this new script.
5801         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5802         than a glob-style pattern.
5804 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5806         * math/test-misc.c (main): Do not treat incorrectly rounded
5807         conversions as failure unless ROUNDING_TESTS passes.
5809 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5811         [BZ #15631]
5812         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5813         restore exception state around main square root computation, then
5814         check for inexactness explicitly.
5816         * math/libm-test.inc (fma_test_data): Add another test.
5818 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5820         * manual/threads.texi (Non-POSIX Extensions): New document
5821         node.  Document pthread_getattr_default_np and
5822         pthread_setattr_default_np.
5824         * Versions.def (libpthread): Add GLIBC_2.18.
5825         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5827         Likewise.
5828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5837         Likewise.
5838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5839         Likewise.
5840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5841         Likewise.
5842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5843         Likewise.
5845 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5848         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5850 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5851             H.J. Lu  <hjl.tools@gmail.com>
5853         [BZ #15627]
5854         * sysdeps/x86_64/rtld-memset.c: Remove file.
5855         * sysdeps/x86_64/rtld-memset.S: New file.
5857 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5859         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5860         (test_in_one_mode): Take arguments for whether the rounding mode
5861         is supported for each floating-point type.
5862         (do_test): Pass new arguments to test_in_one_mode using
5863         ROUNDING_TESTS.
5865 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5867         * posix/tst-waitid.c (do_test): Distinguish different instances of
5868         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5869         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5870         before entering the kernel for waitpid.
5872 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5874         * NEWS: Fix note on clock function precision.  Text by Roland
5875         McGrath.
5877 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5879         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5880         it into place only when and if the sanity check passes.
5882 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5884         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5885         output for whether conversion result is exact.  Take argument
5886         indicating whether type is IBM long double.
5887         (round_for_all): Change need_exact field to ibm_ld.
5888         * stdlib/tst-strtod-round.c (struct exactness): New type.
5889         (struct test): Change bool ld_ok field to struct exactness exact.
5890         (TEST): Update all definitions for change to field.
5891         (tests): Regenerate array contents.
5892         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5893         field value.  Check for IBM long double here.
5894         (do_test): Update calls to test_in_one_mode.
5896 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5898         [BZ #12515]
5899         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5900         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5902 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5904         [BZ #15605]
5905         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5906         generated by the compiler on loop optimizations.
5907         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5908         general definitions.
5910 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5912         * math/bug-nextafter.c: Include <math-tests.h>.
5913         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5914         the relevant type.
5915         * math/bug-nexttoward.c: Include <math-tests.h>.
5916         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5917         the relevant type.
5918         * math/test-misc.c: Include <math-tests.h>.
5919         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5920         the relevant type.
5922 2013-06-12  Andreas Jaeger  <aj@suse.de>
5924         * po/ia.po: Update Interlingua translation from translation
5925         project.
5927 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5929         * include/fenv.h: Include stdbool.h.
5930         (struct rm_ctx): New structure.
5931         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5932         Define macro.
5933         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5934         (SET_RESTORE_ROUNDF): Likewise.
5935         (SET_RESTORE_ROUNDL): Likewise.
5936         (SET_RESTORE_ROUND_NOEX): Likewise.
5937         (SET_RESTORE_ROUND_NOEXF): Likewise.
5938         (SET_RESTORE_ROUND_NOEXL): Likewise.
5939         (SET_RESTORE_ROUND_53BIT): Likewise.
5940         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5941         (libc_feresetround_noexf_ctx): Likewise.
5942         (libc_feresetround_noexl_ctx): Likewise.
5943         (libc_feholdsetround_53bit_ctx): Likewise.
5944         (libc_feresetround_53bit_ctx): Likewise.
5945         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5946         (libc_feholdexcept_setround_sse_ctx): New function.
5947         (libc_fesetenv_sse_ctx): Likewise.
5948         (libc_feupdateenv_sse_ctx): Likewise.
5949         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5950         (libc_feholdexcept_setround_387_ctx): Likewise.
5951         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5952         (libc_feholdsetround_387_prec_ctx): Likewise.
5953         (libc_feholdsetround_387_ctx): Likewise.
5954         (libc_feholdsetround_387_53bit_ctx): Likewise.
5955         (libc_feholdsetround_sse_ctx): Likewise.
5956         (libc_feresetround_sse_ctx): Likewise.
5957         (libc_feresetround_387_ctx): Likewise.
5958         (libc_feupdateenv_387_ctx): Likewise.
5959         (libc_feholdexcept_setroundf_ctx): Define macro.
5960         (libc_fesetenvf_ctx): Likewise.
5961         (libc_feupdateenvf_ctx): Likewise.
5962         (libc_feholdsetroundf_ctx): Likewise.
5963         (libc_feresetroundf_ctx): Likewise.
5964         (libc_feholdexcept_setround_ctx): Likewise.
5965         (libc_fesetenv_ctx): Likewise.
5966         (libc_feupdateenv_ctx): Likewise.
5967         (libc_feholdsetround_ctx): Likewise.
5968         (libc_feresetround_ctx): Likewise.
5969         (libc_feholdexcept_setroundl_ctx): Likewise.
5970         (libc_feupdateenvl_ctx): Likewise.
5971         (libc_feholdsetroundl_ctx): Likewise.
5972         (libc_feresetroundl_ctx): Likewise.
5973         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5974         (libc_feresetround_53bit_ctx): Likewise.
5976 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5978         * locale/iso-639.def: Convert to UTF-8.
5980 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5982         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5983         (EXCEPTION_TESTS_double): Likewise.
5984         (EXCEPTION_TESTS_long_double): Likewise.
5985         (EXCEPTION_TESTS): Likewise.
5986         * math/libm-test.inc (test_exceptions): Only test exceptions if
5987         EXCEPTION_TESTS (FLOAT).
5989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5991         * benchtests/Makefile (string-bench): Add strcpy_chk and
5992         stpcpy_chk.
5993         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5994         * benchtests/bench-stpcpy_chk.c: New file.
5995         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5996         * benchtests/bench-strcpy_chk.c: New file.
5997         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5998         code.
5999         (do_test): Likewise.
6001 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6004         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6005         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6006         with tabs where appropriate.
6007         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6008         dl-procinfo.h.
6009         [PPC_PLATFORM_PPC440]: Likewise.
6010         [PPC_PLATFORM_PPC464]: Likewise.
6011         [PPC_PLATFORM_PPC476]: Likewise.
6012         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6013         ppc464, and ppc476 platform strings merging from ports/
6014         dl-procinfo.h.
6016 2013-06-11  Andreas Schwab  <schwab@suse.de>
6018         [BZ #14991]
6019         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6020         (from_ucs4_idx): Regenerate.
6021         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6022         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6023         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6024         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6025         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6026         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6027         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6028         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6029         from FROM_LOOP and TO_LOOP specific macros.
6030         (BODY): Handle combining characters.
6031         * iconvdata/BIG5HKSCS.irreversible: Update.
6032         * iconvdata/BIG5HKSCS.precomposed: New file.
6033         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6034         characters.
6035         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6037 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6039         * include/sys/time.h: Fix indentation and add copyright header.
6041         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6042         (do_test): Likewise.
6043         * string/test-memchr.c (do_one_test): Likewise.
6044         (do_test): Likewise.
6045         * string/test-memcmp.c (do_one_test): Likewise.
6046         (do_test): Likewise.
6047         * string/test-memcpy.c (do_one_test): Likewise.
6048         (do_test): Likewise.
6049         * string/test-memmem.c (do_one_test): Likewise.
6050         (do_test): Likewise.
6051         (do_random_tests): Likewise.
6052         * string/test-memmove.c (do_one_test): Likewise.
6053         (do_test): Likewise.
6054         * string/test-memset.c (do_one_test): Likewise.
6055         (do_test): Likewise.
6056         * string/test-rawmemchr.c (do_one_test): Likewise.
6057         (do_test): Likewise.
6058         * string/test-strcasecmp.c (do_one_test): Likewise.
6059         (do_test): Likewise.
6060         * string/test-strcasestr.c (do_one_test): Likewise.
6061         (do_test): Likewise.
6062         * string/test-strcat.c (do_one_test): Likewise.
6063         (do_test): Likewise.
6064         * string/test-strchr.c (do_one_test): Likewise.
6065         (do_test): Likewise.
6066         * string/test-strcmp.c (do_one_test): Likewise.
6067         (do_test): Likewise.
6068         * string/test-strcpy.c (do_one_test): Likewise.
6069         (do_test): Likewise.
6070         * string/test-string.h: Likewise.
6071         (test_init): Likewise.
6072         * string/test-strlen.c (do_one_test): Likewise.
6073         (do_test): Likewise.
6074         * string/test-strncasecmp.c (do_one_test): Likewise.
6075         (do_test): Likewise.
6076         * string/test-strncat.c (do_one_test): Likewise.
6077         (do_test): Likewise.
6078         * string/test-strncmp.c (do_one_test): Likewise.
6079         (do_test_limit): Likewise.
6080         (do_test): Likewise.
6081         * string/test-strncpy.c (do_one_test): Likewise.
6082         (do_test): Likewise.
6083         * string/test-strnlen.c (do_one_test): Likewise.
6084         (do_test): Likewise.
6085         * string/test-strpbrk.c (do_one_test): Likewise.
6086         (do_test): Likewise.
6087         * string/test-strrchr.c (do_one_test): Likewise.
6088         (do_test): Likewise.
6089         * string/test-strspn.c (do_one_test): Likewise.
6090         (do_test): Likewise.
6091         * string/test-strstr.c (do_one_test): Likewise.
6092         (do_test): Likewise.
6094         * benchtests/Makefile (string-bench): Add string benchmarks.
6095         * benchtests/bench-bcopy-ifunc.c: New file.
6096         * benchtests/bench-bcopy.c: New file.
6097         * benchtests/bench-bzero-ifunc.c: New file.
6098         * benchtests/bench-bzero.c: New file.
6099         * benchtests/bench-memccpy-ifunc.c: New file.
6100         * benchtests/bench-memccpy.c: New file.
6101         * benchtests/bench-memchr-ifunc.c: New file.
6102         * benchtests/bench-memchr.c: New file.
6103         * benchtests/bench-memcmp-ifunc.c: New file.
6104         * benchtests/bench-memcmp.c: New file.
6105         * benchtests/bench-memmem-ifunc.c: New file.
6106         * benchtests/bench-memmem.c: New file.
6107         * benchtests/bench-memmove-ifunc.c: New file.
6108         * benchtests/bench-memmove.c: New file.
6109         * benchtests/bench-mempcpy-ifunc.c: New file.
6110         * benchtests/bench-mempcpy.c: New file.
6111         * benchtests/bench-memset-ifunc.c: New file.
6112         * benchtests/bench-memset.c: New file.
6113         * benchtests/bench-rawmemchr-ifunc.c: New file.
6114         * benchtests/bench-rawmemchr.c: New file.
6115         * benchtests/bench-stpcpy-ifunc.c: New file.
6116         * benchtests/bench-stpcpy.c: New file.
6117         * benchtests/bench-stpncpy-ifunc.c: New file.
6118         * benchtests/bench-stpncpy.c: New file.
6119         * benchtests/bench-strcasecmp-ifunc.c: New file.
6120         * benchtests/bench-strcasecmp.c: New file.
6121         * benchtests/bench-strcasestr-ifunc.c: New file.
6122         * benchtests/bench-strcasestr.c: New file.
6123         * benchtests/bench-strcat-ifunc.c: New file.
6124         * benchtests/bench-strcat.c: New file.
6125         * benchtests/bench-strchr-ifunc.c: New file.
6126         * benchtests/bench-strchr.c: New file.
6127         * benchtests/bench-strchrnul-ifunc.c: New file.
6128         * benchtests/bench-strchrnul.c: New file.
6129         * benchtests/bench-strcmp-ifunc.c: New file.
6130         * benchtests/bench-strcmp.c: New file.
6131         * benchtests/bench-strcpy-ifunc.c: New file.
6132         * benchtests/bench-strcpy.c: New file.
6133         * benchtests/bench-strcspn-ifunc.c: New file.
6134         * benchtests/bench-strcspn.c: New file.
6135         * benchtests/bench-strlen-ifunc.c: New file.
6136         * benchtests/bench-strlen.c: New file.
6137         * benchtests/bench-strncasecmp-ifunc.c: New file.
6138         * benchtests/bench-strncasecmp.c: New file.
6139         * benchtests/bench-strncat-ifunc.c: New file.
6140         * benchtests/bench-strncat.c: New file.
6141         * benchtests/bench-strncmp-ifunc.c: New file.
6142         * benchtests/bench-strncmp.c: New file.
6143         * benchtests/bench-strncpy-ifunc.c: New file.
6144         * benchtests/bench-strncpy.c: New file.
6145         * benchtests/bench-strnlen-ifunc.c: New file.
6146         * benchtests/bench-strnlen.c: New file.
6147         * benchtests/bench-strpbrk-ifunc.c: New file.
6148         * benchtests/bench-strpbrk.c: New file.
6149         * benchtests/bench-strrchr-ifunc.c: New file.
6150         * benchtests/bench-strrchr.c: New file.
6151         * benchtests/bench-strspn-ifunc.c: New file.
6152         * benchtests/bench-strspn.c: New file.
6153         * benchtests/bench-strstr-ifunc.c: New file.
6154         * benchtests/bench-strstr.c: New file.
6156         * benchtests/Makefile: Disable parallel execution of targets.
6157         (string-bench): Add memcpy.
6158         (benchset): New variable to store a list of benchmark sets.
6159         (bench-func): Renamed from bench.
6160         (bench-set): New target.
6161         (bench): Depend on bench-func and bench-set.
6162         * benchtests/README: Add section on benchmark sets.
6163         * benchtests/bench-memcpy-ifunc.c: New file.
6164         * benchtests/bench-memcpy.c: New file.
6165         * benchtests/bench-string.h: New file.
6167 2013-06-11  Andreas Schwab  <schwab@suse.de>
6169         [BZ #15577]
6170         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6171         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6172         values in the triple.
6173         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6174         terminator in the group key.
6176 2013-06-11  Andreas Jaeger  <aj@suse.de>
6178         * po/zh_TW.po: Update Chinese (traditional) translation from
6179         translation project.
6181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6183         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6184         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6185         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6186         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6187         (clock_getcpuclockid): Likewise.
6188         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6189         Add weak_alias and libc_hidden_def.
6190         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6191         * rt/clock_gettime.c (clock_gettime): Rename to
6192         __clock_gettime.  Add weak_alias and libc_hidden_def.
6193         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6194         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6195         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6196         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6197         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6198         Likewise.
6199         * rt/clock_settime.c (clock_settime): Rename to
6200         __clock_settime.  Add weak_alias and libc_hidden_def.
6201         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6203 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6205         * mach/err_boot.sub: Remove trailing whitespace.
6206         * mach/err_ipc.sub: Likewise.
6207         * mach/err_mach.sub: Likewise.
6209         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6210         (ROUNDING_TESTS_double): Likewise.
6211         (ROUNDING_TESTS_long_double): Likewise.
6212         (ROUNDING_TESTS): Likewise.
6213         * math/libm-test.inc: Include <math-tests.h>.
6214         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6215         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6216         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6217         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6219 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6221         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6222         of assigning.
6224 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6226         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6227         otherwise empty TRANS lines.
6228         * sysdeps/gnu/errlist.c: Regenerated.
6230         * catgets/gencat.c (error_print): Use (void) in function
6231         definition.
6232         * crypt/crypt_util.c (__init_des): Likewise.
6233         * crypt/speeds.c (Stop): Likewise.
6234         (main): Likewise.
6235         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6236         * inet/ruserpass.c (token): Likewise.
6237         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6238         * intl/localealias.c (extend_alias_table): Likewise.
6239         * intl/plural-exp.c (init_germanic_plural): Likewise.
6240         * libio/fcloseall.c (__fcloseall): Likewise.
6241         * libio/genops.c (_IO_flush_all): Likewise.
6242         (_IO_flush_all_linebuffered): Likewise.
6243         (_IO_cleanup): Likewise.
6244         (_IO_iter_begin): Likewise.
6245         (_IO_iter_end): Likewise.
6246         (_IO_list_lock): Likewise.
6247         (_IO_list_unlock): Likewise.
6248         (_IO_list_resetlock): Likewise.
6249         * libio/getchar.c (getchar): Likewise.
6250         * libio/getchar_u.c (getchar_unlocked): Likewise.
6251         * libio/getwchar.c (getwchar): Likewise.
6252         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6253         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6254         * login/getpt.c (__getpt): Likewise.
6255         * login/tst-utmp.c (main): Likewise.
6256         * malloc/hooks.c (__malloc_check_init): Likewise.
6257         * malloc/malloc.c (__malloc_stats): Likewise.
6258         * malloc/mtrace.c (tr_break): Likewise.
6259         (mtrace): Likewise.
6260         (muntrace): Likewise.
6261         * misc/fstab.c (endfsent): Likewise.
6262         * misc/getclktck.c (__getclktck): Likewise.
6263         * misc/getdtsz.c (__getdtablesize): Likewise.
6264         * misc/gethostid.c (gethostid): Likewise.
6265         * misc/getpagesize.c (__getpagesize): Likewise.
6266         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6267         (__get_nprocs): Likewise.
6268         (__get_phys_pages): Likewise.
6269         (__get_avphys_pages): Likewise.
6270         * misc/getttyent.c (getttyent): Likewise.
6271         (setttyent): Likewise.
6272         (endttyent): Likewise.
6273         * misc/getusershell.c (getusershell): Likewise.
6274         (endusershell): Likewise.
6275         (setusershell): Likewise.
6276         (initshells): Likewise.
6277         * misc/hsearch.c (__hdestroy): Likewise.
6278         * misc/sync.c (sync): Likewise.
6279         * misc/syslog.c (closelog_internal): Likewise.
6280         (closelog): Likewise.
6281         * misc/ttyslot.c (ttyslot): Likewise.
6282         * misc/vhangup.c (vhangup): Likewise.
6283         * posix/fork.c (__fork): Likewise.
6284         * posix/getegid.c (__getegid): Likewise.
6285         * posix/geteuid.c (__geteuid): Likewise.
6286         * posix/getgid.c (__getgid): Likewise.
6287         * posix/getpid.c (__getpid): Likewise.
6288         * posix/getppid.c (__getppid): Likewise.
6289         * posix/getuid.c (__getuid): Likewise.
6290         * posix/pause.c (pause): Likewise.
6291         * posix/setpgrp.c (setpgrp): Likewise.
6292         * posix/setsid.c (__setsid): Likewise.
6293         * posix/test-vfork.c (noop): Likewise.
6294         * resolv/gethnamaddr.c (_endhtent): Likewise.
6295         (_gethtent): Likewise.
6296         (ht_endhostent): Likewise.
6297         (gethostent): Likewise.
6298         (dns_service): Likewise.
6299         * stdlib/drand48.c (drand48): Likewise.
6300         * stdlib/lrand48.c (lrand48): Likewise.
6301         * stdlib/mrand48.c (mrand48): Likewise.
6302         * stdlib/rand.c (rand): Likewise.
6303         * stdlib/random.c (__random): Likewise.
6304         * stdlib/setenv.c (clearenv): Likewise.
6305         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6306         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6307         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6308         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6309         (__get_nprocs): Likewise.
6310         (__get_phys_pages): Likewise.
6311         (__get_avphys_pages): Likewise.
6312         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6313         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6314         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6315         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6316         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6317         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6318         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6319         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6320         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6321         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6322         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6323         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6324         * sysdeps/posix/clock.c (clock): Likewise.
6325         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6326         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6327         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6328         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6329         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6331         (__get_nprocs_conf): Likewise.
6332         (__get_phys_pages): Likewise.
6333         (__get_avphys_pages): Likewise.
6334         * time/clock.c (clock): Likewise.
6335         * time/tzset.c (__tzname_max): Likewise.
6337 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6339         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6340         (__bswap_32): Do not use "register".
6341         * crypt/crypt.c (_ufc_doit_r): Likewise.
6342         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6343         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6344         * gmon/gmon.c (__monstartup): Likewise.
6345         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6346         * hurd/hurdmalloc.c (more_memory): Likewise.
6347         (malloc): Likewise.
6348         (free): Likewise.
6349         (realloc): Likewise.
6350         (malloc_fork_prepare): Likewise.
6351         (malloc_fork_parent): Likewise.
6352         (malloc_fork_child): Likewise.
6353         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6354         (_svcauth_des): Likewise.
6355         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6356         * inet/inet_net.c (inet_network): Likewise.
6357         * inet/inet_netof.c (inet_netof): Likewise.
6358         * inet/rcmd.c (__validuser2_sa): Likewise.
6359         * io/fts.c (fts_open): Likewise.
6360         (fts_load): Likewise.
6361         (fts_close): Likewise.
6362         (fts_read): Likewise.
6363         (fts_children): Likewise.
6364         (fts_build): Likewise.
6365         (fts_stat): Likewise.
6366         (fts_sort): Likewise.
6367         (fts_alloc): Likewise.
6368         (fts_lfree): Likewise.
6369         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6370         (_IO_file_xsgetn): Likewise.
6371         (_IO_file_xsgetn_mmap): Likewise.
6372         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6373         (_IO_cookie_write): Likewise.
6374         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6375         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6376         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6377         * malloc/obstack.c (_obstack_begin): Likewise.
6378         (_obstack_begin_1): Likewise.
6379         (_obstack_newchunk): Likewise.
6380         (_obstack_allocated_p): Likewise.
6381         (obstack_free): Likewise.
6382         (_obstack_memory_used): Likewise.
6383         * misc/getttyent.c (getttynam): Likewise.
6384         (getttyent): Likewise.
6385         (skip): Likewise.
6386         (value): Likewise.
6387         * misc/getusershell.c (initshells): Likewise.
6388         * misc/syslog.c (__vsyslog_chk): Likewise.
6389         * misc/ttyslot.c (ttyslot): Likewise.
6390         * nis/nis_hash.c (__nis_hash): Likewise.
6391         * posix/fnmatch_loop.c (FCT): Likewise.
6392         * posix/getconf.c (print_all): Likewise.
6393         (main): Likewise.
6394         * posix/getopt.c (exchange): Likewise.
6395         * posix/glob.c (globfree): Likewise.
6396         (prefix_array): Likewise.
6397         (__glob_pattern_type): Likewise.
6398         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6399         (NS_GET32): Likewise.
6400         (NS_PUT16): Likewise.
6401         (NS_PUT32): Likewise.
6402         * resolv/gethnamaddr.c (getanswer): Likewise.
6403         (gethostbyname2): Likewise.
6404         (gethostbyaddr): Likewise.
6405         (_gethtent): Likewise.
6406         (_gethtbyname2): Likewise.
6407         (_gethtbyaddr): Likewise.
6408         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6409         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6410         * resolv/res_init.c (__res_vinit): Likewise.
6411         (net_mask): Likewise.
6412         * resolv/res_mkquery.c (outchar): Likewise.
6413         (PRINT): Likewise.
6414         * stdio-common/printf_fp.c (outchar): Likewise.
6415         (PRINT): Likewise.
6416         * stdio-common/printf_fphex.c (outchar): Likewise.
6417         (PRINT): Likewise.
6418         * stdio-common/printf_size.c (outchar): Likewise.
6419         (PRINT): Likewise.
6420         * stdio-common/test_rdwr.c (main): Likewise.
6421         * stdio-common/tfformat.c (matches): Likewise.
6422         * stdio-common/vfprintf.c (outchar): Likewise.
6423         (printf_unknown): Likewise.
6424         (buffered_vfprintf): Likewise.
6425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6426         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6427         (ReadFile): Likewise.
6428         * stdlib/qsort.c (SWAP): Likewise.
6429         (_quicksort): Likewise.
6430         * stdlib/setenv.c (__add_to_environ): Likewise.
6431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6432         * stdlib/strtol_l.c (__strtol_l): Likewise.
6433         * stdlib/tst-strtod.c (main): Likewise.
6434         * stdlib/tst-strtol.c (main): Likewise.
6435         * stdlib/tst-strtoll.c (main): Likewise.
6436         * string/bits/string2.h (__strcmp_cc): Likewise.
6437         (__strcmp_cg): Likewise.
6438         (__strcspn_c1): Likewise.
6439         (__strcspn_c2): Likewise.
6440         (__strcspn_c3): Likewise.
6441         (__strspn_c1): Likewise.
6442         (__strspn_c2): Likewise.
6443         (__strspn_c3): Likewise.
6444         (__strsep_1c): Likewise.
6445         (__strsep_2c): Likewise.
6446         (__strsep_3c): Likewise.
6447         * string/memccpy.c (__memccpy): Likewise.
6448         * string/stpcpy.c (__stpcpy): Likewise.
6449         * string/strcmp.c (strcmp): Likewise.
6450         * string/strrchr.c (strrchr): Likewise.
6451         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6452         Likewise.
6453         * sysdeps/mach/hurd/getcwd.c
6454         (_hurd_canonicalize_directory_name_internal): Likewise.
6455         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6456         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6457         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6458         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6459         Likewise, in both definitions.
6460         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6461         definitions.
6462         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6463         64] (__bswap_64): Likewise.
6464         * time/test_time.c (main): Likewise.
6465         * time/tzfile.c (__tzfile_read): Likewise.
6466         (__tzfile_compute): Likewise.
6467         * time/tzset.c (__tzset_parse_tz): Likewise.
6468         (tzset_internal): Likewise.
6469         (compute_change): Likewise.
6470         * wcsmbs/wcscat.c (__wcscat): Likewise.
6471         * wcsmbs/wcschr.c (wcschr): Likewise.
6472         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6473         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6474         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6475         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6476         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6477         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6478         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6479         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6480         * wcsmbs/wmemset.c (wmemset): Likewise.
6482 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6484         * scripts/config.guess: Update to version 2013-05-16.
6485         * scripts/config.sub: Update to version 2013-04-24.
6486         * scripts/install-sh: Update to version 2011-11-20.07.
6487         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6488         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6490 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6492         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6493         * elf/sln.c: Likewise.
6494         * hurd/hurd/ioctl.h: Likewise.
6495         * hurd/hurdmalloc.c: Likewise.
6496         * hurd/xattr.c: Likewise.
6497         * include/shlib-compat.h: Likewise.
6498         * inet/ruserpass.c: Likewise.
6499         * libio/iofgets_u.c: Likewise.
6500         * libio/iofgetws_u.c: Likewise.
6501         * locale/programs/ld-identification.c: Likewise.
6502         * locale/programs/ld-time.c: Likewise.
6503         * mach/msg-destroy.c: Likewise.
6504         * nss/nss_files/files-netgrp.c: Likewise.
6505         * resolv/res_data.c: Likewise.
6506         * soft-fp/op-1.h: Likewise.
6507         * soft-fp/op-2.h: Likewise.
6508         * soft-fp/op-4.h: Likewise.
6509         * soft-fp/op-common.h: Likewise.
6510         * stdio-common/printf_fphex.c: Likewise.
6511         * stdlib/strtod_l.c: Likewise.
6512         * sunrpc/rpc/clnt.h: Likewise.
6513         * sysdeps/generic/framestate.c: Likewise.
6514         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6515         * sysdeps/i386/bsd-setjmp.S: Likewise.
6516         * sysdeps/i386/__longjmp.S: Likewise.
6517         * sysdeps/i386/setjmp.S: Likewise.
6518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6519         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6521         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6522         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6525         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6526         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6527         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6528         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6529         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6530         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6531         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6532         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6534         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6535         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6536         * sysdeps/ieee754/support.c: Likewise.
6537         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6538         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6539         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6540         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6541         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6542         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6543         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6544         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6545         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6546         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6547         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6548         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6549         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6550         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6551         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6552         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6553         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6556 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6558         * posix/transbug.c: Remove executable mode.
6560 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6562         * crypt/speeds.c: Remove trailing whitespace.
6563         * dlfcn/default.c: Likewise.
6564         * elf/ifuncdep2.c: Likewise.
6565         * elf/ifuncmain1.c: Likewise.
6566         * elf/ifuncmain1vis.c: Likewise.
6567         * elf/testobj.h: Likewise.
6568         * elf/tst-stackguard1.c: Likewise.
6569         * gmon/sys/gmon.h: Likewise.
6570         * hurd/hurdmsg.c: Likewise.
6571         * hurd/new-fd.c: Likewise.
6572         * hurd/ports-get.c: Likewise.
6573         * iconvdata/ibm1008_420.c: Likewise.
6574         * inet/tst-getni1.c: Likewise.
6575         * inet/tst-getni2.c: Likewise.
6576         * libio/ioungetc.c: Likewise.
6577         * libio/wfiledoalloc.c: Likewise.
6578         * manual/libm-err-tab.pl: Likewise.
6579         * math/w_dremf.c: Likewise.
6580         * misc/ftruncate.c: Likewise.
6581         * posix/bug-glob2.c: Likewise.
6582         * posix/tst-pcre.c: Likewise.
6583         * posix/wait4.c: Likewise.
6584         * resolv/README: Likewise.
6585         * resolv/res_debug.h: Likewise.
6586         * resolv/tst-inet_ntop.c: Likewise.
6587         * setjmp/bug269-setjmp.c: Likewise.
6588         * soft-fp/extended.h: Likewise.
6589         * soft-fp/op-1.h: Likewise.
6590         * soft-fp/op-2.h: Likewise.
6591         * soft-fp/op-4.h: Likewise.
6592         * soft-fp/op-8.h: Likewise.
6593         * soft-fp/testit.c: Likewise.
6594         * stdio-common/bug16.c: Likewise.
6595         * stdlib/random.c: Likewise.
6596         * sunrpc/rpcsvc/rquota.x: Likewise.
6597         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6598         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6600         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6601         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6602         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6603         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6604         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6605         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6607         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6608         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6610         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6611         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6612         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6613         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6615         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6616         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6617         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6619         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6620         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6621         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6625         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6626         * sysdeps/ieee754/s_lib_version.c: Likewise.
6627         * sysdeps/mach/hurd/check_fds.c: Likewise.
6628         * sysdeps/mach/hurd/getsockname.c: Likewise.
6629         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6630         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6631         * sysdeps/powerpc/bits/link.h: Likewise.
6632         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6633         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6634         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6635         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6636         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6637         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6638         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6639         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6640         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6641         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6642         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6643         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6644         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6645         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6646         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6647         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6651         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6652         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6653         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6654         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6655         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6656         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6657         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6658         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6661         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6665         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6666         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6667         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6668         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6669         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6670         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6671         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6672         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6673         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6674         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6675         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6676         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6677         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6678         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6679         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6680         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6681         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6684         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6685         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6686         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6687         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6688         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6689         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6690         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6691         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6692         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6693         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6694         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6695         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6696         * sysdeps/powerpc/sysdep.h: Likewise.
6697         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6698         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6699         * sysdeps/sh/dl-trampoline.S: Likewise.
6700         * sysdeps/sh/memset.S: Likewise.
6701         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6702         * sysdeps/sh/strlen.S: Likewise.
6703         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6704         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6705         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6706         * sysdeps/sparc/sparc32/rem.S: Likewise.
6707         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6708         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6709         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6710         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6711         * sysdeps/sparc/sparc32/urem.S: Likewise.
6712         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6713         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6714         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6715         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6716         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6717         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6718         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6719         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6720         * sysdeps/unix/bsd/times.c: Likewise.
6721         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6722         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6726         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6727         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6728         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6729         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6730         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6731         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6732         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6733         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6734         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6735         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6737         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6738         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6739         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6740         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6741         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6742         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6743         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6744         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6745         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6746         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6747         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6748         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6749         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6750         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6751         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6752         * sysdeps/x86_64/strcspn.S: Likewise.
6754 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6756         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6757         generated file.  Regenerate properly from gen-translit.pl.
6758         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6759         locale/C-translit.h.
6761 2013-06-05  Andreas Schwab  <schwab@suse.de>
6763         [BZ #15100]
6764         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6765         week as 6 instead of -1.
6766         * time/tst-strptime.c (day_tests): Add test case.
6768 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6770         * sysdeps/generic/math_private.h
6771         (libc_feholdexcept_setround_53bit): Replace with
6772         libc_feholdsetround_53bit.
6773         (libc_feupdateenv_53bit): Replace with
6774         libc_feresetround_53bit.
6775         (SET_RESTORE_ROUND_53BIT): Adjust.
6777 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6779         * string/test-strchrnul.c: Add copyright header.
6781         * posix/tst-getaddrinfo4.c: Increase test timeout.
6783 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6785         [BZ #15536]
6786         * math/libm-test.inc (MAX_EXP): Remove
6787         (MIN_EXP): Define.
6788         (ulp): Use MIN_EXP - MANT_DIG.
6789         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6791 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6793         * po/be.po: Revert last change.
6794         * po/zh_CN.po: Likewise.
6795         * po/header.pot: Likewise.
6797 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6799         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6800         link-libc-deps to empty as target-specific variable.
6801         * Makerules (link-libc-args): New variable.
6802         (libc-for-link): Likewise.
6803         (link-libc-deps): Likewise.
6804         (lib%.so): Depend on $(link-libc-deps).  Link with
6805         $(link-libc-args).
6806         (build-module): Link with $(link-libc-args).
6807         (build-module-asneeded): Likewise.
6808         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6809         list of objects.
6810         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6811         target-specific variable.
6812         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6813         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6814         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6815         libc.
6816         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6817         libc and ld.so.
6818         ($(objpfx)libpcprofile.so): Likewise.
6819         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6820         libc_nonshared.a.
6821         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6822         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6823         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6824         $(link-libc-deps).
6825         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6826         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6827         * login/Makefile ($(objpfx)libutil.so): Likewise.
6828         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6829         * math/Makefile ($(objpfx)libm.so): Likewise.
6830         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6831         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6832         variable instead of depending directly on libc.
6833         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6834         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6835         $(link-libc-deps).
6836         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6837         libc.
6838         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6839         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6840         ($(objpfx)libanl.so): Likewise.
6841         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6842         ld.so.
6843         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6844         $(link-libc-deps).
6845         * sysdeps/i386/fpu/Makefile: Remove file.
6846         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6847         ($(objpfx)libm.so): Remove dependency on ld.so.
6849 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6851         [BZ # 15553]
6852         * nis/yp_xdr.c (XDRMAXNAME): Define.
6853         (XDRMAXRECORD): Define.
6854         (xdr_domainname): Use XDRMAXNAME.
6855         (xdr_mapname): Likewise.
6856         (xdr_peername): Likewise.
6857         (xdr_keydat): Use XDRMAXRECORD.
6858         (xdr_valdat): Likewise.
6860 2013-05-30  Jeff Law  <law@redhat.com>
6862         [BZ #14256]
6863         * manual/errno.texi (ESTALE): Update to account for more than
6864         just NFS file systems.
6865         * sysdeps/gnu/errlist.c: Regenerated.
6867 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6869         [BZ #15465]
6870         * elf/Makefile (tests): Add tst-null-argv.
6871         (modules-names):  Add tst-null-argv-lib.
6872         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6873         (tst-null-argv-ENV): Set environment for tst-null-argv.
6874         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6875         (RTLD_PROGNAME): New macro.
6876         * elf/tst-null-argv.c: New test case.
6877         * elf/tst-null-argv-lib.c: Library for test case.
6878         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6879         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6880         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6881         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6882         * elf/dl-init.c (call_init): Likewise.
6883         (_dl_init): Likewise.
6884         * elf/dl-load.c (print_search_path): Likewise.
6885         (_dl_map_object): Likewise.
6886         * elf/dl-lookup.c (do_lookup_x): Likewise.
6887         (add_dependency): Likewise.
6888         (_dl_lookup_symbol_x): Likewise.
6889         (_dl_debug_bindings): Likewise.
6890         * elf/dl-open.c (_dl_show_scope): Likewise.
6891         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6892         * elf/dl-version.c (match_symbol): Likewise.
6893         (_dl_check_map_versions): Likewise.
6894         * elf/rtld.c (dl_main): Likewise.
6895         (print_unresolved): Use RTLD_PROGNAME.
6896         (print_missing_version): Likewise.
6897         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6898         (elf_machine_rela): Likewise.
6899         * sysdeps/powerpc/powerpc32/dl-machine.c
6900         (__process_machine_rela): Likewise.
6901         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6902         Likewise.
6903         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6904         Likewise.
6905         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6906         Likewise.
6907         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6908         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6909         Likewise.
6910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6911         Likewise.
6912         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6914 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6916         * po/be.po: Add descriptive title.
6917         * po/zh_CN.po: Likewise.
6918         * po/header.pot: Likewise.
6920 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6922         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6923         error message.
6924         (enlarge_archive): Likewise.
6926 2013-05-28  Ben North  <ben@redfrontdoor.org>
6928         * manual/arith.texi (frexp): It is the magnitude of the return
6929         value which lies in [0.5, 1), not the return value itself.
6931 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6935 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6937         * stdio-common/bug26.c (main): Correct fscanf template.
6939         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6940         declare _dl_skip_args.
6942         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6943         Don't declare.
6945         * manual/platform.texi: Add missing @end deftypefun.
6947 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6949         [BZ #15529]
6950         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6951         bit of mantissa of 2^16382.
6952         * math/libm-test.inc (hypot_test_data): Add more tests.
6954         * math/libm-test.inc: Add drem and pow10 to list of tested
6955         functions.
6956         (pow10_test): New function.
6957         (drem_test): Likewise.
6958         (drem_test_tonearest): Likewise.
6959         (drem_test_towardzero): Likewise.
6960         (drem_test_downward): Likewise.
6961         (drem_test_upward): Likewise.
6962         (main): Call the new functions.
6964         * math/libm-test.inc (finite_test_data): Remove.
6965         (finite_test): Run tests from isfinite_test_data.
6966         (gamma_test_data): Remove.
6967         (gamma_test): Run tests from lgamma_test_data.
6968         * sysdeps/i386/fpu/libm-test-ulps: Update.
6969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6973         * manual/platform.texi: Add PowerPC PPR function set documentation.
6974         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6975         implementation.
6977 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6979         * math/libm-test.inc (MAX_EXP): Define.
6980         (ULPDIFF): Define.
6981         (ulp): New function.
6982         (check_float_internal): Use ULPDIFF.
6983         (cpow_test): Disable failing test.
6984         (check_ulp): Test ulp() implemetnation.
6985         (main): Call check_ulp before starting tests.
6987 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6989         * math/gen-libm-test.pl (generate_testfile): Do not handle
6990         START_DATA and END_DATA.
6991         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6992         END_DATA.
6993         (acos_tonearest_test_data): Likewise.
6994         (acos_towardzero_test_data): Likewise.
6995         (acos_downward_test_data): Likewise.
6996         (acos_upward_test_data): Likewise.
6997         (acosh_test_data): Likewise.
6998         (asin_test_data): Likewise.
6999         (asin_tonearest_test_data): Likewise.
7000         (asin_towardzero_test_data): Likewise.
7001         (asin_downward_test_data): Likewise.
7002         (asin_upward_test_data): Likewise.
7003         (asinh_test_data): Likewise.
7004         (atan_test_data): Likewise.
7005         (atanh_test_data): Likewise.
7006         (atan2_test_data): Likewise.
7007         (cabs_test_data): Likewise.
7008         (cacos_test_data): Likewise.
7009         (cacosh_test_data): Likewise.
7010         (carg_test_data): Likewise.
7011         (casin_test_data): Likewise.
7012         (casinh_test_data): Likewise.
7013         (catan_test_data): Likewise.
7014         (catanh_test_data): Likewise.
7015         (cbrt_test_data): Likewise.
7016         (ccos_test_data): Likewise.
7017         (ccosh_test_data): Likewise.
7018         (ceil_test_data): Likewise.
7019         (cexp_test_data): Likewise.
7020         (cimag_test_data): Likewise.
7021         (clog_test_data): Likewise.
7022         (clog10_test_data): Likewise.
7023         (conj_test_data): Likewise.
7024         (copysign_test_data): Likewise.
7025         (cos_test_data): Likewise.
7026         (cos_tonearest_test_data): Likewise.
7027         (cos_towardzero_test_data): Likewise.
7028         (cos_downward_test_data): Likewise.
7029         (cos_upward_test_data): Likewise.
7030         (cosh_test_data): Likewise.
7031         (cosh_tonearest_test_data): Likewise.
7032         (cosh_towardzero_test_data): Likewise.
7033         (cosh_downward_test_data): Likewise.
7034         (cosh_upward_test_data): Likewise.
7035         (cpow_test_data): Likewise.
7036         (cproj_test_data): Likewise.
7037         (creal_test_data): Likewise.
7038         (csin_test_data): Likewise.
7039         (csinh_test_data): Likewise.
7040         (csqrt_test_data): Likewise.
7041         (ctan_test_data): Likewise.
7042         (ctan_tonearest_test_data): Likewise.
7043         (ctan_towardzero_test_data): Likewise.
7044         (ctan_downward_test_data): Likewise.
7045         (ctan_upward_test_data): Likewise.
7046         (ctanh_test_data): Likewise.
7047         (ctanh_tonearest_test_data): Likewise.
7048         (ctanh_towardzero_test_data): Likewise.
7049         (ctanh_downward_test_data): Likewise.
7050         (ctanh_upward_test_data): Likewise.
7051         (erf_test_data): Likewise.
7052         (erfc_test_data): Likewise.
7053         (exp_test_data): Likewise.
7054         (exp_tonearest_test_data): Likewise.
7055         (exp_towardzero_test_data): Likewise.
7056         (exp_downward_test_data): Likewise.
7057         (exp_upward_test_data): Likewise.
7058         (exp10_test_data): Likewise.
7059         (exp2_test_data): Likewise.
7060         (expm1_test_data): Likewise.
7061         (fabs_test_data): Likewise.
7062         (fdim_test_data): Likewise.
7063         (finite_test_data): Likewise.
7064         (floor_test_data): Likewise.
7065         (fma_test_data): Likewise.
7066         (fma_towardzero_test_data): Likewise.
7067         (fma_downward_test_data): Likewise.
7068         (fma_upward_test_data): Likewise.
7069         (fmax_test_data): Likewise.
7070         (fmin_test_data): Likewise.
7071         (fmod_test_data): Likewise.
7072         (fpclassify_test_data): Likewise.
7073         (frexp_test_data): Likewise.
7074         (gamma_test_data): Likewise.
7075         (hypot_test_data): Likewise.
7076         (ilogb_test_data): Likewise.
7077         (isfinite_test_data): Likewise.
7078         (isgreater_test_data): Likewise.
7079         (isgreaterequal_test_data): Likewise.
7080         (isinf_test_data): Likewise.
7081         (isless_test_data): Likewise.
7082         (islessequal_test_data): Likewise.
7083         (islessgreater_test_data): Likewise.
7084         (isnan_test_data): Likewise.
7085         (isnormal_test_data): Likewise.
7086         (issignaling_test_data): Likewise.
7087         (isunordered_test_data): Likewise.
7088         (j0_test_data): Likewise.
7089         (j1_test_data): Likewise.
7090         (jn_test_data): Likewise.
7091         (ldexp_test_data): Likewise.
7092         (lgamma_test_data): Likewise.
7093         (lrint_test_data): Likewise.
7094         (lrint_tonearest_test_data): Likewise.
7095         (lrint_towardzero_test_data): Likewise.
7096         (lrint_downward_test_data): Likewise.
7097         (lrint_upward_test_data): Likewise.
7098         (llrint_test_data): Likewise.
7099         (llrint_tonearest_test_data): Likewise.
7100         (llrint_towardzero_test_data): Likewise.
7101         (llrint_downward_test_data): Likewise.
7102         (llrint_upward_test_data): Likewise.
7103         (log_test_data): Likewise.
7104         (log10_test_data): Likewise.
7105         (log1p_test_data): Likewise.
7106         (log2_test_data): Likewise.
7107         (logb_test_data): Likewise.
7108         (logb_downward_test_data): Likewise.
7109         (lround_test_data): Likewise.
7110         (llround_test_data): Likewise.
7111         (modf_test_data): Likewise.
7112         (nearbyint_test_data): Likewise.
7113         (nextafter_test_data): Likewise.
7114         (nexttoward_test_data): Likewise.
7115         (pow_test_data): Likewise.
7116         (pow_tonearest_test_data): Likewise.
7117         (pow_towardzero_test_data): Likewise.
7118         (pow_downward_test_data): Likewise.
7119         (pow_upward_test_data): Likewise.
7120         (remainder_test_data): Likewise.
7121         (remainder_tonearest_test_data): Likewise.
7122         (remainder_towardzero_test_data): Likewise.
7123         (remainder_downward_test_data): Likewise.
7124         (remainder_upward_test_data): Likewise.
7125         (remquo_test_data): Likewise.
7126         (rint_test_data): Likewise.
7127         (rint_tonearest_test_data): Likewise.
7128         (rint_towardzero_test_data): Likewise.
7129         (rint_downward_test_data): Likewise.
7130         (rint_upward_test_data): Likewise.
7131         (round_test_data): Likewise.
7132         (scalb_test_data): Likewise.
7133         (scalbn_test_data): Likewise.
7134         (scalbln_test_data): Likewise.
7135         (signbit_test_data): Likewise.
7136         (sin_test_data): Likewise.
7137         (sin_tonearest_test_data): Likewise.
7138         (sin_towardzero_test_data): Likewise.
7139         (sin_downward_test_data): Likewise.
7140         (sin_upward_test_data): Likewise.
7141         (sincos_test_data): Likewise.
7142         (sinh_test_data): Likewise.
7143         (sinh_tonearest_test_data): Likewise.
7144         (sinh_towardzero_test_data): Likewise.
7145         (sinh_downward_test_data): Likewise.
7146         (sinh_upward_test_data): Likewise.
7147         (sqrt_test_data): Likewise.
7148         (tan_test_data): Likewise.
7149         (tan_tonearest_test_data): Likewise.
7150         (tan_towardzero_test_data): Likewise.
7151         (tan_downward_test_data): Likewise.
7152         (tan_upward_test_data): Likewise.
7153         (tanh_test_data): Likewise.
7154         (tgamma_test_data): Likewise.
7155         (trunc_test_data): Likewise.
7156         (y0_test_data): Likewise.
7157         (y1_test_data): Likewise.
7158         (yn_test_data): Likewise.
7159         (significand_test_data): Likewise.
7161         * math/gen-libm-test.pl (@functions): Remove variable.
7162         (generate_testfile): Don't handle START and END lines.
7163         * math/libm-test.inc (START): New macro.
7164         (END): Likewise.
7165         (END_COMPLEX): Likewise.
7166         (acos_test): Use END macro without arguments.
7167         (acos_test_tonearest): Likewise.
7168         (acos_test_towardzero): Likewise.
7169         (acos_test_downward): Likewise.
7170         (acos_test_upward): Likewise.
7171         (acosh_test): Likewise.
7172         (asin_test): Likewise.
7173         (asin_test_tonearest): Likewise.
7174         (asin_test_towardzero): Likewise.
7175         (asin_test_downward): Likewise.
7176         (asin_test_upward): Likewise.
7177         (asinh_test): Likewise.
7178         (atan_test): Likewise.
7179         (atanh_test): Likewise.
7180         (atan2_test): Likewise.
7181         (cabs_test): Likewise.
7182         (cacos_test): Use END_COMPLEX macro without arguments.
7183         (cacosh_test): Likewise.
7184         (carg_test): Use END macro without arguments.
7185         (casin_test): Use END_COMPLEX macro without arguments.
7186         (casinh_test): Likewise.
7187         (catan_test): Likewise.
7188         (catanh_test): Likewise.
7189         (cbrt_test): Use END macro without arguments.
7190         (ccos_test): Use END_COMPLEX macro without arguments.
7191         (ccosh_test): Likewise.
7192         (ceil_test): Use END macro without arguments.
7193         (cexp_test): Use END_COMPLEX macro without arguments.
7194         (cimag_test): Use END macro without arguments.
7195         (clog_test): Use END_COMPLEX macro without arguments.
7196         (clog10_test): Likewise.
7197         (conj_test): Likewise.
7198         (copysign_test): Use END macro without arguments.
7199         (cos_test): Likewise.
7200         (cos_test_tonearest): Likewise.
7201         (cos_test_towardzero): Likewise.
7202         (cos_test_downward): Likewise.
7203         (cos_test_upward): Likewise.
7204         (cosh_test): Likewise.
7205         (cosh_test_tonearest): Likewise.
7206         (cosh_test_towardzero): Likewise.
7207         (cosh_test_downward): Likewise.
7208         (cosh_test_upward): Likewise.
7209         (cpow_test): Use END_COMPLEX macro without arguments.
7210         (cproj_test): Likewise.
7211         (creal_test): Use END macro without arguments.
7212         (csin_test): Use END_COMPLEX macro without arguments.
7213         (csinh_test): Likewise.
7214         (csqrt_test): Likewise.
7215         (ctan_test): Likewise.
7216         (ctan_test_tonearest): Likewise.
7217         (ctan_test_towardzero): Likewise.
7218         (ctan_test_downward): Likewise.
7219         (ctan_test_upward): Likewise.
7220         (ctanh_test): Likewise.
7221         (ctanh_test_tonearest): Likewise.
7222         (ctanh_test_towardzero): Likewise.
7223         (ctanh_test_downward): Likewise.
7224         (ctanh_test_upward): Likewise.
7225         (erf_test): Use END macro without arguments.
7226         (erfc_test): Likewise.
7227         (exp_test): Likewise.
7228         (exp_test_tonearest): Likewise.
7229         (exp_test_towardzero): Likewise.
7230         (exp_test_downward): Likewise.
7231         (exp_test_upward): Likewise.
7232         (exp10_test): Likewise.
7233         (exp2_test): Likewise.
7234         (expm1_test): Likewise.
7235         (fabs_test): Likewise.
7236         (fdim_test): Likewise.
7237         (finite_test): Likewise.
7238         (floor_test): Likewise.
7239         (fma_test): Likewise.
7240         (fma_test_towardzero): Likewise.
7241         (fma_test_downward): Likewise.
7242         (fma_test_upward): Likewise.
7243         (fmax_test): Likewise.
7244         (fmin_test): Likewise.
7245         (fmod_test): Likewise.
7246         (fpclassify_test): Likewise.
7247         (frexp_test): Likewise.
7248         (gamma_test): Likewise.
7249         (hypot_test): Likewise.
7250         (ilogb_test): Likewise.
7251         (isfinite_test): Likewise.
7252         (isgreater_test): Likewise.
7253         (isgreaterequal_test): Likewise.
7254         (isinf_test): Likewise.
7255         (isless_test): Likewise.
7256         (islessequal_test): Likewise.
7257         (islessgreater_test): Likewise.
7258         (isnan_test): Likewise.
7259         (isnormal_test): Likewise.
7260         (issignaling_test): Likewise.
7261         (isunordered_test): Likewise.
7262         (j0_test): Likewise.
7263         (j1_test): Likewise.
7264         (jn_test): Likewise.
7265         (ldexp_test): Likewise.
7266         (lgamma_test): Likewise.
7267         (lrint_test): Likewise.
7268         (lrint_test_tonearest): Likewise.
7269         (lrint_test_towardzero): Likewise.
7270         (lrint_test_downward): Likewise.
7271         (lrint_test_upward): Likewise.
7272         (llrint_test): Likewise.
7273         (llrint_test_tonearest): Likewise.
7274         (llrint_test_towardzero): Likewise.
7275         (llrint_test_downward): Likewise.
7276         (llrint_test_upward): Likewise.
7277         (log_test): Likewise.
7278         (log10_test): Likewise.
7279         (log1p_test): Likewise.
7280         (log2_test): Likewise.
7281         (logb_test): Likewise.
7282         (logb_test_downward): Likewise.
7283         (lround_test): Likewise.
7284         (llround_test): Likewise.
7285         (modf_test): Likewise.
7286         (nearbyint_test): Likewise.
7287         (nextafter_test): Likewise.
7288         (nexttoward_test): Likewise.
7289         (pow_test): Likewise.
7290         (pow_test_tonearest): Likewise.
7291         (pow_test_towardzero): Likewise.
7292         (pow_test_downward): Likewise.
7293         (pow_test_upward): Likewise.
7294         (remainder_test): Likewise.
7295         (remainder_test_tonearest): Likewise.
7296         (remainder_test_towardzero): Likewise.
7297         (remainder_test_downward): Likewise.
7298         (remainder_test_upward): Likewise.
7299         (remquo_test): Likewise.
7300         (rint_test): Likewise.
7301         (rint_test_tonearest): Likewise.
7302         (rint_test_towardzero): Likewise.
7303         (rint_test_downward): Likewise.
7304         (rint_test_upward): Likewise.
7305         (round_test): Likewise.
7306         (scalb_test): Likewise.
7307         (scalbn_test): Likewise.
7308         (scalbln_test): Likewise.
7309         (signbit_test): Likewise.
7310         (sin_test): Likewise.
7311         (sin_test_tonearest): Likewise.
7312         (sin_test_towardzero): Likewise.
7313         (sin_test_downward): Likewise.
7314         (sin_test_upward): Likewise.
7315         (sincos_test): Likewise.
7316         (sinh_test): Likewise.
7317         (sinh_test_tonearest): Likewise.
7318         (sinh_test_towardzero): Likewise.
7319         (sinh_test_downward): Likewise.
7320         (sinh_test_upward): Likewise.
7321         (sqrt_test): Likewise.
7322         (tan_test): Likewise.
7323         (tan_test_tonearest): Likewise.
7324         (tan_test_towardzero): Likewise.
7325         (tan_test_downward): Likewise.
7326         (tan_test_upward): Likewise.
7327         (tanh_test): Likewise.
7328         (tgamma_test): Likewise.
7329         (trunc_test): Likewise.
7330         (y0_test): Likewise.
7331         (y1_test): Likewise.
7332         (yn_test): Likewise.
7333         (significand_test): Likewise.
7335 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7337         [BZ #15381]
7338         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7340 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7342         [BZ #14894]
7343         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7344         __ppc_mdoio and __ppc_mdoom.
7345         * manual/platform.texi: Document new functions __ppc_yield,
7346         __ppc_mdoio and __ppc_mdoom.
7348 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7350         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7351         (main): Mention "tls" pseudo-hwcap is legacy.
7352         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7354 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7356         * math/gen-libm-test.pl (parse_args): Output only string of
7357         arguments as text for test name, not full call or descriptions of
7358         tests for extra outputs.
7359         (generate_testfile): Do not pass function name to parse_args.
7360         Generate this_func variable from START.
7361         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7362         field to arg_str.
7363         (struct test_ff_f_data): Likewise.
7364         (test_ff_f_data_nexttoward): Likewise.
7365         (struct test_fi_f_data): Likewise.
7366         (struct test_fl_f_data): Likewise.
7367         (struct test_if_f_data): Likewise.
7368         (struct test_fff_f_data): Likewise.
7369         (struct test_c_f_data): Likewise.
7370         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7371         (struct test_fF_f1_data): Likewise.
7372         (struct test_ffI_f1_data): Likewise.
7373         (struct test_c_c_data): Rename test_name field to arg_str.
7374         (struct test_cc_c_data): Likewise.
7375         (struct test_f_i_data): Likewise.
7376         (struct test_ff_i_data): Likewise.
7377         (struct test_f_l_data): Likewise.
7378         (struct test_f_L_data): Likewise.
7379         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7380         and extra2_name.
7381         (COMMON_TEST_SETUP): New macro.
7382         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7383         (COMMON_TEST_CLEANUP): Likewise.
7384         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7385         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7386         macros.
7387         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7388         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7389         macros.
7390         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7391         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7392         cleanup macros.
7393         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7394         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7395         macros.
7396         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7397         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7398         macros.
7399         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7400         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7401         cleanup macros.
7402         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7403         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7404         cleanup macros.
7405         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7406         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7407         cleanup macros.
7408         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7409         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7410         macros.
7411         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7412         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7413         macros.
7414         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7415         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7416         macros.
7417         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7418         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7419         cleanup macros.
7420         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7421         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7422         cleanup macros.
7423         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7424         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7425         macros.
7426         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7427         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7428         cleanup macros.
7429         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7430         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7431         macros.
7432         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7433         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7434         macros.
7435         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7436         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7437         cleanup macros.
7438         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7440 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7442         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7443         to _sifields.sigfault.
7444         (si_addr_lsb): Define new macro.
7445         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7447         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7449 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7451         [BZ #15441]
7452         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7453         returns -1.
7454         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7455         null return -1.
7456         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7457         loading the domain.
7459 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7461         * math/gen-libm-test.pl (parse_args): Do not include expected
7462         result in test name.
7463         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7464         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7465         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7466         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7467         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7470 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7472         * benchtests/Makefile: Sort function entries.
7474         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7475         tanh, asinh, acosh, atanh.
7476         * benchtests/acos-inputs: New file.
7477         * benchtests/acosh-inputs: New file.
7478         * benchtests/asin-inputs: New file.
7479         * benchtests/asinh-inputs: New file.
7480         * benchtests/atanh-inputs: New file.
7481         * benchtests/cosh-inputs: New file.
7482         * benchtests/log-inputs: New file.
7483         * benchtests/sinh-inputs: New file.
7484         * benchtests/tanh-inputs: New file.
7486 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7488         [BZ #15339]
7489         * posix/tst-getaddrinfo4.c: New test.
7490         * posix/Makefile (tests): Add it.
7492 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7494         [BZ #15339]
7495         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7496         when no services were used.
7497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7498         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7500 2013-05-21  Andreas Schwab  <schwab@suse.de>
7502         [BZ #15014]
7503         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7504         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7505         successful.
7506         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7507         redundant variable declarations and reallocation of buffer when
7508         parsing as IPv6 address.  Always set NSS status when called from
7509         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7510         buffer too small.  Correct computation of needed size.
7511         * nss/Makefile (tests): Add test-digits-dots.
7512         * nss/test-digits-dots.c: New test.
7514 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7516         * benchtests/Makefile: Remove instructions for adding
7517         benchmark tests.
7518         * benchtests/README: New file to explain how to execute and
7519         enhance the benchmark tests.
7521 2013-05-21  Andreas Schwab  <schwab@suse.de>
7523         [BZ #15493]
7524         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7525         * setjmp/tst-sigsetjmp.c: New test.
7527 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7529         * sysdeps/x86_64/memset.S (memset): New implementation.
7530         (__bzero): Likewise.
7531         (__memset_tail): New function.
7533 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7535         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7536         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7537         __memcpy_sse2_unaligned ifunc selection.
7538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7539         Add memcpy-sse2-unaligned.S.
7540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7541         Add: __memcpy_sse2_unaligned.
7543 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7545         [BZ #15490]
7546         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7547         math_force_eval before restoring floating-point envrionment.
7548         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7549         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7550         Likewise.
7551         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7552         <math_private.h>.
7553         (__nearbyintl): Use math_force_eval before restoring
7554         floating-point environment.
7555         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7557         * math/gen-libm-test.pl (special_functions): Remove.
7558         (parse_args): Don't handle TEST_extra.  Handle functions with no
7559         return value.
7560         * math/libm-test.inc (struct test_sincos_data): Replace with
7561         struct test_fFF_11_data.
7562         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7563         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7564         (sincos_test_data): Change element type to struct
7565         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7566         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7567         RUN_TEST_LOOP_sincos.
7568         * math/README.libm-test: Don't mention special handling of
7569         individual functions.
7570         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7573         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7574         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577         * math/gen-libm-test.pl (get_variable): Remove function.
7578         (parse_args): Don't show pointer parameters to call in test
7579         names.  Use "extra output N" in test names for extra outputs
7580         rather than naming variables.
7582 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7584         [BZ #15488]
7585         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7586         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7587         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7588         double tests.
7589         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7590         disable.
7591         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7592         check_long_double.
7594         * math/gen-libm-test.pl (@tests): Remove variable.
7595         ($count): Likewise.
7596         (new_test): Remove function.
7597         (show_exceptions): New function.
7598         (special_functions): Use show_exceptions instead of new_test.
7599         (parse_args): Likewise.
7600         (generate_testfile): Pass only function name in generated call to
7601         print_max_error or print_complex_max_error.
7602         (get_ulps): Do not handle complex tests specially.
7603         (output_test): Rename to ...
7604         (get_all_ulps_for_test): ... this.  Return a string rather than
7605         printing to a file.  Require ulps to be present.
7606         (output_ulps): Generate arrays rather than #defines.
7607         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7608         (struct ulp_data): New type.
7609         (BUILD_COMPLEX_ULP): Remove macro.
7610         (compare_ulp_data): New function.
7611         (find_ulps): Likewise.
7612         (find_test_ulps): Likewise.
7613         (find_function_ulps): Likewise.
7614         (find_complex_function_ulps): Likewise.
7615         (print_max_error): Determine allowed ulps using
7616         find_function_ulps.
7617         (print_complex_max_error): Determine allowed ulps using
7618         find_complex_function_ulps.
7619         (check_float_internal): Determine max ulps using find_test_ulps.
7620         (check_float): Do not take max_ulp parameter.  Update call to
7621         check_float_internal.
7622         (check_complex): Likewise.
7623         (check_int): Do not take max_ulp parameter.
7624         (check_long): Likewise.
7625         (check_bool): Likewise.
7626         (check_longlong): Likewise.
7627         (struct test_f_f_data): Remove max_ulp field.
7628         (struct test_ff_f_data): Likewise.
7629         (struct test_ff_f_data_nexttoward): Likewise.
7630         (struct test_fi_f_data): Likewise.
7631         (struct test_fl_f_data): Likewise.
7632         (struct test_if_f_data): Likewise.
7633         (struct test_fff_f_data): Likewise.
7634         (struct test_c_f_data): Likewise.
7635         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7636         (struct test_fF_f1_data): Likewise.
7637         (struct test_ffI_f1_data): Likewise.
7638         (struct test_c_c_data): Remove max_ulp field.
7639         (struct test_cc_c_data): Likewise.
7640         (struct test_f_i_data): Likewise.
7641         (struct test_ff_i_data): Likewise.
7642         (struct test_f_l_data): Likewise.
7643         (struct test_f_L_data): Likewise.
7644         (struct test_sincos_data): Likewise.
7645         (RUN_TEST_f_f): Do not handle ulps.
7646         (RUN_TEST_LOOP_f_f): Likewise.
7647         (RUN_TEST_2_f): Likewise.
7648         (RUN_TEST_LOOP_2_f): Likewise.
7649         (RUN_TEST_fff_f): Likewise.
7650         (RUN_TEST_LOOP_fff_f): Likewise.
7651         (RUN_TEST_c_f): Likewise.
7652         (RUN_TEST_LOOP_c_f): Likewise.
7653         (RUN_TEST_f_f1): Likewise.
7654         (RUN_TEST_LOOP_f_f1): Likewise.
7655         (RUN_TEST_fF_f1): Likewise.
7656         (RUN_TEST_LOOP_fF_f1): Likewise.
7657         (RUN_TEST_fI_f1): Likewise.
7658         (RUN_TEST_LOOP_fI_f1): Likewise.
7659         (RUN_TEST_ffI_f1): Likewise.
7660         (RUN_TEST_LOOP_ffI_f1): Likewise.
7661         (RUN_TEST_c_c): Likewise.
7662         (RUN_TEST_LOOP_c_c): Likewise.
7663         (RUN_TEST_cc_c): Likewise.
7664         (RUN_TEST_LOOP_cc_c): Likewise.
7665         (RUN_TEST_f_i): Likewise.
7666         (RUN_TEST_LOOP_f_i): Likewise.
7667         (RUN_TEST_f_i_tg): Likewise.
7668         (RUN_TEST_LOOP_f_i_tg): Likewise.
7669         (RUN_TEST_ff_i_tg): Likewise.
7670         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7671         (RUN_TEST_f_b): Likewise.
7672         (RUN_TEST_LOOP_f_b): Likewise.
7673         (RUN_TEST_f_b_tg): Likewise.
7674         (RUN_TEST_LOOP_f_b_tg): Likewise.
7675         (RUN_TEST_f_l): Likewise.
7676         (RUN_TEST_LOOP_f_l): Likewise.
7677         (RUN_TEST_f_L): Likewise.
7678         (RUN_TEST_LOOP_f_L): Likewise.
7679         (RUN_TEST_sincos): Likewise.
7680         (RUN_TEST_LOOP_sincos): Likewise.
7682 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7684         [BZ #15480]
7685         [BZ #15485]
7686         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7687         main case of finite arguments, set rounding mode to FE_TONEAREST
7688         and discard exceptions.
7689         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7690         exceptions.
7691         (remainder_tonearest_test_data): New variable.
7692         (remainder_test_tonearest): New function.
7693         (remainder_towardzero_test_data): New variable.
7694         (remainder_test_towardzero): New function.
7695         (remainder_downward_test_data): New variable.
7696         (remainder_test_downward): New function.
7697         (remainder_upward_test_data): New variable.
7698         (remainder_test_upward): New function.
7699         (main): Call the new test functions.
7701         * math/libm-test.inc (struct test_f_f1_data): Remove field
7702         extra_init.
7703         (struct test_fF_f1_data): Likewise.
7704         (struct test_ffI_f1_data): Likewise.
7705         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7706         based on value of EXTRA_EXPECTED.
7707         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7708         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7709         EXTRA_VAR based on value of EXTRA_EXPECTED.
7710         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7711         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7712         EXTRA_VAR based on value of EXTRA_EXPECTED.
7713         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7714         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7715         EXTRA_VAR based on value of EXTRA_EXPECTED.
7716         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7717         * math/gen-libm-test.pl (parse_args): Don't output initializers
7718         for extra output values.
7720         * math/libm-test.inc (check_int): Expect result to be exactly
7721         equal to expected value and do not handle ulps.
7722         (check_long): Likewise.
7723         (check_longlong): Likewise.
7725         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7726         exceptions.
7727         (cimag_test_data): Likewise.
7728         (conj_test_data): Likewise.
7729         (copysign_test_data): Likewise.
7730         (cproj_test_data): Likewise.
7731         (creal_test_data): Likewise.
7732         (fabs_test_data): Likewise.
7733         (fdim_test_data): Likewise.
7734         (finite_test_data): Likewise.
7735         (floor_test_data): Likewise.
7736         (fmax_test_data): Likewise.
7737         (fmin_test_data): Likewise.
7738         (fmod_test_data): Likewise.
7739         (fpclassify_test_data): Likewise.
7740         (frexp_test_data): Likewise.
7741         (ilogb_test_data): Likewise.
7742         (isfinite_test_data): Likewise.
7743         (isgreater_test_data): Likewise.
7744         (isgreaterequal_test_data): Likewise.
7745         (isinf_test_data): Likewise.
7746         (isless_test_data): Likewise.
7747         (islessequal_test_data): Likewise.
7748         (islessgreater_test_data): Likewise.
7749         (isnan_test_data): Likewise.
7750         (isnormal_test_data): Likewise.
7751         (issignaling_test_data): Likewise.
7752         (isunordered_test_data): Likewise.
7753         (ldexp_test_data): Likewise.
7754         (lrint_test_data): Likewise.
7755         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7756         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7757         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7758         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7759         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7760         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7761         test input.
7762         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7763         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7764         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7765         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7766         that test input.
7767         (lrint_downward_test_data): Test for "inexact" exceptions.
7768         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7769         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7770         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7771         test input.
7772         (lrint_upward_test_data): Test for "inexact" exceptions.
7773         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7774         test input.
7775         (llrint_test_data): Test for "inexact" exceptions.
7776         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7777         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7778         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7779         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7780         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7781         (llrint_downward_test_data): Test for "inexact" exceptions.
7782         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7783         (llrint_upward_test_data): Test for "inexact" exceptions.
7784         (logb_test_data): Likewise.
7785         (logb_downward_test_data): Likewise.
7786         (nextafter_test_data): Likewise.
7787         (nexttoward_test_data): Likewise.
7788         (remainder_test_data): Likewise.
7789         (remquo_test_data): Likewise.
7790         (scalbn_test_data): Likewise.
7791         (scalbln_test_data): Likewise.
7792         (signbit_test_data): Likewise.
7793         (sqrt_test_data): Likewise.
7794         (significand_test_data): Likewise.
7796 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7798         [BZ #15424]
7799         * benchtests/bench-modf.c (struct args): Mark arg0 as
7800         volatile.
7801         * scripts/bench.pl: Mark members of struct args as volatile.
7803 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7805         [BZ # 15497]
7806         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7807         negative infinity on POWER6 or lower.
7808         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7810 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7812         [BZ #15442]
7813         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7814         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7815         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7816         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7817         (_FP_SETQNAN): New macro.
7818         (_FP_SETQNAN_SEMIRAW): Likewise.
7819         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7820         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7821         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7822         (FP_EXTEND): Use _FP_FRAC_SNANP.
7823         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7824         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7825         into account.
7826         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7827         New macro.
7828         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7829         Likewise.
7831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7833         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7834         with DIVIDE_BY_ZERO_EXCEPTION.
7835         (gamma_test_data): Likewise.
7836         (lgamma_test_data): Likewise.
7837         (log_test_data): Likewise.
7838         (log10_test_data): Likewise.
7839         (log2_test_data): Likewise.
7840         (tgamma_test_data): Likewise.
7842         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7843         (acos_test_tonearest): Likewise.
7844         (acos_test_towardzero): Likewise.
7845         (acos_test_downward): Likewise.
7846         (acos_test_upward): Likewise.
7847         (acosh_test): Likewise.
7848         (asin_test): Likewise.
7849         (asin_test_tonearest): Likewise.
7850         (asin_test_towardzero): Likewise.
7851         (asin_test_downward): Likewise.
7852         (asin_test_upward): Likewise.
7853         (asinh_test): Likewise.
7854         (atan_test): Likewise.
7855         (atanh_test): Likewise.
7856         (atan2_test): Likewise.
7857         (cabs_test): Likewise.
7858         (cacos_test): Likewise.
7859         (cacosh_test): Likewise.
7860         (casin_test): Likewise.
7861         (casinh_test): Likewise.
7862         (catan_test): Likewise.
7863         (catanh_test): Likewise.
7864         (cbrt_test): Likewise.
7865         (ccos_test): Likewise.
7866         (ccosh_test): Likewise.
7867         (cexp_test): Likewise.
7868         (clog_test): Likewise.
7869         (clog10_test): Likewise.
7870         (cos_test): Likewise.
7871         (cos_test_tonearest): Likewise.
7872         (cos_test_towardzero): Likewise.
7873         (cos_test_downward): Likewise.
7874         (cos_test_upward): Likewise.
7875         (cosh_test): Likewise.
7876         (cosh_test_tonearest): Likewise.
7877         (cosh_test_towardzero): Likewise.
7878         (cosh_test_downward): Likewise.
7879         (cosh_test_upward): Likewise.
7880         (cpow_test): Likewise.
7881         (csin_test): Likewise.
7882         (csinh_test): Likewise.
7883         (csqrt_test): Likewise.
7884         (ctan_test): Likewise.
7885         (ctan_test_tonearest): Likewise.
7886         (ctan_test_towardzero): Likewise.
7887         (ctan_test_downward): Likewise.
7888         (ctan_test_upward): Likewise.
7889         (ctanh_test): Likewise.
7890         (ctanh_test_tonearest): Likewise.
7891         (ctanh_test_towardzero): Likewise.
7892         (ctanh_test_downward): Likewise.
7893         (ctanh_test_upward): Likewise.
7894         (erf_test): Likewise.
7895         (erfc_test): Likewise.
7896         (exp_test): Likewise.
7897         (exp_test_tonearest): Likewise.
7898         (exp_test_towardzero): Likewise.
7899         (exp_test_downward): Likewise.
7900         (exp_test_upward): Likewise.
7901         (exp10_test): Likewise.
7902         (exp2_test): Likewise.
7903         (expm1_test): Likewise.
7904         (fmod_test): Likewise.
7905         (gamma_test): Likewise.
7906         (hypot_test): Likewise.
7907         (j0_test): Likewise.
7908         (j1_test): Likewise.
7909         (jn_test): Likewise.
7910         (lgamma_test): Likewise.
7911         (log_test): Likewise.
7912         (log10_test): Likewise.
7913         (log1p_test): Likewise.
7914         (log2_test): Likewise.
7915         (logb_test_downward): Likewise.
7916         (pow_test): Likewise.
7917         (pow_test_tonearest): Likewise.
7918         (pow_test_towardzero): Likewise.
7919         (pow_test_downward): Likewise.
7920         (pow_test_upward): Likewise.
7921         (remainder_test): Likewise.
7922         (remquo_test): Likewise.
7923         (sin_test): Likewise.
7924         (sin_test_tonearest): Likewise.
7925         (sin_test_towardzero): Likewise.
7926         (sin_test_downward): Likewise.
7927         (sin_test_upward): Likewise.
7928         (sincos_test): Likewise.
7929         (sinh_test): Likewise.
7930         (sinh_test_tonearest): Likewise.
7931         (sinh_test_towardzero): Likewise.
7932         (sinh_test_downward): Likewise.
7933         (sinh_test_upward): Likewise.
7934         (sqrt_test): Likewise.
7935         (tan_test): Likewise.
7936         (tan_test_tonearest): Likewise.
7937         (tan_test_towardzero): Likewise.
7938         (tan_test_downward): Likewise.
7939         (tan_test_upward): Likewise.
7940         (tanh_test): Likewise.
7941         (tgamma_test): Likewise.
7942         (y0_test): Likewise.
7943         (y1_test): Likewise.
7944         (yn_test): Likewise.
7946         * math/gen-libm-test.pl (adjust_arg): Remove function.
7947         (special_function): Remove argument $in_func.  Only handle
7948         generating output for tables of tests, not inside functions.
7949         (parse_args): Likewise.
7950         (generate_testfile): Remove variable $in_func.  Update call to
7951         parse_args.
7952         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7953         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7954         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7955         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7956         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7957         (MAX_VALUE_INIT): Rename macro to max_value.
7958         (MIN_VALUE_INIT): Rename macro to min_value.
7959         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7960         (plus_zero): Remove variable.
7961         (minus_zero): Likewise.
7962         (plus_infty): Likewise.
7963         (minus_infty): Likewise.
7964         (qnan_value): Likewise.
7965         (max_value): Likewise.
7966         (min_value): Likewise.
7967         (min_subnorm_value): Likewise.
7969 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7971         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7972         uint64_t or uint32_t usage.
7973         * crypt/sha256-block.c: Likewise.
7974         * crypt/sha256-crypt.c: Likewise.
7975         * crypt/sha256.c: Likewise.
7976         * crypt/sha512-block.c: Likewise.
7977         * crypt/sha512-crypt.c: Likewise.
7978         * crypt/sha512.c: Likewise.
7979         * debug/backtrace-tst.c: Likewise.
7980         * debug/pcprofiledump.c: Likewise.
7981         * elf/cache.c: Likewise.
7982         * elf/dl-cache.c: Likewise.
7983         * elf/dl-misc.c: Likewise.
7984         * elf/dl-profile.c: Likewise.
7985         * elf/dl-support.c: Likewise.
7986         * elf/ldconfig.c: Likewise.
7987         * elf/sprof.c: Likewise.
7988         * iconv/dummy-repertoire.c: Likewise.
7989         * iconv/iconv_charmap.c: Likewise.
7990         * iconv/skeleton.c: Likewise.
7991         * iconvdata/8bit-generic.c: Likewise.
7992         * iconvdata/cp737.h: Likewise.
7993         * iconvdata/cp775.h: Likewise.
7994         * iconvdata/ibm1008.h: Likewise.
7995         * iconvdata/ibm1025.h: Likewise.
7996         * iconvdata/ibm1046.h: Likewise.
7997         * iconvdata/ibm1097.h: Likewise.
7998         * iconvdata/ibm1112.h: Likewise.
7999         * iconvdata/ibm1122.h: Likewise.
8000         * iconvdata/ibm1123.h: Likewise.
8001         * iconvdata/ibm1124.h: Likewise.
8002         * iconvdata/ibm1129.h: Likewise.
8003         * iconvdata/ibm1130.h: Likewise.
8004         * iconvdata/ibm1132.h: Likewise.
8005         * iconvdata/ibm1133.h: Likewise.
8006         * iconvdata/ibm1137.h: Likewise.
8007         * iconvdata/ibm1140.h: Likewise.
8008         * iconvdata/ibm1141.h: Likewise.
8009         * iconvdata/ibm1142.h: Likewise.
8010         * iconvdata/ibm1143.h: Likewise.
8011         * iconvdata/ibm1144.h: Likewise.
8012         * iconvdata/ibm1145.h: Likewise.
8013         * iconvdata/ibm1146.h: Likewise.
8014         * iconvdata/ibm1147.h: Likewise.
8015         * iconvdata/ibm1148.h: Likewise.
8016         * iconvdata/ibm1149.h: Likewise.
8017         * iconvdata/ibm1153.h: Likewise.
8018         * iconvdata/ibm1154.h: Likewise.
8019         * iconvdata/ibm1155.h: Likewise.
8020         * iconvdata/ibm1156.h: Likewise.
8021         * iconvdata/ibm1157.h: Likewise.
8022         * iconvdata/ibm1158.h: Likewise.
8023         * iconvdata/ibm1160.h: Likewise.
8024         * iconvdata/ibm1161.h: Likewise.
8025         * iconvdata/ibm1162.h: Likewise.
8026         * iconvdata/ibm1163.h: Likewise.
8027         * iconvdata/ibm1164.h: Likewise.
8028         * iconvdata/ibm1166.h: Likewise.
8029         * iconvdata/ibm1167.h: Likewise.
8030         * iconvdata/ibm12712.h: Likewise.
8031         * iconvdata/ibm1390.h: Likewise.
8032         * iconvdata/ibm1399.h: Likewise.
8033         * iconvdata/ibm16804.h: Likewise.
8034         * iconvdata/ibm4517.h: Likewise.
8035         * iconvdata/ibm4899.h: Likewise.
8036         * iconvdata/ibm4909.h: Likewise.
8037         * iconvdata/ibm4971.h: Likewise.
8038         * iconvdata/ibm5347.h: Likewise.
8039         * iconvdata/ibm803.h: Likewise.
8040         * iconvdata/ibm856.h: Likewise.
8041         * iconvdata/ibm901.h: Likewise.
8042         * iconvdata/ibm902.h: Likewise.
8043         * iconvdata/ibm9030.h: Likewise.
8044         * iconvdata/ibm9066.h: Likewise.
8045         * iconvdata/ibm921.h: Likewise.
8046         * iconvdata/ibm922.h: Likewise.
8047         * iconvdata/ibm9448.h: Likewise.
8048         * iconvdata/isiri-3342.h: Likewise.
8049         * iconvdata/jis0201.h: Likewise.
8050         * include/link.h: Likewise.
8051         * include/netdb.h: Likewise.
8052         * inet/check_native.c: Likewise.
8053         * inet/check_pf.c: Likewise.
8054         * inet/getipv4sourcefilter.c: Likewise.
8055         * inet/getnameinfo.c: Likewise.
8056         * inet/getsourcefilter.c: Likewise.
8057         * inet/htonl.c: Likewise.
8058         * inet/setipv4sourcefilter.c: Likewise.
8059         * inet/setsourcefilter.c: Likewise.
8060         * inet/test-inet6_opt.c: Likewise.
8061         * inet/tst-network.c: Likewise.
8062         * locale/C-collate.c: Likewise.
8063         * locale/C-ctype.c: Likewise.
8064         * locale/C-time.c: Likewise.
8065         * locale/C-translit.h: Likewise.
8066         * locale/loadarchive.c: Likewise.
8067         * locale/programs/3level.h: Likewise.
8068         * locale/programs/charmap.c: Likewise.
8069         * locale/programs/charmap.h: Likewise.
8070         * locale/programs/ld-address.c: Likewise.
8071         * locale/programs/ld-collate.c: Likewise.
8072         * locale/programs/ld-ctype.c: Likewise.
8073         * locale/programs/ld-identification.c: Likewise.
8074         * locale/programs/ld-measurement.c: Likewise.
8075         * locale/programs/ld-messages.c: Likewise.
8076         * locale/programs/ld-monetary.c: Likewise.
8077         * locale/programs/ld-name.c: Likewise.
8078         * locale/programs/ld-numeric.c: Likewise.
8079         * locale/programs/ld-paper.c: Likewise.
8080         * locale/programs/ld-telephone.c: Likewise.
8081         * locale/programs/ld-time.c: Likewise.
8082         * locale/programs/linereader.c: Likewise.
8083         * locale/programs/locale.c: Likewise.
8084         * locale/programs/locarchive.c: Likewise.
8085         * locale/programs/locfile.h: Likewise.
8086         * locale/programs/repertoire.c: Likewise.
8087         * locale/programs/simple-hash.c: Likewise.
8088         * locale/programs/simple-hash.h: Likewise.
8089         * malloc/memusage.c: Likewise.
8090         * malloc/memusagestat.c: Likewise.
8091         * nis/nis_defaults.c: Likewise.
8092         * nis/nis_hash.c: Likewise.
8093         * nis/nis_print.c: Likewise.
8094         * nis/nis_xdr.c: Likewise.
8095         * nscd/connections.c: Likewise.
8096         * nscd/hstcache.c: Likewise.
8097         * nscd/nscd_gethst_r.c: Likewise.
8098         * nscd/nscd_getserv_r.c: Likewise.
8099         * nscd/nscd_helper.c: Likewise.
8100         * nscd/servicescache.c: Likewise.
8101         * nss/makedb.c: Likewise.
8102         * nss/nss_db/db-XXX.c: Likewise.
8103         * nss/nss_db/db-initgroups.c: Likewise.
8104         * nss/nss_db/db-netgrp.c: Likewise.
8105         * nss/nss_files/files-network.c: Likewise.
8106         * nss/nss_files/files-parse.c: Likewise.
8107         * posix/bug-regex5.c: Likewise.
8108         * posix/fnmatch_loop.c: Likewise.
8109         * posix/regcomp.c: Likewise.
8110         * posix/regexec.c: Likewise.
8111         * posix/tst-rfc3484-2.c: Likewise.
8112         * posix/tst-rfc3484-3.c: Likewise.
8113         * posix/tst-rfc3484.c: Likewise.
8114         * resolv/nss_dns/dns-canon.c: Likewise.
8115         * resolv/nss_dns/dns-network.c: Likewise.
8116         * resolv/res_init.c: Likewise.
8117         * resolv/res_mkquery.c: Likewise.
8118         * resolv/tst-aton.c: Likewise.
8119         * stdlib/cxa_atexit.c: Likewise.
8120         * stdlib/cxa_finalize.c: Likewise.
8121         * stdlib/gen-fpioconst.c: Likewise.
8122         * stdlib/strtol_l.c: Likewise.
8123         * string/tst-endian.c: Likewise.
8124         * sunrpc/auth_des.c: Likewise.
8125         * sunrpc/clnt_udp.c: Likewise.
8126         * sunrpc/rtime.c: Likewise.
8127         * sunrpc/svcauth_des.c: Likewise.
8128         * sunrpc/xdr.c: Likewise.
8129         * sunrpc/xdr_intXX_t.c: Likewise.
8130         * sunrpc/xdr_rec.c: Likewise.
8131         * sysdeps/generic/ldconfig.h: Likewise.
8132         * sysdeps/generic/ldsodefs.h: Likewise.
8133         * sysdeps/generic/memusage.h: Likewise.
8134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8135         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8136         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8140         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8141         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8142         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8144         * sysdeps/posix/getaddrinfo.c: Likewise.
8145         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8146         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8147         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8148         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8149         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8150         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8151         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8152         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8153         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8154         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8155         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8156         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8157         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8158         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8159         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8160         * sysdeps/x86_64/dl-tls.h: Likewise.
8161         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8162         * time/alt_digit.c: Likewise.
8163         * time/era.c: Likewise.
8164         * wcsmbs/tst-c16c32-1.c: Likewise.
8166 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8168         * math/libm-test.inc (struct test_sincos_data): New type.
8169         (RUN_TEST_LOOP_sincos): New macro.
8170         (sincos_test_data): New variable.
8171         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8173 2013-05-16  Richard Henderson  <rth@redhat.com>
8175         * math/atest-exp2.c (LIMB64): New macro.
8176         (CONSTSZ): New macro.
8177         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8178         (hexdig): Move ...
8179         (print_mpn_fp): ... to function scope.
8180         (read_mpn_hex): Remove.
8181         (get_log2): Remove.
8182         (exp2_mpn): Use mp_log2.
8183         (main): Use mp_exp1.
8185 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8187         * math/libm-test.inc: Remove comment about not testing "inexact"
8188         exceptions.
8189         (INEXACT_EXCEPTION): New macro.
8190         (NO_INEXACT_EXCEPTION): Likewise.
8191         (INVALID_EXCEPTION_OK): Update value.
8192         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8193         (OVERFLOW_EXCEPTION_OK): Likewise.
8194         (UNDERFLOW_EXCEPTION_OK): Likewise.
8195         (IGNORE_ZERO_INF_SIGN): Likewise.
8196         (ERRNO_UNCHANGED): Likewise.
8197         (ERRNO_EDOM): Likewise.
8198         (ERRNO_ERANGE): Likewise.
8199         (test_exceptions): Handle testing "inexact" exceptions.
8200         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8201         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8202         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8203         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8204         INEXACT_EXCEPTION.
8205         (rint_towardzero_test_data): Likewise.
8206         (rint_downward_test_data): Likewise.
8207         (rint_upward_test_data): Likewise.
8209         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8210         with OVERFLOW_EXCEPTION.
8211         (exp10_test_data): Likewise.
8212         (exp2_test_data): Likewise.
8213         (expm1_test_data): Likewise.
8214         (lgamma_test_data): Likewise.
8215         (pow_test_data): Likewise.
8216         (tgamma_test_data): Likewise.
8217         (yn_test_data): Remove duplicate test of overflow.
8219         * math/libm-test.inc (struct test_cc_c_data): New type.
8220         (RUN_TEST_LOOP_cc_c): New macro.
8221         (cpow_test_data): New variable.
8222         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8224         * math/libm-test.inc (struct test_f_L_data): New type.
8225         (RUN_TEST_LOOP_f_L): New macro.
8226         (llrint_test_data): New variable.
8227         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8228         (llrint_tonearest_test_data): New variable.
8229         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8230         (llrint_towardzero_test_data): New variable.
8231         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8232         (llrint_downward_test_data): New variable.
8233         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8234         (llrint_upward_test_data): New variable.
8235         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8236         (llround_test_data): New variable.
8237         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8239 2013-05-13  Peter Collingbourne  <pcc@google.com>
8241         * math/atest-exp2.c (get_log2): Remove const attribute.
8243 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8245         * math/libm-test.inc (struct test_f_l_data): New type.
8246         (RUN_TEST_LOOP_f_l): New macro.
8247         (lrint_test_data): New variable.
8248         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8249         (lrint_tonearest_test_data): New variable.
8250         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8251         (lrint_towardzero_test_data): New variable.
8252         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8253         (lrint_downward_test_data): New variable.
8254         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8255         (lrint_upward_test_data): New variable.
8256         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8257         (lround_test_data): New variable.
8258         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8260 2013-05-15  Peter Collingbourne  <pcc@google.com>
8262         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8263         (EXTRACT_WORDS64) Use where appropriate.
8264         (INSERT_WORDS64) Likewise.
8266         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8267         constraints with x constraints.
8268         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8270         * malloc/obstack.c (_obstack_compat): Add initializer.
8272 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8274         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8275         si_trapno and add si_addr_lsb to _sifields.sigfault.
8276         (si_trapno): Remove macro.
8277         (si_addr_lsb): Define new macro.
8278         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8280 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8282         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8283         instead of TEST_f_l.
8284         (llrint_test_tonearest): Likewise.
8285         (llrint_test_towardzero): Likewise.
8286         (llrint_test_downward): Likewise.
8287         (llrint_test_upward): Likewise.
8288         (llround_test): Likewise.
8290         * math/libm-test.inc (struct test_f_i_data): Add comment.
8291         (RUN_TEST_LOOP_f_b): New macro.
8292         (RUN_TEST_LOOP_f_b_tg): Likewise.
8293         (finite_test_data): New variable.
8294         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8295         (isfinite_test_data): New variable.
8296         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8297         (isinf_test_data): New variable.
8298         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8299         (isnan_test_data): New variable.
8300         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8301         (isnormal_test_data): New variable.
8302         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8303         (issignaling_test_data): New variable.
8304         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8305         (signbit_test_data): New variable.
8306         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8308         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8309         with INVALID_EXCEPTION.
8310         (acosh_test_data): Likewise.
8311         (asin_test_data): Likewise.
8312         (atanh_test_data): Likewise.
8313         (fmod_test_data): Likewise.
8314         (log_test_data): Likewise.
8315         (log10_test_data): Likewise.
8316         (log2_test_data): Likewise.
8317         (pow_test_data): Likewise.
8318         (sqrt_test_data): Likewise.
8319         (y0_test_data): Likewise.
8320         (y1_test_data): Likewise.
8321         (yn_test_data): Likewise.
8323         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8324         function contents.
8326         * math/libm-test.inc (struct test_ff_i_data): New type.
8327         (RUN_TEST_LOOP_ff_i_tg): New macro.
8328         (isgreater_test_data): New variable.
8329         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8330         (isgreaterequal_test_data): New variable.
8331         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8332         (isless_test_data): New variable.
8333         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8334         (islessequal_test_data): New variable.
8335         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8336         (islessgreater_test_data): New variable.
8337         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8338         (isunordered_test_data): New variable.
8339         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8341 2013-05-14  David S. Miller  <davem@davemloft.net>
8343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8345 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8347         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8349         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8350         extra_test to int.
8351         (struct test_f_i_data): Change type of max_ulp to int.
8353         * math/libm-test.inc (test_ffI_f1_data): New type.
8354         (RUN_TEST_LOOP_ffI_f1): New macro.
8355         (remquo_test_data): New variable.
8356         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8358         * setjmp/tst-setjmp-fp.c: New file.
8359         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8360         (link-libm): New variable.
8361         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8363         * math/libm-test.inc (struct test_f_i_data): New type.
8364         (RUN_TEST_LOOP_f_i): New macro.
8365         (RUN_TEST_LOOP_f_i_tg): Likewise.
8366         (fpclassify_test_data): New variable.
8367         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8368         (ilogb_test_data): New variable.
8369         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8371         * math/libm-test.inc (scalbln_test): Correct function name in END
8372         call.
8374         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8375         (RUN_TEST_LOOP_fI_f1): New macro.
8376         (frexp_test_data): New variable.
8377         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8379         * math/libm-test.inc (struct test_fF_f1_data): New type.
8380         (RUN_TEST_LOOP_fF_f1): New macro.
8381         (modf_test_data): New variable.
8382         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8384         * math/libm-test.inc (struct test_f_f1_data): New type.
8385         (RUN_TEST_LOOP_f_f1): New macro.
8386         (gamma_test_data): New variable.
8387         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8388         (lgamma_test_data): New variable.
8389         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8391 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8393         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8394         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8395         (main): Comment "tls" pseudo-hwcap.
8397 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8399         * math/libm-test.inc (struct test_fl_f_data): New type.
8400         (RUN_TEST_LOOP_fl_f): New variable.
8401         (scalbln_test_data): New variable.
8402         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8404         * math/libm-test.inc (struct test_fi_f_data): New type.
8405         (RUN_TEST_LOOP_fi_f): New macro.
8406         (ldexp_test_data): New variable.
8407         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8408         (scalbn_test_data): New variable.
8409         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8411         * math/libm-test.inc (struct test_c_f_data): New type.
8412         (RUN_TEST_LOOP_c_f): New macro.
8413         (cabs_test_data): New variable.
8414         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8415         (carg_test_data): New variable.
8416         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8417         (cimag_test_data): New variable.
8418         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8419         (creal_test_data): New variable.
8420         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8422         * math/libm-test.inc (struct test_if_f_data): New type.
8423         (RUN_TEST_LOOP_if_f): New macro.
8424         (jn_test_data): New variable.
8425         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8426         (yn_test_data): New variable.
8427         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8429         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8431 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8433         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8434         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8436 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8438         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8439         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8440         (bench-deps): Add bench-timing.h.
8441         * benchtests-bench-skeleton.c: Include bench-timing.h.
8442         (main): Use TIMING_* macros instead of clock_gettime.
8443         * benchtests/bench-timing.h: New file.
8445         [BZ #14582]
8446         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8447         Renamed from _LIB_VERSION.
8448         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8450 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8452         * math/libm-test.inc (struct test_fff_f_data): New type.
8453         (RUN_TEST_LOOP_fff_f): New macro.
8454         (fma_test_data): New variable.
8455         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8456         (fma_towardzero_test_data): New variable.
8457         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8458         (fma_downward_test_data): New variable.
8459         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8460         (fma_upward_test_data): New variable.
8461         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8463         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8464         (struct test_c_c_data): New type.
8465         (RUN_TEST_LOOP_c_c): New macro.
8466         (cacos_test_data): New variable.
8467         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8468         (cacosh_test_data): New variable.
8469         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8470         (casin_test_data): New variable.
8471         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8472         (casinh_test_data): New variable.
8473         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8474         (catan_test_data): New variable.
8475         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8476         (catanh_test_data): New variable.
8477         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8478         (ccos_test_data): New variable.
8479         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8480         (ccosh_test_data): New variable.
8481         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8482         (cexp_test_data): New variable.
8483         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8484         (clog_test_data): New variable.
8485         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8486         (clog10_test_data): New variable.
8487         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8488         (conj_test_data): New variable.
8489         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8490         (cproj_test_data): New variable.
8491         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8492         (csin_test_data): New variable.
8493         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8494         (csinh_test_data): New variable.
8495         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8496         (csqrt_test_data): New variable.
8497         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8498         (ctan_test_data): New variable.
8499         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8500         (ctan_tonearest_test_data): New variable.
8501         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8502         (ctan_towardzero_test_data): New variable.
8503         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8504         (ctan_downward_test_data): New variable.
8505         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8506         (ctan_upward_test_data): New variable.
8507         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8508         (ctanh_test_data): New variable.
8509         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8510         (ctanh_tonearest_test_data): New variable.
8511         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8512         (ctanh_towardzero_test_data): New variable.
8513         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8514         (ctanh_downward_test_data): New variable.
8515         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8516         (ctanh_upward_test_data): New variable.
8517         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8518         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8519         of BUILD_COMPLEX.
8521         * math/libm-test.inc (struct test_ff_f_data): New type.
8522         (struct test_ff_f_data_nexttoward): Likewise.
8523         (RUN_TEST_LOOP_2_f): New macro.
8524         (RUN_TEST_LOOP_ff_f): Likewise.
8525         (atan2_test_data): New variable.
8526         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8527         (copysign_test_data): New variable.
8528         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8529         (fdim_test_data): New variable.
8530         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8531         (fmax_test_data): New variable.
8532         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8533         (fmin_test_data): New variable.
8534         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8535         (fmod_test_data): New variable.
8536         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8537         (hypot_test_data): New variable.
8538         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8539         (nextafter_test_data): New variable.
8540         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8541         (nexttoward_test_data): New variable.
8542         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8543         (pow_test_data): New variable.
8544         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8545         (pow_tonearest_test_data): New variable.
8546         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8547         (pow_towardzero_test_data): New variable.
8548         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8549         (pow_downward_test_data): New variable.
8550         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8551         (pow_upward_test_data): New variable.
8552         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8553         (remainder_test_data): New variable.
8554         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8555         (scalb_test_data): New variable.
8556         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8557         * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8561         * math/libm-test.inc (fma_test): Use max_value instead of local
8562         variable fltmax.
8563         (nextafter_test): Likewise.
8565         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8566         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8567         (acos_downward_test_data): New variable.
8568         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8569         (acos_upward_test_data): New variable.
8570         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8571         (acosh_test_data): New variable.
8572         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8573         (asin_test_data): New variable.
8574         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8575         (asin_tonearest_test_data): New variable.
8576         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8577         (asin_towardzero_test_data): New variable.
8578         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8579         (asin_downward_test_data): New variable.
8580         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8581         (asin_upward_test_data): New variable.
8582         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8583         (asinh_test_data): New variable.
8584         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8585         (atan_test_data): New variable.
8586         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8587         (atanh_test_data): New variable.
8588         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8589         (cbrt_test_data): New variable.
8590         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8591         (ceil_test_data): New variable.
8592         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8593         (cos_test_data): New variable.
8594         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8595         (cos_tonearest_test_data): New variable.
8596         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8597         (cos_towardzero_test_data): New variable.
8598         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8599         (cos_downward_test_data): New variable.
8600         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8601         (cos_upward_test_data): New variable.
8602         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8603         (cosh_test_data): New variable.
8604         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8605         (cosh_tonearest_test_data): New variable.
8606         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8607         (cosh_towardzero_test_data): New variable.
8608         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8609         (cosh_downward_test_data): New variable.
8610         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8611         (cosh_upward_test_data): New variable.
8612         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8613         (erf_test_data): New variable.
8614         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8615         (erfc_test_data): New variable.
8616         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8617         (exp_test_data): New variable.
8618         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8619         (exp_tonearest_test_data): New variable.
8620         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8621         (exp_towardzero_test_data): New variable.
8622         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8623         (exp_downward_test_data): New variable.
8624         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8625         (exp_upward_test_data): New variable.
8626         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8627         (exp10_test_data): New variable.
8628         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8629         (exp2_test_data): New variable.
8630         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8631         (expm1_test_data): New variable.
8632         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8633         (fabs_test_data): New variable.
8634         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8635         (floor_test_data): New variable.
8636         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8637         (j0_test_data): New variable.
8638         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8639         (j1_test_data): New variable.
8640         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8641         (log_test_data): New variable.
8642         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8643         (log10_test_data): New variable.
8644         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8645         (log1p_test_data): New variable.
8646         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8647         (log2_test_data): New variable.
8648         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8649         (logb_test_data): New variable.
8650         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8651         (logb_downward_test_data): New variable.
8652         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8653         (nearbyint_test_data): New variable.
8654         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8655         (rint_test_data): New variable.
8656         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8657         (rint_tonearest_test_data): New variable.
8658         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8659         (rint_towardzero_test_data): New variable.
8660         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8661         (rint_downward_test_data): New variable.
8662         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8663         (rint_upward_test_data): New variable.
8664         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8665         (round_test_data): New variable.
8666         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8667         (sin_test_data): New variable.
8668         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8669         (sin_tonearest_test_data): New variable.
8670         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8671         (sin_towardzero_test_data): New variable.
8672         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8673         (sin_downward_test_data): New variable.
8674         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8675         (sin_upward_test_data): New variable.
8676         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8677         (sinh_test_data): New variable.
8678         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8679         (sinh_tonearest_test_data): New variable.
8680         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8681         (sinh_towardzero_test_data): New variable.
8682         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8683         (sinh_downward_test_data): New variable.
8684         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8685         (sinh_upward_test_data): New variable.
8686         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8687         (sqrt_test_data): New variable.
8688         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8689         (tan_test_data): New variable.
8690         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8691         (tan_tonearest_test_data): New variable.
8692         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8693         (tan_towardzero_test_data): New variable.
8694         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8695         (tan_downward_test_data): New variable.
8696         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8697         (tan_upward_test_data): New variable.
8698         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8699         (tanh_test_data): New variable.
8700         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8701         (tgamma_test_data): New variable.
8702         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8703         (trunc_test_data): New variable.
8704         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8705         (y0_test_data): New variable.
8706         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8707         (y1_test_data): New variable.
8708         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8709         (significand_test_data): New variable.
8710         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8712 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8714         [BZ #12387]
8715         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8717 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8719         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8721 2013-05-10  Andreas Jaeger  <aj@suse.de>
8723         [BZ #15448]
8724         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8725         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8727 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8729         * math/gen-libm-test.pl (adjust_arg): New function.
8730         (special_functions): Handle generating output in both functions
8731         and arrays.
8732         (parse_args): Likewise.
8733         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8734         $in_func argument to parse_args.
8735         * math/libm-test.inc (struct test_f_f_data): New type.
8736         (IF_ROUND_INIT_): New macro.
8737         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8738         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8739         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8740         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8741         (ROUND_RESTORE_): Likewise.
8742         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8743         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8744         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8745         (ROUND_RESTORE_FE_UPWARD): Likewise.
8746         (RUN_TEST_LOOP_f_f): New macro.
8747         (acos_test_data): New variable.
8748         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8749         (acos_tonearest_test_data): New variable.
8750         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8752 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8754         * benchtests/bench-skeleton.c (startup): Fix coding style.
8756 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8758         [BZ #6809]
8759         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8760         negative infinity argument.
8761         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8762         negative infinity argument.
8763         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8764         negative infinity argument.
8765         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8766         domain errors.
8768 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8770         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8771         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8772         * iconv/iconv_prog.c (main): Likewise.
8773         * locale/programs/charmap-dir.c (charmap_readdir)
8774         (fopen_uncompressed): Likewise.
8775         * locale/programs/locfile.c (siblings_uncached)
8776         (write_locale_data): Use lstat64 instead of lstat.
8777         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8778         stat.
8780 2013-05-10  Andreas Jaeger  <aj@suse.de>
8782         [BZ #15395]
8783         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8784         localization.
8785         Include <locale.h>.
8787 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8789         * elf/dl-close.c (_dl_close_worker): Add comments.
8791 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8793         [BZ #15359]
8794         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8795         high part of pi/2.
8796         (__ieee754_rem_pio2l): Update comments.
8798         [BZ #15429]
8799         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8800         high part of pi/2.
8801         (__ieee754_rem_pio2l): Update comments.
8803         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8804         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8806         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8807         M_PI_4l.
8809         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8810         (M_PI_34_LOG10El): Likewise.
8811         (M_PI2_LOG10El): Likewise.
8812         (M_PI4_LOG10El): Likewise.
8813         (M_PI_LOG10El): Likewise.
8815 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8819 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8821         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8822         (MINUS_ZERO_INIT): Likewise.
8823         (PLUS_INFTY_INIT): Likewise.
8824         (MINUS_INFTY_INIT): Likewise.
8825         (QNAN_VALUE_INIT): Likewise.
8826         (MAX_VALUE_INIT): Likewise.
8827         (MIN_VALUE_INIT): Likewise.
8828         (MIN_SUBNORM_VALUE_INIT): Likewise.
8829         (plus_zero): Initialize with PLUS_ZERO_INIT.
8830         (minus_zero): Initialize with MINUS_ZERO_INIT.
8831         (plus_infty): Initialize with PLUS_INFTY_INIT.
8832         (minus_infty): Initialize with MINUS_INFTY_INIT.
8833         (qnan_value): Initialize with QNAN_VALUE_INIT.
8834         (max_value): Initialize with MAX_VALUE_INIT.
8835         (min_value): Initialize with MIN_VALUE_INIT.
8836         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8838         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8839         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8840         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8841         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8843         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8844         (RUN_TEST_2_f): Likewise.
8845         (RUN_TEST_ff_f): Likewise.
8846         (RUN_TEST_fi_f): Likewise.
8847         (RUN_TEST_fl_f): Likewise.
8848         (RUN_TEST_fff_f): Likewise.
8849         (RUN_TEST_c_f): Likewise.
8850         (RUN_TEST_f_f1): Likewise.
8851         (RUN_TEST_fF_f1): Likewise.
8852         (RUN_TEST_fI_f1): Likewise.
8853         (RUN_TEST_ffI_f1): Likewise.
8854         (RUN_TEST_c_c): Likewise.
8855         (RUN_TEST_cc_c): Likewise.
8856         (RUN_TEST_f_i): Likewise.
8857         (RUN_TEST_f_i_tg): Likewise.
8858         (RUN_TEST_ff_i_tg): Likewise.
8859         (RUN_TEST_f_b): Likewise.
8860         (RUN_TEST_f_b_tg): Likewise.
8861         (RUN_TEST_f_l): Likewise.
8862         (RUN_TEST_f_L): Likewise.
8863         (RUN_TEST_sincos): Likewise.
8864         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8865         whether to show exceptions.  Do not include ");\n" in return
8866         value.
8867         (special_functions): Output call to RUN_TEST_sincos instead of
8868         check_float calls.  Update calls to new_test.
8869         (parse_args): Output call to single RUN_TEST_* macro instead of
8870         check_* calls and other assignments.  Update calls to new_test.
8872         [BZ #2546]
8873         [BZ #2560]
8874         [BZ #5159]
8875         [BZ #15426]
8876         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8877         input to result for tgamma overflow.
8878         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8879         (gamma_coeff): New variable.
8880         (NCOEFF): New macro.
8881         (gamma_positive): New function.
8882         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8883         underflow here.  Use gamma_positive instead of exp (lgamma) for
8884         other arguments.
8885         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8886         (gamma_coeff): New variable.
8887         (NCOEFF): New macro.
8888         (gammaf_positive): New function.
8889         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8890         underflow here.  Use gamma_positive instead of exp (lgamma) for
8891         other arguments.
8892         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8893         (gamma_coeff): New variable.
8894         (NCOEFF): New macro.
8895         (gammal_positive): New function.
8896         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8897         underflow here.  Use gamma_positive instead of exp (lgamma) for
8898         other arguments.
8899         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8900         (gamma_coeff): New variable.
8901         (NCOEFF): New macro.
8902         (gammal_positive): New function.
8903         (__ieee754_gammal_r): Handle positive infinity, overflow and
8904         underflow here.  Handle NaN the same as positive infinity.  Remove
8905         check x < 0xffffffff for negative integers.  Use gamma_positive
8906         instead of exp (lgamma) for other arguments.
8907         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8908         (gamma_coeff): New variable.
8909         (NCOEFF): New macro.
8910         (gammal_positive): New function.
8911         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8912         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8913         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8914         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8915         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8916         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8917         * sysdeps/generic/math_private.h (__gamma_productf): New
8918         prototype.
8919         (__gamma_product): Likewise.
8920         (__gamma_productl): Likewise.
8921         * math/Makefile (libm-calls): Add gamma_product.
8922         * math/libm-test.inc (tgamma_test): Add more tests.
8923         * sysdeps/i386/fpu/libm-test-ulps: Update.
8924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8926 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8928         * benchtests/bench-skeleton.c (main): Preheat CPU.
8930 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8932         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8934 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8936         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8937         and _dl_skip_args_internal.
8939 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8941         * manual/message.texi (Message Translation): Talk about users.
8942         Message to key mapping impacts design.
8944 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8946         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8948         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8950         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8951         * sysdeps/wordsize-64/glob64.c: ... here.
8953         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8954         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8955         New macros.
8957         * debug/getlogin_r_chk.c: Moved to ...
8958         * login/getlogin_r_chk.c: ... here.
8959         * debug/Makefile (routines): Move getlogin_r_chk to ...
8960         * login/Makefile (routines): ... here.
8961         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8962         * login/Versions (libc: GLIBC_2.4): ... here.
8964         * io/poll.c (__poll): Renamed from poll.
8965         Add libc_hidden_def.
8966         (poll): Define as weak alias.
8968         * debug/ptsname_r_chk.c: Moved to ...
8969         * login/ptsname_r_chk.c: ... here.
8970         * debug/Makefile (routines): Move ptsname_r_chk to ...
8971         * login/Makefile (routines): ... here.
8972         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8973         * login/Versions (libc: GLIBC_2.4): ... here.
8975         * posix/getlogin.c: Moved to ...
8976         * login/getlogin.c: ... here.
8977         * posix/getlogin_r.c: Moved to ...
8978         * login/getlogin_r.c: ... here.
8979         * posix/getlogin_r.c: Moved to ...
8980         * login/getlogin_r.c: ... here.
8981         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8982         * login/Makefile (routines): ... here.
8983         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8984         * login/Versions (libc: GLIBC_2.0): ... here.
8986         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8987         (setrlimit): Define as weak alias.
8989         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8990         Call __ names for open, ftruncate, and close.
8991         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8992         (truncate): Define as weak alias.
8994 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8996         * math/gen-libm-test.pl (parse_args): Initialize x before each
8997         test of frexp, modf and remquo.
8999         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9000         test signgam value.
9002 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9004         [BZ #15418]
9005         [BZ #15419]
9006         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9007         internal tests.
9008         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9010 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9012         * elf/dl-writev.h: New file.
9013         * elf/dl-misc.c: Include it.
9014         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9015         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9017 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9019         * math/libm-test.inc (noXFails): Remove variable.
9020         (noXPasses): Likewise.
9021         (BUILD_COMPLEX_INT): Remove macro.
9022         (print_screen): Remove xfail argument.
9023         (print_screen_max_error): Likewise.
9024         (update_stats): Likewise.
9025         (print_max_error): Likewise.  Update calls to other affected
9026         functions.
9027         (print_complex_max_error): Likewise.
9028         (test_single_exception): Update calls to print_screen.
9029         (test_single_errno): Likewise.
9030         (check_float_internal): Remove xfail argument.  Update calls to
9031         other affected functions.
9032         (check_float): Likewise.
9033         (check_complex): Likewise.
9034         (check_int): Likewise.
9035         (check_long): Likewise.
9036         (check_bool): Likewise.
9037         (check_longlong): Likewise.
9038         (main): Don't print noXFails and noXPasses.
9039         * math/gen-libm-test.pl (top level): Don't mention expected
9040         failure handling in comment.
9041         (new_test): Don't handle expected failures.
9042         (parse_args): Don't mention expected failure handling in comment.
9043         (generate_testfile): Don't handle expected failures.
9044         (parse_ulps): Likewise.
9045         (print_ulps_file): Likewise.
9046         (get_failure): Remove function.
9047         (output_test): Don't handle expected failures.
9048         * make/README.libm-test: Don't mention expected failure handling.
9050         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9051         (minus_zero): Likewise.
9052         (plus_infty): Likewise.
9053         (minus_infty): Likewise.
9054         (qnan_value): Likewise.
9055         (max_value): Likewise.
9056         (min_value): Likewise.
9057         (min_subnorm_value): Likewise.
9058         (initialize): Do not initialize those variables dynamically.
9060 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9062         * io/open.c (__open_2): Moved to ...
9063         * io/open_2.c: ... this new file.
9064         * io/open64.c (__open64_2): Moved to ...
9065         * io/open64_2.c: ... this new file.
9066         * io/openat.c (__openat_2): Moved to ...
9067         * io/openat_2.c: ... this new file.
9068         * io/openat64.c (__openat64_2): Moved to ...
9069         * io/openat64_2.c: ... this new file.
9070         * io/Makefile (routines): Add them.
9071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9072         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9073         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9074         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9075         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9076         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9077         (__openat64): Add hidden_ver.
9078         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9079         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9081         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9082         Separately conditionalize setting of GLRO(dl_sysinfo) so
9083         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9084         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9086 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9088         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9090         definition.
9091         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9092         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9093         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9094         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9095         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9097 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9099         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9100         test signgam value.
9102         * math/libm-test.inc (hypot_test): Do not use
9103         IGNORE_ZERO_INF_SIGN.
9105 2013-05-03  Andreas Jaeger  <aj@suse.de>
9107         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9108         Linux 3.9.
9109         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9110         (PF_MAX): Adjust for VSOCK change.
9112 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9116 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9118         [BZ #15264]
9119         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9120         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9121         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9123 2013-05-02  David S. Miller  <davem@davemloft.net>
9125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9127 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9129         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9131 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9133         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9135 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9137         [BZ #14952]
9138         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9139         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9140         Use __attribute__ ((__gnu_inline__)).
9141         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9142         Don't use __attribute__ ((__gnu_inline__)).
9144 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9146         [BZ #15423]
9147         * math/s_catan.c (__catan): Handle small real or imaginary part of
9148         input specially to avoid spurious underflow.
9149         * math/s_catanf.c (__catanf): Likewise.
9150         * math/s_catanh.c (__catanh): Likewise.
9151         * math/s_catanhf.c (__catanhf): Likewise.
9152         * math/s_catanhl.c (__catanhl): Likewise.
9153         * math/s_catanl.c (__catanl): Likewise.
9154         * math/libm-test.inc (catan_test): Add more tests.
9155         (catanh_test): Likewise.
9156         * sysdeps/i386/fpu/libm-test-ulps: Update.
9157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9159 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9163 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9165         [BZ #15416]
9166         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9167         accurately for denominator in atan2.
9168         * math/s_catanf.c (__catanf): Likewise.
9169         * math/s_catanh.c (__catanh): Likewise.
9170         * math/s_catanhf.c (__catanhf): Likewise.
9171         * math/s_catanhl.c (__catanhl): Likewise.
9172         * math/s_catanl.c (__catanl): Likewise.
9173         * math/libm-test.inc (catan_test): Add more tests.
9174         (catanh_test): Likewise.
9175         * sysdeps/i386/fpu/libm-test-ulps: Update.
9176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9178 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9180         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9182         * benchtests/Makefile (bench): Remove slow benchmarks.
9183         * benchtests/atan-inputs: Add slow benchmark inputs.
9184         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9185         (BENCH_FUNC): Accept variant offset.
9186         (VARIANT): Define.
9187         * benchtests/bench-skeleton.c (main): Run benchmark for each
9188         variant.
9189         * benchtests/cos-inputs: Add slow benchmark inputs.
9190         * benchtests/exp-inputs: Likewise.
9191         * benchtests/pow-inputs: Likewise.
9192         * benchtests/sin-inputs: Likewise.
9193         * benchtests/slowatan-inputs: Remove.
9194         * benchtests/slowatan.c: Remove.
9195         * benchtests/slowcos-inputs: Remove.
9196         * benchtests/slowcos.c: Remove.
9197         * benchtests/slowexp-inputs: Remove.
9198         * benchtests/slowexp.c: Remove.
9199         * benchtests/slowpow-inputs: Remove.
9200         * benchtests/slowpow.c: Remove.
9201         * benchtests/slowsin-inputs: Remove.
9202         * benchtests/slowsin.c: Remove.
9203         * benchtests/slowtan-inputs: Remove.
9204         * benchtests/slowtan.c: Remove.
9205         * benchtests/tan-inputs: Add slow benchmark inputs.
9206         * scripts/bench.pl: Parse comments and directives.
9208         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9209         in CPPFLAGS.
9210         ($(objpfx)bench-%.c): Remove *-ITER.
9211         * benchtests/bench-modf.c: Remove definition of ITER.
9212         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9213         (main): Loop for DURATION seconds instead of fixed number of
9214         iterations.
9215         * scripts/bench.pl: Don't expect iterations in parameters.
9217 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9219         * io/fchdir.c (__fchdir): Renamed from fchdir.
9220         (fchdir): Define as weak alias.
9222 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9224         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9225         (ERRNO_EDOM): Likewise.
9226         (ERRNO_ERANGE): Likewise.
9227         (noErrnoTests): New variable.
9228         (init_max_error): Set errno to 0.
9229         (test_single_errno): New function.
9230         (test_errno): Likewise.
9231         (check_float_internal): Call test_errno.  Set errno to 0.
9232         (check_complex): Refer to errno tests in comment.
9233         (check_int): Call test_errno.  Set errno to 0.
9234         (check_long): Likewise.
9235         (check_bool): Likewise.
9236         (check_longlong): Likewise.
9237         (cos_test): Use ERRNO_* flags for errno tests instead of
9238         check_int.
9239         (expm1_test): Likewise.
9240         (fmod_test): Likewise.
9241         (ilogb_test): Likewise.
9242         (lgamma_test): Likewise.
9243         (pow_test): Likewise.
9244         (remainder_test): Likewise.
9245         (sin_test): Likewise.
9246         (tan_test): Likewise.
9247         (yn_test): Likewise.
9248         (initialize): Set errno to 0.
9249         (main): Print number of errno tests.
9250         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9252 2013-04-29  Andreas Jaeger  <aj@suse.de>
9254         [BZ #15084]
9255         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9256         and RES_USEVC.
9258         [BZ #15085]
9259         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9260         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9261         unimplemented.
9263         [BZ #15380]
9264         * stdlib/random.c (__initstate): Return NULL if
9265         __initstate fails.
9267         [BZ #15086]
9268         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9269         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9270         RES_SNGLKUPREOP.
9272 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9276 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9278         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9279         of individual tests.
9280         (casin_test): Likewise.
9281         (casinh_test): Likewise.
9283 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9285         [BZ #15409]
9286         * math/s_catan.c (__catan): Handle arguments with large real or
9287         imaginary part separately without squaring.
9288         * math/s_catanf.c (__catanf): Likewise.
9289         * math/s_catanh.c (__catanh): Likewise.
9290         * math/s_catanhf.c (__catanhf): Likewise.
9291         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9292         and redefine.
9293         (__catanhl): Handle arguments with large real or imaginary part
9294         separately without squaring.
9295         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9296         and redefine.
9297         (__catanl): Handle arguments with large real or imaginary part
9298         separately without squaring.
9299         * math/libm-test.inc (catan_test): Add more tests.
9300         (catanh_test): Likewise.
9301         * sysdeps/i386/fpu/libm-test-ulps: Update.
9302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9304 2013-04-27  Andreas Jaeger  <aj@suse.de>
9306         [BZ #15007]
9307         * stdlib/stdlib.h: Update guards for qecvt.
9308         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9309         <stdlib.h>.
9311 2013-04-27  Allan McRae  <allan@archlinux.org>
9313         * sysdeps/i386/fpu/libm-test-ulps: Update.
9315 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9317         [BZ #15406]
9318         * math/s_catan.c: Include <float.h>.
9319         (__catan): Ensure underflow exception occurs for underflowed
9320         result.
9321         * math/s_catanf.c: Include <float.h>.
9322         (__catanf): Ensure underflow exception occurs for underflowed
9323         result.
9324         * math/s_catanh.c: Include <float.h>.
9325         (__catanh): Ensure underflow exception occurs for underflowed
9326         result.
9327         * math/s_catanhf.c: Include <float.h>.
9328         (__catanhf): Ensure underflow exception occurs for underflowed
9329         result.
9330         * math/s_catanhl.c: Include <float.h>.
9331         (__catanhl): Ensure underflow exception occurs for underflowed
9332         result.
9333         * math/s_catanl.c: Include <float.h>.
9334         (__catanl): Ensure underflow exception occurs for underflowed
9335         result.
9336         * math/libm-test.inc (catan_test): Add more tests.
9337         (catanh_test): Likewise.
9339         [BZ #15405]
9340         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9341         underflowed result.
9342         * math/s_ccoshf.c (__ccoshf): Likewise.
9343         * math/s_ccoshl.c (__ccoshl): Likewise.
9344         * math/s_csin.c (__csin): Likewise.
9345         * math/s_csinf.c (__csinf): Likewise.
9346         * math/s_csinh.c (__csinh): Likewise.
9347         * math/s_csinhf.c (__csinhf): Likewise.
9348         * math/s_csinhl.c (__csinhl): Likewise.
9349         * math/s_csinl.c (__csinl): Likewise.
9350         * math/libm-test.inc (ccos_test): Add more tests.
9351         (ccosh_test): Likewise.
9352         (csin_test): Likewise.
9353         (csinh_test): Likewise.
9355 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9357         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9358         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9359         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9360         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9361         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9362         powerpc/power5+/fpu folders.
9363         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9366 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9370 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9372         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9373         additions to variable.
9374         [$(config-machine) = x86_64] (modules-names): Likewise.
9375         ($(objpfx)tst-audit3): Remove dependency.
9376         ($(objpfx)tst-audit3.out): Likewise.
9377         ($(objpfx)tst-audit4): Likewise.
9378         ($(objpfx)tst-audit4.out): Likewise.
9379         ($(objpfx)tst-audit5): Likewise.
9380         ($(objpfx)tst-audit5.out): Likewise.
9381         ($(objpfx)tst-audit6): Likewise.
9382         ($(objpfx)tst-audit6.out): Likewise.
9383         ($(objpfx)tst-audit7): Likewise.
9384         ($(objpfx)tst-audit7.out): Likewise.
9385         (tst-audit3-ENV): Remove variable.
9386         (tst-audit4-ENV): Likewise.
9387         (tst-audit5-ENV): Likewise.
9388         (tst-audit6-ENV): Likewise.
9389         (tst-audit7-ENV): Likewise.
9390         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9391         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9392         addition to variable.
9393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9395         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9396         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9397         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9398         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9399         tst-audit3, tst-audit4 and tst-audit5.
9400         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9401         tst-audit6 and tst-audit7.
9402         [$(subdir) = elf] (modules-names): Add audit modules for those
9403         tests.
9404         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9405         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9406         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9407         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9408         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9409         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9410         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9411         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9412         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9413         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9414         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9415         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9416         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9417         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9418         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9419         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9420         Likewise.
9421         [$(subdir) = elf && $(config-cflags-avx) = yes]
9422         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9423         [$(subdir) = elf && $(config-cflags-avx) = yes]
9424         (CFLAGS-tst-auditmod4a.c): Likewise.
9425         [$(subdir) = elf && $(config-cflags-avx) = yes]
9426         (CFLAGS-tst-auditmod4b.c): Likewise.
9427         [$(subdir) = elf && $(config-cflags-avx) = yes]
9428         (CFLAGS-tst-auditmod6b.c): Likewise.
9429         [$(subdir) = elf && $(config-cflags-avx) = yes]
9430         (CFLAGS-tst-auditmod6c.c): Likewise.
9431         [$(subdir) = elf && $(config-cflags-avx) = yes]
9432         (CFLAGS-tst-auditmod7b.c): Likewise.
9433         * elf/tst-audit3.c: Move to ...
9434         * sysdeps/x86_64/tst-audit3.c: ... here.
9435         * elf/tst-audit4.c: Move to ...
9436         * sysdeps/x86_64/tst-audit4.c: ... here.
9437         * elf/tst-audit5.c: Move to ...
9438         * sysdeps/x86_64/tst-audit5.c: ... here.
9439         * elf/tst-audit6.c: Move to ...
9440         * sysdeps/x86_64/tst-audit6.c: ... here.
9441         * elf/tst-audit7.c: Move to ...
9442         * sysdeps/x86_64/tst-audit7.c: ... here.
9443         * elf/tst-auditmod3a.c: Move to ...
9444         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9445         * elf/tst-auditmod3b.c: Move to ...
9446         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9447         * elf/tst-auditmod4a.c: Move to ...
9448         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9449         * elf/tst-auditmod4b.c: Move to ...
9450         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9451         * elf/tst-auditmod5a.c: Move to ...
9452         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9453         * elf/tst-auditmod5b.c: Move to ...
9454         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9455         * elf/tst-auditmod6a.c: Move to ...
9456         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9457         * elf/tst-auditmod6b.c: Move to ...
9458         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9459         * elf/tst-auditmod6c.c: Move to ...
9460         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9461         * elf/tst-auditmod7a.c: Move to ...
9462         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9463         * elf/tst-auditmod7b.c: Move to ...
9464         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9466 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9468         [BZ #15366]
9469         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9470         define unconditionally.
9471         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9472         define unconditionally.
9473         (INT8_C, INT16_C, etc.): Likewise.
9475 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9477         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9478         __ehdr_start with hidden visibility.
9480         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9482 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9484         * math/libm-test.inc (cos_test): Use accurate hex constants.
9485         (sincost_test): Likewise.
9487 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9489         * math/libm-test.inc (catan_test): Add more tests.
9490         (catanh_test): Likewise.
9492         * math/s_catanf.c (__catanf): Use suffixed floating-point
9493         constants.
9494         * math/s_catanhf.c (__catanhf): Likewise.
9495         * math/s_catanhl.c (__catanhl): Likewise.
9496         * math/s_catanl.c (__catanl): Likewise.
9498         [BZ #15394]
9499         * math/s_catan.c (__catan): Calculate imaginary part of result
9500         with log1p not log unless computing log of number close to 0.
9501         * math/s_catanf.c (__catanf): Likewise.
9502         * math/s_catanl.c (__catanl): Likewise.
9503         * math/s_catanh.c (__catanh): Calculate real part of result with
9504         log1p not log unless computing log of number close to 0.
9505         * math/s_catanhf.c (__catanhf): Likewise.
9506         * math/s_catanhl.c (__catanhl): Likewise.
9507         * math/libm-test.inc (catan_test): Add more tests.
9508         (catanh_test): Likewise.
9509         * sysdeps/i386/fpu/libm-test-ulps: Update.
9510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9514         * benchtests/Makefile: Mention files in which fast and slow
9515         paths of math functions are implemented.
9517 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9519         * sysdeps/posix/timespec_get.c: New file.
9521 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9523         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9524         POWER.
9525         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9526         for POWER.
9527         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9528         powerpc/power5/fpu folders.
9529         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9530         * benchtests/Makefile: Add modf testcase.
9531         * benchtests/bench-modf.c: New file: Benchmark test for mo
9533 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9535         [BZ #14888]
9536         * time/Makefile (tests): Add tst-strptime-whitespace.
9537         * time/strptime_l.c (get_number): Use ISSPACE.
9538         (__strptime_internal): Likewise.
9539         * time/tst-strptime-whitespace.c: New test case.
9541 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9543         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9544         member.
9545         (_nss_files_init): Set it here.
9547 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9549         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9550         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9551         unsigned.
9553 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9555         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9557 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9560         size just once.
9562 2013-04-21  David S. Miller  <davem@davemloft.net>
9564         * po/ru.po: Update Russion translation from translation project.
9566 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9568         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9569         and setfsgid.
9571 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9573         * configure.in: Remove i386 configure warning. Remove i386 case.
9574         * configure: Regenerate.
9575         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9576         Add example to error message.
9577         * sysdeps/i386/configure: Regenerate.
9579 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9581         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9582         slowtan.
9583         * benchtests/cos-inputs: New file.
9584         * benchtests/slowcos-inputs: New file.
9585         * benchtests/slowcos.c: New file.
9586         * benchtests/slowtan-inputs: New file.
9587         * benchtests/slowtan.c: New file.
9588         * benchtests/tan-inputs: New file.
9590 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9592         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9593         considered kosher.
9595 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9597         * benchtests/Makefile: Include cppflags-iterator.mk to add
9598         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9600         * Makefile.in (bench-clean): New target.
9601         * benchtests/Makefile (bench-clean): Likewise.
9603 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9605         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9607 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9609         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9611 2013-04-15  Andreas Schwab  <schwab@suse.de>
9613         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9615         * nscd/pwdcache.c (cache_addpw): Likewise.
9616         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9617         more than recsize.
9619 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9621         * benchtests/Makefile (bench): Write all output to
9622         bench-out.tmp together.
9624 2013-04-15  Andreas Schwab  <schwab@suse.de>
9626         * nscd/nscd.c (main): Don't fork again after closing files.
9628 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9630         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9632         * benchtests/Rules (bench-deps): Collect dependencies into a
9633         single variable.  Add Makefile to dependencies.
9634         ($(objpfx)bench-%.c): Depend on bench-deps.
9636 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9637             Xavier Roche  <roche+kml2@exalead.com>
9639         [BZ #15361]
9640         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9641         just that it's a file descriptor.
9642         * manual/llio.texi (Synchronizing AIO Operations): Update description
9643         for EBADF error from aio_fsync.
9645 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9647         * Rules (bench): Move target definition...
9648         * benchtests/Makefile: ... here.
9650 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9652         * math/libm-test.inc (cos_test): Fix PI/2 test.
9653         (sincos_test): Likewise.
9654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9655         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9657 2013-04-11  Andreas Schwab  <schwab@suse.de>
9659         [BZ #13988]
9660         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9661         accept exponent character only when digits were seen.
9662         * stdio-common/Makefile (tests): Add bug26.
9663         * stdio-common/bug26.c: New file.
9665         [BZ #14293]
9666         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9667         non-freeable.
9669 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9671         * Makeconfig (rtld-prefix): Define built linker prefix.
9672         * Rules (run-bench): Use it.
9673         * math/Makefile (run-regen-ulps): Likewise.
9675         * Rules (bench): Remove eval.
9677 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678             Roland McGrath  <roland@hack.frob.com>
9679             Ondrej Bilka  <neleai@seznam.cz>
9681         [BZ #15346]
9682         * time/getdate.c: Include ctype.h and alloca.h.
9683         (__getdate_r): Trim leading and trailing spaces of input.
9684         * time/tst-getdate.c (tests): Add tests with leading and
9685         trailing spaces.
9687 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9689         [BZ #14280]
9690         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9691         when computing value.
9693 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9695         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9696         Use testrun.sh to run libm tests.
9698         [BZ #15309]
9699         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9701 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9703         [BZ #15264]
9704         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9706 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9708         * Makefile.in (regen-ulps): New target.
9709         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9710         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9711         [ifneq (no,$(PERL)] (regen-ulps): New target.
9712         [ifeq (no,$(PERL)] (regen-ulps): New target.
9713         * math/libm-test.inc (ulps_file_name): Define.
9714         (output_dir): New variable.
9715         (options): Add "output-dir" option.
9716         (parse_opt): Handle 'o' case.
9717         (main): If output_dir is non-NULL use it as a prefix
9718         otherwise use "".
9719         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9721 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9723         [BZ #10060, #10062]
9724         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9725         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9726         fail configure if __sync_val_compare_and_swap is not inlined.
9727         * sysdeps/i386/configure: Regenerate.
9728         * configure.in: Build for i686 when configured for i386.
9729         * configure: Regenerate.
9730         * README: Remove i386 reference.
9732 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9734         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9735         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9737 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9739         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9740         (lmsnanval): New variables.
9741         (F): Add conversion tests.
9742         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9743         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9745         * stdio-common/tstdiomisc.c (F): Properly collect individual
9746         tests' results.
9748         [BZ #14686, #15336]
9749         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9750         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9751         Instead, use input NaN values or generate a qNaN by arithmetic
9752         operation.  Also fix bugs to comply with the standard.
9753         * math/libm-test.inc (remainder_test): Add more tests.
9755         [BZ #15335, #15342]
9756         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9758         input NaN values or generate a qNaN by arithmetic operation.
9760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9761         unreachable code.
9763         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9764         definitions.
9766 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9768         [BZ #14478]
9769         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9770         underflowed result.
9771         * math/s_cexpf.c (__cexpf): Likewise.
9772         * math/s_cexpl.c (__cexpl): Likewise.
9773         * math/libm-test.inc (cexp_test): Add more tests.
9775 2013-04-03  Andreas Schwab  <schwab@suse.de>
9777         [BZ #15330]
9778         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9779         order arrays from heap if bigger than alloca cutoff.
9781 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9783         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9784         (SNAN_TESTS_double): Refer to GCC PR56831.
9785         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9786         GCC PR56828.
9788 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9790         * Rules (bench): Move bench.out after the run is complete.
9792         * Rules (bench): Echo currently running benchmark.
9794         * benchtests/Makefile (bench): Add atan and slowatan.
9795         * benchtests/atan-inputs: New file.
9796         * benchtests/slowatan-inputs: New file.
9797         * benchtests/slowatan.c: New file.
9799         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9801         its value.
9803         [BZ #15305]
9804         * sysdeps/unix/sysv/linux/kernel-features.h
9805         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9806         __ASSUME_XFS_RESTRICTED_CHOWN.
9807         * sysdeps/unix/sysv/linux/pathconf.c
9808         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9809         Save and restore errno.
9811 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9813         [BZ #15327]
9814         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9815         arguments using __kernel_casinh.
9816         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9817         arguments using __kernel_casinhf.
9818         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9819         arguments using __kernel_casinhl.
9820         * math/libm-test.inc (cacosh_test): Add more tests.
9821         * sysdeps/i386/fpu/libm-test-ulps: Update.
9822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9824 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9826         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9829         * bench/Makefile (bench): Add sin and slowsin.
9830         * benchtests/sin-inputs: New file.
9831         * benchtests/slowsin-inputs: New file.
9832         * benchtests/slowsin.c: New file.
9834         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9835         (bench): Add slowexp and slowpow.
9836         (exp-ITER): Increase iterations.
9837         (pow-ITER): Likewise.
9838         * benchtests/exp-inputs: Change input.
9839         * benchtests/pow-inputs: Likewise.
9840         * benchtests/slowexp-inputs: New file.
9841         * benchtests/slowexp.c: New file.
9842         * benchtests/slowpow-inputs: New file.
9843         * benchtests/slowpow.c: New file.
9845 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9847         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9848         instructions.
9849         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9850         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9851         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9852         * benchtests/Makefile: Add rint benchtest.
9853         * benchtests/rint-inputs: Input for rint benchtest.
9855 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9857         * Versions.def (libm): Add GLIBC_2.18.
9858         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9859         hidden libm prototypes.
9860         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9861         * math/Makefile (libm-calls): Add s_issignaling.
9862         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9863         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9864         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9865         declaration.
9866         * math/math.h [__USE_GNU] (issignaling): New macro.
9867         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9868         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9869         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9870         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9871         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9872         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9873         * manual/arith.texi (issignaling): New section.
9874         * manual/libm-err-tab.pl (@all_functions): Update comment.
9875         * math/gen-libm-test.pl (parse_args): Apply special handling for
9876         issignaling.
9877         * math/libm-test.inc (print_float, issignaling_test): New
9878         functions.
9879         (check_float_internal): Add issignaling checks.
9880         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9881         default definition.
9882         * sysdeps/powerpc/math-tests.h: New file.
9883         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9884         tests.
9885         * math/test-snan.c (TEST_FUNC): Likewise.
9887 2013-03-30  David S. Miller  <davem@davemloft.net>
9889         * po/de.po: Update from translation team.
9891 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9893         [BZ #10357]
9894         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9895         imaginary part less than 1.0 and real part less than 0.5
9896         specially.
9897         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9898         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9899         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9900         (cacos_test): Add more tests.
9901         (casin_test): Likewise.
9902         (casinh_test): Likewise.
9903         * sysdeps/i386/fpu/libm-test-ulps: Update.
9904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9908         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9909         ONE with its value.
9911         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9912         (__pow_mp): Replace ONE and MONE with their values.
9913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9914         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9915         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9916         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9917         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9920         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9922         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9923         (__pow_mp): Replace ZERO and MZERO with their values.
9924         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9925         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9926         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9928         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9929         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9930         (__sqr): Likewise.
9932         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9934         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9936 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9938         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9939         Declare with __attribute__ ((weak)).
9940         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9941         Call __call_tls_dtors only if it's not NULL.
9943 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9945         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9946         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9947         magic __ehdr_start linker symbol if it's defined.
9948         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9949         them up here if it was already done.
9951         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9952         (_dl_aux_init): Use const in cast when setting it.
9953         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9954         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9955         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9957         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9958         Declare them here.
9959         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9960         * csu/libc-tls.c: Nor here.
9961         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9963         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9964         (__libc_message): Never call vsyslog.
9966 2013-03-28  Alan Modra  <amodra@gmail.com>
9968         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9969         Define as empty.
9970         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9971         Likewise.
9973 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9975         [BZ #15214]
9976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9977         underflow.
9978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9982         [BZ #15304]
9983         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9984         Don't add gid passed as argument.
9986         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9988 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9990         [BZ #15307]
9991         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9992         imaginary part between 1.0 and 1.5 and real part less than 0.5
9993         specially.
9994         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9995         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9996         * math/libm-test.inc (cacos_test): Add more tests.
9997         (casin_test): Likewise.
9998         (casinh_test): Likewise.
9999         * sysdeps/i386/fpu/libm-test-ulps: Update.
10000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10002 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10004         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10005         constants.
10006         (norm): Likewise.
10007         (denorm): Likewise.
10008         (__dbl_mp): Likewise.
10009         (add_magnitudes): Likewise.
10010         (sub_magnitudes): Likewise.
10011         (__add): Likewise.
10012         (__sub): Likewise.
10013         (__mul): Likewise.
10014         (__sqr): Likewise.
10015         (__inv): Likewise.
10016         (__dvd): Likewise.
10018         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10019         commented code.
10020         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10021         (__dubcos): Likewise.
10022         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10023         (__ieee754_acos): Likewise.
10024         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10025         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10026         (__exp1): Likewise.
10027         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10029         (log1): Likewise.
10030         (my_log2): Likewise.
10031         (checkint): Likewise.
10032         * sysdeps/ieee754/dbl-64/e_remainder.c
10033         (__ieee754_remainder): Likewise.
10034         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10036         (bsloww): Likewise.
10037         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10039         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10040         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10041         MANTISSA_STORE_T to store computations on mantissa.  Use
10042         macros for rounding and division.
10043         (denorm): Likewise.
10044         (__dbl_mp): Likewise.
10045         (add_magnitudes): Likewise.
10046         (sub_magnitudes): Likewise.
10047         (__mul): Likewise.
10048         (__sqr): Likewise.
10049         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10050         powers of two in terms of TWOPOW macro.
10051         (mp_no): Make type of mantissa as MANTISSA_T.
10052         [!RADIXI]: Define RADIXI.
10053         [!TWO52]: Define TWO52.
10054         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10056 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10058         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10059         llroundl symbol when building for PPC32.
10061 2013-03-24  Mark H Weaver  <mhw@netris.org>
10063         * manual/arith.texi (Normalization Functions): Fix prototypes for
10064         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10066 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10068         [BZ #13889]
10069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10070         high value to check if expl overflow.
10071         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10072         to check for underflow and overflow.
10073         * math/libm-test.inc: Add exp test.
10075 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10077         [BZ #11120]
10078         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10079         with NOT_IN_libc.
10081 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10083         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10084         symbol.
10086 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10088         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10089         wrap blocks consisting of several statements.
10091         * sysdeps/generic/math-tests.h: New file.
10092         * sysdeps/i386/fpu/math-tests.h: Likewise.
10093         * math/test-snan.c: Include it.
10094         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10096 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10098         [BZ #15285]
10099         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10100         (__ieee754_j0l): Do not improve calculations using cos of twice
10101         input for inputs above LDBL_MAX / 2.0L.
10102         (__ieee754_y0l): Likewise.
10103         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10104         (__ieee754_j1l): Do not improve calculations using cos of twice
10105         input for inputs above LDBL_MAX / 2.0L.
10106         (__ieee754_y1l): Likewise.
10107         * math/libm-test.inc (j0_test): Add another test.
10108         (j1_test): Likewise.
10109         (y0_test): Likewise.
10110         (y1_test): Likewise.
10111         * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10115         * Rules ($(objpfx)bench-%.c): Include code from a C source
10116         file.
10118 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10120         [BZ #15287]
10121         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10122         imaginary part 1.0 and real part less than 0.5 specially.
10123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10125         * math/libm-test.inc (cacos_test): Add more tests.
10126         (casin_test): Likewise.
10127         (casinh_test): Likewise.
10128         * sysdeps/i386/fpu/libm-test-ulps: Update.
10129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10131 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10134         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10136 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10138         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10139         * config.make.in (config-cflags-sse4): Remove variable.
10140         (config-cflags-avx): Likewise.
10141         (config-cflags-sse2avx): Likewise.
10142         (config-cflags-novzeroupper): Likewise.
10143         (config-asflags-i686): Likewise.
10144         (have-mfma4): Likewise.
10145         (have-as-vis3): Likewise.
10146         (MIG): Likewise.
10147         * configure.in (MIG): Do not AC_SUBST.
10148         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10149         (libc_cv_cc_sse4): Do not AC_SUBST.
10150         (libc_cv_cc_avx): Likewise.
10151         (libc_cv_cc_sse2avx): Likewise.
10152         (libc_cv_cc_novzeroupper): Likewise.
10153         (libc_cv_cc_fma4): Likewise.
10154         (libc_cv_as_i686): Likewise.
10155         (libc_cv_sparc_as_vis3): Likewise.
10156         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10157         LIBC_CONFIG_VAR.
10158         (config-asflags-i686): Likewise.
10159         (config-cflags-avx): Likewise.
10160         (config-cflags-sse2avx): Likewise.
10161         (have-mfma4): Likewise.
10162         (config-cflags-novzeroupper): Likewise.
10163         * sysdeps/mach/configure.in (MIG): Likewise.
10164         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10165         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10166         LIBC_CONFIG_VAR.
10167         (config-cflags-avx): Likewise.
10168         (config-cflags-sse2avx): Likewise.
10169         (have-mfma4): Likewise.
10170         (config-cflags-novzeroupper): Likewise.
10171         * configure: Regenerated.
10172         * sysdeps/i386/configure: Likewise.
10173         * sysdeps/mach/configure: Likewise.
10174         * sysdeps/sparc/configure: Likewise.
10175         * sysdeps/x86_64/configure: Likewise.
10177 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10179         [BZ #14812]
10180         * locale/programs/localedef.c (options): Put N_ translation marker
10181         on argument names, not just descriptions.
10183 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10185         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10187 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10189         [BZ #14176]
10190         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10192 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10194         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10195         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10196         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10197         [!BEFORE_ABORT] (before_abort): New function.
10198         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10199         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10200         (writev_for_fatal): New function.
10201         (WRITEV_FOR_FATAL): New macro; call that.
10202         (backtrace_and_maps): New function.
10203         (BEFORE_ABORT): New macro; call that.
10204         (struct str_list): Type removed.
10205         (__libc_message, __libc_fatal): Functions removed.
10206         Include <sysdeps/posix/libc_fatal.c> instead.
10208 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10210         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10211         constants.
10212         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10213         double constants.
10215 2013-03-19  Andreas Schwab  <schwab@suse.de>
10217         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10218         * sysdeps/gnu/configure: Regenerate.
10220         * configure.in: Substitute libc_cv_rtlddir.
10221         * configure: Regenerate.
10222         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10223         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10224         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10225         * elf/Makefile (install-others, CFLAGS-interp.c)
10226         (ldso_install, common-ldd-rewrite): Likewise.
10227         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10228         $(inst_slibdir)/$(rtld-installed-name).
10229         * scripts/rellns-sh: Add -p option.
10230         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10231         for source.
10233 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10235         * manual/nptl.texi: Renamed to ...
10236         * manual/threads.texi: ... this.
10237         * manual/Makefile (chapters): Update.
10239 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10241         [BZ #14812]
10242         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10243         on argument names, not just descriptions.
10244         * malloc/memusagestat.c (options): Likewise.
10245         * nss/getent.c (options): Likewise.
10247 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10249         [BZ #14812]
10250         * iconv/iconv_prog.c (options): Put N_ translation marker
10251         on argument names, not just descriptions.
10252         * iconv/iconvconfig.c (options): Likewise.
10254 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10256         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10257         implementation which is faster on all x86_64 architectures.
10258         Tested on AMD, Intel Nehalem, SNB, IVB.
10259         * sysdeps/x86_64/strnlen.S: Likewise.
10261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10262         Remove all multiarch strlen and strnlen versions.
10263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10264         Remove strlen and strnlen related parts.
10266         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10267         Inline strlen part.
10268         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10270         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10271         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10272         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10273         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10274         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10275         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10277 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10279         * manual/memory.texi (Malloc Tunable Parameters):
10280         Sort parameters alphabetically. Add comments for missing entries.
10282 2013-03-17  David S. Miller  <davem@davemloft.net>
10284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10286 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #15283]
10289         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10290         for arguments at most half maximum finite value.
10291         * math/libm-test.inc (j0_test): Add more tests.
10292         (j1_test): Likewise.
10293         (y0_test): Likewise.
10294         (y1_test): Likewise.
10295         * sysdeps/i386/fpu/libm-test-ulps: Update.
10296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298         [BZ #14155]
10299         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10300         1 / x and functions P and Q for arguments above 0x1p256L.
10301         (__ieee754_y0l): Likewise.
10302         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10303         (__ieee754_y1l): Likewise.
10304         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10305         (j1_test): Likewise.
10306         (y0_test): Likewise.
10307         (y1_test): Likewise.
10309 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10311         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10312         variable.
10314 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10316         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10317         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10318         zero since it's initialized to EXEC_PAGESIZE.
10320         * sysdeps/unix/sysv/linux/ldsodefs.h
10321         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10322         * sysdeps/generic/ldsodefs.h: ... here.
10324 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10326         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10328         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10329         math/test-snan.c.
10330         * math/test-snan.c: Renamed from
10331         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10332         * math/Makefile (tests): Add test-snan.
10333         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10334         test-powerpc-snan.
10336         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10337         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10338         functions.
10339         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10340         __builtin_nan family of functions.
10341         * math/libm-test.inc (initialize): Initialize qnan_value with
10342         __builtin_nan family of functions.
10343         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10344         Remove variables.
10345         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10346         Remove functions.
10347         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10348         storage class.  Initialize qNaN_var and sNaN_var with
10349         __builtin_nan and __builtin_nans families of functions,
10350         respectively.
10352         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10353         (sqrt_test): Remove duplicate test with qNaN input.
10354         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10355         (round_test, signbit_test, significand_test): Note missing +/-Inf
10356         as well as qNaN tests.
10358         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10359         qNaN_var.  Fix a few strings, too.
10360         * math/libm-test.inc (nan_value): Rename to qnan_value.
10361         * math/gen-libm-test.pl (%beautify): Adjust to that.
10362         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10363         * math/test-misc.c (main): Likewise.
10364         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10365         to __qnan_bytes, and __qnan_union, respectively.
10366         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10367         Likewise.
10368         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10369         and lqnanval, respectively.
10370         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10371         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10372         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10373         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10375         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10376         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10377         doubles.
10379         * math/test-misc.c (main): Fix copy'n'pastos.
10380         * misc/tst-efgcvt.c (special): Likewise.
10382         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10383         Remove declarations.
10385 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10387         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10388         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10389         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10390         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10392 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10395         macro to return vdso values correctly in IFUNC implementations.
10396         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10397         Optimization by using IFUNC.
10399 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10400             Richard Henderson  <rth@redhat.com>
10401             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10403         * Makefile.in (bench): New target.
10404         * NEWS: Mention the benchmark framework.
10405         * Rules (bench): Likewise.
10406         (binaries-bench): Generate binaries for functions to
10407         benchmark.
10408         * benchtests/Makefile: New makefile for benchmark tests.
10409         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10410         programs.
10411         * benchtests/exp-inputs: New input file for EXP function.
10412         * benchtests/pow-inputs: New input file for POW function.
10413         * scripts/bench.pl: New script to generate source files for
10414         benchmark programs.
10416 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10418         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10419         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10420         computations on mantissa.  Use macros for rounding and
10421         division.
10422         (denorm): Likewise.
10423         (__dbl_mp): Likewise.
10424         (add_magnitudes): Likewise.
10425         (sub_magnitudes): Likewise.
10426         (__mul): Likewise.
10427         (__sqr): Likewise.
10428         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10429         powers of two in terms of TWOPOW macro.
10430         (mp_no): Make type of mantissa as MANTISSA_T.
10431         [!RADIXI]: Define RADIXI.
10432         [!TWO52]: Define TWO52.
10433         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10435         * manual/nptl.texi (cindex): Modify threads to pthreads.
10437 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10439         * sysdeps/x86_64/preconfigure: Regenerated.
10441 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #14155]
10444         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10445         0x1p28 and above.
10446         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10447         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10448         0x1p28 and above.
10449         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10450         * math/libm-test.inc (j0_test): Do not allow one spurious
10451         underflow exception.
10452         (y1_test): Likewise.
10454 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10456         * manual/Makefile (chapters): Add nptl.
10457         * manual/debug.texi (Debugging Support): Add link to Threads
10458         chapter.
10459         * manual/nptl.texi: New file.
10461         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10463 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10465         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10466         for non-NULL pointer before the memory validity test. Pointed
10467         out by Holger Brunck <holger.brunck@keymile.com>.
10469 2013-03-13  Andreas Schwab  <schwab@suse.de>
10471         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10472         instead of .os.
10474 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10476         * timezone/zic.c: Update from tzcode 2013b.
10478 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10480         * manual/install.texi (Configuring and compiling):
10481         Mention i686 and i586.
10482         * INSTALL: Regenerate.
10484 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10486         * sysdeps/init_array/elf-init.c: New file.
10487         * csu/elf-init.c
10488         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10489         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10491         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10492         __gmon_start__ as global, but as static with a .preinit_array pointer.
10493         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10494         * sysdeps/init_array/crti.S: New file, empty except for comments.
10495         * sysdeps/init_array/crtn.S: Likewise.
10497 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10499         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10500         definining bcopy.
10501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10502         Remove Prefer_SSE_for_memop.
10503         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10504         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10505         HAS_PREFER_SSE_FOR_MEMOP.
10506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10507         memset-x86-64.
10508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10509         Remove bzero, memset ifunc support.
10510         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10511         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10512         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10513         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10515 2013-03-11  Andreas Schwab  <schwab@suse.de>
10517         [BZ #15234]
10518         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10519         by SHLIB_COMPAT.
10520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10521         (GLIBC_2.16): Remove pthread_atfork.
10523 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10525         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10526         (ptestcases.h): Likewise.
10528 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10530         * Makeconfig ($(common-objpfx)config.status): Depend on
10531         sysdeps/*/preconfigure{,.in} too.
10533 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10535         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10536         (__free_hook): Use void * instead of __malloc_ptr_t.
10537         (__malloc_hook): Likewise.
10538         (__realloc_hook): Likewise.
10539         (__memalign_hook): Likewise.
10540         (__after_morecore_hook): Likewise.
10541         * malloc/arena.c (save_malloc_hook): Likewise.
10542         (save_free_hook): Likewise.
10543         * malloc/hooks.c (malloc_hook_ini): Likewise.
10544         (realloc_hook_ini): Likewise.
10545         (memalign_hook_ini): Likewise.
10546         * malloc/malloc.c (malloc_hook_ini): Likewise.
10547         (realloc_hook_ini): Likewise.
10548         (memalign_hook_ini): Likewise.
10549         (__free_hook): Likewise.
10550         (__malloc_hook): Likewise.
10551         (__realloc_hook): Likewise.
10552         (__memalign_hook): Likewise.
10553         (__libc_malloc): Likewise.
10554         (__libc_free): Likewise.
10555         (__libc_realloc): Likewise.
10556         (__libc_memalign): Likewise.
10557         (__libc_valloc): Likewise.
10558         (__libc_pvalloc): Likewise.
10559         (__libc_calloc): Likewise.
10560         (__posix_memalign): Likewise.
10561         * malloc/morecore.c (__sbrk): Likewise.
10562         (__default_morecore): Likewise.
10564         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10566         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10567         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10568         __malloc_ptrdiff_t.
10570         * malloc/malloc.h (__malloc_size_t): Remove macro.
10571         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10572         __malloc_size_t.
10573         (old_memalign_hook): Likewise.
10574         (old_realloc_hook): Likewise.
10575         (struct hdr): Likewise.
10576         (flood): Likewise.
10577         (mallochook): Likewise.
10578         (memalignhook): Likewise.
10579         (reallochook): Likewise.
10580         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10581         (tr_old_realloc_hook): Likewise.
10582         (tr_old_memalign_hook): Likewise.
10583         (tr_mallochook): Likewise.
10584         (tr_reallochook): Likewise.
10585         (tr_memalignhook): Likewise.
10587 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10590         default_ldbl_pack and using as default implementation.
10591         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10592         implementation.
10593         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10594         redundant definition.
10595         (ldbl_insert_mantissa): Likewise.
10596         (ldbl_canonicalize): Likewise.
10597         (ldbl_nearbyint): Likewise.
10598         (ldbl_pack): Rename to ldbl_pack_ppc.
10599         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10600         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10601         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10603 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10606         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10607         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10608         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10610         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10611         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10612         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10614 2013-03-07  Andreas Jaeger  <aj@suse.de>
10616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10617         bits/mman-linux.h.
10619 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10621         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10622         Include mpa.h and declare __MPEXP.
10623         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10625         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10626         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10628         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10629         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10631         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10632         (__slowpow): Use long double EXPL and LOGL functions to
10633         compute POW.
10634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10635         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10636         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10637         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10638         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10639         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10642         intermediate variable to calculate exponent.
10643         (__sqr): Likewise.
10644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10645         Likewise.
10646         (__sqr): Likewise.
10648         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10649         [!NO__SQR]: Define __sqr.
10650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10651         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10652         sysdeps/ieee754/dbl-64/mpa.c.
10653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10655         [BZ #12723]
10656         * posix/Makefile (tests): Add tst-pathconf.
10657         * posix/tst-pathconf.c: New test case.
10658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10659         _PC_PIPE_BUF.
10660         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10662 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10664         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10666 2013-03-06  Andreas Jaeger  <aj@suse.de>
10668         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10669         definition via __MAP_ANONYMOUS.
10671         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10672         it's not part of Linux headers.
10674         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10675         (MAP_HUGE_MASK): Define.
10677         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10678         Define.
10679         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10681         Define.
10682         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10683         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10684         Define.
10685         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10686         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10687         Define.
10688         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10690         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10691         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10692         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10693         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10694         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10695         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10697         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10698         Handle f2fs.
10700         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10701         Handle f2fs and efivarfs.
10703         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10704         f2fs.
10706         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10707         (EFIVARFS_MAGIC): Add.
10708         (F2FS_LINK_MAX): Add.
10710 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10712         * stdio-common/vfprintf.c: Replace __builtin_expect with
10713         __glibc_unlikely.
10715 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10717         [BZ #13550]
10718         * sysdeps/generic/bp-sym.h: Remove file.
10719         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10720         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10721         <bp-sym.h> and <bp-asm.h>.
10722         (__longjmp): Don't use BP_SYM.
10723         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10724         and <bp-asm.h>.
10725         (memcpy): Don't use BP_SYM.
10726         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10727         <bp-sym.h> and <bp-asm.h>.
10728         (memcpy): Don't use BP_SYM.
10729         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10730         <bp-asm.h>.
10731         (memcpy): Don't use BP_SYM.
10732         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10733         <bp-asm.h>.
10734         (memset): Don't use BP_SYM.
10735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10737         (__bzero): Don't use BP_SYM.
10738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10740         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10741         <bp-sym.h> and <bp-asm.h>.
10742         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10743         pointers.
10744         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10745         <bp-sym.h> and <bp-asm.h>.
10746         (memcpy): Don't use BP_SYM.
10747         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10748         <bp-sym.h> and <bp-asm.h>.
10749         (memset): Don't use BP_SYM.
10750         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10751         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10752         (__bzero): Don't use BP_SYM.
10753         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10754         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10755         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10756         <bp-sym.h> and <bp-asm.h>.
10757         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10758         pointers.
10759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10760         <bp-sym.h> and <bp-asm.h>.
10761         (memcpy): Don't use BP_SYM.
10762         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10763         <bp-sym.h> and <bp-asm.h>.
10764         (memset): Don't use BP_SYM.
10765         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10766         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10767         (__bzero): Don't use BP_SYM.
10768         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10769         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10771         <bp-sym.h> and <bp-asm.h>.
10772         (__memchr): Don't use BP_SYM.
10773         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10774         <bp-sym.h> and <bp-asm.h>.
10775         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10776         pointers.
10777         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10778         <bp-sym.h> and <bp-asm.h>.
10779         (memcpy): Don't use BP_SYM.
10780         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10781         <bp-sym.h> and <bp-asm.h>.
10782         (__mempcpy): Don't use BP_SYM.
10783         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10784         <bp-sym.h> and <bp-asm.h>.
10785         (__memrchr): Don't use BP_SYM.
10786         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10787         <bp-sym.h> and <bp-asm.h>.
10788         (memset): Don't use BP_SYM.
10789         (__bzero): Likewise.
10790         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10791         <bp-sym.h> and <bp-asm.h>.
10792         (__rawmemchr): Don't use BP_SYM.
10793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10794         <bp-sym.h> and <bp-asm.h>.
10795         (__STRCMP): Don't use BP_SYM.
10796         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10797         <bp-sym.h> and <bp-asm.h>.
10798         (strchr): Don't use BP_SYM.
10799         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10800         <bp-sym.h> and <bp-asm.h>.
10801         (__strchrnul): Don't use BP_SYM.
10802         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10803         <bp-sym.h> and <bp-asm.h>.
10804         (strlen): Don't use BP_SYM.
10805         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10806         <bp-sym.h> and <bp-asm.h>.
10807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10808         pointers.
10809         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10810         <bp-sym.h> and <bp-asm.h>.
10811         (__strnlen): Don't use BP_SYM.
10812         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10813         <bp-sym.h> and <bp-asm.h>.
10814         (__GI__setjmp): Don't use BP_SYM.
10815         (_setjmp): Likewise.
10816         (__sigsetjmp): Likewise.
10817         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10818         (L(start_addresses)): Don't use BP_SYM.
10819         (_start): Likewise.
10820         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10821         <bp-asm.h>.
10822         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10823         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10824         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10825         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10826         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10827         <bp-asm.h>.
10828         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10829         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10830         about bounded pointers.
10831         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10832         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10833         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10834         <bp-asm.h>.
10835         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10836         about bounded pointers.  Remove GKM FIXME comments.
10837         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10838         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10839         <bp-asm.h>.
10840         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10841         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10842         Remove GKM FIXME comments.
10843         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10844         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10845         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10846         <bp-asm.h>.
10847         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10848         about bounded pointers.  Remove GKM FIXME comment.
10849         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10850         and <bp-asm.h>.
10851         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10852         pointers.
10853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10854         <bp-sym.h> and <bp-asm.h>.
10855         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10857         <bp-sym.h> and <bp-asm.h>.
10858         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10859         comment.
10861 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10863         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10864         call free(NULL).
10866 2013-03-05  David S. Miller  <davem@davemloft.net>
10868         * po/es.po: Update from translation team.
10870 2013-03-05  Andreas Jaeger  <aj@suse.de>
10872         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10873         <bits/mman-linux.h>.
10874         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10875         is fine.
10876         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10877         <bits/mman-linux.h> to end of file.
10878         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10879         is fine.
10880         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10881         <bits/mman-linux.h> to end of file.
10882         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10883         is fine.
10884         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10885         <bits/mman-linux.h> to end of file.
10887         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10888         (MCL_CURRENT, MCL_FUTURE): Define here.
10890 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10892         [BZ #15232]
10893         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10894         attribute_hidden.
10895         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10897 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10899         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10900         fourth parameter needed for rt_sigprocmask syscall.
10901         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10902         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10903         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10904         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10905         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10906         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10908 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10910         [BZ #13550]
10911         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10912         comment about bounded pointers.
10913         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10914         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10916 2013-03-04  Andreas Jaeger  <aj@suse.de>
10918         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10919         common definitions.
10921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10922         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10923         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10925         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10928 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10930         [BZ #15055]
10931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10932         __ieee754_sqrl instead of __sqrl.
10934 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10936         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10937         * sysdeps/powerpc/fpu_control.h: ... here.
10938         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10939         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10940         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10941         * sysdeps/powerpc/bits/mathinline.h: ... here.
10943 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10945         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10946         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10947         to just [NEED_DL_SYSINFO_DSO].
10948         * elf/dl-support.c: Likewise.
10949         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10950         * elf/rtld.c (dl_main): Likewise.
10951         * elf/setup-vdso.h (setup_vdso): Likewise.
10952         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10953         * sysdeps/unix/sysv/linux/dl-sysdep.c
10954         (_dl_discover_osversion): Likewise.
10956 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10958         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10959         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10961 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10963         * NEWS: Mention libm performance improvements and non-x86 PI
10964         futex support.
10966         * csu/libc-start.c (__pthread_initialize_minimal): Change
10967         function arguments.
10968         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10970 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10972         [BZ #13550]
10973         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10974         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10975         <bp-sym.h> and <bp-asm.h>.
10976         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10977         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10978         and <bp-asm.h>.
10979         (memcpy): Don't use BP_SYM.
10980         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10981         <bp-asm.h>.
10982         (__mpn_add_n): Don't use BP_SYM.
10983         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10984         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10985         and <bp-asm.h>.
10986         (__mpn_addmul_1): Don't use BP_SYM.
10987         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10988         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10989         <bp-sym.h>.
10990         (_setjmp): Don't use BP_SYM.
10991         (__novmx_setjmp): Likewise.
10992         (__GI__setjmp): Likewise.
10993         (__vmx_setjmp): Likewise.
10994         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10995         <bp-sym.h>.
10996         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10997         (__bzero): Don't use BP_SYM.
10998         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10999         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11000         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11001         <bp-sym.h> and <bp-asm.h>.
11002         (memcpy): Don't use BP_SYM.
11003         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11004         <bp-sym.h> and <bp-asm.h>.
11005         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11007         <bp-sym.h> and <bp-asm.h>.
11008         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11009         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11010         <bp-asm.h>.
11011         (__mpn_lshift): Don't use BP_SYM.
11012         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11013         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11014         <bp-asm.h>.
11015         (memset): Don't use BP_SYM.
11016         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11017         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11018         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11019         <bp-asm.h>.
11020         (__mpn_mul_1): Don't use BP_SYM.
11021         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11023         <bp-sym.h> and <bp-asm.h>.
11024         (memcmp): Don't use BP_SYM.
11025         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11026         <bp-sym.h> and <bp-asm.h>.
11027         (memcpy): Don't use BP_SYM.
11028         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11029         <bp-sym.h> and <bp-asm.h>.
11030         (memset): Don't use BP_SYM.
11031         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11032         <bp-sym.h> and <bp-asm.h>.
11033         (strncmp): Don't use BP_SYM.
11034         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11035         <bp-sym.h> and <bp-asm.h>.
11036         (memcpy): Don't use BP_SYM.
11037         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11038         <bp-sym.h> and <bp-asm.h>.
11039         (memset): Don't use BP_SYM.
11040         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11041         <bp-sym.h> and <bp-asm.h>.
11042         (__memchr): Don't use BP_SYM.
11043         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11044         <bp-sym.h> and <bp-asm.h>.
11045         (memcmp): Don't use BP_SYM.
11046         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11047         <bp-sym.h> and <bp-asm.h>.
11048         (memcpy): Don't use BP_SYM.
11049         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11050         <bp-sym.h> and <bp-asm.h>.
11051         (__mempcpy): Don't use BP_SYM.
11052         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11053         <bp-sym.h> and <bp-asm.h>.
11054         (__memrchr): Don't use BP_SYM.
11055         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11056         <bp-sym.h> and <bp-asm.h>.
11057         (memset): Don't use BP_SYM.
11058         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11059         <bp-sym.h> and <bp-asm.h>.
11060         (__rawmemchr): Don't use BP_SYM.
11061         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11062         <bp-sym.h> and <bp-asm.h>.
11063         (__STRCMP): Don't use BP_SYM.
11064         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11065         <bp-sym.h> and <bp-asm.h>.
11066         (strchr): Don't use BP_SYM.
11067         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11068         <bp-sym.h> and <bp-asm.h>.
11069         (__strchrnul): Don't use BP_SYM.
11070         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11071         <bp-sym.h> and <bp-asm.h>.
11072         (strlen): Don't use BP_SYM.
11073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11074         <bp-sym.h> and <bp-asm.h>.
11075         (strncmp): Don't use BP_SYM.
11076         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11077         <bp-sym.h> and <bp-asm.h>.
11078         (__strnlen): Don't use BP_SYM.
11079         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11080         <bp-asm.h>.
11081         (__mpn_rshift): Don't use BP_SYM.
11082         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11083         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11084         <bp-sym.h> and <bp-asm.h>.
11085         (__sigsetjmp): Don't use BP_SYM.
11086         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11087         (L(start_addresses)): Don't use BP_SYM.
11088         (_start): Likewise.
11089         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11090         <bp-asm.h>.
11091         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11092         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11093         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11094         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11095         <bp-asm.h>.
11096         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11097         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11098         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11099         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11100         <bp-asm.h>.
11101         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11102         comments.
11103         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11104         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11105         <bp-asm.h>.
11106         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11107         FIXME comments.
11108         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11109         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11110         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11111         <bp-asm.h>.
11112         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11113         comment.
11114         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11115         and <bp-asm.h>.
11116         (strncmp): Don't use BP_SYM,
11117         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11118         <bp-asm.h>.
11119         (__mpn_sub_n): Don't use BP_SYM.
11120         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11121         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11122         and <bp-asm.h>.
11123         (__mpn_submul_1): Don't use BP_SYM.
11124         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11126         <bp-sym.h> and <bp-asm.h>.
11127         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11129         <bp-sym.h> and <bp-asm.h>.
11130         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11131         comment.
11133 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11136         Use ZK to minimize writes to Z.
11137         (sub_magnitudes): Simplify code a bit.
11138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11139         Use ZK to minimize writes to Z.
11140         (sub_magnitudes): Simplify code a bit.
11142 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11144         * csu/gmon-start.c: Add special exception to license text.
11146 2013-02-27  Richard Henderson  <rth@redhat.com>
11148         * scripts/config.guess: Update from config.git.
11149         * scripts/config.sub: Likewise.
11151 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11153         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11155         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11157         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11159         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11161         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11163 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11165         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11166         [$(build-shared = yes].
11168 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11171         (__mul): Reduce iterations for calculating mantissa.
11173         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11174         MPTWO.
11175         (__mpranred): Likewise.
11177         [BZ #15160]
11178         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11179         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11181 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11183         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11184         Define __attribute__.
11186 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11188         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11189         unused.
11190         * posix/regex_internal.h (__attribute): Remove.
11191         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11192         (re_string_context_at): Likewise.
11193         (bitset_not): Use __attribute__ and mark function as possibly
11194         unused.
11195         (bitset_merge): Likewise.
11196         (bitset_mask): Likewise.
11197         (re_string_char_size_at): Likewise.
11198         (re_string_wchar_at): Likewise.
11199         (re_string_elem_size_at): Likewise.
11201 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11204         code.
11205         (cc32): Likewise.
11207         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11208         (__acr): Likewise.
11209         (__cpy): Likewise.
11210         (norm): Likewise.
11211         (denorm): Likewise.
11212         (__dbl_mp): Likewise.
11213         (add_magnitudes): Likewise.
11214         (sub_magnitudes): Likewise.
11215         (__mul): Likewise.
11216         (__inv): Likewise.
11218         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11219         style.
11221         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11222         style.
11224         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11225         code.
11227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11228         up changes with default code.
11229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11230         Likewise.
11232 2013-02-24  Allan McRae  <allan@archlinux.org>
11234         * manual/socket.texi (The Internet Namespace): Order menu items
11235         to match that in the file.
11237         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11238         node listing of the info page menu.
11240 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #13550]
11243         * sysdeps/i386/bp-asm.h: Remove file.
11244         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11245         (PARMS): Do not use macros from bp-asm.h.
11246         (S1): Likewise.
11247         (S2): Likewise.
11248         (SIZE): Likewise.
11249         (__mpn_add_n): Do not use BP_SYM
11250         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11251         "bp-asm.h".
11252         (PARMS): Do not use macros from bp-asm.h.
11253         (S1): Likewise.
11254         (SIZE): Likewise.
11255         (__mpn_addmul_1): Do not use BP_SYM
11256         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11257         "bp-asm.h".
11258         (PARMS): Do not use macros from bp-asm.h.
11259         (SIGMSK): Likewise.
11260         (_setjmp): Likewise.  Do not use BP_SYM.
11261         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11262         "bp-asm.h".
11263         (PARMS): Do not use macros from bp-asm.h.
11264         (SIGMSK): Likewise.
11265         (setjmp): Likewise.  Do not use BP_SYM.
11266         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11267         "bp-asm.h".
11268         (PARMS): Do not use macros from bp-asm.h.
11269         (__frexp): Do not use BP_SYM.
11270         (frexp): Likewise.
11271         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11272         "bp-asm.h".
11273         (PARMS): Do not use macros from bp-asm.h.
11274         (__frexpf): Do not use BP_SYM.
11275         (frexpf): Likewise.
11276         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11277         "bp-asm.h".
11278         (PARMS): Do not use macros from bp-asm.h.
11279         (__frexpl): Do not use BP_SYM.
11280         (frexpl): Likewise.
11281         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11282         "bp-asm.h".
11283         (PARMS): Do not use macros from bp-asm.h.
11284         (__remquo): Do not use BP_SYM.
11285         (remquo): Likewise.
11286         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11287         "bp-asm.h".
11288         (PARMS): Do not use macros from bp-asm.h.
11289         (__remquof): Do not use BP_SYM.
11290         (remquof): Likewise.
11291         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11292         "bp-asm.h".
11293         (PARMS): Do not use macros from bp-asm.h.
11294         (__remquol): Do not use BP_SYM.
11295         (remquol): Likewise.
11296         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11297         "bp-asm.h".
11298         (PARMS): Do not use macros from bp-asm.h.
11299         (DEST): Likewise.
11300         (SRC): Likewise.
11301         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11302         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11303         "bp-asm.h".
11304         (PARMS): Do not use macros from bp-asm.h.
11305         (strlen): Do not use BP_SYM.
11306         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11307         "bp-asm.h".
11308         (PARMS): Do not use macros from bp-asm.h.
11309         (S1): Likewise.
11310         (S2): Likewise.
11311         (SIZE): Likewise.
11312         (__mpn_add_n): Do not use BP_SYM.
11313         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11314         "bp-asm.h".
11315         (PARMS): Do not use macros from bp-asm.h.
11316         (S1): Likewise.
11317         (SIZE): Likewise.
11318         (__mpn_addmul_1): Do not use BP_SYM.
11319         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11320         weak_alias.
11321         (bzero): Likewise.
11322         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11323         "bp-asm.h".
11324         (PARMS): Do not use macros from bp-asm.h.
11325         (S): Likewise.
11326         (SIZE): Likewise.
11327         (__mpn_lshift): Do not use BP_SYM.
11328         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11329         "bp-asm.h".
11330         (PARMS): Do not use macros from bp-asm.h.
11331         (DEST): Likewise.
11332         (SRC): Likewise.
11333         (LEN): Likewise.
11334         (memcpy): Likewise.  Do not use BP_SYM.
11335         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11336         libc_hidden_def and weak_alias.
11337         (mempcpy): Do not use BP_SYM in weak_alias.
11338         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11339         "bp-asm.h".
11340         (PARMS): Do not use macros from bp-asm.h.
11341         (DEST): Likewise.
11342         (LEN): Likewise.
11343         [!BZERO_P] (CHR): Likewise.
11344         (memset): Likewise.  Do not use BP_SYM.
11345         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11346         "bp-asm.h".
11347         (PARMS): Do not use macros from bp-asm.h.
11348         (S1): Likewise.
11349         (SIZE): Likewise.
11350         (__mpn_mul_1): Do not use BP_SYM.
11351         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11352         "bp-asm.h".
11353         (PARMS): Do not use macros from bp-asm.h.
11354         (S): Likewise.
11355         (SIZE): Likewise.
11356         (__mpn_rshift): Do not use BP_SYM.
11357         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11358         "bp-asm.h".
11359         (PARMS): Do not use macros from bp-asm.h.
11360         (STR): Likewise.
11361         (CHR): Likewise.
11362         (strchr): Likewise.  Do not use BP_SYM.
11363         (index): Do not use BP_SYM in weak_alias.
11364         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11365         "bp-asm.h".
11366         (PARMS): Do not use macros from bp-asm.h.
11367         (DEST): Likewise.
11368         (SRC): Likewise.
11369         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11370         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11371         "bp-asm.h".
11372         (PARMS): Do not use macros from bp-asm.h.
11373         (strlen): Do not use BP_SYM.
11374         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11375         "bp-asm.h".
11376         (PARMS): Do not use macros from bp-asm.h.
11377         (S1): Likewise.
11378         (S2): Likewise.
11379         (SIZE): Likewise.
11380         (__mpn_sub_n): Do not use BP_SYM.
11381         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11382         "bp-asm.h".
11383         (PARMS): Do not use macros from bp-asm.h.
11384         (S1): Likewise.
11385         (SIZE): Likewise.
11386         (__mpn_submul_1): Do not use BP_SYM.
11387         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11388         "bp-asm.h".
11389         (PARMS): Do not use macros from bp-asm.h.
11390         (S1): Likewise.
11391         (S2): Likewise.
11392         (SIZE): Likewise.
11393         (__mpn_add_n): Do not use BP_SYM.
11394         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11395         weak_alias.
11396         (bzero): Likewise.
11397         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11398         "bp-asm.h".
11399         (PARMS): Do not use macros from bp-asm.h.
11400         (BLK2): Likewise.
11401         (LEN): Likewise.
11402         (memcmp): Do not use BP_SYM.
11403         (bcmp): Do not use BP_SYM in weak_alias.
11404         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11405         "bp-asm.h".
11406         (PARMS): Do not use macros from bp-asm.h.
11407         (DEST): Likewise.
11408         (SRC): Likewise.
11409         (LEN): Likewise.
11410         (memcpy): Likewise.  Do not use BP_SYM.
11411         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11412         "bp-asm.h".
11413         (PARMS): Do not use macros from bp-asm.h.
11414         (DEST): Likewise.
11415         (SRC): Likewise.
11416         (LEN): Likewise.
11417         (memmove): Likewise.  Do not use BP_SYM.
11418         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11419         "bp-asm.h".
11420         (PARMS): Do not use macros from bp-asm.h.
11421         (DEST): Likewise.
11422         (SRC): Likewise.
11423         (LEN): Likewise.
11424         (__mempcpy): Likewise.  Do not use BP_SYM.
11425         (mempcpy): Do not use BP_SYM in weak_alias.
11426         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11427         "bp-asm.h".
11428         (PARMS): Do not use macros from bp-asm.h.
11429         (DEST): Likewise.
11430         (LEN): Likewise.
11431         [!BZERO_P] (CHR): Likewise.
11432         (memset): Likewise.  Do not use BP_SYM.
11433         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11434         "bp-asm.h".
11435         (PARMS): Do not use macros from bp-asm.h.
11436         (STR2): Likewise.
11437         (strcmp): Do not use BP_SYM.
11438         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11439         "bp-asm.h".
11440         (PARMS): Do not use macros from bp-asm.h.
11441         (STR): Likewise.
11442         (DELIM): Likewise.
11443         [USE_AS_STRTOK_R] (SAVE): Likewise.
11444         (FUNCTION): Likewise.  Do not use BP_SYM.
11445         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11446         aliases.
11447         (strtok_r): Likewise.
11448         (__GI___strtok_r): Likewise.
11449         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11450         (PARMS): Do not use macros from bp-asm.h.
11451         (S): Likewise.
11452         (SIZE): Likewise.
11453         (__mpn_lshift): Do not use BP_SYM.
11454         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11455         (PARMS): Do not use macros from bp-asm.h.
11456         (STR): Likewise.
11457         (CHR): Likewise.
11458         (__memchr): Do not use BP_SYM.
11459         (memchr): Do not use BP_SYM in weak_alias.
11460         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11461         (PARMS): Do not use macros from bp-asm.h.
11462         (BLK2): Likewise.
11463         (LEN): Likewise.
11464         (memcmp): Do not use BP_SYM.
11465         (bcmp): Do not use BP_SYM in weak_alias.
11466         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11467         (PARMS): Do not use macros from bp-asm.h.
11468         (S1): Likewise.
11469         (SIZE): Likewise.
11470         (__mpn_mul_1): Do not use BP_SYM.
11471         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11472         "bp-asm.h".
11473         (PARMS): Do not use macros from bp-asm.h.
11474         (STR): Likewise.
11475         (CHR): Likewise.
11476         (__rawmemchr): Do not use BP_SYM.
11477         (rawmemchr): Do not use BP_SYM in weak_alias.
11478         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11479         (PARMS): Do not use macros from bp-asm.h.
11480         (S): Likewise.
11481         (SIZE): Likewise.
11482         (__mpn_rshift): Do not use BP_SYM.
11483         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11484         (PARMS): Do not use macros from bp-asm.h.
11485         (SIGMSK): Likewise.
11486         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11487         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11488         (_start): Do not use BP_SYM.
11489         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11490         (PARMS): Do not use macros from bp-asm.h.
11491         (DEST): Likewise.
11492         (SRC): Likewise.
11493         (__stpcpy): Likewise.  Do not use BP_SYM.
11494         (stpcpy): Do not use BP_SYM in weak_alias.
11495         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11496         "bp-asm.h".
11497         (PARMS): Do not use macros from bp-asm.h.
11498         (DEST): Likewise.
11499         (SRC): Likewise.
11500         (LEN): Likewise.
11501         (__stpncpy): Likewise.  Do not use BP_SYM.
11502         (stpncpy): Do not use BP_SYM in weak_alias.
11503         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11504         (PARMS): Do not use macros from bp-asm.h.
11505         (STR): Likewise.
11506         (CHR): Likewise.
11507         (strchr): Likewise.  Do not use BP_SYM.
11508         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11509         "bp-asm.h".
11510         (PARMS): Do not use macros from bp-asm.h.
11511         (STR): Likewise.
11512         (CHR): Likewise.
11513         (__strchrnul): Likewise.  Do not use BP_SYM.
11514         (strchrnul): Do not use BP_SYM in weak_alias.
11515         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11516         "bp-asm.h".
11517         (PARMS): Do not use macros from bp-asm.h.
11518         (STOP): Likewise.
11519         (strcspn): Do not use BP_SYM.
11520         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11521         "bp-asm.h".
11522         (PARMS): Do not use macros from bp-asm.h.
11523         (STR): Likewise.
11524         (STOP): Likewise.
11525         (strpbrk): Likewise.  Do not use BP_SYM.
11526         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11527         "bp-asm.h".
11528         (PARMS): Do not use macros from bp-asm.h.
11529         (STR): Likewise.
11530         (CHR): Likewise.
11531         (strrchr): Likewise.  Do not use BP_SYM.
11532         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11533         (PARMS): Do not use macros from bp-asm.h.
11534         (SKIP): Likewise.
11535         (strspn): Do not use BP_SYM.
11536         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11537         (PARMS): Do not use macros from bp-asm.h.
11538         (STR): Likewise.
11539         (DELIM): Likewise.
11540         (SAVE): Likewise.
11541         (FUNCTION): Likewise.  Do not use BP_SYM.
11542         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11543         aliases.
11544         (strtok_r): Likewise.
11545         (__GI___strtok_r): Likewise.
11546         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11547         (PARMS): Do not use macros from bp-asm.h.
11548         (S1): Likewise.
11549         (S2): Likewise.
11550         (SIZE): Likewise.
11551         (__mpn_sub_n): Do not use BP_SYM.
11552         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11553         "bp-asm.h".
11554         (PARMS): Do not use macros from bp-asm.h.
11555         (S1): Likewise.
11556         (SIZE): Likewise.
11557         (__mpn_submul_1): Do not use BP_SYM.
11558         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11559         <bp-sym.h>.
11560         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11561         and <bp-asm.h>.
11562         (PARMS): Do not use macros from bp-asm.h.
11563         (FLAGS): Likewise.
11564         (PTID): Likewise.
11565         (TLS): Likewise.
11566         (CTID): Likewise.
11567         (__clone): Do not use BP_SYM.
11568         (clone): Do not use BP_SYM in weak_alias.
11569         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11570         and <bp-asm.h>.
11571         (PARMS): Do not use macros from bp-asm.h.
11572         (LEN): Likewise.
11573         (__mmap64): Do not use BP_SYM.
11574         (mmap64): Do not use BP_SYM in weak_alias.
11575         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11576         <bp-sym.h> and <bp-asm.h>.
11577         (PARMS): Do not use macros from bp-asm.h.
11578         (__posix_fadvise64_l64): Do not use BP_SYM.
11579         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11580         (PARMS): Do not use macros from bp-asm.h.
11581         (NSOPS): Likewise.
11582         (semtimedop): Do not use BP_SYM.
11583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11584         and <bp-asm.h>.
11586 2013-02-21  Allan McRae  <allan@archlinux.org>
11588         * manual/message.texi (Charset conversion in gettext):
11589         Move @end statement to beginning of line.
11591 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11594         static.
11595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11596         Likewise.
11598         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11599         (denorm): Likewise.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11603 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11605         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11606         tail-call to the resolved function if pltexit isn't needed.
11608 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11611         or Y being zero as being unlikely.
11612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11613         Likewise.
11615 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11617         * manual/nss.texi (System Databases and Name Service Switch):
11618         Remove frobnicate @pxref.
11620 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11622         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11623         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11625 2013-02-20  Petr Machata  <pmachata@redhat.com>
11627         * elf/elf.h (R_ARM_TARGET1): New macro.
11628         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11629         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11630         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11631         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11632         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11633         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11634         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11635         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11636         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11637         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11638         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11639         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11640         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11641         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11642         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11643         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11644         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11645         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11646         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11647         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11648         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11649         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11650         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11651         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11652         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11653         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11654         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11655         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11656         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11657         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11658         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11659         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11660         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11661         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11662         (R_ARM_THM_GOT_BREL12): Likewise.
11663         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11664         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11665         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11666         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11667         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11668         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11669         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11670         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11671         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11673 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11675         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11676         __attribute_used__ to __attribute__ ((unused)).
11678 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11680         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11681         powerpc mpa.c.
11682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11683         comment formatting.
11684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11686 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11688         [BZ #13550]
11689         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11690         Remove macro.
11691         (ENTER): Remove both macro definitions.
11692         (LEAVE): Likewise.
11693         (CHECK_BOUNDS_LOW): Likewise.
11694         (CHECK_BOUNDS_HIGH): Likewise.
11695         (CHECK_BOUNDS_BOTH): Likewise.
11696         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11697         (RETURN_BOUNDED_POINTER): Likewise.
11698         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11699         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11700         (POP_ERRNO_LOCATION_RETURN): Likewise.
11701         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11703         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11704         macros.
11705         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11706         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11707         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11708         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11709         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11710         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11711         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11712         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11713         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11714         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11715         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11716         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11717         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11718         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11719         removed macros.
11720         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11721         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11722         macros.
11723         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11724         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11725         * sysdeps/i386/i586/memset.S (memset): Likewise.
11726         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11727         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11728         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11729         macros.
11730         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11731         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11732         Change uses of L(2) to L(out).
11733         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11734         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11735         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11736         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11737         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11738         removed macros.
11739         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11740         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11741         macros.
11742         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11743         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11744         (RETURN): Do not use macro LEAVE.
11745         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11746         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11747         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11748         * sysdeps/i386/i686/memset.S (memset): Likewise.
11749         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11750         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11751         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11752         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11753         Likewise.
11754         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11755         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11756         L(1_2) and L(1_3) into L(1).
11757         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11758         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11759         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11760         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11761         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11762         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11763         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11764         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11765         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11766         macros.
11767         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11768         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11769         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11770         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11771         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11772         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11773         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11774         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11775         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11776         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11777         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11778         * sysdeps/i386/strspn.S (strspn): Likewise.
11779         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11780         conditional code.
11781         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11782         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11783         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11784         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11785         L(1_3) into L(1_1).
11786         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11787         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11788         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11789         macros.
11790         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11792 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11794         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11795         macro.
11797 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11799         * math/atest-exp.c (exp_mpn): Remove ROUND.
11800         * math/atest-exp2.c (exp_mpn): Likewise.
11801         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11803         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11804         * stdlib/tst-tls-atexit-lib.c: Likewise.
11805         * stdlib/tst-tls-atexit.c: Likewise.
11807 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11809         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11810         and __attribute_alloc_size__.
11812 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11814         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11815         __attribute_alloc_size__.
11816         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11817         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11819 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11821         * include/programs/xmalloc.h: New file.
11822         * catgets/gencat.c: Include it.
11823         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11824         * elf/pldd.c: Likewise.
11825         * iconv/iconv_charmap.c: Likewise.
11826         * iconv/iconvconfig.c: Likewise.
11827         * iconv/strtab.c: Likewise.
11828         * locale/programs/locale.c: Likewise.
11829         * locale/programs/localedef.h: Likewise.
11830         * locale/programs/simple-hash.c: Likewise.
11831         * nscd/nscd.h: Likewise.
11832         * nss/makedb.c: Likewise.
11833         * sysdeps/generic/ldconfig.h: Likewise.
11835 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11837         * Versions.def: Add GLIBC_2.18.
11838         * include/link.h (struct link_map): New member l_tls_dtor_count.
11839         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11840         (__call_tls_dtors): Likewise.
11841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11842         __cxa_thread_atexit_impl.
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11844         Likewise.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11853         Likewise.
11854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11855         Likewise.
11856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11858         Likewise.
11859         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11860         (tests): Add test case tst-tls-atexit.
11861         (modules-names): Add shared library for tst-tls-atexit.
11862         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11863         (GLIBC_PRIVATE): Add __call_tls_dtors.
11864         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11865         for libstdc++.
11866         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11867         * stdlib/tst-tls-atexit.c: New test case.
11868         * stdlib/tst-tls-atexit-lib.c: New test case.
11870         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11872         * elf/Versions (ld): Add _dl_find_dso_for_object.
11873         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11874         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11875         (dl_open_worker): Use _dl_find_dso_for_object.
11876         * elf/dl-sym.c (do_sym): Likewise.
11877         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11879 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11881         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11882         Syntactic changes only.
11883         (_dl_runtime_profile): Do a tail-call to the resolved function.
11885 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11887         [BZ #13550]
11888         * sysdeps/x86_64/bp-asm.h: Remove file.
11889         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11890         <bp-sym.h> and <bp-asm.h>.
11891         (__clone): Do not use BP_SYM.
11892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11893         <bp-sym.h> and <bp-asm.h>.
11894         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11895         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11896         "bp-asm.h".
11897         (_setjmp): Do not use BP_SYM.
11898         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11899         "bp-asm.h".
11900         (setjmp): Do not use BP_SYM.
11901         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11902         libc_hidden_def.
11903         (mempcpy): Do not use BP_SYM in weak_alias.
11904         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11905         "bp-asm.h".
11906         (strchr): Do not use BP_SYM.
11907         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11908         "bp-asm.h".
11909         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11910         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11911         (_start): Do not use BP_SYM.
11912         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11913         "bp-asm.h".
11914         (strcat): Do not use BP_SYM.
11915         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11916         "bp-asm.h".
11917         (STRCMP): Do not use BP_SYM.
11918         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11919         "bp-asm.h".
11920         (STRCPY): Do not use BP_SYM.
11921         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11922         "bp-asm.h".
11923         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11924         "bp-asm.h".
11925         (FUNCTION): Do not use BP_SYM.
11926         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11927         weak_alias.
11928         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11930 2013-02-17  Andreas Jaeger  <aj@suse.de>
11932         * time/Versions: Sort entries.
11933         * string/Versions: Likewise.
11934         * resolv/Versions: Likewise.
11935         * posix/Versions: Likewise.
11936         * iconv/Versions: Likewise.
11937         * elf/Versions: Likewise.
11938         * wcsmbs/Versions: Likewise.
11940 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11942         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11943         loop termination condition.
11945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11946         variable to calculate EZ.
11947         (__sqr): Likewise.
11949         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11950         the lower precision input.
11952 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11954         [BZ #13550]
11955         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11956         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11957         (run-via-rtld-prefix): Do not handle %-bp tests.
11958         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11959         (all-object-suffixes): Remove .ob.
11960         (bppfx): Remove variable.
11961         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11962         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11963         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11964         [$(build-bounded) = yes] (libtype.ob): Likewise.
11965         * Makerules (elide-routines.ob): Remove variable.
11966         (do-tests-clean): Do not handle *-bp.out.
11967         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11968         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11969         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11970         (tests): Do not include $(tests-bp.out).
11971         (xtests): Do not include $(xtests-bp.out).
11972         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11973         [$(build-bounded) = yes] ($(addprefix
11974         $(objpfx),$(binaries-bounded))): Remove rule.
11975         ($(objpfx)%-bp.out): Remove rule.
11976         * config.make.in (build-bounded): Remove variable.
11977         * crypt/Makefile [$(build-bounded) = yes]
11978         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11979         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11980         append to variable.
11981         [$(build-bounded) = yes] (install-lib): Likewise.
11982         [$(build-bounded) = yes] (generated): Likewise.
11983         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11984         Remove rule.
11985         * intl/Makefile [$(build-bounded) = yes]
11986         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11987         * math/Makefile [$(build-bounded) = yes]
11988         ($(tests:%=$(objpfx)%-bp): Likewise.
11989         * misc/Makefile [$(build-bounded) = yes]
11990         ($(objpfx)tst-tsearch-bp): Likewise.
11991         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11992         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11993         Remove dependency.
11994         * string/Makefile (o-objects.ob): Remove variable.
11995         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11996         (CFLAGS-.ob): Remove variable.
11997         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11998         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11999         both definitions of variable.
12000         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12001         (ASFLAGS-.ob): Remove variable.
12003 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12005         [BZ #13550]
12006         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12007         Remove __BOUNDED_POINTERS__ from condition.
12008         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12009         * string/bits/string2.h [!__NO_STRING_INLINES &&
12010         !__BOUNDED_POINTERS__]: Likewise.
12011         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12012         Likewise.
12013         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12014         Remove conditional code.
12015         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12016         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12017         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12018         condition.
12020         [BZ #13550]
12021         * csu/libc-start.c: Do not include <bp-sym.h>.
12022         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12023         * elf/dl-open.c: Do not include <bp-sym.h>.
12024         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12025         * math/fegetenv.c: Do not include <bp-sym.h>.
12026         (fegetenv): Do not use BP_SYM in versioned symbols.
12027         * nptl/sysdeps/pthread/bits/libc-lockP.h
12028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12029         <bp-sym.h>.
12030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12031         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12033         (__pthread_mutex_destroy): Likewise.
12034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12035         (__pthread_mutex_lock): Likewise.
12036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12037         (__pthread_mutex_trylock): Likewise.
12038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12039         (__pthread_mutex_unlock): Likewise.
12040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12041         (__pthread_mutexattr_init): Likewise.
12042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12043         (__pthread_mutexattr_destroy): Likewise.
12044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12045         (__pthread_mutexattr_settype): Likewise.
12046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12047         (__pthread_rwlock_init): Likewise.
12048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12049         (__pthread_rwlock_destroy): Likewise.
12050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12051         (__pthread_rwlock_rdlock): Likewise.
12052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12053         (__pthread_rwlock_tryrdlock): Likewise.
12054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12055         (__pthread_rwlock_wrlock): Likewise.
12056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12057         (__pthread_rwlock_trywrlock): Likewise.
12058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12059         (__pthread_rwlock_unlock): Likewise.
12060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12061         (__pthread_key_create): Likewise.
12062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12063         (__pthread_setspecific): Likewise.
12064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12065         (__pthread_getspecific): Likewise.
12066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12067         Likewise.
12068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12069         (_pthread_cleanup_push_defer): Likewise.
12070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12071         (_pthread_cleanup_pop_restore): Likewise.
12072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12073         (pthread_setcancelstate): Likewise.
12074         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12075         <bp-sym.h>.
12076         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12077         (memchr): Do not use BP_SYM in weak_alias.
12078         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12079         (fegetenv): Do not use BP_SYM in versioned symbols.
12080         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12081         (fesetenv): Do not use BP_SYM in versioned symbols.
12082         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12083         (feupdateenv): Do not use BP_SYM in versioned symbols.
12084         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12085         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12086         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12087         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12088         (open64): Do not use BP_SYM in weak_alias.
12089         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12090         (fegetenv): Do not use BP_SYM in versioned symbols.
12091         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12092         (fesetenv): Do not use BP_SYM in versioned symbols.
12093         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12094         (feupdateenv): Do not use BP_SYM in versioned symbols.
12095         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12096         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12097         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12098         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12099         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12100         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12101         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12102         <bp-sym.h>.
12103         (__libc_start_main): Do not use BP_SYM.
12105 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12108         redundant return line.
12109         (norm): Likewise.
12110         (denorm): Likewise.
12111         (dbl_mp): Likewise.
12112         (sub_magnitudes): Likewise.
12113         (__add): Likewise.
12114         (__sub): Likewise.
12115         (__mul): Likewise.
12116         (__inv): Likewise.
12117         (__dvd): Likewise.
12118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12119         (norm): Likewise.
12120         (denorm): Likewise.
12121         (dbl_mp): Likewise.
12122         (sub_magnitudes): Likewise.
12123         (__add): Likewise.
12124         (__sub): Likewise.
12125         (__mul): Likewise.
12126         (__inv): Likewise.
12127         (__dvd): Likewise.
12129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12130         instead of __mul.
12131         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12132         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12133         (cc32): Likewise.
12135         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12136         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12138         of __mul for squares.
12139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12140         function
12141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12142         Likewise.
12143         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12144         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12146 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12148         [BZ #13550]
12149         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12150         code.
12151         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12152         prototype or function definition.  Rename ubp_* variables and
12153         parameters.  Remove argv definitions conditional on
12154         [__BOUNDED_POINTERS__].
12155         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12156         * elf/dl-runtime.c (_dl_fixup): Likewise.
12157         * include/set-hooks.h (RUN_HOOK): Likewise.
12158         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12159         definition.
12160         * string/strcpy.c (strcpy): Do not use __unbounded.
12161         * sysdeps/generic/frame.h (struct layout): Likewise.
12162         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12163         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12164         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12165         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12166         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12167         (__backtrace): Likewise.
12168         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12169         use __ptrvalue.
12170         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12171         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12172         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12175         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12177         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12178         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12179         Do not use __unbounded.
12180         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12181         Rename __unboundedrlimits parameter to rlimits in prototype.
12182         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12183         Do not use __unbounded.
12184         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12185         not use __ptrvalue.
12186         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12187         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12188         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12189         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12190         __ptrvalue or __unbounded.
12191         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12192         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12193         use __unbounded.
12194         (__new_msgctl): Do not use __ptrvalue.
12195         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12196         __unbounded.
12197         (__libc_msgrcv): Do not use __ptrvalue.
12198         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12199         startup_info): Do not use __unbounded.
12200         (__libc_start_main): Likewise.  Rename ubp_* variables and
12201         parameters.  Remove argv definitions conditional on
12202         [__BOUNDED_POINTERS__].
12203         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12204         __ptrvalue.
12205         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12206         use __unbounded.
12207         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12208         or __ptrvalue.
12209         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12210         use __unbounded.
12211         (__new_shmctl): Do not use __ptrvalue.
12212         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12213         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12214         Likewise.
12215         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12217         (__libc_sigaction): Likewise.
12218         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12219         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12223 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12225         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12227         * string/mempcpy.c: Implement by calling memcpy.
12229 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12234         evaluation.
12236         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12237         values in the mantissa.
12239         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12240         minimize writes to Z.
12241         (sub_magnitudes): Simplify code a bit.
12243 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12245         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12246         from the message.  The linker prefixes all warnings with that already.
12248 2013-02-12  Andreas Schwab  <schwab@suse.de>
12250         [BZ #15078]
12251         * posix/regexec.c (extend_buffers): Add parameter min_len.
12252         (check_matching): Pass minimum needed length.
12253         (clean_state_log_if_needed): Likewise.
12254         (get_subexp): Likewise.
12255         * posix/Makefile (tests): Add bug-regex34.
12256         (bug-regex34-ENV): Define.
12257         * posix/bug-regex34.c: New file.
12259         [BZ #11561]
12260         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12261         elements compare against the byte sequence of it, not its name.
12262         * posix/Makefile (tests): Add bug-regex35.
12263         (bug-regex35-ENV): Define.
12264         * posix/bug-regex35.c: New file.
12266 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12268         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12269         comment.
12270         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12271         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12272         (CHECK_EOL): Add undef.
12274 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12276         * bits/stdlib-bsearch.h: New file.
12277         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12278         * stdlib/stdlib.h: Likewise.
12280 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12282         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12283         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12284         declaration.
12285         * manual/search.texi (Array Search Function): Add missing const in
12286         lfind prototype.
12287         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12288         declaration to use rlim_t.
12289         (Basic Scheduling Functions): Remove erroneous const from
12290         sched_getparam prototype.  Remove erroneous * from
12291         sched_get_priority_max and sched_get_priority_min prototypes.
12292         (Resource Usage): Fix summary @comment on vtimes to refer to
12293         sys/vtimes.h rather than vtimes.h.
12294         Add missing *s in vtimes prototype.
12295         (Limits on Resources): Fix ulimit prototype to return long int.
12296         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12297         prototypes to use long int rather than double.
12298         (BSD Random): Fix initstate and setstate to use char *, not void *.
12299         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12300         prototype to make second argument 'struct aiocb64 *const[]'.
12301         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12302         (Status of AIO Operations): Remove erroneous const in aio_return and
12303         aio_return64 prototypes.
12304         (Synchronizing I/O): Fix sync prototype to return void.
12305         * manual/startup.texi (Suboptions): Remove an erroneous const in
12306         getsubopt prototype.
12307         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12308         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12309         use size_t rather than int.
12310         (Scanning All Users): Likewise for getpwent_r.
12311         (Setting Groups): Add missing const to setgroups prototype.
12312         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12313         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12314         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12315         'const void *' rather than 'const char *'.
12316         (Host Address Functions): Likewise for inet_ntop.
12317         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12318         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12319         ssize_t for return value.
12320         (Sending Data): Likewise for send, sendto, sendmsg.
12321         (Socket Option Functions): Add a missing const in setsockopt prototype.
12322         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12323         use wchar_t for the argument.
12324         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12325         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12326         take no arguments.
12327         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12328         double/float/long double for second argument.
12329         Fix return types of significand, significandf, significandl.
12330         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12331         argument in fchmod prototype.
12332         (File Owner): Use uid_t and gid_t in fchown prototype.
12333         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12334         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12335         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12336         use 'const struct dirent **' as argument types to CMP function pointer
12337         argument.
12338         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12339         (File Times): Fix summary magic @comment for struct utimbuf and utime
12340         to refer to utime.h, not time.h.
12341         * manual/string.texi (Argz Functions): Add missing const in
12342         argz_extract and argz_next prototypes.
12343         (Finding Tokens in a String): Likewise for basename.
12344         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12345         (Copying and Concatenation): Fix typo in wmemmove prototype.
12346         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12347         (Signal Stack): Remove erroneous const in sigstack prototype.
12348         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12349         prototype.
12350         (Simple Calendar Time): Likewise for stime.
12351         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12352         prototype.
12353         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12354         say sys/sysctl.h instead.
12355         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12356         and vsyslog prototypes.
12358 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12360         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12361         Remove.
12363 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12365         * misc/sys/mman.h: Fix typo in mremap comment.
12367 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12369         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12370         the '\0' terminator.
12372 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12374         [BZ #13550]
12375         * debug/segfault.c: Don't include <bp-checks.h>.
12376         * sysdeps/generic/bp-checks.h: Remove file.
12377         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12378         (__GETDENTS): Don't use CHECK_N.
12379         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12380         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12381         (__getgroups): Don't use CHECK_N.
12382         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12383         (setgroups): Don't use CHECK_N.
12384         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12385         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12386         (__libc_msgrcv): Don't use CHECK_N.
12387         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12388         (__libc_msgsnd): Don't use CHECK_N.
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12390         <bp-checks.h>.
12391         (__libc_pread): Don't use CHECK_N.
12392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12393         include <bp-checks.h>.
12394         (__libc_pread64): Don't use CHECK_N.
12395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12396         include <bp-checks.h>.
12397         (__libc_pwrite): Don't use CHECK_N.
12398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12399         include <bp-checks.h>.
12400         (__libc_pwrite64): Don't use CHECK_N.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12402         <bp-checks.h>.
12403         (__libc_pread): Don't use CHECK_N.
12404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12405         include <bp-checks.h>.
12406         (__libc_pread64): Don't use CHECK_N.
12407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12408         include <bp-checks.h>.
12409         (__libc_pwrite): Don't use CHECK_N.
12410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12411         include <bp-checks.h>.
12412         (__libc_pwrite64): Don't use CHECK_N.
12413         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12414         (do_pread): Don't use CHECK_N.
12415         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12416         (do_pread64): Don't use CHECK_N.
12417         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12418         (do_pwrite): Don't use CHECK_N.
12419         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12420         (do_pwrite64): Don't use CHECK_N.
12421         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12422         (__libc_readv): Don't use CHECK_N.
12423         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12424         (semop): Don't use CHECK_N.
12425         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12426         <bp-checks.h>.
12427         (semtimedop): Don't use CHECK_N.
12428         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12429         (__libc_pread): Don't use CHECK_N.
12430         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12431         <bp-checks.h>.
12432         (__libc_pread64): Don't use CHECK_N.
12433         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12434         <bp-checks.h>.
12435         (__libc_pwrite): Don't use CHECK_N.
12436         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12437         <bp-checks.h>.
12438         (__libc_pwrite64): Don't use CHECK_N.
12439         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12440         <bp-checks.h>.
12441         (__libc_msgrcv): Don't use CHECK_N.
12442         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12443         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12444         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12445         (__libc_writev): Don't use CHECK_N.
12447 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12449         * string/strcpy.c: Removed unused variable.
12451         * Makeconfig (+sysdep-includes): Define with := rather than =.
12452         Use an existing include/ subdir of each sysdeps dir before it.
12454 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12456         * nscd/connection.c (register_traced_file): Comment function.
12457         [HAVE_INOTIFY] (union __inev): Define.
12458         [HAVE_INOTIFY] (inotify_check_files): New function.
12459         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12460         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12461         clear_db_cache.
12462         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12464 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12466         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12467         loaded if not already and that a failure is permanent.
12469 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12471         [BZ #15006]
12472         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12473         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12475 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12477         [BZ #13550]
12478         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12479         (CHECK_1_NULL_OK): Likewise.
12480         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12481         (__fxstat): Do not use CHECK_1.
12482         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12483         <bp-checks.h>.
12484         (___fxstat64): Do not use CHECK_1.
12485         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12486         <bp-checks.h>.
12487         (__fxstatat): Do not use CHECK_1.
12488         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12489         <bp-checks.h>.
12490         (__fxstatat64): Do not use CHECK_1.
12491         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12492         <bp-checks.h>.
12493         (__fxstat): Do not use CHECK_1.
12494         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12495         <bp-checks.h>.
12496         (__fxstatat): Do not use CHECK_1.
12497         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12498         <bp-checks.h>.
12499         (__getresgid): Do not use CHECK_1.
12500         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12501         <bp-checks.h>.
12502         (__getresuid): Do not use CHECK_1.
12503         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12504         <bp-checks.h>.
12505         (__lxstat): Do not use CHECK_1.
12506         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12507         <bp-checks.h>.
12508         (__old_msgctl): Do not use CHECK_1.
12509         (__new_msgctl): Likewise.
12510         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12511         <bp-checks.h>.
12512         (__new_setrlimit): Do not use CHECK_1.
12513         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12514         <bp-checks.h>.
12515         (__old_shmctl): Do not use CHECK_1.
12516         (__new_shmctl): Likewise.
12517         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12518         <bp-checks.h>.
12519         (__xstat): Do not use CHECK_1.
12520         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12521         (__lxstat): Do not use CHECK_1.
12522         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12523         <bp-checks.h>.
12524         (___lxstat64): Do not use CHECK_1.
12525         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12526         (__old_msgctl): Do not use CHECK_1.
12527         (__new_msgctl): Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12529         <bp-checks.h>.
12530         (__gettimeofday): Do not use CHECK_1.
12531         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12532         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12533         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12534         <bp-checks.h>.
12535         (__gettimeofday): Do not use CHECK_1.
12536         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12537         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12538         (__new_shmctl): Do not use CHECK_1.
12539         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12540         <bp-checks.h>.
12541         (do_sigtimedwait): Do not use CHECK_1.
12542         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12543         <bp-checks.h>.
12544         (do_sigwaitinfo): Do not use CHECK_1.
12545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12546         <bp-checks.h>.
12547         (msgctl): Do not use CHECK_1.
12548         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12549         <bp-checks.h>.
12550         (shmctl): Do not use CHECK_1.
12551         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12552         (ustat): Do not use CHECK_1.
12553         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12554         <bp-checks.h>.
12555         (__fxstat): Do not use CHECK_1.
12556         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12557         <bp-checks.h>.
12558         (__fxstatat): Do not use CHECK_1.
12559         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12560         <bp-checks.h>.
12561         (__lxstat): Do not use CHECK_1.
12562         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12563         <bp-checks.h>.
12564         (__xstat): Do not use CHECK_1.
12565         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12566         (__xstat): Do not use CHECK_1.
12567         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12568         (___xstat64): Do not use CHECK_1.
12570         [BZ #13550]
12571         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12572         definitions.
12573         (CHECK_BOUNDS_HIGH): Likewise.
12574         * string/strcpy.c: Do not include <bp-checks.h>.
12575         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12577 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12579         * nscd/nscd-client.h (__nscd_drop_map_ref):
12580         Add __attribute__ ((unused)).
12581         * nis/nss-nisplus.h (niserr2nss): Likewise.
12583         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12584         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12586         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12587         Remove inline keyword.
12588         * include/rounding-mode.h (round_away): Likewise.
12589         * libio/wfileops.c (adjust_wide_data): Likewise.
12590         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12591         (__m128i_strloadu_tolower): Likewise.
12592         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12593         (__m128i_strloadu_tolower): Likewise.
12594         * time/mktime.c (ydhms_diff): Likewise.
12595         * locale/elem-hash.h (elem_hash): Likewise.
12596         * locale/setlocale.c (setdata): Likewise.
12597         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12598         (re_string_wchar_at): Likewise.
12599         (bitset_not, bitset_merge, bitset_mask): Likewise.
12600         [!(__GNUC__ > 3)] (inline): Remove macro.
12601         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12602         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12603         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12604         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12605         * string/memcmp.c (memcmp_bytes): Likewise.
12606         * locale/programs/locarchive.c (compute_hashval): Likewise.
12607         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12608         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12609         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12610         * nss/getent.c (print_rpc, print_protocols): Likewise.
12611         (print_passwd, print_group, print_aliases): Likewise.
12612         * nis/nss-nisplus.h (niserr2nss): Likewise.
12613         * nscd/connections.c (restart_p): Likewise.
12614         Change return type to bool.
12616 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12618         * Makeconfig (all-Depend-files): Add existing
12619         $(sorted-subdirs:=/Depend) files.
12620         (all-subdirs): Remove nss.
12621         * sysdeps/unix/inet/Subdirs: Add it here instead.
12622         * hesiod/Depend: New file.
12624         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12625         instead of calling alloca.
12627         * io/lseek.c (__lseek): Rename to __libc_lseek.
12628         Define __lseek as an alias.
12630         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12632 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12634         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12635         else clause and remove check for non-standard endianness.
12637 2013-02-04  David S. Miller  <davem@davemloft.net>
12639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12641 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12643         [BZ #13550]
12644         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12645         (__ubp_memchr): Remove prototype.
12646         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12647         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12648         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12649         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12650         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12651         Remove alias.
12652         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12653         (__ubp_memchr): Likewise.
12654         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12655         (__ubp_memchr): Likewise.
12656         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12657         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12658         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12659         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12660         CHECK_STRING.
12661         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12662         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12663         (__getcwd): Do not use CHECK_STRING.
12664         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12665         <bp-checks.h>.
12666         (__real_chown): Do not use CHECK_STRING.
12667         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12668         <bp-checks.h>.
12669         (fchownat): Do not use CHECK_STRING.
12670         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12671         CHECK_STRING.
12672         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12673         <bp-checks.h>.
12674         (__lchown): Do not use CHECK_STRING.
12675         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12676         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12677         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12678         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12680         include <bp-checks.h>.
12681         (truncate64): Do not use CHECK_STRING.
12682         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12683         <bp-checks.h>.
12684         (__real_chown): Do not use CHECK_STRING.
12685         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12686         <bp-checks.h>.
12687         (__lchown): Do not use CHECK_STRING.
12688         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12689         <bp-checks.h>.
12690         (__chown): Do not use CHECK_STRING.
12691         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12692         <bp-checks.h>.
12693         (truncate64): Do not use CHECK_STRING.
12694         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12695         Likewise.
12696         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12697         (__xmknod): Do not use CHECK_STRING.
12698         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12699         <bp-checks.h>.
12700         (__xmknodat): Do not use CHECK_STRING.
12701         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12702         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12704 2013-02-04  Andreas Schwab  <schwab@suse.de>
12706         [BZ #14142]
12707         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12708         * include/netdb.h: Likewise for h_errno.
12709         * elf/tst-stackguard1.c: Include <tls.h>.
12711 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12713         * elf/link.h (struct link_map): Extend the l_addr comment.
12714         * include/link.h (struct link_map): Likewise.
12716 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12718         [BZ #13550]
12719         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12720         (BOUNDED_1): Remove macro.
12721         * debug/backtrace.c: Don't include <bp-checks.h>.
12722         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12723         (__backtrace): Likewise.
12724         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12725         <bp-checks.h>.
12726         (__backtrace): Don't use BOUNDED_1.
12727         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12728         <bp-checks.h>.
12729         (__backtrace): Don't use BOUNDED_1.
12730         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12731         (__backtrace): Don't use BOUNDED_1.
12732         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12733         (shmat): Don't use BOUNDED_N.
12735 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #13550]
12738         * sysdeps/generic/bp-start.h: Remove file.
12739         * csu/libc-start.c: Don't include <bp-start.h>.
12740         (LIBC_START_MAIN): Set up __environ directly instead of using
12741         INIT_ARGV_and_ENVIRON.
12742         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12743         <bp-start.h>.
12745         [BZ #13550]
12746         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12747         definitions.
12748         (CHECK_FCNTL): Likewise.
12749         (CHECK_N_PAGES): Likewise.
12751         [BZ #13550]
12752         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12753         definitions.
12754         (CHECK_SIGSET_NULL_OK): Likewise.
12755         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12756         <bp-checks.h>.
12757         (sigpending): Don't use CHECK_SIGSET.
12758         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12759         <bp-checks.h>.
12760         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12761         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12762         <bp-checks.h>.
12763         (do_sigsuspend): Don't use CHECK_SIGSET.
12764         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12765         use CHECK_SIGSET.
12766         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12767         (do_sigwait): Don't use CHECK_SIGSET.
12768         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12769         use CHECK_SIGSET.
12770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12771         include <bp-checks.h>.
12772         (sigpending): Don't use CHECK_SIGSET.
12773         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12774         include <bp-checks.h>.
12775         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12776         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12777         <bp-checks.h>.
12778         (sigpending): Don't use CHECK_SIGSET.
12779         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12780         <bp-checks.h>.
12781         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12783         [BZ #13550]
12784         * sysdeps/generic/bp-semctl.h: Remove file.
12785         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12786         <bp-checks.h> and <bp-semctl.h>.
12787         (__old_semctl): Don't use CHECK_SEMCTL.
12788         (__new_semctl): Likewise.
12789         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12790         and <bp-semctl.h>.
12791         (__old_semctl): Don't use CHECK_SEMCTL.
12792         (__new_semctl): Likewise.
12793         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12794         <bp-checks.h> and <bp-semctl.h>.
12795         (__old_semctl): Don't use CHECK_SEMCTL.
12796         (__new_semctl): Likewise.
12797         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12798         <bp-checks.h> and <bp-semctl.h>.
12799         (semctl): Don't use CHECK_SEMCTL.
12801         [BZ #13550]
12802         * Makerules (elide-bp-thunks): Remove variable.
12803         (elide-routines.oS): Don't use $(elide-bp-thunks).
12804         (elide-routines.os): Likewise.
12805         (elide-routines.o): Likewise.
12806         (elide-routines.op): Likewise.
12807         (elide-routines.og): Likewise.
12808         (objects): Don't use $(bp-thunks).
12809         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12810         include.
12811         (common-generated): Do not add s-proto-bp.d.
12812         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12813         (int): Likewise.
12814         (typ): Likewise.
12815         Do not generate makefile rules for bounded-pointer thunks.
12816         * sysdeps/generic/bp-thunks.h: Remove file.
12817         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12818         * sysdeps/unix/s-proto-bp.S: Likewise.
12820         [BZ #15062]
12821         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12822         parts of result separately when argument is not close to line from
12823         -i to i and one part of argument is small.
12824         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12825         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12826         * math/libm-test.inc (cacos_test): Add more tests.
12827         (casin_test): Likewise.
12828         (casinh_test): Likewise.
12829         * sysdeps/i386/fpu/libm-test-ulps: Update.
12830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832 2013-01-31  David S. Miller  <davem@davemloft.net>
12834         * po/de.po: Update from translation team.
12836 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12838         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12840 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12842         * configure.in (_AC_PROG_CC_C89): New definition.
12843         * configure: Regenerate.
12845         * configure.in (AC_PROG_CPP): New definition.
12846         * configure: Regenerate.
12848 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12850         * debug/tst-backtrace.h: New file.
12851         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12852         (ret): Remove variable.
12853         (x): Likewise.
12854         (FAIL): Remove macro.
12855         (NO_INLINE): Likewise.
12856         (fn1): Use match function instead of strstr.
12857         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12858         (ret): Remove variable.
12859         (x): Likewise.
12860         (FAIL): Remove macro.
12861         (NO_INLINE): Likewise.
12862         (fn): Use match function instead of strstr.
12863         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12864         (ret): Remove variable.
12865         (x): Likewise.
12866         (FAIL): Remove macro.
12867         (NO_INLINE): Likewise.
12868         (handle_signal): Use match function instead of strstr.
12869         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12870         (ret): Remove variable.
12871         (x): Likewise.
12872         (FAIL): Remove macro.
12873         (NO_INLINE): Likewise.
12874         (handle_signal): Use match function instead of strstr.
12876 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12878         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12880 2013-01-23  David S. Miller  <davem@davemloft.net>
12882         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12883         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12884         argument of CAS if possible.
12885         * sysdeps/sparc/sparc64/bits/atomic.h
12886         (__arch_compare_and_exchange_val_32_acq): Likewise.
12887         (__arch_compare_and_exchange_val_64_acq): Likewise.
12889 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12891         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12892         * sysdeps/posix/ulimit.c: ... this.
12893         Include <limits.h>.
12894         * sysdeps/unix/bsd/ulimit.c: Remove file.
12896 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12898         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12899         (LDFLAGS-tst-array5): Likewise.
12901 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12903         [BZ #15036]
12904         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12905         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12906         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12907         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12909 2013-01-21  David S. Miller  <davem@davemloft.net>
12911         * sysdeps/sparc/backtrace.c: New file.
12912         * sysdeps/sparc/sparc32/backtrace.h: New file.
12913         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12914         * sysdeps/sparc/sparc64/backtrace.h: New file.
12915         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12916         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12917         -funwind-tables.
12919 2013-01-21  Andreas Schwab  <schwab@suse.de>
12921         [BZ #15020]
12922         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12923         closed its stdout.
12925 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12928         "mpa2.h".
12929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12931 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12932             Mark Mitchell  <mark@codesourcery.com>
12933             Tom de Vries  <tom@codesourcery.com>
12934             Paul Pluzhnikov  <ppluzhnikov@google.com>
12936         * debug/tst-backtrace2.c: New file.
12937         * debug/tst-backtrace3.c: Likewise.
12938         * debug/tst-backtrace4.c: Likewise.
12939         * debug/tst-backtrace5.c: Likewise.
12940         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12941         (CFLAGS-tst-backtrace3.c): Likewise.
12942         (CFLAGS-tst-backtrace4.c): Likewise.
12943         (CFLAGS-tst-backtrace5.c): Likewise.
12944         (LDFLAGS-tst-backtrace2): Likewise.
12945         (LDFLAGS-tst-backtrace3): Likewise.
12946         (LDFLAGS-tst-backtrace4): Likewise.
12947         (LDFLAGS-tst-backtrace5): Likewise.
12948         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12949         tst-backtrace4 and tst-backtrace5.
12951 2013-01-18  Anton Blanchard  <anton@samba.org>
12952             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12954         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12955         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12956         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12957         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12959         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12960         "+r" and remove output regs list as redundant.  Add explicit inline
12961         asm to specify register of return val to work around compiler codegen
12962         bug.  Remove (int) cast on return value.  Add return type parameter to
12963         use in macro so that this macro does not truncate return value for
12964         64-bit values.
12965         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12966         pass to INTERNAL_VSYSCALL_NCS.
12967         (INLINE_VSYSCALL): Add 'long int' as return type to
12968         INTERNAL_VSYSCALL_NCS macro invocation.
12969         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12970         INTERNAL_VSYSCALL_NCS macro invocation.
12971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12973 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12975         [BZ #14496]
12976         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12977         Fix application of SIMD FP exception mask.
12979         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12980         mp_no from a power of two.
12981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12982         __mpexp_twomm1.  Use __pow_mp.
12984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12985         multiplication.
12987 2013-01-17  David S. Miller  <davem@davemloft.net>
12989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12991 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12993         [BZ #15023]
12994         * include/complex.h: Condition contents on [!_COMPLEX_H].
12995         (__kernel_casinhf): New prototype.
12996         (__kernel_casinh): Likewise.
12997         (__kernel_casinhl): Likewise.
12998         * math/Makefile (libm_calls): Add k_casinh.
12999         * math/k_casinh.c: New file.
13000         * math/k_casinhf.c: Likewise.
13001         * math/k_casinhl.c: Likewise.
13002         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13003         finite nonzero arguments.
13004         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13005         finite nonzero arguments.
13006         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13007         finite nonzero arguments.
13008         * math/s_casinh.c: Do not include <float.h>.
13009         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13010         * math/s_casinhf.c: Do not include <float.h>.
13011         (__casinhf): Move code for finite nonzero arguments to
13012         k_casinhf.c.
13013         * math/s_casinhl.c: Do not include <float.h>.
13014         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13015         redefine.
13016         (__casinhl): Move code for finite nonzero arguments to
13017         k_casinhl.c.
13018         * math/libm-test.inc (cacos_test): Add more tests.
13019         * sysdeps/i386/fpu/libm-test-ulps: Update.
13020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13022 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13024         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13025         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13026         [!HAVE_MREMAP]: Remove [defined linux] case.
13027         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13029 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13031         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13033 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13035         * elf/elf.h (R_386_SIZE32): New relocation.
13036         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13037         R_386_SIZE32.
13038         (elf_machine_rela): Likewise.
13039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13040         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13042 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13044         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13045         (FP_FAST_FMA): Do not define.
13046         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13047         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13048         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13049         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13050         !_SOFT_FLOAT]: Likewise.
13051         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13052         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13053         value.
13054         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13055         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13056         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13057         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13058         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13059         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13060         file.
13062 2013-01-16  Andreas Schwab  <schwab@suse.de>
13064         [BZ #14327]
13065         * include/stdlib.h (__mktemp): Add declaration.
13066         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13067         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13069 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13071         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13072         definitions.
13073         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13074         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13075         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13076         definitions here.
13077         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13078         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13079         definitions.
13080         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13081         and ONE.
13082         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13083         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13084         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13085         definitions.
13086         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13087         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13088         definitions.
13089         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13091         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13093 2013-01-15  David S. Miller  <davem@davemloft.net>
13095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13096         trunc{,f} to libm-sysdep_routes.
13097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13099         file.
13100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13102         file.
13103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13104         file.
13105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13107         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13108         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13109         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13110         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13111         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13112         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13115         nearbyint{,f} to libm-sysdep_routes.
13116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13118         New file.
13119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13120         file.
13121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13122         New file.
13123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13124         file.
13125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13127         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13128         file.
13129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13130         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13131         file.
13132         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13133         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13134         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13136         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13137         libc_feholdexcept and libc_fesetenv.
13139 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13141         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13143 2013-01-14  David S. Miller  <davem@davemloft.net>
13145         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13146         (SPARC_ASM_VIS2_IFUNC): Likewise.
13147         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13149         use of 'siam' instruction.
13150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13151         Likewise.
13152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13153         Likewise.
13154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13155         Likewise.
13156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13161         file.
13162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13163         file.
13164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13165         file.
13166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13167         file.
13168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13173         new VIS2 routines.
13174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13177         Likewise.
13178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13183         routines to libm-sysdep_routines.
13184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13187         fdim/fdimf to libm-sysdep_routines.
13188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13189         file.
13190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13192         file.
13193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13196         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13197         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13198         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13199         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13201 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13203         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13204         to optimize copies.
13206         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13211         local variable MPTWO.
13212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13213         Likewise.
13215 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13217         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13218         GLOB_NOESCAPE.
13220 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13222         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13224 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13226         * manual/pattern.texi (glob_t): Document gl_flags.
13227         (glob64_t): Likewise.
13229 2013-01-11  David S. Miller  <davem@davemloft.net>
13231         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13232         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13233         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13234         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13235         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13236         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13237         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13238         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13239         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13240         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13241         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13242         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13243         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13246         sparc V9 rather than using V8 code.
13247         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13248         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13250         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13251         Move to...
13252         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13253         Here.
13255 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13257         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13258         not in the main loop.
13259         * configure: Regenerated.
13261 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13263         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13264         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13265         to just #else.
13266         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13267         [!__GLIBC_HAVE_LONG_LONG] case.
13268         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13269         condition to just #else.
13270         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13271         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13272         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13273         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13274         unconditional.
13275         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13276         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13277         #elif condition to just #else.
13278         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13279         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13280         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13281         #elif condition to just #else.
13283 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13285         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13286         (EF_MIPS_ARCH_64): Fix value.
13287         (EF_MIPS_ARCH_32R2): New.
13288         (EF_MIPS_ARCH_64R2): New.
13290 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13292         * Makeconfig (+link-pie-before-libc): New.
13293         (+link-pie-after-libc): Likewise.
13294         (+link-pie-tests): Likewise.
13295         (+link-pie): Rewritten.
13296         (link-before-libc): Remove $(config-LDFLAGS).
13297         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13298         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13299         (config-LDFLAGS): Renamed to ...
13300         (rtld-LDFLAGS): This.
13301         (rtld-tests-LDFLAGS): New macro.
13302         (link-libc-rpath-link): Likewise.
13303         (link-libc-tests-rpath-link): Likewise.
13304         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13305         (link-libc): Prepand $(link-libc-rpath-link).
13306         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13307         (test-program-prefix): New macro.
13308         (test-via-rtld-prefix): Likewise.
13309         (test-program-cmd): Likewise.
13310         (host-test-program-cmd): Likewise.
13311         * Makefile ($(common-objpfx)testrun.sh): Replace
13312         $(run-program-prefix) with $(test-program-prefix).
13313         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13314         $(rtld-LDFLAGS).
13315         ($(common-objpfx)shlib.lds): Likewise.
13316         (build-module-helper): Likewise.
13317         ($(common-objpfx)format.lds): Likewise.
13318         * Rules (binaries-pie-tests): New.
13319         (binaries-pie-notests): Likewise.
13320         (binaries-pie): Rewritten.
13321         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13322         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13323         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13324         (make-test-out): Replace $(host-built-program-cmd) with
13325         $(host-test-program-cmd).
13326         * config.make.in (build-hardcoded-path-in-tests): New variable.
13327         * configure.in (--enable-hardcoded-path-in-tests): New configure
13328         option.
13329         (hardcoded_path_in_tests): New AC_SUBST.
13330         * configure: Regenerated.
13331         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13332         $(built-program-cmd) with $(test-program-cmd).
13333         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13334         (test_program_cmd): This.
13335         * elf/Makefile ($(objpfx)order.out): Run test with
13336         $(test-program-prefix).
13337         ($(objpfx)order2.out): Likewise.
13338         ($(objpfx)tst-initorder.out): Likewise.
13339         ($(objpfx)tst-initorder2.out): Likewise.
13340         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13341         $(test-program-cmd).
13342         ($(objpfx)tst-array1-static.out): Likewise.
13343         ($(objpfx)tst-array2.out): Likewise.
13344         ($(objpfx)tst-array3.out): Likewise.
13345         ($(objpfx)tst-array4.out): Likewise.
13346         ($(objpfx)tst-array5.out): Likewise.
13347         ($(objpfx)tst-array5-static.out): Likewise.
13348         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13349         $(test-program-cmd).
13350         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13351         $(run-program-prefix) with $(test-program-prefix).
13352         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13353         (test_program_prefix): This.
13354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13355         $(run-program-prefix) with $(test-program-prefix).
13356         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13357         (test_program_prefix): This.
13358         * iconvdata/tst-tables.sh: Likewise.
13359         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13360         $(run-program-prefix) with $(test-program-prefix).
13361         ($(objpfx)tst-translit.out): Likewise.
13362         ($(objpfx)tst-gettext2.out): Likewise.
13363         ($(objpfx)tst-gettext4.out): Likewise.
13364         ($(objpfx)tst-gettext6.out): Likewise.
13365         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13366         (test_program_prefix): This.
13367         * intl/tst-gettext2.sh: Likewise.
13368         * intl/tst-gettext4.sh  Likewise.
13369         * intl/tst-gettext6.sh: Likewise.
13370         * intl/tst-translit.sh: Likewise.
13371         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13372         with $(test-program-cmd).
13373         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13374         $(run-program-prefix) with $(test-program-prefix).
13375         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13376         (test_program_prefix): This.
13377         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13378         $(run-program-prefix) with $(test-program-prefix).
13379         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13380         (test_program_prefix): This.
13381         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13382         * posix/Makefile ($(objpfx)globtest.out): Replace
13383         $(run-via-rtld-prefix) and $(test-wrapper) with
13384         $(test-program-prefix) and $(test-via-rtld-prefix).
13385         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13386         $(test-program-prefix).
13387         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13388         $(host-test-program-cmd).
13389         (tst-spawn-ARGS): Likewise.
13390         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13391         $(test-program-prefix).
13392         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13393         (test_via_rtld_prefix): This.
13394         (test_wrapper): Renamed to ...
13395         (test_program_prefix): This.
13396         (run_program_prefix): Replaced by test_program_prefix.
13397         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13398         (test_program_prefix): This.
13399         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13400         with $(host-test-program-cmd).
13401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13402         $(run-program-prefix) with $(test-program-prefix).
13403         ($(objpfx)tst-printf.out): Likewise.
13404         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13405         $(test-program-cmd).
13406         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13407         (test_program_prefix): This.
13408         * stdio-common/tst-unbputc.sh: Likewise.
13409         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13410         $(run-program-prefix) with $(test-program-prefix).
13411         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13412         (test_program_prefix): This.
13413         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13414         $(built-program-cmd) with $(test-program-cmd).
13416 2013-01-11  Andreas Jaeger  <aj@suse.de>
13418         [BZ #15003]
13419         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13420         value. Sync with Linux 3.7.
13422 2013-01-10  David S. Miller  <davem@davemloft.net>
13424         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13425         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13426         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13428 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13430         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13431         never set.
13432         * configure: Regenerated.
13434 2013-01-10  David S. Miller  <davem@davemloft.net>
13436         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13437         sparc V9 rather than using V8 code.
13438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13441 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13443         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13444         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13445         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13446         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13447         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13448         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13449         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13450         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13451         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13452         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13453         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13454         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13455         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13456         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13457         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13458         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13459         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13460         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13461         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13462         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13463         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13464         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13465         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13466         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13467         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13468         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13469         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13471 2013-01-10  David S. Miller  <davem@davemloft.net>
13473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13475 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13477         * posix/Makefile (tests-static): New variable.
13478         (tests): Add $(tests-static).
13479         (tst-exec-static-ARGS): New variable.
13480         (tst-spawn-static-ARGS): Likewise.
13481         * posix/tst-exec-static.c: New file.
13482         * posix/tst-spawn-static.c: Likewise.
13483         * posix/tst-exec.c: Support run directly.
13484         * posix/tst-spawn.c: Likewise.
13486 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13488         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13489         long.
13490         * math/bits/mathcalls.h (llrint): Likewise.
13491         (llround): Likewise.
13492         * stdlib/stdlib.h (struct drand48_data): Likewise.
13493         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13494         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13495         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13496         Likewise.
13497         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13498         Likewise.
13499         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13500         (elf_greg_t): Likewise.
13501         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13502         (__jmp_buf): Likewise.
13503         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13504         definitions.
13505         (llrint): Likewise, for all definitions.
13506         (llrintl): Likewise.
13508         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13509         Remove [__GNUC__] condition.
13510         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13511         condition to just [__USE_ISOC99].
13512         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13514 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13516         [BZ #14200]
13517         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13518         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13519         defined.
13520         (_POSIX_V6_ILP32_OFF32): Likewise.
13521         (_XBS5_ILP32_OFF32): Likewise.
13522         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13523         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13525 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13527         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13530         doubles __mpexp_twomm1.  Adjust usage.
13531         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13532         Remove.
13534 2013-01-10  Andreas Schwab  <schwab@suse.de>
13536         [BZ #14964]
13537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13538         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13540 2013-01-09  David S. Miller  <davem@davemloft.net>
13542         [BZ #15003]
13543         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13544         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13545         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13546         TCP_FASTOPEN): Define.
13547         (tcp_repair_opt): New structure.
13548         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13549         enum values.
13550         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13551         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13552         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13553         (tcp_cookie_transactions): New structure.
13555 2013-01-09  Anton Blanchard  <anton@samba.org>
13557         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13558         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13559         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13560         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13562 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13564         * include/features.h (__USE_ANSI): Remove.
13566 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13568         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13570         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13572 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13574         * sysdeps/s390/fpu/libm-test-ulps: Update.
13576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13578         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13579         (__acr): Likewise.
13580         (__cpy): Likewise.
13581         (norm): Likewise.
13582         (denorm): Likewise.
13583         (__mp_dbl): Likewise.
13584         (__dbl_mp): Likewise.
13585         (add_magnitudes): Likewise.
13586         (sub_magnitudes): Likewise.
13587         (__add): Likewise.
13588         (__sub): Likewise.
13589         (__mul): Likewise.
13590         (__inv): Likewise.
13591         (__dvd): Likewise.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13593         (__acr): Likewise.
13594         (__cpy): Likewise.
13595         (norm): Likewise.
13596         (denorm): Likewise.
13597         (__mp_dbl): Likewise.
13598         (__dbl_mp): Likewise.
13599         (add_magnitudes): Likewise.
13600         (sub_magnitudes): Likewise.
13601         (__add): Likewise.
13602         (__sub): Likewise.
13603         (__mul): Likewise.
13604         (__inv): Likewise.
13605         (__dvd): Likewise.
13606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13607         (__acr): Likewise.
13608         (__cpy): Likewise.
13609         (norm): Likewise.
13610         (denorm): Likewise.
13611         (__mp_dbl): Likewise.
13612         (__dbl_mp): Likewise.
13613         (add_magnitudes): Likewise.
13614         (sub_magnitudes): Likewise.
13615         (__add): Likewise.
13616         (__sub): Likewise.
13617         (__mul): Likewise.
13618         (__inv): Likewise.
13619         (__dvd): Likewise.
13621 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13623         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13624         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13625         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13626         2 && __USE_EXTERN_INLINES]: Likewise.
13628 2013-01-08  Andreas Jaeger  <aj@suse.de>
13630         [BZ# 14985]
13631         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13632         Remove.
13633         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13634         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13636 2013-01-07  Anton Blanchard  <anton@samba.org>
13638         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13639         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13640         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13641         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13643         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13644         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13645         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13652         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13653         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13654         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13655         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13656         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13661         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13662         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13663         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13664         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13665         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13667         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13668         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13671         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13672         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13673         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13674         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13675         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13676         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13677         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13678         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13679         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13680         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13682 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13684         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13685         (__MALLOC_PMT): Likewise.
13686         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13687         [__GNUC__], only on [_LIBC].
13688         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13689         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13690         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13691         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13692         forward declaration.
13693         (realloc_hook_ini): Likewise.
13694         (memalign_hook_ini): Likewise.
13695         (__libc_memalign): Do not use __MALLOC_PMT in variable
13696         declaration.
13697         (__libc_valloc): Likewise.
13698         (__libc_pvalloc): Likewise.
13699         (__libc_calloc): Likewise.
13700         (__posix_memalign): Likewise.
13702         [BZ #14996]
13703         * math/s_casinh.c: Include <float.h>.
13704         (__casinh): Do not do computation with squaring and square root
13705         for large arguments.
13706         * math/s_casinhf.c: Include <float.h>.
13707         (__casinhf): Do not do computation with squaring and square root
13708         for large arguments.
13709         * math/s_casinhl.c: Include <float.h>.
13710         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13711         (__casinhl): Do not do computation with squaring and square root
13712         for large arguments.
13713         * math/libm-test.inc (casin_test): Add more tests.
13714         (casinh_test): Likewise.
13715         * sysdeps/i386/fpu/libm-test-ulps: Update.
13716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13720         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13721         (__x86_64_raw_data_cache_size): Likewise.
13722         (__x86_64_data_cache_size_half): Likewise.
13723         (__x86_64_raw_data_cache_size_half): Likewise.
13724         (__x86_64_shared_cache_size): Likewise.
13725         (__x86_64_raw_shared_cache_size): Likewise.
13726         (__x86_64_shared_cache_size_half): Likewise.
13727         (__x86_64_raw_shared_cache_size_half): Likewise.
13728         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13729         to ...
13730         (__x86_data_cache_size): This.
13731         (__x86_64_raw_data_cache_size): Renamed to ...
13732         (__x86_raw_data_cache_size): This.
13733         (__x86_64_data_cache_size_half): Renamed to ...
13734         (__x86_data_cache_size_half): This.
13735         (__x86_64_raw_data_cache_size_half): Renamed to ...
13736         (__x86_raw_data_cache_size_half): This.
13737         (__x86_64_shared_cache_size): Renamed to ...
13738         (__x86_shared_cache_size): This.
13739         (__x86_64_raw_shared_cache_size): Renamed to ...
13740         (__x86_raw_shared_cache_size): This.
13741         (__x86_64_shared_cache_size_half): Renamed to ...
13742         (__x86_shared_cache_size_half): This.
13743         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13744         (__x86_raw_shared_cache_size_half): This.
13745         * sysdeps/x86_64/memcpy.S: Updated.
13746         * sysdeps/x86_64/memset.S: Likewise.
13747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13749         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13751 2013-01-04  David S. Miller  <davem@davemloft.net>
13753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13755 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13757         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13758         1 to avoid redefinition warning.
13759         (__USE_GNU): Don't define.
13760         (init_signaling_nan): Protoize.
13762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13764 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13766         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13768         (__cpymn): Likewise.
13769         (norm): Remove commented code.
13770         (denorm): Likewise.
13771         (__mp_dbl): Likewise.
13772         (__inv): Likewise.
13773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13774         (__cpymn): Likewise.
13775         (norm): Remove commented code.
13776         (denorm): Likewise.
13777         (__mp_dbl): Likewise.
13778         (__inv): Likewise.
13780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13781         mp_no value for 1.0 and 2.0.
13782         (norm): Use RADIXI instead of radixi.d.
13783         (denorm): Likewise.
13784         (__mul): Use 0.0 instead of zero.d.
13785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13786         mp_no value for 1.0 and 2.0.
13787         (norm): Use RADIXI instead of radixi.d.
13788         (denorm): Likewise.
13789         (__mul): Use 0.0 instead of zero.d.
13791 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13793         [BZ #14994]
13794         * math/s_casinh.c (__casinh): Reduce finite argument to first
13795         quadrant then set signs of results at the end.
13796         * math/s_casinhf.c (__casinhf): Likewise.
13797         * math/s_casinhl.c (__casinhl): Likewise.
13798         * math/libm-test.inc (casin_test): Add more tests.
13799         (casinh_test): Likewise.
13800         * sysdeps/i386/fpu/libm-test-ulps: Update.
13801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13803 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13805         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13807         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13809         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13810         declarations.
13811         (denorm): Likewise.
13812         (__mp_dbl): Likewise.
13813         (__inv): Likewise.
13815         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13816         and adjust the header comment.
13818         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13819         variable name from declaration.
13821 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13824         Initialize COMMON_CPUID_INDEX_7 element.
13825         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13826         (CPUID_RTM): Likewise.
13827         (HAS_RTM): Likewise.
13828         (COMMON_CPUID_INDEX_7): New enum.
13830 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13832         [BZ #14981]
13833         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13834         size is zero, record memory as freed.
13836 2013-01-03  Andreas Jaeger  <aj@suse.de>
13838         * po/ia.po: Add new Interlingua translation.
13840 2012-01-03  Allan McRae  <allan@archlinux.org>
13842         * locale/programs/localedef.c: Fix description of '--posix' flag.
13844 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13846         * NEWS: Update dates in second copyright notice.
13847         * README: Update copyright dates in example.
13848         * manual/libc.texinfo: Update copyright dates.
13849         * scripts/test-installation.pl: Update copyright date in --version
13850         output.
13852         * hurd/ctty-input.c: Fix copyright notice formatting.
13853         * hurd/ctty-output.c: Likewise.
13854         * hurd/dtable.c: Likewise.
13855         * hurd/hurd-raise.c: Likewise.
13856         * hurd/hurdprio.c: Likewise.
13857         * hurd/msgportdemux.c: Likewise.
13858         * misc/sys/file.h: Likewise.
13859         * misc/sys/ioctl.h: Likewise.
13860         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13861         * sysdeps/mach/hurd/chdir.c: Likewise.
13862         * sysdeps/mach/hurd/fchdir.c: Likewise.
13863         * sysdeps/mach/hurd/rename.c: Likewise.
13864         * sysdeps/mach/hurd/rmdir.c: Likewise.
13865         * sysdeps/mach/hurd/seekdir.c: Likewise.
13866         * sysdeps/mach/hurd/setsid.c: Likewise.
13867         * sysdeps/posix/wait3.c: Likewise.
13869         * All files with FSF copyright notices: Update copyright dates
13870         using scripts/update-copyrights.
13871         * intl/plural.c: Regenerated.
13872         * locale/programs/charmap-kw.h: Likewise.
13873         * locale/programs/locfile-kw.h: Likewise.
13875 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13877         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13878         four values.
13880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13881         calculation loop and add branch prediction.
13883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13884         check access beyond bounds of m1np.
13886         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13887         MPTWO.
13888         (__inv): Remove local variable MPTWO to use the global
13889         constant.
13890         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13892         variable MPTWO.
13893         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13894         MP3HALFS static const.
13896 2013-01-01  David S. Miller  <davem@davemloft.net>
13898         * po/ca.po: Update from translation team.
13900 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13902         * scripts/update-copyrights: New file.
13903         * Makeconfig: Reformat copyright notice.
13904         * ctype/ctype.h: Likewise.
13905         * debug/swprintf_chk.c: Likewise.
13906         * elf/dl-cache.c: Likewise.
13907         * elf/dl-debug.c: Likewise.
13908         * elf/dl-object.c: Likewise.
13909         * grp/initgroups.c: Likewise.
13910         * hurd/Makefile: Likewise.
13911         * hurd/hurd/signal.h: Likewise.
13912         * hurd/hurdfault.c: Likewise.
13913         * hurd/hurdioctl.c: Likewise.
13914         * hurd/hurdlookup.c: Likewise.
13915         * hurd/intr-msg.c: Likewise.
13916         * iconv/gconv_open.c: Likewise.
13917         * libio/swprintf.c: Likewise.
13918         * locale/lc-ctype.c: Likewise.
13919         * locale/nl_langinfo.c: Likewise.
13920         * mach/Machrules: Likewise.
13921         * mach/Makefile: Likewise.
13922         * malloc/obstack.h: Likewise.
13923         * manual/Makefile: Likewise.
13924         * manual/tsort.awk: Likewise.
13925         * misc/bits/stab.def: Likewise.
13926         * nis/nis_print_group_entry.c: Likewise.
13927         * nis/nis_table.c: Likewise.
13928         * nis/nss_compat/compat-pwd.c: Likewise.
13929         * nis/nss_compat/compat-spwd.c: Likewise.
13930         * po/Makefile: Likewise.
13931         * posix/fnmatch.c: Likewise.
13932         * posix/regex.h: Likewise.
13933         * resolv/Makefile: Likewise.
13934         * resolv/nss_dns/dns-network.c: Likewise.
13935         * resolv/res_hconf.c: Likewise.
13936         * scripts/gen-sorted.awk: Likewise.
13937         * soft-fp/soft-fp.h: Likewise.
13938         * stdio-common/printf.h: Likewise.
13939         * stdlib/monetary.h: Likewise.
13940         * stdlib/random.c: Likewise.
13941         * stdlib/random_r.c: Likewise.
13942         * sysdeps/generic/Makefile: Likewise.
13943         * sysdeps/gnu/Makefile: Likewise.
13944         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13956         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13961         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13962         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13965         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13966         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13967         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13968         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13972         * sysdeps/mach/hurd/errnos.awk: Likewise.
13973         * sysdeps/mach/hurd/fork.c: Likewise.
13974         * sysdeps/mach/hurd/getcwd.c: Likewise.
13975         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13976         * sysdeps/mach/hurd/mmap.c: Likewise.
13977         * sysdeps/mach/hurd/utimes.c: Likewise.
13978         * sysdeps/mach/hurd/xmknod.c: Likewise.
13979         * sysdeps/posix/profil.c: Likewise.
13980         * sysdeps/posix/readdir_r.c: Likewise.
13981         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13982         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13983         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13984         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13986         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13988         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13990         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13992         * sysdeps/pthread/lio_listio.c: Likewise.
13993         * sysdeps/sparc/dl-procinfo.h: Likewise.
13994         * sysdeps/unix/i386/sysdep.S: Likewise.
13995         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13996         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13997         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13998         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14000         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14001         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14002         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14003         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14004         * sysdeps/wordsize-32/divdi3.c: Likewise.
14005         * time/sys/time.h: Likewise.
14006         * wcsmbs/Makefile: Likewise.
14008 2013-01-01  David S. Miller  <davem@davemloft.net>
14010         * po/fr.po: Update from translation team.
14012         * catgets/gencat.c: Update copyright year.
14013         * csu/version.c: Likewise.
14014         * debug/catchsegv.sh: Likewise.
14015         * debug/pcprofiledump.c: Likewise.
14016         * debug/xtrace.sh: Likewise.
14017         * elf/ldconfig.c: Likewise.
14018         * elf/ldd.bash.in: Likewise.
14019         * elf/pldd.c: Likewise.
14020         * elf/sotruss.ksh: Likewise.
14021         * elf/sprof.c: Likewise.
14022         * iconv/iconv_prog.c: Likewise.
14023         * iconv/iconvconfig.c: Likewise.
14024         * locale/programs/locale.c: Likewise.
14025         * locale/programs/localedef.c: Likewise.
14026         * login/programs/pt_chown.c: Likewise.
14027         * malloc/memusage.sh: Likewise.
14028         * malloc/memusagestat.c: Likewise.
14029         * malloc/mtrace.pl: Likewise.
14030         * nscd/nscd.c: Likewise.
14031         * nss/getent.c: Likewise.
14032         * nss/makedb.c: Likewise.
14033         * posix/getconf.c: Likewise.
14035 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14037         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14038         numbers.
14040 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14042         * math/bits/mathcalls.h (modf): Use __nonnull.
14044 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14046         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14047         (split): Use macro CN instead of the bare value.
14048         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14049         could be used.
14050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14051         instead of the bare value.
14052         (power1): Likewise.
14054 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14057         __ATAN_TWOM.
14058         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14060         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14061         their values.
14062         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14063         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14064         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14065         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14067 2012-12-28  Andreas Jaeger  <aj@suse.de>
14069         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14070         values are from Linux 3.7.
14072         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14073         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14075 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14077         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14078         TRUE case.
14080         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14081         (norm): Likewise.
14082         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14083         variables with preprocessor constants.
14084         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14085         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14088 2012-12-27  Bruno Haible  <bruno@clisp.org>
14090         [BZ #14317]
14091         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14092         only if needed.
14094 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14097         and use variable directly.
14098         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14100         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14101         MPONE.
14102         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14104         variable MPONE.
14105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14107         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14108         include directive.  Remove local variable MPONE.
14109         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14110         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14113 2012-12-25  David S. Miller  <davem@davemloft.net>
14115         * version.h (RELEASE): Set to "development".
14116         (VERSION): Set to "2.17.90".
14117         * NEWS: Add 2.18 section.
14119 2012-12-21  David S. Miller  <davem@davemloft.net>
14121         * po/hr.po: Update from translation team.
14123 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14125         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14127 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14129         * NEWS:  Mention new memcpy for MIPS.
14131 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14133         * manual/contrib.texi (Contributors): Spelling correction.
14135 2012-12-15  David S. Miller  <davem@davemloft.net>
14137         * po/ru.po: Update from translation team.
14139 2012-12-13  David S. Miller  <davem@davemloft.net>
14141         * NEWS: Mention IFUNC testsuite enhancements.
14143         * po/pl.po: Update from translation team.
14144         * po/bg.po: Likewise.
14146         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14147         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14149 2012-12-11  David S. Miller  <davem@davemloft.net>
14151         * po/sv.po: Update from translation team.
14153         * po/vi.po: Update from translation team.
14155         * po/cs.po: Update from translation team.
14157         * po/de.po: Update from translation team.
14158         * po/eo.po: Likewise.
14159         * po/nl.po: Likewise.
14161 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14163         [BZ #14246]
14164         * manual/argp.texi (Argp Helper Functions): Move node to follow
14165         Argp Parsing State.
14167         [BZ #14872]
14168         * manual/conf.texi (Limits on File System Capacity): Mention if
14169         terminating null is included in the max size.
14171 2012-12-10  Andreas Jaeger  <aj@suse.de>
14173         * po/cs.po: Update from translation team.
14175 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14177         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14178         void pointer and cast to uintptr_t.
14179         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14180         path.
14181         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14182         * sysdeps/s390/s390-64/memset.S: Likewise.
14184 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14186         [BZ #14833]
14187         * menual/message.texi (Message Translation): Fix typos.
14188         (Helper programs for gettext): Likewise.
14190 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14192         [BZ #14898]
14193         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14194         Change to -1.
14196 2012-12-07  David S. Miller  <davem@davemloft.net>
14198         * po/libc.pot: Update.
14200 2012-12-07  Richard Henderson  <rth@redhat.com>
14202         [BZ #10114]
14203         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14204         normal/normal case to before the switch.
14205         (_FP_DIV): Likewise.
14207 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14208             Mike Frysinger  <vapier@gentoo.org>
14210         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14211         check for __NR_fadvise64_64.
14213 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14215         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14216         0, not just to plain "0" as a statement.
14217         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14218         with cw.
14220 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14222         * NEWS: Use sourceware.org in Bugzilla URL.
14224 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14227         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14229         * stdio-common/tst-put-error.c (do_test): Add newline to the
14230         padded test to ensure flush.
14232 2012-12-05  Jeff Law  <law@redhat.com>
14234         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14236 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14238         * README: Don't refer to ports add-on as distributed separately.
14239         Mention AArch64 in list of systems supported in the ports add-on.
14241         * LICENSES: Add more non-FSF copyright and license notices.
14243         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14244         ((unused)).
14246         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14248         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14249         10000 as width of padded output.
14251 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14253         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14255         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14256         variable LX with __attribute__ ((unused)).
14257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14258         Likewise.
14259         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14260         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14262         with __attribute__ ((unused)).
14264 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14266         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14268 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14270         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14271         (CFLAGS-nldbl-acos.c): New variable.
14272         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14273         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14274         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14275         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14276         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14277         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14278         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14279         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14280         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14281         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14282         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14283         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14284         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14285         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14286         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14287         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14288         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14289         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14290         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14291         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14292         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14293         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14294         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14295         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14296         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14297         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14298         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14299         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14300         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14301         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14302         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14303         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14304         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14305         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14306         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14307         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14308         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14309         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14310         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14311         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14312         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14313         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14314         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14315         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14316         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14317         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14318         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14319         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14320         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14321         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14322         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14323         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14324         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14325         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14326         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14327         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14328         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14329         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14330         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14331         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14332         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14333         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14334         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14335         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14336         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14337         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14338         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14339         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14340         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14341         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14342         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14343         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14344         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14345         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14346         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14347         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14348         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14349         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14350         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14351         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14352         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14353         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14354         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14355         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14356         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14357         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14358         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14359         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14360         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14361         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14362         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14363         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14364         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14365         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14366         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14367         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14368         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14371         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14373         [BZ #14914]
14374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14375         whole low double instead of just low 47 bits when splitting values
14376         into two parts.
14378 2012-12-03  Allan McRae  <allan@archlinux.org>
14380         * manual/stdio.texi (Predefined Printf Handlers): Remove
14381         @hsep and @vsep usage.
14383 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14385         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14386         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14388 2012-12-03  Jeff Law  <law@redhat.com>
14390         * time/sys/time.h (settimeofday): Do not mark TV argument
14391         as __nonnull.
14393 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14395         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14396         when currently writing and seek to current position when not.
14397         * libio/Makefile (tests): Remove bug-fclose1.
14398         * libio/bug-fclose1.c: Delete.
14400 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14402         * manual/arith.texi (feenableexcept): Fix typo.
14403         (fedisableexcept): Likewise.
14405 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14407         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14408         second, differently-typed declaration, rather than a cast.
14410 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14412         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14413         * include/rpc/svc.h: ... here.
14415 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14417         [BZ #13013]
14418         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14419         depending n and resplen2 to catch cases where answer
14420         equals answerp2.
14422 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14424         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14425         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14427 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14429         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14431 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14433         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14435 2012-11-28  Jeff Law  <law@redhat.com>
14437         [BZ #13761]
14438         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14439         dataset_temporary.  Track alloca usage into alloca_used.
14440         If dataset is large allocate and release it via malloc/free.
14442 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14444         [BZ #14197]
14445         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14447 2012-11-28  David S. Miller  <davem@davemloft.net>
14449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14451 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14453         [BZ #14803]
14454         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14455         of pi/2 rounded to nearest to 64 bits.
14456         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14457         nearest to 64 bits.
14458         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14459         bits.
14461 2012-11-28  Jeff Law <law@redhat.com>
14462             Martin Osvald <mosvald@redhat.com>
14464         [BZ #14889]
14465         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14466         * sunrpc/svc.c: Include time.h.
14467         (__svc_accept_failed): New function.
14468         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14469         any reason other than EINTR, call __svc_accept_failed.
14470         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14471         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14473 2012-11-28  Andreas Schwab  <schwab@suse.de>
14475         * scripts/abilist.awk: Also handle indirect functions in .opd
14476         section.
14478 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14480         [BZ #13881]
14481         * sysdeps/x86/fpu/powl_helper.c: New file.
14482         * sysdeps/x86/fpu/Makefile: Likewise.
14483         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14484         (p3): New object.
14485         (__ieee754_powl): Use __powl_helper for finite arguments except
14486         integer exponents below 8.
14487         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14488         (p3): New object.
14489         (__ieee754_powl): Use __powl_helper for finite arguments except
14490         integer exponents below 8.
14491         * math/libm-test.inc (pow_test): Add more tests and enable some
14492         previously disabled tests.
14493         * sysdeps/i386/fpu/libm-test-ulps: Update.
14494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14496 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14497             Carlos O'Donell  <carlos_odonell@mentor.com>
14499         * nss/makedb.c (is_prime): Assert that input is odd and greater
14500         than 4.  Note that fact in a comment too.
14501         (next_prime): Add 4 to input.
14503 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14505         [BZ #11741]
14506         * libio/Makefile (tests): Add test case tst-fwrite-error.
14507         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14508         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14509         * libio/tst-fwrite-error.c: New test case.
14511 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14513         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14514         before casting to void *.
14515         * include/libc-internal.h (__pointer_type): New macro.
14516         (__integer_if_pointer_type_sub): Likewise.
14517         (__integer_if_pointer_type): Likewise.
14518         (cast_to_integer): Likewise.
14519         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14520         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14521         before casting to atomic64_t.
14522         (atomic_exchange_acq): Likewise.
14523         (__arch_exchange_and_add_body): Likewise.
14524         (__arch_add_body): Likewise.
14525         (atomic_add_negative): Likewise.
14526         (atomic_add_zero): Likewise.
14528 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14530         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14531         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14532         (add_fdes): Likewise.
14533         (linear_search_fdes): Likewise.
14534         (binary_search_unencoded_fdes): Likewise.
14536 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14538         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14540 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14542         * configure.in: Autodetect C++ header directories.
14543         * configure: Regenerated.
14545 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14547         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14549 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14553 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14555         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14556         LDBL_MANT_DIG == 106]: Disable some tests.
14557         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14558         Likewise.
14559         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14560         Likewise.
14562         [BZ #14871]
14563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14564         input for small inputs.  Return +/- pi/2 for large inputs.
14565         * math/libm-test.inc (atan_test): Add more tests.
14567         * sysdeps/generic/unwind-dw2-fde-glibc.c
14568         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14569         __attribute__ ((unused)).
14571         [BZ #14645]
14572         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14573         x * y if x and y are nonzero and z is zero.
14575         [BZ #14811]
14576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14577         nonzero exponents with absolute value below 0x1p-117 to +/-
14578         0x1p-117.
14580         [BZ #14869]
14581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14582         up arguments below 2**-450, not just those below 2**-500.
14583         * math/libm-test.inc (hypot_test): Add another test.
14585         [BZ #14868]
14586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14587         Return a+b for ratio over 2**120, not 2**60.
14588         * math/libm-test.inc (hypot_test): Add another test.
14590         * math/libm-test.inc (clog_test): Use
14591         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14592         (clog10_test): Likewise.
14594         [BZ #6778]
14595         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14597 2012-11-22  Andreas Schwab  <schwab@suse.de>
14599         * sysdeps/i386/fpu/libm-test-ulps: Update.
14601 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14603         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14604         printf output with newline.
14606 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14608         [BZ #14865]
14609         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14610         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14611         -z nodlopen, -z initfirst and -z execstack support.
14612         * configure: Regenerated.
14614         * elf/elf.h (DF_1_NODIRECT): New macro.
14615         (DF_1_IGNMULDEF): Likewise.
14616         (DF_1_NOKSYMS): Likewise.
14617         (DF_1_NOHDR): Likewise.
14618         (DF_1_EDITED): Likewise.
14619         (DF_1_NORELOC): Likewise.
14620         (DF_1_SYMINTPOSE): Likewise.
14621         (DF_1_GLOBAUDIT): Likewise.
14622         (DF_1_SINGLETON): Likewise.
14623         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14624         DT_1_SUPPORTED_MASK bits.
14625         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14627 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14629         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14631 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14633         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14634         macro.
14636         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14637         (sendmmsg): Move declarations...
14638         * socket/sys/socket.h: ... here.
14639         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14640         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14641         include it from...
14642         * socket/recvmmsg.c: ... this new file.
14643         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14644         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14645         definition of __sendmmsg hidden.
14646         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14647         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14648         Move ENOSYS stub into and include it from...
14649         * socket/sendmmsg.c: ... this new file.
14650         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14651         (sysdep_routines): Move recvmmsg and sendmmsg...
14652         * socket/Makefile (routines): ... here.
14653         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14654         (GLIBC_PRIVATE): Add __sendmmsg.
14655         * include/sys/socket.h (__sendmmsg): Add declarations.
14656         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14657         sendmmsg.
14659 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14662         variable I1 with __attribute__ ((unused)).
14663         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14665 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14667         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14668         DUMMY variables with __attribute__ ((unused)).
14670         * bits/byteswap.h: Include <bits/types.h>.
14671         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14673 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14675         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14676         string_t.  Do not manually set errno.
14677         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14678         length with __strnlen.  Make sure to both set errno and return it on
14679         failure.
14681 2012-11-19  David S. Miller  <davem@davemloft.net>
14683         With help from Joseph Myers.
14684         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14685         very large arguments properly.
14686         * math/libm-test.inc (atan_test): New tests.
14687         (atan2_test): New tests.
14688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14691 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14693         [BZ #14856]
14694         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14695         Define to 3.
14697         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14698         [POSIX] (EADDRNOTAVAIL): Likewise.
14699         [POSIX] (EAFNOSUPPORT): Likewise.
14700         [POSIX] (EALREADY): Likewise.
14701         [POSIX] (ECONNABORTED): Likewise.
14702         [POSIX] (ECONNREFUSED): Likewise.
14703         [POSIX] (ECONNRESET): Likewise.
14704         [POSIX] (EDESTADDRREQ): Likewise.
14705         [POSIX] (EDQUOT): Likewise.
14706         [POSIX] (EHOSTUNREACH): Likewise.
14707         [POSIX] (EIDRM): Likewise.
14708         [POSIX] (EISCONN): Likewise.
14709         [POSIX] (ELOOP): Likewise.
14710         [POSIX] (EMULTIHOP): Likewise.
14711         [POSIX] (ENETDOWN): Likewise.
14712         [POSIX] (ENETUNREACH): Likewise.
14713         [POSIX] (ENOBUFS): Likewise.
14714         [POSIX] (ENODATA): Likewise.
14715         [POSIX] (ENOLINK): Likewise.
14716         [POSIX] (ENOMSG): Likewise.
14717         [POSIX] (ENOPROTOOPT): Likewise.
14718         [POSIX] (ENOSR): Likewise.
14719         [POSIX] (ENOSTR): Likewise.
14720         [POSIX] (ENOTCONN): Likewise.
14721         [POSIX] (ENOTSOCK): Likewise.
14722         [POSIX] (EOPNOTSUPP): Likewise.
14723         [POSIX] (EOVERFLOW): Likewise.
14724         [POSIX] (EPROTO): Likewise.
14725         [POSIX] (EPROTONOSUPPORT): Likewise.
14726         [POSIX] (EPROTOTYPE): Likewise.
14727         [POSIX] (ESTALE): Likewise.
14728         [POSIX] (ETIME): Likewise.
14729         [POSIX] (ETXTBSY): Likewise.
14730         [POSIX] (EWOULDBLOCK): Likewise.
14731         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14732         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14733         [POSIX] (SEEK_CUR): Likewise.
14734         [POSIX] (SEEK_END): Likewise.
14735         [POSIX || UNIX98] (mode_t): Do not require.
14736         [POSIX] (off_t): Likewise.
14737         [POSIX] (pid_t): Likewise.
14738         [POSIX] (sys/stat.h): Do not allow header.
14739         [POSIX] (unistd.h): Likewise.
14740         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14741         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14742         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14743         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14744         require.
14745         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14746         sigevent): Specify elements.
14747         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14748         entry.
14749         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14750         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14752         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14753         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14754         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14755         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14756         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14757         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14758         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14759         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14760         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14761         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14762         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14763         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14764         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14765         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14766         Likewise.
14767         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14768         Likewise.
14769         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14770         Likewise.
14771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14772         Likewise.
14773         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14774         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14775         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14776         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14777         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14778         Specify lower bound on value.
14779         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14780         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14781         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14782         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14783         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14784         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14785         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14786         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14787         value.
14788         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14789         as optional.
14790         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14791         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14792         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14793         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14794         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14795         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14796         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14797         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14798         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14799         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14800         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14801         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14802         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14803         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14804         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14805         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14806         entry.
14807         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14808         optional.
14809         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14810         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14811         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14812         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14813         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14815         Likewise.
14816         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14817         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14818         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14819         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14820         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14821         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14823         as optional.
14824         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14825         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14826         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14827         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14828         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14829         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14830         specify as optional.
14831         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14832         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14833         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14834         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14835         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14836         [XPG3] (NL_LANGMAX): Likewise.
14837         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14838         [POSIX || XPG3] (NL_NMAX): Likewise.
14839         [POSIX || XPG3] (NL_SETMAX): Likewise.
14840         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14841         [XPG3] (NZERO): Likewise.
14842         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14843         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14844         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14845         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14846         (REG_ERANGE): Expect.
14847         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14848         optional-constant.
14849         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14850         Use (void) in prototype.
14851         [POSIX] (*_t): Allow.
14852         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14853         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14854         (WRDE_BADVAL): Expect.
14856         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14857         expect.
14858         [XPG3 || XPG4] (O_RSYNC): Likewise.
14859         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14860         Likewise.
14861         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14862         [XPG3 || XPG4] (sigqueue): Likewise.
14863         [XPG3 || XPG4] (sigtimedwait): Likewise.
14864         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14865         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14866         [XPG3 || XPG4] (vsnprintf): Likewise.
14867         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14868         Likewise.
14869         [XPG3 || XPG4] (blksize_t): Likewise.
14870         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14871         Likewise.
14872         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14873         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14874         [XPG3 || XPG4] (struct itimerspec): Likewise.
14875         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14876         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14877         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14878         [XPG3 || XPG4] (clockid_t): Likewise.
14879         [XPG3 || XPG4] (timer_t): Likewise.
14880         [XPG3 || XPG4] (clock_getres): Likewise.
14881         [XPG3 || XPG4] (clock_gettime): Likewise.
14882         [XPG3 || XPG4] (clock_settime): Likewise.
14883         [XPG3 || XPG4] (nanosleep): Likewise.
14884         [XPG3 || XPG4] (timer_create): Likewise.
14885         [XPG3 || XPG4] (timer_delete): Likewise.
14886         [XPG3 || XPG4] (timer_gettime): Likewise.
14887         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14888         [XPG3 || XPG4] (timer_settime): Likewise.
14889         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14890         [XPG3 || XPG4] (getlogin_r): Likewise.
14891         [XPG3 || XPG4] (pread): Likewise.
14892         [XPG3 || XPG4] (pthread_atfork): Likewise.
14893         [XPG3 || XPG4] (pwrite): Likewise.
14895         [BZ #14835]
14896         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14897         <bits/siginfo.h>.
14899 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14901         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14902         finalizing MALLSTREAM.
14904         * sysdeps/mach/hurd/syncfs.c: New file.
14906 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14908         [BZ #14719]
14909         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14910         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14911         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14912         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14913         (_nss_dns_gethostbyname4_r): Likewise.
14914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14915         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14917 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14919         [BZ #13763]
14920         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14922 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14924         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14925         * elf/cache.c (print_entry): Print ",AArch64" for
14926         FLAG_AARCH64_LIB64
14928         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14929         * elf/cache.c (print_entry): Print ",hard-float" for
14930         FLAG_ARM_LIBHF.
14932 2012-11-18  David S. Miller  <davem@davemloft.net>
14934         With help from Joseph Myers.
14935         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14936         cutoff to 2**-13.
14937         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14938         cutoff to 2**-25.
14939         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14940         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14941         small.
14942         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14943         * math/libm-test.inc (y0_test): New tests.
14944         (y1_test): New tests.
14945         * sysdeps/i386/fpu/libm-test-ulps: Update.
14946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14949 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14951         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14952         64-bit targets.
14953         * configure: Regenerated.
14955 2012-11-17  David S. Miller  <davem@davemloft.net>
14957         [BZ #14811]
14958         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14959         nonzero exponents with absolute value below 0x1p-128 to +/-
14960         0x1p-128.
14962 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14964         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14966         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14968         * posix/getconf-speclist.c: New file.
14969         * posix/posix-envs.def: Likewise.
14970         * posix/confstr.c (START_ENV_GROUP): New macro.
14971         (END_ENV_GROUP): Likewise.
14972         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14973         (KNOWN_PRESENT_ENV_STRING): Likewise.
14974         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14975         (UNKNOWN_ENVIRONMENT): Likewise.
14976         (confstr): Include posix-envs.def instead of handling
14977         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14978         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14979         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14980         (END_ENV_GROUP): Likewise.
14981         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14982         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14983         (UNKNOWN_ENVIRONMENT): Likewise.
14984         (__sysconf): Include posix-envs.def instead of handling associated
14985         cases directly here.
14986         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14987         preprocessing getconf-speclist.c rather than running getconf or
14988         generating empty file.
14990 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14992         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14994 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14996         [BZ #14672]
14997         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14999 2012-11-16  David S. Miller  <davem@davemloft.net>
15001         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15002         smaller than LDBL_EPSILON/2.0L, just return xm1.
15004 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15006         * elf/tst-array1.c (init): Set constructor priority to 1000.
15007         (fini): Set destructor priority to 1000.
15008         * elf/tst-array2dep.c: Likewise.
15010 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15012         [BZ #11741]
15013         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15014         (_IO_new_file_xsputn): Also return EOF if none of the input
15015         data was written when overflow failed.
15016         * libio/iopadn.c (_IO_padn): Likewise.
15017         * libio/iowpadn.c (_IO_wpadn): Likewise.
15018         * stdio-common/tst-put-error.c: Add copyright notice.
15019         (do_test): Add case for printing padded string.
15020         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15021         _IO_padn returned error.
15022         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15023         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15024         return EOF.
15026 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028         * libio/libioP.h: Add comment note that the references to C++
15029         bits are now obsolete.
15031 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15033         * math/libm-test.inc (check_complex): Use asprintf.
15035 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15037         * debug/pcprofiledump.c (print_version): Update copyright year.
15038         * malloc/memusagestat.c (print_version): Likewise.
15040 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15042         [BZ #14831]
15043         * elf/Makefile (tests): Add tst-audit8.
15044         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15045         ($(objpfx)tst-audit8.out): New target.
15046         (tst-audit8-ENV): New variable.
15047         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15048         audit if l_reloc_result is NULL.
15049         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15050         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15051         * elf/tst-audit8.c: New file.
15053 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15055         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15056         * misc/Makefile (CFLAGS-select.c): Define.
15057         * posix/Makefile (CFLAGS-pause.c): Define.
15059 2012-11-13  David S. Miller  <davem@davemloft.net>
15061         * crypt/Makefile: Move test targets after toplevel Rules
15062         inclusion.  Grab any necessary sysdep routines when linking.
15063         * crypt/md5.c (md5_process_block): Remove define, we will always
15064         name it __md5_process_block.
15065         (md5_finish_ctx): Update md5_process_block call.
15066         (md5_stream): Likewise.
15067         (md5_process_bytes): Likewise.
15068         (md5_process_block): Rename to __md5_process_block and move to ...
15069         * crypt/md5-block.c: ... here.
15070         * crypt/sha256.c (sha256_process_block): Move to ...
15071         * crypt/sha256-block.c: ... here.
15072         * crypt/sha512.c (sha512_process_block): Move to ...
15073         * crypt/sha512-block.c: ... here.
15074         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15075         path.
15076         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15077         * sysdeps/sparc/sparc64/multiarch/Makefile
15078         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15079         crypt subdir.
15080         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15081         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15082         multiarch changes.
15083         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15084         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15085         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15086         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15087         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15088         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15089         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15090         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15092         file.
15093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15094         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15095         file.
15096         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15098 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15100         * timezone/tzselect.ksh: Update from tzcode git revision
15101         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15102         * timezone/zdump.c: Likewise.
15103         * timezone/zic.c: Likewise.
15104         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15105         in TZVERSION setting, not $(PKGVERSION).
15106         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15107         REPORT_BUGS_TO settings.
15109         [BZ #14838]
15110         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15111         macro.
15113 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15115         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15116         detection to immediately after _FP_ROUND().
15117         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15118         bits are 0.
15120 2012-11-11  David S. Miller  <davem@davemloft.net>
15122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15123         inttypes.h
15124         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15125         __close rather than their public counterparts.
15127 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15129         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15130         file.
15131         [UNIX98] (sem_timedwait): Do not expect.
15132         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15133         [XPG4 || UNIX98] (sockatmark): Do not expect.
15134         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15135         (clock_getcpuclockid): Do not expect.
15136         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15137         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15138         Do not expect.
15139         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15140         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15141         [UNIX98] (vwscanf): Likewise.
15142         [UNIX98] (vswscanf): Likewise.
15144 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15146         * timezone/version.h: Remove file.
15147         * timezone/README: Do not refer to version.h.
15148         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15149         $(objpfx)version.h.
15150         ($(objpfx)zdump.o): Likewise.
15151         ($(objpfx)version.h): New target.
15153         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15154         2012i.
15155         * timezone/README: Don't mention modification to tzselect.ksh.
15156         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15157         work on unmodified tzselect.ksh.  Substitute version numbers in
15158         tzselect.ksh.
15160         * Makefile (format-me): Remove.
15161         (INSTALL): Adjust indentation.  Use commands directly instead of
15162         using $(format-me).
15164         * aclocal.m4 (ACX_PKGVERSION): New macro.
15165         (ACX_BUGURL): Likewise.
15166         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15167         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15168         (REPORT_BUGS_TO): Likewise.
15169         * configure: Regenerated.
15170         * config.h.in (PKGVERSION): New macro.
15171         (REPORT_BUGS_TO): Likewise.
15172         * config.make.in (PKGVERSION): New variable.
15173         (PKGVERSION_TEXI): Likewise.
15174         (REPORT_BUGS_TO): Likewise.
15175         (REPORT_BUGS_TEXI): Likewise.
15176         * Makefile (format-me): Use -I$(common-objpfx)manual.
15177         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15178         ($(common-objpfx)manual/%): New target.
15179         (manual/%): Remove target.
15180         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15181         (print_version): Use PKGVERSION.
15182         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15183         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15184         and REPORT_BUGS_TO.
15185         ($(objpfx)xtrace): Likewise.
15186         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15187         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15188         (print_version): Use PKGVERSION.
15189         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15190         (do_version): Use PKGVERSION.
15191         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15192         REPORT_BUGS_TO.
15193         (common-ldd-rewrite): Likewise.
15194         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15195         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15196         (print_version): Use PKGVERSION.
15197         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15198         * elf/pldd.c (argp_program_bug_address): Remove variable.
15199         (more_help): New function.
15200         (argp): Use more_help.
15201         (print_version): Use PKGVERSION.
15202         * elf/sln.c (main): Use PKGVERSION.
15203         (usage): Use REPORT_BUGS_TO.
15204         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15205         (top level): Use PKGVERSION.
15206         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15207         (print_version): Use PKGVERSION.
15208         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15209         (print_version): Use PKGVERSION.
15210         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15211         (print_version): Use PKGVERSION.
15212         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15213         (print_version): Use PKGVERSION.
15214         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15215         (print_version): Use PKGVERSION.
15216         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15217         (print_version): Use PKGVERSION.
15218         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15219         and BUGURL.
15220         ($(objpfx)memusage): Likewise.
15221         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15222         (do_version): Use PKGVERSION.
15223         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15224         (print_version): Use PKGVERSION.
15225         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15226         ($PKGVERSION): New variable.
15227         ($REPORT_BUGS_TO): Likewise.
15228         (usage): Use $REPORT_BUGS_TO.
15229         (top level): Use $PKGVERSION.
15230         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15231         ($(objpfx)pkgvers.texi): New rule.
15232         ($(objpfx)stamp-pkgvers): Likewise.
15233         * manual/install.texi: Include pkgvers.texi.
15234         (--with-pkgversion): Document new configure option.
15235         (--with-bugurl): Likewise.
15236         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15237         than necessarily for this particular distribution.  Use
15238         REPORT_BUGS_TO for where to report bugs.
15239         * INSTALL: Regenerated.
15240         * manual/libc.texinfo: Include pkgvers.texi.
15241         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15242         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15243         (print_version): Use PKGVERSION.
15244         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15245         (print_version): Use PKGVERSION.
15246         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15247         (print_version): Use PKGVERSION.
15248         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15249         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15250         macro.
15251         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15252         (print_version): Use PKGVERSION.
15253         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15254         (print_version): Use PKGVERSION.
15255         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15256         and PKGVERSION.
15258         * timezone/checktab.awk: Update from tzcode 2012i.
15259         * timezone/ialloc.c: Likewise.
15260         * timezone/private.h: Likewise.
15261         * timezone/scheck.c: Likewise.
15262         * timezone/tzfile.h: Likewise.
15263         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15264         (TZVERSION): Hardcode tzcode version number.
15265         * timezone/zdump.c: Update from tzcode 2012i.
15266         * timezone/zic.c: Likewise.
15267         * timezone/version.h: New file.
15268         * timezone/README: Describe version.h.  Update upstream location.
15270         [BZ #14824]
15271         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15272         (mktemp): Enable declaration.
15273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15277         Likewise.
15278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15279         Likewise.
15280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15281         Likewise.
15282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15283         Likewise.
15284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15285         Likewise.
15286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15287         Likewise.
15289         [BZ #14821]
15290         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15291         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15292         for copies of such integer values.
15293         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15294         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15296 2012-11-09  Andreas Jaeger  <aj@suse.de>
15298         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15299         definitions and declarations that are provided by
15300         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15302 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15304         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15305         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15306         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15307         definition.
15309 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15311         * elf/elf.h: Update comment before AArch64 relocations.
15313 2012-11-07  David S. Miller  <davem@davemloft.net>
15315         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15316         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15317         (__start_context): Declare.
15318         (__makecontext_ret): Delete.
15319         (__makecontext): Hook up __start_context instead of
15320         __makecontext_ret.
15321         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15322         (sysdep_routines): Add __start_context when in stdlib.
15324 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15327         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15328         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15329         hardcoded "nm".
15330         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15331         (READELF): New variable.  Use it instead of hardcoded "readelf".
15333 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15335         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15336         * sysdeps/x86/Makefile: Here.
15337         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15338         * sysdeps/x86/tst-xmmymm.sh: This.
15340 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15342         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15343         expectations.
15344         [UNIX98] (pthread_barrier_t): Do not expect.
15345         [UNIX98] (pthread_barrierattr_t): Likewise.
15346         [UNIX98] (pthread_spinlock_t): Likewise.
15347         [UNIX98] (pthread_barrier_destroy): Likewise.
15348         [UNIX98] (pthread_barrier_init): Likewise.
15349         [UNIX98] (pthread_barrier_wait): Likewise.
15350         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15351         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15352         [UNIX98] (pthread_barrierattr_init): Likewise.
15353         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15354         [UNIX98] (pthread_getcpuclockid): Likewise.
15355         [UNIX98] (pthread_mutex_timedlock): Likewise.
15356         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15357         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15358         [UNIX98] (pthread_sigmask): Likewise.
15359         [UNIX98] (pthread_spin_destroy): Likewise.
15360         [UNIX98] (pthread_spin_init): Likewise.
15361         [UNIX98] (pthread_spin_lock): Likewise.
15362         [UNIX98] (pthread_spin_trylock): Likewise.
15363         [UNIX98] (pthread_spin_unlock): Likewise.
15364         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15365         Do not expect.
15366         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15367         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15368         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15369         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15370         [XPG3 || XPG4] (pthread_key_t): Likewise.
15371         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15372         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15373         [XPG3 || XPG4] (pthread_once_t): Likewise.
15374         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15375         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15377         [XPG3 || XPG4] (pthread_t): Likewise.
15379         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15380         not expect.
15381         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15383         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15384         Change function return type to int.
15386         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15387         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15388         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15389         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15390         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15391         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15392         [!POSIX] (posix_madvise): Likewise.
15393         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15394         && !UNIX98].
15395         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15396         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15397         (mode_t): Likewise.
15398         (posix_mem_offset): Likewise.
15399         (posix_typed_mem_get_info): Likewise.
15400         (posix_typed_mem_open): Likewise.
15402         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15403         Change condition to [XOPEN2K8].
15405         * conform/conformtest.pl: Preprocess allow-header data with -x c
15406         instead of from stdin.
15407         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15408         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15409         [C99-based standards] (cerfc): Likewise.
15410         [C99-based standards] (cexp2): Likewise.
15411         [C99-based standards] (cexpm1): Likewise.
15412         [C99-based standards] (clog10): Likewise.
15413         [C99-based standards] (clog1p): Likewise.
15414         [C99-based standards] (clog2): Likewise.
15415         [C99-based standards] (clgamma): Likewise.
15416         [C99-based standards] (ctgamma): Likewise.
15417         [C99-based standards] (cerff): Likewise.
15418         [C99-based standards] (cerfcf): Likewise.
15419         [C99-based standards] (cexp2f): Likewise.
15420         [C99-based standards] (cexpm1f): Likewise.
15421         [C99-based standards] (clog10f): Likewise.
15422         [C99-based standards] (clog1pf): Likewise.
15423         [C99-based standards] (clog2f): Likewise.
15424         [C99-based standards] (clgammaf): Likewise.
15425         [C99-based standards] (ctgammaf): Likewise.
15426         [C99-based standards] (cerfl): Likewise.
15427         [C99-based standards] (cerfcl): Likewise.
15428         [C99-based standards] (cexp2l): Likewise.
15429         [C99-based standards] (cexpm1l): Likewise.
15430         [C99-based standards] (clog10l): Likewise.
15431         [C99-based standards] (clog1pl): Likewise.
15432         [C99-based standards] (clog2l): Likewise.
15433         [C99-based standards] (clgammal): Likewise.
15434         [C99-based standards] (ctgammal): Likewise.
15435         * conform/data/inttypes.h-data [C99-based standards]: Include
15436         stdint.h-data.  Remove all expectations for stdint.h contents.
15437         [C99-based standards] (PRI*): Do not allow.
15438         [C99-based standards] (SCN*): Likewise.
15439         [C99-based standards] (*_t): Likewise.
15440         [C99-based-standards] (PRId8): Expect macro.
15441         [C99-based-standards] (PRIi8): Likewise.
15442         [C99-based-standards] (PRIo8): Likewise.
15443         [C99-based-standards] (PRIu8): Likewise.
15444         [C99-based-standards] (PRIx8): Likewise.
15445         [C99-based-standards] (PRIX8): Likewise.
15446         [C99-based-standards] (SCNd8): Likewise.
15447         [C99-based-standards] (SCNi8): Likewise.
15448         [C99-based-standards] (SCNo8): Likewise.
15449         [C99-based-standards] (SCNu8): Likewise.
15450         [C99-based-standards] (SCNx8): Likewise.
15451         [C99-based-standards] (PRIdLEAST8): Likewise.
15452         [C99-based-standards] (PRIiLEAST8): Likewise.
15453         [C99-based-standards] (PRIoLEAST8): Likewise.
15454         [C99-based-standards] (PRIuLEAST8): Likewise.
15455         [C99-based-standards] (PRIxLEAST8): Likewise.
15456         [C99-based-standards] (PRIXLEAST8): Likewise.
15457         [C99-based-standards] (SCNdLEAST8): Likewise.
15458         [C99-based-standards] (SCNiLEAST8): Likewise.
15459         [C99-based-standards] (SCNoLEAST8): Likewise.
15460         [C99-based-standards] (SCNuLEAST8): Likewise.
15461         [C99-based-standards] (SCNxLEAST8): Likewise.
15462         [C99-based-standards] (PRIdFAST8): Likewise.
15463         [C99-based-standards] (PRIiFAST8): Likewise.
15464         [C99-based-standards] (PRIoFAST8): Likewise.
15465         [C99-based-standards] (PRIuFAST8): Likewise.
15466         [C99-based-standards] (PRIxFAST8): Likewise.
15467         [C99-based-standards] (PRIXFAST8): Likewise.
15468         [C99-based-standards] (SCNdFAST8): Likewise.
15469         [C99-based-standards] (SCNiFAST8): Likewise.
15470         [C99-based-standards] (SCNoFAST8): Likewise.
15471         [C99-based-standards] (SCNuFAST8): Likewise.
15472         [C99-based-standards] (SCNxFAST8): Likewise.
15473         [C99-based-standards] (PRId16): Likewise.
15474         [C99-based-standards] (PRIi16): Likewise.
15475         [C99-based-standards] (PRIo16): Likewise.
15476         [C99-based-standards] (PRIu16): Likewise.
15477         [C99-based-standards] (PRIx16): Likewise.
15478         [C99-based-standards] (PRIX16): Likewise.
15479         [C99-based-standards] (SCNd16): Likewise.
15480         [C99-based-standards] (SCNi16): Likewise.
15481         [C99-based-standards] (SCNo16): Likewise.
15482         [C99-based-standards] (SCNu16): Likewise.
15483         [C99-based-standards] (SCNx16): Likewise.
15484         [C99-based-standards] (PRIdLEAST16): Likewise.
15485         [C99-based-standards] (PRIiLEAST16): Likewise.
15486         [C99-based-standards] (PRIoLEAST16): Likewise.
15487         [C99-based-standards] (PRIuLEAST16): Likewise.
15488         [C99-based-standards] (PRIxLEAST16): Likewise.
15489         [C99-based-standards] (PRIXLEAST16): Likewise.
15490         [C99-based-standards] (SCNdLEAST16): Likewise.
15491         [C99-based-standards] (SCNiLEAST16): Likewise.
15492         [C99-based-standards] (SCNoLEAST16): Likewise.
15493         [C99-based-standards] (SCNuLEAST16): Likewise.
15494         [C99-based-standards] (SCNxLEAST16): Likewise.
15495         [C99-based-standards] (PRIdFAST16): Likewise.
15496         [C99-based-standards] (PRIiFAST16): Likewise.
15497         [C99-based-standards] (PRIoFAST16): Likewise.
15498         [C99-based-standards] (PRIuFAST16): Likewise.
15499         [C99-based-standards] (PRIxFAST16): Likewise.
15500         [C99-based-standards] (PRIXFAST16): Likewise.
15501         [C99-based-standards] (SCNdFAST16): Likewise.
15502         [C99-based-standards] (SCNiFAST16): Likewise.
15503         [C99-based-standards] (SCNoFAST16): Likewise.
15504         [C99-based-standards] (SCNuFAST16): Likewise.
15505         [C99-based-standards] (SCNxFAST16): Likewise.
15506         [C99-based-standards] (PRId32): Likewise.
15507         [C99-based-standards] (PRIi32): Likewise.
15508         [C99-based-standards] (PRIo32): Likewise.
15509         [C99-based-standards] (PRIu32): Likewise.
15510         [C99-based-standards] (PRIx32): Likewise.
15511         [C99-based-standards] (PRIX32): Likewise.
15512         [C99-based-standards] (SCNd32): Likewise.
15513         [C99-based-standards] (SCNi32): Likewise.
15514         [C99-based-standards] (SCNo32): Likewise.
15515         [C99-based-standards] (SCNu32): Likewise.
15516         [C99-based-standards] (SCNx32): Likewise.
15517         [C99-based-standards] (PRIdLEAST32): Likewise.
15518         [C99-based-standards] (PRIiLEAST32): Likewise.
15519         [C99-based-standards] (PRIoLEAST32): Likewise.
15520         [C99-based-standards] (PRIuLEAST32): Likewise.
15521         [C99-based-standards] (PRIxLEAST32): Likewise.
15522         [C99-based-standards] (PRIXLEAST32): Likewise.
15523         [C99-based-standards] (SCNdLEAST32): Likewise.
15524         [C99-based-standards] (SCNiLEAST32): Likewise.
15525         [C99-based-standards] (SCNoLEAST32): Likewise.
15526         [C99-based-standards] (SCNuLEAST32): Likewise.
15527         [C99-based-standards] (SCNxLEAST32): Likewise.
15528         [C99-based-standards] (PRIdFAST32): Likewise.
15529         [C99-based-standards] (PRIiFAST32): Likewise.
15530         [C99-based-standards] (PRIoFAST32): Likewise.
15531         [C99-based-standards] (PRIuFAST32): Likewise.
15532         [C99-based-standards] (PRIxFAST32): Likewise.
15533         [C99-based-standards] (PRIXFAST32): Likewise.
15534         [C99-based-standards] (SCNdFAST32): Likewise.
15535         [C99-based-standards] (SCNiFAST32): Likewise.
15536         [C99-based-standards] (SCNoFAST32): Likewise.
15537         [C99-based-standards] (SCNuFAST32): Likewise.
15538         [C99-based-standards] (SCNxFAST32): Likewise.
15539         [C99-based-standards] (PRId64): Likewise.
15540         [C99-based-standards] (PRIi64): Likewise.
15541         [C99-based-standards] (PRIo64): Likewise.
15542         [C99-based-standards] (PRIu64): Likewise.
15543         [C99-based-standards] (PRIx64): Likewise.
15544         [C99-based-standards] (PRIX64): Likewise.
15545         [C99-based-standards] (SCNd64): Likewise.
15546         [C99-based-standards] (SCNi64): Likewise.
15547         [C99-based-standards] (SCNo64): Likewise.
15548         [C99-based-standards] (SCNu64): Likewise.
15549         [C99-based-standards] (SCNx64): Likewise.
15550         [C99-based-standards] (PRIdLEAST64): Likewise.
15551         [C99-based-standards] (PRIiLEAST64): Likewise.
15552         [C99-based-standards] (PRIoLEAST64): Likewise.
15553         [C99-based-standards] (PRIuLEAST64): Likewise.
15554         [C99-based-standards] (PRIxLEAST64): Likewise.
15555         [C99-based-standards] (PRIXLEAST64): Likewise.
15556         [C99-based-standards] (SCNdLEAST64): Likewise.
15557         [C99-based-standards] (SCNiLEAST64): Likewise.
15558         [C99-based-standards] (SCNoLEAST64): Likewise.
15559         [C99-based-standards] (SCNuLEAST64): Likewise.
15560         [C99-based-standards] (SCNxLEAST64): Likewise.
15561         [C99-based-standards] (PRIdFAST64): Likewise.
15562         [C99-based-standards] (PRIiFAST64): Likewise.
15563         [C99-based-standards] (PRIoFAST64): Likewise.
15564         [C99-based-standards] (PRIuFAST64): Likewise.
15565         [C99-based-standards] (PRIxFAST64): Likewise.
15566         [C99-based-standards] (PRIXFAST64): Likewise.
15567         [C99-based-standards] (SCNdFAST64): Likewise.
15568         [C99-based-standards] (SCNiFAST64): Likewise.
15569         [C99-based-standards] (SCNoFAST64): Likewise.
15570         [C99-based-standards] (SCNuFAST64): Likewise.
15571         [C99-based-standards] (SCNxFAST64): Likewise.
15572         [C99-based-standards] (PRIdMAX): Likewise.
15573         [C99-based-standards] (PRIiMAX): Likewise.
15574         [C99-based-standards] (PRIoMAX): Likewise.
15575         [C99-based-standards] (PRIuMAX): Likewise.
15576         [C99-based-standards] (PRIxMAX): Likewise.
15577         [C99-based-standards] (PRIXMAX): Likewise.
15578         [C99-based-standards] (SCNdMAX): Likewise.
15579         [C99-based-standards] (SCNiMAX): Likewise.
15580         [C99-based-standards] (SCNoMAX): Likewise.
15581         [C99-based-standards] (SCNuMAX): Likewise.
15582         [C99-based-standards] (SCNxMAX): Likewise.
15583         [C99-based-standards] (PRIdPTR): Likewise.
15584         [C99-based-standards] (PRIiPTR): Likewise.
15585         [C99-based-standards] (PRIoPTR): Likewise.
15586         [C99-based-standards] (PRIuPTR): Likewise.
15587         [C99-based-standards] (PRIxPTR): Likewise.
15588         [C99-based-standards] (PRIXPTR): Likewise.
15589         [C99-based-standards] (SCNdPTR): Likewise.
15590         [C99-based-standards] (SCNiPTR): Likewise.
15591         [C99-based-standards] (SCNoPTR): Likewise.
15592         [C99-based-standards] (SCNuPTR): Likewise.
15593         [C99-based-standards] (SCNxPTR): Likewise.
15594         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15595         allow.
15596         * conform/data/stdint.h-data: Update comments to clarify
15597         requirements.
15598         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15599         type.
15600         [C99-based standards] (INT8_MAX): Likewise.
15601         [C99-based standards] (INT16_MIN): Likewise.
15602         [C99-based standards] (INT16_MAX): Likewise.
15603         [C99-based standards] (INT32_MIN): Likewise.
15604         [C99-based standards] (INT32_MAX): Likewise.
15605         [C99-based standards] (INT64_MIN): Likewise.
15606         [C99-based standards] (INT64_MAX): Likewise.
15607         [C99-based standards] (UINT8_MAX): Likewise.
15608         [C99-based standards] (UINT16_MAX): Likewise.
15609         [C99-based standards] (UINT32_MAX): Likewise.
15610         [C99-based standards] (UINT64_MAX): Likewise.
15611         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15612         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15613         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15614         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15615         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15616         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15617         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15618         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15619         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15620         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15621         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15622         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15623         [C99-based standards] (INT_FAST8_MIN): Likewise.
15624         [C99-based standards] (INT_FAST8_MAX): Likewise.
15625         [C99-based standards] (INT_FAST16_MIN): Likewise.
15626         [C99-based standards] (INT_FAST16_MAX): Likewise.
15627         [C99-based standards] (INT_FAST32_MIN): Likewise.
15628         [C99-based standards] (INT_FAST32_MAX): Likewise.
15629         [C99-based standards] (INT_FAST64_MIN): Likewise.
15630         [C99-based standards] (INT_FAST64_MAX): Likewise.
15631         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15632         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15633         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15634         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15635         [C99-based standards] (INTPTR_MIN): Likewise.
15636         [C99-based standards] (INTPTR_MAX): Likewise.
15637         [C99-based standards] (UINTPTR_MAX): Likewise.
15638         [C99-based standards] (INTMAX_MIN): Likewise.
15639         [C99-based standards] (INTMAX_MAX): Likewise.
15640         [C99-based standards] (UINTMAX_MAX): Likewise.
15641         [C99-based standards] (PTRDIFF_MIN): Likewise.
15642         [C99-based standards] (PTRDIFF_MAX): Likewise.
15643         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15644         [C99-based standards] (SIZE_MAX): Likewise.
15645         [C99-based standards] (WCHAR_MAX): Likewise.
15646         [C99-based standards] (WINT_MAX): Likewise.
15647         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15648         constraint on value.
15649         [C99-based standards] (WCHAR_MIN): Likewise.
15650         [C99-based standards] (WINT_MIN): Likewise.
15651         [C99-based standards] (*_t): Allow.
15652         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15653         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15654         Include math.h-data and complex.h-data.  Remove all expectations
15655         of math.h and complex.h contents.
15656         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15657         at end of line.
15658         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15659         (struct tm): Expect tag.
15660         [C99-based-standards] (wcstof): Expect function.
15661         [C99-based-standards] (wcstold): Likewise.
15662         [C99-based-standards] (wcstoll): Likewise.
15663         [C99-based-standards] (wcstoull): Likewise.
15664         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15665         macro-int-constant.  Specify type.
15666         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15667         constraint on value.
15668         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15669         Specify type.
15670         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15671         Specify value.
15672         [ISO C standards]: Do not allow headers.
15673         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15674         wcs[abcdefghijklmnopqrstuvwxyz]*.
15675         [ISO C standards] (*_t): Do not allow.
15676         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15677         Expect function.
15678         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15679         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15680         Specify type.
15681         [ISO C standards]: Do not allow headers.
15682         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15683         is[abcdefghijklmnopqrstuvwxyz]*.
15684         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15685         to[abcdefghijklmnopqrstuvwxyz]*.
15686         [ISO C standards] (*_t): Do not allow.
15687         * conform/data/stdalign.h-data: New file.
15688         * conform/data/stdbool.h-data: Likewise.
15689         * conform/data/stdnoreturn.h-data: Likewise.
15691 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15693         [BZ #14815]
15694         * manual/filesys.texi (Directory Entries): Typo fix.
15695         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15697 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15699         * elf/elf.h (EM_AARCH64): New macro.
15700         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15701         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15702         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15703         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15704         (R_AARCH64_TLSDESC): Likewise.
15705         (NT_ARM_TLS): Likewise.
15706         (NT_ARM_HW_BREAK): Likewise.
15707         (NT_ARM_HW_WATCH): Likewise.
15709 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15711         [BZ #14811]
15712         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15713         (__ieee754_powl): Saturate nonzero exponents with absolute value
15714         below 0x1p-79 to +/- 0x1p-79.
15715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15716         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15717         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15718         nonzero exponents with absolute value below 0x1p-32 to +/-
15719         0x1p-32.
15720         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15721         (__ieee754_powl): Saturate nonzero exponents with absolute value
15722         below 0x1p-79 to +/- 0x1p-79.
15723         * math/libm-test.inc (pow_test): Add more tests.
15725 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15727         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15728         _dl_s390_cap_flags with kernel. Increase string length.
15729         (_dl_s390_platforms): Add z196 and zEC12.
15731 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15733         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15734         Change XOPEN21K to XOPEN2K.
15736 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15738         * string/memmove.c: Use memcpy when possible.
15740 2012-11-06  Andreas Jaeger  <aj@suse.de>
15742         * po/eo.po: Update from translation team.
15744 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15746         [BZ #14793]
15747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15748         exponent and small x and y exponents, scale x or y up.  Increase
15749         by 2 the exponent used in scaling up.
15750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15752         * math/libm-test.inc (fma_test): Add more tests.
15753         (fma_test_towardzero): Likewise.
15754         (fma_test_downward): Likewise.
15755         (fma_test_upward): Likewise.
15757 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15759         [BZ #14805]
15760         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15761         fenv_t *.
15763         [BZ #14801]
15764         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15765         namespace for names of struct fields.
15766         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15767         fenv_t fields.
15768         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15769         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15771 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15773         [BZ #3665]
15774         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15776 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15778         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15779         PTR_DEMANGLE.
15781         [BZ #5246]
15782         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15783         PTR_DEMANGLE.
15785 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15787         [BZ #14797]
15788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15789         definitely overflow as x * y not x * y + z.
15790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15792         * math/libm-test.inc (fma_test): Add more tests.
15793         (fma_test_towardzero): Likewise.
15794         (fma_test_downward): Likewise.
15795         (fma_test_upward): Likewise.
15797 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15799         [BZ #157]
15801         * include/stub-tag.h: Remove file.
15802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15803         '#include' of it.
15804         * manual/maint.texi (Porting): Don't reference it.
15805         * Makerules ($(objpfx)stubs): Likewise.
15806         * dirent/closedir.c: Don't include <stub-tag.h>.
15807         * dirent/dirfd.c: Likewise.
15808         * dirent/fdopendir.c: Likewise.
15809         * dirent/getdents.c: Likewise.
15810         * dirent/getdents64.c: Likewise.
15811         * dirent/opendir.c: Likewise.
15812         * dirent/readdir.c: Likewise.
15813         * dirent/readdir64.c: Likewise.
15814         * dirent/readdir64_r.c: Likewise.
15815         * dirent/readdir_r.c: Likewise.
15816         * dirent/rewinddir.c: Likewise.
15817         * dirent/seekdir.c: Likewise.
15818         * dirent/telldir.c: Likewise.
15819         * gmon/profil.c: Likewise.
15820         * grp/setgroups.c: Likewise.
15821         * inet/if_index.c: Likewise.
15822         * io/access.c: Likewise.
15823         * io/chdir.c: Likewise.
15824         * io/chmod.c: Likewise.
15825         * io/chown.c: Likewise.
15826         * io/close.c: Likewise.
15827         * io/dup.c: Likewise.
15828         * io/dup2.c: Likewise.
15829         * io/dup3.c: Likewise.
15830         * io/euidaccess.c: Likewise.
15831         * io/faccessat.c: Likewise.
15832         * io/fchdir.c: Likewise.
15833         * io/fchmod.c: Likewise.
15834         * io/fchmodat.c: Likewise.
15835         * io/fchown.c: Likewise.
15836         * io/fchownat.c: Likewise.
15837         * io/fcntl.c: Likewise.
15838         * io/flock.c: Likewise.
15839         * io/fstatfs.c: Likewise.
15840         * io/fstatfs64.c: Likewise.
15841         * io/fstatvfs.c: Likewise.
15842         * io/fstatvfs64.c: Likewise.
15843         * io/futimens.c: Likewise.
15844         * io/fxstat.c: Likewise.
15845         * io/fxstat64.c: Likewise.
15846         * io/fxstatat.c: Likewise.
15847         * io/fxstatat64.c: Likewise.
15848         * io/getcwd.c: Likewise.
15849         * io/isatty.c: Likewise.
15850         * io/lchmod.c: Likewise.
15851         * io/lchown.c: Likewise.
15852         * io/link.c: Likewise.
15853         * io/linkat.c: Likewise.
15854         * io/lseek.c: Likewise.
15855         * io/lseek64.c: Likewise.
15856         * io/lxstat64.c: Likewise.
15857         * io/mkdir.c: Likewise.
15858         * io/mkdirat.c: Likewise.
15859         * io/mkfifo.c: Likewise.
15860         * io/mkfifoat.c: Likewise.
15861         * io/open.c: Likewise.
15862         * io/open64.c: Likewise.
15863         * io/openat.c: Likewise.
15864         * io/openat64.c: Likewise.
15865         * io/pipe.c: Likewise.
15866         * io/pipe2.c: Likewise.
15867         * io/poll.c: Likewise.
15868         * io/posix_fadvise.c: Likewise.
15869         * io/posix_fadvise64.c: Likewise.
15870         * io/posix_fallocate.c: Likewise.
15871         * io/posix_fallocate64.c: Likewise.
15872         * io/read.c: Likewise.
15873         * io/readlink.c: Likewise.
15874         * io/readlinkat.c: Likewise.
15875         * io/rmdir.c: Likewise.
15876         * io/sendfile.c: Likewise.
15877         * io/sendfile64.c: Likewise.
15878         * io/statfs.c: Likewise.
15879         * io/statfs64.c: Likewise.
15880         * io/statvfs.c: Likewise.
15881         * io/statvfs64.c: Likewise.
15882         * io/symlink.c: Likewise.
15883         * io/symlinkat.c: Likewise.
15884         * io/ttyname.c: Likewise.
15885         * io/ttyname_r.c: Likewise.
15886         * io/umask.c: Likewise.
15887         * io/unlink.c: Likewise.
15888         * io/unlinkat.c: Likewise.
15889         * io/utime.c: Likewise.
15890         * io/utimensat.c: Likewise.
15891         * io/write.c: Likewise.
15892         * io/xmknod.c: Likewise.
15893         * io/xmknodat.c: Likewise.
15894         * io/xstat.c: Likewise.
15895         * io/xstat64.c: Likewise.
15896         * login/getpt.c: Likewise.
15897         * login/grantpt.c: Likewise.
15898         * login/unlockpt.c: Likewise.
15899         * math/e_acoshl.c: Likewise.
15900         * math/e_acosl.c: Likewise.
15901         * math/e_asinl.c: Likewise.
15902         * math/e_atan2l.c: Likewise.
15903         * math/e_atanhl.c: Likewise.
15904         * math/e_coshl.c: Likewise.
15905         * math/e_expl.c: Likewise.
15906         * math/e_fmodl.c: Likewise.
15907         * math/e_gammal_r.c: Likewise.
15908         * math/e_hypotl.c: Likewise.
15909         * math/e_j0l.c: Likewise.
15910         * math/e_j1l.c: Likewise.
15911         * math/e_jnl.c: Likewise.
15912         * math/e_lgammal_r.c: Likewise.
15913         * math/e_log10l.c: Likewise.
15914         * math/e_log2l.c: Likewise.
15915         * math/e_logl.c: Likewise.
15916         * math/e_powl.c: Likewise.
15917         * math/e_rem_pio2l.c: Likewise.
15918         * math/e_sinhl.c: Likewise.
15919         * math/e_sqrtl.c: Likewise.
15920         * math/fclrexcpt.c: Likewise.
15921         * math/fedisblxcpt.c: Likewise.
15922         * math/feenablxcpt.c: Likewise.
15923         * math/fegetenv.c: Likewise.
15924         * math/fegetexcept.c: Likewise.
15925         * math/fegetround.c: Likewise.
15926         * math/feholdexcpt.c: Likewise.
15927         * math/fesetenv.c: Likewise.
15928         * math/fesetround.c: Likewise.
15929         * math/feupdateenv.c: Likewise.
15930         * math/fgetexcptflg.c: Likewise.
15931         * math/fraiseexcpt.c: Likewise.
15932         * math/fsetexcptflg.c: Likewise.
15933         * math/ftestexcept.c: Likewise.
15934         * math/k_cosl.c: Likewise.
15935         * math/k_rem_pio2l.c: Likewise.
15936         * math/k_sinl.c: Likewise.
15937         * math/k_tanl.c: Likewise.
15938         * math/s_asinhl.c: Likewise.
15939         * math/s_atanl.c: Likewise.
15940         * math/s_cbrtl.c: Likewise.
15941         * math/s_erfl.c: Likewise.
15942         * math/s_expm1l.c: Likewise.
15943         * math/s_log1pl.c: Likewise.
15944         * math/s_tanhl.c: Likewise.
15945         * misc/acct.c: Likewise.
15946         * misc/brk.c: Likewise.
15947         * misc/chflags.c: Likewise.
15948         * misc/chroot.c: Likewise.
15949         * misc/fchflags.c: Likewise.
15950         * misc/fgetxattr.c: Likewise.
15951         * misc/flistxattr.c: Likewise.
15952         * misc/fremovexattr.c: Likewise.
15953         * misc/fsetxattr.c: Likewise.
15954         * misc/fsync.c: Likewise.
15955         * misc/ftruncate.c: Likewise.
15956         * misc/futimes.c: Likewise.
15957         * misc/futimesat.c: Likewise.
15958         * misc/getdomain.c: Likewise.
15959         * misc/getdtsz.c: Likewise.
15960         * misc/gethostid.c: Likewise.
15961         * misc/gethostname.c: Likewise.
15962         * misc/getloadavg.c: Likewise.
15963         * misc/getpagesize.c: Likewise.
15964         * misc/getsysstats.c: Likewise.
15965         * misc/getxattr.c: Likewise.
15966         * misc/gtty.c: Likewise.
15967         * misc/ioctl.c: Likewise.
15968         * misc/lgetxattr.c: Likewise.
15969         * misc/listxattr.c: Likewise.
15970         * misc/llistxattr.c: Likewise.
15971         * misc/lremovexattr.c: Likewise.
15972         * misc/lsetxattr.c: Likewise.
15973         * misc/lutimes.c: Likewise.
15974         * misc/madvise.c: Likewise.
15975         * misc/mincore.c: Likewise.
15976         * misc/mlock.c: Likewise.
15977         * misc/mlockall.c: Likewise.
15978         * misc/mmap.c: Likewise.
15979         * misc/mprotect.c: Likewise.
15980         * misc/msync.c: Likewise.
15981         * misc/munlock.c: Likewise.
15982         * misc/munlockall.c: Likewise.
15983         * misc/munmap.c: Likewise.
15984         * misc/preadv.c: Likewise.
15985         * misc/preadv64.c: Likewise.
15986         * misc/ptrace.c: Likewise.
15987         * misc/pwritev.c: Likewise.
15988         * misc/pwritev64.c: Likewise.
15989         * misc/readv.c: Likewise.
15990         * misc/reboot.c: Likewise.
15991         * misc/remap_file_pages.c: Likewise.
15992         * misc/removexattr.c: Likewise.
15993         * misc/revoke.c: Likewise.
15994         * misc/select.c: Likewise.
15995         * misc/setdomain.c: Likewise.
15996         * misc/setegid.c: Likewise.
15997         * misc/seteuid.c: Likewise.
15998         * misc/sethostid.c: Likewise.
15999         * misc/sethostname.c: Likewise.
16000         * misc/setregid.c: Likewise.
16001         * misc/setreuid.c: Likewise.
16002         * misc/setxattr.c: Likewise.
16003         * misc/sstk.c: Likewise.
16004         * misc/stty.c: Likewise.
16005         * misc/swapoff.c: Likewise.
16006         * misc/swapon.c: Likewise.
16007         * misc/sync.c: Likewise.
16008         * misc/syncfs.c: Likewise.
16009         * misc/syscall.c: Likewise.
16010         * misc/truncate.c: Likewise.
16011         * misc/ualarm.c: Likewise.
16012         * misc/usleep.c: Likewise.
16013         * misc/ustat.c: Likewise.
16014         * misc/utimes.c: Likewise.
16015         * misc/vhangup.c: Likewise.
16016         * misc/writev.c: Likewise.
16017         * posix/_exit.c: Likewise.
16018         * posix/alarm.c: Likewise.
16019         * posix/execve.c: Likewise.
16020         * posix/fexecve.c: Likewise.
16021         * posix/fork.c: Likewise.
16022         * posix/fpathconf.c: Likewise.
16023         * posix/getaddrinfo.c: Likewise.
16024         * posix/getegid.c: Likewise.
16025         * posix/geteuid.c: Likewise.
16026         * posix/getgid.c: Likewise.
16027         * posix/getgroups.c: Likewise.
16028         * posix/getlogin.c: Likewise.
16029         * posix/getlogin_r.c: Likewise.
16030         * posix/getpgid.c: Likewise.
16031         * posix/getpid.c: Likewise.
16032         * posix/getppid.c: Likewise.
16033         * posix/getresgid.c: Likewise.
16034         * posix/getresuid.c: Likewise.
16035         * posix/getsid.c: Likewise.
16036         * posix/getuid.c: Likewise.
16037         * posix/glob64.c: Likewise.
16038         * posix/nanosleep.c: Likewise.
16039         * posix/pathconf.c: Likewise.
16040         * posix/pause.c: Likewise.
16041         * posix/posix_madvise.c: Likewise.
16042         * posix/pread.c: Likewise.
16043         * posix/pread64.c: Likewise.
16044         * posix/pwrite.c: Likewise.
16045         * posix/pwrite64.c: Likewise.
16046         * posix/sched_getaffinity.c: Likewise.
16047         * posix/sched_getp.c: Likewise.
16048         * posix/sched_gets.c: Likewise.
16049         * posix/sched_primax.c: Likewise.
16050         * posix/sched_primin.c: Likewise.
16051         * posix/sched_rr_gi.c: Likewise.
16052         * posix/sched_setaffinity.c: Likewise.
16053         * posix/sched_setp.c: Likewise.
16054         * posix/sched_sets.c: Likewise.
16055         * posix/sched_yield.c: Likewise.
16056         * posix/setgid.c: Likewise.
16057         * posix/setlogin.c: Likewise.
16058         * posix/setpgid.c: Likewise.
16059         * posix/setresgid.c: Likewise.
16060         * posix/setresuid.c: Likewise.
16061         * posix/setsid.c: Likewise.
16062         * posix/setuid.c: Likewise.
16063         * posix/sleep.c: Likewise.
16064         * posix/spawni.c: Likewise.
16065         * posix/sysconf.c: Likewise.
16066         * posix/times.c: Likewise.
16067         * posix/wait.c: Likewise.
16068         * posix/wait3.c: Likewise.
16069         * posix/wait4.c: Likewise.
16070         * posix/waitpid.c: Likewise.
16071         * resolv/gai_sigqueue.c: Likewise.
16072         * resource/getpriority.c: Likewise.
16073         * resource/getrlimit.c: Likewise.
16074         * resource/getrusage.c: Likewise.
16075         * resource/nice.c: Likewise.
16076         * resource/setpriority.c: Likewise.
16077         * resource/setrlimit.c: Likewise.
16078         * resource/ulimit.c: Likewise.
16079         * rt/aio_cancel.c: Likewise.
16080         * rt/aio_fsync.c: Likewise.
16081         * rt/aio_read.c: Likewise.
16082         * rt/aio_sigqueue.c: Likewise.
16083         * rt/aio_suspend.c: Likewise.
16084         * rt/aio_write.c: Likewise.
16085         * rt/clock_getres.c: Likewise.
16086         * rt/clock_gettime.c: Likewise.
16087         * rt/clock_nanosleep.c: Likewise.
16088         * rt/clock_settime.c: Likewise.
16089         * rt/lio_listio.c: Likewise.
16090         * rt/mq_close.c: Likewise.
16091         * rt/mq_getattr.c: Likewise.
16092         * rt/mq_notify.c: Likewise.
16093         * rt/mq_open.c: Likewise.
16094         * rt/mq_receive.c: Likewise.
16095         * rt/mq_send.c: Likewise.
16096         * rt/mq_setattr.c: Likewise.
16097         * rt/mq_timedreceive.c: Likewise.
16098         * rt/mq_timedsend.c: Likewise.
16099         * rt/mq_unlink.c: Likewise.
16100         * rt/shm_open.c: Likewise.
16101         * rt/shm_unlink.c: Likewise.
16102         * rt/timer_create.c: Likewise.
16103         * rt/timer_delete.c: Likewise.
16104         * rt/timer_getoverr.c: Likewise.
16105         * rt/timer_gettime.c: Likewise.
16106         * rt/timer_settime.c: Likewise.
16107         * setjmp/__longjmp.c: Likewise.
16108         * setjmp/setjmp.c: Likewise.
16109         * signal/kill.c: Likewise.
16110         * signal/killpg.c: Likewise.
16111         * signal/raise.c: Likewise.
16112         * signal/sigaction.c: Likewise.
16113         * signal/sigaltstack.c: Likewise.
16114         * signal/sigblock.c: Likewise.
16115         * signal/sigignore.c: Likewise.
16116         * signal/sigintr.c: Likewise.
16117         * signal/signal.c: Likewise.
16118         * signal/sigpause.c: Likewise.
16119         * signal/sigpending.c: Likewise.
16120         * signal/sigqueue.c: Likewise.
16121         * signal/sigreturn.c: Likewise.
16122         * signal/sigset.c: Likewise.
16123         * signal/sigsetmask.c: Likewise.
16124         * signal/sigstack.c: Likewise.
16125         * signal/sigsuspend.c: Likewise.
16126         * signal/sigtimedwait.c: Likewise.
16127         * signal/sigvec.c: Likewise.
16128         * signal/sigwait.c: Likewise.
16129         * signal/sigwaitinfo.c: Likewise.
16130         * signal/sysv_signal.c: Likewise.
16131         * socket/accept.c: Likewise.
16132         * socket/accept4.c: Likewise.
16133         * socket/bind.c: Likewise.
16134         * socket/connect.c: Likewise.
16135         * socket/getpeername.c: Likewise.
16136         * socket/getsockname.c: Likewise.
16137         * socket/getsockopt.c: Likewise.
16138         * socket/isfdtype.c: Likewise.
16139         * socket/listen.c: Likewise.
16140         * socket/recv.c: Likewise.
16141         * socket/recvfrom.c: Likewise.
16142         * socket/recvmsg.c: Likewise.
16143         * socket/send.c: Likewise.
16144         * socket/sendmsg.c: Likewise.
16145         * socket/sendto.c: Likewise.
16146         * socket/setsockopt.c: Likewise.
16147         * socket/shutdown.c: Likewise.
16148         * socket/sockatmark.c: Likewise.
16149         * socket/socket.c: Likewise.
16150         * socket/socketpair.c: Likewise.
16151         * stdio-common/ctermid.c: Likewise.
16152         * stdio-common/cuserid.c: Likewise.
16153         * stdio-common/remove.c: Likewise.
16154         * stdio-common/rename.c: Likewise.
16155         * stdio-common/renameat.c: Likewise.
16156         * stdio-common/tempname.c: Likewise.
16157         * stdlib/getcontext.c: Likewise.
16158         * stdlib/makecontext.c: Likewise.
16159         * stdlib/setcontext.c: Likewise.
16160         * stdlib/swapcontext.c: Likewise.
16161         * stdlib/system.c: Likewise.
16162         * streams/fattach.c: Likewise.
16163         * streams/fdetach.c: Likewise.
16164         * streams/getmsg.c: Likewise.
16165         * streams/getpmsg.c: Likewise.
16166         * streams/putmsg.c: Likewise.
16167         * streams/putpmsg.c: Likewise.
16168         * sysdeps/unix/bsd/getpt.c: Likewise.
16169         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16170         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16171         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16173         Likewise.
16174         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16175         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16176         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16177         * sysvipc/msgctl.c: Likewise.
16178         * sysvipc/msgget.c: Likewise.
16179         * sysvipc/msgrcv.c: Likewise.
16180         * sysvipc/msgsnd.c: Likewise.
16181         * sysvipc/semctl.c: Likewise.
16182         * sysvipc/semget.c: Likewise.
16183         * sysvipc/semop.c: Likewise.
16184         * sysvipc/semtimedop.c: Likewise.
16185         * sysvipc/shmat.c: Likewise.
16186         * sysvipc/shmctl.c: Likewise.
16187         * sysvipc/shmdt.c: Likewise.
16188         * sysvipc/shmget.c: Likewise.
16189         * termios/tcdrain.c: Likewise.
16190         * termios/tcflow.c: Likewise.
16191         * termios/tcflush.c: Likewise.
16192         * termios/tcgetattr.c: Likewise.
16193         * termios/tcgetpgrp.c: Likewise.
16194         * termios/tcsendbrk.c: Likewise.
16195         * termios/tcsetattr.c: Likewise.
16196         * termios/tcsetpgrp.c: Likewise.
16197         * time/adjtime.c: Likewise.
16198         * time/clock.c: Likewise.
16199         * time/getitimer.c: Likewise.
16200         * time/gettimeofday.c: Likewise.
16201         * time/setitimer.c: Likewise.
16202         * time/settimeofday.c: Likewise.
16203         * time/stime.c: Likewise.
16204         * time/time.c: Likewise.
16206 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16208         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16209         /usr/old/bin.
16211         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16212         instead of spaces.
16213         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16215 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16217         [BZ #14796]
16218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16219         FE_TONEAREST before applying Dekker multiplication and Knuth
16220         addition.  Clear inexact exceptions and check for exact zero
16221         results afterwards.
16222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16223         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16225         * math/libm-test.inc (fma_test): Add more tests.
16226         (fma_test_towardzero): Likewise.
16227         (fma_test_downward): Likewise.
16228         (fma_test_upward): Likewise.
16229         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16230         function.
16231         (libc_fesetround): New macro.
16232         (libc_fesetroundf): Likewise.
16233         (libc_fesetroundl): Likewise.
16234         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16235         function.
16236         (libc_fesetround_387): Likewise.
16237         (libc_fesetroundf): New macro.
16238         (libc_fesetround): Likewise.
16239         (libc_fesetroundl): Likewise.
16240         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16241         function.
16242         (libc_fesetroundf): New macro.
16243         (libc_fesetround): Likewise.
16244         (libc_fesetroundl): Likewise.
16245         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16246         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16247         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16248         libm_hidden_ver.
16249         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16250         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16251         libm_hidden_def.
16252         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16253         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16254         libm_hidden_ver.
16255         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16256         libm_hidden_def.
16258         [BZ #3439]
16259         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16260         integer constant usable in #if and use that to give value to enum
16261         constant.
16262         (FE_DIVBYZERO): Likewise.
16263         (FE_UNDERFLOW): Likewise.
16264         (FE_OVERFLOW): Likewise.
16265         (FE_INVALID): Likewise.
16266         (FE_INVALID_SNAN): Likewise.
16267         (FE_INVALID_ISI): Likewise.
16268         (FE_INVALID_IDI): Likewise.
16269         (FE_INVALID_ZDZ): Likewise.
16270         (FE_INVALID_IMZ): Likewise.
16271         (FE_INVALID_COMPARE): Likewise.
16272         (FE_INVALID_SOFTWARE): Likewise.
16273         (FE_INVALID_SQRT): Likewise.
16274         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16275         (FE_TONEAREST): Likewise.
16276         (FE_TOWARDZERO): Likewise.
16277         (FE_UPWARD): Likewise.
16278         (FE_DOWNWARD): Likewise.
16279         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16280         (FE_DIVBYZERO): Likewise.
16281         (FE_OVERFLOW): Likewise.
16282         (FE_UNDERFLOW): Likewise.
16283         (FE_INEXACT): Likewise.
16284         (FE_TONEAREST): Likewise.
16285         (FE_DOWNWARD): Likewise.
16286         (FE_UPWARD): Likewise.
16287         (FE_TOWARDZERO): Likewise.
16288         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16289         (FE_UNDERFLOW): Likewise.
16290         (FE_OVERFLOW): Likewise.
16291         (FE_DIVBYZERO): Likewise.
16292         (FE_INVALID): Likewise.
16293         (FE_TONEAREST): Likewise.
16294         (FE_TOWARDZERO): Likewise.
16295         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16296         (FE_OVERFLOW): Likewise.
16297         (FE_UNDERFLOW): Likewise.
16298         (FE_DIVBYZERO): Likewise.
16299         (FE_INEXACT): Likewise.
16300         (FE_TONEAREST): Likewise.
16301         (FE_TOWARDZERO): Likewise.
16302         (FE_UPWARD): Likewise.
16303         (FE_DOWNWARD): Likewise.
16304         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16305         (FE_DIVBYZERO): Likewise.
16306         (FE_OVERFLOW): Likewise.
16307         (FE_UNDERFLOW): Likewise.
16308         (FE_INEXACT): Likewise.
16309         (FE_TONEAREST): Likewise.
16310         (FE_DOWNWARD): Likewise.
16311         (FE_UPWARD): Likewise.
16312         (FE_TOWARDZERO): Likewise.
16314 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16316         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16318 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16320         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16321         commands.  Quote $PWD.
16322         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16323         -x" by "export".
16324         (remove_newlines): Remove.
16326 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16328         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16329         * stdlib/stdlib.h (atof): Moved to ...
16330         * include/bits/stdlib-float.h: Here.  New file.
16331         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16332         * stdlib/bits/stdlib-float.h: New file.
16333         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16334         -mno-sse -mno-mmx.
16335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16336         <xmmintrin.h>.
16338 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16340         * conform/conformtest.pl (@headers): Add fenv.h.
16341         * conform/data/fenv.h-data: New file.
16342         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16343         include of <math/fenv.h>.
16345         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16346         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16347         && !UNIX98].  Enables tests for XOPEN2K8.
16348         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16349         POSIX2008]: Likewise.
16351         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16352         (struct rusage): Do not expect type or its members.
16354         [BZ #3439]
16355         * math/math.h (FP_NAN): Define macro to integer constant usable in
16356         #if and use that to give value to enum constant.
16357         (FP_INFINITE): Likewise.
16358         (FP_ZERO): Likewise.
16359         (FP_SUBNORMAL): Likewise.
16360         (FP_NORMAL): Likewise.
16362 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16364         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16365         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16366         arguments.
16368 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16370         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16371         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16372         autoconf-time if not.
16373         * configure.in: Remove AC_PREREQ.
16375 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16377         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16378         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16379         of the internal implementation.
16381 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16383         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16384         except include of <misc/sys/syslog.h>.
16386 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16389         function returns with a NULL context exit with zero.
16391 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16393         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16395 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16397         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16398         (run_program_cmd): This.
16399         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16400         (tst_langinfo): New variable.  Use it.
16402 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16404         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16405         floating point opcodes.
16407 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16409         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16410         variable.
16412         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16414         * sysdeps/mach/hurd/powerpc: Remove directory.
16415         * sysdeps/mach/powerpc: Likewise.
16417 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16419         * scripts/check-local-headers.sh: Ignore c++ headers.
16421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16423         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16424         __libc_cleanup_region_start argument.
16426 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #14784]
16429         [BZ #14785]
16430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16431         x * y using scaling, not as x * y + z.
16432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16434         * math/libm-test.inc (fma_test): Add more tests.
16435         (fma_test_towardzero): Likewise.
16436         (fma_test_downward): Likewise.
16437         (fma_test_upward): Likewise.
16439 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16441         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16443 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16445         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16446         New variable.
16448 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16450         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16452 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16455         Fix sort order.
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16457         Likewise.
16459 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16462         Fix the order of the list for glibc 2.17.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16464         Likewise.
16466 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16470 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #14610]
16473         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16474         for low part of x being zero before using __atanl (y).
16475         * math/libm-test.inc (atan2_test): Add another test.
16477         * manual/install.texi (Configuring and compiling): Document
16478         general use of test-wrapper and test-wrapper-env.
16479         * INSTALL: Regenerated.
16481         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16482         (__fma): Do not extract and scale down low bits on after-rounding
16483         systems when result rounded to normal precision would have normal
16484         exponent.
16485         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16486         (__fmal): Do not extract and scale down low bits on after-rounding
16487         systems when result rounded to normal precision would have normal
16488         exponent.
16489         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16490         (__fmal): Do not extract and scale down low bits on after-rounding
16491         systems when result rounded to normal precision would have normal
16492         exponent.
16493         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16494         macro.
16495         (fma_test): Add more tests.
16496         (fma_test_towardzero): Likewise.
16497         (fma_test_downward): Likewise.
16498         (fma_test_upward): Likewise.
16500 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16502         * sysdeps/i386/tininess.h: Renamed to ...
16503         * sysdeps/x86/tininess.h: This.
16504         * sysdeps/x86_64/tininess.h: Removed.
16506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16508         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16509         input.  Use $(build-program-cmd).
16510         ($(objpfx)tst-array1-static.out): Likewise.
16511         ($(objpfx)tst-array2.out): Likewise.
16512         ($(objpfx)tst-array3.out): Likewise.
16513         ($(objpfx)tst-array4.out): Likewise.
16514         ($(objpfx)tst-array5.out): Likewise.
16515         ($(objpfx)tst-array5-static.out): Likewise.
16517 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16519         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16520         if defined.
16522         * nss/nsswitch.h (nss_interface_function): Provide new
16523         macro for use with NSS functions.
16524         * grp/initgroups.c: Use new macro.
16525         * nss/getXXbyYY.c: Likewise.
16526         * nss/getXXbyYY_r.c: Likewise.
16527         * nss/getXXent.c: Likewise.
16528         * nss/getXXent_r.c: Likewise.
16529         * sysdeps/posix/getaddrinfo.c: Likewise.
16531 2012-10-30  Andreas Jaeger  <aj@suse.de>
16533         * po/ru.po: Update Russion translation from translation project.
16535 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16537         [BZ #14152]
16538         [BZ #14783]
16539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16540         result and shift together with sticky bit instead of replicating
16541         round-to-nearest rounding.
16542         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16544         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16545         missing underflow exceptions.
16546         (fma_test_towardzero): Add more tests.
16547         (fma_test_downward): Likewise.
16548         (fma_test_upward): Likewise.
16550         [BZ #14047]
16551         * sysdeps/generic/tininess.h: New file.
16552         * sysdeps/i386/tininess.h: Likewise.
16553         * sysdeps/sh/tininess.h: Likewise.
16554         * sysdeps/x86_64/tininess.h: Likewise.
16555         * stdlib/tst-strtod-underflow.c: Likewise.
16556         * stdlib/tst-tininess.c: Likewise.
16557         * stdlib/strtod_l.c: Include <tininess.h>.
16558         (round_and_return): Do not set errno for exact underflow cases.
16559         Force an underflow exception when setting errno for underflow.
16560         Determine underflow based on rounding to normal precision if
16561         TININESS_AFTER_ROUNDING.
16562         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16563         ERANGE for exact underflow cases.
16564         * stdlib/Makefile (tests): Add tst-tininess and
16565         tst-strtod-underflow.
16566         ($(objpfx)tst-tininess): Use $(link-libm).
16567         ($(objpfx)tst-strtod-underflow): Likewise.
16569 2012-10-30  Andreas Jaeger  <aj@suse.de>
16571         [BZ#14767]
16572         * elf/Makefile (tests): Remove conditional for have-initfini-array
16573         since this is now always required and the variable does not exist
16574         anymore.
16575         (tests-static): Likewise.
16576         (modules-names): Likewise.
16578         * po/eo.po: Add Esperanto translation from translation project.
16580         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16581         merged with constructor/destructor.
16582         (init_array): Likewise.
16583         * elf/tst-array2dep.c (fini_array): Likewise.
16584         (init_array): Likewise.
16586 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16588         * manual/message.texi: Delete @cartouche tags.
16590 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16592         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16593         EOPNOTSUPP.
16594         * sysdeps/mach/hurd/fsync.c: Likewise.
16596         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16597         [_POSIX_REALTIME_SIGNALS]: Change condition to
16598         [_POSIX_REALTIME_SIGNALS > 0].
16600 2012-10-27  Andreas Jaeger  <aj@suse.de>
16602         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16603         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16605         [__WORDSIZE != 64]: Likewise.
16607 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16609         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16610         *  iconvdata/tst-tables.sh: Likewise.
16612 2012-10-25  David S. Miller  <davem@davemloft.net>
16614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16615         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16616         of strtoull.
16618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16619         ifunc-impl-list.c
16620         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16621         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16622         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16623         file.
16625 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16628         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16629         __getdirentries.
16631 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16632             Jim Blandy  <jimb@codesourcery.com>
16634         * scripts/cross-test-ssh.sh: New file.
16635         * manual/install.texi (Configuring and compiling): Document use of
16636         cross-test-ssh.sh.
16637         * INSTALL: Regenerated.
16639 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16641         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16642         EOPNOTSUPP.
16644 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16646         * Makeconfig (run-program-prefix): Fix comment.
16648 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16649             Jim Blandy  <jimb@codesourcery.com>
16651         * Makeconfig (test-wrapper): New variable,
16652         (test-wrapper-env): Likewise.
16653         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16654         (run-built-tests): Define to yes.
16655         (run-program-prefix): Use $(test-wrapper).
16656         (built-program-cmd): Likewise.
16657         * Rules (make-test-out): Use $(test-wrapper-env) and
16658         $(host-built-program-cmd).
16659         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16660         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16661         tst-pathopt.sh.
16662         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16663         $(test-wrapper-env) to tst-rtld-load-self.sh.
16664         ($(objpfx)order2.out): Use $(test-wrapper).
16665         ($(objpfx)tst-initorder.out): Likewise.
16666         ($(objpfx)tst-initorder2.out): Likewise.
16667         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16668         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16669         (test_wrapper_env): New variable.  Use it to run ld.so.
16670         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16671         Use it to run ld.so.
16672         (test_wrapper_env): Likewise.
16673         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16674         $(test-wrapper) to run-iconv-test.sh.
16675         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16676         (ICONV): Use $test_wrapper.
16677         * posix/Makefile ($(objpfx)globtest.out): Pass
16678         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16679         globtest.sh, not $(run-program-prefix).
16680         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16681         (test_wrapper): Likewise.
16682         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16683         set together with run_via_rtld_prefix.
16684         (run_program_prefix): Define in terms of test_wrapper and
16685         run_via_rtld_prefix.
16687 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16689         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16690         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16691         Targets removed.
16693         [BZ #14743]
16694         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16695         Declare __clock_getres, __clock_gettime, __clock_settime,
16696         __clock_nanosleep, and __clock_getcpuclockid.
16697         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16698         Remove librt_hidden_def (clock_gettime).
16699         * sysdeps/unix/clock_gettime.c: Likewise.
16700         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16701         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16702         * rt/clock_getres.c: Define __clock_getres as an alias.
16703         * sysdeps/posix/clock_getres.c: Likewise.
16704         * rt/clock_settime.c: Define __clock_settime as an alias.
16705         * sysdeps/unix/clock_settime.c: Likewise.
16706         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16707         * sysdeps/unix/clock_nanosleep.c: Likewise.
16708         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16709         * rt/clock-compat.c: New file.
16710         * rt/Makefile (librt-routines): Add clock-compat and move
16711         $(clock-routines) to ...
16712         (routines): ... here, new variable.
16713         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16714         Don't add get_clockfreq here.
16715         * rt/Versions (libc: GLIBC_2.17): New version set.
16716         Add clock_* symbols here.
16717         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16719         (GLIBC_2.17): Add clock_* symbols.
16720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16724         Likewise.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16726         Likewise.
16727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16731         * NEWS: Mention the move.
16733         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16734         Use __open, __read, __close rather than their public counterparts.
16735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16736         (__get_clockfreq_via_cpuinfo): Likewise.
16737         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16738         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16740         * config.h.in (HAVE_IFUNC): New #undef.
16741         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16742         was successful.
16743         * configure: Regenerated.
16745 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16747         * configure.in: Move READELF check to start of file.
16748         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16749         libc_cv_asm_gnu_indirect_function in the process.
16750         * configure: Regenerated.
16752 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16754         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16755         send the output to /dev/null.
16756         (libc_cv_cc_with_libunwind): Likewise.
16757         (libc_cv_as_noexecstack): Likewise.
16758         * configure: Regenerate.
16760 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16762         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16764         * posix/globtest.sh (TMPDIR): Do not set.
16765         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16766         (testout): Likewise.
16768 2012-10-24  Andreas Jaeger  <aj@suse.de>
16770         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16771         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16772         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16773         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16774         posix_fadvise64, posix_fallocate64.
16776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16777         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16778         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16779         Likewise.
16780         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16781         Likewise.
16782         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16785         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16786         <bits/fcntl-linux.h>.
16787         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16790         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16791         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16792         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16793         [__WORDSIZE != 64]: Likewise.
16795 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16797         * Makeconfig (run-built-tests): New variable.
16798         * Rules [$(cross-compiling) = yes]: Change condition to
16799         [$(run-built-tests) = no].
16800         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16801         to [$(run-built-tests) = yes].
16802         * elf/Makefile [$(cross-compiling) = no]: Likewise
16803         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16804         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16805         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16806         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16807         * io/Makefile [$(cross-compiling) = no]: Likewise.
16808         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16809         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16810         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16811         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16812         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16813         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16814         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16815         * string/Makefile [$(cross-compiling) = no]: Likewise.
16817         * posix/Makefile ($(objpfx)globtest.out): Pass
16818         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16819         $(rtld-installed-name).
16820         * posix/globtest.sh (elf_objpfx): Remove variable.
16821         (rtld_installed_name): Likewise.
16822         (library_path): Likewise.
16823         (run_program_prefix): New variable.  Use for running globtest
16824         binary.
16826 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16827             Joseph Myers  <joseph@codesourcery.com>
16829         * Makeconfig (host-built-program-cmd): New variable.
16830         * elf/Makefile (tst-stackguard1-ARGS): Use
16831         $(host-built-program-cmd).
16832         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16833         (tst-spawn-ARGS): Likewise.
16834         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16836 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16837             Jim Blandy  <jimb@codesourcery.com>
16839         * Makeconfig (run-via-rtld-prefix): New variable.
16840         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16841         (built-program-cmd): Likewise.
16843 2012-10-22  Andreas Jaeger  <aj@suse.de>
16845         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16846         __O_RSYNC if it exists, otherwise to O_SYNC.
16848 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16849             Joseph Myers  <joseph@codesourcery.com>
16851         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16852         /dev/null.
16853         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16854         from /dev/null
16855         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16856         /dev/null.
16858 2012-10-22  Andreas Jaeger  <aj@suse.de>
16860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16861         Define always.
16862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16865         bits/fcntl-linux.h.
16867         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16868         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16871         to __O_LARGEFILE.
16872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16873         to __O_LARGEFILE.
16875 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16876             Joseph Myers  <joseph@codesourcery.com>
16878         * config.make.in (NM): New variable.
16880 2012-10-21  Andreas Jaeger  <aj@suse.de>
16882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16883         definitions and declarations that are provided by
16884         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16886 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16888         [BZ #14683]
16889         * elf/Makefile (tests-static): Add tst-leaks1-static.
16890         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16891         ($(objpfx)tst-leaks1-static): New rule.
16892         ($(objpfx)tst-leaks1-static-mem): Likewise.
16893         (tst-leaks1-static-ENV): New macro.
16894         * elf/dl-open.c (dl_open_worker): Check the main application
16895         only if SHARED is defined.
16896         * elf/tst-leaks1-static.c: New file.
16898 2012-10-20  Andreas Jaeger  <aj@suse.de>
16900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16901         generic values for Linux.
16902         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16903         and declarations that are provided by <bits/fcntl-linux.h> and
16904         include <bits/fcntl-linux.h>.
16905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16906         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16908 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16910         * io/fcntl.h: Move include of <bits/types.h> to the top and
16911         include it unconditionally.
16913 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16915         * wcsmbs/Makefile (tests-ifunc): New variable.
16916         (tests): Add $(tests-ifunc).
16917         * wcsmbs/test-wcschr-ifunc.c: New file.
16918         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16919         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16920         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16921         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16922         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16924         * string/Makefile (tests-ifunc): New variable.
16925         (tests): Add $(tests-ifunc).
16926         * string/test-memccpy.c (TEST_NAME): New macro.
16927         * string/test-memchr.c (TEST_NAME): Likewise.
16928         * string/test-memcmp.c (TEST_NAME): Likewise.
16929         * string/test-memcpy.c (TEST_NAME): Likewise.
16930         * string/test-memmem.c (TEST_NAME): Likewise.
16931         * string/test-memmove.c (TEST_NAME): Likewise.
16932         * string/test-memset.c (TEST_NAME): Likewise.
16933         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16934         * string/test-stpcpy.c (TEST_NAME): Likewise.
16935         * string/test-stpncpy.c (TEST_NAME): Likewise.
16936         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16937         * string/test-strcasestr.c (TEST_NAME): Likewise.
16938         * string/test-strcat.c (TEST_NAME): Likewise.
16939         * string/test-strchr.c (TEST_NAME): Likewise.
16940         * string/test-strcmp.c(TEST_NAME): Likewise.
16941         * string/test-strcpy.c (TEST_NAME): Likewise.
16942         * string/test-strcspn.c (TEST_NAME): Likewise.
16943         * string/test-strlen.c (TEST_NAME): Likewise.
16944         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16945         * string/test-strncmp.c (TEST_NAME): Likewise.
16946         * string/test-strncpy.c (TEST_NAME): Likewise.
16947         * string/test-strnlen.c (TEST_NAME): Likewise.
16948         * string/test-strpbrk.c (TEST_NAME): Likewise.
16949         * string/test-strrchr.c (TEST_NAME): Likewise.
16950         * string/test-strspn.c (TEST_NAME): Likewise.
16951         * string/test-strstr.c (TEST_NAME): Likewise.
16952         * string/test-bcopy-ifunc.c: New file.
16953         * string/test-bzero-ifunc.c: Likewise.
16954         * string/test-memccpy-ifunc.c: Likewise.
16955         * string/test-memchr-ifunc.c: Likewise.
16956         * string/test-memcmp-ifunc.c: Likewise.
16957         * string/test-memcpy-ifunc.c: Likewise.
16958         * string/test-memmem-ifunc.c: Likewise.
16959         * string/test-memmove-ifunc.c: Likewise.
16960         * string/test-mempcpy-ifunc.c: Likewise.
16961         * string/test-memset-ifunc.c: Likewise.
16962         * string/test-rawmemchr-ifunc.c: Likewise.
16963         * string/test-stpcpy-ifunc.c: Likewise.
16964         * string/test-stpncpy-ifunc.c: Likewise.
16965         * string/test-strcasecmp-ifunc.c: Likewise.
16966         * string/test-strcasestr-ifunc.c: Likewise.
16967         * string/test-strcat-ifunc.c: Likewise.
16968         * string/test-strchr-ifunc.c: Likewise.
16969         * string/test-strchrnul-ifunc.c: Likewise.
16970         * string/test-strcmp-ifunc.c: Likewise.
16971         * string/test-strcpy-ifunc.c: Likewise.
16972         * string/test-strcspn-ifunc.c: Likewise.
16973         * string/test-strlen-ifunc.c: Likewise.
16974         * string/test-strncasecmp-ifunc.c: Likewise.
16975         * string/test-strncat-ifunc.c: Likewise.
16976         * string/test-strncmp-ifunc.c: Likewise.
16977         * string/test-strncpy-ifunc.c: Likewise.
16978         * string/test-strnlen-ifunc.c: Likewise.
16979         * string/test-strpbrk-ifunc.c: Likewise.
16980         * string/test-strrchr-ifunc.c: Likewise.
16981         * string/test-strspn-ifunc.c: Likewise.
16982         * string/test-strstr-ifunc.c: Likewise.
16984         * debug/Makefile (tests-ifunc): New variable.
16985         (tests): Add $(tests-ifunc).
16986         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16987         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16988         * debug/test-stpcpy_chk-ifunc.c: New file.
16989         * debug/test-strcpy_chk-ifunc.c: Likewise.
16991 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16993         [BZ #13601]
16994         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16995         header is not read in.
16997 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16999         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17000         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17001         directly.  Pass built executable to script as
17002         $(built-program-cmd).
17003         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17004         $testprogram without using LD_LIBRARY_PATH and $ldso.
17006         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17007         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17008         $(rtld-installed-name).
17009         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17010         (rtld_installed_name): Likewise.
17011         (library_path): Likewise.
17012         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17013         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17014         $(run-program-prefix) to tst-tables.sh.
17015         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17016         it to run tst-table-from and tst-table-to.
17017         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17018         Pass it to tst-table.sh.
17019         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17020         $(run-program-prefix) to tst-gettext.sh.
17021         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17022         tst-translit.sh.
17023         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17024         tst-gettext2.sh.
17025         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17026         to run tst-gettext.
17027         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17028         to run tst-gettext2.
17029         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17030         to run tst-translit.
17031         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17032         $(run-program-prefix) to tst-mtrace.sh.
17033         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17034         to run tst-mtrace.
17035         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17036         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17037         $(rtld-installed-name).
17038         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17039         (rtld_installed_name): Likewise.
17040         (run_program_prefix): New variable.  Use it to run wordexp-test.
17042         * Makeconfig (ARCH): Remove all definitions.
17043         (machine): Likewise.
17044         [ARCH]: Remove conditional code.
17045         [!objdir]: Give error.
17046         [!objdir] (objpfx): Remove.
17047         [!objdir] (common-objpfx): Likewise.
17048         [!objdir] (common-objdir): Likewise.
17049         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17050         AC_CONFIG_FILES call.
17051         * configure: Regenerated.
17053         [BZ #13888]
17054         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17055         or TMPDIR.
17056         (testout): Likewise.
17058         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17059         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17060         $(rtld-installed-name).
17061         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17062         (rtld_installed_name): Likwise.
17063         (runit): Remove function.
17064         (run_getconf): New variable,  Use it for running getconf binary.
17066 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17068         [BZ #14716]
17069         * string/test-memmem.c (check_result): New function.
17070         (do_one_test): Use it.
17071         (check1): New function.
17072         (test_main): Use it.
17074 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17076         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17078 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17080         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17081         (_G_LSEEK64): Likewise.
17082         (_G_MMAP64): Likewise.
17083         (_G_FSTAT64): Likewise.
17084         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17085         (_G_LSEEK64): Likewise.
17086         (_G_MMAP64): Likewise.
17087         (_G_FSTAT64): Likewise.
17088         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17089         unconditional.  Call __mmap64 directly.
17090         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17091         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17092         __lseek64 directly.
17093         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17094         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17095         __mmap64 directly.
17096         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17097         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17098         __lseek64 directly.
17099         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17100         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17101         __lseek64 directly.
17102         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17103         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17104         __lseek64 directly.
17105         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17106         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17107         __fxstat64 directly.
17108         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17109         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17110         unconditional.
17111         (freopen64) [!_G_OPEN64]: Remove conditional code.
17112         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17113         unconditional.
17114         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17115         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17116         unconditional.
17117         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17118         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17119         unconditional.
17120         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17121         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17122         unconditional.
17123         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17124         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17125         unconditional.
17126         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17127         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17128         unconditional.
17129         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17130         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17131         unconditional.
17132         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17134 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17136         [BZ #12140]
17137         * manual/memory.texi (Malloc Tunable Parameters): Add note
17138         about free list pointers overwriting some perturb bytes.
17139         Wording suggested by Roland McGrath.
17141 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17143         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17144         (lgamma_test): Likewise.
17145         (tgamma_test): Likewise.
17147 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17149         [BZ #14700]
17150         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17151         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17153 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17155         * NEWS: Mention BZ #14716.
17156         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17157         when removing AVAILABLE1_USES_J macro.
17159 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17161         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17162         (__bswap_64): __uint64_t for unsigned 64-bit int.
17164 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17166         * include/string.h (memmem): Declare libc hidden alias.
17167         * string/memmem.c (memmem): Define libc hidden alias.
17168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17169         __read, __close instead of open, read, close.
17171 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17174         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17175         global and hidden.
17176         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17177         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17178         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17179         Likewise.
17180         (__rawmemchr_sse2): Likewise.
17181         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17182         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17183         (__strchr_sse2): Likewise.
17184         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17185         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17186         (__strcasecmp_sse2): Likewise.
17187         (__strncasecmp_sse2): Likewise.
17188         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17189         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17190         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17191         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17192         (__strrchr_sse2): Likewise.
17193         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17194         ifunc-impl-list.c.
17195         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17196         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17197         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17199         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17200         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17201         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17202         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17203         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17204         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17205         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17206         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17207         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17208         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17209         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17211         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17212         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17213         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17214         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17215         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17216         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17217         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17218         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17219         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17220         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17221         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17222         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17223         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17224         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17226         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17227         global and hidden.
17228         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17229         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17230         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17231         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17232         Likewise.
17233         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17234         Likewise.
17235         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17236         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17237         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17238         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17239         ifunc-impl-list.c.
17240         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17241         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17242         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17243         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17244         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17245         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17246         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17247         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17248         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17249         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17250         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17251         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17252         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17253         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17254         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17255         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17256         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17257         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17258         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17259         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17260         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17261         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17262         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17263         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17264         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17265         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17266         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17267         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17268         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17269         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17270         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17271         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17272         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17273         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17274         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17275         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17276         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17277         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17278         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17279         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17280         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17282         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17283         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17284         * include/ifunc-impl-list.h: New file.
17285         * misc/ifunc-impl-list.c: Likewise.
17286         * misc/Makefile (routines): Add ifunc-impl-list.
17287         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17288         * string/test-string.h: Include <ifunc-impl-list.h>.
17289         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17290         impl_array): New variables.
17291         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17292         are defined.
17293         (test_init): Call __libc_ifunc_impl_list to initialize
17294         func_list if TEST_IFUNC and TEST_NAME are defined.
17296         * string/Makefile (strop-tests): Add bcopy and bzero.
17297         * string/test-bcopy.c: New file.
17298         * string/test-bzero.c: Likewise.
17299         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17300         defined.
17301         * string/test-memset.c: Support bzero test if TEST_BZERO is
17302         defined.
17303         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17304         __libc_memmove.
17305         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17306         __libc_memset.
17307         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17308         of memset.
17310 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17312         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17313         * configure: Regenerated.
17315         * Makeconfig (+link-static-before-libc): Don't include
17316         $(link-static-libc).
17318         * libio/libio.h (_IO_pos_t): Remove.
17320 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17322         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17323         McGrath.
17325 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17327         * crypt/crypt-entry.c: Include fips-private.h.
17328         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17329         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17330         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17331         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17333 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17335         * crypt/crypt-private.h: Include stdbool.h.
17336         (_ufc_setup_salt_r): Return bool.
17337         * crypt/crypt-entry.c: Include errno.h.
17338         (__crypt_r): Return NULL with EINVAL for bad salt.
17339         * crypt/crypt_util.c (bad_for_salt): New.
17340         (_ufc_setup_salt_r): Check that salt is long enough and within
17341         the specified alphabet.
17342         * crypt/badsalttest.c: New file.
17343         * crypt/Makefile (tests): Add it.
17344         ($(objpfx)badsalttest): New.
17346 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17348         * NEWS: Add entry for BZ #14602.
17350 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17352         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17353         type-generic.
17354         * math/libm-test.inc: Update comment listing what functions and
17355         macros are tested.
17356         (isgreater_test): New function.
17357         (isgreaterequal_test): Likewise.
17358         (isless_test): Likewise.
17359         (islessequal_test): Likewise.
17360         (islessgreater_test): Likewise.
17361         (isunordered_test): Likewise.
17362         (main): Call the new functions.
17364 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17366         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17367         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17368         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17369         * sysdeps/i386/configure: Regenerated.
17370         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17371         * sysdeps/mach/configure: Regenerated.
17372         * sysdeps/mach/hurd/configure: Regenerated.
17373         * sysdeps/powerpc/configure: Regenerated.
17374         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17375         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17376         * sysdeps/s390/s390-32/configure: Regenerated.
17377         * sysdeps/s390/s390-64/configure: Regenerated.
17378         * sysdeps/sh/configure: Regenerated.
17379         * sysdeps/sparc/configure: Regenerated.
17380         * sysdeps/unix/sysv/linux/configure: Regenerated.
17381         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17382         * sysdeps/x86_64/configure: Regenerated.
17384         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17385         defined.  Don't check if MAP is NULL.
17387 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17389         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17390         (_G_stat64): Likewise.
17391         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17392         (_G_stat64): Likewise.
17393         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17394         instead of struct _G_stat64.
17395         * libio/fileops.c (mmap_remap_check): Likewise.
17396         (decide_maybe_mmap): Likewise.
17397         (_IO_new_file_seekoff): Likewise.
17398         (_IO_file_stat): Likewise.
17399         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17400         _G_off64_t.
17401         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17402         instead of struct _G_stat64.
17403         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17405 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17407         [BZ #14602]
17408         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17409         Replace with ...
17410         (CHECK_EOL): New macro.
17411         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17412         CHECK_EOL.
17413         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17414         Replace with CHECK_EOL.
17415         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17416         Replace with CHECK_EOL.
17418 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17420         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17421         type-generic.
17422         * math/libm-test.inc: Update comment listing what functions and
17423         macros are tested.
17424         (finite_test): New function.
17425         (isinf_test): Likewise.
17426         (isnan_test): Likewise.
17427         (fpclassify_test): Test subnormal input.
17428         (isfinite_test): Likewise.
17429         (isnormal_test): Likewise.
17430         (main): Call the new functions.
17432 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17434         [BZ #14660]
17435         * Makerules (%.dynsym): Force C locale when running
17436         $(OBJDUMP) --dynamic-syms.
17438 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17440         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17441         <stdint.h>.
17443 2012-10-06  David S. Miller  <davem@davemloft.net>
17445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17446         upper 32-bits of the length value in %o2 since we use branch-on-register
17447         tests which consider the entire 64-bit register.
17449 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17451         * string/test-strstr.c (check2): Add a test for page boundary.
17453 2012-10-05  David S. Miller  <davem@davemloft.net>
17455         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17456         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17457         file.
17458         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17459         sysdep_routines.
17460         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17461         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17462         and bzero when HWCAP_SPARC_CRYPTO is present.
17464 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17466         [BZ #14602]
17467         * string/test-strstr.c (check2): New function.
17468         (test_main): Call check2.
17470         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17471         and bug-strchr1.
17472         * string/bug-strcasestr1.c (do_test): Moved to ...
17473         * string/test-strcasestr.c (check1): Here.  New function.
17474         (do_one_test): Break out result checking code into ...
17475         (check_result): This.  New function.
17476         (do_one_test): Call check_result.
17477         (test_main): Call check1.
17478         * string/bug-strchr1.c (do_test): Moved to ...
17479         * string/test-strchr.c (check1): Here.  New function.
17480         (do_one_test): Break out result checking code into ...
17481         (check_result): This.  New function.
17482         (do_one_test): Call check_result.
17483         (test_main): Call check1.
17484         * string/bug-strstr1.c (main): Moved to ...
17485         * string/test-strstr.c (check1): Here.  New function.
17486         (do_one_test): Break out result checking code into ...
17487         (check_result): This.  New function.
17488         (do_one_test): Call check_result.
17489         (test_main): Call check1.
17490         * string/bug-strcasestr1.c: Removed.
17491         * string/bug-strchr1.c: Likewise.
17492         * string/bug-strstr1.c: Likewise.
17494         * elf/Makefile (dl-routines): Add hwcaps.
17495         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17496         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17497         (_dl_important_hwcaps): Moved to ...
17498         * elf/dl-hwcaps.c: Here.  New file.
17499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17501         [BZ #14557]
17502         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17503         if IS_IN_rtld isn't defined.
17505         * elf/dl-support.c (_dl_sysinfo_map): New.
17506         Include "get-dynamic-info.h" and "setup-vdso.h".
17507         (_dl_non_dynamic_init): Call setup_vdso.
17508         * elf/dynamic-link.h: Don't include <assert.h>.
17509         (elf_get_dynamic_info): Moved to ...
17510         * elf/get-dynamic-info.h: Here.  New file.
17511         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17512         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17513         * elf/setup-vdso.h: Here.  New file.
17514         * elf/rtld.c: Include "setup-vdso.h".
17515         (dl_main): Call setup_vdso.
17517 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17519         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17520         creal in comment listing functions tested.  List finite, isinf,
17521         isnan, isless, islessequal, isgreater, isgreaterequal,
17522         islessgreater, isunordered, lgamma_r and pow10 as functions and
17523         macros not tested.  Mention which functions not tested are aliases
17524         for other functions.  Fix typo.  Note that signs of NaNs are not
17525         tested.
17527         * scripts/config.guess: Update from config.git.
17528         * scripts/config.sub: Likewise.
17530 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17532         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17533         * misc/madvise.c (madvise): Renamed to __madvise.
17534         Make madvise a weak alias.
17535         * include/sys/mman.h: Declare __madvise.
17536         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17537         * sysdeps/unix/syscalls.list
17538         (madvise): Make __madvise the strong name, and madvise a weak alias.
17539         * sysdeps/unix/sysv/linux/syscalls.list
17540         (madvise, mmap): Remove redundant entries.
17541         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17542         * malloc/malloc.c (mtrim): Likewise.
17543         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17545 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17547         * sysdeps/mach/hurd/dl-cache.c: File removed.
17548         * config.h.in (USE_LDCONFIG): New #undef.
17549         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17550         * configure: Regenerated.
17551         * elf/Makefile (dl-routines): Add dl-cache only under
17552         [$(use-ldconfig) = yes].
17553         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17554         cache on [USE_LDCONFIG].
17555         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17556         [USE_LDCONFIG].
17557         * elf/rtld.c (dl_main): Likewise.
17559 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17561         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17562         _SC_LEVEL4_CACHE_LINESIZE.
17564 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17566         * sysdeps/unix/bsd/confstr.h: File removed.
17568 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17570         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17571         sys/sdt-config.h.
17573 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17575         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17576         Make 'mapoff' field ElfW(Off) rather than off_t.
17578 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17580         * nscd/Makefile: Remove nscd-cflags and all its users.
17581         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17582         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17584         [BZ #10631]
17585         * malloc.c (malloc_printerr): Clarify error message.
17587 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17589         [BZ #14648]
17590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17591         Set bit_FMA_Usable if FMA is supported.
17592         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17593         macro.
17594         (bit_FMA4_Usable): Updated.
17595         (index_FMA_Usable): New macro.
17596         (CPUID_FMA): Likewise
17597         (HAS_FMA): Defined with bit_FMA_Usable.
17599 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17601         * bits/types.h (__swblk_t): Type removed.
17602         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17603         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17605         (__SWBLK_T_TYPE): Likewise.
17606         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17607         (__SWBLK_T_TYPE): Likewise.
17608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17609         (__SWBLK_T_TYPE): Likewise.
17610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17611         (__SWBLK_T_TYPE): Likewise.
17613 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17614             Honza Horak <hhorak@redhat.com>
17616         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17617         (xdr_mapname): Use YPMAXMAP as maxsize.
17618         (xdr_peername): Use YPMAXPEER as maxsize.
17619         (xdr_keydat): Use YPAXRECORD as maxsize.
17620         (xdr_valdat): Use YPMAXRECORD as maxsize.
17622 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17624         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17626         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17627         * csu/init-first.c: ... here.
17628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17629         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17630         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17631         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17632         * sysdeps/i386/init-first.c: File removed.
17633         * sysdeps/sh/init-first.c: File removed.
17635 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17637         [BZ #14645]
17638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17639         if x * y might underflow to zero and z is zero.
17640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17642         * math/libm-test.inc (min_subnorm_value): New variable.
17643         (fma_test): Add more tests.
17644         (fma_test_towardzero): Likewise.
17645         (fma_test_downward): Likewise
17646         (fma_test_upward): Likewise.
17647         (initialize): Set min_subnorm_value.
17649 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17651         [BZ #14638]
17652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17653         0 + 0.
17654         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17655         mode for addition resulting in exact zero.
17656         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17658         exact 0 + 0.
17659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17661         * math/libm-test.inc (fma_test): Add more tests.
17662         (fma_test_towardzero): New function.
17663         (fma_test_downward): Likewise.
17664         (fma_test_upward): Likewise.
17665         (main): Call the new functions.
17667 2012-09-28  David S. Miller  <davem@davemloft.net>
17669         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17671 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17673         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17674         instead of SIGALRM.
17676         * sysdeps/gnu/_G_config.h: Moved to ...
17677         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17678         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17679         * sysdeps/generic/_G_config.h: ... here.
17681         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17683         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17685         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17686         Conditionalize target on [libnss_test1.so-version].
17688         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17690         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17691         (elfobjdir): Move out of conditionals.
17693         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17694         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17695         (__nss_lookup_function): Conditionalize label remove_from_tree on
17696         [!DO_STATIC_NSS || SHARED], matching its only use.
17698 2012-09-28  David S. Miller  <davem@davemloft.net>
17700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17701         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17702         file.
17703         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17704         sysdep_routines.
17705         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17707         when HWCAP_SPARC_CRYPTO is present.
17709 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17711         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17713 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17715         [BZ #6530]
17716         * stdio-common/vfprintf.c (process_string_arg): Revert
17717         2000-07-22 change.
17719 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17721         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17722         for testcase.
17723         * stdio-common/tst-sprintf.c: Include <locale.h>
17724         (main): Test sprintf's handling of incomplete multibyte
17725         characters.
17727 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17729         * elf/dl-runtime.c (VERSYMIDX): Removed.
17730         * elf/dl-version.c (VERSYMIDX): Likewise.
17731         * elf/do-rel.h (VERSYMIDX): Likewise.
17732         (VALIDX): Likewise.
17733         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17734         * elf/rtld.c (VALIDX): Likewise.
17735         (ADDRIDX): Likewise.
17736         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17737         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17738         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17739         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17740         (VALIDX): Likewise.
17741         (ADDRIDX): Likewise.
17743 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17745         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17747 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17749         [BZ #11438]
17750         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17751         to global scope.
17752         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17753         addresses are in the same scope as 192.0.2/24.
17754         * posix/gai.conf: Document new scope table defaults.
17756 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17758         [BZ #5298]
17759         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17760         for ftell.  Compute offsets from write pointers instead.
17761         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17763 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17765         [BZ #14543]
17766         * libio/Makefile (tests): New test case tst-fseek.
17767         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17768         combination works in wide mode.
17769         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17770         state when the external buffer state changes.
17772 2012-09-27  David S. Miller  <davem@davemloft.net>
17774         [BZ #14376]
17775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17776         pass reloc->r_addend in as the 'high' argument to
17777         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17781 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17783         * rt/tst-aio2.c: Include <pthread.h>.
17784         * rt/tst-aio3.c: Likewise.
17786 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17788         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17790 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17792         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17793         contents on [SHARED].
17795 2012-09-26  Marek Polacek  <polacek@redhat.com>
17797         [BZ #14530]
17798         [BZ #13741]
17799         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17800         for C++ and GCC <4.3 as well as for non GCC compilers.
17802 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17806 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17808         * Makefile.in (all, install): Declare with .PHONY.
17809         Reported by Michael Hope <michael.hope@linaro.org>.
17811 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17813         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17814         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17815         system header.
17816         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17817         Likewise.
17818         (sydep_routines): Add the new and the internal functions.
17819         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17820         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17822         (GLIBC_2.17): Add the new function.
17823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17824         (GLIBC_2.17): Likewise.
17825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17826         (GLIBC_2.17): Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17828         (GLIBC_2.17): Likewise.
17829         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17831 2012-09-25  Alan Modra  <amodra@gmail.com>
17833         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17834         Add release barrier before setting once_control to say
17835         initialisation is done.  Add hints on lwarx.  Use macro in
17836         place of isync.
17837         (clear_once_control): Add release barrier.
17839 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17841         [BZ #13629]
17842         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17843         specially.
17844         * math/s_clog10.c (__clog10): Likewise.
17845         * math/s_clog10f.c (__clog10f): Likewise.
17846         * math/s_clog10l.c (__clog10l): Likewise.
17847         * math/s_clogf.c (__clogf): Likewise.
17848         * math/s_clogl.c (__clogl): Likewise.
17849         * math/Makefile (libm-calls): Add x2y2m1.
17850         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17851         (__x2y2m1): Likewise.
17852         (__x2y2m1l): Likewise.
17853         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17854         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17857         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17858         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17859         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17860         * sysdeps/i386/fpu/libm-test-ulps: Update.
17861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17863         [BZ #14621]
17864         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17865         int as type of variable DEPTH.
17866         (glob): Use size_t instead of int as type of variables NEWCOUNT
17867         and OLD_PATHC.
17869 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17871         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17872         Add s_sincosf-sse2.
17873         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17874         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17875         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17876         macros for using routine as __sincosf_ia32.
17877         Use macro for function declaration and weak_alias.
17878         * sysdeps/i386/fpu/libm-test-ulps: Update.
17880         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17883         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17884         subnormal argument.
17885         * math/s_cexpf.c (__cexpf): Likewise.
17886         * math/s_csinf.c (__csinf): Likewise.
17887         * math/s_csinhf.c (__csinhf): Likewise.
17888         * math/s_ctanf.c (__ctanf): Likewise.
17889         * math/s_ctanhf.c (__ctanhf): Likewise.
17890         * math/s_ccosh.c (__ccoshf): Likewise.
17891         * math/s_cexp.c (__cexpl): Likewise.
17892         * math/s_csin.c (__csin): Likewise.
17893         * math/s_csinh.c (__csinh): Likewise.
17894         * math/s_ctan.c (__ctan): Likewise.
17895         * math/s_ctanh.c (ctanh): Likewise.
17896         * math/s_ccoshl.c (__ccoshl): Likewise.
17897         * math/s_cexpl.c (__cexpl): Likewise.
17898         * math/s_csinl.c (__csinl): Likewise.
17899         * math/s_csinhl.c (__csinhl): Likewise.
17900         * math/s_ctanl.c (__ctanl): Likewise.
17901         * math/s_ctanhl.c (__ctanhl): Likewise.
17903 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17905         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17906         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17907         (_IO_off_t): Define to __off_t, not _G_off_t.
17908         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17909         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17910         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17911         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17912         type of __dummy and __dummy2 fields.
17913         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17914         (_G_ssize_t): Likewise.
17915         (_G_off_t): Likewise.
17916         (_G_pid_t): Likewise.
17917         (_G_uid_t): Likewise.
17918         (_G_wchar_t): Likewise.
17919         (_G_wint_t): Likewise.
17920         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17921         (_G_ssize_t): Likewise.
17922         (_G_off_t): Likewise.
17923         (_G_pid_t): Likewise.
17924         (_G_uid_t): Likewise.
17925         (_G_wchar_t): Likewise.
17926         (_G_wint_t): Likewise.
17927         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17928         (_G_ssize_t): Likewise.
17929         (_G_off_t): Likewise.
17930         (_G_pid_t): Likewise.
17931         (_G_uid_t): Likewise.
17932         (_G_wchar_t): Likewise.
17933         (_G_wint_t): Likewise.
17935 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937         * malloc/arena.c: Include malloc-sysdep.h.
17938         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17939         is sufficient to shrink the heap or an unmap is needed.
17940         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17941         new function check_may_shrink_heap.
17942         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17943         new function check_may_shrink_heap.
17945 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17947         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17948         comments.
17950 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17952         * catgets/test-gencat.sh: Add "set -e".
17953         * elf/tst-pathopt.sh: Likewise.
17954         * grp/tst_fgetgrent.sh: Likewise.
17955         * iconvdata/run-iconv-test.sh: Likewise.
17956         * intl/tst-gettext.sh: Likewise.
17957         * intl/tst-gettext2.sh: Likewise.
17958         * intl/tst-gettext4.sh: Likewise.
17959         * intl/tst-gettext6.sh: Likewise.
17960         * intl/tst-translit.sh: Likewise.
17961         * io/ftwtest-sh: Likewise.
17962         * libio/test-freopen.sh: Likewise.
17963         * malloc/tst-mtrace.sh: Likewise.
17964         * posix/globtest.sh: Likewise.
17965         * posix/tst-getconf.sh: Likewise.
17966         * posix/wordexp-tst.sh: Likewise.
17967         * stdio-common/tst-printf.sh: Likewise.
17968         * stdio-common/tst-unbputc.sh: Likewise.
17969         * stdlib/tst-fmtmsg.sh: Likewise.
17970         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17971         * catgets/Makefile: Do not specify -e option when running
17972         testsuite shell scripts.
17973         * elf/Makefile: Likewise.
17974         * grp/Makefile: Likewise.
17975         * iconvdata/Makefile: Likewise.
17976         * intl/Makefile: Likewise.
17977         * io/Makefile: Likewise.
17978         * libio/Makefile: Likewise.
17979         * malloc/Makefile: Likewise.
17980         * posix/Makefile: Likewise.
17981         * stdio-common/Makefile: Likewise.
17982         * stdlib/Makefile: Likewise.
17983         * sysdeps/x86_64/Makefile: Likewise.
17985         * io/ftwtest-sh: Add copyright header.
17986         * posix/globtest.sh: Likewise.
17987         * posix/tst-getconf.sh: Likewise.
17988         * posix/wordexp-tst.sh: Likewise.
17989         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17991 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17993         [BZ #13679]
17994         * Makeconfig (+link): Defined as $(+link-static) if
17995         $(build-shared) isn't yes.
17996         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17997         isn't yes.
17998         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18000         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18002         [BZ #14562]
18003         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18004         new chunk size with MALLOC_ALIGN_MASK.
18006 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18008         [BZ #5044]
18009         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18010         <rounding-mode.h>.
18011         (__printf_fphex): Determine rounding using get_rounding_mode and
18012         round_away.
18013         * stdio-common/tst-printf-round.c (struct hex_test): New
18014         structure.
18015         (hex_tests): New variable.
18016         (test_hex_in_one_mode): New function.
18017         (do_test): Also run tests for hex float output.
18019 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18021         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18023         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18024         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18025         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18026         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18027         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18028         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18030 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18032         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18033         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18034         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18035         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18037 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18039         [BZ #14579]
18040         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18041         mode only.
18042         * elf/tst-rtld-load-self.sh: New test.
18043         * elf/Makefile: Run it.
18045 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18047         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18048         (tst-writev-ENV): Remove.
18049         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18051 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18053         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18055 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18057         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18058         unconditional.
18059         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18060         Likewise.
18061         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18062         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18063         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18064         Likewise.
18066 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18068         [BZ #14587]
18069         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18070         * config.make.in (have-cpp-asm-debuginfo): Removed.
18071         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18072         * configure: Regenerated.
18074 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18076         [BZ #5044]
18077         * stdio-common/printf_fp.c: Include <stdbool.h> and
18078         <rounding-mode.h>.
18079         (___printf_fp): Determine rounding using get_rounding_mode and
18080         round_away.
18081         * stdio-common/tst-printf-round.c: New file.
18082         * stdio-common/Makefile (tests): Add tst-printf-round.
18083         (link-libm): New variable.
18084         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18086 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18088         [BZ #14576]
18089         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18090         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18091         Likewise.
18092         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18093         Likewise.
18095 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18097         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18098         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18099         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18100         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18102 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18104         [BZ #14518]
18105         * include/rounding-mode.h: New file.
18106         * sysdeps/generic/get-rounding-mode.h: Likewise.
18107         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18108         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18109         (MAX_VALUE): New macro.
18110         (MIN_VALUE): Likewise.
18111         (overflow_value): New function.
18112         (underflow_value): Likewise.
18113         (round_and_return): Use overflow_value and underflow_value to
18114         determine return values in overflow and underflow cases.  Use
18115         round_away to determine rounding depending on rounding mode.
18116         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18117         determine return values in overflow and underflow cases.
18118         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18119         (struct test_results): New structure.
18120         (struct test): Use struct test_results to store expected results
18121         for all rounding modes.
18122         (TEST): Include expected results for all rounding modes.
18123         (test_in_one_mode): New function.
18124         (do_test): Use test_in_one_mode to compute and check results.
18125         Check results for all rounding modes.
18126         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18127         $(link-libm).
18129 2012-12-09  Allan McRae  <allan@archlinux.org>
18131         * sysdeps/i386/fpu/libm-test-ulps: Update
18133 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18135         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18136         (_G_int32_t): Likewise.
18137         (_G_uint16_t): Likewise.
18138         (_G_uint32_t): Likewise.
18139         (_G_HAVE_BOOL): Likewise.
18140         (_G_HAVE_ATEXIT): Likewise.
18141         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18142         (_G_HAVE_IO_FILE_OPEN): Likewise.
18143         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18144         (_G_int32_t): Likewise.
18145         (_G_uint16_t): Likewise.
18146         (_G_uint32_t): Likewise.
18147         (_G_HAVE_BOOL): Likewise.
18148         (_G_HAVE_ATEXIT): Likewise.
18149         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18150         (_G_HAVE_IO_FILE_OPEN): Likewise.
18151         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18152         (_G_int32_t): Likewise.
18153         (_G_uint16_t): Likewise.
18154         (_G_uint32_t): Likewise.
18155         (_G_HAVE_BOOL): Likewise.
18156         (_G_HAVE_ATEXIT): Likewise.
18157         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18158         (_G_HAVE_IO_FILE_OPEN): Likewise.
18160 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18162         * csu/libc-tls.c: Update copyright years.
18164 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18166         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18167         [!_G_USING_THUNKS]: Remove conditional code.
18168         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18169         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18171         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18172         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18173         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18174         (_G_VTABLE_LABEL_PREFIX): Likewise.
18175         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18176         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18177         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18178         (_G_VTABLE_LABEL_PREFIX): Likewise.
18179         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18180         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18182         (_G_VTABLE_LABEL_PREFIX): Likewise.
18183         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18185 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18187         * libio/Makefile: Include ../Makeconfig before tests.
18188         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18189         only if $(build-shared) is yes.
18191         * iconv/gconv_db.c: Update copyright years.
18193 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18195         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18196         unwind info if defined PIC. Fix special cases description.
18197         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18199         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18200         DP_HI_MASK entry.
18201         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18203 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18205         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18207         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18208         is NULL.
18210         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18211         (LDLIBS-tst-chk4): This.
18212         (LDFLAGS-tst-chk5): Renamed to ...
18213         (LDLIBS-tst-chk5): This.
18214         (LDFLAGS-tst-chk6): Renamed to ...
18215         (LDLIBS-tst-chk6): This.
18216         (LDFLAGS-tst-lfschk4): Renamed to ...
18217         (LDLIBS-tst-lfschk4): This.
18218         (LDFLAGS-tst-lfschk5): Renamed to ...
18219         (LDLIBS-tst-lfschk5): This.
18220         (LDFLAGS-tst-lfschk6): Renamed to ...
18221         (LDLIBS-tst-lfschk6): This.
18223         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18224         on $(common-objpfx)soversions.mk.
18226 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18228         [BZ #10014]
18229         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18230         example host name.
18232 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18234         * malloc/arena.c (arena_get_retry): New function that gets
18235         another arena for the caller to try its request on.
18236         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18237         current arena cannot fulfill the request.
18238         (__libc_memalign): Likewise.
18239         (__libc_memalign): Likewise.
18240         (__libc_pvalloc): Likewise.
18241         (__libc_calloc): Likewise.
18243 2012-09-05  John Tobey  <john.tobey@gmail.com>
18245         [BZ #13542]
18246         * manual/arith.texi (Operations on Complex): Fix description
18247         of carg branch cut.
18249 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18251         [BZ #10014]
18252         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18253         host name.
18255         [BZ #10038]
18256         * manual/memory.texi (Memory): Make order of menu items match
18257         order of sections.
18259 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18261         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18262         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18263         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18267         * csu/libc-tls.c (static_dtv): Renamed to ...
18268         (_dl_static_dtv): This.  Make it global.
18269         (_dl_initial_dtv): Removed.
18270         (__libc_setup_tls): Updated.
18271         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18272         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18273         DL_INITIAL_DTV.
18275 2012-09-06  Petr Machata  <pmachata@redhat.com>
18277         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18278         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18279         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18280         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18284         [BZ #14545]
18285         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18286         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18287         freeing dtv[-1].
18289 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18291         [BZ #14544]
18292         * Makeconfig (link-static-before-libc): Replace $(+prector)
18293         with $(+prectorT).
18294         (link-static-after-libc): Replace $(+postctor) with
18295         $(+postctorT).
18296         (link-bounded): Replace $(+prector)/$(+postctor) with
18297         $(+prectorT)/$(+postctorT).
18298         (+prectorT): New macro.
18299         (+postctorT): Likewise.
18301 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18303         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18304         (round_str): Handle values above the maximum for IBM long double
18305         as inexact.
18306         * stdlib/tst-strtod-round.c (tests): Regenerated.
18308 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18310         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18311         assembler flag.
18312         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18313         zarch_nohighgprs around the zarch optimized routines.
18314         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18315         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18316         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18317         for zarch.
18319 2012-09-05  David S. Miller  <davem@davemloft.net>
18321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18323         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18324         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18325         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18326         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18327         entries.
18329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18331         * malloc/arena.c: Fold copyright years.
18332         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18334 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18336         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18340         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18342 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18344         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18345         change internal state upon failure.
18347 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18349         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18350         * malloc/memusage.c (mmap): Likewise.
18351         (mmap64, mremap): Likewise.  Adjust name in comment.
18353 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18355         * libio/fileops.c: Fix typos in comments.
18356         * libio/oldfileops.c: Likewise.
18357         * libio/wfileops.c: Likewise.
18359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18361         [BZ #1349]
18362         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18363         (tst-malloc-usable-ENV): Set environment for test case.
18364         * malloc/hooks.c (malloc_check_get_size): New function to get
18365         requested size.
18366         * malloc/malloc.c (musable): Use malloc_check_get_size.
18367         * malloc/tst-malloc-usable.c: New test case.
18369 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18371         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18373 2012-09-05  Allan McRae  <allan@archlinux.org>
18375         [BZ #13966]
18376         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18377         determine header location.
18378         * configure: Regenerated.
18380 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18382         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18383         float format.
18384         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18385         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18386         format.
18387         (test): Regenerate.
18389 2012-09-04  David S. Miller  <davem@davemloft.net>
18391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18393         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18395 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18397         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18398         failures.
18400         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18402 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18404         [BZ #9914]
18405         * libio/iogetdelim.c: Include <limits.h>.
18406         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18407         + len + 1 would overflow.
18409 2012-09-03  Andreas Jaeger  <aj@suse.de>
18411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18412         * sysdeps/i386/fpu/libm-test-ulps: Update.
18414 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18416         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18417         Add s_sinf-sse2, s_conf-sse2.
18419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18420         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18421         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18422         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18424         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18425         for using routine as __sinf_ia32.
18426         Use macro for function declaration and weak_alias.
18427         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18428         for using routine as __cosf_ia32.
18429         Use macro for function declaration and weak_alias.
18431         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18432         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18434         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18435         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18438         * math/libm-test.inc (cos_test): Add more test cases.
18439         (sin_test): Likewise.
18440         (sincos_test): Likewise.
18442 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18445         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18446         hidden.
18447         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18449 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18451         [BZ #14538]
18452         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18453         first element of the GOT.
18454         (elf_machine_load_address): Return the difference between
18455         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18457 2012-09-01  Allan McRae  <allan@archlinux.org>
18459         [BZ #13412]
18460         * configure.in (AWK): Require gawk version 3.0 or later.
18461         * configure: Regenerated.
18463 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18465         * sysdeps/unix/sysv/linux/kernel-features.h
18466         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18467         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18468         [__NR_clock_getres]: Make code unconditional.
18469         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18470         (clock_getcpuclockid): Remove code left unreachable by removal of
18471         conditionals.
18472         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18473         code unconditional.
18474         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18476         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18477         Make code unconditional.
18478         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18479         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18480         * sysdeps/unix/sysv/linux/clock_settime.c
18481         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18482         conditional code.
18483         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18484         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18486 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18488         [BZ #14476]
18489         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18490         scripts/test-installation.pl.
18492         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18493         and $ld_so_version if it is set.
18495 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18497         [BZ #14516]
18498         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18499         failure if reading from procfs failed.
18500         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18502 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18504         * sysdeps/unix/sysv/linux/kernel-features.h
18505         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18506         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18507         Remove conditional code.
18508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18509         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18510         Remove conditional code.
18511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18512         * sysdeps/unix/sysv/linux/i386/fxstat.c
18513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18515         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18518         * sysdeps/unix/sysv/linux/i386/lxstat.c
18519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18521         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18522         Remove conditional code.
18523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18524         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18525         Remove conditional code.
18526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18527         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18528         <kernel-features.h>.
18529         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18530         Remove.
18531         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18532         Remove conditional code.
18533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18534         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18535         Remove conditional.
18537 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18539         [BZ #5400]
18540         * NEWS: Add fixed bug number.
18542 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18544         [BZ #14519]
18545         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18546         underflowing exponent in case of negative sign.
18547         * stdlib/tst-strtod-round-data: Add more tests.
18548         * stdlib/tst-strtod-round.c (tests): Regenerated.
18550         [BZ #3479]
18551         * stdlib/strtod_l.c (NDIG): Remove.
18552         (HEXNDIG): Likewise.
18553         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18554         smallest representable value.
18555         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18556         lie within an exact representation of 1/2 ulp of the result.
18557         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18558         unconditionally.
18559         (TENS_P9_IDX): Define unconditionally.
18560         (TENS_P9_SIZE): Likewise.
18561         (TENS_P10_IDX): Likewise.
18562         (TENS_P10_SIZE): Likewise.
18563         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18564         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18565         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18566         entries for 10^2^13 and 10^2^14.
18567         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18568         (TENS_P13_IDX): Define.
18569         (TENS_P13_SIZE): Likewise.
18570         (TENS_P14_IDX): Likewise.
18571         (TENS_P14_SIZE): Likewise.
18572         (_fpioconst_pow10): Change array size to
18573         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18574         unconditional.
18575         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18576         1024]: Add entries for 10^2^13 and 10^2^14.
18577         [LAST_POW10 > _LAST_POW10]: Remove #error.
18578         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18579         (_fpioconst_pow10): Change array size to
18580         FPIOCONST_POW10_ARRAY_SIZE.
18581         * stdlib/gen-fpioconst.c: New file.
18582         * stdlib/gen-tst-strtod-round.c: Likewise.
18583         * stdlib/tst-strtod-round-data: Likewise.
18584         * stdlib/tst-strtod-round.c: Likewise.
18585         * stdlib/Makefile (tests): Add tst-strtod-round.
18587         [BZ #14459]
18588         * stdlib/strtod_l.c: Include <stdint.h>.
18589         (NDEBUG): Do not define.
18590         (round_and_return): Change EXPONENT parameter to type intmax_t.
18591         Rearrange calculations to avoid internal overflow possibilities.
18592         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18593         Rearrange calculations to avoid internal overflow possibilities.
18594         Assert that number fits inside MPNSIZE limbs.
18595         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18596         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18597         calculations and add assertions to avoid internal overflow
18598         possibilities.  Add casts to avoid signed/unsigned operations.
18599         * stdlib/tst-strtod-overflow.c: New file.
18600         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18602 2012-08-25  Marek Polacek  <polacek@redhat.com>
18604         * time/time.h: Fix some typos in comments.
18606 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18608         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18609         * posix/tst-rfc3484-2.c: Likewise.
18610         * posix/tst-rfc3484-3.c: Likewise.
18612 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18614         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18615         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18617 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18619         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18620         #include of fxstatat64.c.
18622 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18624         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18625         * shadow/getspent_r.c: Likewise.
18626         * shadow/getspnam.c: Likewise.
18627         * shadow/getspnam_r.c: Likewise.
18628         * gshadow/getsgent.c: Likewise.
18629         * gshadow/getsgent_r.c: Likewise.
18630         * gshadow/getsgnam.c: Likewise.
18631         * gshadow/getsgnam_r.c: Likewise.
18632         * inet/getnetbyad.c: Likewise.
18633         * inet/getnetbyad_r.c: Likewise.
18634         * inet/getnetbynm.c: Likewise.
18635         * inet/getnetbynm_r.c: Likewise.
18636         * inet/getnetent.c: Likewise.
18637         * inet/getnetent_r.c: Likewise.
18638         * inet/getproto.c: Likewise.
18639         * inet/getproto_r.c: Likewise.
18640         * inet/getprtent.c: Likewise.
18641         * inet/getprtent_r.c: Likewise.
18642         * inet/getprtname.c: Likewise.
18643         * inet/getprtname_r.c: Likewise.
18644         * inet/getrpcbyname.c: Likewise.
18645         * inet/getrpcbyname_r.c: Likewise.
18646         * inet/getrpcbynumber.c: Likewise.
18647         * inet/getrpcbynumber_r.c: Likewise.
18648         * inet/getrpcent.c: Likewise.
18649         * inet/getrpcent_r.c: Likewise.
18650         * inet/getaliasent.c: Likewise.
18651         * inet/getaliasent_r.c: Likewise.
18652         * inet/getaliasname.c: Likewise.
18653         * inet/getaliasname_r.c: Likewise.
18654         * nscd/getgrgid_r.c: Likewise.
18655         * nscd/getgrnam_r.c: Likewise.
18656         * nscd/gethstbyad_r.c: Likewise.
18657         * nscd/gethstbynm3_r.c: Likewise.
18658         * nscd/getpwnam_r.c: Likewise.
18659         * nscd/getpwuid_r.c: Likewise.
18660         * nscd/getsrvbynm_r.c: Likewise.
18661         * nscd/getsrvbypt_r.c: Likewise.
18662         * nscd/gai.c: Likewise.
18664         * configure.in (build_nscd): New substituted variable, set
18665         by --disable-build-nscd and defaults to $use_nscd.
18666         * configure: Regenerated.
18667         * config.make.in (build-nscd): New substituted variable.
18668         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18669         Change conditional to require [$(build-nscd) = yes] as well.
18670         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18672         [BZ# 13696]
18673         * configure.in (use_nscd): New substituted variable, set by
18674         --disable-nscd.  If enabled, define USE_NSCD.
18675         * configure: Regenerated.
18676         * config.h.in: Add USE_NSCD.
18677         * config.make.in (use-nscd): New substituted variable.
18678         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18679         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18680         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18681         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18682         (CFLAGS-getgrnam_r.c): Likewise.
18683         (CFLAGS-initgroups.c): Likewise.
18684         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18685         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18686         Variables removed.
18687         * inet/getnetgrent_r.c
18688         (nscd_setnetgrent): New function, broken out of ...
18689         (setnetgrent): ... here.  Call it.
18690         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18691         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18692         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18693         * nscd/Makefile (routines, aux): Move definitions after include of
18694         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18695         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18696         Conditionalize on [USE_NSCD].
18697         (is_nscd, nscd_init_cb): Likewise.
18698         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18699         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18700         * nss/nss_db/db-init.c: Likewise.
18701         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18702         [USE_NSCD].
18703         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18704         (make_request): Use it.
18705         (cache_valid_p): New function.
18706         (__check_pf): Use it.
18707         * NEWS: Add item for --disable-nscd.
18709 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18711         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18712         to support sed >= 4.2.1-20-ga9bf076.
18713         * configure: Regenerated.
18715 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18717         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18718         Conditionalize whole body on [IREL].
18720 2012-08-22  Jeff Law <law@redhat.com>
18722         [BZ #14505]
18723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18724         if the family is PF_UNSPEC.
18726 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18728         * Makerules (lib-version): Rename from V.
18729         (install-lib-nosubdir): Change V to lib-version.
18731 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18733         [BZ #14252]
18734         * powerpc32/power6/wcschr.c: New file.
18735         * powerpc32/power6/wcscpy.c: New file.
18736         * powerpc32/power6/wcsrchr.c: New file.
18737         * powerpc64/power6/wcschr.c: New file.
18738         * powerpc64/power6/wcscpy.c: New file.
18739         * powerpc64/power6/wcsrchr.c: New file.
18741 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18743         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18744         (two_way_short_needle): Use it.
18745         * string/strstr.c (AVAILABLE1_USES_J): Define.
18746         * string/strcasestr.c: Likewise.
18748         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18749         array references.
18750         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18752         [BZ #11607]
18753         * NEWS: Add an entry.
18754         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18755         define their defaults.
18756         (two_way_short_needle): Detect end-of-string on-the-fly.
18757         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18758         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18759         * string/bug-strcasestr1.c: New test.
18760         * string/Makefile: Run it.
18762 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18764         [BZ #11607]
18765         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18766         the first character.
18768 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18770         * csu/elf-init.c (__libc_csu_irel): Function removed.
18771         * csu/libc-start.c (apply_irel): New function.
18772         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18774 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18776         * sysdeps/unix/sysv/linux/kernel-features.h
18777         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18778         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18779         <kernel-features.h>.
18780         [__NR_fadvise64_64]: Make code unconditional.
18781         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18782         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18783         !__NR_fadvise64_64)]: Likewise.
18784         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18785         !__NR_fadvise64_64))]: Likewise.
18786         [__NR_fadvise64]: Make code unconditional.
18787         [!__NR_fadvise64]: Remove conditional code.
18788         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18789         <kernel-features.h>.
18790         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18791         unconditional.
18792         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18793         conditional code.
18794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18795         not include <kernel-features.h>.
18796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18797         unconditional.
18798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18799         conditional code.
18800         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18801         include <kernel-features.h>.
18802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18803         unconditional.
18804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18805         conditional code.
18807 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18809         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18810         slight instruction rearrangements per scrollpipe analysis.
18811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18813 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18815         * manual/syslog.texi (syslog; vsyslog, closelog):
18816         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18817         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18819         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18820         DSOCAPS to match condition on defining it.
18822 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18824         * sysdeps/unix/sysv/linux/kernel-features.h
18825         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18836         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18837         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18839         * sysdeps/unix/sysv/linux/kernel-features.h
18840         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18841         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18842         unconditional.
18843         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18844         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18845         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18846         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18847         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18848         Make code unconditional.
18849         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18850         (__mmap64) [!__NR_mmap2]: Likewise.
18851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18852         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18853         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18855         [__NR_mmap2]: Make code unconditional.
18856         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18857         (__mmap64) [!__NR_mmap2]: Likewise.
18859 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18861         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18863 2012-08-18  Andreas Jaeger  <aj@suse.de>
18865         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18867 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18869         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18870         * include/unistd.h (__have_sock_cloexec): Likewise.
18871         (__have_pipe2): Likewise.
18872         (__have_dup3): Likewise.
18874 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18876         [BZ #9685]
18877         * include/unistd.h (__have_pipe2): Change define into an extern int.
18878         (__have_dup3): Likewise.
18879         * socket/have_sock_cloexec.c: Include fcntl.h.
18880         (__have_pipe2): New variable.
18881         (__have_dup3): Likewise.
18883 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18885         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18887 2012-08-17  Marek Polacek  <polacek@redhat.com>
18889         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18890         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18892 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18894         * configure.in: Add AC_SUBST for sysheaders.
18895         * configure: Regenerated.
18896         * config.make.in (sysheaders): New substituted variable.
18898         * sysdeps/unix/mkfifo.c: Moved ...
18899         * sysdeps/posix/mkfifo.c: ... here.
18900         * sysdeps/unix/mkfifoat.c: Moved ...
18901         * sysdeps/posix/mkfifoat.c: ... here.
18903         * sysdeps/unix/utime.c: Moved ...
18904         * sysdeps/posix/utime.c: ... here.
18906         * sysdeps/unix/time.c: Moved ...
18907         * sysdeps/posix/time.c: ... here.
18908         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18909         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18911         * sysdeps/unix/nice.c: Moved ...
18912         * sysdeps/posix/nice.c: ... here.
18914         * sysdeps/unix/alarm.c: Moved ...
18915         * sysdeps/posix/alarm.c: ... here.
18917         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18919 2012-08-17  Jeff Law <law@redhat.com>
18921         * intl/Makefile (codeset_mo): New variable.
18922         ($(codeset_mo)): New target.
18923         (tst-codeset.out): Depend on that.  Remove explicit rule.
18924         (tst-gettext3.out, tst-gettext5.out): Likewise.
18925         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18926         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18927         * intl/tst-codeset.sh: Remove.
18928         * intl/tst-gettext3.sh: Likewise.
18929         * intl/tst-gettext5.sh: Likewise.
18931 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18933         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18934         * sysdeps/unix/syscalls.list: ... here.
18936         * sysdeps/posix/getaddrinfo.c
18937         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18938         (gaiconf_init, gaiconf_reload): Use them.
18939         [!_STATBUF_ST_NSEC]
18940         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18941         Define using time_t rather than struct timespec.
18943         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18944         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18945         Macros removed.
18946         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18947         [!NO_THREADS].
18948         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18949         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18950         Likewise.
18952         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18953         __libc_cleanup_push argument.
18955         * bits/param.h: New file.
18956         * misc/sys/param.h: New file.
18957         * include/sys/param.h: New file.
18958         * misc/Makefile (headers): Add bits/param.h.
18959         * sysdeps/generic/sys/param.h: File removed.
18960         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18961         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18962         * sysdeps/mach/hurd/bits/param.h: New file.
18963         * sysdeps/mach/hurd/sys/param.h: File removed.
18965         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18966         last change.
18968         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18969         [_IO_MTSAFE_IO].
18970         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18971         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18972         New macros.
18974         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18975         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18976         rather than -D_IO_MTSAFE_IO conditionally.
18977         * stdio-common/Makefile (CPPFLAGS): Likewise.
18978         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18979         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18980         Use $(libio-mtsafe).
18981         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18982         of -D_IO_MTSAFE_IO.
18983         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18984         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18985         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18986         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18987         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18988         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18989         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18990         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18991         (CFLAGS-fread_u_chk.c): Likewise.
18992         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18993         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18994         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18995         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18996         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18997         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18998         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18999         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19000         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19002         * libio/Makefile: Test [$(libc-reentrant) = yes]
19003         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19005         * Makeconfig
19006         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19007         * sysdeps/pthread/configure: File removed.
19008         * sysdeps/pthread/Makeconfig: New file.
19009         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19010         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19012 2012-08-16  Gary Benson  <gbenson@redhat.com>
19014         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19015         unmapping the first object in a namespace.
19017 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19019         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19020         (__internal_setnetgrent): ... this.  Add internal_function to
19021         definition.  Add libc_hidden_def.
19022         (setnetgrent): Update caller.
19023         (internal_endnetgrent): Renamed to ...
19024         (__internal_endnetgrent): ... this.  Add internal_function to
19025         definition.  Add libc_hidden_def.
19026         (endnetgrent): Update caller.
19027         (internal_getnetgrent_r): Renamed to ...
19028         (__internal_getnetgrent_r): ... this.  Add internal_function to
19029         definition.  Add libc_hidden_def.
19030         (__getnetgrent_r): Update caller.
19031         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19033 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19035         * stdlib/longlong.h: Update from GCC.
19037 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19039         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19040         on _QL, which is set by umul_ppmm but never used.
19041         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19042         variables, which are set by GMP macros but never used.
19043         * stdio-common/_itowa.c (_itowa): Likewise.
19044         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19045         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19047 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19049         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19050         struct La_sh_regs is not constant.
19051         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19052         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19053         and struct La_sparc64_regs are not constant.
19055 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19057         * sysdeps/unix/sysv/linux/kernel-features.h
19058         (__ASSUME_POSIX_TIMERS): Remove.
19059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19061         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19062         Make code unconditional.
19063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19064         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19065         Make code unconditional.
19066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19067         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19068         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19070         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19071         Make code unconditional.
19072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19073         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19074         (__libc_missing_posix_timers): Remove.
19076 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19078         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19079         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19081         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19083         * elf/dl-sym.c: Include <stdlib.h>.
19085         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19086         constants, which avoids warnings in 32-bit builds.
19088         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19089         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19091         * misc/lseek.c: File moved to ...
19092         * io/lseek.c: ... here.
19094         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19096         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19097         shifting LEN more than 31 bits at once.
19099 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19101         [BZ #14195]
19102         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19103         segmentation fault for a case of two empty input strings.
19104         * string/test-strncasecmp.c (check1): Renamed to...
19105         (bz12205): ...this.
19106         (bz14195): Add new testcase for two empty input strings and N > 0.
19107         (test_main): Call new testcase, adapt for renamed function.
19109 2012-08-15  Andreas Jaeger  <aj@suse.de>
19111         [BZ #14090]
19112         * crypt/md5test2.c: New test, based on test supplied by Serge
19113         Belyshev <belyshev@depni.sinp.msu.ru>.
19114         * crypt/Makefile (xtests): Add md5test-giant..
19115         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19117 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19119         [BZ #14090]
19120         * crypt/md5.c (md5_process_block): Don't assume the buffer
19121         length is less than 2**32.
19122         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19123         length is less than 2**64.
19125 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19127         * string/str-two-way.h: Include <sys/param.h>.
19128         (MAX): Macro removed.
19130         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19131         Move #define and #undef of memmove to just before and after
19132         including <string.h>.
19134         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19135         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19136         and after including <string.h>.  Move declarations of
19137         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19138         to before #include "string/memmove.c".
19140         * include/dirent.h: Declare __getdirentries.
19142         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19143         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19145 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19147         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19148         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19149         * sysdeps/i386/configure: Regenerated.
19150         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19151         STABS_CURRENT_FILE, and STABS_FUN.
19152         (END): Remove call to STABS_FUN_END.
19153         (STABS_CURRENT_FILE1): Delete.
19154         (STABS_CURRENT_FILE): Likewise.
19155         (STABS_FUN): Likewise.
19156         (STABS_FUN_END): Likewise.
19157         (STABS_FUN2): Likewise.
19158         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19159         * sysdeps/x86_64/configure: Regenerated.
19161 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19163         * elf/dl-open.c: Include <atomic.h>.
19164         * elf/dl-lookup.c: Likewise.
19166 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19168         * sysdeps/unix/sysv/linux/kernel-features.h
19169         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19170         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19171         unconditionally.
19172         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19173         unconditionally.
19174         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19175         condition on __ASSUME_CLONE_THREAD_FLAGS.
19177 2012-08-14  Andreas Jaeger  <aj@suse.de>
19179         * sysdeps/i386/fpu/libm-test-ulps: Update.
19181 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19183         * include/atomic.h (atomic_exchange_and_add): Split into ...
19184         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19185         New atomic macros.
19187 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19191 2012-08-13  Jeff Law <law@redhat.com>
19193         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19194         null byte in the output string.
19196 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19198         * sysdeps/unix/sysv/linux/kernel-features.h
19199         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19200         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19201         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19202         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19203         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19204         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19205         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19207 2012-08-09  Jeff Law <law@redhat.com>
19209         [BZ #13939]
19210         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19211         When avoid_arena is set, don't retry in the that arena.  Pick the
19212         next one, whatever it might be.
19213         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19214         (arena_lock): Pass in new parameter to arena_get2.
19215         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19216         arena_get2.
19217         (__libc_malloc): Unify retrying after main arena failure with
19218         __libc_memalign version.
19219         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19221 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19223         [BZ #14166]
19224         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19225         to __redirect_strstr.
19226         (__strstr_sse42): Use typeof __redirect_strstr.
19227         (__strstr_ia32): Likewise.
19228         (__libc_strstr): New prototype.
19229         (strstr): Renamed to ...
19230         (__libc_strstr): This.
19231         (strstr): New strong alias of __libc_strstr.
19232         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19233         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19234         __redirect_time.
19235         Include <time.h>.
19236         (__libc_time): New prototype.
19237         (time_ifunc): Replace time with __libc_time.
19238         (time): New strong alias and hidden definition of __libc_time.
19239         (__GI_time): Remove strong alias.
19240         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19241         Include <stddef.h>.
19242         (memmove): Redefined to __redirect_memmove.
19243         (__memmove_sse2): Use typeof __redirect_memmove.
19244         (__memmove_ssse3): Likewise.
19245         (__memmove_ssse3_back): Likewise.
19246         (__libc_memmove): New prototype.
19247         (memmove): Renamed to ...
19248         (__libc_memmove): This.
19249         (memmove): New strong alias of __libc_memmove.
19251 2012-08-08  Mark Salter  <msalter@redhat.com>
19253         * elf/elf.h
19254         (R_MN10300_TLS_GD): Define.
19255         (R_MN10300_TLS_LD): Likewise.
19256         (R_MN10300_TLS_LDO): Likewise.
19257         (R_MN10300_TLS_GOTIE): Likewise.
19258         (R_MN10300_TLS_IE): Likewise.
19259         (R_MN10300_TLS_LE): Likewise.
19260         (R_MN10300_TLS_DTPMOD): Likewise.
19261         (R_MN10300_TLS_DTPOFF): Likewise.
19262         (R_MN10300_TLS_TPOFF): Likewise.
19263         (R_MN10300_SYM_DIFF): Likewise.
19264         (R_MN10300_ALIGN): Likewise.
19265         (R_MN10300_NUM): Update.
19267 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19270         Remove.
19272 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19274         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19276         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19277         sysdeps/unix -> sysdeps/posix move.
19278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19280 2012-08-07      Allan McRae     <allan@archlinux.org>
19282         [BZ #14303]
19283         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19284         (SUNOS_CPP): Likewise.
19285         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19286         not found.
19287         (open_input): Call CPP using execvp.
19289 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19291         * sysdeps/unix/sysv/linux/kernel-features.h
19292         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19293         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19294         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19295         (__ASSUME_WAITID_SYSCALL): Likewise.
19296         * sysdeps/unix/sysv/linux/dl-execstack.c
19297         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19298         code unconditional.
19299         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19300         conditional code.
19301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19302         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19303         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19304         code.
19305         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19306         unconditional.
19307         [__ASSUME_WAITID_SYSCALL]: Likewise.
19308         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19310 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19312         * sysdeps/unix/closedir.c: Renamed to ...
19313         * sysdeps/posix/closedir.c: ... here.
19314         * sysdeps/unix/dirfd.c: Renamed to ...
19315         * sysdeps/posix/dirfd.c: ... here.
19316         * sysdeps/unix/dirstream.h: Renamed to ...
19317         * sysdeps/posix/dirstream.h: ... here.
19318         * sysdeps/unix/fdopendir.c: Renamed to ...
19319         * sysdeps/posix/fdopendir.c: ... here.
19320         * sysdeps/unix/opendir.c: Renamed to ...
19321         * sysdeps/posix/opendir.c: ... here.
19322         * sysdeps/unix/readdir.c: Renamed to ...
19323         * sysdeps/posix/readdir.c: ... here.
19324         * sysdeps/unix/readdir_r.c: Renamed to ...
19325         * sysdeps/posix/readdir_r.c: ... here.
19326         * sysdeps/unix/rewinddir.c: Renamed to ...
19327         * sysdeps/posix/rewinddir.c: ... here.
19328         * sysdeps/unix/seekdir.c: Renamed to ...
19329         * sysdeps/posix/seekdir.c: ... here.
19330         * sysdeps/unix/telldir.c: Renamed to ...
19331         * sysdeps/posix/telldir.c: ... here.
19332         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19333         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19334         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19335         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19338         * bits/fcntl.h: ... here.
19340         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19341         not 0.
19342         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19343         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19344         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19345         (struct flock): Move l_start, l_len to the beginning.
19346         Use __pid_t for l_pid.
19347         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19348         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19349         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19350         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19351         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19352         [__USE_LARGEFILE64] (struct flock64): New type.
19353         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19356         * bits/dirent.h: ... here.
19358         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19359         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19361 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19363         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19364         Change from 2.6.0 to 2.6.16.
19365         * sysdeps/unix/sysv/linux/configure: Regenerated.
19366         * sysdeps/unix/sysv/linux/kernel-features.h
19367         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19368         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19369         version.
19370         (__ASSUME_UTIMES): Likewise.
19371         (__ASSUME_CLONE_STOPPED): Remove.
19372         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19373         architectures, not kernel version.
19374         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19375         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19376         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19377         (__ASSUME_WAITID_SYSCALL): Likewise.
19378         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19379         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19380         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19381         refer to older versions.
19383 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19385         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19386         Define alphasort64 as an alias.
19387         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19388         Define versionsort64 as an alias.
19389         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19390         Define scandir64 as an alias.
19391         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19392         Define scandirat64 as an alias.
19393         * dirent/alphasort64.c (alphasort64):
19394         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19395         * dirent/versionsort64.c: Likewise.
19396         * dirent/scandir64.c: Likewise.
19397         * dirent/scandirat64.c: Likewise.
19398         * sysdeps/wordsize-64/alphasort.c: File removed.
19399         * sysdeps/wordsize-64/alphasort64.c: File removed.
19400         * sysdeps/wordsize-64/scandir.c: File removed.
19401         * sysdeps/wordsize-64/scandir64.c: File removed.
19402         * sysdeps/wordsize-64/scandirat.c: File removed.
19403         * sysdeps/wordsize-64/scandirat64.c: File removed.
19404         * sysdeps/wordsize-64/versionsort.c: File removed.
19405         * sysdeps/wordsize-64/versionsort64.c: File removed.
19406         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19407         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19412         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19415         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19417         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19419         [defined __arch64__ || defined __sparcv9]
19420         (__INO_T_MATCHES_INO64_T): New macro.
19421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19422         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19423         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19424         * sysdeps/unix/sysv/linux/bits/dirent.h
19425         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19426         (_DIRENT_MATCHES_DIRENT64): New macro.
19428         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19429         Define lockf64 as an alias.
19430         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19431         Define fseeko64 as an alias.
19432         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19433         Define ftello64 as an alias.
19434         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19435         Define _IO_fgetpos64 and fgetpos64 as aliases.
19436         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19437         Define _IO_fsetpos64 and fsetpos64 as aliases.
19438         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19439         Conditionalize body on this.
19440         * libio/fseeko64.c: Likewise.
19441         * libio/ftello64.c: Likewise.
19442         * libio/iofgetpos64.c: Likewise.
19443         * libio/iofsetpos64.c: Likewise.
19444         * sysdeps/wordsize-64/lockf.c: File removed.
19445         * sysdeps/wordsize-64/lockf64.c: File removed.
19446         * sysdeps/wordsize-64/fseeko.c: File removed.
19447         * sysdeps/wordsize-64/fseeko64.c: File removed.
19448         * sysdeps/wordsize-64/ftello.c: File removed.
19449         * sysdeps/wordsize-64/ftello64.c: File removed.
19450         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19451         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19452         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19453         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19454         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19455         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19456         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19457         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19458         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19459         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19460         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19461         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19462         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19465         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19467         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19469         [defined __arch64__ || defined __sparcv9]
19470         (__OFF_T_MATCHES_OFF64_T): New macro.
19471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19472         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19474         (__OFF_T_MATCHES_OFF64_T): New macro.
19476 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19478         * stdlib/secure-getenv.c (__secure_getenv): Replace
19479         GLIBC_2_16 with GLIBC_2_17.
19481 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19483         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19484         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19486 2012-08-03  David S. Miller  <davem@davemloft.net>
19488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19490 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19493         Remove.
19494         (__ASSUME_CORRECT_SI_PID): Likewise.
19495         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19496         (__ASSUME_TMPFS_NAME): Likewise.
19497         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19498         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19499         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19500         (HAVE_AUX_SECURE): Make definition unconditional.
19501         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19502         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19504 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19506         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19507         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19508         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19509         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19510         __eloop_threshold instead of SYMLOOP_MAX.
19512         * sysdeps/generic/eloop-threshold.h: New file.
19513         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19514         of MAXSYMLINKS.
19515         * elf/chroot_canon.c (chroot_canon): Likewise.
19517 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19519         [BZ #13717]
19520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19521         Change to 2.6.0 everywhere.
19522         * sysdeps/unix/sysv/linux/configure: Regenerated.
19523         * sysdeps/unix/sysv/linux/kernel-features.h
19524         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19525         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19526         kernel versions.
19527         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19528         (__ASSUME_FUTEX_REQUEUE): Remove.
19529         (__ASSUME_STATFS64): Define unconditionally.
19530         (__ASSUME_AT_SECURE): Likewise.
19531         (__ASSUME_CORRECT_SI_PID): Likewise.
19532         (__ASSUME_TGKILL): Define without depending on kernel version for
19533         i386.
19534         (__ASSUME_UTIMES): Likewise.
19535         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19536         kernel version.
19537         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19538         (__ASSUME_TMPFS_NAME): Likewise.
19539         * README: Update reference to Linux kernel versions.
19541 2012-08-02  Marek Polacek  <polacek@redhat.com>
19543         [BZ# 14150]
19544         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19545         libc_cv_asm_type_prefix with %.
19546         * configure: Regenerated.
19547         * include/libc-symbols.h: Remove comment about
19548         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19549         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19550         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19551         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19552         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19553         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19554         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19555         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19556         * elf/tst-unique2mod1.c: Likewise.
19557         * elf/tst-unique1mod2.c: Likewise.
19558         * elf/tst-unique1mod1.c: Likewise.
19559         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19560         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19561         Replace ASM_TYPE_DIRECTIVE with .type.
19562         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19563         * sysdeps/i386/sysdep.h: Likewise.
19564         * sysdeps/x86_64/sysdep.h: Likewise.
19565         * sysdeps/sh/sysdep.h: Likewise.
19566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19567         Do not define ASM_TYPE_DIRECTIVE.
19568         * sysdeps/powerpc/sysdep.h: Likewise.
19569         * sysdeps/powerpc/powerpc32/sysdep.h:
19570         Replace ASM_TYPE_DIRECTIVE with .type.
19571         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19572         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19573         * sysdeps/i386/fpu/e_powf.S: Likewise.
19574         * sysdeps/i386/fpu/e_expl.S: Likewise.
19575         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19576         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19577         * sysdeps/i386/fpu/e_pow.S: Likewise.
19578         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19579         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19580         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19581         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19582         * sysdeps/i386/fpu/e_log2.S: Likewise.
19583         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19584         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19585         * sysdeps/i386/fpu/e_powl.S: Likewise.
19586         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19587         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19588         * sysdeps/i386/fpu/e_logl.S: Likewise.
19589         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19590         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19591         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19592         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19594         * sysdeps/i386/fpu/e_log.S: Likewise.
19595         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19596         * sysdeps/i386/fpu/e_logf.S: Likewise.
19597         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19598         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19599         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19600         * sysdeps/i386/fpu/e_log10.S: Likewise.
19601         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19602         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19603         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19604         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19605         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19606         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19607         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19608         * sysdeps/i386/i686/strtok.S: Likewise.
19609         * sysdeps/i386/i386-mcount.S: Likewise.
19610         * sysdeps/i386/strtok.S: Likewise.
19611         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19612         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19614         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19615         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19616         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19617         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19618         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19619         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19620         * sysdeps/x86_64/_mcount.S: Likewise.
19621         * sysdeps/x86_64/strtok.S: Likewise.
19622         * sysdeps/sh/_mcount.S: Likewise.
19624 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19626         * libio/iofopen.c: Include <fcntl.h>.
19627         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19628         (_IO_fopen64, fopen64): Define as aliases.
19629         * libio/iofopen64.c: Include <fcntl.h>.
19630         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19631         Conditionalize body on this.
19632         * sysdeps/wordsize-64/iofopen.c: File removed.
19633         * sysdeps/wordsize-64/iofopen64.c: File removed.
19635 2012-08-01  Marek Polacek  <polacek@redhat.com>
19637         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19638         Use dlfcn directly instead of a variable.
19639         (binfmt-subdir): Do not define.
19640         (dlfcn): Likewise.
19642 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19645         Remove all definitions.
19646         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19647         <kernel-features.h>.
19648         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19649         (miss_F_GETOWN_EX): Remove all definitions.
19650         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19651         macro definition.
19652         [!__ASSUME_FCNTL64]: Remove conditional code.
19653         [__ASSUME_FCNTL64]: Make code unconditional.
19654         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19655         <kernel-features.h>.
19656         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19657         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19658         (lockf64) [__NR_fcntl64]: Make code unconditional.
19659         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19661         * sysdeps/unix/sysv/linux/kernel-features.h
19662         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19663         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19664         Make code unconditional.
19665         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19666         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19668         [__NR_vfork]: Make code unconditional.
19669         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19670         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19672         [__NR_vfork]: Make code unconditional.
19673         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19674         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19676 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19678         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19679         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19681         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19682         Define mkstemp64 as an alias.
19683         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19684         Define mkstemps64 as an alias.
19685         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19686         Define mkostemp64 as an alias.
19687         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19688         Define mkostemps64 as an alias.
19689         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19690         Conditionalize body on this.
19691         * misc/mkostemp64.c: Likewise.
19692         * misc/mkostemps64.c: Likewise.
19693         * misc/mkstemps64.c: Likewise.
19694         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19695         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19696         * sysdeps/wordsize-64/mkostemp.c: File removed.
19697         * sysdeps/wordsize-64/mkstemp.c: File removed.
19698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19699         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19700         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19701         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19703         [BZ #14138]
19704         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19705         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19706         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19707         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19709         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19710         compat_symbol macros from <shlib-compat.h> rather than the underlying
19711         default_symbol_version and symbol_version macros, so that DEFAULT
19712         lines in shlib-versions are respected.
19713         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19715 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19717         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19718         Declare with warn_unused_result.
19719         (setgid, setregid, setegid, setresgid): Likewise.
19720         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19721         Likewise.
19722         * WUR-REPORT: Remove set*id functions.
19724 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19726         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19728 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19730         [BZ #10191]
19731         * include/sys/socket.h (__libc_accept, __libc_accept4):
19732         Add attribute_hidden.
19733         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19735         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19736         use of PTR_MANGLE.
19737         * inet/getnetgrent_r.c (setup): Likewise.
19739         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19741 2012-07-31  David S. Miller  <davem@davemloft.net>
19743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19745 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19747         [BZ #13629]
19748         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19749         value between 1.0 and 2.0 and smaller part has absolute value less
19750         than 1.0.
19751         * math/s_clog10.c (__clog10): Likewise.
19752         * math/s_clog10f.c (__clog10f): Likewise.
19753         * math/s_clog10l.c (__clog10l): Likewise.
19754         * math/s_clogf.c (__clogf): Likewise.
19755         * math/s_clogl.c (__clogl): Likewise.
19756         * math/libm-test.inc (clog_test): Add more tests.
19757         (clog10_test): Likewise.
19758         * sysdeps/i386/fpu/libm-test-ulps: Update.
19759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19761 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19763         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19764         Exit with zero in case no suitable GID is found, and write a
19765         message to standard error.
19767 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19769         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19770         rather than to 1.
19771         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19772         (MAXPATHLEN): Removed.
19773         (NOGROUP, NODEV): New macros.
19774         (setbit, clrbit, isset, isclr): New macros.
19775         (howmany, roundup, powerof2): New macros.
19776         (DEV_BSIZE): New macro.
19778         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19779         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19781         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19782         definition on [!__NO_LONG_DOUBLE_MATH].
19784         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19785         PTR_MANGLE and PTR_DEMANGLE.
19787         * socket/accept4.c (accept4): Rename to __libc_accept4.
19788         Define accept4 as a weak alias.
19790         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19791         on [_DIRENT_HAVE_D_TYPE].
19792         * io/ftw.c (ftw_dir): Likewise.
19794         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19796         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19798         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19799         Use the BSD numbers rather than the arbitrary ones we had.
19800         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19801         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19802         (SIGXCPU, SIGXFSZ): New macros.
19803         (_NSIG): Now 32.
19805         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19806         initializer on [_LIBC_REENTRANT].
19808         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19809         definitions inside [_POSIX_MAPPED_FILES].
19811         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19813         * dirent/opendir.c: Include <fcntl.h>.
19815         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19816         (__libc_getspecific): Likewise.
19817         (__libc_key_create): Likewise.
19819         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19820         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19821         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19822         (tmpfile64): Define as alias.
19823         * sysdeps/wordsize-64/tmpfile.c: File removed.
19824         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19825         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19826         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19828         * stdio-common/vfscanf.c: Include <stdbool.h>.
19829         * nss/makedb.c: Likewise.
19830         * stdio-common/_i18n_number.h: Likewise.
19831         * argp/argp-help.c: Likewise.
19832         * posix/wordexp.c: Likewise.
19833         * sysdeps/posix/spawni.c: Likewise.
19834         * nss/nss_files/files-initgroups.c: Likewise.
19835         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19836         * nss/nss_files/files-initgroups.c: Likewise.
19837         * nss/nss_db/db-netgrp.c: Likewise.
19838         * nss/nss_db/db-initgroups.c: Likewise.
19839         * io/fchmodat.c: Include <sys/stat.h>.
19841         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19842         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19844         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19845         [HAVE_MMAP].
19847         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19848         Add multiple inclusion protection.
19850 2012-07-27  David S. Miller  <davem@davemloft.net>
19852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19854 2012-07-27  Gary Benson  <gbenson@redhat.com>
19856         [BZ #14298]
19857         * elf/rtld.c: Include <stap-probe.h>.
19858         (dl_main): Added static probes "init_start" and "init_complete".
19859         * elf/dl-load.c: Include <stap-probe.h>.
19860         (lose): Take new parameter "nsid".
19861         Added static probe "map_failed".
19862         (_dl_map_object_from_fd): Pass namespace id to lose.
19863         Added static probe "map_start".
19864         (open_verify): Pass namespace id to lose.
19865         * elf/dl-open.c: Include <stap-probe.h>.
19866         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19867         and "reloc_complete".
19868         * elf/dl-close.c: Include <stap-probe.h>.
19869         (_dl_close_worker): Added static probes "unmap_start" and
19870         "unmap_complete".
19871         * elf/rtld-debugger-interface.txt: New file documenting the above.
19873 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19875         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19876         rather than a string variable.
19877         * sunrpc/rpc_main.c (h_output): Likewise.
19878         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19880 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19882         * inet/check_native.c: New file.
19884 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19886         [BZ #13629]
19887         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19888         if larger part has absolute value 1.0.
19889         * math/s_clog10.c (__clog10): Likewise.
19890         * math/s_clog10f.c (__clog10f): Likewise.
19891         * math/s_clog10l.c (__clog10l): Likewise.
19892         * math/s_clogf.c (__clogf): Likewise.
19893         * math/s_clogl.c (__clogl): Likewise.
19894         * math/libm-test.inc (clog_test): Add more tests.
19895         (clog10_test): Likewise.
19896         * sysdeps/i386/fpu/libm-test-ulps: Update.
19897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19899         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19900         (pltexit): Likewise.
19901         (La_regs): Likewise.
19902         (La_retval): Likewise.
19903         (int_retval): Likewise.
19904         Update #error for removed macros to refer only to definitions in
19905         tst-audit.h.
19906         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19907         macro.
19908         (pltexit): Likewise.
19909         (La_regs): Likewise.
19910         (La_retval): Likewise.
19911         (int_retval): Likewise.
19912         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19913         macro.
19914         (pltexit): Likewise.
19915         (La_regs): Likewise.
19916         (La_retval): Likewise.
19917         (int_retval): Likewise.
19918         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19919         macro.
19920         (pltexit): Likewise.
19921         (La_regs): Likewise.
19922         (La_retval): Likewise.
19923         (int_retval): Likewise.
19924         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19925         macro.
19926         (pltexit): Likewise.
19927         (La_regs): Likewise.
19928         (La_retval): Likewise.
19929         (int_retval): Likewise.
19930         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19931         macro.
19932         (pltexit): Likewise.
19933         (La_regs): Likewise.
19934         (La_retval): Likewise.
19935         (int_retval): Likewise.
19936         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19937         macro.
19938         (pltexit): Likewise.
19939         (La_regs): Likewise.
19940         (La_retval): Likewise.
19941         (int_retval): Likewise.
19942         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19943         macro definitions in tst-audit.h.
19944         * sysdeps/i386/tst-audit.h: New file.
19945         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19946         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19947         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19948         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19949         * sysdeps/sh/tst-audit.h: Likewise.
19950         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19951         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19952         * sysdeps/x86_64/tst-audit.h: Likewise.
19954 2012-07-26  Andreas Jaeger  <aj@suse.de>
19956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19957         ptrace.
19959         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19960         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19961         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19962         PTRACE_O_MASK.
19963         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19964         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19965         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19967         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19968         value.
19970         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19971         _sigsys.
19972         (si_call_addr, si_syscall, si_arch): Define new macro.
19973         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19974         _sigsys.
19975         (si_call_addr, si_syscall, si_arch): Define new marcro.
19976         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19977         _sigsys.
19978         (si_call_addr, si_syscall, si_arch): Define new macro.
19979         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19980         _sigsys.
19981         (si_call_addr, si_syscall, si_arch): Define new macro.
19983 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19985         [BZ #13717]
19986         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19987         Change to 2.4.21 where previously 2.4.1.
19988         * sysdeps/unix/sysv/linux/configure: Regenerated.
19989         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19990         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19991         Linux kernel version.
19992         (__ASSUME_STD_AUXV): Remove.
19993         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19994         kernel version.
19995         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19996         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19997         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19998         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19999         (__ASSUME_NETLINK_SUPPORT): Likewise.
20000         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20001         (__no_netlink_support): Remove conditional definition.
20002         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20003         Remove.
20004         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20005         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20006         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20007         (if_nameindex_ioctl): Remove.
20008         (if_nameindex_netlink): Do not handle __no_netlink_support.
20009         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20010         code.
20011         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20012         Remove conditional code.
20013         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20014         code.
20015         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20016         unconditional.
20017         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20018         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20019         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20020         Remove.
20021         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20022         [!__ASSUME_STD_AUXV]: Remove conditional code.
20023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20024         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20025         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20027         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20028         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20029         code.
20030         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20032         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20033         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20034         conditional code.
20035         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20037         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20038         code.
20039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20040         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20041         conditional code.
20042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20043         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20044         code unconditional.
20045         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20046         conditional code.
20047         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20048         unconditional.
20049         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20050         conditional code.
20051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20052         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20053         unconditional.
20054         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20055         conditional code.
20056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20057         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20058         code unconditional.
20059         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20060         conditional code.
20061         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20062         unconditional.
20063         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20064         conditional code.
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20066         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20067         code unconditional.
20068         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20069         conditional code.
20070         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20071         unconditional.
20072         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20073         conditional code.
20075 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20077         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20078         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20079         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20080         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20081         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20082         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20083         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20084         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20085         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20086         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20087         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20088         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20089         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20090         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20091         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20092         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20093         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20094         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20095         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20097         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20098         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20101 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20103         * Versions.def: Add GLIBC_2.17.
20104         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20105         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20106         Introduce __libc_secure_getenv.
20107         * stdlib/Versions (2.17): Add secure_getenv
20108         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20109         * stdlib/secure-getenv.c: Rename __secure_getenv to
20110         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20111         symbol __secure_getenv for GLIBC_2.0.
20112         * stdlib/tst-secure-getenv.c: New.
20113         * stdlib/Makefile (tests): Add testcase.
20114         * manual/startup.texi (Environment Access): Document
20115         secure_getenv.
20116         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20117         __libc_secure_getenv.
20118         * inet/ruserpass.c (ruserpass): Likewise.
20119         * malloc/mtrace.c (mtrace): Likewise.
20120         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20121         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20122         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20123         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20124         HAVE_SECURE_GETENV.
20125         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20126         __secure_getenv to __libc_secure_getenv.
20127         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20129         Likewise.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20131         Likewise.
20132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20140 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20142         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20143         (struct La_i86_retval): Likewise.
20144         (struct La_x86_64_regs): Likewise.
20145         (struct La_x86_64_retval): Likewise.
20146         (struct La_x32_regs): Likewise.
20147         (struct La_x32_retval): Likewise.
20148         (struct La_ppc32_regs): Likewise.
20149         (struct La_ppc32_retval): Likewise.
20150         (struct La_ppc64_regs): Likewise.
20151         (struct La_ppc64_retval): Likewise.
20152         (struct La_sh_regs): Likewise.
20153         (struct La_sh_retval): Likewise.
20154         (struct La_s390_32_regs): Likewise.
20155         (struct La_s390_32_retval): Likewise.
20156         (struct La_s390_64_regs): Likewise.
20157         (struct La_s390_64_retval): Likewise.
20158         (struct La_sparc32_regs): Likewise.
20159         (struct La_sparc32_retval): Likewise.
20160         (struct La_sparc64_regs): Likewise.
20161         (struct La_sparc64_retval): Likewise.
20162         (struct audit_ifaces): Remove architecture-specific pltenter and
20163         pltexit members.
20164         * sysdeps/i386/ldsodefs.h: New file.
20165         * sysdeps/powerpc/ldsodefs.h: Likewise.
20166         * sysdeps/s390/ldsodefs.h: Likewise.
20167         * sysdeps/sh/ldsodefs.h: Likewise.
20168         * sysdeps/sparc/ldsodefs.h: Likewise.
20169         * sysdeps/x86_64/ldsodefs.h: Likewise.
20171 2012-07-25  Marek Polacek  <polacek@redhat.com>
20173         [BZ #6808]
20174         * math/libm-test.inc (yn_test): Add another test.
20175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20176         to ERANGE when the result is +-Inf.
20177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20178         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20179         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20180         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20182 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20184         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20185         equal to 0.
20186         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20187         clock_t.
20188         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20190 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20192         * configure.in <sysdeps resolving>: Correct printing
20193         Implies_before.
20194         * configure: Regenerate.
20196 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20198         * math/w_ilogb.c: Include <limits.h>.
20199         * math/w_ilogbl.c: Likewise.
20201 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20203         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20204         va_copy.  Document allowing for unavailable va_copy only as
20205         pre-C99 compatibility.
20206         * manual/string.texi (Copying and Concatenation): Use va_copy
20207         instead of __va_copy in concat example.
20209 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20211         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20212         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20213         it if not null.
20215         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20216         with O_NOLINK passed to __file_name_lookup.
20218         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20219         with O_NOLINK passed to __file_name_lookup.
20221         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20222         negative N or less than NGIDS.
20224         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20225         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20226         enough.  Use memcpy instead of strncpy.
20228 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20230         * elf/Makefile (check-data): Remove.
20231         (localplt.data): New vpath directive.
20232         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20233         instead of $(check-data).
20234         * scripts/data/localplt-generic.data: Move to ...
20235         * sysdeps/generic/localplt.data: ... here.
20236         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20238         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20240         ... here.
20241         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20243         ... here.
20244         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20246         ... here.
20247         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20249         ... here.
20250         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20252         ... here.
20253         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20255         ... here.
20257 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20259         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20260         PPC32 and PPC64 files.
20261         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20262         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20264 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20266         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20267         __makecontext_ret to ...
20268         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20269         ... here and call exit if uc_link is NULL.  New file.
20270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20271         __makecontext_ret.S.
20272         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20273         __makecontext_ret to ...
20274         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20275         ... here and call exit if uc_link is NULL.  New file.
20276         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20277         __makecontext_ret.S.
20279 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20281         * elf/elf.h (R_390_IRELATIVE): New definition.
20282         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20283         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20284         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20286         (elf_machine_lazy_rel): Likewise.
20287         * sysdeps/s390/dl-irel.h: New file.
20288         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20289         * sysdeps/s390/s390-64/memset.S: New asm code.
20290         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20291         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20292         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20293         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20294         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20295         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20296         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20297         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20298         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20299         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20300         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20301         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20302         * sysdeps/s390/s390-32/memset.S: New asm code.
20303         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20305 2012-07-17  Marek Polacek  <polacek@redhat.com>
20307         [BZ #14349]
20308         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20309         * sysdeps/s390/s390-64/configure.in: Likewise.
20310         * sysdeps/sparc/configure.in: Likewise.
20311         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20312         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20313         * sysdeps/i386/configure.in: Likewise.
20314         * sysdeps/x86_64/configure.in: Likewise.
20315         * sysdeps/sh/configure.in: Likewise.
20316         * sysdeps/s390/s390-32/configure: Regenerated.
20317         * sysdeps/s390/s390-64/configure: Likewise.
20318         * sysdeps/x86_64/configure: Likewise.
20319         * sysdeps/sh/configure: Likewise.
20320         * sysdeps/powerpc/powerpc64/configure: Likewise.
20321         * sysdeps/powerpc/powerpc32/configure: Likewise.
20322         * sysdeps/sparc/configure: Likwise.
20323         * sysdeps/i386/configure: Likewise.
20325         * elf/dl-open.c: Comment fixes.
20327 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20329         * Makefile [CXX] (check-data): Remove.
20330         [CXX] (c++-types.data): New vpath directive.
20331         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20332         vpath.  Do not allow for C++ type data being missing.
20333         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20334         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20335         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20336         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20337         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20338         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20339         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20341         ... here.
20342         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20344         ... here.
20345         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20347         ... here.
20348         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20350         ... here.
20351         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20353         ... here.
20354         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20356         ... here.
20357         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20359         ... here.
20360         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20363         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20364         definitions to architecture-specific files.
20365         (TLS_IE): Likewise.
20366         (TLS_LD): Likewise.
20367         (TLS_GD): Likewise.
20368         * sysdeps/i386/tls-macros.h: New file.
20369         * sysdeps/powerpc/tls-macros.h: Likewise.
20370         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20371         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20372         * sysdeps/sh/tls-macros.h: Likewise.
20373         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20374         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20375         * sysdeps/x86_64/tls-macros.h: Likewise.
20377 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20380         zero value for regular exit case.
20382         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20383         (__start_context): Preserve zero value for regular exit case.
20385 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20386             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20388         * manual/setjmp.texi (setcontext): Clarify normal process
20389         termination when uc_link is the null pointer.
20390         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20391         exit call.
20393 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20395         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20396         preprocessor.  Test for each exception mask separately.
20398 2012-07-16  Andreas Jaeger  <aj@suse.de>
20400         * po/ru.po: Update from translation team.
20402 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20404         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20405         equal to 0.
20406         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20407         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20408         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20409         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20412 2012-07-13  Andreas Jaeger  <aj@suse.de>
20414         * po/fr.po: Update from translation team.
20416 2012-07-12  Marek Polacek  <polacek@redhat.com>
20418         [BZ #14173]
20419         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20420         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20421         loop condition.
20423 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #13717]
20426         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20427         Change to 2.4.1 where previously 2.4.0.
20428         * sysdeps/unix/sysv/linux/configure: Regenerated.
20429         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20430         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20431         version.
20432         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20433         (__ASSUME_AT_CLKTCK): Remove.
20434         (__ASSUME_AT_PAGESIZE): Likewise.
20435         (__ASSUME_AT_XID): Likewise.
20436         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20437         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20438         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20439         unconditionally.
20440         (HAVE_AUX_PAGESIZE): Likewise.
20441         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20442         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20443         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20445 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20447         [BZ #14307]
20448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20449         the temporary buffer used to invoke __gethostbyname2_r,
20450         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20451         host_data / struct gaih_addrtuple.
20452         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20453         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20454         header file nss/nsswitch.h.
20455         * nss/nsswitch.h (global scope): Add definition of implementation
20456         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20457         resolv/nss_dns/dns-host.c).
20459 2012-07-11  Andreas Jaeger  <aj@suse.de>
20461         * po/fr.po: Update from translation team.
20463         * po/sv.po: Update from translation team
20464         * po/fr.po: Another update from translation team.
20466 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20469         for subnormals or multiply small sinh result by itself.
20470         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20473 2012-07-11  David S. Miller  <davem@davemloft.net>
20475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20477 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20479         [BZ #14347]
20480         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20481         (INTERNAL_MARK): Shift it here.
20483 2012-07-10  Marek Polacek  <polacek@redhat.com>
20485         [BZ #14151]
20486         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20487         libc_cv_asm_global_directive with .globl.
20488         * configure: Regenerated.
20489         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20490         with .globl.
20491         * sysdeps/i386/configure: Regenerated.
20492         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20493         with .globl.
20494         * sysdeps/x86_64/configure: Regenerated.
20495         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20496         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20497         * elf/tst-unique2mod2.c: Likewise.
20498         * elf/tst-unique2mod1.c: Likewise.
20499         * elf/tst-unique1mod2.c: Likewise.
20500         * elf/tst-unique1mod1.c: Likewise.
20501         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20502         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20503         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20504         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20505         * sysdeps/mach/sysdep.h: Likewise.
20506         * sysdeps/i386/sysdep.h: Likewise.
20507         * sysdeps/i386/i386-mcount.S: Likewise.
20508         * sysdeps/x86_64/_mcount.S: Likewise.
20509         * sysdeps/x86_64/sysdep.h: Likewise.
20510         * sysdeps/sh/_mcount.S: Likewise.
20511         * sysdeps/sh/sysdep.h: Likewise.
20512         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20513         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20514         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20516         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20517         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20518         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20519         * locale/localeinfo.h: Likewise.
20520         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20521         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20523 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20525         [BZ #14336]
20526         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20527         system".
20528         * manual/message.texi (The Uniforum approach): Likewise.
20529         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20530         (glibc iconv Implementation): Likewise.
20532 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20534         [BZ #14337]
20535         * math/s_clog.c (__clog): Avoid scaling a value down where that
20536         could result in underflow.
20537         * math/s_clog10.c (__clog10): Likewise.
20538         * math/s_clog10f.c (__clog10f): Likewise.
20539         * math/s_clog10l.c (__clog10l): Likewise.
20540         * math/s_clogf.c (__clogf): Likewise.
20541         * math/s_clogl.c (__clogl): Likewise.
20542         * math/libm-test.inc (clog_test): Add more tests.
20543         (clog10_test): Likewise.
20544         * sysdeps/i386/fpu/libm-test-ulps: Update.
20545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20549         [BZ #14283]
20550         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20551         by 7 not 8 to examine high bit of fractional part.
20553         [BZ #14042]
20554         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20555         for call to __mcount_internal.
20556         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20557         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20558         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20560 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20562         [BZ #14154]
20563         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20564         approximation for values within 0x1p-13f of an odd multiple of
20565         pi/4.
20566         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20567         exception.  Add more tests.
20568         * sysdeps/i386/fpu/libm-test-ulps: Update.
20570         [BZ #6778]
20571         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20572         inputs and return -1 for them.  Do not check for +Inf in case not
20573         reachable for +Inf.
20574         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20575         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20576         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20577         and return -1 for them.  Do not check for +Inf in case not
20578         reachable for +Inf.
20579         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20580         define.
20581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20582         and return -1 for them.  Do not check for +Inf in case not
20583         reachable for +Inf.
20584         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20585         spurious underflow.
20586         * sysdeps/i386/fpu/libm-test-ulps: Update.
20587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20589 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20591         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20593 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #14157]
20596         [BZ #14331]
20597         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20598         could result in spurious underflow.  Scale down values above
20599         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20600         * math/s_csqrtf.c (__csqrtf): Likewise.
20601         * math/s_csqrtl.c (__csqrtl): Likewise.
20602         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20603         spurious underflow.
20604         * sysdeps/i386/fpu/libm-test-ulps: Update.
20605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20607 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20609         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20610         xopen-msg.sed.
20611         * catgets/xopen-msg.awk: New file.
20612         * catgets/xopen-msg.sed: Removed.
20614         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20615         po2text.sed.
20616         * intl/po2test.awk: New file.
20617         * intl/po2test.sed: Removed.
20619 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20621         [BZ #14328]
20622         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20623         or multiply small sinh result by itself.
20624         * math/s_ctanf.c (__ctanf): Likewise.
20625         * math/s_ctanh.c (__ctanh): Likewise.
20626         * math/s_ctanhf.c (__ctanhf): Likewise.
20627         * math/s_ctanhl.c (__ctanhl): Likewise.
20628         * math/s_ctanl.c (__ctanl): Likewise.
20629         * math/libm-test.inc (ctan_test_tonearest): New function.
20630         (ctan_test_towardzero): Likewise.
20631         (ctan_test_downward): Likewise.
20632         (ctan_test_upward): Likewise.
20633         (ctanh_test_tonearest): Likewise.
20634         (ctanh_test_towardzero): Likewise.
20635         (ctanh_test_downward): Likewise.
20636         (ctanh_test_upward): Likewise.
20637         (main): Call these new functions.
20638         * sysdeps/i386/fpu/libm-test-ulps: Update.
20639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20641 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20643         * .gitignore: Delete /ports entry.
20645 2012-07-03  Andreas Jaeger  <aj@suse.de>
20647         * po/bg.po: Update from translation team.
20648         * po/cs.po: Likewise.
20649         * po/de.po: Likewise.
20650         * po/hr.po: Likewise.
20651         * po/nl.pl: Likewise.
20652         * po/pl.po: Likewise.
20653         * po/vi.po: Likewise.
20655 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20657         * Makeconfig [!+link] (+link-before-libc): New variable.
20658         [!+link] (+link-after-libc): Likewise.
20659         [!+link] (+link-tests): Likewise.
20660         [!+link] (+link): Define in terms of $(+link-before-libc) and
20661         $(+link-after-libc).
20662         [!+link-static] (+link-static-before-libc): New variable.
20663         [!+link-static] (+link-static-after-libc): Likewise.
20664         [!+link-static] (+link-static-tests): Likewise.
20665         [!+link-static] (+link-static): Define in terms of
20666         $(+link-static-before-libc) and $(+link-static-after-libc).
20667         [build-shared] (link-libc-before-gnulib): New variable.
20668         [build-shared] (link-libc-tests): Likewise.
20669         [build-shared] (link-libc): Define in terms of
20670         $(link-libc-before-gnulib).
20671         [!build-shared] (link-libc-tests): New variable.
20672         (link-libc-static-tests): New variable.
20673         [!gnulib] (gnulib-arch): New variable.
20674         [!gnulib] (gnulib-tests): Likewise.
20675         [!gnulib] (static-gnulib-arch): Likewise.
20676         [!gnulib] (static-gnulib-tests): Likewise.
20677         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20678         Define with "=" instead of ":=".
20679         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20680         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20681         * Rules (binaries-all-notests): New variable.
20682         (binaries-all-tests): Likewise.
20683         (binaries-static-notests): Likewise.
20684         (binaries-static-tests): Likewise.
20685         (binaries-all): Define using $(binaries-all-notests) and
20686         $(binaries-all-tests).
20687         (binaries-static): Define using $(binaries-static-notests) and
20688         $(binaries-static-tests).
20689         (binaries-shared-tests): New variable.
20690         (binaries-shared-notests): Likewise.
20691         (binaries-shared): Remove variable.
20692         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20693         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20694         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20695         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20696         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20697         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20698         * elf/Makefile (sln-modules): New variable.
20699         (extra-objs): Add $(sln-modules:=.o).
20700         (ldconfig-modules): Add static-stubs.
20701         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20702         * elf/static-stubs.c: New file.
20704         [BZ #14283]
20705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20706         by 7 not 8 to examine high bit of fractional part.  Use volatile
20707         variables when splitting into final array of floats if
20708         __FLT_EVAL_METHOD__ != 0.
20709         * math/libm-test.inc (cos_test): Add another test.
20710         (sin_test): Likewise.
20711         * sysdeps/i386/fpu/libm-test-ulps: Update.
20713         [BZ #14273]
20714         * math/libm-test.inc (cosh_test): Add more tests.
20716         * version.h (RELEASE): Set to "development".
20717         (VERSION): Set to "2.16.90".
20719 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20721         * NEWS: Update copyright. Remove last-updated date.
20722         Mention math library bug fixes and timezone data changes.
20723         * README: Mention GNU/Hurd, x32, and HPPA support status.
20725 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20727         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20729 2012-06-27  Andreas Jaeger  <aj@suse.de>
20731         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20733 2012-06-25  Andreas Jaeger  <aj@suse.de>
20735         * sysdeps/s390/fpu/libm-test-ulps: Update.
20737 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20738             Thomas Schwinge  <thomas@codesourcery.com>
20740         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20741         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20742         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20743         fanotify_mark.
20745 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20747         * sysdeps/mach/start.c: Remove file.
20748         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20749         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20750         * sysdeps/sh/init-first.c: Likewise.
20752         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20753         registers for frame unwinding purposes, add CFI directives.
20754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20755         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20756         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20757         Likewise.
20759         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20760         __fortify_fail returning.
20761         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20763         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20764         sysdeps/sh/____longjmp_chk.S.
20765         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20766         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20767         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20768         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20770         * sysdeps/sh/abort-instr.h: New file.
20771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20772         process in case exit returns.
20774         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20775         initialize the GOT register before use.
20777         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20778         calculation of ARGC > 4.
20780         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20781         meaningful names to some local labels.
20783 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20784             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20786         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20787         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20788         (__arch_compare_and_exchange_val_16_acq): Likewise.
20789         (__arch_compare_and_exchange_val_32_acq): Likewise.
20790         (atomic_exchange_and_add): Fix gUSA sequence.
20791         (atomic_add): Likewise.
20792         (atomic_add_negative): Likewise.
20793         (atomic_add_zero): Likewise.
20794         (atomic_bit_test_set): Likewise.
20796 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20798         [BZ #13579]
20799         * include/link.h (struct link_map): Add l_free_initfini.
20800         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20801         l_initfini.
20802         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20803         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20804         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20805         set.
20807 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20809         * configure.in: Use AC_LANG_SOURCE.
20810         * configure: Regenerate.
20812 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20814         * configure.in (libc_cv_localstatedir): New substituted variable.
20815         * configure: Regenerated.
20816         * config.make.in (localstatedir): New variable, substituted from
20817         libc_cv_localstatedir.
20818         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20819         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20820         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20821         * sysdeps/gnu/configure: Regenerated.
20823 2012-06-21  Jeff Law  <law@redhat.com>
20825         [BZ #14277]
20826         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20827         free.  Simplify list management for _LIBC case.
20829 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20831         [BZ #14273]
20832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20833         Clear sign bit of 64-bit integer value before comparing against
20834         overflow value.
20836         * sysdeps/mach/configure: Regenerated.
20838 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20840         [BZ #14278]
20841         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20843 2012-06-21  Jeff Law  <law@redhat.com>
20845         [BZ #13882]
20846         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20847         uint16_t for elements in the "seen" array to avoid char overflows.
20848         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20849         * elf/dl-open.c (dl_open_worker): Likewise.
20851 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20853         * scripts/list-sources.sh: Scan PORTS for translations.
20854         * po/libc.pot: Regenerated.
20856 2012-06-21  Andreas Jaeger  <aj@suse.de>
20858         [BZ #12194]
20859         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20860         warning.
20861         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20862         * bits/byteswap-16.h (__bswap_16): Likewise.
20863         * bits/byteswap.h (__bswap_constant_16): Likewise.
20865 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20867         [BZ #14117]
20868         * sysdeps/i386/fpu_control.h: Removed.
20869         * sysdeps/x86_64/fpu_control.h: Moved to ...
20870         * sysdeps/x86/fpu_control.h: Here.
20872         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20873         (_FPU_SETCW): Likewise.
20875 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20877         [BZ #14117]
20878         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20879         * sysdeps/x86/fpu/bits/mathinline.h: This.
20880         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20882         [BZ #14050]
20883         [BZ #14117]
20884         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20885         functions if __x86_64__ is defined.
20887 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20889         * string/endian.h: Add !__ASSEMBLER__ condition for including
20890         conversion interfaces.
20892 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20894         [BZ #14241]
20895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20896         of ABS(x) in calculating zero to negative powers other than odd
20897         integers.
20898         * math/libm-test.inc (pow_test): Add more tests.
20900 2012-06-15  Andreas Jaeger  <aj@suse.de>
20902         * manual/contrib.texi (Contributors): Update entry of Liubov
20903         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20904         Machado Filho.
20906 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20908         * string/string.h: Add __wur to GNU version of strerror_r.
20910 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20912         [BZ #14229]
20913         * string/Makefile (tests): Add tst-strtok_r.
20914         * string/tst-strtok_r.c: New file.
20915         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20916         RAX_LP/RDX_LP on SAVE_PTR.
20918 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20920         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20922 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20924         * libm_test.inc (csqrt_test): Allow more spurious underflow
20925         exceptions.
20926         (j0_test): Likewise.
20927         (j1_test): Likewise.
20928         (y0_test): Likewise.
20929         (y1_test): Likewise.
20931 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20933         * po/Makefile (libc.pot): Use UTF-8 charset.
20935 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20937         [BZ #14210]
20938         Suppress sign-conversion warning from FD_SET.
20939         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20940         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20941         not unsigned long int.
20942         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20944 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20946         [BZ #14050]
20947         [BZ #14117]
20948         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20949         __extern_always_inline instead of __extern_inline.
20950         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20951         (__signbit): Likewise.
20952         (__signbitl): Support C++ namespace.
20953         (lrintf): New inline function.
20954         (lrint): Likewise.
20955         (llrintf): Likewise.
20956         (llrint): Likewise.
20957         (fmaxf): Likewise.
20958         (fmax): Likewise.
20959         (fminf): Likewise.
20960         (fmin): Likewise.
20961         (rint): Likewise.
20962         (rintf): Likewise.
20963         (ceil): Likewise.
20964         (ceilf): Likewise.
20965         (floor): Likewise.
20966         (floorf): Likewise.
20967         (nearbyint): Likewise.
20968         (nearbyintf): Likewise.
20970 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20972         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20973         non-default versions.
20975 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20977         [BZ #14218]
20978         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20980 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20982         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20983         (FE_UPWARD, FE_DOWNWARD): Don't define.
20984         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20987         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20988         reading it.
20989         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20990         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20992 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20994         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20996         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20997         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20999 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21001         [BZ #14117]
21002         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21003         * sysdeps/i386/fpu/Implies: New file.
21004         * sysdeps/x86_64/fpu/Implies: Likewise.
21005         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21006         * sysdeps/x86/fpu/bits/fenv.h: This.
21008         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21009         __SSE_MATH__.
21011 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21013         [BZ #14134]
21014         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21015         character 0xffff that matches the last element of the
21016         conversion table.
21018 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21021         fmodl commit.
21023 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21026         values higher than 25.6283.
21028 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21030         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21031         subnormal exponent extraction and add some __builtin_expect.
21032         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21033         Fix for subnormal mantissa calculation.
21035 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21037         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21038         cpu2 is -1 and errno is not ENOSYS.
21040 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21042         [BZ #14117]
21043         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21044         * sysdeps/x86/bits/string.h: This.
21045         * sysdeps/x86_64/bits/string.h: Removed.
21047         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21048         if not compiling for x86-64, but compiling for >= i486.
21050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21051         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21053         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21054         New macro from Linux kernel 3.4.0.
21055         (FP_XSTATE_MAGIC2): Likewise.
21056         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21057         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21058         (struct _fpx_sw_bytes): New struct.
21059         (struct _xsave_hdr): Likewise.
21060         (struct _ymmh_state): Likewise.
21061         (struct _xstate): Likewise.
21063         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21064         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21066         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21067         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21068         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21070         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21071         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21072         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21073         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21074         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21075         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21077 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21079         [BZ #13743]
21080         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21081         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21082         (sysdep_headers): Include sys/platform/ppc.h.
21083         * sysdeps/powerpc/test-gettimebase.c: Test for
21084         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21085         * manual/Makefile (appendices): Include platform.texi.
21086         * manual/contrib.texi (Contributors): Update @node pointers.
21087         * manual/maint.texi (Maintenance): Likewise.
21088         (Platform): New node.
21089         * manual/platform.texi: New file.  Document the new features.
21091 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21092             Jakub Jelinek  <jakub@redhat.com>
21094         [BZ #14188]
21095         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21096         where __builtin_expect is unavailable.
21098 2012-06-03  David S. Miller  <davem@davemloft.net>
21100         * stdlib/longlong.h: Updated from GCC.
21102 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21104         [BZ #14042]
21105         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21106         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21107         __mcount_internal.
21108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21109         (GLIBC_2.16): Likewise.
21111 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21115 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21118         (default-abi): New variable.
21119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21120         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21121         variable.
21122         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21123         Likewise.
21124         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21125         Likewise.
21126         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21127         Likewise.
21129         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21130         definition.  Document in comment.
21132 2012-06-01  David S. Miller  <davem@davemloft.net>
21134         * stdlib/longlong.h: Updated from GCC.
21136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21138         [BZ #14117]
21139         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21140         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21141         sys/debugreg.h sys/io.h here.
21142         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21143         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21144         sys/io.h.
21145         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21146         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21147         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21148         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21149         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21150         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21153         Define only if __x86_64__ is defined.
21155 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21157         [BZ #14048]
21158         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21159         Use int64_t for variable i.
21160         * math/libm-test.inc (fmod_test): Add more tests.
21162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21163         z computation is not scheduled after fetestexcept.
21164         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21165         Use math_force_eval instead of asm to ensure calculation scheduled
21166         before exception test.
21167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21168         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21170 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21173         computation is not scheduled after fetestexcept.
21175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21177         [BZ #14117]
21178         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21179         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21181 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21183         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21184         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21186 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21188         [BZ #14117]
21189         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21190         <bits/wordsize.h>.
21191         (__WCHAR_MIN): Support __WORDSIZE == 64.
21192         (__WCHAR_MAX): Likewise.
21194         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21197         [BZ #14183]
21198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21199         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21201         [BZ #14117]
21202         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21206         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21209         Defined to 1 if __x86_64__ isn't defined.
21210         (_STAT_VER_LINUX_OLD): New.
21211         (st_atime): Remove duplicate.
21212         (st_mtime): Likewise.
21213         (st_ctime): Likewise.
21215 2012-05-31  David S. Miller  <davem@davemloft.net>
21217         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21218         entries.
21220 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21222         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21223         gen-libm-test.pl.
21225         [BZ #14132]
21226         * elf/dl-reloc.c: Include <_itoa.h>.
21227         (_dl_reloc_bad_type): Remove use of INTUSE.
21228         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21229         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21230         * stdio-common/psiginfo.c (psiginfo): Likewise.
21231         * stdio-common/psignal.c (psignal): Likewise.
21232         * string/strsignal.c (strsignal): Likewise.
21233         * include/signal.h (_sys_siglist): Declare hidden proto.
21234         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21235         INTVARDEF with libc_hidden_data_def.
21236         * stdio-common/itoa-udigits.c: Likewise.
21237         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21238         (_itoa_lower_digits_internal): Remove declaration.
21239         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21240         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21241         (_sys_sigabbrev_internal): Remove aliases.
21242         (_sys_siglist): Define hidden alias.
21244 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21247         bits/sysctl.h.
21249 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21251         [BZ #14117]
21252         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21253         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21255         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21256         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21257         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21258         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21259         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21260         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21262         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21263         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21264         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21266         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21267         with __addr.
21268         (insw): Likewise.
21269         (insl): Likewise.
21270         (outsb): Likewise.
21271         (outsw): Likewise.
21272         (outsl): Likewise.
21274         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21275         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21276         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21278         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21279         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21280         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21281         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21282         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21283         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21285         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21286         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21288         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21289         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21293         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21295         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21296         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21297         to ...
21298         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21300         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21301         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21302         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21304         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21305         for x86-64.
21306         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21308 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21310         * math/math.h (M_El): Use two more decimal places.
21311         (M_LOG2El): Likewise.
21312         (M_LOG10El): Likewise.
21313         (M_LN2l): Likewise.
21314         (M_LN10l): Likewise.
21315         (M_PIl): Likewise.
21316         (M_PI_2l): Likewise.
21317         (M_PI_4l): Likewise.
21318         (M_1_PIl): Likewise.
21319         (M_2_PIl): Likewise.
21320         (M_2_SQRTPIl): Likewise.
21321         (M_SQRT2l): Likewise.
21322         (M_SQRT1_2l): Likewise.
21324 2012-05-31  David S. Miller  <davem@davemloft.net>
21326         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21327         values between float registers.
21328         * sysdeps/sparc/sparc64/memset.S: Likewise.
21329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21331 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21333         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21334         -D_FORTIFY_SOURCE=1.
21335         (CPPFLAGS-tst-longjmp_chk.c): Define.
21336         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21337         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21338         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21339         CFLAGS-tst-wchar-h.c.
21341 2012-05-31  Marek Polacek  <polacek@redhat.com>
21343         [BZ #14132]
21344         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21345         __endmntent_internal): Remove declaration.
21346         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21347         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21348         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21350 2012-05-30  David S. Miller  <davem@davemloft.net>
21352         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21353         (___Q_simulate_exceptions): Use real FP ops rather than writing
21354         into the %fsr.
21355         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21356         Likewise.
21358 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21360         [BZ #14117]
21361         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21362         * sysdeps/x86/bits/xtitypes.h: This.
21364         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21365         * sysdeps/x86/bits/wordsize.h: This.
21367         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21368         * sysdeps/x86/bits/huge_vall.h: This.
21370         * sysdeps/i386/bits/select.h: Removed.
21371         * sysdeps/x86_64/bits/select.h: Renamed to ...
21372         * sysdeps/x86/bits/select.h: This.
21374         * sysdeps/i386/bits/setjmp.h: Removed.
21375         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21376         * sysdeps/x86/bits/setjmp.h: This.
21378         * sysdeps/i386/bits/mathdef.h: Removed.
21379         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21380         * sysdeps/x86/bits/mathdef.h: This.
21382 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21384         [BZ #14132]
21385         * include/sys/socket.h (__connect_internal)
21386         (__libc_sa_len_internal): Remove declaration.
21387         (__connect, __libc_sa_len): Declare hidden_proto.
21388         (SA_LEN): Remove use of INTUSE.
21389         * socket/connect.c: Add libc_hidden_def.
21390         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21391         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21392         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21393         alias.
21394         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21395         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21396         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21397         of adding _internal alias.
21399 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21401         [BZ #14117]
21402         * sysdeps/i386/bits/link.h: Removed.
21403         * sysdeps/i386/bits/linkmap.h: Likewise.
21404         * sysdeps/x86_64/bits/link.h: Renamed to ...
21405         * sysdeps/x86/bits/link.h: This.
21406         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21407         * sysdeps/x86/bits/linkmap.h: This.
21409         * sysdeps/i386/bits/endian.h: Removed.
21410         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21411         * sysdeps/x86/bits/endian.h: This.
21413         * sysdeps/i386/bits/byteswap.h: Removed.
21414         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21415         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21416         * sysdeps/x86/bits/byteswap.h: This.
21417         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21418         * sysdeps/x86/bits/byteswap-16.h: This.
21419         * sysdeps/i386/Implies: Add x86.
21420         * sysdeps/x86_64/Implies: Likewise.
21422 2012-05-30  David S. Miller  <davem@davemloft.net>
21424         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21425         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21427         (FP_TRAPPING_EXCEPTIONS): Define.
21428         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21429         (FP_TRAPPING_EXCEPTIONS): Define.
21430         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21431         subnormals only when inexact has been signalled or underflow
21432         exceptions are enabled.
21433         (_FP_PACK_CANONICAL): Likewise.
21435 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21437         [BZ #14183]
21438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21439         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21441 2012-05-30  Richard Henderson  <rth@twiddle.net>
21443         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21444         with #ifndef NOT_IN_libc.
21446         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21447         marked to avoid plt entry.
21449 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21451         [BZ #14112]
21452         * Makeconfig (default-abi): New macro.
21453         (abi-includes): Likewise.
21454         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21455         $(abi-$(default-abi)-lib-soname) for soname if defined.
21456         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21457         abi-variants.
21458         * Makefile (installed-stubs): Likewise.
21459         * include/stubs-biarch.h: Removed.
21460         * scripts/lib-names.awk: Only handle one library at a time.
21461         * scripts/soversions.awk: Remove WORDSIZE support.
21462         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21463         entries.
21464         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21465         Removed.
21466         (syscall-list-default-condition): Likewise.
21467         (syscall-list-default-condition): Likewise.
21468         (syscall-list-includes): Likewise.
21469         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21470         syscall-list-* with abi-*.  Handle undefined abi-variants.
21471         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21472         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21473         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21474         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21475         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21476         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21477         Removed.
21478         (syscall-list-32-options): Likewise.
21479         (syscall-list-32-condition): Likewise.
21480         (syscall-list-64-options): Likewise.
21481         (syscall-list-64-condition): Likewise.
21482         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21483         macro.
21484         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21485         Renamed to ...
21486         (abi-*): This.
21487         (abi-64-ld-soname): New macro.
21488         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21489         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21490         Renamed to ...
21491         (abi-*): This.
21492         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21493         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21495 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21497         * sysdeps/unix/sysv/linux/kernel-features.h
21498         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21499         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21500         include <kernel-features.h>.
21501         [!__NR_ftruncate64]: Remove conditional code.
21502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21503         [__NR_ftruncate64]: Make code unconditional.
21504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21505         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21506         include <kernel-features.h>.
21507         [!__NR_ftruncate64]: Remove conditional code.
21508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21509         [__NR_ftruncate64]: Make code unconditional.
21510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21512         include <kernel-features.h>.
21513         [!__NR_ftruncate64]: Remove conditional code.
21514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21515         [__NR_ftruncate64]: Make code unconditional.
21516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21518         include <kernel-features.h>.
21519         [!__NR_ftruncate64]: Remove conditional code.
21520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21521         [__NR_ftruncate64]: Make code unconditional.
21522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21524         * configure.in (libc_cv_fpie): Weaken to a compile test using
21525         LIBC_TRY_CC_OPTION.
21526         * configure: Regenerated.
21528 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21534         Refreshed.
21535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21541         Refreshed.
21543 2012-05-27  David S. Miller  <davem@davemloft.net>
21545         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21546         (___Q_zero): New.
21547         (__Q_simulate_exceptions): Return void.  Change to simulate
21548         exceptions by writing into the %fsr.
21549         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21550         (__Qp_handle_exceptions): Likewise.
21551         (numbers): Delete.
21552         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21553         __Qp_handle_exceptions.
21554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21555         __Qp_handle_exceptions.
21556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21557         as unused and give dummy FP_RND_NEAREST initializer.
21558         (FP_INHIBIT_RESULTS): Define.
21559         (___Q_simulate_exceptions): Update declaration.
21560         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21561         formatting.
21562         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21563         as unused and give dummy FP_RND_NEAREST initializer.
21564         (__Qp_handle_exceptions): Update declaration.
21565         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21566         formatting.
21568 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21570         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21571         the temporary FPU control word.
21572         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21573         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21575         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21576         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21577         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21578         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21580         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21581         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21582         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21584 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21586         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21587         fields.
21589 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21591         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21592         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21593         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21594         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21595         Likewise.
21596         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21597         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21598         Likewise.
21600 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21602         * po/h.po: Update from translation team.
21604 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21606         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21608         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21609         handling of denormals.
21610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21611         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21612         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21613         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21615         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21617         Likewise.
21619 2012-05-26  Marek Polacek  <polacek@redhat.com>
21621         [BZ #14152]
21622         * math/libm-test.inc (fma_test): Don't always expect underflow
21623         exception.
21625 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21627         [BZ #12416]
21628         * elf/tst-execstack.c: Include stackinfo.h.
21629         (do_test): Adjust test case to ensure that pthread_getattr_np
21630         behaviour remains the same after marking stack executable.
21632 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21634         * sysdeps/unix/sysv/linux/kernel-features.h
21635         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21636         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21637         kernel-features.h.
21638         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21639         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21640         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21641         kernel-features.h.
21642         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21643         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21645 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21647         * configure.in: Define the default includes to being none.
21648         * configure: Regenerated.
21650 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21652         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21653         * sysdeps/x86_64/setjmp.S: Likewise.
21654         * sysdeps/i386/bsd-setjmp.S: Likewise.
21655         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21656         * sysdeps/i386/setjmp.S: Likewise.
21657         * sysdeps/i386/__longjmp.S: Likewise.
21658         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21659         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21661         * include/stap-probe.h: New file.
21662         * configure.in: Handle --enable-systemtap.
21663         * configure: Regenerated.
21664         * config.h.in (USE_STAP_PROBE): New #undef.
21665         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21666         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21667         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21669 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21671         [BZ #13717]
21672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21673         to 2.4.0 where earlier.
21674         * sysdeps/unix/sysv/linux/configure: Regenerated.
21675         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21676         <kernel-features.h>.
21677         [__ASSUME_32BITUIDS]: Make code unconditional.
21678         [!__ASSUME_32BITUIDS]: Remove conditional code.
21679         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21680         <kernel-features.h>.
21681         [__ASSUME_32BITUIDS]: Make code unconditional.
21682         [!__ASSUME_32BITUIDS]: Remove conditional code.
21683         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21684         [__ASSUME_32BITUIDS]: Make code unconditional.
21685         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21686         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21687         <kernel-features.h>.
21688         [__ASSUME_32BITUIDS]: Make code unconditional.
21689         [!__ASSUME_32BITUIDS]: Remove conditional code.
21690         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21691         <kernel-features.h>.
21692         [__ASSUME_32BITUIDS]: Make code unconditional.
21693         [!__ASSUME_32BITUIDS]: Remove conditional code.
21694         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21695         <kernel-features.h>.
21696         [__ASSUME_32BITUIDS]: Make code unconditional.
21697         [!__ASSUME_32BITUIDS]: Remove conditional code.
21698         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21699         <kernel-features.h>.
21700         [__ASSUME_32BITUIDS]: Make code unconditional.
21701         [!__ASSUME_32BITUIDS]: Remove conditional code.
21702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21703         <kernel-features.h>.
21704         [__ASSUME_32BITUIDS]: Make code unconditional.
21705         [!__ASSUME_32BITUIDS]: Remove conditional code.
21706         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21707         <kernel-features.h>.
21708         [__ASSUME_32BITUIDS]: Make code unconditional.
21709         [!__ASSUME_32BITUIDS]: Remove conditional code.
21710         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21711         <kernel-features.h>.
21712         [__ASSUME_32BITUIDS]: Make code unconditional.
21713         [!__ASSUME_32BITUIDS]: Remove conditional code.
21714         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21715         <kernel-features.h>.
21716         [__ASSUME_32BITUIDS]: Make code unconditional.
21717         [!__ASSUME_32BITUIDS]: Remove conditional code.
21718         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21719         <kernel-features.h>.
21720         [__ASSUME_32BITUIDS]: Make code unconditional.
21721         [!__ASSUME_32BITUIDS]: Remove conditional code.
21722         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21723         <kernel-features.h>.
21724         [__ASSUME_32BITUIDS]: Make code unconditional.
21725         [!__ASSUME_32BITUIDS]: Remove conditional code.
21726         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21727         <kernel-features.h>.
21728         [__NR_setresgid] (__setresgid): Do not declare.
21729         [__ASSUME_32BITUIDS]: Make code unconditional.
21730         [!__ASSUME_32BITUIDS]: Remove conditional code.
21731         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21732         <kernel-features.h>.
21733         [__NR_setresuid] (__setresuid): Do not declare.
21734         [__ASSUME_32BITUIDS]: Make code unconditional.
21735         [!__ASSUME_32BITUIDS]: Remove conditional code.
21736         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21737         <kernel-features.h>.
21738         [__ASSUME_32BITUIDS]: Make code unconditional.
21739         [!__ASSUME_32BITUIDS]: Remove conditional code.
21740         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21741         <kernel-features.h>.
21742         [__ASSUME_32BITUIDS]: Make code unconditional.
21743         [!__ASSUME_32BITUIDS]: Remove conditional code.
21744         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21745         <kernel-features.h>.
21746         [__ASSUME_32BITUIDS]: Make code unconditional.
21747         [!__ASSUME_32BITUIDS]: Remove conditional code.
21748         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21749         <kernel-features.h>.
21750         [__ASSUME_32BITUIDS]: Make code unconditional.
21751         [!__ASSUME_32BITUIDS]: Remove conditional code.
21752         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21753         <kernel-features.h>.
21754         [__ASSUME_32BITUIDS]: Make code unconditional.
21755         [!__ASSUME_32BITUIDS]: Remove conditional code.
21756         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21757         <kernel-features.h>.
21758         [__ASSUME_32BITUIDS]: Make code unconditional.
21759         [!__ASSUME_32BITUIDS]: Remove conditional code.
21760         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21761         <kernel-features.h>.
21762         [__ASSUME_32BITUIDS]: Make code unconditional.
21763         [!__ASSUME_32BITUIDS]: Remove conditional code.
21764         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21765         <kernel-features.h>.
21766         [__ASSUME_32BITUIDS]: Make code unconditional.
21767         [!__ASSUME_32BITUIDS]: Remove conditional code.
21768         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21769         <kernel-features.h>.
21770         [__ASSUME_32BITUIDS]: Make code unconditional.
21771         [!__ASSUME_32BITUIDS]: Remove conditional code.
21772         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21773         <kernel-features.h>.
21774         [__ASSUME_32BITUIDS]: Make code unconditional.
21775         [!__ASSUME_32BITUIDS]: Remove conditional code.
21776         * sysdeps/unix/sysv/linux/kernel-features.h
21777         (__ASSUME_SETRESUID_SYSCALL): Remove.
21778         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21779         (__ASSUME_32BITUIDS): Likewise.
21780         (__ASSUME_LDT_WORKS): Likewise.
21781         (__ASSUME_O_DIRECTORY): Likewise.
21782         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21783         architecture but not kernel version.
21784         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21785         (__ASSUME_MMAP2_SYSCALL): Likewise.
21786         (__ASSUME_STAT64_SYSCALL): Likewise.
21787         (__ASSUME_IPC64): Likewise.
21788         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21789         <kernel-features.h>.
21790         [__ASSUME_32BITUIDS]: Make code unconditional.
21791         [!__ASSUME_32BITUIDS]: Remove conditional code.
21792         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21793         <kernel-features.h>.
21794         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21795         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21796         132096]: Remove conditional code.
21797         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21799         <kernel-features.h>.
21800         [__ASSUME_32BITUIDS]: Make code unconditional.
21801         [!__ASSUME_32BITUIDS]: Remove conditional code.
21802         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21803         <kernel-features.h>.
21804         [__ASSUME_32BITUIDS]: Make code unconditional.
21805         [!__ASSUME_32BITUIDS]: Remove conditional code.
21806         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21807         <kernel-features.h>.
21808         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21809         unconditional.
21810         (__setresgid): Do not declare.
21811         [__ASSUME_32BITUIDS]: Make code unconditional.
21812         [!__ASSUME_32BITUIDS]: Remove conditional code.
21813         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21814         <kernel-features.h>.
21815         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21816         unconditional.
21817         (__setresuid): Do not declare.
21818         [__ASSUME_32BITUIDS]: Make code unconditional.
21819         [!__ASSUME_32BITUIDS]: Remove conditional code.
21820         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21821         <kernel-features.h>.
21822         [__ASSUME_32BITUIDS]: Make code unconditional.
21823         [!__ASSUME_32BITUIDS]: Remove conditional code.
21824         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21825         <kernel-features.h>.
21826         [__ASSUME_32BITUIDS]: Make code unconditional.
21827         [!__ASSUME_32BITUIDS]: Remove conditional code.
21829 2012-05-25  Richard Henderson  <rth@twiddle.net>
21831         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21832         dl_hwcap to ifunc resolver.
21833         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21834         elf_ifunc_invoke.
21835         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21836         dl_hwcap to ifunc resolver.
21837         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21839 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21841         [BZ #14153]
21842         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21843         for |x| <= 2**-26, not 2**-57.
21844         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21845         exception.
21847 2012-05-24  Jeff Law  <law@redhat.com>
21849         * stdio-common/Makefile (tests): Add bug25.
21850         * stdio-common/bug25.c: New test.
21852 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21854         [BZ #13576]
21855         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21856         multiple of MALLOC_ALIGNMENT in size.
21857         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21859 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21861         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21862         Require >= 256.
21863         (FILENAME_MAX): Use macro-int-constant.
21864         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21865         (_IOFBF): Use macro-int-constant.
21866         (_IOLBF): Likewise.
21867         (_IONBF): Likewise.
21868         (SEEK_CUR): Likewise.
21869         (SEEK_END): Likewise.
21870         (SEEK_SET): Likewise.
21871         (TMP_MAX): Likewise.
21872         (EOF): Use macro-int-constant.  Require < 0.
21873         (NULL): Use macro-constant.  Require == 0.
21874         (stdin): Require type to be FILE *.
21875         (stdout): Likewise.
21876         (stderr): Likewise.
21877         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21878         macro-int-constant.
21879         (EXIT_SUCCESS): Likewise.
21880         (NULL): Use macro-constant.  Require == 0.
21881         (RAND_MAX): Use macro-int-constant.
21882         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21883         [C99-based standards] (strtof): Require function.
21884         [C99-based standards] (strtold): Likewise.
21885         [C99-based standards] (strtoll): Likewise.
21886         [C99-based standards] (strtoull): Likewise.
21887         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21888         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21889         [ISO || ISO99 || ISO11] (math.h): Likewise.
21890         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21891         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21894 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21896         [BZ #14132]
21897         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21898         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21899         * intl/dgettext.c (DCGETTEXT): Likewise.
21900         * intl/gettext.c (DCGETTEXT): Likewise.
21901         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21902         * posix/regex_internal.h (gettext): Likewise.
21903         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21904         Remove declaration.
21905         * include/argz.h (__argz_count_internal)
21906         (__argz_stringify_internal): Remove declaration.
21907         (__argz_count, __argz_stringify): Declare hidden proto.
21908         * intl/dcgettext.c: Remove use of INTDEF.
21909         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21910         * string/argz-stringify.c: Likewise.
21911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21913         Declare hidden proto.
21914         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21915         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21916         Declare hidden proto.
21917         * include/stdio.h (__asprintf_internal): Don't declare.
21918         (__asprintf): Don't define as macro.  Declare hidden proto.
21919         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21920         (__fsetlocking): Declare hidden proto.
21921         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21922         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21923         hidden proto.
21924         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21925         (_IO_setlinebuf): Remove use of INTUSE.
21926         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21927         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21928         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21929         Remove declaration.
21930         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21931         (_IO_do_flush): Remove use of INTUSE.
21932         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21933         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21934         (_IO_adjust_column, _IO_least_wmarker)
21935         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21936         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21937         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21938         (_IO_default_doallocate, _IO_wdefault_doallocate)
21939         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21940         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21941         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21942         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21943         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21944         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21945         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21946         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21947         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21948         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21949         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21950         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21951         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21952         proto.
21953         (_IO_flush_all_internal, _IO_adjust_column_internal)
21954         (_IO_default_uflow_internal, _IO_default_finish_internal)
21955         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21956         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21957         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21958         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21959         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21960         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21961         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21962         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21963         (_IO_file_close_internal, _IO_file_close_it_internal)
21964         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21965         (_IO_file_init_internal, _IO_file_attach_internal)
21966         (_IO_file_fopen_internal, _IO_file_read_internal)
21967         (_IO_file_sync_internal, _IO_file_seek_internal)
21968         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21969         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21970         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21971         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21972         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21973         (_IO_list_all_internal, _IO_link_in_internal)
21974         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21975         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21976         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21977         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21978         (_IO_do_write_internal, _IO_padn_internal)
21979         (_IO_getline_info_internal, _IO_getline_internal)
21980         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21981         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21982         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21983         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21984         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21985         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21986         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21987         with libc_hidden_ver, remove use of INTUSE.
21988         * libio/genops.c: Likewise.
21989         * libio/freopen.c: Likewise.
21990         * libio/freopen64.c: Likewise.
21991         * libio/iofclose.c: Likewise.
21992         * libio/iofdopen.c: Likewise.
21993         * libio/iofflush.c: Likewise.
21994         * libio/iofflush_u.c: Likewise.
21995         * libio/iofgets.c: Likewise.
21996         * libio/iofgets_u.c: Likewise.
21997         * libio/iofopen.c: Likewise.
21998         * libio/iofopncook.c: Likewise.
21999         * libio/iofread.c: Likewise.
22000         * libio/iofread_u.c: Likewise.
22001         * libio/ioftell.c: Likewise.
22002         * libio/iofwrite.c: Likewise.
22003         * libio/iogetline.c: Likewise.
22004         * libio/iogets.c: Likewise.
22005         * libio/iogetwline.c: Likewise.
22006         * libio/iopadn.c: Likewise.
22007         * libio/iopopen.c: Likewise.
22008         * libio/ioseekoff.c: Likewise.
22009         * libio/ioseekpos.c: Likewise.
22010         * libio/iosetbuffer.c: Likewise.
22011         * libio/iosetvbuf.c: Likewise.
22012         * libio/ioungetc.c: Likewise.
22013         * libio/ioungetwc.c: Likewise.
22014         * libio/iovdprintf.c: Likewise.
22015         * libio/iovsprintf.c: Likewise.
22016         * libio/iovsscanf.c: Likewise.
22017         * libio/memstream.c: Likewise.
22018         * libio/obprintf.c: Likewise.
22019         * libio/oldfileops.c: Likewise.
22020         * libio/oldiofclose.c: Likewise.
22021         * libio/oldiofdopen.c: Likewise.
22022         * libio/oldiofopen.c: Likewise.
22023         * libio/oldiopopen.c: Likewise.
22024         * libio/oldstdfiles.c: Likewise.
22025         * libio/putc.c: Likewise.
22026         * libio/setbuf.c: Likewise.
22027         * libio/setlinebuf.c: Likewise.
22028         * libio/stdfiles.c: Likewise.
22029         * libio/strops.c: Likewise.
22030         * libio/vasprintf.c: Likewise.
22031         * libio/vscanf.c: Likewise.
22032         * libio/vsnprintf.c: Likewise.
22033         * libio/vswprintf.c: Likewise.
22034         * libio/wfiledoalloc.c: Likewise.
22035         * libio/wfileops.c: Likewise.
22036         * libio/wgenops.c: Likewise.
22037         * libio/wmemstream.c: Likewise.
22038         * libio/wstrops.c: Likewise.
22039         * libio/__fpurge.c: Likewise.
22040         * libio/__fsetlocking.c: Likewise.
22041         * assert/assert.c: Likewise.
22042         * debug/fgets_chk.c: Likewise.
22043         * debug/fgets_u_chk.c: Likewise.
22044         * debug/fread_chk.c: Likewise.
22045         * debug/fread_u_chk.c: Likewise.
22046         * debug/gets_chk.c: Likewise.
22047         * debug/obprintf_chk.c: Likewise.
22048         * debug/vasprintf_chk.c: Likewise.
22049         * debug/vdprintf_chk.c: Likewise.
22050         * debug/vsnprintf_chk.c: Likewise.
22051         * debug/vsprintf_chk.c: Likewise.
22052         * malloc/mtrace.c: Likewise.
22053         * misc/error.c: Likewise.
22054         * misc/syslog.c: Likewise.
22055         * stdio-common/asprintf.c: Likewise.
22056         * stdio-common/fxprintf.c: Likewise.
22057         * stdio-common/getw.c: Likewise.
22058         * stdio-common/isoc99_fscanf.c: Likewise.
22059         * stdio-common/isoc99_scanf.c: Likewise.
22060         * stdio-common/isoc99_vfscanf.c: Likewise.
22061         * stdio-common/isoc99_vscanf.c: Likewise.
22062         * stdio-common/isoc99_vsscanf.c: Likewise.
22063         * stdio-common/printf-prs.c: Likewise.
22064         * stdio-common/printf_fp.c: Likewise.
22065         * stdio-common/printf_fphex.c: Likewise.
22066         * stdio-common/printf_size.c: Likewise.
22067         * stdio-common/putw.c: Likewise.
22068         * stdio-common/scanf.c: Likewise.
22069         * stdio-common/sprintf.c: Likewise.
22070         * stdio-common/tmpfile.c: Likewise.
22071         * stdio-common/vfprintf.c: Likewise.
22072         * stdio-common/vfscanf.c: Likewise.
22073         * stdlib/strfmon_l.c: Likewise.
22074         * sunrpc/openchild.c: Likewise.
22075         * sunrpc/xdr_stdio.c: Likewise.
22076         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22077         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22079 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22081         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22083         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22084         in the third column, to generate for the shared library an IFUNC
22085         that uses _dl_vdso_vsym.
22086         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22087         * Makeconfig (object-suffixes-noshared): New variable.
22089         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22090         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22091         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22092         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22094         [BZ #14132]
22095         * include/sys/time.h (__gettimeofday): Remove macro.
22096         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22097         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22098         Remove INTDEF.
22099         (__gettimeofday): Add libc_hidden_def.
22100         (gettimeofday): Add libc_hidden_weak.
22101         * sysdeps/mach/gettimeofday.c: Likewise.
22102         * sysdeps/posix/gettimeofday.c: Likewise.
22103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22104         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22105         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22106         (__gettimeofday_internal): Remove strong_alias.
22107         (__gettimeofday): Add libc_hidden_def.
22108         (gettimeofday): Add libc_hidden_weak.
22109         * sysdeps/unix/syscalls.list (gettimeofday):
22110         Remove __gettimeofday_internal alias.
22112 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22113             H.J. Lu  <hongjiu.lu@intel.com>
22115         [BZ #12495]
22116         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22117         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22118         (largebin_index_32_big): New.
22119         (largebin_index): Use it for 16-byte alignment.
22120         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22121         correction with front_misalign.
22123 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22127         Likewise.
22128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22129         Likewise.
22130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22131         Likewise.
22132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22133         Likewise.
22134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22135         Likewise.
22136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22137         Likewise.
22138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22139         Likewise.
22140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22141         Likewise.
22142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22143         Likewise.
22144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22145         Likewise.
22146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22147         Likewise.
22148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22149         Likewise.
22151         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22152         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22154 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #10846]
22157         [BZ #14036]
22158         * math/libm-test.inc (exp_test): Add test from bug 14036.
22159         (pow_test): Add test from bug 10846.
22161         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22162         and other flags.
22163         (special_function): Do not include flags in test name.
22164         (parse_args): Likewise.
22165         * sysdeps/i386/fpu/libm-test-ulps: Update.
22166         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22167         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22168         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22172         exceptions.
22173         * math/libm-test.inc ("Philosophy"): Update comment about
22174         exception testing.
22175         (UNDERFLOW_EXCEPTION): New macro.
22176         (UNDERFLOW_EXCEPTION_OK): Likewise.
22177         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22178         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22179         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22180         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22181         (INVALID_EXCEPTION_OK): Update value.
22182         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22183         (OVERFLOW_EXCEPTION_OK): Likewise.
22184         (IGNORE_ZERO_INF_SIGN): Likewise.
22185         (test_exceptions): Handle underflow exceptions.
22186         (acos_test): Update for underflow exception expectations.
22187         (cexp_test): Likewise.
22188         (clog_test): Likewise.
22189         (clog10_test): Likewise.
22190         (csqrt_test): Likewise.
22191         (ctan_test): Likewise.
22192         (ctanh_test): Likewise.
22193         (exp_test): Likewise.
22194         (exp10_test): Likewise.
22195         (exp2_test): Likewise.
22196         (expm1_test): Likewise.
22197         (fma_test): Likewise.
22198         (j0_test): Likewise.
22199         (jn_test): Likewise.
22200         (nexttoward_test): Likewise.
22201         (pow_test): Likewise.
22202         (scalbn_test): Likewise.
22203         (scalbln_test): Likewise.
22204         (tan_test): Likewise.
22205         (y1_test): Likewise.
22206         * sysdeps/i386/fpu/libm-test-ulps: Update.
22207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22209 2012-05-23  David S. Miller  <davem@davemloft.net>
22211         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22212         (__libc_sigaction): Remove unused local variables.
22214 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22216         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22218 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22220         mktime: avoid signed integer overflow
22221         * time/mktime.c (__mktime_internal): Do not mishandle the case
22222         where diff == INT_MIN.
22224         mktime: simplify computation of average
22225         * time/mktime.c (ranged_convert): Use new time_t_avg function
22226         instead of rolling our own (probably-slower) code.
22228         mktime: do not assume signed right shift propagates sign bit
22229         * time/mktime.c (isdst_differ): New static function.
22230         (__mktime_internal): No need to normalize tm_isdst now.
22231         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22232         tm_isdst values.
22234         mktime: merge another wrapv change from gnulib
22235         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22236         from some compilers.
22238         mktime: remove incorrect attempt at unusual arithmetics
22239         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22240         The code didn't really work on such machines anyway.
22241         (TYPE_MINIMUM): Assume two's complement.
22242         (twos_complement_arithmetic): Verify that long_int and time_t
22243         are two's complement (or unsigned, in the latter case).
22245         mktime: check signed shifts on long_int and time_t, too
22246         * time/mktime.c (SHR): Check that shifts work as desired
22247         on the types long_int and time_t too, as SHR is used on
22248         such types.
22250         mktime: do not assume 'long' is wide enough
22251         * time/mktime.c (verify): Move decl up.
22252         (long_int): New type.
22253         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22254         to remove assumption in the code that 'long' is wide enough to
22255         store year values.  This assumption is not true on x32 and on
22256         some non-glibc platforms.
22258         mktime: merge wrapv change from gnulib
22259         * time/mktime.c (WRAPV): New macro.
22260         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22261         (guess_time_tm, __mktime_internal): Do not assume that signed
22262         integer overflow wraps around; modern compilers generate code
22263         where this assumption is no longer valid.
22265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22267         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22268         Replace "jmp L(pseudo_end)" with "ret".
22269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22270         Likewise.
22272 2012-05-23  Andreas Jaeger  <aj@suse.de>
22274         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22275         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22277 2012-05-23  Andreas Jaeger  <aj@suse.de>
22278             Maximilian Attems  <max@stro.at>
22280         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22281         New macros.
22283 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22286         code so that pseudo_end is just ret and the stack pointer is
22287         correct also for static library in error case.
22289 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22291         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22292         move to syscalls.list.
22293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22298         * manual/install.texi (Running make install): Do not mention Linux
22299         kernel version for which pt_chown is not needed.
22300         (Linux): Do not mention problems with nscd with 2.0 kernels.
22301         * INSTALL: Regenerated.
22303 2012-05-23  Andreas Jaeger  <aj@suse.de>
22305         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22306         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22307         macro.
22308         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22309         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22310         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22311         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22312         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22313         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22316         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22318         * sysdeps/unix/sysv/linux/bits/in.h
22319         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22321 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22323         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22324         (PREPARE_VERSION): Just use assert instead, it will be elided
22325         under [NDEBUG] anyway.
22327 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22329         * sysdeps/unix/sysv/linux/Makefile: Include
22330         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22331         (sysdep_routines): Remove sysctl.
22332         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22333         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22334         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22335         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22336         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22338 2012-05-22  Andreas Jaeger  <aj@suse.de>
22340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22341         that pseudo_end is just ret and the stack pointer is correct also
22342         for static library in error case.
22344 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22346         [BZ #14122]
22347         * nss/nsswitch.c (defconfig_entries): New variable.
22348         (__nss_database_lookup): Don't leak defconfig entries.
22349         (nss_parse_service_list): Don't leak on error paths.
22350         (free_database_entries): New function.
22351         (free_defconfig): New function.
22352         (free_mem): Move common code to free_database_entries.
22354 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22356         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22357         Add arch_prctl.
22358         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22360         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22361         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22363         New macro.
22364         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22365         (INTERNAL_SYSCALL_TYPES): Likewise.
22366         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22367         (LOAD_REGS_TYPES_[1-6]): Likewise.
22368         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22369         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22371 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22373         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22374         copysignl for GLIBC_2_0.
22375         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22376         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22378         logbl for GLIBC_2_0.
22379         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22380         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22382 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22385         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22387         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22388         Use "neg %eax".
22390         * time/mktime.c: Update copyright years.
22392 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22394         mktime: merge comment-quoting-style change from gnulib
22395         * time/mktime.c: Quote 'like this' in comments.
22396         The GNU coding standards suggest that we no longer quote `like this',
22397         as "`" and "'" are typically rendered asymmetrically nowadays.
22398         The typical gnulib style is to quote 'like this' when quoting
22399         code, and "like this" when quoting English.
22401         * time/mktime.c (compile-command): Add "-I.".
22403         mktime: merge mktime-internal.h change from gnulib
22404         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22406         mktime: merge time_r change from gnulib
22407         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22409         mktime: merge DEBUG change from gnulib
22410         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22411         case system <time.h> has a #define.
22413         mktime: merge <sys/types.h> change from gnulib
22414         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22415         since <time.t> is now guaranteed to define time_t.
22417         mktime: merge HAVE_CONFIG_H change from gnulib
22418         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22420 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22423         Use "neg %eax".
22425         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22426         __rlim_t cast.
22427         (struct rusage): Use anonymous union to pad each field to
22428         __syscall_slong_t.
22430 2012-05-21  David S. Miller  <davem@davemloft.net>
22432         * Makefules (o-iterator): Remove .s cases.
22433         (compile-command.s): Delete.
22434         (COMPILE.s): Delete.
22435         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22437 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22439         * configure.in (libc_cv_predef_stack_protector): Only consider
22440         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22441         * configure: Regenerated.
22443 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22446         New macro.  Use R*LP on int and pointer.
22447         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22448         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22449         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22450         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22452         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22453         [__WORDSIZE_TIME64_COMPAT32] instead of
22454         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22455         (struct utmp): Likewise.
22456         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22457         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22458         Renamed to ...
22459         (__WORDSIZE_TIME64_COMPAT32): This.
22460         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22461         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22462         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22463         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22464         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22465         (__WORDSIZE_TIME64_COMPAT32): New macro.
22467 2012-05-21  Andreas Jaeger  <aj@suse.de>
22469         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22470         only if [SHARED]. Add prototype for __wcschr_ia32.
22472 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22474         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22475         of %rbp unmolested in the jmp_buf while mangling the low bits.
22476         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22477         unmolested high bits of %rbp while demangling the low bits.
22478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22480 2012-05-21  Andreas Jaeger  <aj@suse.de>
22482         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22483         * sunrpc/svc_simple.c: Use it for registerrpc.
22484         * sunrpc/xcrypt.c: Use it for passwd2des.
22486         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22488 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22490         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22491         Don't define if [__SYSCALL_WORDSIZE != 32].
22492         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22493         New macro.
22495 2012-05-21  Bruno Haible  <bruno@clisp.org>
22496             Andreas Jaeger  <aj@suse.de>
22498         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22499         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22500         inptr and inend for must_buffer_ch.
22501         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22502         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22503         * stdio-common/Makefile (tests): Remove bug15.
22504         (bug15-ENV): Remove macro.
22505         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22506         anymore.
22508 2012-05-19  Andreas Jaeger  <aj@suse.de>
22509             Roland McGrath  <roland@hack.frob.com>
22511         * manual/contrib.texi: Completely rewritten. It contains now an
22512         alphabetical list of contributors and their contributions.
22514 2012-05-21  Richard Henderson  <rth@twiddle.net>
22516         * misc/getauxval.c (__getauxval): Use unsigned long int.
22517         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22518         (getauxval): Use unsigned long int.
22520 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22522         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22524 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22526         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22527         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22528         __alignof__ (long double).
22530 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22534 2012-05-20  Richard Henderson  <rth@twiddle.net>
22536         * misc/getauxval.c: New file.
22537         * misc/sys/auxv.h: New file.
22538         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22539         (routines): Add getauxval.
22540         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22542         * elf/dl-sysdep.c (_dl_auxv): Remove.
22543         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22544         * elf/dl-support.c (_dl_auxv): New variable.
22545         (_dl_aux_init): Initialize it.
22546         * manual/startup.texi (Auxiliary Vector): New node.
22547         * sysdeps/generic/bits/hwcap.h: New file.
22548         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22549         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22550         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22551         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22552         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22555         Update.
22556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22565 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22569 2012-05-19  David S. Miller  <davem@davemloft.net>
22571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22573 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22575         [BZ #14123]
22576         * math/s_ccosh.c: Include <float.h>
22577         (__ccosh): Avoid internal overflow calculating sinh and cosh
22578         values before multiplying by sin and cos values.
22579         * math/s_ccoshf.c: Likewise.
22580         * math/s_ccoshl.c: Likewise.
22581         * math/s_csin.c: Likewise.
22582         * math/s_csinf.c: Likewise.
22583         * math/s_csinl.c: Likewise.
22584         * math/s_csinh.c: Likewise.
22585         * math/s_csinhf.c: Likewise.
22586         * math/s_csinhl.c: Likewise.
22587         * math/libm-test.inc (ccos_test): Add more tests.
22588         (ccosh_test): Likewise.
22589         (csin_test): Likewise.
22590         (csinh_test): Likewise.
22591         * sysdeps/i386/fpu/libm-test-ulps: Update.
22592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22594 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22596         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22597         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22599         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22601 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22603         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22604         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22605         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22606         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22607         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22608         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22609         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22610         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22611         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22612         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22613         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22614         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22615         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22616         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22617         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22618         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22619         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22620         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22621         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22622         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22623         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22624         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22625         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22626         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22627         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22628         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22629         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22630         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22631         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22632         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22633         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22635 2012-05-18  Andreas Jaeger  <aj@suse.de>
22637         * csu/.gitignore: Delete.
22639 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22641         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22642         (timex): Use __syscall_slong_t.
22644 2012-05-18  Andreas Jaeger  <aj@suse.de>
22645             Carlos O'Donell  <carlos_odonell@mentor.com>
22647         * manual/install.texi (Configuring and compiling): Update
22648         description about files modified in the source directory.
22649         * INSTALL: Regenerated.
22651 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22653         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22654         value.  Use "or" to set return value to -1.
22655         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22656         negate return value.
22658 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22660         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22661         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22662         failure if the compiler has Graphite support disabled.
22663         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22664         Likewise.
22665         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22666         CFLAGS-memmove.c): Likewise.
22667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22668         Likewise.
22670 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22672         * sysdeps/x86_64/x32/_itoa.h: New file.
22674         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22675         getdents system call only if kernel and user dirents have the
22676         same d_ino and d_off.
22678         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22679         LLONG_MAX != LONG_MAX.
22680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22681         (_fitoa_word): Likewise.
22683         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22684         years.
22685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22686         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22687         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22689         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22690         include <bits/wordsize.h>.  Check __x86_64__ instead of
22691         __WORDSIZE.
22692         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22693         if __x86_64__ is defined.  Use anonymous union on fpstate.
22695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22696         anonymous union.
22698 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22700         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22701         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22702         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22703         Refer to _rtld_local_ro instead of _rtld_global_ro.
22704         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22705         Likewise.
22706         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22707         Likewise.
22708         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22709         Likewise.
22710         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22711         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22712         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22714         * sysdeps/powerpc/powerpc32/dl-machine.c
22715         (__elf_machine_runtime_setup) [PROF]: Don't reference
22716         _dl_prof_resolve.
22718 2012-05-18  Andreas Jaeger  <aj@suse.de>
22720         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22721         function only available for GCCs before 3.4 since GCC 3.4
22722         introduced a builtin.
22723         (lrint): Likewise.
22724         (llrintf): Likewise.
22725         (llrint): Likewise.
22726         (fmaxf): Likewise.
22727         (fmax): Likewise.
22728         (fminf): Likewise.
22729         (fmin): Likewise.
22730         (rint): Likewise.
22731         (rintf): Likewise.
22732         (nearbyint): Likewise.
22733         (nearbyintf): Likewise.
22734         (ceil): Likewise.
22735         (ceilf): Likewise.
22736         (floor): Likewise.
22737         (floorf): Likewise.
22739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22741         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22742         on both fields and cast pointer to __syscall_ulong_t.
22744         * bits/types.h (__fsword_t): New type.
22745         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22746         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22748         (__FSWORD_T_TYPE): Likewise.
22749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22750         (__FSWORD_T_TYPE): Likewise.
22751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22752         (__FSWORD_T_TYPE): Likewise.
22753         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22754         (__FSWORD_T_TYPE): Likewise.
22755         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22756         __SWORD_TYPE with __fsword_t.
22757         (statfs64): Likewise.
22759 2012-05-17  David S. Miller  <davem@davemloft.net>
22761         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22763 2012-05-17  Andreas Jaeger  <aj@suse.de>
22765         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22766         warning.
22768 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22770         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22772 2012-05-17  Andreas Jaeger  <aj@suse.de>
22774         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22775         when it is used.
22777 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22779         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22781 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22783         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22784         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22786 2012-05-17  Andreas Jaeger  <aj@suse.de>
22787             Carlos O'Donell  <carlos_odonell@mentor.com>
22789         [BZ #14059]
22790         * sysdeps/x86_64/multiarch/init-arch.h
22791         (bit_YMM_Usable): Rename to...
22792         (bit_AVX_Usable): ... this.
22793         (bit_FMA4_Usable): New macro.
22794         (bit_XMM_state): New macro.
22795         (bit_YMM_state): New macro.
22796         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22797         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22798         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22799         (CPUID_OSXSAVE): New macro.
22800         (CPUID_AVX): New macro.
22801         (CPUID_FMA4): New macro.
22802         (index_YMM_Usable): Rename to...
22803         (index_AVX_Usable): ... this.
22804         (HAS_AVX): Use HAS_ARCH_FEATURE.
22805         (HAS_FMA4): Likewise.
22806         (HAS_YMM_USABLE): Remove.
22807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22808         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22809         are present.
22810         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22811         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22812         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22813         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22814         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22816 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22818         * math/libm-test.c: Support platforms without multiple rounding modes.
22819         * math/bug-nextafter.c: Support platforms without FP exceptions.
22820         * math/bug-nexttoward.c: Likewise.
22821         * math/test-fenv.c: Likewise.
22822         * math/test-misc.c: Likewise.
22823         * stdlib/bug-getcontext.c: Likewise.
22825 2012-05-17  Andreas Jaeger  <aj@suse.de>
22827         * manual/examples/search.c (critter_cmp): Change signature to
22828         avoid warnings.
22829         * manual/string.texi (Collation Functions): Likewise.
22831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22833         * bits/types.h: Fold copyright years.
22834         * bits/typesizes.h: Likewise.
22835         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22836         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22839         * time/time.h: Likewise.
22841 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22843         [BZ #208]
22844         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22845         in instead of returning them.  Return void.
22846         (__libc_mallinfo): Accumulate over all arenas.
22847         (__malloc_stats): Adjust for change in int_mallinfo interface.
22849 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22851         [BZ #10375]
22852         * configure.in (NM): Add AC_CHECK_TOOL for it.
22853         (libc_extra_cflags): New substituted variable.
22854         Check for -fstack-protector being used implicitly.
22855         * configure: Regenerated.
22856         * config.make.in (config-extra-cflags): New variable,
22857         gets @libc_extra_cflags@.
22858         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22860         [BZ #10375]
22861         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22862         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22863         * configure: Regenerated.
22864         * config.make.in (CPPUNDEFS): New substituted variable.
22865         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22866         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22867         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22871         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22872         (mq_attr): Use __syscall_slong_t.
22874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22876         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22877         Check __x86_64__ instead of __WORDSIZE.
22878         (_STAT_VER_LINUX): Likewise.
22879         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22880         __syscall_ulong_t and __syscall_slong_t.
22881         (stat64): Likewise.
22883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22885         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22889         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22891 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22893         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22894         __syscall_ulong_t.
22896         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22897         include <bits/wordsize.h>.  Check __x86_64__ instead of
22898         __WORDSIZE.
22899         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22900         defined.
22901         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22904         include <bits/wordsize.h>.  Check __x86_64__ instead of
22905         __WORDSIZE.
22906         (user_regs_struct): Use "__extension__ unsigned long long"
22907         instead of "unsigned long" if __x86_64__ is defined.
22908         (user): Likewise.  Pad after pointer field if __ILP32__ is
22909         defined.
22911 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22913         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22914         versions 5 to 9.
22915         * configure: Regenerated.
22916         * manual/install.texi (texinfo): Increase version requirement to
22917         4.5 or later.
22918         * INSTALL: Regenerated.
22920         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22924         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22926         * sysdeps/x86_64/x32/ffs.c: New file.
22928         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22929         __syscall_ulong_t.
22930         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22931         defined.  Use __syscall_ulong_t.
22932         (shminfo): Use __syscall_ulong_t.
22933         (shm_info): Likewise.
22935         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22936         __syscall_ulong_t.
22938         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22939         <bits/wordsize.h>.
22940         (msgqnum_t): Use __syscall_ulong_t.
22941         (msglen_t): Likewise.
22942         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22943         __syscall_ulong_t.
22945         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22946         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22948         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22950         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22951         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22953         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22954         __syscall_slong_t.
22956         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22957         include <bits/wordsize.h>.  Check __x86_64__ instead of
22958         __WORDSIZE.
22960         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22961         "unsigned long long int" if __x86_64__ is defined.
22962         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22964         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22965         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22966         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22968         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22969         <stdint.h>.
22970         (GET_PC): Cast to uintptr_t first.
22971         (GET_FRAME): Likewise.
22972         (GET_STACK): Likewise.
22974         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22976         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22977         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22978         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22979         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22980         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22981         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22982         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22983         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22985         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22986         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22987         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22988         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22989         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22991         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22992         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22993         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22994         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22995         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22997         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22999         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23000         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23001         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23004 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23006         * Makerules (+depfiles): Also collect depfiles from .oS in
23007         $(extra-objs).
23008         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23009         .oS, $(libnldbl-routines)).
23011         * Makerules (native-compile-mkdep-flags): Define.
23012         * sunrpc/Makefile (extra-objs): Add $(addprefix
23013         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23014         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23015         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23016         calling $(make-target-directory).
23018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23020         * bits/types.h (__snseconds_t): Removed.
23021         * time/time.h (struct timespec): Replace __snseconds_t with
23022         __syscall_slong_t.
23023         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23024         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23025         Likewise.
23026         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23027         (__SNSECONDS_T_TYPE): Likewise.
23028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23029         (__SNSECONDS_T_TYPE): Likewise.
23030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23031         (__SNSECONDS_T_TYPE): Likewise.
23033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23035         * sysdeps/mach/hurd/bits/typesizes.h
23036         (__SYSCALL_SLONG_TYPE): New macro.
23037         (__SYSCALL_ULONG_TYPE): Likewise.
23039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23041         * bits/types.h (__syscall_slong_t): New type.
23042         (__syscall_ulong_t): Likewise.
23044         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23045         (__SYSCALL_ULONG_TYPE): Likewise.
23046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23047         (__SYSCALL_SLONG_TYPE): Likewise.
23048         (__SYSCALL_ULONG_TYPE): Likewise.
23049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23050         (__SYSCALL_SLONG_TYPE): Likewise.
23051         (__SYSCALL_ULONG_TYPE): Likewise.
23052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23053         (__SYSCALL_SLONG_TYPE): Likewise.
23054         (__SYSCALL_ULONG_TYPE): Likewise.
23056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23058         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23059         Add sigaltstack-offsets.sym.
23060         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23061         <sigaltstack-offsets.h>.
23062         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23063         longjmp_msg pointer.
23064         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23065         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23066         signal stack.
23067         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23069 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23071         * elf/stackguard-macros.h: Remove file.
23072         * sysdeps/generic/stackguard-macros.h: New file.
23073         * sysdeps/i386/stackguard-macros.h: Likewise.
23074         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23075         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23076         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23077         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23078         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23079         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23080         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23081         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23082         <elf/stackguard-macros.h>.
23084         [BZ #14109]
23085         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23086         __aligned__ in attribute.
23087         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23088         (gregset_t): Likewise.
23090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23092         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23093         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23094         * sysdeps/x86_64/x32/Implies-after: New file.
23096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23098         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23099         and access return value for _dl_profile_fixup.  Use R10_LP to
23100         load frame size.
23102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23104         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23108         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23109         * sysdeps/x86_64/x32/sysdep.h: New file.
23111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23113         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23114         * sysdeps/x86_64/setjmp.S: Likewise.
23116 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23118         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23119         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23120         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23121         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23122         remove unused global constant.
23124 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23126         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23127         include of <not-cancel.h>.
23129 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23131         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23133 2012-05-15  Jeff Law  <law@redhat.com>
23134             Andreas Jaeger  <aj@suse.de>
23136         [BZ #13594]
23137         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23138         out from...
23139         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23140         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23141         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23142         code changing __hst_map_handle.map.
23144 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23146         * configure.in (sysnames): Look for Implies-before and Implies-after
23147         files.
23148         * configure: Regenerated.
23150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23152         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23153         8-byte data alignment with LP_SIZE alignment.
23155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23157         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23158         into R10_LP.
23160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23162         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23166         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23167         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23168         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23169         Likewise.
23170         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23172 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23174         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23175         (stackinfo_sub_sp): Likewise.
23177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23179         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23180         RAX_LP.
23182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23185         into R*_LP.
23187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23189         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23190         sizes into R*_LP.
23192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23194         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23198         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23199         into R11_LP and load __x86_64_shared_cache_size_half into
23200         R8_LP.
23202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23205         R8_LP.
23207 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23210         logb for POWER7.
23211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23212         logbf for POWER7.
23213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23214         logbl for POWER7.
23215         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23216         powerpc32/power7/fpu/s_logb.c via #include.
23217         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23218         powerpc32/power7/fpu/s_logbf.c via #include.
23219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23220         powerpc32/power7/fpu/s_logbl.c via #include.
23222 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23224         * README.libm: Remove file.
23226 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23228         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23229         count for x32.  Use R*_LP and omit operand-size suffix.
23231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23233         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23234         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23235         * sysdeps/x86_64/x32/shlib-versions: New file.
23237 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23239         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23240         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23241         Use _dl_fatal_printf instead.
23243 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23245         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23246         set if not set by the user.  Do not allow for being unset.
23247         * sysdeps/unix/sysv/linux/configure: Regenerated.
23249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23251         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23252         the `q' suffix from lea and replace .quad with ASM_ADDR.
23254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23257         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23258         instead of $17.
23259         (PTR_DEMANGLE): Likewise.
23261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23263         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23264         (LP_OP): Likewise.
23265         (ASM_ADDR): Likewise.
23266         (RAX_LP): Likewise.
23267         (RBP_LP): Likewise.
23268         (RBX_LP): Likewise.
23269         (RCX_LP): Likewise.
23270         (RDI_LP): Likewise.
23271         (RSI_LP): Likewise.
23272         (RSP_LP): Likewise.
23273         (R8_LP): Likewise.
23274         (R9_LP): Likewise.
23275         (R10_LP): Likewise.
23276         (R10_LP): Likewise.
23277         (R11_LP): Likewise.
23278         (R12_LP): Likewise.
23279         (R13_LP): Likewise.
23280         (R14_LP): Likewise.
23281         (R15_LP): Likewise.
23283 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23285         * sysdeps/x86_64/x32/dl-machine.h: New file.
23287 2012-05-14  Andreas Jaeger  <aj@suse.de>
23289         * manual/Makefile (subdir): Remove export of subdir.
23290         (all): Remove target.
23291         (.PHONY): Remove all from list.
23292         (mkinstalldirs): Remove.
23293         (.PHONY): Remove installdirs from list.
23294         ($(inst_infodir)/libc.info): Use make-target-directory.
23295         (installdirs): Remove.
23296         (subdir_%): Remove.
23297         (glibc-targets): Remove.
23298         (lib): Remove.
23299         (stubs): Remove.
23300         ($(objpfx)stubs ../po/manual.pot): Remove.
23301         ($(objpfx)stamp%): Remove.
23302         (make-target-directory): Remove.
23303         (subdir_install): Remove.
23304         (routines): Remove.
23305         (aux): Remove.
23306         (sources): Remove.
23307         (objects): Remove.
23308         (headers): Remove.
23310         [BZ #13750]
23311         * manual/.gitignore: Remove, it's not needed anymore.
23312         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23313         all files in it.
23314         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23315         directory.
23316         (texis): Renamed to $(objpfx)texis.
23317         (texis-path): New, contains path to generated files.
23318         (chapters.%): Use texis-path for complete path, add extra argument
23319         libc-texinfo.sh.
23320         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23321         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23322         (summary,texi, stamp-summary): Use complete path of
23323         files. Generate files in build dir.
23324         (dir-add.texi): Build in build dir.
23325         (libm-err.texi,stamp-libm-err): Likewise.
23326         (version.texi, stamp-version): Likewise.
23327         (.%c.texi): Likewise.
23328         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23329         (mostlyclean): Remove target.
23330         (realclean): Remove target.
23331         (generated): Add new variable with contents from mostlyclean and
23332         realclean, remove entries duplicated in common-mostlyclean, add
23333         stamp-libm-err and stamp-version.
23334         (generated-dirs): Add libc directory.
23335         ($(inst_infodir)/libc.info): Install files from build dir.
23337         * manual/install.texi (Configuring and compiling): Adjust since
23338         the info files are not part of the tar ball anymore.
23340 2012-05-14  Andreas Jaeger  <aj@suse.de>
23342         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23343         variable.
23345 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23347         [BZ #13717]
23348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23349         to 2.2.0 where earlier.
23350         * sysdeps/unix/sysv/linux/configure: Regenerated.
23351         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23352         Remove conditional code.
23353         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23354         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23355         Remove conditional code.
23356         [!__NR_lchown]: Likewise.
23357         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23358         [__NR_lchown]: Likewise.
23359         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23360         comment referencing __ASSUME_LCHOWN_SYSCALL.
23361         * sysdeps/unix/sysv/linux/i386/sigaction.c
23362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23364         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23365         Remove conditional code.
23366         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23367         (__protocol_available): Remove #if 0 code.
23368         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23369         conditional code.
23370         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23371         * sysdeps/unix/sysv/linux/kernel-features.h
23372         (__ASSUME_GETCWD_SYSCALL): Don't define.
23373         (__ASSUME_REALTIME_SIGNALS): Likewise.
23374         (__ASSUME_PREAD_SYSCALL): Likewise.
23375         (__ASSUME_PWRITE_SYSCALL): Likewise.
23376         (__ASSUME_POLL_SYSCALL): Likewise.
23377         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23378         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23379         non-SPARC.
23380         (__ASSUME_SIOCGIFNAME): Don't define.
23381         (__ASSUME_MSG_NOSIGNAL): Likewise.
23382         (__ASSUME_SENDFILE): Define unconditionally.
23383         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23384         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23385         conditional code.
23386         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23387         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23388         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23389         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23390         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23391         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23392         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23394         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23395         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23397         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23398         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23400         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23403         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23404         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23406         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23409         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23410         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23415         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23416         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23417         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23418         Remove conditional code.
23419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23420         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23421         Remove conditional code.
23422         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23423         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23424         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23425         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23426         Remove conditional code.
23427         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23428         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23429         Remove conditional code.
23430         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23431         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23432         Remove conditional code.
23433         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23434         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23435         Remove conditional code.
23436         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23437         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23438         Remove conditional code.
23439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23440         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23441         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23443         * sysdeps/unix/sysv/linux/sigaction.c
23444         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23445         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23446         * sysdeps/unix/sysv/linux/sigpending.c
23447         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23448         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23449         * sysdeps/unix/sysv/linux/sigprocmask.c
23450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23452         * sysdeps/unix/sysv/linux/sigsuspend.c
23453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23456         (__libc_missing_rt_sigs): Remove.
23457         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23458         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23459         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23460         Remove conditional code.
23461         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23462         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23463         return 1.
23464         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23465         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23466         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23467         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23469 2012-05-14  Andreas Jaeger  <aj@suse.de>
23471         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23472         it's not used in glibc.
23473         (__coshm1): Likewise.
23474         (__acosh1p): Likewise.
23475         (__sgn): Likewise.
23477         * manual/string.texi (Copying and Concatenation): Add missing
23478         variable in concat example.
23479         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23481 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23483         [BZ #14103]
23484         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23485         __builtin_clzl with __builtin_clzll.
23487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23489         [BZ #14104]
23490         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23491         libc_freeres_ptr.
23493 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23495         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23496         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23497         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23498         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23500 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23502         * NEWS: Update ia64 info.
23504 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23506         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23507         used as bcopy.
23509 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23511         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23512         * sysdeps/unix/syscalls.list (dup3): Likewise.
23513         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23514         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23516 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23518         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23519         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23521 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23523         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23524         thread pointer.
23525         (TLS_IE): Use mov/add instead of movq/addq to load thread
23526         pointer.
23527         (TLS_GD_PREFIX): New.
23528         (TLS_GD): Use it.
23530 2012-05-11  David S. Miller  <davem@davemloft.net>
23532         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23533         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23534         (_FPU_SETCW): Likewise.
23536 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23538         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23539         is 32-byte aligned.
23541 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23543         [BZ #11837]
23544         * iconvdata/gb18030.c: Update tables.
23545         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23546         characters specially.
23547         (BODY for TO_LOOP): Add encoding of missing ranges.
23549 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23551         [BZ #13673]
23552         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23553         * sysdeps/mach/hurd/dup3.c: Likewise.
23554         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23555         * sysdeps/powerpc/memmove.c:: Likewise.
23557 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23560         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23562 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23564         * elf/elf.h (R_X86_64_RELATIVE64): New.
23565         (R_X86_64_NUM): Updated.
23566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23567         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23568         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23569         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23570         tst-quad1pie tst-quad2pie
23571         (modules-names): Add tst-quadmod1 tst-quadmod2.
23572         ($(objpfx)tst-quad1): New dependency.
23573         ($(objpfx)tst-quad2): Likewise.
23574         ($(objpfx)tst-quad1pie): Likewise.
23575         ($(objpfx)tst-quad2pie): Likewise.
23576         * sysdeps/x86_64/tst-quad1.c: New file.
23577         * sysdeps/x86_64/tst-quad1pie.c: New file.
23578         * sysdeps/x86_64/tst-quad2.c: Likewise.
23579         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23580         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23581         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23582         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23583         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23587         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23588         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23589         * streams/stropts.h (t_scalar_t): Define type.
23591         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23592         (_PATH_PRESERVE): Set to "/var/lib".
23593         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23595         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23596         instead of int.
23598         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23599         if __dir_mkfile succeeded.
23601         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23602         checking for _hurd_dtablesize.  Unlock it right after having
23603         finished _hurd_dtable allocation.
23605 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23607         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23608         * sysdeps/mach/hurd/configure: Regenerated.
23609         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23610         special-casing to...
23611         * sysdeps/gnu/configure.in: ... this new file.
23612         * sysdeps/unix/sysv/linux/configure: Regenerated.
23613         * sysdeps/gnu/configure: New generated file.
23615         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23616         for Linux: use nsec instead of usec, as well as:
23617         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23618         members of type struct timespec.
23619         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23620         New macros.
23621         (struct stat64): Likewise.
23622         (_STATBUF_ST_NSEC): New macro.
23623         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23625         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23626         __strtoul_internal rather than strtoul.
23628 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23630         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23631         and reject them.
23633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23635         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23636         which preserves existing values.
23637         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23639 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23641         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23642         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23643         greater than FD_SETSIZE.
23645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23647         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23648         allocated, call __vm_protect to finish enabling the existing space, and
23649         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23650         allocate the remainder.
23652 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23654         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23655         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23659         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23660         sysdeps/mach/hurd/readlink.c.
23662         * posix/tst-sysconf.c (posix_options): Only use
23663         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23664         _POSIX_SYNCHRONIZED_IO when they are defined
23665         * sysdeps/mach/hurd/bits/posix_opt.h:
23666         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23667         (_XOPEN_REALTIME): Undefine macro.
23668         (_XOPEN_REALTIME_THREADS): Undefine macro.
23669         (_XOPEN_SHM): Undefine macro.
23670         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23671         macro to -1.
23672         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23673         macro to -1.
23674         (_POSIX_ASYNC_IO): Undefine macro.
23675         (_POSIX_PRIORITIZED_IO): Undefine macro.
23676         (_POSIX_SPIN_LOCKS): Define macro to -1.
23678         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23679         SA_NODEFER, SA_RESETHAND.
23680         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23681         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23682         F_DUPFD_CLOEXEC.
23684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23686         * elf/Makefile (pldd-modules): Define unconditionally.
23688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23690         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23694         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23695         Return ENOENT when name is empty.
23696         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23700         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23702         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23706         Fix mlock in all cases except non-readable pages.
23707         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23708         instead of VM_PROT_ALL as parameter to __vm_wire function.
23710         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23711         (__mkdir): When path is `/', just fail with EEXIST.
23712         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23716         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23717         <sys/uio.h> (for writev).
23718         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23719         and <sys/param.h> (for MIN).
23721 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23723         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23724         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23725         if interrupted.
23727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23729         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23730         Depend on against $(link-rpcuserlibs).
23732 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23734         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23735         (__libc_stack_end): Do not use attribute_relro.
23736         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23737         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23738         to libthread-provided value.
23739         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23740         attribute_relro.
23742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23744         [BZ #3748]
23745         * bits/libc-lock.h (__libc_once_get): New macro.
23746         * sysdeps/mach/bits/libc-lock.h: Likewise.
23747         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23748         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23749         instead of using implementation details.
23751         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23752         * libio/freopen.c: Likewise.
23753         * libio/freopen64.c: Likewise.
23754         * misc/syslog.c: Likewise.
23755         * nscd/connections.c: Likewise.
23756         * nscd/netgroupcache.c: Likewise.
23757         * sysdeps/posix/getcwd.c: Likewise.
23759 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23761         * math/w_ilogbf.c: Add #include <limits.h>.
23763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23765         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23766         path instead of returning without unlocking.
23768         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23769         immediate-write ioctls.
23770         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23774         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23775         __builtin_frame_address instead of making assumptions about the
23776         location of the return address relative to DATA.  Force early load of
23777         the return address.
23778         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23779         __builtin_frame_address.
23781         dup3 for GNU Hurd.
23782         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23783         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23784         implement dup3 and do some further code clean-ups.
23785         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23786         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23790         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23792         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23793         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23794         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23795         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23796         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23797         d->port.lock.
23799         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23800         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23801         when handler == SIG_ERR, not when handler != SIG_ERR.
23803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23805         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23806         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23807         definitions.
23809         accept4 for GNU Hurd.
23810         * include/sys/socket.h (__libc_accept4): New prototype.
23811         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23812         to implement __libc_accept4.
23813         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23814         __libc_accept4.
23815         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23817         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23818         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23819         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23820         signal-defines.sym.
23822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23824         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23828         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23829         assertion on O_CLOEXEC flag.
23830         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23831         * hurd/intern-fd.c: Likewise.
23832         * hurd/port2fd.c: Likewise.
23834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23836         [BZ #3906]
23837         * bits/in.h (IPV6_PKTINFO): Define new macro.
23838         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23840 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23842         [BZ #13954]
23843         [BZ #13955]
23844         [BZ #13956]
23845         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23846         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23847         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23848         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23850         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23851         * math/libm-test.inc (logb_test) : Additional logb tests.
23853 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23854             Andreas Jaeger  <aj@suse.de>
23856         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23857         * configure: Regenerated.
23858         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23859         * config.make.in (link-obsolete-rpc): New substituted variable.
23860         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23861         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23862         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23863         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23864         so that libc.a contains the symbols.
23865         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23866         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23867         * sunrpc/auth_none.c: Likewise.
23868         * sunrpc/auth_unix.c: Likewise.
23869         * sunrpc/authdes_prot.c: Likewise.
23870         * sunrpc/authuxprot.c: Likewise.
23871         * sunrpc/clnt_gen.c: Likewise.
23872         * sunrpc/clnt_perr.c: Likewise.
23873         * sunrpc/clnt_raw.c: Likewise.
23874         * sunrpc/clnt_simp.c: Likewise.
23875         * sunrpc/clnt_tcp.c: Likewise.
23876         * sunrpc/clnt_udp.c: Likewise.
23877         * sunrpc/clnt_unix.c: Likewise.
23878         * sunrpc/des_crypt.c: Likewise.
23879         * sunrpc/des_soft.c: Likewise.
23880         * sunrpc/get_myaddr.c: Likewise.
23881         * sunrpc/key_call.c: Likewise.
23882         * sunrpc/key_prot.c: Likewise.
23883         * sunrpc/netname.c: Likewise.
23884         * sunrpc/pm_getmaps.c: Likewise.
23885         * sunrpc/pm_getport.c: Likewise.
23886         * sunrpc/pmap_clnt.c: Likewise.
23887         * sunrpc/pmap_prot.c: Likewise.
23888         * sunrpc/pmap_prot2.c: Likewise.
23889         * sunrpc/pmap_rmt.c: Likewise.
23890         * sunrpc/publickey.c: Likewise.
23891         * sunrpc/rpc_cmsg.c: Likewise.
23892         * sunrpc/rpc_common.c: Likewise.
23893         * sunrpc/rpc_dtable.c: Likewise.
23894         * sunrpc/rpc_prot.c: Likewise.
23895         * sunrpc/rpc_thread.c: Likewise.
23896         * sunrpc/rtime.c: Likewise.
23897         * sunrpc/svc.c: Likewise.
23898         * sunrpc/svc_auth.c: Likewise.
23899         * sunrpc/svc_raw.c: Likewise.
23900         * sunrpc/svc_run.c: Likewise.
23901         * sunrpc/svc_tcp.c: Likewise.
23902         * sunrpc/svc_udp.c: Likewise.
23903         * sunrpc/svc_unix.c: Likewise.
23904         * sunrpc/svcauth_des.c: Likewise.
23905         * sunrpc/xcrypt.c: Likewise.
23906         * sunrpc/xdr.c: Likewise.
23907         * sunrpc/xdr_array.c: Likewise.
23908         * sunrpc/xdr_float.c: Likewise.
23909         * sunrpc/xdr_intXX_t.c: Likewise.
23910         * sunrpc/xdr_mem.c: Likewise.
23911         * sunrpc/xdr_rec.c: Likewise.
23912         * sunrpc/xdr_ref.c: Likewise.
23913         * sunrpc/xdr_sizeof.c: Likewise.
23914         * sunrpc/xdr_stdio.c: Likewise.
23916 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23919         change.  Update copyright years.
23921 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23923         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23925 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23926             Joseph Myers  <joseph@codesourcery.com>
23927             Paul Pluzhnikov  <ppluzhnikov@google.com>
23929         [BZ #14012]
23930         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23931         requiring rpcgen.
23932         [cross-compiling] (extra-libs): Likewise.
23933         [cross-compiling] (extra-libs-others): Likewise.
23934         [cross-compiling] (librpcsvc-routines): Likewise.
23935         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23936         [cross-compiling] (omit-deps): Likewise.
23937         (sunrpc-CPPFLAGS): New variable.
23938         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23939         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23940         (cross-rpcgen-objs): New variable.
23941         (extra-objs): Append $(cross-rpcgen-objs).
23942         ($(cross-rpcgen-objs)): New rule.
23943         ($(objpfx)cross-rpcgen): Likewise.
23944         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23945         comment.
23946         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23947         ($(objpfx)x%.stmp): Likewise.
23948         * sunrpc/proto.h [IS_IN_build] (_): Define.
23949         [IS_IN_build] (_libc_intl_domainname): Likewise.
23951 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23954         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23955         and R_X86_64_TPOFF64.
23957 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23959         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23960         sysdeps/unix/sysv/syscalls.list.
23961         (stime): Likewise.
23962         (utime): Likewise.
23963         * sysdeps/unix/sysv/syscalls.list: Remove file.
23965 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23967         [BZ #3440]
23968         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23969         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23970         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23971         (__LC_IDENTIFICATION): Make these macros useful in #if
23972         expressions, as required by C99.
23974 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23976         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23977         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23978         after this.
23980 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23982         * stdlib/longlong.h: Updated from GCC.
23984 2012-05-09  Andreas Jaeger  <aj@suse.de>
23986         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23987         default is first entry.
23988         (run_mode): Set type.
23989         (main): Remove informal message about syslog.
23990         (options): Fix typo.
23992         [BZ #14053]
23993         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23994         to asm.
23995         (lrint): Likewise.
23996         (llrintf): Likewise.
23997         (llrint): Likewise.
23998         (rint): Likewise.
23999         (rintf): Likewise.
24000         (nearbyint): Likewise.
24001         (nearbyintf): Likewise.
24003 2012-05-09  Andreas Jaeger  <aj@suse.de>
24004             Pedro Alves  <palves@redhat.com>
24006         * nscd/nscd.c (run_mode): Use enum.
24007         (main): Cleanup coding style issue.
24009 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24010             Andreas Jaeger  <aj@suse.de>
24012         * nscd/nscd.c (go_background): Replaced with...
24013         (run_mode): ... this.
24014         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24015         (options): Add -F --foreground.
24016         (main): Implement it.
24017         (parse_opt): Parse it.
24019 2012-05-09  Andreas Jaeger  <aj@suse.de>
24021         [BZ #14083]
24022         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24023         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24024         -Wconversion warning.
24025         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24026         Likewise.
24028 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24030         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24031         == 0.
24032         (LC_ALL): Use macro-int-constant.
24033         (LC_COLLATE): Likewise.
24034         (LC_CTYPE): Likewise.
24035         (LC_MESSAGES): Likewise.
24036         (LC_MONETARY): Likewise.
24037         (LC_NUMERIC): Likewise.
24038         (LC_TIME): Likewise.
24039         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24040         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24041         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24042         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24043         Specify type.
24044         [C99-based standards] (float_t): Expect type.
24045         [C99-based standards] (double_t): Expect type.
24046         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24047         type.
24048         [C99-based standards] (HUGE_VALL): Likewise.
24049         [C99-based standards] (INFINITY): Likewise.
24050         [C99-based standards] (NAN): Likewise.
24051         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24052         [C99-based standards] (FP_NAN): Likewise.
24053         [C99-based standards] (FP_NORMAL): Likewise.
24054         [C99-based standards] (FP_SUBNORMAL): Likewise.
24055         [C99-based standards] (FP_ZERO): Likewise.
24056         [C99-based standards] (FP_FAST_FMA): Use
24057         optional-macro-int-constant.  Specify type.  Require == 1.
24058         [C99-based standards] (FP_FAST_FMAF): Likewise.
24059         [C99-based standards] (FP_FAST_FMAL): Likewise.
24060         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24061         [C99-based standards] (FP_ILOGBNAN): Likewise.
24062         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24063         Specify type.
24064         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24065         [C99-based standards] (math_errhandling): Specify type.
24066         [ISO99 || ISO11] (signgam): Do not allow.
24067         [non-C99-based standards] (copysignf): Do not allow.
24068         [non-C99-based standards] (exp2f): Likewise.
24069         [non-C99-based standards] (log2f): Likewise.
24070         [non-C99-based standards] (modff): Allow.
24071         [non-C99-based standards] (erff): Do not allow.
24072         [non-C99-based standards] (erfcf): Likewise.
24073         [non-C99-based standards] (gammaf): Likewise.
24074         [non-C99-based standards] (hypotf): Likewise.
24075         [non-C99-based standards] (j0f): Likewise.
24076         [non-C99-based standards] (j1f): Likewise.
24077         [non-C99-based standards] (jnf): Likewise.
24078         [non-C99-based standards] (lgammaf): Likewise.
24079         [non-C99-based standards] (tgammaf): Likewise.
24080         [non-C99-based standards] (y0f): Likewise.
24081         [non-C99-based standards] (y1f): Likewise.
24082         [non-C99-based standards] (ynf): Likewise.
24083         [non-C99-based standards] (isnanf): Likewise.
24084         [non-C99-based standards] (acoshf): Likewise.
24085         [non-C99-based standards] (asinhf): Likewise.
24086         [non-C99-based standards] (atanhf): Likewise.
24087         [non-C99-based standards] (cbrtf): Likewise.
24088         [non-C99-based standards] (expm1f): Likewise.
24089         [non-C99-based standards] (ilogbf): Likewise.
24090         [non-C99-based standards] (log1pf): Likewise.
24091         [non-C99-based standards] (logbf): Likewise.
24092         [non-C99-based standards] (nextafterf): Likewise.
24093         [non-C99-based standards] (remainderf): Likewise.
24094         [non-C99-based standards] (rintf): Likewise.
24095         [non-C99-based standards] (scalbf): Likewise.
24096         [non-C99-based standards] (copysignl): Likewise.
24097         [non-C99-based standards] (exp2l): Likewise.
24098         [non-C99-based standards] (log2l): Likewise.
24099         [non-C99-based standards] (modfl): Allow.
24100         [non-C99-based standards] (erfl): Do not allow.
24101         [non-C99-based standards] (erfcl): Likewise.
24102         [non-C99-based standards] (gammal): Likewise.
24103         [non-C99-based standards] (hypotl): Likewise.
24104         [non-C99-based standards] (j0l): Likewise.
24105         [non-C99-based standards] (j1l): Likewise.
24106         [non-C99-based standards] (jnl): Likewise.
24107         [non-C99-based standards] (lgammal): Likewise.
24108         [non-C99-based standards] (tgammal): Likewise.
24109         [non-C99-based standards] (y0l): Likewise.
24110         [non-C99-based standards] (y1l): Likewise.
24111         [non-C99-based standards] (ynl): Likewise.
24112         [non-C99-based standards] (isnanl): Likewise.
24113         [non-C99-based standards] (acoshl): Likewise.
24114         [non-C99-based standards] (asinhl): Likewise.
24115         [non-C99-based standards] (atanhl): Likewise.
24116         [non-C99-based standards] (cbrtl): Likewise.
24117         [non-C99-based standards] (expm1l): Likewise.
24118         [non-C99-based standards] (ilogbl): Likewise.
24119         [non-C99-based standards] (log1pl): Likewise.
24120         [non-C99-based standards] (logbl): Likewise.
24121         [non-C99-based standards] (nextafterl): Likewise.
24122         [non-C99-based standards] (remainderl): Likewise.
24123         [non-C99-based standards] (rintl): Likewise.
24124         [non-C99-based standards] (scalbl): Likewise.
24125         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24126         [non-C99-based standards] (FP_*): Do not allow.
24127         [C99-based standards] (FP_*): Change to
24128         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24129         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24130         allow.
24131         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24132         (SIG_ERR): Likewise.
24133         [X/Open-based standards] (SIG_HOLD): Likewise.
24134         (SIG_IGN): Likewise.
24135         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24136         positive value.
24137         (SIGFPE): Likewise.
24138         (SIGILL): Likewise.
24139         (SIGINT): Likewise.
24140         (SIGSEGV): Likewise.
24141         (SIGTER): Likewise.
24142         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24143         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24144         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24145         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24146         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24147         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24148         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24149         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24150         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24151         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24152         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24153         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24154         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24155         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24156         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24157         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24158         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24159         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24160         [X/Open-based standards] (SIGTRAP): Likewise.
24161         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24162         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24163         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24164         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24165         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24166         allow.
24168 2012-05-08  Ian Wienand  <ianw@vmware.com>
24170         [BZ #14080]
24171         * time/tzset.c (__tzset_parse_tz): Update default rules for
24172         daylight time changes in the Energy Policy Act of 2005.
24174 2012-05-09  Andreas Jaeger  <aj@suse.de>
24176         [BZ #13983]
24177         * elf/ldconfig.c (parse_conf): Change string to make clear that
24178         ldconfig only issued a warning if ld.so.conf does not exist.
24180 2012-05-08  David S. Miller  <davem@davemloft.net>
24182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24183         movxtod instead of popping the value on the stack.
24185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24187 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24189         * config.h.in: Add HAVE_ARM_PCS_VFP.
24191 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24193         [BZ #13979]
24194         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24195         checking but the checks are disabled for any reason.
24197 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24199         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24200         and ELF64_R_TYPE with ELFW(R_TYPE).
24202 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24205         (ulimit): Likewise.
24207         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24208         (settimeofday): Likewise.
24210 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24212         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24213         a struct th_u2 inside the union, and move tu_block/tu_code into
24214         a new th_u3 union of tu_block/tu_code inside of that.  Move
24215         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24216         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24217         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24218         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24219         (th_stuff): Change to th_u1.tu_stuff.
24220         (th_data): Define.
24221         (th_msg): Change to th_u1.th_u2.tu_data.
24223 2012-05-07  David S. Miller  <davem@davemloft.net>
24225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24227         [BZ #14074]
24228         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24229         (SETUP_PIC_REG): Use it.
24230         (SETUP_PIC_REG_LEAF): Use it.
24232 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24234         [BZ #13885]
24235         [BZ #13923]
24236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24237         USE_AS_EXPM1L.
24238         (EXPL_FINITE): Likewise.
24239         (FLDLOG): Likewise.
24240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24241         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24242         e_expl.S.
24243         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24244         USE_AS_EXPM1L.
24245         (EXPL_FINITE): Likewise.
24246         (FLDLOG): Likewise.
24247         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24248         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24249         e_expl.S.
24250         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24251         test of -max_value argument for long double.
24252         * sysdeps/i386/fpu/libm-test-ulps: Update.
24253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24255 2012-05-06  David S. Miller  <davem@davemloft.net>
24257         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24258         quad soft-float symbols whose references which are compiler
24259         generated.
24260         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24262 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24264         [BZ #13884]
24265         [BZ #13914]
24266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24267         USE_AS_EXP10L.
24268         (EXPL_FINITE): Likewise.
24269         (FLDLOG): Likewise.
24270         (c0): Likewise.
24271         (c1): Likewise.
24272         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24273         Adjust comments for base varying.
24274         (__expl_finite): Change alias to EXPL_FINITE.
24275         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24276         e_expl.S.
24277         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24278         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24279         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24280         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24282         USE_AS_EXP10L.
24283         (EXPL_FINITE): Likewise.
24284         (FLDLOG): Likewise.
24285         (c0): Likewise.
24286         (c1): Likewise.
24287         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24288         Adjust comments for base varying.
24289         (__expl_finite): Change alias to EXPL_FINITE.
24290         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24291         tests for bugs.
24292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24294         [BZ #14064]
24295         * math/libm-test.inc (check_float_internal): Correct ulp
24296         calculation for subnormal expected results.
24298 2012-05-06  Andreas Jaeger  <aj@suse.de>
24300         * Makeconfig (+math-flags): New, set to -frounding-math.
24301         (+cflags): Add +math-flags so that all of glibc gets compiled with
24302         it.
24304         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24306 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24308         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24309         Disable one test.
24311         [BZ #13787]
24312         [BZ #13922]
24313         [BZ #14036]
24314         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24315         (__ieee754_expl): Allow for and saturate large arguments.
24316         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24317         (u_threshold): Likewise.
24318         (__exp): Call __ieee754_exp before checking for overflow and
24319         underflow.
24320         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24321         (u_threshold): Likewise.
24322         (__expf): Call __ieee754_expf before checking for overflow and
24323         underflow.
24324         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24325         (u_threshold): Likewise.
24326         (__expl): Call __ieee754_expl before checking for overflow and
24327         underflow.
24328         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24329         (__ieee754_expl): Allow for and saturate large arguments.
24330         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24331         missing overflow exception on overflow.
24332         (expm1_test): Do not allow missing overflow exception on overflow.
24334         * sysdeps/i386/fpu/e_expl.c: Move to ...
24335         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24336         rather than using inline asm.
24337         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24338         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24339         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24341         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24342         (nice): Likewise.
24343         (poll): Likewise.
24344         (signal): Likewise.
24345         (time): Likewise.
24346         (times): Likewise.
24348 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24350         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24351         sysdeps/unix/common/syscalls.list.
24352         (fchmod): Likewise.
24353         (fchown): Likewise.
24354         (ftruncate): Likewise.
24355         (getrusage): Likewise.
24356         (gettimeofday): Likewise.
24357         (setpgid): Likewise.
24358         (setregid): Likewise.
24359         (setreuid): Likewise.
24360         (sigaction): Likewise.
24361         (truncate): Likewise.
24362         (vhangup): Likewise.
24363         * sysdeps/unix/common/syscalls.list: Remove file.
24364         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24365         * sysdeps/unix/sysv/linux/Implies: Likewise.
24367 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24369         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24371         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24372         Moved to ...
24373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24374         Here.
24375         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24376         to ...
24377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24378         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24379         to ...
24380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24381         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24382         to ...
24383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24384         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24385         to ...
24386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24387         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24388         to ...
24389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24390         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24391         to ...
24392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24393         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24394         to ...
24395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24396         Here.
24397         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24398         to ...
24399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24400         Here.
24401         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24402         to ...
24403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24404         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24405         Moved to ...
24406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24407         Here.
24408         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24409         to ...
24410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24412 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24414         * sysdeps/unix/common/bits/dirent.h: Remove file.
24415         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24417         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24418         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24419         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24420         * sysdeps/unix/bsd/isatty.c: Likewise.
24421         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24422         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24423         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24425 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24427         [BZ #13563]
24428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24429         long double comparison inaccuracies.
24430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24433 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24435         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #14049]
24441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24442         nonzero digits before rounding a hex value.
24443         * stdlib/tst-strtod.c (tests): Add another test.
24445 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24447         * sysdeps/s390/fpu/libm-test-ulps: Update.
24449 2012-05-03  Andreas Jaeger  <aj@suse.de>
24451         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24452         does not get optimized out.
24453         (malloc_opt_barrier): New.
24455 2012-05-03  Andreas Jaeger  <aj@suse.de>
24456             Roland McGrath  <roland@hack.frob.com>
24458         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24459         intermediate file deletion.
24460         (generated): Add .symlist files.
24462 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24464         [BZ #13775]
24465         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24466         Redirect under this condition.
24467         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24468         [__USE_GNU] (__dprintf_chk): Not under this condition.
24469         [__USE_GNU] (__vdprintf_chk): Likewise.
24470         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24471         under this condition.
24472         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24473         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24474         [__USE_XOPEN2K8] (vdprintf): Likewise.
24475         [__USE_GNU] (__dprintf_chk): Not under this condition.
24476         [__USE_GNU] (__vdprintf_chk): Likewise.
24477         [__USE_GNU] (dprintf): Likewise.
24478         [__USE_GNU] (vdprintf): Likewise.
24480 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24482         * elf/Makefile (common-generated): Set this instead of generated for
24483         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24484         $(all-built-dso)-derived lists.
24486 2012-05-03  Andreas Jaeger  <aj@suse.de>
24488         * sysdeps/i386/fpu/libm-test-ulps: Update.
24490         * FAQ: Removed.
24491         * FAQ.in: Likewise.
24492         * scripts/gen-FAQ.pl: Likewise.
24493         * manual/install.texi (Installation): Point to online location of
24494         FAQ.
24495         * Makefile (files-for-dist): Remove FAQ.
24496         (FAQ): Remove.
24498 2012-05-02  Allan McRae  <allan@archlinux.org>
24500         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24501         (LDFLAGS-reldepmod5.so): Likewise.
24502         (LDFLAGS-reldep6mod1.so): Likewise.
24503         (LDFLAGS-reldep6mod4.so): Likewise.
24504         (LDFLAGS-reldep8mod3.so): Likewise.
24505         (LDFLAGS-unload4mod1.so): Likewise.
24506         (LDFLAGS-unload4mod2.so): Likewise.
24507         (LDFLAGS-tst-initorder): Likewise.
24508         (LDFLAGS-tst-initordera2.so): Likewise.
24509         (LDFLAGS-tst-initordera3.so): Likewise.
24510         (LDFLAGS-tst-initordera4.so): Likewise.
24511         (LDFLAGS-tst-initorderb2.so): Likewise.
24512         (LDFLAGS-noload): Likewise.
24513         (LDFLAGS-next): Likewise.
24514         (LDFLAGS-order2mod1.so): Likewise.
24515         (LDFLAGS-order2mod2.so): Likewise.
24516         (LDFLAGS-tst-initorder2): Likewise.
24517         (LDFLAGS-tst-initorder2a.so): Likewise.
24518         (LDFLAGS-tst-initorder2b.so): Likewise.
24519         (LDFLAGS-tst-initorder2c.so): Likewise.
24520         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24522 2012-05-02  David S. Miller  <davem@davemloft.net>
24524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24526 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24528         [BZ #14055]
24529         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24531 2012-05-02  Andreas Jaeger  <aj@suse.de>
24533         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24534         since we manipulate rounding mode.
24535         (CPPFLAGS-test-idouble.c): Likewise.
24536         (CPPFLAGS-test-ifloat.c): Likewise.
24537         (CFLAGS-test-ldouble.c): Likewise.
24538         (CFLAGS-test-double.c): Likewise.
24539         (CFLAGS-test-float.c): Likewise.
24540         (CFLAGS-test-misc.c): Likewise.
24541         (CFLAGS-test-test-fenv.c): Likewise.
24543 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24545         [BZ #2550]
24546         [BZ #2570]
24547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24548         comparisons to determine direction to adjust input.
24550 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24552         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24553         output to the target.
24555         * scripts/localplt.awk: New file.
24556         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24557         (check-localplt-CFLAGS): Variable removed.
24558         ($(all-built-dso:=.jmprel)): New static pattern rule.
24559         (generated): Add those targets.
24560         (localplt-built-dso): New variable.
24561         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24563         * elf/check-localplt.c: File removed.
24565         * scripts/check-execstack.awk: New file.
24566         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24567         (check-execstack-CFLAGS): Variable removed.
24568         ($(objpfx)check-execstack.h): Target removed.
24569         ($(objpfx)execstack-default): New target.
24570         (generated): Add that instead of check-execstack.h.
24571         ($(all-built-dso:=.phdr)): New static pattern rule.
24572         (generated): Add those targets.
24573         * elf/check-execstack.c: File removed.
24575         * scripts/check-textrel.awk: New file.
24576         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24577         (check-textrel-CFLAGS): Variable removed.
24578         (all-built-dso): Use := to define.o
24579         ($(all-built-dso:=.dyn)): New static pattern rule.
24580         (generated): Add those targets.
24581         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24582         * config.make.in (READELF): New substituted variable.
24583         * elf/check-textrel.c: File removed.
24585 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24587         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24588         allow.
24589         * conform/data/ctype.h-data [C99-based standards] (isblank):
24590         Expect function.
24591         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24592         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24594         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24595         Specify type.  Require positive value.
24596         (EILSEQ): Likewise.
24597         (ERANGE): Likewise.
24598         [ISO || POSIX] (EILSEQ): Do not expect.
24599         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24600         Specify type.  Require positive value.
24601         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24602         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24603         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24604         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24605         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24606         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24607         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24608         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24609         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24610         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24611         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24612         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24613         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24614         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24615         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24616         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24617         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24618         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24619         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24620         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24621         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24622         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24623         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24624         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24625         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24626         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24627         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24628         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24629         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24630         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24631         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24632         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24633         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24634         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24635         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24636         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24637         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24638         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24639         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24640         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24641         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24642         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24643         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24644         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24645         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24646         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24647         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24648         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24649         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24650         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24651         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24652         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24653         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24654         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24655         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24656         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24657         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24658         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24659         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24660         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24661         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24662         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24663         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24664         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24665         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24666         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24667         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24668         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24669         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24670         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24671         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24672         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24673         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24674         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24675         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24676         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24677         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24678         Require >= 2.
24679         (FLT_ROUNDS): Expect as macro, not constant.
24680         (FLT_MANT_DIG): Use macro-int-constant.
24681         (DBL_MANT_DIG): Likewise.
24682         (LDBL_MANT_DIG): Likewise.
24683         (FLT_DIG): Likewise.
24684         (DBL_DIG): Likewise.
24685         (LDBL_DIG): Likewise.
24686         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24687         (DBL_MIN_EXP): Likewise.
24688         (LDBL_MIN_EXP): Likewise.
24689         (FLT_MAX_EXP): Use macro-int-constant.
24690         (DBL_MAX_EXP): Likewise.
24691         (LDBL_MAX_EXP): Likewise.
24692         (FLT_MAX_10_EXP): Likewise.
24693         (DBL_MAX_10_EXP): Likewise.
24694         (LDBL_MAX_10_EXP): Likewise.
24695         (FLT_MAX): Use macro-constant.
24696         (DBL_MAX): Likewise.
24697         (LDBL_MAX): Likewise.
24698         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24699         (DBL_EPSILON): Likewise.
24700         (LDBL_EPSILON): Likewise.
24701         (FLT_MIN): Likewise.
24702         (DBL_MIN): Likewise.
24703         (LDBL_MIN): Likewise.
24704         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24705         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24706         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24707         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24708         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24709         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24710         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24711         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24712         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24713         [ISO11] (FLT_TRUE_MIN): Likewise.
24714         [ISO11] (LDBL_TRUE_MIN): Likewise.
24715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24716         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24717         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24718         (SCHAR_MAX): Likewise.
24719         (UCHAR_MAX): Likewise.
24720         (CHAR_MIN): Likewise.
24721         (CHAR_MAX): Likewise.
24722         (MB_LEN_MAX): Use macro-int-constant.
24723         (SHRT_MIN): Use macro-int-constant.  Specify type.
24724         (SHRT_MAX): Likewise.
24725         (USHRT_MAX): Likewise.
24726         (INT_MAX): Likewise.
24727         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24728         bound negative.
24729         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24730         bound with "U".
24731         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24732         bound with "L".
24733         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24734         bound negative.  Suffix upper bound with "L".
24735         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24736         bound with "UL".
24737         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24738         Specify type.
24739         [C99-based standards] (LLONG_MAX): Likewise.
24740         [C99-based standards] (ULLONG_MAX): Likewise.
24741         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24742         == 0.
24743         [ISO11] (max_align_t): Require type.
24744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24746         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24747         from $CFLAGS, without defining away __attribute__ calls.
24748         (checknamespace): Use $CFLAGS_namespace.
24750         * conform/conformtest.pl (@keywords): Only include C99 keywords
24751         for standards based on C99 or C11.
24753         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24754         Disable tests.
24755         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24756         UNIX98]: Likewise.
24758         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24759         usability of symbols in #if.
24761         * conform/conformtest.pl: If macro or constant types start
24762         "promoted:", expect the symbol to be of the following type
24763         promoted by the integer promotions.
24765         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24766         in one place.  Also handle "macro-constant".
24768         * conform/conformtest.pl: Only accept expected macro values with
24769         "==".  Parse all "macro" lines in one place.
24770         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24772         * conform/conformtest.pl: Handle braced types on "constant" lines
24773         instead of handling "typed-constant".
24774         * conform/data/signal.h-data: Use "constant" instead of
24775         "typed-constant".
24777         * conform/conformtest.pl: Handle "optional-" at start of lines in
24778         one place rather than duplicating several cases.  Handle each
24779         format of "macro" line with initial "optional-".
24781         * conform/conformtest.pl: Only accept expected constant or
24782         optional-constant values with "==".  Parse all "constant" lines in
24783         one place.  Parse all "optional-constant" lines in one place.
24784         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24785         * conform/data/fmtmsg.h-data: Likewise.
24786         * conform/data/netinet/in.h-data: Likewise.
24787         * conform/data/tar.h-data: Likewise.
24788         * conform/data/limits.h-data: Use "==" form on "constant" and
24789         "optional-constant" lines.
24791         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24792         Use -std=c99 for XOPEN2K.
24793         (@knownproblems): Remove.
24794         (newtoken): Don't check %isknown.
24796         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24797         Do not expect macro.
24798         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24799         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24800         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24801         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24802         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24803         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24804         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24805         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24806         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24807         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24808         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24809         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24810         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24811         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24812         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24813         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24814         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24815         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24816         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24817         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24818         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24819         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24820         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24821         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24822         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24823         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24824         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24825         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24826         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24827         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24828         [XPG3] (acosh): Likewise.
24829         [XPG3] (asinh): Likewise.
24830         [XPG3] (atanh): Likewise.
24831         [XPG3] (cbrt): Likewise.
24832         [XPG3] (expm1): Likewise.
24833         [XPG3] (ilogb): Likewise.
24834         [XPG3] (log1p): Likewise.
24835         [XPG3] (logb): Likewise.
24836         [XPG3] (nextafter): Likewise.
24837         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24838         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24839         [XPG3] (remainder): Likewise.
24840         [XPG3] (rint): Likewise.
24841         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24842         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24843         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24844         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24845         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24846         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24847         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24848         [UNIX98 || XOPEN2K] (scalb): Expect.
24849         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24850         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24851         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24852         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24853         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24854         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24855         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24856         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24857         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24858         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24859         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24860         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24861         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24862         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24863         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24864         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24865         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24866         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24867         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24868         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24869         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24870         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24871         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24872         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24873         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24874         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24875         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24876         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24877         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24878         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24879         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24880         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24881         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24882         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24883         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24884         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24885         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24886         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24887         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24888         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24889         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24890         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24891         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24892         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24893         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24894         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24895         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24896         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24897         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24898         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24899         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24900         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24901         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24902         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24903         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24904         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24905         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24906         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24907         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24908         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24909         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24910         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24911         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24912         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24913         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24914         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24915         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24916         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24917         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24918         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24919         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24920         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24921         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24922         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24923         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24924         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24925         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24926         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24927         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24928         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24929         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24930         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24931         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24932         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24933         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24934         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24935         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24936         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24937         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24938         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24939         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24940         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24941         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24942         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24943         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24944         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24945         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24946         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24947         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24948         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24949         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24950         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24951         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24952         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24953         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24954         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24955         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24956         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24957         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24958         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24959         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24960         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24961         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24962         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24963         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24964         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24965         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24966         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24967         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24968         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24969         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24970         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24971         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24972         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24973         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24974         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24975         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24976         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24977         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24978         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24979         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24980         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24981         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24982         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24983         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24984         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24985         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24987         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24988         _XOPEN_SOURCE_EXTENDED for XPG4.
24990         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24992         * Makeconfig (localtime): Remove variable.
24993         (inst_localtime-file): Likewise.
24995 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24998         Update.
24999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25000         Update.
25001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25002         Update.
25003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25004         Update.
25005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25006         Update.
25007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25008         Update.
25009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25010         Update.
25011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25012         Update.
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25014         Update.
25016 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25018         [BZ #2550]
25019         [BZ #2570]
25020         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25021         comparisons to determine direction to adjust input.
25022         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25023         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25024         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25025         Likewise.
25026         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25027         Likewise.
25028         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25029         Likewise.
25030         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25032         Likewise.
25033         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25034         Likewise.
25035         * math/libm-test.inc (nexttoward_test): Add more tests.
25037 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25039         [BZ #14040]
25040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25041         in version GLIBC_2.1, not GLIBC_2.0.
25042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25043         Likewise.
25045 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25047         [BZ #13942]
25048         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25049         (1 - x) * (1 + x).
25050         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25051         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25052         * math/libm-test.inc (acos_test): Add more tests.
25053         (asin_test): Likewise.
25054         * sysdeps/i386/fpu/libm-test-ulps: Update.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057         [BZ #14034]
25058         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25059         of square root.
25060         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25061         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25062         * math/libm-test.inc (acos_test_tonearest): New function.
25063         (acos_test_towardzero): Likewise.
25064         (acos_test_downward): Likewise.
25065         (acos_test_upward): Likewise.
25066         (asin_test_tonearest): Likewise.
25067         (asin_test_towardzero): Likewise.
25068         (asin_test_downward): Likewise.
25069         (asin_test_upward): Likewise.
25070         (main): Call the new functions.
25071         * sysdeps/i386/fpu/libm-test-ulps: Update.
25072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25074         [BZ #13884]
25075         [BZ #13924]
25076         * math/e_exp10.c: Include <float.h>.
25077         (__ieee754_exp10): Handle underflow here rather than multiplying
25078         large negative argument by M_LN10.
25079         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25080         of __ieee754_expf.
25081         * math/e_exp10l.c: Include <float.h>.
25082         (__ieee754_exp10l): Handle underflow here rather than multiplying
25083         large negative argument by M_LN10l.
25084         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25085         spurious overflow exception on underflow.
25087 2012-04-29  Marek Polacek  <polacek@redhat.com>
25089         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25090         (__fortify_function): New macro.
25091         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25092         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25093         __extern_always_inline.
25094         * libio/bits/stdio2.h: Likewise.
25095         * libio/bits/stdio.h: Likewise.
25096         * string/string.h: Likewise.
25097         * string/bits/string3.h: Likewise.
25098         * include/stdio.h: Likewise.
25099         * stdlib/bits/stdlib.h: Likewise.
25100         * stdlib/stdlib.h: Likewise.
25101         * rt/bits/mqueue2.h: Likewise.
25102         * rt/mqueue.h: Likewise.
25103         * posix/bits/unistd.h: Likewise.
25104         * posix/unistd.h: Likewise.
25105         * io/bits/poll2.h: Likewise.
25106         * io/bits/fcntl2.h: Likewise.
25107         * io/fcntl.h: Likewise.
25108         * io/sys/poll.h: Likewise.
25109         * misc/bits/syslog.h: Likewise.
25110         * misc/bits/syslog-ldbl.h: Likewise.
25111         * misc/sys/syslog.h: Likewise.
25112         * socket/bits/socket2.h: Likewise.
25113         * socket/sys/socket.h: Likewise.
25114         * debug/tst-chk1.c: Likewise.
25115         * wcsmbs/bits/wchar2.h: Likewise.
25116         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25117         * wcsmbs/wchar.h: Likewise.
25119 2012-04-29  Andreas Jaeger  <aj@suse.de>
25121         * Makerules (tests): Remove enable-check-abi protection.
25122         (check-abi-warn): Remove.
25123         (check-abi-%): Remove check-abi-warn usage.
25125         * configure.in: Remove check-abi configure option.
25126         * configure: Regenerated.
25127         * config.make.in (enable-check-abi): Remove.
25129 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25131         [BZ #14033]
25132         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25133         double functions to double *_finite functions.
25135         [BZ #13941]
25136         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25137         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25138         LDBL_MIN_EXP.
25139         * stdio-common/Makefile (tests): Add tst-sprintf3.
25140         * stdio-common/tst-sprintf3.c: New file.
25142         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25143         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25145 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25147         * conform/conformtest.pl: Remove duplicate typed-constant
25148         handling.
25150 2012-04-28  David S. Miller  <davem@davemloft.net>
25152         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25153         (check-abi-%): Remove AWK script prerequisite and explicit
25154         abilist directory.
25155         (check-abi): Rewrite to just diff the symlist with the abilist.
25156         (config-tls, config-abi-config): Delete, no longer used.
25157         (update-abi-%): Remove AWK script and explicit abilist directory.
25158         (update-abi): Rewrite to simply compare and conditionally copy the
25159         symlist and the sysdep abilist file.  Remove update-abi-config
25160         checks.
25161         * abilist/ld.abilist: Remove.
25162         * abilist/libBrokenLocale.abilist: Remove.
25163         * abilist/libanl.abilist: Remove.
25164         * abilist/libcrypt.abilist: Remove.
25165         * abilist/libdl.abilist: Remove.
25166         * abilist/librt.abilist: Remove.
25167         * abilist/libthread_db.abilist: Remove.
25168         * abilist/libutil.abilist: Remove.
25169         * scripts/extract-abilist.awk: Remove.
25170         * scripts/merge-abilist.awk: Remove.
25171         * sysdeps/generic/libcidn.abilist: New file.
25172         * sysdeps/generic/libnss_compat.abilist: New file.
25173         * sysdeps/generic/libnss_db.abilist: New file.
25174         * sysdeps/generic/libnss_dns.abilist: New file.
25175         * sysdeps/generic/libnss_files.abilist: New file.
25176         * sysdeps/generic/libnss_hesiod.abilist: New file.
25177         * sysdeps/generic/libnss_nis.abilist: New file.
25178         * sysdeps/generic/libnss_nisplus.abilist: New file.
25179         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25180         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25181         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25182         file.
25183         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25184         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25185         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25186         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25187         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25188         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25189         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25190         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25191         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25192         file.
25193         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25194         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25195         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25196         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25197         file.
25198         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25199         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25200         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25201         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25202         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25203         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25204         file.
25205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25206         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25207         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25208         file.
25209         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25211         New file.
25212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25213         New file.
25214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25215         New file.
25216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25217         New file.
25218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25219         New file.
25220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25221         New file.
25222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25223         New file.
25224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25225         New file.
25226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25227         New file.
25228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25229         New file.
25230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25231         New file.
25232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25233         New file.
25234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25235         New file.
25236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25237         file.
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25239         New file.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25241         New file.
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25243         file.
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25245         New file.
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25247         New file.
25248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25249         file.
25250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25251         New file.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25253         New file.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25255         New file.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25257         New file.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25259         New file.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25261         New file.
25262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25264         file.
25265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25266         New file.
25267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25268         file.
25269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25270         file.
25271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25272         file.
25273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25274         file.
25275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25276         file.
25277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25278         New file.
25279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25280         file.
25281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25282         file.
25283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25284         New file.
25285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25286         file.
25287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25289         file.
25290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25291         New file.
25292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25293         file.
25294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25295         file.
25296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25297         file.
25298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25299         file.
25300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25301         file.
25302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25303         New file.
25304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25305         file.
25306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25307         file.
25308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25309         New file.
25310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25311         file.
25312         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25313         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25314         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25315         file.
25316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25317         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25318         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25319         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25320         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25321         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25322         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25323         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25324         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25325         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25328         file.
25329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25330         New file.
25331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25332         file.
25333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25334         file.
25335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25336         file.
25337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25338         file.
25339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25340         file.
25341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25342         New file.
25343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25344         New file.
25345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25346         file.
25347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25348         New file.
25349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25350         file.
25351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25353         file.
25354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25355         New file.
25356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25357         file.
25358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25359         file.
25360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25361         file.
25362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25363         file.
25364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25365         file.
25366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25367         New file.
25368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25369         New file.
25370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25371         file.
25372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25373         New file.
25374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25375         file.
25377 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25379         * conform/conformtest.pl: Fix typo in handling typed-constant from
25380         allow-header.
25382 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25384         * README: Cut down references to pre-2.6 Linux kernels and
25385         Linuxthreads.  Update lists of configurations in libc and ports
25386         and sort alphabetically.  Say "or newer" with Linux kernel version
25387         requirements.
25389         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25391 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25393         [BZ #887]
25394         * math/libm-test.inc (logb_test_downward): New test to expose
25395         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25396         rounding mode.
25398 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25400         [BZ #14027]
25401         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25402         to be done.
25403         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25404         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25406 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25408         * sysdeps/unix/i386/brk.S: Remove file.
25409         * sysdeps/unix/i386/dl-brk.S: Likewise.
25410         * sysdeps/unix/i386/pipe.S: Likewise.
25411         * sysdeps/unix/i386/sigreturn.S: Likewise.
25412         * sysdeps/unix/i386/syscall.S: Likewise.
25413         * sysdeps/unix/i386/vfork.S: Likewise.
25414         * sysdeps/unix/i386/wait.S: Likewise.
25416         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25417         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25419         * configure.in (arm*-none*): Do not allow without
25420         --enable-hacker-mode.
25421         (netbsd*): Remove case setting base_os.
25422         (386bsd*): Likewise.
25423         (freebsd*): Likewise.
25424         (bsdi*): Likewise.
25425         (osf*): Likewise.
25426         (sunos*): Likewise.
25427         (ultrix*): Likewise.
25428         (newsos*): Likewise.
25429         (dynix*): Likewise.
25430         (*bsd*): Likewise.
25431         (sysv*): Likewise.
25432         (isc*): Likewise.
25433         (esix*): Likewise.
25434         (sco*): Likewise.
25435         (minix*): Likewise.
25436         (irix4*): Likewise.
25437         (irix6*): Likewise.
25438         (solaris[2-9]*): Likewise.
25439         (none): Likewise.
25440         * configure: Regenerated.
25442 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25444         [BZ #11521]
25445         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25446         overflow or cancellation in calculating denominator.
25447         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25448         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25449         down expression to avoid unexpected rounding in newer GCCs.
25450         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25452 2012-04-26  David S. Miller  <davem@davemloft.net>
25454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25455         long-double compat symbols.
25456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25470 2012-04-25  David S. Miller  <davem@davemloft.net>
25472         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25473         HWCAP_* values only after the memory barriers have been defined.
25474         (atomic_full_barrier): Define.
25475         (atomic_read_barrier): Define.
25476         (atomic_write_barrier): Define.
25478 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * shlib-versions: Add libgcc_s version information.
25481         * sysdeps/generic/libgcc_s.h: Remove.
25482         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25483         libgcc_s.h.
25484         * sysdeps/gnu/unwind-resume.c: Likewise.
25485         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25487 2012-04-25  David S. Miller  <davem@davemloft.net>
25489         * sysdeps/unix/sparc/brk.S: Delete.
25490         * sysdeps/unix/sparc/dl-brk.S: Delete.
25491         * sysdeps/unix/sparc/pipe.S: Delete.
25492         * sysdeps/unix/sparc/sysdep.S: Delete.
25493         * sysdeps/unix/sparc/sysdep.h: Delete.
25494         * sysdeps/unix/sparc/vfork.S: Delete.
25495         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25496         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25497         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25498         ret_ERRVAL, r0, r1, MOVE): Define.
25499         (JUMPTARGET): Remove.
25500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25501         sysdeps/unix/sparc/sysdep.h
25502         (ENTRY, END): Remove.
25503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25505 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25507         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25508         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25509         -DIS_IN_build.
25511         * timezone/README: Update upstream location and email address for
25512         tzcode and tzdata.
25513         * timezone/zdump.c: Update from tzcode 2012b.
25514         * timezone/zic.c: Likewise.
25516         * configure.in (libc_cv_as_needed): Remove test.
25517         * configure: Regenerated.
25518         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25519         conditional definition.
25520         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25521         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25522         * config.make.in (have-as-needed): Remove variable.
25524 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25525             Paul Pluzhnikov  <ppluzhnikov@google.com>
25527         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25528         strings correctly.
25530 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25532         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25533         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25534         * sysdeps/sh/strlen.S: Likewise.
25536 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25538         * sysdeps/unix/fork.S: Remove file.
25539         * sysdeps/unix/i386/fork.S: Likewise.
25540         * sysdeps/unix/sparc/fork.S: Likewise.
25542         * sysdeps/unix/system.c: Remove file.
25543         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25545         * sysdeps/unix/getegid.S: Remove file.
25546         * sysdeps/unix/geteuid.S: Likewise.
25548 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25550         * scripts/check-localplt.awk: New file.
25551         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25552         of diff.
25553         * scripts/data/localplt-generic.data: Add a comment.
25555         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25556         NODE when __dir_mkfile failed.
25557         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25558         Reported by Ludovic Courtès <ludo@gnu.org>.
25560 2012-04-24  Andreas Jaeger  <aj@suse.de>
25562         * Makerules (common-clean): Also remove gen-as-const-headers
25563         files.
25565 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25567         * Makerules (native-compile): Do not change working directory for
25568         build.  Use $(OUTPUT_OPTION) in command.
25569         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25571 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25573         [BZ #13886]
25574         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25575         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25576         * math/libm-test.inc (floor_test): Add more tests.
25577         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25579 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25581         * sysdeps/unix/getdents.c: Remove file.
25582         * sysdeps/unix/sysv/getdents.c: Likewise.
25583         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25585         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25586         sysdeps/unix/mman/syscalls.list.
25587         (mmap): Likewise.
25588         (mprotect): Likewise.
25589         (msync): Likewise.
25590         (munmap): Likewise.
25591         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25592         * sysdeps/unix/mman/syscalls.list: Remove.
25593         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25595         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25596         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25597         * configure: Regenerated.
25598         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25599         $(libgcc_s_suffix).
25600         * config.make.in (libgcc_s_suffix): Remove variable.
25602 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25604         * sysdeps/unix/sysv/gethostname.c: Move to ...
25605         * sysdeps/posix/gethostname.c: ... here.
25607         * sysdeps/unix/execve.S: Remove file.
25609         * sysdeps/unix/_exit.S: Remove file.
25611 2012-04-23  Andreas Jaeger  <aj@suse.de>
25613         [BZ #13739]
25614         * manual/Makefile: Remove make dist support, there's no
25615         need for a stand-alone documentation tar ball.
25616         (TEXI2DVI): Define always, it's not in Makeconfig.
25617         (dist): Removed.
25618         (tar-it): Removed.
25619         (edition): Removed.
25620         (glibc-doc-$(edition).tar): Removed
25621         (%.Z): Removed.
25622         (%.gz): Removed.
25623         (%.uu): Removed.
25624         (ETAGS): Remove, it's in Makeconfig.
25625         (move-if-change): Remove, it's in Makeconfig.
25627 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25629         [BZ #13970]
25630         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25631         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25632         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25633         (strtod_l, strtof_l, strtold_l): Remove __wur.
25634         It is not necessarily an error to ignore strtol's return value.
25635         One can reliably look at the stored endptr to decide whether
25636         the number had valid syntax.
25638 2012-04-21  Andreas Jaeger  <aj@suse.de>
25640         [BZ #13739]
25641         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25643 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25645         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25646         * sysdeps/unix/sysv/Versions: Remove file.
25648 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25650         [BZ #13927]
25651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25653 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25655         [BZ #7064]
25656         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25657         version from __vm86.
25659 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25661         * sysdeps/unix/common/lxstat.c: Remove file.
25662         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25664         * sysdeps/unix/sysv/Makefile: Remove file.
25666         * sysdeps/unix/sysv/direct.h: Remove file.
25668         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25669         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25670         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25671         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25672         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25673         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25674         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25676         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25678         * sysdeps/unix/xmknod.c: Remove file.
25679         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25681         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25683         * sysdeps/unix/sysv/i386/time.S: Remove file.
25685         * sysdeps/unix/fxstat.c: Remove file.
25686         * sysdeps/unix/xstat.c: Likewise.
25687         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25689         * sysdeps/unix/sysv/sigaction.c: Remove file.
25691         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25692         (sysdep_headers): Remove variable.
25693         [termio.h not in sysdep_headers] (generated): Likewise.
25694         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25695         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25696         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25697         * sysdeps/unix/sysv/tcflow.c: Likewise.
25698         * sysdeps/unix/sysv/tcflush.c: Likewise.
25699         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25700         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25701         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25702         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25703         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25705         * sysdeps/unix/siglist.c: Remove file.
25707         * sysdeps/unix/getppid.S: Remove file.
25709         * sysdeps/unix/mkdir.c: Remove file.
25710         * sysdeps/unix/rmdir.c: Likewise.
25712 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25714         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25715         ERR_MAX value.
25716         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25717         errlist-compat value.
25719 2012-04-18  David S. Miller  <davem@davemloft.net>
25721         * sysdeps/generic/memcopy.h (reg_char): Delete.
25722         * debug/strcat_chk.c: Use char, not reg_char.
25723         * debug/strcpy_chk.c: Likewise.
25724         * debug/strncat_chk.c: Likewise.
25725         * debug/strncpy_chk.c: Likewise.
25726         * string/memchr.c: Likewise.
25727         * string/memrchr.c: Likewise.
25728         * string/rawmemchr.c: Likewise.
25729         * string/strcat.c: Likewise.
25730         * string/strchr.c: Likewise.
25731         * string/strchrnul.c: Likewise.
25732         * string/strcmp.c: Likewise.
25733         * string/strcpy.c: Likewise.
25734         * string/strncat.c: Likewise.
25735         * string/strncmp.c: Likewise.
25736         * string/strncpy.c: Likewise.
25738 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25740         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25741         __builtin_memcopy is called when src and dest ranges are known to not
25742         overlap.
25744 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25746         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25747         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25748         fwd_align_merge macro call.
25749         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25750         bwd_align_merge macro call.
25751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25753 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25756         bwd_align_merge macros.
25757         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25758         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25759         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25761 2012-04-18  David S. Miller  <davem@davemloft.net>
25763         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25765 2012-04-18  Andreas Jaeger  <aj@suse.de>
25767         [BZ# 6794]
25768         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25769         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25770         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25772         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25773         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25774         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25776         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25777         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25778         Adjust for changed ldbl-128 files.
25780         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25781         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25782         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25784 2012-04-17  David S. Miller  <davem@davemloft.net>
25786         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25788 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25790         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25791         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25792         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25793         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25794         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25795         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25797 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25799         [BZ #6794]
25800         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25801         * math/libm-test.inc: Add ilogb errno and exception tests.
25802         * math/w_ilogb.c: New file: ilogb wrapper.
25803         * math/w_ilogbf.c: New file: ilogbf wrapper.
25804         * math/w_ilogbl.c: New file: ilogbl wrapper.
25805         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25806         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25807         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25808         exception being thrown with 0.0 as argument.
25809         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25810         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25811         exception being thrown with 0.0 as argument.
25812         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25813         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25814         exception being thrown with 0.0 as argument.
25815         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25816         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25817         exception being thrown with 0.0 as argument.
25818         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25819         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25820         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25821         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25823         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25824         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25825         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25826         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25828 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25830         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25831         with altivec.
25833 2012-04-16  Marek Polacek  <polacek@redhat.com>
25835         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25837 2012-04-16  Marek Polacek  <polacek@redhat.com>
25839         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25840         operands of fdivp instruction.
25842 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25844         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25845         * elf/tst-auditmod3b.c: Likewise.
25846         * elf/tst-auditmod4b.c: Likewise.
25847         * elf/tst-auditmod5b.c: Likewise.
25848         * elf/tst-auditmod6b.c: Likewise.
25849         * elf/tst-auditmod6c.c: Likewise.
25850         * elf/tst-auditmod7b.c: Likewise.
25851         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25852         * sysdeps/x86_64/preconfigure.in: Likewise.
25853         * sysdeps/x86_64/preconfigure: Regenerated.
25855 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25857         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25858         __ILP32__.
25860 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25863         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25865 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25867         [BZ #13973]
25868         * locale/iso-639.def: Fix gl language name. Spotted by
25869         Yaron Shahrabani.
25871 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25873         [BZ #2074]
25874         * libio/libio.h (__io_write_fn): Update comment.
25876 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25878         [BZ #2074]
25879         * stdio.texi (Hook Functions): The user provided writer function
25880         is not allowed to return -1.
25882 2012-04-11  David S. Miller  <davem@davemloft.net>
25884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25886 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25888         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25889         Add a leading slash to rtkaio.
25891 2012-04-11  Jim Meyering  <meyering@redhat.com>
25893         [BZ #11959]
25894         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25895         It is not necessarily an error to ignore fwrite's return
25896         value.  One can reliably use ferror to test for errors after
25897         the fact.
25899 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25901         * bits/types.h (__snseconds_t): New type.
25902         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25904         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25906         (__SNSECONDS_T_TYPE): Likewise.
25907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25908         (__SNSECONDS_T_TYPE): Likewise.
25909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25910         (__SNSECONDS_T_TYPE): Likewise.
25912 2012-04-10  Andreas Jaeger  <aj@suse.de>
25914         [BZ #2636]
25915         * manual/time.texi (Processor Time): Return type of times is
25916         elapsed real time since an arbitrary point in the past.
25917         (CPU Time): Move CLK_TCK from here...
25918         (Processor Time): ...to here.  Correct description.
25919         * manual/conf.texi (Constants for Sysconf): Correct description of
25920         _SC_CLK_TCK.
25922 2012-04-10  David S. Miller  <davem@davemloft.net>
25924         [BZ #13967]
25925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25926         where the is a gap between DT_REL(A) and DT_JMPREL.
25928 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25930         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25931         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25932         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25934 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25936         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25937         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25938         (dl_main): Handle --inhibit-cache.
25939         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25940         _dl_inhibit_cache.
25941         * elf/dl-load.c (_dl_map_object): Use it.
25942         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25944 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25946         [BZ #13872]
25947         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25948         (__ieee754_powl): Saturate large exponents rather than testing for
25949         overflow of y*log2(x).
25950         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25951         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25952         exceptions.
25954         [BZ #11521]
25955         * math/s_ctan.c: Include <float.h>.
25956         (__ctan): Avoid internal overflow or cancellation in calculating
25957         denominator.
25958         * math/s_ctanf.c: Likewise.
25959         * math/s_ctanl.c: Likewise.
25960         * math/s_ctanh.c: Likewise.
25961         * math/s_ctanhf.c: Likewise.
25962         * math/s_ctanhl.c: Likewise.
25963         * math/libm-test.inc (ctan_test): Add more tests.
25964         (ctanh_test): Likewise.
25965         * sysdeps/i386/fpu/libm-test-ulps: Update.
25966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25968 2012-04-09  Andreas Jaeger  <aj@suse.de>
25970         [BZ #6894]
25971         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25972         is an optional BSD extension.
25974         [BZ #10254]
25975         * manual/stdio.texi (Opening Streams): Document additional fopen
25976         parameters.
25978 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25980         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25981         %eax without telling the compiler.
25983 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25985         [BZ # 13963]
25986         * manual/install.texi: Use sourceware.org.
25988 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25990         [BZ #13873]
25991         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25992         (__ieee754_pow): Generate overflow and underflow using huge*huge
25993         and tiny*tiny rather than just returning constant infinity or zero
25994         for large exponents.
25995         * math/libm-test.inc (pow_test): Require overflow exceptions for
25996         applicable cases of large exponents.
25998         [BZ #706]
25999         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26000         (__ieee754_pow): Use iterative multiplication algorithm only for
26001         integer exponents with absolute value below 1024.  Check for odd
26002         integer exponents when using algorithm for real exponents.
26003         * math/libm-test.inc (pow_test): Add more tests.
26004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26006 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26008         [BZ #13705]
26009         * math/libm-test.inc (exp_test): Do not allow overflow exception
26010         on underflow test.
26012 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26014         [BZ #13705]
26015         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26016         instead of __kernel_standard_f.
26018 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26020         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26021         * sysdeps/x86_64/memset_chk.S: Likewise.
26023 2012-04-08  Andreas Jaeger  <aj@suse.de>
26025         [BZ #10153]
26026         * manual/startup.texi (Environment Access): Describe return value
26027         for putenv and setenv.
26029         [BZ #6895]
26030         * manual/filesys.texi (Directory Entries): Add description for
26031         DT_LNK.
26033         [BZ #6890]
26034         * manual/filesys.texi (Directory Entries): Clarify that it's file
26035         system not operating system in the description of DT_UNKNOWN.
26037         [BZ #6578]
26038         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26040 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26042         [BZ #6649]
26043         * manual/llio.texi (Opening and Closing Files): Add cross
26044         reference to explain mode argument.
26046 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26048         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26049         * sysdeps/x86_64/memset_chk.S: Likewise.
26051 2012-04-07  David S. Miller  <davem@davemloft.net>
26053         * elf/elf.h (R_SPARC_WDISP10): Define.
26054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26055         R_SPARC_SIZE32.
26056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26057         R_SPARC_SIZE64 and R_SPARC_H34.
26059 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26061         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26062         conditions and remove no longer applicable assertion.
26064 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26066         * bits/byteswap.h: Include <features.h>.
26067         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26068         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26070 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26072         * bits/byteswap.h (__bswap_16): Removed.
26073         Include <bits/byteswap-16.h> to get __bswap_16.
26074         * sysdeps/i386/bits/byteswap.h: Likewise.
26075         * sysdeps/s390/bits/byteswap.h: Likewise.
26076         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26077         * bits/byteswap-16.h: New file.
26078         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26079         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26080         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26081         * string/Makefile (headers): Add bits/byteswap-16.h.
26083 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26085         [BZ #13895]
26086         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26087         extra indirection.
26088         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26089         * nss/tst-nss-static.c: New.
26091 2012-04-06  Robert Millan  <rmh@gnu.org>
26093         [BZ #6486]
26094         * manual/llio.texi (File Position Primitive): lseek
26095         refers to WHENCE when it really means OFFSET.
26097 2012-04-06  Andreas Jaeger  <aj@suse.de>
26099         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26100         strncmp declarations.
26102         * abilist/libc.abilist: Add __poll and __ppoll.
26104 2012-04-05  David S. Miller  <davem@davemloft.net>
26106         * scripts/check-local-headers.sh: Accept a host triplet in the
26107         path matched by the exclude regexp.
26109         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26110         definition.
26111         * sysdeps/powerpc/powerpc32/dl-machine.h
26112         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26113         * sysdeps/s390/s390-32/dl-machine.h
26114         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26115         * sysdeps/sparc/sparc32/dl-machine.h
26116         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26117         * sysdeps/sparc/sparc64/dl-machine.h
26118         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26120         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26121         lazy binding.
26122         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26123         undefined symbol errors.
26125         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26126         DT_NEEDED entries.
26128 2012-04-05  Michael Matz  <matz@suse.de>
26130         [BZ #13592]
26131         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26133 2012-04-05  Andreas Jaeger  <aj@suse.de>
26135         [BZ #13908]
26136         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26137         comment.
26139 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26141         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26142         which ROUND is no valid rounding mode.
26144 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26146         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26147         read again.
26148         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26150 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26152         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26153         an exception using FPU order intentionally.
26155 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26157         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26158         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26159         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26160         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26162 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26164         [BZ #12340]
26165         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26166         EINVAL when BUFLEN is too smal.
26168 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26170         [BZ #13553]
26171         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26172         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26174 2012-04-03  Andreas Jaeger  <aj@suse.de>
26176         [BZ #13938]
26177         * manual/setjmp.texi (System V contexts): Fix sentence.
26179         [BZ #13926]
26180         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26181         New macro for this case.
26182         [!__GNUC__] (__bswap_64): New inline function for this case.
26183         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26184         * bits/byteswap.h: Likewise.
26185         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26186         ull, guard with __GLIBC_HAVE_LONG_LONG.
26188         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26189         __GLIBC_HAVE_LONG_LONG.
26191         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26192         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26194 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26196         [BZ #13691]
26197         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26198         inptr and inend, rather than using last_ch.
26200 2012-04-02  David S. Miller  <davem@davemloft.net>
26202         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26203         * stdio-common/printf-parse.h (read_int): Change return type to
26204         'int', return -1 on INT_MAX overflow.
26205         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26206         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26207         overflows INT_MAX.  Check for overflow of in-format-string precision
26208         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26209         SIZE_MAX not INT_MAX for integer overflow test.
26210         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26211         skip the construct in the format string but do not record anything.
26212         * stdio-common/bug22.c: Adjust to test both width/prevision
26213         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26214         explicitly for proper errno values.
26216 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26218         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26219         CHAR_MAX.
26220         * string/test-strcmp.c [! WIDE]: Likewise.
26221         * time/tst-mktime2.c: Likewise for INT_MAX.
26222         * string/test-string.h: #include <sys/param.h> for MIN.
26224         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26225         * sysdeps/i386/init-first.c (init): Likewise.
26226         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26227         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26228         * sysdeps/sh/init-first.c (init): Likewise.
26230 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26232         * po/ru.po: Update from translation team.
26233         * po/vi.po: Likewise.
26235 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26237         * resolv/nss_dns/dns-host.c: Merge copyright years.
26239 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26241         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26242         Optimize memcpy with prefetch if
26243         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26244         src, dst pointers have unequal 16 byte alignments.
26246 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26248         [BZ #13928]
26249         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26250         from a CNAME entry and return the minimum ttl for the query.
26251         (gaih_getanswer_slice): Likewise.
26253 2012-03-30  Jeff Law  <law@redhat.com>
26255         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26256         due to long keys.
26257         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26258         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26260         * resolv/nss_dns/dns-host.c: Update copyright year.
26262 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26264         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26265         requests to save a system call.  Fix check that all bytes are sent.
26267         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26268         comments for sendmmsg.
26270 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26272         [BZ #13691]
26273         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26274         with only 1 character between 0x0041 and 0x01b0.
26275         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26276         * wcsmbs/tst-mbsnrtowcs.c: New file.
26278 2012-03-29  David S. Miller  <davem@davemloft.net>
26280         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26281         small copies by hand.
26283 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26285         [BZ #13761]
26286         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26287         _nss_compat_initgroups_dyn): Fall back to malloc/free
26288         for large group memberships.
26290 2012-03-28  David S. Miller  <davem@davemloft.net>
26292         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26293         that branches into memcpy.
26294         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26295         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26297         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26299         bits.
26300         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26301         implementation too.
26302         * sysdeps/sparc/mempcpy.S: New file.
26304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26305         the IFUNC routine in the libc case.
26306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26308         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26309         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26310         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26311         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26312         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26313         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26314         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26315         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26317         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26318         loop to 256 bytes instead of 64 bytes and fix test signedness.
26320         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26321         * sysdeps/sparc/sparc32/Makefile: rather than here...
26322         * sysdeps/sparc/sparc64/Makefile: and here.
26324 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26326         * malloc/mallocbug.c: Avoid warnings about unused variables.
26328 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26330         [BZ #13760]
26331         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26332         in the right place. Discard and retry query if response is
26333         larger than input buffer size.
26335 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26337         [BZ #369]
26338         [BZ #2678]
26339         [BZ #3866]
26340         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26341         x for large integer exponent.
26342         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26343         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26344         sign of result as needed afterwards.
26345         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26346         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26347         result for underflowing pow the same as for overflow.
26348         (__kernel_standard_l): Handle powl overflow and underflow here
26349         rather than calling __kernel_standard.
26350         * math/libm-test.inc (pow_test): Add more tests.
26352         [BZ #3868]
26353         [BZ #13879]
26354         [BZ #13910]
26355         [BZ #13911]
26356         [BZ #13912]
26357         [BZ #13913]
26358         [BZ #13915]
26359         [BZ #13916]
26360         [BZ #13917]
26361         [BZ #13918]
26362         [BZ #13919]
26363         [BZ #13920]
26364         [BZ #13921]
26365         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26366         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26367         (__kernel_standard_l): New function.
26368         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26369         __kernel_standard.
26370         * math/w_acosl.c (__acosl): Likewise.
26371         * math/w_asinl.c (__asinl): Likewise.
26372         * math/w_atan2l.c (__atan2l): Likewise.
26373         * math/w_atanhl.c (__atanhl): Likewise.
26374         * math/w_coshl.c (__coshl): Likewise.
26375         * math/w_exp10l.c (__exp10l): Likewise.
26376         * math/w_exp2l.c (__exp2l): Likewise.
26377         * math/w_fmodl.c (__fmodl): Likewise.
26378         * math/w_hypotl.c (__hypotl): Likewise.
26379         * math/w_j0l.c (__j0l, __y0l): Likewise.
26380         * math/w_j1l.c (__j1l, __y1l): Likewise.
26381         * math/w_jnl.c (__jnl, __ynl): Likewise.
26382         * math/w_lgammal.c (__lgammal): Likewise.
26383         * math/w_log10l.c (__log10l): Likewise.
26384         * math/w_log2l.c (__log2l): Likewise.
26385         * math/w_logl.c (__logl): Likewise.
26386         * math/w_powl.c (__powl): Likewise.
26387         * math/w_remainderl.c (__remainderl): Likewise.
26388         * math/w_scalbl.c (sysv_scalbl): Likewise.
26389         * math/w_sinhl.c (__sinhl): Likewise.
26390         * math/w_sqrtl.c (__sqrtl): Likewise.
26391         * math/w_tgammal.c (__tgammal): Likewise.
26392         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26393         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26394         * math/libm-test.inc (acos_test): Add more tests.
26395         (acosh_test): Likewise.
26396         (asin_test): Likewise.
26397         (atanh_test): Likewise.
26398         (exp_test): Likewise.
26399         (exp10_test): Likewise.
26400         (exp2_test): Likewise.
26401         (expm1_test): Likewise.
26402         (lgamma_test): Likewise.
26403         (log_test): Likewise.
26404         (log10_test): Likewise.
26405         (log1p_test): Likewise.
26406         (log2_test): Likewise.
26407         (pow_test): Do not allow some spurious overflow exceptions.
26408         (sqrt_test): Add more tests.
26409         (tgamma_test): Likewise.
26410         (y0_test): Likewise.
26411         (y1_test): Likewise.
26412         (yn_test): Likewise.
26414 2012-03-27  Anton Blanchard  <anton@samba.org>
26416         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26417         MAP_HUGETLB.
26418         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26419         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26420         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26422 2012-03-27  David S. Miller  <davem@davemloft.net>
26424         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26426         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26427         have-as-vis3 check.
26429 2012-03-27  Andreas Jaeger  <aj@suse.de>
26431         * sysdeps/x86_64/elf/configure.in: Moved to ...
26432         * sysdeps/x86_64/configure.in: ... here.
26433         * sysdeps/x86_64/elf/start.S: Moved to ...
26434         * sysdeps/x86_64/start.S: ... here.
26435         * sysdeps/x86_64/elf/configure: Delete.
26437         * sysdeps/x86_64/configure.in: Merge contents from
26438         sysdeps/i386/configure.in (without i686 check).
26440         * sysdeps/i386/elf/Versions: Merge into ...
26441         * sysdeps/i386/Versions: ... this.
26442         * sysdeps/i386/elf/Versions: Delete file.
26443         * sysdeps/i386/elf/start.S: Moved to ...
26444         * sysdeps/i386/start.S: ...here.
26445         * sysdeps/i386/elf/configure.in: Merge into...
26446         * sysdeps/i386/configure.in: ...here.
26447         * sysdeps/i386/elf/configure.in: Delete file.
26448         * sysdeps/i386/elf/configure: Delete file.
26450         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26451         * debug/backtracesyms.c: ... here.
26452         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26453         * debug/backtracesymsfd.c: ... here.
26454         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26455         * sysdeps/generic/ifunc-sel.h: ... here.
26457         * sysdeps/unix/i386/start.c: Delete file.
26458         * sysdeps/unix/sparc/start.c: Delete file.
26459         * sysdeps/unix/start.c: Delete file.
26461         * sysdeps/sh/elf/configure.in: Moved to ...
26462         * sysdeps/sh/configure.in: ... here.
26463         * sysdeps/sh/elf/start.S: Moved to ...
26464         * sysdeps/sh/start.S: ... here.
26465         * sysdeps/sh/elf/configure: Delete file.
26467         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26468         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26469         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26470         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26471         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26472         * sysdeps/powerpc/powerpc64/start.S: here.
26473         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26474         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26475         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26476         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26477         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26479         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26480         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26481         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26482         * sysdeps/powerpc/powerpc32/start.S: ... here.
26483         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26484         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26485         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26487         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26488         * sysdeps/powerpc/ifunc-sel.h: ... here.
26489         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26490         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26492         * sysdeps/sparc/elf/configure.in: Moved to ...
26493         * sysdeps/sparc/configure.in: ... here.
26494         * sysdeps/sparc/elf/configure: Delete file.
26495         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26496         * sysdeps/sparc/sparc32/start.S: ... here.
26497         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26498         * sysdeps/sparc/sparc64/start.S: ... here.
26499         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26500         * sysdeps/sparc/sparc32/Makefile: ... this.
26501         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26502         * sysdeps/sparc/sparc64/Makefile: ... this.
26504         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26505         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26506         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26507         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26508         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26509         * sysdeps/s390/s390-32/setjmp.S: ... here.
26510         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26511         * sysdeps/s390/s390-32/configure.in: ... here.
26512         * sysdeps/s390/s390-32/elf/configure: Delete file.
26513         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26514         * sysdeps/s390/s390-32/start.S: ... here.
26516         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26517         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26518         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26519         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26520         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26521         * sysdeps/s390/s390-64/setjmp.S: ... here.
26522         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26523         * sysdeps/s390/s390-64/configure.in: ... here
26524         * sysdeps/s390/s390-64/elf/configure: Delete file.
26525         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26526         * sysdeps/s390/s390-64/start.S: ... here.
26527         * sysdeps/s390/s390-64/elf/configure: Delete.
26529         * configure.in: Remove support for elf directories in sysdeps.
26531         * configure: Regenerated.
26532         * sysdeps/i386/configure: Regenerated.
26533         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26534         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26535         * sysdeps/s390/s390-32/configure: Regenerated.
26536         * sysdeps/s390/s390-64/configure: Regenerated.
26537         * sysdeps/sh/configure: Regenerated.
26538         * sysdeps/sparc/configure: Regenerated.
26539         * sysdeps/x86_64/configure: Regenerated.
26541 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26545         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26546         denormal result into account.
26548 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26550         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26551         Reported by Allan McRae <allan@archlinux.org>.
26553 2012-03-23  Jeff Law  <law@redhat.com>
26555         * nss/getnssent.c (__nss_getent): Fix typo.
26557 2012-03-23  David S. Miller  <davem@davemloft.net>
26559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26561 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26563         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26564         to pad to uint64_t for each field.
26565         (dl_tls_index): Replace unsigned long with uint64_t.
26567 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26568         Paul Pluzhnikov  <ppluzhnikov@google.com>
26570         [BZ #6528]
26571         * grp/Makefile (otherlibs): Don't set it.
26572         * inet/Makefile (otherlibs): Likewise.
26573         * login/Makefile (otherlibs): Likewise.
26574         * nscd/Makefile (otherlibs): Likewise.
26575         * posix/Makefile (otherlibs): Likewise.
26576         * pwd/Makefile (otherlibs): Likewise.
26577         * rt/Makefile (otherlibs): Likewise.
26578         * sunrpc/Makefile (otherlibs): Likewise.
26579         * nss/Makefile (otherlibs): Likewise.
26580         Add libnss_files to routines and static-only-routines.
26581         ($(objpfx)getent): Remove rule.
26582         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26583         static-only-routines.
26585 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26587         [BZ #13892]
26588         * math/s_cexp.c: Include <float.h>.
26589         (__cexp): Handle exp result overflowing not necessarily
26590         overflowing both real and imaginary parts of result.
26591         * math/s_cexpf.c: Likewise.
26592         * math/s_cexpl.c: Likewise.
26593         * math/libm-test.inc (cexp_test): Add more tests.
26594         * sysdeps/i386/fpu/libm-test-ulps: Update.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26599         * include/link.h (ELFW): New macro.
26600         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26601         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26603 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26605         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26606         with uint64_t.
26608 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26610         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26611         declaration.
26612         (struct La_x32_retval): Likewise.
26614 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26616         * sysdeps/x86_64/preconfigure.in: New file.
26617         * sysdeps/x86_64/preconfigure: New generated file.
26619 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26621         [BZ #13824]
26622         * math/e_exp2l.c: Include <float.h>.
26623         (__ieee754_exp2l): Handle overflow and underflow cases
26624         separately.  Only pass fractional part of argument to
26625         __ieee754_expl.
26626         * math/libm-test.inc (exp2_test): Add more tests.
26628         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26629         negating x to take absolute value.
26630         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26631         Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26633         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26634         Likewise.
26635         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26636         computing low part if x was negated.
26637         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26639 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26641         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26642         la_x32_gnu_pltexit.
26643         (pltexit): Cast int_retval to ptrdiff_t.
26644         * elf/tst-auditmod3b.c: Likewise.
26645         * elf/tst-auditmod4b.c: Likewise.
26646         * elf/tst-auditmod5b.c: Likewise.
26647         * elf/tst-auditmod6b.c: Likewise.
26648         * elf/tst-auditmod6c.c: Likewise.
26649         * elf/tst-auditmod7b.c: Likewise.
26651         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26652         and x32_gnu_pltexit.
26654         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26655         __ELF_NATIVE_CLASS.
26656         (La_x32_regs): New macro.
26657         (La_x32_retval): Likewise.
26658         (la_x32_gnu_pltenter): New function prototype.
26659         (la_x32_gnu_pltexit): Likewise.
26661 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26664         exponent.
26666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26668         * configure.in (libc_cv_cc_nofma): Check for option to disable
26669         generation of FMA instructions.
26670         * configure: Regenerate.
26671         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26672         * sysdeps/ieee754/dbl-64/Makefile: New file.
26673         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26674         Remove brandred-fma4.
26675         (CFLAGS-brandred-fma4.c): Remove.
26676         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26677         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26678         define.
26679         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26680         define.
26682 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26684         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26685         LLONG_MAX != LONG_MAX.
26686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26687         (_fitoa_word): Likewise.
26688         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26689         LLONG_MAX != LONG_MAX.
26690         * stdio-common/_itowa.h: Include <_itoa.h>.
26691         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26692         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26693         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26694         only if not defined.
26695         (_ITOA_WORD_TYPE): Likewise.
26696         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26697         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26699 2012-03-21  David S. Miller  <davem@davemloft.net>
26701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26703 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26705         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26706         of x86_64 when setting libc_cv_slibdir, libdir and
26707         libc_cv_localedir.
26708         * sysdeps/unix/sysv/linux/configure: Regenerated.
26710 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26712         * manual/lang.texi (Old Varargs): Remove section.
26713         (How Variadic): Update menu.
26714         (va_start): Do not mention varargs.h.
26716 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26717             Joseph Myers  <joseph@codesourcery.com>
26719         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26720         link test.
26721         * configure: Regenerated.
26723 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26725         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26726         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26727         conformtest.pl
26729 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26731         * NOTES: Remove.
26732         * Makefile (files-for-dist): Remove NOTES.
26733         (NOTES): Remove rule.
26734         * README: Don't refer to NOTES.
26735         * manual/creature.texi: Don't include macros.texi.
26736         * manual/intro.texi (creature.texi): Remove comment referring to
26737         NOTES.
26739         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26740         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26741         * configure: Regenerated.
26742         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26743         LIBC_TRY_CC_OPTION.
26744         (libc_cv_as_i686): Likewise.
26745         (libc_cv_cc_avx): Likewise.
26746         (libc_cv_cc_sse2avx): Likewise.
26747         (libc_cv_cc_fma4): Likewise.
26748         (libc_cv_cc_novzeroupper): Likewise.
26749         * sysdeps/i386/configure: Regenerated.
26751         [BZ #13883]
26752         * sysdeps/i386/fpu/s_cexp.S: Remove.
26753         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26754         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26755         * math/libm-test.inc (cexp_test): Add more tests.
26756         * sysdeps/i386/fpu/libm-test-ulps: Update.
26757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26759 2012-03-21  Allan McRae  <allan@archlinux.org>
26761         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26763 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26765         [BZ #13871]
26766         * math/w_exp2.c: Do not include <float.h>.
26767         (o_threshold, u_threshold): Remove.
26768         (__exp2): Calculate result before checking finiteness and calling
26769         __kernel_standard.
26770         * math/w_exp2f.c: Likewise.
26771         * math/w_exp2l.c: Likewise.
26772         * math/libm-test.inc (exp2_test): Require overflow exception for
26773         1e6 input.
26775         [BZ #3866]
26776         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26777         range of signed 64-bit integers before using fistpll.  Remove
26778         checks for whether integers fit in mantissa bits.
26779         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26780         the range of signed 32-bit integers before using fistpl.  Remove
26781         checks for whether integers fit in mantissa bits.
26782         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26783         (__ieee754_powl): Test for y outside the range of signed 64-bit
26784         integers before using fistpll.  Reduce 64-bit values to 63-bit
26785         ones as needed.
26786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26787         divide-by-zero is raised for zero to large negative powers.
26788         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26789         (__ieee754_powl): Test for y outside the range of signed 64-bit
26790         integers before using fistpll.  Reduce 64-bit values to 63-bit
26791         ones as needed.
26792         * math/libm-test.inc (pow_test): Add more tests.
26794 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26796         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26797         <stdio-common/_itoa.h>.
26798         * debug/segfault.c: Likewise.
26799         * elf/dl-cache.c: Likewise.
26800         * elf/dl-minimal.c: Likewise.
26801         * elf/dl-misc.c: Likewise.
26802         * elf/dl-sysdep.c: Likewise.
26803         * elf/dl-version.c: Likewise.
26804         * elf/rtld.c: Likewise.
26805         * hurd/hurdsock.c: Likewise.
26806         * hurd/lookup-retry.c: Likewise.
26807         * malloc/malloc.c: Likewise.
26808         * malloc/mtrace.c: Likewise.
26809         * nscd/nscd_getgr_r.c: Likewise.
26810         * nscd/nscd_getpw_r.c: Likewise.
26811         * nscd/nscd_getserv_r.c: Likewise.
26812         * posix/getopt_init.c: Likewise.
26813         * posix/wordexp.c: Likewise.
26814         * stdio-common/_itoa.c: Likewise.
26815         * stdio-common/printf_fphex.c: Likewise.
26816         * stdio-common/vfprintf.c: Likewise.
26817         * string/_strerror.c: Likewise.
26818         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26819         * sysdeps/i386/i686/hp-timing.h: Likewise.
26820         * sysdeps/mach/_strerror.c: Likewise.
26821         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26822         * sysdeps/mach/hurd/sethostid.c: Likewise.
26823         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26824         * sysdeps/mach/xpg-strerror.c: Likewise.
26825         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26827         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26828         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26829         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26830         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26831         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26832         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26833         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26834         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26835         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26836         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26837         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26838         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26839         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26840         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26841         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26842         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26843         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26844         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26845         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26847         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26849         * stdio-common/_itoa.h: Moved to ...
26850         * sysdeps/generic/_itoa.h: Here.
26852         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26854         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26855         instead of "_itoa.h" and "_itowa.h".
26856         * stdio-common/vfprintf.: Likewise.
26858 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26860         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26861         <bits/wordsize.h>.
26862         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26863         (__signbit): Likwise.
26864         (llrintf): Likwise.
26865         (llrint): Likwise.
26867 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26869         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26870         __WORDSIZE != 64.
26872 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26874         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26875         OVERFLOW_EXCEPTION_OK.
26876         * math/libm-test.inc ("Philosophy"): Update comment about
26877         exception testing.
26878         (OVERFLOW_EXCEPTION): Define.
26879         (OVERFLOW_EXCEPTION_OK): Likewise.
26880         (INVALID_EXCEPTION_OK): Renumber.
26881         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26882         (IGNORE_ZERO_INF_SIGN): Likewise.
26883         (test_exceptions): Handle FE_OVERFLOW.
26884         (exp10_test): Expect overflow exceptions.
26885         (exp2_test): Likewise.
26886         (expm1_test): Likewise.
26887         (nextafter_test): Likewise.
26888         (pow_test): Likewise.
26889         (scalbn_test): Likewise.
26890         (scalbln_test): Likewise.
26892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26894         * sysdeps/x86_64/bits/atomic.h
26895         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26896         64bit integer.
26897         (atomic_exchange_acq): Likewise.
26898         (__arch_exchange_and_add_body): Likewise.
26899         (__arch_add_body): Likewise.
26900         (atomic_add_negative): Likewise.
26901         (atomic_add_zero): Likewise.
26903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26905         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26906         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26908 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26910         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26911         Check __x86_64__ instead of __WORDSIZE.
26913 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26915         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26917 2012-03-19  David S. Miller  <davem@davemloft.net>
26919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26921         * sysdeps/sparc/fpu/fenv_private.h: New file.
26922         * sysdeps/sparc/fpu/math_private.h: Use it.
26923         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26924         Remove.
26925         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26926         (libc_feholdexcept_setroundl): Remove.
26927         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26928         Remove.
26929         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26930         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26934         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26935         int64_t instead of long int.
26936         (INSERT_WORDS64): Likwise.
26938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26940         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26941         _Unwind_GetCFA return to _Unwind_Ptr first.
26943 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26945         [BZ #13629]
26946         * math/s_clog.c: Include <float.h>.
26947         (__clog): Scale large or subnormal inputs.
26948         * math/s_clogf.c: Likewise.
26949         * math/s_clogl.c: Likewise.
26950         * math/s_clog10.c: Include <float.h>.
26951         (M_LOG10_2): Define.
26952         (__clog10): Scale large or subnormal inputs.
26953         * math/s_clog10f.c: Likewise.
26954         * math/s_clog10l.c: Likewise.
26955         * math/libm-test.inc (clog_test): Add more tests.
26956         (clog10_test): Likewise.
26957         * sysdeps/i386/fpu/libm-test-ulps: Update.
26958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26960         [BZ #11451]
26961         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26962         x and y.
26963         * math/libm-test.inc (atan2_test): Add another test.
26965         * Makerules (common-objdir-compile): Remove.
26966         * sysdeps/unix/Makefile (config-generated): Do not add
26967         $(unix-generated) to variable.
26968         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26969         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26970         Remove rule.
26971         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26972         Likewise.
26973         [generic bits/local_lim.h] (before-compile): Do not append to
26974         variable.
26975         [generic bits/local_lim.h] (common-generated): Likewise.
26976         [generic sys/param.h] (before-compile): Do not append to variable.
26977         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26978         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26979         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26980         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26981         include.
26982         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26983         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26984         [generic sys/param.h] ($(addprefix
26985         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26986         [generic sys/param.h] (common-generated): Do not append to
26987         variable.
26988         [generic sys/param.h] (sysdep_headers): Likewise.
26989         [generic bits/errno.h] (before-compile): Do not append to
26990         variable.
26991         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26992         rule.
26993         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26994         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26995         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26996         [generic bits/errno.h] (common-generated): Do not append to
26997         variable.
26998         [generic bits/ioctls.h] (before-compile): Do not append to
26999         variable.
27000         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27001         rule.
27002         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27003         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27004         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27005         rule.
27006         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27007         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27008         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27009         [generic bits/ioctls.h] (common-generated): Do not append to
27010         variable.
27011         [generic sys/syscall.h] (syscall.h): Remove variable.
27012         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27013         rule.
27014         [generic sys/syscall.h] (before-compile): Do not append to
27015         variable.
27016         [generic sys/syscall.h] (common-generated): Likewise.
27017         * sysdeps/unix/errnos-tmpl.c: Remove file.
27018         * sysdeps/unix/errnos.awk: Likewise.
27019         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27020         * sysdeps/unix/ioctls.awk: Likewise.
27021         * sysdeps/unix/mk-local_lim.c: Likewise.
27022         * sysdeps/unix/snarf-ioctls: Likewise.
27024 2012-03-19  Richard Henderson  <rth@twiddle.net>
27026         * sysdeps/i386/fpu/fenv_private.h: New file.
27027         * sysdeps/i386/fpu/math_private.h: Use it.
27028         (math_opt_barrier, math_force_eval): Remove.
27029         (libc_feholdexcept_setround_53bit): Remove.
27030         (libc_feupdateenv_53bit): Remove.
27031         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27032         (math_opt_barrier, math_force_eval): Remove.
27033         (libc_feholdexcept): Remove.
27034         (libc_feholdexcept_setround): Remove.
27035         (libc_fetestexcept, libc_fesetenv): Remove.
27036         (libc_feupdateenv_test): Remove.
27037         (libc_feupdateenv, libc_feholdsetround): Remove.
27038         (libc_feresetround): Remove.
27040         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27041         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27043         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27044         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27045         (libc_feupdateenv_testl): New.
27046         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27047         (libc_feupdateenv_testf): New.
27048         (libc_feupdateenv): Use libc_feupdateenv_test.
27049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27050         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27052         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27053         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27054         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27055         (libc_feresetround_noex): New.
27056         (libc_feresetround_noexf): New.
27057         (libc_feresetround_noexl): New.
27058         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27059         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27060         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27061         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27062         SET_RESTORE_ROUND.
27063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27065         (__cos): Likewise.
27066         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27067         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27068         SET_RESTORE_ROUND_NOEX.
27069         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27070         SET_RESTORE_ROUND_NOEXF.
27071         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27072         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27073         (libc_feholdsetroundf): New.
27074         (libc_feresetround, libc_feresetroundf): New.
27076         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27077         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27078         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27080         * sysdeps/generic/math_private.h: Include <fenv.h>.
27081         (default_libc_feholdexcept): New.
27082         (default_libc_feholdexcept_setround): New.
27083         (default_libc_fesetenv, default_libc_feupdateenv): New.
27084         (libc_feholdexcept): Only define if undefined.
27085         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27086         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27087         (libc_feholdexcept_setroundl): Likewise.
27088         (libc_feholdexcept_setround_53bit): Likewise.
27089         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27090         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27091         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27092         (libc_feupdateenv_53bit): Likewise.
27093         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27094         (libc_feholdexcept): Convert from macro to inline function.
27095         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27096         (libc_fesetenv, libc_feupdateenv): Likewise.
27098         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27099         not previously defined.
27100         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27101         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27102         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27103         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27104         * sysdeps/ieee754/flt-32/math_private.h: New file.
27105         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27106         math_private.h below SET_FLOAT_WORD.
27107         (__isnan, __isinf_ns, __finite): Remove.
27108         (__isnanf, __isinf_nsf, __finitef): Remove.
27110 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27114 2012-03-17  David S. Miller  <davem@davemloft.net>
27116         [BZ #6471]
27117         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27118         for 2.16.
27120 2012-03-16  David S. Miller  <davem@davemloft.net>
27122         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27123         warnings.
27125         [BZ #6471]
27126         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27127         properly.
27128         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27129         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27130         sysdep_routines when subdir is sysvipc.
27131         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27132         __getshmlba helper.
27134         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27136 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27138         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27139         [__LP64__].
27141 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27144         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27145         (__lround): Renamed to ...
27146         (__llround): This.  Replace long int with long long int.
27147         Define lround functions as aliases of llround functions.
27148         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27152         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27153         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27154         adresses to uintptr_t.  Replace "long int" and "unsigned long
27155         int" with "greg_t" on va_arg.
27157 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27159         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27160         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27162         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27163         Move e_machine check before EI_CLASS check.  Handle x32
27164         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27165         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27166         SKIP_EM_IA_64 and include
27167         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27169         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27170         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27171         (add_system_dir): New macro.
27173         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27174         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27176 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #2551]
27179         [BZ #2552]
27180         [BZ #2553]
27181         [BZ #2554]
27182         [BZ #2562]
27183         [BZ #2563]
27184         [BZ #2565]
27185         [BZ #2566]
27186         [BZ #2576]
27187         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27188         (y0): Likewise.
27189         * math/w_j0f.c (j0f): Likewise.
27190         (y0f): Likewise.
27191         * math/w_j0l.c (__j0l): Likewise.
27192         (__y0l): Likewise.
27193         * math/w_j1.c (j1): Likewise.
27194         (y1): Likewise.
27195         * math/w_j1f.c (j1f): Likewise.
27196         (y1f): Likewise.
27197         * math/w_j1l.c (__j1l): Likewise.
27198         (__y1l): Likewise.
27199         * math/w_jn.c (jn): Likewise.
27200         (yn): Likewise.
27201         * math/w_jnf.c (jnf): Likewise.
27202         (ynf): Likewise.
27203         * math/w_jnl.c (__jnl): Likewise.
27204         (__ynl): Likewise.
27205         * math/libm-test.inc (j0_test): Add more tests.
27206         (j1_test): Likewise.
27207         (jn_test): Likewise.  Add trailing semicolon to existing test.
27208         (y0_test): Likewise.
27209         (y1_test): Likewise.
27210         * sysdeps/i386/fpu/libm-test-ulps: Update.
27211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27213         [BZ #13851]
27214         [BZ #13854]
27215         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27216         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27217         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27218         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27219         (__tanl): Set errno for infinite argument.
27220         * sysdeps/i386/fpu/mptan.c: Remove.
27221         * sysdeps/i386/fpu/s_tan.S: Likewise.
27222         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27223         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27224         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27225         * math/libm-test.inc (tan_test): Add more tests and enable more
27226         tests for double and long double.
27227         * sysdeps/i386/fpu/libm-test-ulps: Update.
27228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27230 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27232         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27233         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27235 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27237         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27238         * configure.in: Use it for both main tree and add-ons.
27239         * configure: Regenerated.
27241 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27243         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27245 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27247         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27248         in comment.
27250         [BZ #13851]
27251         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27252         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27253         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27254         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27255         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27256         infinite argument.
27257         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27259         != 0 for prec == 2.
27260         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27261         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27262         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27263         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27264         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27265         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27266         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27267         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27268         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27269         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27270         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27271         * math/libm-test.inc (cos_test): Add more tests and enable more
27272         tests for long double.
27273         (sin_test): Likewise.
27274         (sincos_test): Likewise.
27275         * sysdeps/i386/fpu/libm-test-ulps: Update.
27276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27278 2012-03-16  David S. Miller  <davem@davemloft.net>
27280         * sysdeps/sparc/fpu/math_private.h: New file.
27282 2012-03-15  David S. Miller  <davem@davemloft.net>
27284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27285         file.
27286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27288         file.
27289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27294         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27295         sysdep routines.
27296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27298         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27299         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27301         * sysdeps/sparc/sparc-ifunc.h: New file.
27302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27303         sparc-ifunc.h
27304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27306         Likewise.
27307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27308         Likewise.
27309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27313         Likewise.
27314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27319         Likewise.
27320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27321         Likewise.
27322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27328         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27340         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27342         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27344         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27347 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27349         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27350         scaling.
27351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27353 2012-03-15  Andreas Jaeger  <aj@suse.de>
27355         [BZ #13852]
27356         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27357         ieee754/flt-32 implementation for sin, cos and sincos.
27358         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27359         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27360         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27361         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27362         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27363         ieee754/flt-32 implementation for tan.
27365         * math/libm-test.inc (cos_test): Enable some large input tests for
27366         float as well
27367         (sin_test): Likewise.
27368         (sincos_test): Likewise.
27369         (tan_test): Add tests for large input.
27371         * sysdeps/i386/fpu/libm-test-ulps: Update.
27373 2012-03-15  Andreas Jaeger  <aj@suse.de>
27375         [BZ #13658]
27376         * math/libm-test.inc (cos_test): Add more test cases.
27377         (sin_test): Likewise.
27378         (sincos_test): Likewise.
27380 2012-03-15  Andreas Jaeger  <aj@suse.de>
27382         [BZ #13837]
27383         * math/libm-test.inc (cos_test): Add a test case for large input
27384         value.
27385         (sin_test): Likewise.
27386         (sincos_test): Likewise.
27388 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27389         Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #13658]
27392         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27393         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27394         * sysdeps/i386/fpu/branred.c: Likewise.
27395         * sysdeps/i386/fpu/dosincos.c: Likewise.
27396         * sysdeps/i386/fpu/mpa.c: Likewise.
27397         * sysdeps/i386/fpu/s_cos.S: Likewise.
27398         * sysdeps/i386/fpu/s_sin.S: Likewise.
27399         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27400         * sysdeps/i386/fpu/sincos32.c: Likewise.
27402         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27403         Define.
27404         (libc_feupdateenv_53bit): Define.
27405         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27406         Define.
27407         (libc_feupdateenv_53bit): Define.
27409         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27410         53 bit (without extend i386 double precision).
27412         * math/libm-test.inc (sincos_test): Add tests for large input.
27413         (sin): Likewise.
27414         (cos): Likewise.
27416         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27418 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27422 2012-03-15  David S. Miller  <davem@davemloft.net>
27424         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27425         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27426         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27427         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27440         file.
27441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27443         file.
27444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27446         file.
27447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27449         file.
27450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27452         fmin/fmax sysdep routines.
27453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27455 2012-03-14  David S. Miller  <davem@davemloft.net>
27457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27485         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27486         routines.
27487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27488         file.
27489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27491         file.
27492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27494         file.
27495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27497         file.
27498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27500         file.
27501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27503         file.
27504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27505         file.
27506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27507         file.
27508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27509         file.
27510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27511         New file.
27512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27513         file.
27514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27515         file.
27516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27518         file.
27519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27521         file.
27522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27524         file.
27525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27527         VIS3 routines.
27529         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27530         New file.
27532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27534         * sysdeps/sparc/configure.in: New file.
27535         * sysdeps/sparc/configure: Generate.
27536         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27537         * configure: Regenerate.
27538         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27539         * config.make.in (have-as-vis3): New.
27540         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27541         available use -Av9d instead of -Av9a.
27542         * sysdeps/sparc/sparc64/Makefile: Likewise.
27543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27545         New file.
27546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27547         file.
27548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27549         New file.
27550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27551         file.
27552         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27553         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27558         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27559         fzeros/fnegs to load 0x80000000 into a float register instead of
27560         using the stack.
27561         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27566         bits/syscall.h.
27567         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27568         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27569         ($(inst_includedir)/bits/syscall.h): Remove rule.
27570         ($(objpfx)bits/syscall.d): Include instead of
27571         $(objpfx)syscall-list.d.
27572         (generated): Change syscall-list.h and syscall-list.d to
27573         bits/syscall.h and bits/syscall.d.
27575 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27577         [BZ #13846]
27578         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27580 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27582         [BZ #13841]
27583         * math/s_csqrt.c: Include <float.h>.
27584         (__csqrt): Scale large or subnormal inputs.
27585         * math/s_csqrtf.c: Likewise.
27586         * math/s_csqrtl.c: Likewise.
27587         * math/libm-test.inc (csqrt_test): Add more tests.
27588         * sysdeps/i386/fpu/libm-test-ulps: Update.
27589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27591         [BZ #13840]
27592         * math/libm-test.inc (hypot_test): Add more tests.
27594 2012-03-13  David S. Miller  <davem@davemloft.net>
27596         [BZ #13840]
27597         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27598         double-precision for the calculation instead of scaling.
27600 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27602         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27603         manipulate bits before adding and subtracting TWO52[sx].
27604         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27605         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27606         Likewise.
27607         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27609 2012-03-13  David S. Miller  <davem@davemloft.net>
27611         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27612         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27614         rtld-global-offsets.h
27615         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27617         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27618         large parameters.
27620         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27622         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27623         'err' in the ifdef scope in which it is actually used.
27625         * nss/nss_db/db-init.c: Include string.h
27627 2012-03-12  David S. Miller  <davem@davemloft.net>
27629         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27630         masking out of the most significant byte of random value used.
27631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27632         Fix coding style in previous change.
27634         * sysdeps/unix/sysv/linux/kernel-features.h
27635         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27636         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27637         expression.
27638         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27639         later.
27641 2012-03-11  David S. Miller  <davem@davemloft.net>
27643         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27644         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27646         for 'resultvar' otherwise things get truncated on 64-bit.
27648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27649         Fix masking out of the most significant byte of random value used.
27651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27653 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27657 2012-03-09  David S. Miller  <davem@davemloft.net>
27659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27660         variables with appropriate CPP guards.
27661         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27662         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27663         on resulting framesize and the management of the outregs buffer for pltexit.
27664         Preserve floating point return values across _dl_call_pltexit call.
27665         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27666         framesize and the management of the outregs buffer for pltexit.
27667         Preserve floating point return values across _dl_call_pltexit
27668         call.
27669         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27670         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27671         (print_exit): Fix format string for return register value.
27673 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27675         * sunrpc/Makefile (others): Add rpcgen.
27676         ($(objpfx)rpcgen): Remove special build rule and dependency on
27677         libc.
27678         * sunrpc/rpcgen.c: New file.
27680 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27682         [BZ #13673]
27683         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27684         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27685         * sysdeps/i386/crti.S: Likewise.
27686         * sysdeps/i386/crtn.S: Likewise.
27687         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27688         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27689         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27690         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27691         * sysdeps/sh/crti.S: Likewise.
27692         * sysdeps/sh/crtn.S: Likewise.
27693         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27695         [BZ #13673]
27696         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27697         with URL.
27698         * locale/programs/locfile-kw.gperf: Likewise.
27699         * locale/programs/charmap-kw.h: Regenerated.
27700         * locale/programs/locfile-kw.h: Likewise.
27702         [BZ #13673]
27703         * intl/plural.y: Replace FSF snail mail address with URL.
27704         * intl/plural.c: Regenerated.
27706 2012-03-09  Richard Henderson  <rth@twiddle.net>
27708         * include/math_private.h: Remove file.
27709         * math/math_private.h: Move file ...
27710         * sysdeps/generic/math_private.h: ... here.
27712         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27713         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27714         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27716         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27717         and <math_private.h>.
27718         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27719         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27720         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27721         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27722         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27723         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27724         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27726         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27727         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27728         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27729         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27730         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27731         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27732         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27733         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27734         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27736         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27737         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27739         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27740         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27742         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27743         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27744         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27748         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27749         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27750         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27751         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27752         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27753         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27754         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27755         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27756         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27757         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27758         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27759         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27760         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27761         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27762         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27763         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27764         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27769         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27770         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27771         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27772         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27773         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27774         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27775         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27776         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27777         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27779         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27781         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27782         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27783         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27784         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27785         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27786         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27787         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27788         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27789         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27792         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27793         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27796         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27797         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27798         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27799         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27800         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27801         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27802         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27803         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27805         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27806         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27807         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27808         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27809         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27810         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27811         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27812         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27813         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27814         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27815         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27816         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27817         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27818         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27819         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27820         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27821         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27822         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27823         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27824         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27825         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27826         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27828         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27829         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27830         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27831         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27832         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27833         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27834         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27835         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27836         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27837         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27838         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27839         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27840         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27841         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27842         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27843         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27844         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27845         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27846         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27847         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27848         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27849         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27850         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27851         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27852         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27853         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27854         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27855         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27856         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27857         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27858         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27859         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27860         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27861         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27862         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27863         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27864         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27865         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27866         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27867         * sysdeps/ieee754/k_standard.c: Likewise.
27868         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27872         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27873         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27874         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27875         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27876         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27879         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27880         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27881         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27882         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27883         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27884         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27885         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27886         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27887         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27888         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27889         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27890         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27891         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27892         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27893         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27894         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27895         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27896         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27897         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27898         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27899         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27900         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27901         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27902         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27903         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27904         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27905         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27906         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27907         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27908         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27909         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27910         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27911         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27912         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27913         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27915         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27916         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27919         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27920         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27921         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27923         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27924         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27925         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27926         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27927         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27928         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27929         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27932         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27938         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27940         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27941         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27942         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27944         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27945         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27946         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27947         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27948         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27952         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27953         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27954         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27955         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27956         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27958         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27959         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27965         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27971         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27972         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27976         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27977         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27982         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27983         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27984         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27986         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27987         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27988         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27989         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27990         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27991         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27992         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27993         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27994         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27995         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27996         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27997         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27998         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27999         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28000         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28001         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28002         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28003         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28004         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28005         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28006         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28007         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28008         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28009         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28010         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28011         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28012         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28013         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28014         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28015         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28016         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28017         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28018         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28019         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28021         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28023         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28027         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28028         * sysdeps/ieee754/s_lib_version.c: Likewise.
28029         * sysdeps/ieee754/s_matherr.c: Likewise.
28030         * sysdeps/ieee754/s_signgam.c: Likewise.
28031         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28032         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28033         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28034         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28035         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28036         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28037         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28038         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28039         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28040         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28041         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28042         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28043         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28044         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28045         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28046         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28047         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28048         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28049         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28053 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28055         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28056         * sunrpc/rpc_main.c: Likewise.
28057         * sunrpc/rpc_svcout.c: Likewise.
28059 2012-03-09  David S. Miller  <davem@davemloft.net>
28061         * include/math_private.h: New file.
28063 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28065         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28066         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28067         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28068         from <bits/socket_type.h>.
28069         (enum __socket_type): Don't define here.
28070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28072         bits/socket_type.h.
28074         [BZ #13566]
28075         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28076         checking __USE_GNU.
28078         * Makerules ($(inst_includedir)/%.h): New rule.
28079         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28080         (install-others): Remove variable setting.
28081         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28083 2012-03-08  Richard Henderson  <rth@twiddle.net>
28085         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28086         from macro to inline function; merge with the
28087         !__LIBC_INTERNAL_MATH_INLINES version.
28088         (__ieee754_sqrtf): Likewise.
28090         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28091         to inline function.
28092         (__rintf, __floor, __floorf): Likewise.
28094         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28095         macro to inline function.
28096         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28098         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28099         not <math/math_private.h>.
28101 2012-03-08  David S. Miller  <davem@davemloft.net>
28103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28104         copyright year.
28105         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28107 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28109         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28110         normalization.
28111         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28112         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28114 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28116         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28117         be defined individually, they must be defined as a block.  Define
28118         S for printing a string instead of hidint the different by using a
28119         macro for adding the 'l'.
28120         * stdio-common/tst-fphex-wide.c: Adjust.
28122 2012-03-07  Marek Polacek  <polacek@redhat.com>
28124         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28126 2012-03-08  Marek Polacek  <polacek@redhat.com>
28128         [BZ #13806]
28129         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28130         * stdio-common/tst-fphex.c: Define a few macros to make the
28131         test reusable.  Use them.
28132         * stdio-common/tst-fphex-wide.c: New file.
28134 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28136         [BZ #6911]
28137         * manual/macros.texi (gnusystems): New macro.
28138         (nongnusystems): Likewise.
28139         (gnulinuxhurdsystems): Likewise.
28140         (gnuhurdsystems): Likewise..
28141         (gnulinuxsystems): Likewise.
28142         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28143         variants of the GNU system, not "GNU system".
28144         * manual/conf.texi: Likewise.
28145         * manual/errno.texi: Likewise.  Update example of errno macro
28146         expansion.
28147         * manual/filesys.texi: Likewise.
28148         (getumask): Document as specific to GNU/Hurd.
28149         * manual/install.texi: Likewise.  Reword some references to
28150         GNU/Linux.
28151         * manual/intro.texi: Likewise.
28152         * manual/io.texi: Likewise.
28153         (File Name Portability): Detail which constraints are inapplicable
28154         to all GNU systems and which are only inapplicable to GNU/Hurd.
28155         * manual/job.texi: Likewise.
28156         * manual/llio.texi: Likewise.
28157         (O_NOCTTY): Document as present on GNU/Linux.
28158         * manual/maint.texi: Likewise.
28159         * manual/memory.texi: Likewise.
28160         * manual/pattern.texi: Likewise.
28161         * manual/pipe.texi: Likewise.
28162         * manual/process.texi: Likewise.
28163         * manual/resource.texi: Likewise.
28164         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28165         child on GNU/Hurd.
28166         * manual/setjmp.texi: Likewise.
28167         * manual/signal.texi: Likewise.
28168         * manual/startup.texi: Likewise.
28169         * manual/stdio.texi: Likewise.
28170         * manual/terminal.texi: Likewise.
28171         (ONLCR): Document as POSIX.
28172         (OXTABS): Document availability on GNU/Linux as XTABS.
28173         (ONOEOT): Document availability separately from other bits.
28174         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28175         * manual/time.texi: Likewise.
28176         * manual/users.texi: Likewise.
28177         * INSTALL: Regenerated.
28178         * sysdeps/gnu/errlist.c: Regenerated.
28180         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28181         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28182         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28183         puts.
28184         * configure: Regenerated.
28186 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28188         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28189         default includes instead of AC_HEADER_CHECK.
28190         * sysdeps/i386/configure: Regenerated.
28192         [BZ #10716]
28193         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28194         * math/s_cacoshf.c (__cacoshf): Likewise.
28195         * math/s_cacoshl.c (__cacoshl): Likewise.
28196         * math/s_casinh.c (__casinh): Set signs of result from argument.
28197         * math/s_casinhf.c (__casinhf): Likewise.
28198         * math/s_casinhl.c (__casinhl): Likewise.
28199         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28200         (casinh_test): Add more tests.
28201         * sysdeps/i386/fpu/libm-test-ulps: Update.
28202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28204 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28206         * po/zh_TW.po: Update from translation team.
28208         * login/Makefile (distribute): Remove variable.
28209         * catgets/Makefile: Likewise.
28210         * mach/Makefile: Likewise.
28211         * malloc/Makefile: Likewise.
28212         * misc/Makefile: Likewise.
28213         * iconv/Makefile: Likewise.
28214         * nscd/Makefile: Likewise.
28215         * hurd/Makefile: Likewise.
28216         * manual/Makefile: Likewise.
28217         * locale/Makefile: Likewise.
28218         * intl/Makefile: Likewise.
28219         * conform/Makefile: Likewise.
28220         * nss/Makefile: Likewise.
28221         * time/Makefile: Likewise.
28222         * soft-fp/Makefile: Likewise.
28223         * dirent/Makefile: Likewise.
28224         * gmon/Makefile: Likewise.
28225         * po/Makefile: Likewise.
28226         * rt/Makefile: Likewise.
28227         * socket/Makefile: Likewise.
28228         * math/Makefile: Likewise.
28229         * signal/Makefile: Likewise.
28230         * debug/Makefile: Likewise.
28231         * elf/Makefile: Likewise.
28232         * timezone/Makefile: Likewise.
28233         * stdlib/Makefile: Likewise.
28234         * iconvdata/Makefile: Likewise.
28235         * sunrpc/Makefile: Likewise.
28236         * io/Makefile: Likewise.
28237         * argp/Makefile: Likewise.
28238         * inet/Makefile: Likewise.
28239         * hesiod/Makefile: Likewise.
28240         * grp/Makefile: Likewise.
28241         * csu/Makefile: Likewise.
28242         * wctype/Makefile: Likewise.
28243         * crypt/Makefile: Likewise.
28244         * libio/Makefile: Likewise.
28245         * string/Makefile: Likewise.
28246         * nis/Makefile: Likewise.
28247         * resolv/Makefile: Likewise.
28248         * stdio-common/Makefile: Likewise.
28249         * wcsmbs/Makefile: Likewise.
28250         * dlfcn/Makefile: Likewise.
28251         * posix/Makefile: Likewise.
28253         [BZ #6959]
28254         * timezone/Makefile: Don't install timezone files, just the programs
28255         and scripts.
28257 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28259         * nss/databases.def: Add missing gshadow entry.
28261         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28263 2012-03-06  Marek Polacek  <polacek@redhat.com>
28265         [BZ #13726]
28266         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28267         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28268         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28269         * stdio-common/tst-long-dbl-fphex.c: New file.
28271 2012-03-06  David S. Miller  <davem@davemloft.net>
28273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28274         (set_obp_int): New function.
28275         (get_obp_int): New function.
28276         (__get_clockfreq_via_dev_openprom): Likewise.
28277         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28278         Avoid unused variable warnings on 'val' and use builtin_expect.
28279         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28280         __builtin_expect.
28281         (INLINE_CLONE_SYSCALL): Likewise.
28283 2012-03-05  David S. Miller  <davem@davemloft.net>
28285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28287 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28291         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28292         only for |x| >= 40.
28293         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28295 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28297         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28298         Replace gettimeofday with __vdso_gettimeofday.
28300         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28301         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28302         __vdso_clock_gettime and __vdso_getcpu.
28304         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28305         time with __vdso_time.
28307 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28309         * manual/lang.texi (size_t): Note types to which size_t may be
28310         equivalent with the GNU C Library, but do not describe when
28311         differences between them are significant.
28313 2012-03-05  Andreas Jaeger  <aj@suse.de>
28315         * sysdeps/i386/fpu/libm-test-ulps: Update.
28317 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28319         [BZ #3976]
28320         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28321         (__ieee754_pow): Save and restore rounding mode and use
28322         round-to-nearest for main computations.
28323         * math/libm-test.inc (pow_test_tonearest): New function.
28324         (pow_test_towardzero): Likewise.
28325         (pow_test_downward): Likewise.
28326         (pow_test_upward): Likewise.
28327         (main): Call the new functions.
28328         * sysdeps/i386/fpu/libm-test-ulps: Update.
28329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28331         [BZ #3976]
28332         * math/libm-test.inc (cosh_test_tonearest): New function.
28333         (cosh_test_towardzero): Likewise.
28334         (cosh_test_downward): Likewise.
28335         (cosh_test_upward): Likewise.
28336         (sinh_test_tonearest): Likewise.
28337         (sinh_test_towardzero): Likewise.
28338         (sinh_test_downward): Likewise.
28339         (sinh_test_upward): Likewise.
28340         (main): Call the new functions.
28341         * sysdeps/i386/fpu/libm-test-ulps: Update.
28342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28344 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28346         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28347         default stack guard is set in last bytes.
28348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28350 2012-03-05  Kees Cook  <keescook@chromium.org>
28352         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28354         [BZ #13656]
28355         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28356         possibly allocate from heap instead of stack.
28357         * stdio-common/bug-vfprintf-nargs.c: New file.
28358         * stdio-common/Makefile (tests): Add nargs overflow test.
28360 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28364 2012-03-03  Marek Polacek  <polacek@redhat.com>
28366         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28367         * math/math_private.h: Likewise.
28368         * stdlib/tst-strtod.c: Likewise.
28369         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28370         * sysdeps/x86_64/bits/atomic.h: Likewise.
28372 2012-03-02  David S. Miller  <davem@davemloft.net>
28374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28378         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28379         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28380         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28381         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28383 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28385         [BZ #13792]
28386         * manual/examples/README: New file, says the example source files
28387         can be used under GPL>=2.
28388         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28389         line containing just "*/".
28390         * manual/examples/add.c: Add copyright header (GPL>=2).
28391         * manual/examples/argp-ex1.c: Likewise.
28392         * manual/examples/argp-ex2.c: Likewise.
28393         * manual/examples/argp-ex3.c: Likewise.
28394         * manual/examples/argp-ex4.c: Likewise.
28395         * manual/examples/atexit.c: Likewise.
28396         * manual/examples/db.c: Likewise.
28397         * manual/examples/dir.c: Likewise.
28398         * manual/examples/dir2.c: Likewise.
28399         * manual/examples/execinfo.c: Likewise.
28400         * manual/examples/filecli.c: Likewise.
28401         * manual/examples/filesrv.c: Likewise.
28402         * manual/examples/fmtmsgexpl.c: Likewise.
28403         * manual/examples/genpass.c: Likewise.
28404         * manual/examples/inetcli.c: Likewise.
28405         * manual/examples/inetsrv.c: Likewise.
28406         * manual/examples/isockad.c: Likewise.
28407         * manual/examples/longopt.c: Likewise.
28408         * manual/examples/memopen.c: Likewise.
28409         * manual/examples/memstrm.c: Likewise.
28410         * manual/examples/mkfsock.c: Likewise.
28411         * manual/examples/mkisock.c: Likewise.
28412         * manual/examples/mygetpass.c: Likewise.
28413         * manual/examples/pipe.c: Likewise.
28414         * manual/examples/popen.c: Likewise.
28415         * manual/examples/rprintf.c: Likewise.
28416         * manual/examples/search.c: Likewise.
28417         * manual/examples/select.c: Likewise.
28418         * manual/examples/setjmp.c: Likewise.
28419         * manual/examples/sigh1.c: Likewise.
28420         * manual/examples/sigusr.c: Likewise.
28421         * manual/examples/stpcpy.c: Likewise.
28422         * manual/examples/strdupa.c: Likewise.
28423         * manual/examples/strftim.c: Likewise.
28424         * manual/examples/strncat.c: Likewise.
28425         * manual/examples/subopt.c: Likewise.
28426         * manual/examples/swapcontext.c: Likewise.
28427         * manual/examples/termios.c: Likewise.
28428         * manual/examples/testopt.c: Likewise.
28429         * manual/examples/testpass.c: Likewise.
28430         * manual/examples/timeval_subtract.c: Likewise.
28432         [BZ #13792]
28433         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28434         function to ...
28435         * manual/timeval_subtract.c.texi: ... here, new file.
28437 2012-03-02  David S. Miller  <davem@davemloft.net>
28439         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28441 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28443         [BZ #3976]
28444         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28445         (__sin): Save and restore rounding mode and use round-to-nearest
28446         for all computations.
28447         (__cos): Save and restore rounding mode and use round-to-nearest
28448         for all computations.
28449         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28450         <fenv.h>.
28451         (tan): Save and restore rounding mode and use round-to-nearest for
28452         all computations.
28453         * math/libm-test.inc (cos_test_tonearest): New function.
28454         (cos_test_towardzero): Likewise.
28455         (cos_test_downward): Likewise.
28456         (cos_test_upward): Likewise.
28457         (sin_test_tonearest): Likewise.
28458         (sin_test_towardzero): Likewise.
28459         (sin_test_downward): Likewise.
28460         (sin_test_upward): Likewise.
28461         (tan_test_tonearest): Likewise.
28462         (tan_test_towardzero): Likewise.
28463         (tan_test_downward): Likewise.
28464         (tan_test_upward): Likewise.
28465         (main): Call the new functions.
28466         * sysdeps/i386/fpu/libm-test-ulps: Update.
28467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28469         [BZ #10135]
28470         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28471         small n, then large n, before computing and testing k+n.
28472         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28474         Likewise.
28475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28476         Likewise.
28477         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28478         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28479         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28480         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28483         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28485         * math/libm-test.inc (scalbn_test): Add more tests.
28486         (scalbln_test): Likewise.
28488         * manual/filesys.texi (mode_t): Describe constraints on size and
28489         signedness, not exact equivalence to a particular type.
28490         (ino_t): Likewise.
28491         (ino64_t): Likewise.
28492         (dev_t): Likewise.
28493         (nlink_t): Likewise.
28494         (blkcnt_t): Likewise.
28495         (blkcnt64_t): Likewise.
28496         * manual/llio.texi (off_t): Likewise.
28498         [BZ #3976]
28499         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28500         (__ieee754_exp): Save and restore rounding mode and use
28501         round-to-nearest for all computations.
28502         * math/libm-test.inc (exp_test_tonearest): New function.
28503         (exp_test_towardzero): Likewise.
28504         (exp_test_downward): Likewise.
28505         (exp_test_upward): Likewise.
28506         (main): Call the new functions.
28507         * sysdeps/i386/fpu/libm-test-ulps: Update.
28508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28510 2012-03-01  Chris Demetriou  <cgd@google.com>
28512         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28513         have predictable order.
28515 2012-03-01  David S. Miller  <davem@davemloft.net>
28517         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28519         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28520         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28521         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28522         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28524         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28525         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28526         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28528         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28529         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28530         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28531         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28532         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28536         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28537         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28538         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28540         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28541         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28542         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28543         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28544         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28545         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28546         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28547         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28548         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28549         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28550         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28553         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28556         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28557         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28558         * sysdeps/sparc/elf/configure: Regenerated.
28560 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28562         * configure.in (AS, LD): Require binutils 2.20 or later.
28563         * configure: Regenerated.
28564         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28565         as required minimum version.
28566         * INSTALL: Regenerated.
28568         [BZ #2541]
28569         [BZ #4108]
28570         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28571         before squaring exponent.
28572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28573         bottom long double and 27 bits of top long double before squaring
28574         exponent.
28575         * math/libm-test.inc (erfc_test): Add more tests.
28576         * sysdeps/i386/fpu/libm-test-ulps: Update.
28577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28580 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28582         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28583         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28584         containing bit-fields.
28585         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28586         * soft-fp/single.h (_FP_UNION_S): Likewise.
28587         * soft-fp/double.h (_FP_UNION_D): Likewise.
28589 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28591         [BZ #13786]
28592         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28593         not include ../strcmp.S.
28594         [USE_AS_STRNCASECMP_L]: Likewise.
28595         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28596         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28597         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28598         (__strncasecmp_l_ia32): Define as alias to
28599         __strncasecmp_l_nonascii.
28601         [BZ #5794]
28602         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28603         * sysdeps/i386/fpu/libm-test-ulps: Update.
28604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28606         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28609 2012-02-29  Jeff Law  <law@redhat.com>
28611         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28612         out of bounds read.
28614 2012-02-29  Marek Polacek  <polacek@redhat.com>
28616         [BZ #13706]
28617         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28618         * elf/Makefile: Add rules to run tst-unused-dep.out.
28620 2012-02-28  David S. Miller  <davem@davemloft.net>
28622         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28623         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28624         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28625         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28626         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28627         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28629 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28631         * math/libm-test.inc (llround_test): Move one test from
28632         lround_test.  Use TEST_f_L in moved test.
28633         (lround_test): Move misplaced test to llround_test.  Add testcase
28634         from bug 2561.
28636 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28638         * sysdeps/x86_64/fpu/e_expf.S: New file.
28639         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28641 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28643         [BZ #13637]
28644         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28645         of remain_len that may cause incomplete multi-byte character and
28646         false match.
28647         * posix/bug-regex33.c: New file.
28648         * posix/Makefile (tests): Add bug-regex33.
28650 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28652         * manual/macros.texi: New file.
28653         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28654         * manual/libc.texinfo: Include macros.texi.
28655         * manual/creatute.texi: Likewise.
28656         * manual/install.texi: Likewise.
28657         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28658         @glibcadj{} in references to the GNU C Library.
28659         * manual/charset.texi: Likewise.
28660         * manual/conf.texi: Likewise.
28661         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28662         when not using those macros.
28663         * manual/creature.texi: Likewise.
28664         * manual/crypt.texi: Likewise.
28665         * manual/errno.texi: Likewise.
28666         * manual/filesys.texi: Likewise.
28667         * manual/header.texi: Likewise.
28668         * manual/install.texi: Likewise.
28669         * manual/intro.texi: Likewise.
28670         * manual/io.texi: Likewise.
28671         * manual/job.texi: Likewise.
28672         * manual/lang.texi: Likewise.
28673         * manual/libc.texiinfo: Likewise.
28674         * manual/llio.texi: Likewise.
28675         * manual/locale.texi: Likewise.
28676         * manual/maint.texi: Likewise.
28677         * manual/math.texi: Likewise.
28678         * manual/memory.texi: Likewise.
28679         * manual/message.texi: Likewise.
28680         * manual/nss.texi: Likewise.
28681         * manual/pattern.texi: Likewise.
28682         * manual/process.texi: Likewise.
28683         * manual/resource.texi: Likewise.
28684         * manual/search.texi: Likewise.
28685         * manual/setjmp.texi: Likewise.
28686         * manual/signal.texi: Likewise.
28687         * manual/socket.texi: Likewise.
28688         * manual/startup.texi: Likewise.
28689         * manual/stdio.texi: Likewise.
28690         * manual/string.texi: Likewise.
28691         * manual/sysinfo.texi: Likewise.
28692         * manual/syslog.texi: Likewise.
28693         * manual/terminal.texi: Likewise.
28694         * manual/time.texi: Likewise.
28695         * manual/users.texi: Likewise.
28696         * INSTALL: Regenerated.
28697         * NOTES: Regenerated.
28698         * sysdeps/gnu/errlist.c: Regenerated.
28700 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28702         * include/dirent.h: Include <dirstream.h> before
28703         <dirent/dirent.h>.
28705 2012-02-28  David S. Miller  <davem@davemloft.net>
28707         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28708         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28709         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28710         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28712 2012-02-27  David S. Miller  <davem@davemloft.net>
28714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28716         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28717         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28720         frame pointer instead of stack pointer relative arg slot.
28721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28722         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28723         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28725 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28727         [BZ #3992]
28728         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28730 2012-02-27  David S. Miller  <davem@davemloft.net>
28732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28736         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28737         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28738         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28739         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28741 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28743         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28744         later.  Allow versions 5-9.
28745         * configure: Regenerated.
28746         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28747         required minimum version and 4.6 as recommended version.  Do not
28748         mention bugs in GCC 2.7 and 2.8.
28749         * INSTALL: Regenerated.
28751 2012-02-27  David S. Miller  <davem@davemloft.net>
28753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28757         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28758         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28759         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28760         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28763         manipulate bits before adding and subtracting TWO112[sx].
28764         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28766 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28768         [BZ #13775]
28769         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28770         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28771         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28772         being in POSIX, because they are in 1003.1-2008.
28774         * rt/tst-aio.c: Include <fcntl.h>.
28775         * rt/tst-aio7.c: Likewise.
28776         * rt/tst-aio64.c: Likewise.
28778         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28780 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28782         * manual/install.texi (--with-headers): Describe headers as
28783         interface headers, not private headers.
28784         (Specific advice for GNU/Linux systems): Describe use of headers
28785         from "make headers_install", not private headers from older
28786         kernels.
28787         * INSTALL: Regenerated.
28788         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28789         Change to 2.6.19.
28790         * sysdeps/unix/sysv/linux/configure: Regenerated.
28792         * manual/llio.texi (fclean): Remove documentation.
28794         * manual/Makefile (libc-texi-generated): New variable.  Include
28795         version.texi.
28796         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28797         $(libc-texi-generated), not duplicated list of files.
28798         (version.texi, stamp-version): New rules.
28799         (realclean): Remove $(libc-texi-generated), not individual files
28800         from that list.  Do not remove dir-add.texinfo.
28801         * manual/libc.texinfo: Comment out uses of edition numbers and
28802         references to printed manual.  Remove last-updated dates.
28803         (EDITION): Comment out.
28804         (ISBN): Likewise.
28805         (VERSION, UPDATED): Remove.
28806         (version.texi): Include.
28808 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28810         * sysdeps/posix/spawni.c: Include <signal.h>.
28811         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28812         * sysdeps/pthread/aio_fsync.c: Likewise.
28814 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28816         * conform/Makefile (tests): Run only when not cross-compiling and
28817         when fast-check is not defined.
28819         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28820         * conform/data/limits.h-data: Fixes for POSIX2008.
28821         * conform/run-conformtest.sh: Run all tests.
28822         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28823         headers.
28824         * include/bits/dlfcn.h: Likewise.
28825         * include/langinfo.h: Likewise.
28826         * include/monetary.h: Likewise.
28827         * include/sys/poll.h: Likewise.
28829         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28830         for __USE_GNU.
28831         * posix/spawn.h: Define __need_sigset_t.
28832         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28833         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28834         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28835         to get sigevent_t only.
28836         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28837         only for __USE_GNU.
28838         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28839         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28840         process_vm_writev only for __USE_GNU.
28841         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28843         * conform/Makefile: For now ignore errors from run-conformtest.
28844         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28845         POSIX to avoid namespace pollution.  Don't prepend headers.
28846         * conform/data/aio.h-data: Fixes for POSIX testing.
28847         * conform/data/fcntl.h-data: Likewise.
28848         * conform/data/glob.h-data: Likewise.
28849         * conform/data/grp.h-data: Likewise.
28850         * conform/data/pthread.h-data: Likewise.
28851         * conform/data/pwd.h-data: Likewise.
28852         * conform/data/signal.h-data: Likewise.
28853         * conform/data/spawn.h-data: Likewise.
28854         * conform/data/stdio.h-data: Likewise.
28855         * conform/data/stdlib.h-data: Likewise.
28856         * conform/data/stropts.h-data: Likewise.
28857         * conform/data/sys/mman.h-data: Likewise.
28858         * conform/data/sys/stat.h-data: Likewise.
28859         * conform/data/sys/types.h-data: Likewise.
28860         * conform/data/sys/wait.h-data: Likewise.
28861         * conform/data/time.h-data: Likewise.
28862         * conform/data/unistd.h-data: Likewise.
28863         * conform/data/utime.h-data: Likewise.
28865         * io/sys/stat.h: fchmod was always in POSIX.
28866         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28867         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28868         * rt/aio.h: Define __need_timespec before including <time.h>.
28869         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28870         struct.  Add forward declaration of pthread_attr_t and use it in
28871         sigevent.
28872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28874         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28875         always remove CLK_TCK definition.
28877 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28879         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28881 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28883         * conform/run-conformtest.sh: New file.
28884         * conform/Makefile: Run run-conformtest for tests.
28885         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28886         support.
28888         * conform/data/uchar.h-data: New file.
28889         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28890         * conform/data/arpa/inet.h-data: Likewise.
28891         * conform/data/assert.h-data: Likewise.
28892         * conform/data/complex.h-data: Likewise.
28893         * conform/data/cpio.h-data: Likewise.
28894         * conform/data/ctype.h-data: Likewise.
28895         * conform/data/dirent.h-data: Likewise.
28896         * conform/data/dlfcn.h-data: Likewise.
28897         * conform/data/errno.h-data: Likewise.
28898         * conform/data/fcntl.h-data: Likewise.
28899         * conform/data/float.h-data: Likewise.
28900         * conform/data/fmtmsg.h-data: Likewise.
28901         * conform/data/fnmatch.h-data: Likewise.
28902         * conform/data/ftw.h-data: Likewise.
28903         * conform/data/glob.h-data: Likewise.
28904         * conform/data/grp.h-data: Likewise.
28905         * conform/data/iconv.h-data: Likewise.
28906         * conform/data/inttypes.h-data: Likewise.
28907         * conform/data/langinfo.h-data: Likewise.
28908         * conform/data/libgen.h-data: Likewise.
28909         * conform/data/limits.h-data: Likewise.
28910         * conform/data/locale.h-data: Likewise.
28911         * conform/data/math.h-data: Likewise.
28912         * conform/data/monetary.h-data: Likewise.
28913         * conform/data/mqueue.h-data: Likewise.
28914         * conform/data/ndbm.h-data: Likewise.
28915         * conform/data/net/if.h-data: Likewise.
28916         * conform/data/netdb.h-data: Likewise.
28917         * conform/data/netinet/in.h-data: Likewise.
28918         * conform/data/nl_types.h-data: Likewise.
28919         * conform/data/poll.h-data: Likewise.
28920         * conform/data/pthread.h-data: Likewise.
28921         * conform/data/pwd.h-data: Likewise.
28922         * conform/data/regex.h-data: Likewise.
28923         * conform/data/sched.h-data: Likewise.
28924         * conform/data/search.h-data: Likewise.
28925         * conform/data/semaphore.h-data: Likewise.
28926         * conform/data/setjmp.h-data: Likewise.
28927         * conform/data/signal.h-data: Likewise.
28928         * conform/data/spawn.h-data: Likewise.
28929         * conform/data/stdarg.h-data: Likewise.
28930         * conform/data/stdio.h-data: Likewise.
28931         * conform/data/stdlib.h-data: Likewise.
28932         * conform/data/string.h-data: Likewise.
28933         * conform/data/strings.h-data: Likewise.
28934         * conform/data/stropts.h-data: Likewise.
28935         * conform/data/sys/ipc.h-data: Likewise.
28936         * conform/data/sys/mman.h-data: Likewise.
28937         * conform/data/sys/msg.h-data: Likewise.
28938         * conform/data/sys/resource.h-data: Likewise.
28939         * conform/data/sys/select.h-data: Likewise.
28940         * conform/data/sys/sem.h-data: Likewise.
28941         * conform/data/sys/shm.h-data: Likewise.
28942         * conform/data/sys/socket.h-data: Likewise.
28943         * conform/data/sys/stat.h-data: Likewise.
28944         * conform/data/sys/statvfs.h-data: Likewise.
28945         * conform/data/sys/time.h-data: Likewise.
28946         * conform/data/sys/timeb.h-data: Likewise.
28947         * conform/data/sys/times.h-data: Likewise.
28948         * conform/data/sys/types.h-data: Likewise.
28949         * conform/data/sys/uio.h-data: Likewise.
28950         * conform/data/sys/un.h-data: Likewise.
28951         * conform/data/sys/utsname.h-data: Likewise.
28952         * conform/data/sys/wait.h-data: Likewise.
28953         * conform/data/syslog.h-data: Likewise.
28954         * conform/data/tar.h-data: Likewise.
28955         * conform/data/termios.h-data: Likewise.
28956         * conform/data/utime.h-data: Likewise.
28957         * conform/data/utmpx.h-data: Likewise.
28958         * conform/data/varargs.h-data: Likewise.
28959         * conform/data/wchar.h-data: Likewise.
28960         * conform/data/wctype.h-data: Likewise.
28961         * conform/data/wordexp.h-data: Likewise.
28963         * include/stropts.h: New file.
28964         * include/uchar.h: New file.
28965         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28966         * include/assert.h: Likewise.
28967         * include/ctype.h: Likewise.
28968         * include/dirent.h: Likewise.
28969         * include/dlfcn.h: Likewise.
28970         * include/fcntl.h: Likewise.
28971         * include/fnmatch.h: Likewise.
28972         * include/glob.h: Likewise.
28973         * include/grp.h: Likewise.
28974         * include/libio.h: Likewise.
28975         * include/locale.h: Likewise.
28976         * include/math.h: Likewise.
28977         * include/net/if.h: Likewise.
28978         * include/netdb.h: Likewise.
28979         * include/netinet/in.h: Likewise.
28980         * include/pthread.h: Likewise.
28981         * include/pwd.h: Likewise.
28982         * include/regex.h: Likewise.
28983         * include/sched.h: Likewise.
28984         * include/search.h: Likewise.
28985         * include/setjmp.h: Likewise.
28986         * include/signal.h: Likewise.
28987         * include/stdio.h: Likewise.
28988         * include/stdlib.h: Likewise.
28989         * include/string.h: Likewise.
28990         * include/sys/cdefs.h: Likewise.
28991         * include/sys/mman.h: Likewise.
28992         * include/sys/msg.h: Likewise.
28993         * include/sys/resource.h: Likewise.
28994         * include/sys/select.h: Likewise.
28995         * include/sys/socket.h: Likewise.
28996         * include/sys/stat.h: Likewise.
28997         * include/sys/statvfs.h: Likewise.
28998         * include/sys/time.h: Likewise.
28999         * include/sys/times.h: Likewise.
29000         * include/sys/uio.h: Likewise.
29001         * include/sys/utsname.h: Likewise.
29002         * include/sys/wait.h: Likewise.
29003         * include/termios.h: Likewise.
29004         * include/time.h: Likewise.
29005         * include/ulimit.h: Likewise.
29006         * include/unistd.h: Likewise.
29007         * include/utime.h: Likewise.
29008         * include/wchar.h: Likewise.
29009         * include/wctype.h: Likewise.
29010         * include/wordexp.h: Likewise.
29012         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29014         * time/time.h: TIME_UTC must be a macro.
29015         Make timespec_get available for ISO C11 only as well.
29017 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29019         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29020         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29022 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29024         * configure.in: Use -o not -a in test for unsupported multi-arch.
29026 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29028         * manual/texinfo.tex: Update to version 2012-01-19.16.
29030 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29032         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29034 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29036         [BZ #13738]
29037         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29038         * manual/fdl-1.3.texi: New file.
29039         * manual/fdl-1.1.texi: File removed.
29041         [BZ #13738]
29042         * manual/libc.texinfo (FDL_VERSION): New @set.
29043         Use it for mention of FDL in cover text.
29044         (Documentation License): Use it in @include file name.
29046 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29047             Roland McGrath  <roland@hack.frob.com>
29049         [BZ #5461]
29050         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29051         not LONG_LONG_MAX and LONG_LONG_MIN.
29052         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29053         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29054         name.
29055         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29057 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29059         [BZ #2547]
29060         [BZ #11365]
29061         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29062         manipulate bits before adding and subtracting TWO23[sx].
29063         * math/libm-test.inc (nearbyint_test): Add more tests.
29065 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29067         [BZ #2548]
29068         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29069         bits before adding and subtracting TWO23[sx].
29070         * math/libm-test.inc (rint_test): Add more tests.
29071         (rint_test_tonearest): Likewise.
29072         (rint_test_towardzero): Likewise.
29073         (rint_test_downward): Likewise.
29074         (rint_test_upward: Likewise.
29076 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29078         [BZ #10110]
29079         * include/stdc-predef.h: New file.  Extracted from features.h.
29080         * include/features.h: Include stdc-predef.h.
29081         * Makefile (headers): Add stdc-predef.h.
29082         * CONFORMANCE (Compiler limitations): Update.
29084 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29086         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29088 2012-02-21  David S. Miller  <davem@davemloft.net>
29090         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29091         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29093 2012-02-20  David S. Miller  <davem@davemloft.net>
29095         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29096         using a normal save/restore sequence, rather than allocating a
29097         dummy stack frame just to store a frame pointer and restore.
29098         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29100 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29102         * manual/install.texi: Fix stray word in line-wrapped comment.
29104 2012-02-20  David S. Miller  <davem@davemloft.net>
29106         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29107         both binutils and gcc support GOTDATA.
29109         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29110         "rd %pc" in the PIC register setup sequences.
29112         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29113         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29114         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29115         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29116         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29118         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29119         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29121         (SYSCALL_ERROR_HANDLER): Likewise.
29122         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29123         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29125         (SYSCALL_ERROR_HANDLER): Likewise.
29127         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29128         (HAVE_GCC_GOTDATA): New.
29129         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29130         relocation support in both binutils and gcc.
29131         * sysdeps/sparc/elf/configure: Regenerate.
29133         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29134         * sysdeps/sparc/sparc32/elf/configure: Delete.
29135         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29136         * sysdeps/sparc/sparc64/elf/configure: Delete.
29137         * sysdeps/sparc/elf/configure.in: New file.
29138         * sysdeps/sparc/elf/configure: Generate.
29140         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29141         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29142         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29143         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29144         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29146 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29148         * manual/install.texi: Do not mention specific glibc version
29149         numbers.
29150         * manual/libc.texinfo (VERSION, UPDATED): Update.
29151         (@copying): Use @copyright{} and range of years.
29153 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29155         [BZ #13695]
29156         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29157         [crti.S not in sysdirs] (generated): Do not append.
29158         [crti.S not in sysdirs] (omit-deps): Likewise.
29159         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29160         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29161         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29162         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29163         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29164         Likewise.
29165         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29166         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29167         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29168         * csu/defs.awk: Remove file.
29169         * sysdeps/generic/initfini.c: Likewise.
29170         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29171         variable.
29172         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29173         Likewise.
29175 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29177         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29178         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29179         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29180         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29181         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29182         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29183         <bits/epoll.h>.
29184         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29185         (__EPOLL_PACKED): Define to empty if not defined by
29186         <bits/epoll.h>.
29187         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29189         bits/epoll.h.
29191 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29193         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29194         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29195         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29196         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29197         <bits/timerfd.h>.
29198         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29200         bits/timerfd.h.
29202 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29204         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29205         in C locale.
29206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29208         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29211 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29213         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29214         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29216 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29218         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29219         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29220         defined.
29221         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29222         Likewise.
29223         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29224         entry for 2.16.
29226 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29228         * math/w_acos.c: Use non-signaling floating-point comparisons.
29229         * math/w_acosf.c: Likewise.
29230         * math/w_acosh.c: Likewise.
29231         * math/w_acoshf.c: Likewise.
29232         * math/w_acoshl.c: Likewise.
29233         * math/w_acosl.c: Likewise.
29234         * math/w_asin.c: Likewise.
29235         * math/w_asinf.c: Likewise.
29236         * math/w_asinl.c: Likewise.
29237         * math/w_atanh.c: Likewise.
29238         * math/w_atanhf.c: Likewise.
29239         * math/w_atanhl.c: Likewise.
29240         * math/w_exp2.c: Likewise.
29241         * math/w_exp2f.c: Likewise.
29242         * math/w_exp2l.c: Likewise.
29243         * math/w_j0.c: Likewise.
29244         * math/w_j0f.c: Likewise.
29245         * math/w_j0l.c: Likewise.
29246         * math/w_j1.c: Likewise.
29247         * math/w_j1f.c: Likewise.
29248         * math/w_j1l.c: Likewise.
29249         * math/w_jn.c: Likewise.
29250         * math/w_jnf.c: Likewise.
29251         * math/w_log.c: Likewise.
29252         * math/w_log10.c: Likewise.
29253         * math/w_log10f.c: Likewise.
29254         * math/w_log10l.c: Likewise.
29255         * math/w_log2.c: Likewise.
29256         * math/w_log2f.c: Likewise.
29257         * math/w_log2l.c: Likewise.
29258         * math/w_logf.c: Likewise.
29259         * math/w_logl.c: Likewise.
29260         * math/w_sqrt.c: Likewise.
29261         * math/w_sqrtf.c: Likewise.
29262         * math/w_sqrtl.c: Likewise.
29263         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29264         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29265         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29266         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29269 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29271         [BZ #9739]
29272         * manual/string.texi (strnlen): Use correct parameter name in
29273         equivalent expression.
29275 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29277         [BZ #11174]
29278         * manual/users.texi (seteuid): Consistently use neweuid for
29279         argument name.
29281 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29283         [BZ #13704]
29284         * manual/nss.texi (Services in the NSS configuration): Correct
29285         list of services in example configuration file.
29287 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29289         [BZ #11322]
29290         * manual/arith.texi: Remove statements about negative zero
29291         behaving identically to zero.
29293 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29295         [BZ #5993]
29296         * manual/install.texi: Do not document upgrading from libc5.
29298 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29300         [BZ #4596]
29301         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29303 2012-02-18  David S. Miller  <davem@davemloft.net>
29305         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29306         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29307         %o7 across the call.
29308         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29309         instead.
29310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29311         SETUP_PIC_REG_LEAF.
29312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29313         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29314         * sysdeps/sparc/crtn.S: Likewise.
29316 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29318         * aout/Makefile: Remove.
29320 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29322         [BZ #13058]
29323         * manual/examples/argp-ex1.c (main): Format definition in GNU
29324         style.
29325         * manual/examples/argp-ex2.c (main): Likewise.
29326         * manual/examples/argp-ex3.c (main): Likewise.
29327         * manual/examples/argp-ex4.c (main): Likewise.
29328         * manual/examples/longopt.c (main): Use new-style prototype
29329         definition.
29330         * manual/examples/strncat.c (main): Specify return type and use
29331         (void) for arguments.
29332         * manual/examples/subopt.c (main): Use char **argv argument.
29334 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29336         [BZ #5077]
29337         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29338         rounding modes.
29340 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29342         [BZ #6907]
29343         * manual/string.texi (strchr): Change when strchrnul is
29344         recommended.
29346 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29348         [BZ #174]
29349         * manual/locale.texi (setlocale): Document LOCPATH.
29351 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29353         [BZ #10210]
29354         * manual/process.texi (execle): Move @dots{} before last argument.
29356 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29358         [BZ #12047]
29359         * manual/charset.texi (Generic Charset Conversion): Fix typo
29360         (LC_TYPE -> LC_CTYPE).
29362 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29364         [BZ #5805]
29365         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29366         (scalbnf): Likewise.
29367         (scalbnl): Likewise.
29368         (scalbln): Likewise.
29369         (scalblnf): Likewise.
29370         (scalblnl): Likewise.
29371         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29372         (vwarnx): Likewise.
29373         (verr): Likewise.
29374         (verrx): Likewise.
29375         * manual/filesys.texi (telldir): Use braces around return type.
29376         * manual/llio.texi (mmap): Add space after comma.
29377         (mmap64): Likewise.
29378         * manual/math.texi (jn): Use @var{} on parameter names.
29379         (jnf): Likewise.
29380         (jnl): Likewise.
29381         (yn): Likewise.
29382         (ynf): Likewise.
29383         (ynl): Likewise.
29384         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29385         line.
29386         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29387         "...".
29388         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29389         (sched_get_priority_max): Likewise.
29390         * manual/signal.texi (sigvec): Add space after comma.
29391         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29392         names.
29393         (if_indextoname): Likewise.
29394         (if_freenameindex): Likewise.
29395         (sendto): Use ',' instead of '.' in prototype.
29396         * manual/startup.texi (syscall): Use @dots{} instead of literal
29397         "...".
29398         * manual/stdio.texi (__fpending): Separate initial words of
29399         paragraph from @deftypefun line.
29400         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29401         "...".
29402         (vsyslog): Use @var{} on parameter names.
29403         * manual/terminal.texi (stty): Use @var{} on parameter names.
29404         * manual/users.texi (getutmp): Use @var{} on parameter names.
29405         (getutmpx): Likewise.
29407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29409         [BZ #6884]
29410         * manual/stdio.texi (fopen): Fix typos in description of
29411         ",ccs=STRING".
29413 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29415         [BZ #4026]
29416         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29417         get clock_id definition.
29419 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29421         [BZ #4822]
29422         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29423         (madvise): Cast every argument to void on its own.
29425 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29427         [BZ #9902]
29428         * manual/startup.texi (Exit Status): Fix typo.
29430 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29432         [BZ #10140]
29433         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29434         * manual/examples/argp-ex2.c: Likewise.
29435         * manual/examples/argp-ex3.c: Likewise.
29437 2012-02-16  Richard Henderson  <rth@redhat.com>
29439         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29440         * sysdeps/s390/s390-32/initfini.c: Remove.
29441         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29442         * sysdeps/s390/s390-64/initfini.c: Remove.
29444 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29446         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29447         compiler output for sysdeps/generic/initfini.c.
29448         * sysdeps/sh/elf/initfini.c: Remove file.
29450 2012-02-16  David S. Miller  <davem@davemloft.net>
29452         [BZ #11494]
29453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29455         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29456         * sysdeps/sparc/crti.S: New file.
29457         * sysdeps/sparc/crtn.S: New file.
29458         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29459         * sysdeps/sparc/sparc64/Makefile: Likewise.
29461 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29463         [BZ #3335]
29464         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29466 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29468         [BZ #4822]
29469         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29471         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29472         (write, read, close): Likewise.
29473         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29475 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29477         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29478         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29479         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29480         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29481         <bits/signalfd.h>.
29482         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29484         bits/signalfd.h.
29486 2012-02-14  Marek Polacek  <polacek@redhat.com>
29488         * sysdeps/x86_64/crti.S: New file.
29489         * sysdeps/x86_64/crtn.S: New file.
29490         * sysdeps/x86_64/elf/initfini.c: Remove file.
29492 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29494         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29495         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29496         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29497         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29498         <bits/inotify.h>.
29499         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29501         bits/inotify.h.
29503 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29505         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29506         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29507         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29508         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29509         <bits/eventfd.h>.
29510         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29512         bits/eventfd.h.
29514 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29516         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29517         __feraiseexcept instead of feraiseexcept.
29519         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29520         nanosleep invocations.
29521         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29522         strings, and add error checking for a nanosleep invocations.
29524 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29526         Replace FSF snail mail address with URLs, as per GNU coding standards.
29527         Most of the snail mail addresses were wrong anyway, and omitting
29528         them makes the source code easier to maintain.  Almost all of the
29529         changes are to license notices and to locale LC_IDENTIFICATION
29530         addresses, except for this one:
29531         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29532         not its snail mail address.
29534 2012-02-09  Richard Henderson  <rth@twiddle.net>
29536         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29537         of kernel-features.h.
29539         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29541 2012-02-08  Marek Polacek  <polacek@redhat.com>
29543         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29544         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29545         * sysdeps/gnu/_G_config.h: Likewise.
29546         * sysdeps/generic/_G_config.h: Likewise.
29548 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29550         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29551         tests.
29552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29554         * sysdeps/powerpc/powerpc32/crti.S: New file.
29555         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29556         * sysdeps/powerpc/powerpc64/crti.S: New file.
29557         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29559         * Makeconfig (have-initfini): Don't set.
29560         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29561         * configure.in (nopic_initfini): Don't substitute.
29562         * config.h.in (HAVE_INITFINI): Don't #undef.
29563         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29564         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29566 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29568         Support crti.S and crtn.S provided directly by architectures.
29569         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29570         [crti.S in sysdirs] (omit-deps): Likewise.
29571         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29572         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29573         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29574         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29575         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29576         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29577         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29578         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29579         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29580         compiler output for sysdeps/generic/initfini.c.
29581         * sysdeps/i386/elf/Makefile: Remove file.
29582         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29584 2012-02-07  Marek Polacek  <polacek@redhat.com>
29586         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29587         * sysdeps/gnu/_G_config.h: Likewise.
29588         * sysdeps/mach/hurd/_G_config.h: Likewise.
29590 2012-02-07  Marek Polacek  <polacek@redhat.com>
29592         * math/Makefile (tests): Add tst-CMPLX2.
29593         * math/tst-CMPLX2.c: New file.
29595 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29599         * math/libm-test.inc (jn_test): Add missing L suffix.
29601 2012-02-06  Marek Polacek  <polacek@redhat.com>
29603         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29604         * sysdeps/i386/fpu/e_powf.S: Likewise.
29605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29606         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29607         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29608         * sysdeps/i386/fpu/e_pow.S: Likewise.
29609         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29610         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29611         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29612         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29613         * sysdeps/i386/fpu/e_log2.S: Likewise.
29614         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29615         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29616         * sysdeps/i386/fpu/e_powl.S: Likewise.
29617         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29618         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29619         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29620         * sysdeps/i386/fpu/e_logl.S: Likewise.
29621         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29622         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29623         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29624         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29625         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29626         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29627         * sysdeps/i386/fpu/e_log.S: Likewise.
29628         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29629         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29630         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29631         * sysdeps/i386/fpu/e_logf.S: Likewise.
29632         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29633         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29634         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29635         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29636         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29637         * sysdeps/i386/fpu/e_log10.S: Likewise.
29638         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29639         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29640         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29641         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29642         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29643         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29644         * sysdeps/i386/asm-syntax.h: Likewise.
29645         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29646         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29647         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29648         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29649         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29650         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29651         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29652         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29653         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29654         * sysdeps/powerpc/sysdep.h: Likewise.
29655         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29656         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29658 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29660         [BZ #411]
29661         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29663 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29665         * sysdeps/i386/sysdep.h: Include <features.h>.
29666         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29667         version.
29669 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29671         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29672         Define.
29673         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29674         LOAD_PIC_REG_STR.
29676 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29678         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29679         (SETUP_PIC_REG): Use GET_PC_THUNK.
29680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29681         macro.
29683 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29685         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29686         for non-PIC compilation.
29687         (SETUP_PIC_REG): Add .p2align directive.
29688         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29689         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29690         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29691         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29692         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29693         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29694         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29696         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29697         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29698         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29699         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29700         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29701         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29703         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29704         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29705         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29706         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29707         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29709         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29710         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29711         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29712         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29714         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29715         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29716         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29717         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29718         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29719         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29720         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29723         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29724         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29725         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29726         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29727         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29728         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29730 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29732         * math/tst-CMPLX.c: Include <stdio.h>.
29734 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29736         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29737         float.
29738         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29739         * sysdeps/sparc/bits/mathdef.h: Likewise.
29741 2012-01-31  Marek Polacek  <polacek@redhat.com>
29743         * libio/libio.h: Don't define _PARAMS.
29744         * locale/programs/config.h: Don't define PARAMS.
29745         * stdlib/strtol_l.c: Likewise.
29746         (__strtol_l): Remove PARAMS from the prototype.
29748 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29750         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29751         names.  Just use the correct names.  Remove unnecessary wrapper
29752         functions.
29753         * malloc/arena.c: Likewise.
29754         * malloc/hooks.c: Likewise.
29756         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29757         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29758         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29760 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29762         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29763         into tail calls.
29764         (update_get_addr): New function.
29765         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29766         GET_ADDR_MODULE parameter.
29768 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29770         * crypt/cert.c: Remove __STDC__ conditionals.
29771         * crypt/crypt-entry.c: Likewise.
29772         * crypt/crypt_util.c: Likewise.
29773         * libio/filedoalloc.c: Likewise.
29774         * libio/fileops.c: Likewise.
29775         * libio/genops.c: Likewise.
29776         * libio/iofclose.c: Likewise.
29777         * libio/iofdopen.c: Likewise.
29778         * libio/iofopen.c: Likewise.
29779         * libio/iofopen64.c: Likewise.
29780         * libio/iogetdelim.c: Likewise.
29781         * libio/iopopen.c: Likewise.
29782         * libio/obprintf.c: Likewise.
29783         * libio/oldfileops.c: Likewise.
29784         * libio/oldiofclose.c: Likewise.
29785         * libio/oldiofdopen.c: Likewise.
29786         * libio/oldiofopen.c: Likewise.
29787         * libio/oldiopopen.c: Likewise.
29788         * libio/wfiledoalloc.c: Likewise.
29789         * libio/wgenops.c: Likewise.
29790         * locale/programs/xmalloc.c: Likewise.
29791         * misc/syslog.c: Likewise.
29792         * stdio-common/xbug.c: Likewise.
29793         * string/memchr.c: Likewise.
29794         * string/memcmp.c: Likewise.
29795         * string/memrchr.c: Likewise.
29796         * string/rawmemchr.c: Likewise.
29797         * sysdeps/posix/getcwd.c: Likewise.
29798         * time/strftime_l.c: Likewise.
29800 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29802         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29803         * config.make.in (config-cflags-sse2avx): Define.
29804         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29805         Fix typo.
29807 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29809         * scripts/config.guess: Update from upstream config git repository.
29810         * scripts/config.sub: Likewise.
29812 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29814         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29815         (EM_NUM): Update.
29816         (R_TILEPRO_*, R_TILEGX_*): New macros.
29818         * scripts/firstversions.awk: Fix bug in version range handling.
29820         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29822         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29824         * include/sys/epoll.h: New file.
29825         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29826         libc_hidden_def.
29828 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29830         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29831         Avoid unnecessary __WORDSIZE == 64 test.
29832         (fmaxf): Use VEX format if possible.
29833         (fmax): Likewise.
29834         (fminf): Likewise.
29835         (fmin): Likewise.
29837         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29838         * math/math_private.h: Remove libc_fegetround* and
29839         libc_fesetround*.
29840         * sysdeps/i386/configure.in: Check for -msse2avx.
29841         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29842         also if SSE2AVX is defined.
29843         Remove libc_fegetround* and libc_fesetround*.
29844         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29845         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29847         of HAS_YMM_USABLE.
29848         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29849         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29850         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29851         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29852         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29854         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29856 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29858         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29859         size is not set.
29860         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29862 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29864         [BZ #13618]
29865         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29866         relocation.
29867         * Makeconfig (libm): Define.
29868         * elf/Makefile: Add rules to build and run tst-relsort1.
29869         * elf/tst-relsort1.c: New file.
29870         * elf/tst-relsort1mod1.c: New file.
29871         * elf/tst-relsort1mod2.c: New file.
29873 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29875         * math/s_ldexp.c: Remove __STDC__ conditionals.
29876         * math/s_ldexpf.c: Likewise.
29877         * math/s_ldexpl.c: Likewise.
29878         * math/s_nextafter.c: Likewise.
29879         * math/s_nexttowardf.c: Likewise.
29880         * math/s_significand.c: Likewise.
29881         * math/s_significandf.c: Likewise.
29882         * math/s_significandl.c: Likewise.
29883         * math/w_jnl.c: Likewise.
29884         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29885         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29886         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29887         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29888         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29903         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29904         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29905         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29906         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29908         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29909         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29910         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29911         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29912         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29913         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29914         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29915         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29916         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29917         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29918         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29919         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29920         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29921         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29922         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29923         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29924         * sysdeps/ieee754/k_standard.c: Likewise.
29925         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29926         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29927         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29928         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29929         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29930         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29931         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29934         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29938         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29941         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29942         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29947         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29949         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29950         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29954         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29955         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29956         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29957         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29958         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29984         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29985         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29986         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29989         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29990         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29991         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29999         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30000         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30004         * sysdeps/ieee754/s_matherr.c: Likewise.
30005         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30006         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30010 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30012         * crypt/md5.h: Remove __STDC__ conditionals.
30013         * libio/libioP.h: Likewise.
30014         * locale/programs/config.h: Likewise.
30015         * sysdeps/generic/sysdep.h: Likewise.
30016         * sysdeps/i386/asm-syntax.h: Likewise.
30017         * sysdeps/s390/asm-syntax.h: Likewise.
30018         * sysdeps/unix/sysdep.h: Likewise.
30019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30022 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30024         * libio/libio.h: Remove __STDC__ conditionals.
30025         * malloc/obstack.h: Likewise.
30026         * math/complex.h: Likewise.
30027         * math/math.h: Likewise.
30028         * sysdeps/generic/_G_config.h: Likewise.
30029         * sysdeps/gnu/_G_config.h: Likewise.
30030         * sysdeps/mach/hurd/_G_config.h: Likewise.
30031         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30032         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30033         * sysdeps/sparc/bits/mathdef.h: Likewise.
30035 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30037         [BZ #13583]
30038         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30039         Clean up HAS_* macros.
30040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30041         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30042         possible.
30043         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30044         HAS_AVX.
30045         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30046         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30047         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30049         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30051 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30053         * elf/tst-unique3.cc (gets): Remove declaration.
30054         * elf/tst-unique3lib.cc (gets): Likewise.
30055         * elf/tst-unique3lib2.cc (gets): Likewise.
30056         * elf/tst-unique4.cc (gets): Likewise.
30058 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30060         * include/stdio.h: Add C++ protection.  Add gets declarations and
30061         definitions.
30062         * debug/tst-chk1.c: Don't declare gets here.
30063         * stdio-common/tst-gets.c: Likewise.
30065 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30067         * posix/glob: Remove directory.
30069 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30071         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30073 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30075         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30076         of the non-standard EPFNOSUPPORT.
30078 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30080         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30081         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30082         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30084 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30086         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30088 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30090         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30091         transient errors.
30092         * nscd/grpcache.c (cache_addgr): Likewise.
30093         * nscd/hstcache.c (cache_addhst): Likewise.
30094         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30095         * nscd/pwdcache.c (cache_addpw): Likewise.
30096         * nscd/servicescache.c (cache_addserv): Likewise.
30098 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30100         * malloc/malloc.c: Various cleanups.
30101         * malloc/hooks.c: Likewise.
30103         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30104         * stdlib/bug-fmtmsg1.c: New file.
30106         * stdlib/fmtmsg.c (init): Add missing unlock.
30107         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30109 2012-01-12  Marek Polacek  <polacek@redhat.com>
30111         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30112         and _GNU_SOURCE.
30114 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30116         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30117         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30118         macro to ensure uniqueness of label name.
30119         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30120         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30122 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30124         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30126         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30127         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30128         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30131 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30133         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30135         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30136         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30137         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30139         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30141         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30142         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30143         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30144         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30146         * math/bits/math-finite.h: Add ldexp support.
30148 2012-01-10  Marek Polacek  <polacek@redhat.com>
30150         * locale/programs/localedef.h (show_archive_content): Add noreturn
30151         attribute.
30153 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30155         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30157 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30159         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30161         * io/Makefile (headers): Add bits/poll2.h.
30163 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30166         typo #include statement.
30168 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30170         * include/sys/cdefs.h: Define __attribute_alloc_size.
30171         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30172         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30173         * elf/pldd.c: Likewise.
30174         * iconv/iconv_charmap.c: Likewise.
30175         * iconv/iconvconfig.c: Likewise.
30176         * iconv/strtab.c: Likewise.
30177         * locale/programs/locale.c: Likewise.
30178         * locale/programs/localedef.h: Likewise.
30179         * locale/programs/simple-hash.c: Likewise.
30180         * nscd/nscd.h: Likewise.
30181         * nss/makedb.c: Likewise.
30182         * sysdeps/generic/ldconfig.h: Likewise.
30183         * locale/programs/localedef.c: Remove xmalloc prototype.
30184         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30186 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30188         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30189         appropriate.
30191 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30193         * math/Makefile (tests): Add tst-CMPLX.
30194         * math/tst-CMPLX.c: New file.
30196         * math/complex.h (CMPLXL): Fix typo.
30198         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30199         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30200         GLIBC_2.16.
30201         * debug/tst-chk1.c: Add poll and ppoll tests.
30202         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30203         * include/sys/poll.h: Add hidden proto for ppoll.
30204         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30205         * sysdeps/mach/hurd/ppoll.c: Likewise.
30206         * io/ppoll.c: Likewise.
30207         * debug/poll_chk.c: New file.
30208         * debug/ppoll_chk.c: New file.
30209         * include/bits/poll2.h: New file.
30210         * io/bits/poll2.h: New file.
30212         [BZ #1350]
30213         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30215         * configure.in: static is always set to yes.  Remove.
30216         * config.make.in: Don't set build-static.
30217         * Makeconfig: Remove use of build-static.
30218         * dlfcn/Makefile: Likewise.
30219         * elf/Makefile: Likewise.
30220         * math/Makefile: Likewise.
30221         * misc/Makefile: Likewise.
30222         * nptl/Makefile: Likewise.
30223         * sysdeps/mach/hurd/Makefile: Likewise.
30225         * configure.in: PWD_P is not used anymore.
30226         * config.make.in: Remove PWD_P entry.
30228         * configure.in: Remove last remnants of RANLIB.
30229         No need to check for signed size_t anymore.
30230         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30231         and IA-64.
30232         Remove __builtin_expect test because we require at least gcc 3.4.
30233         * aclocal.m4: Likewise.
30235         * wcsmbs/mbrtoc16.c: Implement using towc function.
30236         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30237         * wcsmbs/wcsmbsload.c: Likewise.
30238         * iconv/gconv_simple.c: Likewise.
30239         * iconv/gconv_int.h: Likewise.
30240         * iconv/gconv_builtin.h: Likewise.
30241         * iconv/iconv_prog.c: Remove CHAR16 handling.
30243         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30245         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30247         * configure.in: Remove --with-elf and --enable-bounded options.
30248         Dont set base_machine for ia64.  More non-ELF conditions removed.
30249         Remove testing and setting of leading underscore information.
30250         * config.make.in (build-bounded): Set to no.
30251         * config.h.in: Remove NO_UNDERSCORES entry.
30252         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30253         them.
30254         * csu/start.c: Remove !NO_UNDERSCORE code.
30255         * locale/localeinfo.h: Likewise.
30256         * sysdeps/generic/machine-gmon.h: Likewise.
30257         * sysdeps/generic/sysdep.h: Likewise.
30258         * sysdeps/i386/sysdep.h: Likewise.
30259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30260         * sysdeps/mach/sysdep.h: Likewise.
30261         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30262         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30263         * sysdeps/sh/sysdep.h: Likewise.
30264         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30265         * sysdeps/unix/i386/sysdep.S: Likewise.
30266         * sysdeps/unix/sparc/start.c: Likewise.
30267         * sysdeps/unix/sparc/sysdep.S: Likewise.
30268         * sysdeps/unix/sparc/sysdep.h: Likewise.
30269         * sysdeps/unix/start.c: Likewise.
30270         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30271         * sysdeps/x86_64/sysdep.h: Likewise.
30273 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30275         [BZ #13553]
30276         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30277         for non-gcc.
30278         * argp/argp-fmtstream.h: Use const instead __const.
30279         * argp/argp.h: Likewise.
30280         * assert/assert.h: Likewise.
30281         * bits/fenv.h: Likewise.
30282         * bits/sched.h: Likewise.
30283         * bits/sigset.h: Likewise.
30284         * bits/sigthread.h: Likewise.
30285         * catgets/nl_types.h: Likewise.
30286         * conform/data/pthread.h-data: Likewise.
30287         * crypt/crypt-private.h: Likewise.
30288         * crypt/crypt.h: Likewise.
30289         * crypt/crypt_util.c: Likewise.
30290         * ctype/ctype.h: Likewise.
30291         * debug/execinfo.h: Likewise.
30292         * debug/mbsnrtowcs_chk.c: Likewise.
30293         * debug/mbsrtowcs_chk.c: Likewise.
30294         * debug/wcsnrtombs_chk.c: Likewise.
30295         * debug/wcsrtombs_chk.c: Likewise.
30296         * debug/wcstombs_chk.c: Likewise.
30297         * dirent/dirent.h: Likewise.
30298         * dlfcn/dlfcn.h: Likewise.
30299         * elf/neededtest4.c: Likewise.
30300         * grp/grp.h: Likewise.
30301         * gshadow/gshadow.h: Likewise.
30302         * iconv/gconv.h: Likewise.
30303         * iconv/gconv_int.h: Likewise.
30304         * iconv/gconv_simple.c: Likewise.
30305         * iconv/iconv.h: Likewise.
30306         * iconv/loop.c: Likewise.
30307         * iconv/skeleton.c: Likewise.
30308         * include/aio.h: Likewise.
30309         * include/aliases.h: Likewise.
30310         * include/argz.h: Likewise.
30311         * include/arpa/inet.h: Likewise.
30312         * include/assert.h: Likewise.
30313         * include/dirent.h: Likewise.
30314         * include/dlfcn.h: Likewise.
30315         * include/execinfo.h: Likewise.
30316         * include/fcntl.h: Likewise.
30317         * include/fenv.h: Likewise.
30318         * include/glob.h: Likewise.
30319         * include/grp.h: Likewise.
30320         * include/libintl.h: Likewise.
30321         * include/mntent.h: Likewise.
30322         * include/netdb.h: Likewise.
30323         * include/pwd.h: Likewise.
30324         * include/rpc/netdb.h: Likewise.
30325         * include/sched.h: Likewise.
30326         * include/search.h: Likewise.
30327         * include/shadow.h: Likewise.
30328         * include/signal.h: Likewise.
30329         * include/stdio.h: Likewise.
30330         * include/stdlib.h: Likewise.
30331         * include/string.h: Likewise.
30332         * include/sys/socket.h: Likewise.
30333         * include/sys/stat.h: Likewise.
30334         * include/sys/statfs.h: Likewise.
30335         * include/sys/statvfs.h: Likewise.
30336         * include/sys/syslog.h: Likewise.
30337         * include/sys/time.h: Likewise.
30338         * include/sys/uio.h: Likewise.
30339         * include/time.h: Likewise.
30340         * include/unistd.h: Likewise.
30341         * include/utmp.h: Likewise.
30342         * include/wchar.h: Likewise.
30343         * include/wctype.h: Likewise.
30344         * inet/aliases.h: Likewise.
30345         * inet/arpa/inet.h: Likewise.
30346         * inet/netinet/ether.h: Likewise.
30347         * inet/netinet/in.h: Likewise.
30348         * intl/libintl.h: Likewise.
30349         * io/bits/fcntl2.h: Likewise.
30350         * io/fcntl.h: Likewise.
30351         * io/ftw.h: Likewise.
30352         * io/sys/poll.h: Likewise.
30353         * io/sys/stat.h: Likewise.
30354         * io/sys/statfs.h: Likewise.
30355         * io/sys/statvfs.h: Likewise.
30356         * io/utime.h: Likewise.
30357         * libio/bits/stdio.h: Likewise.
30358         * libio/bits/stdio2.h: Likewise.
30359         * libio/libio.h: Likewise.
30360         * libio/libioP.h: Likewise.
30361         * libio/stdio.h: Likewise.
30362         * locale/lc-ctype.c: Likewise.
30363         * locale/locale.h: Likewise.
30364         * login/utmp.h: Likewise.
30365         * malloc/arena.c: Likewise.
30366         * malloc/malloc.c: Likewise.
30367         * malloc/malloc.h: Likewise.
30368         * malloc/mcheck.c: Likewise.
30369         * malloc/mtrace.c: Likewise.
30370         * math/bits/mathcalls.h: Likewise.
30371         * math/fenv.h: Likewise.
30372         * math/math_private.h: Likewise.
30373         * misc/bits/error.h: Likewise.
30374         * misc/bits/syslog.h: Likewise.
30375         * misc/err.h: Likewise.
30376         * misc/error.h: Likewise.
30377         * misc/fstab.h: Likewise.
30378         * misc/mntent.h: Likewise.
30379         * misc/regexp.h: Likewise.
30380         * misc/search.h: Likewise.
30381         * misc/sgtty.h: Likewise.
30382         * misc/sys/mman.h: Likewise.
30383         * misc/sys/syslog.h: Likewise.
30384         * misc/sys/uio.h: Likewise.
30385         * misc/sys/xattr.h: Likewise.
30386         * misc/ttyent.h: Likewise.
30387         * nis/rpcsvc/ypclnt.h: Likewise.
30388         * nss/nss.h: Likewise.
30389         * posix/bits/unistd.h: Likewise.
30390         * posix/fnmatch.h: Likewise.
30391         * posix/glob.h: Likewise.
30392         * posix/sched.h: Likewise.
30393         * posix/spawn.h: Likewise.
30394         * posix/sys/wait.h: Likewise.
30395         * posix/unistd.h: Likewise.
30396         * posix/wordexp.h: Likewise.
30397         * pwd/pwd.h: Likewise.
30398         * resolv/netdb.h: Likewise.
30399         * resource/sys/resource.h: Likewise.
30400         * rt/aio.h: Likewise.
30401         * rt/bits/mqueue2.h: Likewise.
30402         * rt/mqueue.h: Likewise.
30403         * shadow/shadow.h: Likewise.
30404         * signal/signal.h: Likewise.
30405         * socket/send.c: Likewise.
30406         * socket/sendto.c: Likewise.
30407         * socket/sys/socket.h: Likewise.
30408         * stdio-common/printf.h: Likewise.
30409         * stdlib/bits/stdlib.h: Likewise.
30410         * stdlib/fmtmsg.h: Likewise.
30411         * stdlib/monetary.h: Likewise.
30412         * stdlib/stdlib.h: Likewise.
30413         * stdlib/ucontext.h: Likewise.
30414         * streams/stropts.h: Likewise.
30415         * string/argz.h: Likewise.
30416         * string/bits/string2.h: Likewise.
30417         * string/string.h: Likewise.
30418         * string/strings.h: Likewise.
30419         * sunrpc/rpc/auth.h: Likewise.
30420         * sunrpc/rpc/auth_des.h: Likewise.
30421         * sunrpc/rpc/clnt.h: Likewise.
30422         * sunrpc/rpc/netdb.h: Likewise.
30423         * sunrpc/rpc/pmap_clnt.h: Likewise.
30424         * sunrpc/rpc/xdr.h: Likewise.
30425         * sysdeps/generic/inttypes.h: Likewise.
30426         * sysdeps/generic/net/if.h: Likewise.
30427         * sysdeps/generic/sys/swap.h: Likewise.
30428         * sysdeps/gnu/net/if.h: Likewise.
30429         * sysdeps/gnu/utmpx.h: Likewise.
30430         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30431         * sysdeps/i386/i486/bits/string.h: Likewise.
30432         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30433         * sysdeps/s390/bits/string.h: Likewise.
30434         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30435         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30436         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30437         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30438         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30439         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30440         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30441         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30442         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30443         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30444         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30445         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30446         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30447         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30448         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30449         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30450         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30454         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30455         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30456         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30457         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30458         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30459         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30460         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30461         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30462         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30463         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30464         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30465         * sysvipc/sys/ipc.h: Likewise.
30466         * sysvipc/sys/msg.h: Likewise.
30467         * sysvipc/sys/sem.h: Likewise.
30468         * sysvipc/sys/shm.h: Likewise.
30469         * termios/termios.h: Likewise.
30470         * time/sys/time.h: Likewise.
30471         * time/time.h: Likewise.
30472         * wcsmbs/bits/wchar2.h: Likewise.
30473         * wcsmbs/uchar.h: Likewise.
30474         * wcsmbs/wchar.h: Likewise.
30475         * wctype/wctype.h: Likewise.
30477         [BZ #13551]
30478         * Makeconfig: Remove all but ELF support including AIX support.
30479         * Makerules: Likewise.
30480         * config.h.in: Likewise.
30481         * config.make.in: Likewise.
30482         * configure: Likewise.
30483         * configure.in: Likewise.
30484         * csu/Makefile: Likewise.
30485         * csu/version.c: Likewise.
30486         * debug/Makefile: Likewise.
30487         * dlfcn/Makefile: Likewise.
30488         * elf/Makefile: Likewise.
30489         * extra-lib.mk: Likewise.
30490         * iconv/Makefile: Likewise.
30491         * include/libc-symbols.h: Likewise.
30492         * include/shlib-compat.h: Likewise.
30493         * resolv/Makefile: Likewise.
30494         * resolv/res_libc.c: Likewise.
30495         * rt/Makefile: Likewise.
30496         * sysdeps/i386/asm-syntax.h: Likewise.
30497         * sysdeps/i386/sysdep.h: Likewise.
30498         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30499         * sysdeps/mach/sysdep.h: Likewise.
30500         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30501         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30502         * sysdeps/s390/asm-syntax.h: Likewise.
30503         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30505         * sysdeps/sh/sysdep.h: Likewise.
30506         * sysdeps/unix/sparc/sysdep.h: Likewise.
30507         * sysdeps/wordsize-32/divdi3.c: Likewise.
30508         * sysdeps/x86_64/sysdep.h: Likewise.
30510         * argp/Versions: Remove _argp_unlock_xxx.
30512         [BZ #13559]
30513         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30514         * abilist/libBrokenLocale.abilist: Likewise.
30515         * abilist/libanl.abilist: Likewise.
30516         * abilist/libc.abilist: Likewise.
30517         * abilist/libcrypt.abilist: Likewise.
30518         * abilist/libdl.abilist: Likewise.
30519         * abilist/libm.abilist: Likewise.
30520         * abilist/libnsl.abilist: Likewise.
30521         * abilist/libpthread.abilist: Likewise.
30522         * abilist/libresolv.abilist: Likewise.
30523         * abilist/librt.abilist: Likewise.
30524         * abilist/libthread_db.abilist: Likewise.
30525         * abilist/libutil.abilist: Likewise.
30526         * abilist/libnss_db.abilist: New file.
30528         * scripts/abilist.awk: Add support for indirect functions.
30530         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30532         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30534         * shlib-versions: Remove entries for ports architectures.
30536         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30537         files in ports.
30538         * elf/stackguard-macros.h: Remove support for IA-64.
30539         * elf/tst-auditmod1.c: Likewise.
30540         * sysdeps/generic/ldsodefs.h: Likewise.
30542         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30543         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30544         configure files.
30546         [BZ #13552]
30547         * configure.in: Remove --enable-omitfp support.
30548         * FAQ.in: Adjust.
30549         * config.make.in: Likewise.
30550         * Makeconfig: Likewise.
30551         * manual/install.texi: Likewise.
30553         In case anyone cares, the IA-64 architecture could move to ports.
30554         * sysdeps/ia64/*: Removed.
30555         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30556         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30558         [BZ #13555]
30559         * configure.in: Remove entries for unsupported architectures.
30561         [BZ #13533]
30562         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30563         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30564         routines.
30565         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30566         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30567         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30568         fall back to using wcrtomb.
30569         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30570         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30571         renaming.
30572         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30573         * wcsmbs/tst-c16c32-1.c: New file.
30575         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30576         local variable.
30578         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30580         * elf/tst-unique3.cc: Add explicit declaration of gets.
30581         * elf/tst-unique3lib.cc: Likewise.
30582         * elf/tst-unique3lib2.cc: Likewise.
30583         * elf/tst-unique4.cc: Likewise.
30585         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30587 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30589         [BZ #13566]
30590         * assert/assert.h (static_assert): Don't define for C++.
30591         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30592         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30594 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30596         * iconv/loop.c (single loop): Fix assertion in storing of
30597         remaining bytes.
30599         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30601 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30603         * posix/getconf.c: Update copyright year.
30604         * nss/getent.c: Likewise.
30605         * nss/makedb.c: Likewise.
30606         * iconv/iconvconfig.c: Likewise.
30607         * iconv/iconv_prog.c: Likewise.
30608         * elf/ldconfig.c: Likewise.
30609         * elf/pldd.c: Likewise.
30610         * elf/sotruss.ksh: Likewise.
30611         * catgets/gencat.c: Likewise.
30612         * csu/version.c: Likewise.
30613         * elf/ldd.bash.in: Likewise.
30614         * elf/sprof.c (print_version): Likewise.
30615         * locale/programs/locale.c: Likewise.
30616         * locale/programs/localedef.c: Likewise.
30617         * login/programs/pt_chown.c: Likewise.
30618         * nscd/nscd.c (print_version): Likewise.
30619         * debug/xtrace.sh: Likewise.
30620         * malloc/memusage.sh: Likewise.
30621         * malloc/mtrace.pl: Likewise.
30622         * debug/catchsegv.sh: Likewise.
30624 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30626         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30627         pure attribute.
30629 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30631         [BZ #13533]
30632         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30633         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30634         transformations.
30635         * iconv/gconv_int.h: Likewise.
30636         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30637         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30638         from libc for GLIBC_2.16.
30639         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30640         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30641         * wcsmbs/uchar.h: Really define mbstate_t.
30642         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30643         * wcsmbs/c16rtomb.c: New file.
30644         * wcsmbs/mbrtoc16.c: New file.
30645         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30646         for C/POSIX locale.
30647         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30648         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30650         * wcsmbs/wchar.h: Add missing __restrict.
30652 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30654         [BZ #13532]
30655         * time/Makefile (routines): Add timespec_get.
30656         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30657         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30658         timespec for ISO C11.
30659         * time/timespec_get.c: New file.
30660         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30661         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30663         [BZ #13531]
30664         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30665         * stdlib/stdlib.h: Declare aligned_alloc.
30666         * Versions.def: Add GLIBC_2.16 for libc.
30667         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30669         [BZ 13527]
30670         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30671         ISO C11.
30673         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30674         code.
30676         [BZ #13528]
30677         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30679         [BZ #13529]
30680         * assert/assert.h (static_assert): Define.
30682         * version.h: Update for 2.16 development version.
30684         [BZ #13526]
30685         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30686         _ISOC11_SOURCE.
30688         * version.h (RELEASE): Bump for 2.15 release.
30689         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30691         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30692         Patch by Marek Polacek <mpolacek@redhat.com>.
30694         * bits/byteswap.h: Protect long long constants with __extension__.
30695         * sysdeps/i386/bits/byteswap.h: Likewise.
30696         * sysdeps/ia64/bits/byteswap.h: Likewise.
30697         * sysdeps/s390/bits/byteswap.h: Likewise.
30698         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30700 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30702         [BZ #13540]
30703         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30704         destination buffer.
30705         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30707 2011-12-23  Marek Polacek  <polacek@redhat.com>
30709         * elf/dl-addr.c (determine_info): Add inline keyword.
30710         * elf/tst-auditmod4b.c (check_avx): Likewise.
30711         * elf/tst-auditmod6b.c (check_avx): Likewise.
30712         * elf/tst-auditmod6c.c (check_avx): Likewise.
30713         * elf/tst-auditmod7b.c (check_avx): Likewise.
30715 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30717         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30718         !__SSE_MATH__.
30720 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30722         [BZ #13540]
30723         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30724         processing for last bytes.
30726 2011-08-06  Bruno Haible  <bruno@clisp.org>
30728         [BZ #13061]
30729         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30730         U+0385, not to U+1FEE.
30732         [BZ #13062]
30733         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30734         entry for U+00A5 U+0301.
30736 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30738         [BZ #13166]
30739         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30740         buffer for the output is too small.
30742         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30743         optimization.
30745         [BZ #13185]
30746         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30747         SSE flags if possible.
30749 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30751         [BZ #13540]
30752         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30753         processing for last bytes.
30755 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30757         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30758         (syscall-list-default-options, syscall-list-default-condition)
30759         (syscall-list-includes): Define.
30760         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30761         list of ABIs and options and #if conditions for each ABI.  Do not
30762         handle common syscalls between ABIs specially.
30763         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30764         Remove.
30765         (syscall-list-variants, syscall-list-32bit-options)
30766         (syscall-list-32bit-condition, syscall-list-64bit-options)
30767         (syscall-list-64bit-condition): Define.
30768         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30769         (syscall-list-variants, syscall-list-32bit-options)
30770         (syscall-list-32bit-condition, syscall-list-64bit-options)
30771         (syscall-list-64bit-condition): Define.
30772         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30773         Remove.
30774         (syscall-list-variants, syscall-list-32bit-options)
30775         (syscall-list-32bit-condition, syscall-list-64bit-options)
30776         (syscall-list-64bit-condition): Define.
30777         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30778         Remove.
30779         (syscall-list-variants, syscall-list-32bit-options)
30780         (syscall-list-32bit-condition, syscall-list-64bit-options)
30781         (syscall-list-64bit-condition): Define.
30783 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30785         * locale/iso-639.def: Add brx entry.
30787         [BZ #13328]
30788         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30789         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30791         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30792         __feraiseexcept_renamed.
30794 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30796         [BZ #13538]
30797         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30798         EPOLLET with unsigned values.
30799         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30802         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30803         to large cancellation.
30804         * math/s_cacoshf.c: Likewise.
30805         * math/s_cacoshl.c: Likewise.
30807 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30809         [BZ #13305]
30810         [BZ #12786]
30811         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30812         * math/s_cacoshf.c: Likewise.
30813         * math/s_cacoshl.c: Likewise.
30815 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30817         [BZ #13439]
30818         * iconv/gconv.h: Define __GCONV_SWAP.
30819         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30820         * iconvdata/utf-16.c: Likewise.
30821         * iconvdata/utf-32.c: Likewise.
30823 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30825         [BZ #13524]
30826         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30827         numerator after shifting it by one limb.
30829 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30831         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30832         under [__USE_EXTERN_INLINES].
30834 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30836         [BZ #13446]
30837         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30839 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30841         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30842         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30843         optimized code.
30844         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30845         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30846         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30847         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30848         for strncasecmp/strncasecmp_l compilation.
30849         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30850         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30852 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30854         [BZ #13484]
30855         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30856         of __asm__.
30858 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30860         [BZ #13506]
30861         * time/tzfile.c (__tzfile_read): Check values from file header.
30863 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30865         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30866         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30867         * powerpc/powerpc32/dl-start.S: Likewise.
30868         * powerpc/powerpc32/elf/start.S: Likewise.
30869         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30870         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30871         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30872         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30873         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30874         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30875         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30876         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30877         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30878         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30879         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30880         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30881         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30882         * powerpc/powerpc32/memset.S: Likewise.
30883         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30884         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30885         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30886         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30887         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30888         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30889         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30890         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30891         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30892         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30893         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30894         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30895         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30897 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30899         * math/libm-test.inc: Added more nearbyint tests.
30900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30901         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30903         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30905 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30907         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30908         FD_CLOEXEC.
30910 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30912         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30913         Add wcscpy-ssse3 wcscpy-c.
30914         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30915         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30916         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30917         * sysdeps/x86_64/wcschr.S: New file.
30918         * sysdeps/x86_64/wcsrchr.S: New file.
30919         * string/test-strcmp.c: Remove checking of wcscmp function for
30920         wrong alignments.
30921         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30922         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30923         wcsrchr-sse2 wcsrchr-c.
30924         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30925         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30926         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30927         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30928         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30929         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30930         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30931         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30932         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30933         * wcsmbc/wcschr.c (WCSCHR): New macro.
30935 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30937         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30938         * wcsmbs/test-wcsrchr.c: New file.
30939         * string/test-strrchr.c: Add wcsrchr support.
30940         (WIDE): New macro.
30941         * wcsmbs/test-wcscpy.c: New file.
30942         * string/test-strcpy.c: Add wcscpy support.
30943         (WIDE): New macro.
30945 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30947         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30948         the inner loop.
30950 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30952         [BZ #13472]
30953         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30955 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30957         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30958         Minor optimizations.
30960         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30961         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30962         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30964 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30966         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30967         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30968         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30969         for gcc to avoid warnings.
30970         * inet/Makefile (tests): Add tst-checks.
30971         * inet/tst-checks.c: New file.
30973         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30974         warning.
30976         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30977         __wmemcmp_sse2.
30979         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30980         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30982         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30984 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30986         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30987         problem.
30989         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30991 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30993         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30994         conditional on GCC version.
30995         (__arch_compare_and_exchange_val_8_acq)
30996         (__arch_compare_and_exchange_val_16_acq)
30997         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30998         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30999         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31001 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31003         * sysdeps/sh/backtrace.c: New file.
31005 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31007         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31008         parenthesis.
31010 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31012         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31013         falling back to utime.
31015 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31017         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31018         expectations for float.
31020 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31022         * locale/weight.h (findidx): Add parameter len.
31023         * locale/weightwc.h (findidx): Likewise.
31024         * posix/fnmatch_loop.c (FCT): Adjust caller.
31025         * posix/regcomp.c (build_equiv_class): Likewise.
31026         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31027         * posix/regexec.c (check_node_accept_bytes): Likewise.
31028         * string/strcoll_l.c (STRCOLL): Likewise.
31029         * string/strxfrm_l.c (STRXFRM): Likewise.
31031 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31033         * Makefile.in: Remove CVSOPT handling.
31034         * configure.in: Remove use of AC_REVISION.
31035         * iconvdata/Makefile (distribute): No need to filter out CVS.
31036         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31037         handling.
31039 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31042         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31043         [USE_AS_STRNCASECMP_L]: Likewise.
31044         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31045         NO_TLS_DIRECT_SEG_REFS.
31046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31047         Fix argument offsets for non-PIC.
31048         [USE_AS_STRNCASECMP_L]: Likewise.
31049         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31050         NO_TLS_DIRECT_SEG_REFS.
31052 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31054         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31055         O_CLOEXEC.
31056         * locale/loadlocale.c (_nl_load_locale): Likewise.
31058 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31060         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31061         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31063         (SYSCALL_GETTIME): Set errno on error.
31065         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31066         count references to noai6ai_cached.
31068 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31070         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31072         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31073         FD_CLOEXEC for /proc/self/maps.
31075         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31076         FD_CLOEXEC for /proc/meminfo.
31078         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31079         gai.conf.
31081         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31082         FD_CLOEXEC for given file.
31084         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31086         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31087         FD_CLOEXEC for /etc/hosts.
31088         (_gethtent): Likewise.
31090         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31092         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31093         cancellation and set FD_CLOEXEC for /etc/netgroup.
31095         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31096         reading /etc/publickey.
31098         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31099         allow cancellation when reading /etc/group.
31101         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31102         cancellation.
31103         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31105         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31106         when using data file.
31108         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31110         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31111         (write_nis_obj): Use "c" and "e" in fopen.
31113         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31115         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31117         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31119         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31121         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31122         locale.alias.
31124         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31126         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31128         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31130         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31131         file parsing and set FD_CLOEXEC.
31133 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31135         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31137 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31139         * malloc/arena.c (arena_get2): Don't call reused_arena when
31140         _int_new_arena failed.
31142 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31144         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31145         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31146         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31147         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31149         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31150         to compile strcasecmp and strncasecmp.
31151         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31152         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31156 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31158         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31159         locale-defines.sym to gen-as-const-headers.
31160         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31161         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31163         to compile strcasecmp and strncasecmp.
31164         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31165         strcasecmp_l and strncasecmp_l.
31166         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31167         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31168         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31169         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31170         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31171         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31172         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31173         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31174         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31175         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31176         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31178 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31180         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31181         result of SYSDEP_GETTIME_CPU to retval.
31182         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31183         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31185         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31186         variable.
31188         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31189         mantissa words.
31190         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31192         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31193         from unused variable.
31195         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31196         DWARF definitions.
31197         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31198         for assembling.
31200         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31201         over namespaces.
31203         * sunrpc/rpc_prot.c (rejected): Fix case value.
31205         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31206         unsigned long long int to avoid warnings in shift.
31208         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31209         of use of trans.
31210         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31211         variable tmp.
31213         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31214         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31215         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31217         * nis/nis_table.c (nis_list): Use variable of correct type for
31218         result of __follow_path call.
31220 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31222         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31223         of math functions ceil, trunc, floor, round, and sqrt, when
31224         avaliable on the platform.
31225         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31226         name clash.
31227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31228         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31229         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31231 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31233         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31236 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31238         * include/unistd.h: Fix __readlink return type.
31239         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31241 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31243         * stdlib/ucontext.h: Undo last change for makecontext.
31245 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31247         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31249         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31250         * setjmp/setjmp.h: Mark functions as non-leaf.
31251         * setjmp/bits/setjmp2.h: Likewise.
31252         * stdlib/ucontext.h: Likewise.
31254 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31256         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31257         (reused_arena): Don't check arena limit.
31258         (arena_get2): Atomically check arena limit.
31260 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31262         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31263         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31266         instructions.
31268 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31270         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31271         handler when locking.
31273         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31274         Fix size of allocated buffer.
31276 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31278         [BZ #10103]
31279         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31280         declarations for long double functions.
31281         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31283         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31285 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31287         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31288         installed.
31290         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31291         is disabled.
31293 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31295         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31297 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31299         * include/alloca.h (stackinfo_alloca_round): Define.
31300         (extend_alloca): Use it.
31301         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31302         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31303         here.
31305         * scripts/check-local-headers.sh: Ignore libaudit.h.
31307         * nscd/Makefile (extra-objs): Make recursively expanded.
31309 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31311         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31314         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31315         * posix/tst-rfc3484-2.c: Likewise.
31316         * posix/tst-rfc3484-3.c: Likewise.
31318         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31319         process_vm_writev.
31320         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31321         process_vm_writev.
31322         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31323         process_vm_writev from libc using GLIBC_2.15 version.
31325         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31327 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31329         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31330         stack usage.
31332 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31334         [BZ #13367]
31335         * nss/getent.c (initgroups_keys): Show error message in case no group
31336         names are given.
31338         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31339         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31340         __bump_nl_timestamp.
31341         * nscd/connections (nscd_init): When host database is served open
31342         netlink socket and request notification about configuration changes.
31343         (main_loop_poll): Track netlink file descriptor and bump timestamp
31344         in case data becomes available.
31345         (main_loop_epoll): Likewise.
31346         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31347         (database_pers_head): Add extra_data fileds.
31348         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31349         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31350         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31351         Adjust caller.
31352         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31353         in6ai data, call __free_in6ai.
31354         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31355         Add -DHAVE_NETLINK.
31356         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31357         interface information.  Reuse previous data if netlink timestamp
31358         is not changed.
31359         (__bump_nl_timestamp): New function.
31360         (__free_in6ai): New function.
31362 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31365         close_not_cancel_no_status here.
31366         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31368 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31370         [BZ #13276]
31371         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31372         return value.
31374         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31375         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31376         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31378 2011-07-03  Andreas Jaeger  <aj@suse.de>
31380         [BZ #10709]
31381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31382         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31383         * math/libm-test.inc (sin_test): Add test case.
31385 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31387         [BZ #13337]
31388         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31389         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31391         * elf/chroot_canon.c (chroot_canon): Cleanups.
31393         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31395         [BZ #13335]
31396         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31397         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31399         * string/test-strchr.c: Make usable for strchrnul testing.
31400         * string/test-strchrnul.c: New file.
31401         * string/Makefile (strop-tests): Add strchrnul.
31403         * po/it.po: Update from translation team.
31404         * po/es.po: Likewise.
31406 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31408         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31409         the three constants needed as parameters.  Drop the others.
31410         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31411         __m128i_strloadu_tolower.
31412         Create and initialize variable zero and use it in all the places
31413         where _mm_setzero_si128 was used.
31415         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31416         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31417         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31418         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31419         anymore.
31420         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31421         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31422         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31423         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31424         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31425         __mpranred, __mptan.
31426         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31427         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31428         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31429         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31430         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31431         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31432         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31433         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31434         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31436 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31438         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31439         redefine if SHARED.
31440         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31443         wide char related routines to wcsmbs subdir.
31445 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31447         [BZ #13344]
31448         * misc/sys/cdefs.h (__THROWNL): Define.
31449         * posix/unistd.h: Use __THREADNL instead of __THREAD
31450         for memory synchronization functions.
31452 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31454         [BZ #13349]
31455         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31456         doesn't exist.
31457         * manual/stdio.texi (Obstack Streams): Node removed.
31459 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31461         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31462         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31463         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31465         * math/math_private.h (math_force_eval): Allow non-addressable
31466         arguments.
31467         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31469 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31471         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31472         file is not needed.
31474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31477         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31478         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31479         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31480         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31481         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31482         Add AVX variants.
31483         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31484         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31485         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31486         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31487         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31488         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31489         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31490         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31491         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31492         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31493         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31494         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31495         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31496         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31497         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31498         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31499         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31500         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31501         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31503         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31504         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31507         place.  Use VEX encoding when compiling for AVX.
31509 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31511         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31512         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31514         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31516 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31518         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31519         useless if() expression.
31520         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31521         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31522         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31523         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31524         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31525         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31526         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31528         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31529         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31530         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31531         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31532         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31533         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31534         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31535         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31536         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31537         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31538         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31540         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31542 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31544         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31545         condition.
31546         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31548 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31550         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31551         .text section.  Avoid duplicate constants.
31552         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31553         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31554         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31560         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31561         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31562         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31563         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31564         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31565         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31566         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31567         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31568         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31569         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31570         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31571         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31572         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31573         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31574         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31576         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31577         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31578         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31579         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31580         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31581         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31582         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31583         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31585         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31586         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31587         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31588         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31589         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31590         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31591         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31592         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31593         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31594         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31595         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31596         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31598 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31600         * sysdeps/x86_64/dla.h: Move to ...
31601         * sysdeps/x86_64/fpu/dla.h: ...here.
31602         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31603         situations.  Use __builtin_fma only for gcc 4.6 and up.
31605         * config.make.in: Add have-mfma4 entry.
31606         * configure.in: Substitute libc_cv_cc_fma4.
31607         * math/Makefile (dbl-only-routines): Add sincostab.
31608         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31609         Use __sincostab not sincos.
31610         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31611         name is a macro.
31612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31613         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31615         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31616         using __copysign.
31617         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31618         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31619         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31620         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31621         and __inv.
31622         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31623         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31624         __copysign.
31625         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31626         define aliases when function name is a macro.
31627         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31628         sysdeps/ieee754/dbl-64/sincos.tbl.
31629         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31630         fma4-enabled routines.
31631         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31632         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31633         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31634         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31636         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31637         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31638         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31639         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31640         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31641         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31642         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31643         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31644         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31645         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31646         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31647         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31648         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31649         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31650         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31651         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31652         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31653         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31654         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31655         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31656         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31657         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31658         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31659         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31660         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31662         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31663         rename.
31664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31673 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31675         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31677 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31681         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31682         prediction.
31683         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31685         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31686         Remove unused variable magic_bits.
31687         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31689         * string/strnlen.c: Define and use STRNLEN macro.
31690         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31691         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31692         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31693         * wcsmbs/wcslen.c: Define and use WCSLEN.
31694         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31695         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31696         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31697         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31698         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31699         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31700         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31702 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31705         strnlen-sse2-no-bsf.
31706         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31708         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31709         Add strnlen support.
31710         (USE_AS_STRNLEN): New macro.
31711         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31713         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31714         * sysdeps/x86_64/wcslen.S: New file.
31716 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31718         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31719         XMM-moves are used for copying on small sizes.
31721 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31723         * wcsmbs/Makefile (strop-tests): Add wcschr.
31724         * wcsmbs/test-wcschr.c: New file.
31725         * string/test-strchr.c: Update.
31726         Add wcschr support.
31727         (WIDE): New macro.
31729 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31731         * wcsmbs/Makefile (strop-tests): Add wcslen.
31732         * wcsmbs/test-wcslen.c: New file.
31733         * string/test-strlen.c: Update.
31734         Add wcslen support.
31735         (WIDE): New macro.
31737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31739         * po/it.po: Update from translation team.
31741 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31743         * sysdeps/x86_64/wcscmp.S: Update.
31744         Fix wrong comparison semantics.
31745         wcscmp shall use signed comparison not unsigned.
31746         Don't use substraction to avoid overflow bug.
31747         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31748         * wcsmbc/wcscmp.c: Likewise.
31749         * string/test-strcmp.c: Likewise.
31750         Add new tests to check cases with negative values.
31752 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31754         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31755         * sysdeps/x86_64/dla.h: ...here.  New file.
31756         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31763         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31766 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31769         __ynl_finite aliases.
31771 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31775         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31776         define DLA_FMA.
31777         [DLA_FMA] (EMULV): Use DLA_FMA.
31778         [DLA_FMA] (MUL12): Use EMULV.
31779         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31780         that are not needed.
31781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31786         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31789 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31791         * math/s_nan.c: Undef __nan.
31792         * math/s_nanf.c: Undef __nanf.
31793         * math/s_nanl.c: Undef __nanl.
31794         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31795         "math_private.h".
31797 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31799         * math/s_catan.c: Add branch predictions.
31800         * math/s_catanf.c: Likewise.
31801         * math/s_catanh.c: Likewise.
31802         * math/s_catanhf.c: Likewise.
31803         * math/s_catanhl.c: Likewise.
31804         * math/s_catanl.c: Likewise.
31805         * math/s_cexp.c: Likewise.
31806         * math/s_cexpf.c: Likewise.
31807         * math/s_cexpl.c: Likewise.
31808         * math/s_clog.c: Likewise.
31809         * math/s_clog10.c: Likewise.
31810         * math/s_clog10f.c: Likewise.
31811         * math/s_clog10l.c: Likewise.
31812         * math/s_clogf.c: Likewise.
31813         * math/s_clogl.c: Likewise.
31814         * math/s_csqrt.c: Likewise.
31815         * math/s_csqrtf.c: Likewise.
31816         * math/s_csqrtl.c: Likewise.
31817         * math/s_ctanf.c: Likewise.
31818         * math/s_ctanh.c: Likewise.
31819         * math/s_ctanhf.c: Likewise.
31820         * math/s_ctanhl.c: Likewise.
31821         * math/s_ctanl.c: Likewise.
31823         * math/math_private.h: Define __nan, __nanf, __nanl.
31824         * math/s_cacosh.c: Include <math_private.h>.
31825         * math/s_cacoshl.c: Likewise.
31826         * math/s_casinh.c: Likewise.
31827         * math/s_casinhf.c: Likewise.
31828         * math/s_casinhl.c: Likewise.
31829         * math/s_ccos.c: Rely entire on ccosh.
31830         * math/s_ccosf.c: Rely entire on ccoshf.
31831         * math/s_ccosl.c: Rely entirely on ccoshl.
31832         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31833         Remove tests for FE_INVALID.
31834         * math/s_ccoshf.c: Likewise.
31835         * math/s_ccoshl.c: Likewise.
31836         * math/s_csin.c: Likewise.
31837         * math/s_csinf.c: Likewise.
31838         * math/s_csinh.c Likewise.
31839         * math/s_csinhf.c: Likewise.
31840         * math/s_csinhl.c: Likewise.
31841         * math/s_csinl.c: Likewise.
31842         * math/s_ctan.c: Likewise.
31843         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31844         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31845         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31847 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31850         compilation problems.
31852         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31853         __builtin_expect.
31855 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31857         * sysdeps/i386/configure.in: Test for -mfma4 option.
31858         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31859         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31860         COMMON_CPUID_INDEX_80000001.
31861         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31862         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31863         use it if FMA3 is not supported.
31864         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31866         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31867         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31869 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31871         [BZ #12892]
31872         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31873         it would create a cycle with a link time dependency.
31875 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31877         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31878         instruction.
31879         * string/Makefile (strop-tests): Add rawmemchr.
31880         * string/test-rawmemchr.c: New file.
31882         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31883         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31884         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31885         when compiling str{,n}casecmp and when AVX is available.  Hook up
31886         new optimized code in initializers.
31888 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31890         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31891         __feraiseexcept instead of feraiseexcept.
31893 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31895         * math/math_private.h: Define defaults for libc_fetestexcept and
31896         libc_feupdateenv.
31897         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31898         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31899         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31900         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31901         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31902         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31903         libc_fetestexcept and libc_feupdateenv.
31905         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31906         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31907         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31908         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31909         libc_feholdexcept_setround.
31911         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31912         Add s_nearbyint-c and s_nearbyintf-c.
31913         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31914         nearbyintf inlines.
31915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31916         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31917         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31918         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31920         * math/math_private.h: Define defaults for libc_fegetround,
31921         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31922         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31923         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31924         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31925         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31926         standard functions.
31927         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31928         Remove comments and hacks for old compiler versions.
31929         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31930         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31931         libc_feholdexceptl.
31933 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31935         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31936         (__feraiseexcept_renamed): Add __NTH.
31937         (feraiseexcept): Add __NTH.  Rename local variables to fix
31938         namespace violations.
31940 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31942         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31944         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31946         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31947         recently added interfaces.
31948         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31950         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31951         about macro parameter expansion.
31953         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31954         __NO_MATH_INLINES is defined.  Cleanups.
31956         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31957         and __floorf is target has SSE4.1.
31958         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31959         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31960         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31961         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31963         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31964         name.
31965         (floorf): Likewise.
31967         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31969 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31971         * misc/sys/cdefs.h: Fix last change.
31973         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31974         database lookup.
31976 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31978         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31980         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31982         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31983         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31985         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31986         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31987         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31988         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31989         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31990         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31991         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31992         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31993         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31994         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31995         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31996         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31997         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31998         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31999         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32000         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32001         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32003         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32004         ceil, ceilf, floor, floorf.
32006         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32007         Perform IRELATIVE relocations last.
32009         * elf/do-rel.h: Add another parameter nrelative, replacing the
32010         local variable with the same name.  Change name of the function
32011         to end in Rel or Rela (uppercase).
32012         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32013         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32014         elf_dynamic_do_##reloc function.
32016 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32018         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32019         is sufficient, at least on modern CPUs.
32021         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32023         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32024         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32026         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32027         __expl_finite.
32028         * math/bits/math-finite.h: Add entries for exp.
32029         * math/e_expl.c: Add __*_finite alias.
32030         * sysdeps/i386/fpu/e_exp.S: Likewise.
32031         * sysdeps/i386/fpu/e_expf.S: Likewise.
32032         * sysdeps/i386/fpu/e_expl.c: Likewise.
32033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32034         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32036         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32037         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32038         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32039         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32041         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32042         is sufficient, at least on modern CPUs.
32044         * ctype/ctype-info.c (__ctype_init): Define.
32045         * include/ctype.h (__ctype_init): Declare.
32046         (__ctype_b_loc): The variable is always initialized.
32047         (__ctype_toupper_loc): Likewise.
32048         (__ctype_tolower_loc): Likewise.
32049         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32050         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32052 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32054         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32056         * configure.in: Also look in $cxxmachine/include for C++ system
32057         headers.
32059 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32061         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32062         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32063         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32064         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32065         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32066         (USE_AS_WMEMCMP): New macro.
32067         Fixing indents.
32068         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32069         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32070         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32071         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32073         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32074         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32075         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32076         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32077         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32078         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32079         (USE_AS_WMEMCMP): New macro.
32080         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32081         * sysdeps/string/test-memcmp.c: Update.
32082         Fix simple_wmemcmp.
32083         Add new tests.
32084         * wcsmbs/wmemcmp.c: Update.
32085         (WMEMCMP): New macro.
32086         Fix overflow bug.
32088 2011-10-12  Andreas Jaeger  <aj@suse.de>
32090         [BZ #13268]
32091         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32093 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32095         * libio/iofwide.c (do_length): Avoid warning.
32097         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32099 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32101         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32103         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32104         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32105         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32106         * sysdeps/i386/i686/fpu/e_log.S: New file.
32107         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32108         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32110         * ctype/ctype.h: Add support for inlined isXXX functions when
32111         compiling C++ code.
32113 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32115         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32117         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32119 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32121         [BZ #13291]
32122         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32124 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32126         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32127         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32128         feraiseexcept.
32130         * sysdeps/x86_64/memrchr.S: Check for zero size.
32132         * string/stratcliff.c: Add memrchr tests.
32134 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32137         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32138         rawmemchr-sse2 rawmemchr-sse2-bsf.
32139         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32140         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32141         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32142         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32143         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32144         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32145         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32146         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32147         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32148         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32149         * string/memrchr.c (MEMRCHR): New macro.
32151 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32153         Add integration with gcc's -ffinite-math-only and optimize wrapper
32154         functions in libm.
32155         * Versions.def: Define GLIBC_2.15 version for libm.
32156         * math/Makefile (headers): Add bits/math-finite.h.
32157         * math/bits/math-finite.h: New file.
32158         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32159         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32160         * math/e_acoshl.c: Add __*_finite alias.
32161         * math/e_acosl.c: Likewise.
32162         * math/e_asinl.c: Likewise.
32163         * math/e_atan2l.c: Likewise.
32164         * math/e_atanhl.c: Likewise.
32165         * math/e_coshl.c: Likewise.
32166         * math/e_exp10.c: Likewise.
32167         * math/e_exp10f.c: Likewise.
32168         * math/e_exp10l.c: Likewise.
32169         * math/e_exp2l.c: Likewise.
32170         * math/e_fmodl.c: Likewise.
32171         * math/e_gammal_r.c: Likewise.
32172         * math/e_hypotl.c: Likewise.
32173         * math/e_j0l.c: Likewise.
32174         * math/e_j1l.c: Likewise.
32175         * math/e_jnl.c: Likewise.
32176         * math/e_lgammal_r.c: Likewise.
32177         * math/e_log10l.c: Likewise.
32178         * math/e_log2l.c: Likewise.
32179         * math/e_logl.c: Likewise.
32180         * math/e_powl.c: Likewise.
32181         * math/e_sinhl.c: Likewise.
32182         * math/e_sqrtl.c: Likewise.
32183         * math/e_scalb.c: Completely rewritten and optimized.
32184         * math/e_scalbf.c: Likewise.
32185         * math/e_scalbl.c: Likewise.
32186         * math/w_acos.c: Likewise.
32187         * math/w_acosf.c: Likewise.
32188         * math/w_acosl.c: Likewise.
32189         * math/w_acosh.c: Likewise.
32190         * math/w_acoshf.c: Likewise.
32191         * math/w_acoshl.c: Likewise.
32192         * math/w_asin.c: Likewise.
32193         * math/w_asinf.c: Likewise.
32194         * math/w_asinl.c: Likewise.
32195         * math/w_atan2.c: Likewise.
32196         * math/w_atan2f.c: Likewise.
32197         * math/w_atan2l.c: Likewise.
32198         * math/w_atanh.c: Likewise.
32199         * math/w_atanhf.c: Likewise.
32200         * math/w_atanhl.c: Likewise.
32201         * math/w_exp10.c: Likewise.
32202         * math/w_exp10f.c: Likewise.
32203         * math/w_exp10l.c: Likewise.
32204         * math/w_fmod.c: Likewise.
32205         * math/w_fmodf.c: Likewise.
32206         * math/w_fmodl.c: Likewise.
32207         * math/w_j0.c: Likewise.
32208         * math/w_j0f.c: Likewise.
32209         * math/w_j0l.c: Likewise.
32210         * math/w_j1.c: Likewise.
32211         * math/w_j1f.c: Likewise.
32212         * math/w_j1l.c: Likewise.
32213         * math/w_jn.c: Likewise.
32214         * math/w_jnf.c: Likewise.
32215         * math/w_log.c: Likewise.
32216         * math/w_logf.c: Likewise.
32217         * math/w_logl.c: Likewise.
32218         * math/w_log10.c: Likewise.
32219         * math/w_log10f.c: Likewise.
32220         * math/w_log10l.c: Likewise.
32221         * math/w_log2.c: Likewise.
32222         * math/w_log2f.c: Likewise.
32223         * math/w_log2l.c: Likewise.
32224         * math/w_pow.c: Likewise.
32225         * math/w_powf.c: Likewise.
32226         * math/w_powl.c: Likewise.
32227         * math/w_remainder.c: Likewise.
32228         * math/w_remainderf.c: Likewise.
32229         * math/w_remainderl.c: Likewise.
32230         * math/w_scalb.c: Likewise.
32231         * math/w_scalbf.c: Likewise.
32232         * math/w_scalbl.c: Likewise.
32233         * math/w_sqrt.c: Likewise.
32234         * math/w_sqrtf.c: Likewise.
32235         * math/w_sqrtl.c: Likewise.
32236         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32237         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32238         used.
32239         * math/math_private.h: Declare __kernel_standard_f.
32240         * math/w_cosh.c: Remove cruft and optimize a bit.
32241         * math/w_coshf.c: Likewise.
32242         * math/w_coshl.c: Likewise.
32243         * math/w_exp2.c: Likewise.
32244         * math/w_exp2f.c: Likewise.
32245         * math/w_exp2l.c: Likewise.
32246         * math/w_hypot.c: Likewise.
32247         * math/w_hypotf.c: Likewise.
32248         * math/w_hypotl.c: Likewise.
32249         * math/w_lgamma.c: Likewise.
32250         * math/w_lgamma_r.c: Likewise.
32251         * math/w_lgammaf.c: Likewise.
32252         * math/w_lgammaf_r.c: Likewise.
32253         * math/w_lgammal.c: Likewise.
32254         * math/w_lgammal_r.c: Likewise.
32255         * math/w_sinh.c: Likewise.
32256         * math/w_sinhf.c: Likewise.
32257         * math/w_sinhl.c: Likewise.
32258         * math/w_tgamma.c: Likewise.
32259         * math/w_tgammaf.c: Likewise.
32260         * math/w_tgammal.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32262         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32263         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32264         Minor optimizations.  Pretty printing.  Remove cruft.
32265         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32266         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32267         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32268         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32269         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32270         * sysdeps/i386/fpu/e_asin.S: Likewise.
32271         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32272         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32273         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32274         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32275         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32276         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32277         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32278         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32279         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32280         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32281         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32282         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32283         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32284         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32285         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32286         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32287         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32288         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32289         * sysdeps/i386/fpu/e_log.S: Likewise.
32290         * sysdeps/i386/fpu/e_log10.S: Likewise.
32291         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32292         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32293         * sysdeps/i386/fpu/e_log2.S: Likewise.
32294         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32295         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32296         * sysdeps/i386/fpu/e_logf.S: Likewise.
32297         * sysdeps/i386/fpu/e_logl.S: Likewise.
32298         * sysdeps/i386/fpu/e_pow.S: Likewise.
32299         * sysdeps/i386/fpu/e_powf.S: Likewise.
32300         * sysdeps/i386/fpu/e_powl.S: Likewise.
32301         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32302         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32303         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32304         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32305         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32306         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32307         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32308         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32309         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32311         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32313         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32314         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32315         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32316         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32317         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32318         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32319         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32320         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32321         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32323         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32326         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32330         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32331         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32332         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32333         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32334         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32335         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32336         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32337         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32338         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32339         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32341         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32342         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32343         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32344         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32345         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32346         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32347         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32348         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32349         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32350         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32351         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32352         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32353         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32355         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32356         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32357         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32358         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32359         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32360         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32361         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32362         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32365         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32366         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32367         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32368         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32369         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32370         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32374         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32378         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32380         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32384         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32386         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32387         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32388         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32389         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32390         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32391         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32392         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32398         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32401         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32402         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32403         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32404         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32405         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32406         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32407         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32408         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32409         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32410         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32411         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32412         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32413         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32414         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32415         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32416         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32417         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32418         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32420         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32421         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32422         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32423         (__isnanf): Likewise.
32424         (__isinf_ns): Likewise.
32425         (__isinf_nsf): Likewise.
32426         (__finite): Likewise.
32427         (__finitef): Likewise.
32428         (__ieee754_sqrt): Define as macro.
32429         (__ieee754_sqrtf): Define as macro.
32430         (__ieee754_sqrtl): Define as macro.
32431         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32432         inlined copy.
32433         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32434         __FINITE_MATH_ONLY__ consistent.
32435         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32437 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32439         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32440         of rawmemchr.
32442         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32444 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32446         * po/ja.po: Update from translation team.
32448 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32450         * locale/programs/locarchive.c (prepare_address_space): New function.
32451         (create_archive, enlarge_archive, open_archive): Use it.
32453         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32454         inside [SHARED], where it is used.
32456         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32458         * nss/getent.c (netgroup_keys): Remove unused variable.
32459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32461 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32463         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32464         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32465         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32466         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32467         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32468         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32469         * math/Makefile (libm-calls): Add s_isinf_ns.
32470         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32471         * math/multc3.c: Likewise.
32472         * math/s_casin.c: Likewise.
32473         * math/s_casinf.c: Likewise.
32474         * math/s_casinl.c: Likewise.
32475         * math/s_ccos.c: Likewise.
32476         * math/s_ccosf.c: Likewise.
32477         * math/s_ccosl.c: Likewise.
32478         * math/s_ctan.c: Likewise.
32479         * math/s_ctanf.c: Likewise.
32480         * math/s_ctanh.c: Likewise.
32481         * math/s_ctanhf.c: Likewise.
32482         * math/s_ctanhl.c: Likewise.
32483         * math/s_ctanl.c: Likewise.
32484         * math/w_fmod.c: Likewise.
32485         * math/w_fmodf.c: Likewise.
32486         * math/w_fmodl.c: Likewise.
32487         * math/w_remainder.c: Likewise.
32488         * math/w_remainderf.c: Likewise.
32489         * math/w_remainderl.c: Likewise.
32490         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32491         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32492         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32494         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32495         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32496         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32497         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32499         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32500         of the number.
32501         * stdio-common/printf_fphex.c: Likewise.
32502         * stdio-common/printf_size.c: Likewise.
32504         * math/e_exp10.c: Include math_private.h using <...> not "...".
32505         * math/e_exp10f.c: Likewise.
32506         * math/e_exp10l.c: Likewise.
32507         * math/e_exp2l.c: Likewise.
32508         * math/e_j0l.c: Likewise.
32509         * math/e_j1l.c: Likewise.
32510         * math/e_jnl.c: Likewise.
32511         * math/e_lgammal_r.c: Likewise.
32512         * math/e_rem_pio2l.c: Likewise.
32513         * math/e_scalb.c: Likewise.
32514         * math/e_scalbf.c: Likewise.
32515         * math/e_scalbl.c: Likewise.
32516         * math/k_cosl.c: Likewise.
32517         * math/k_sinl.c: Likewise.
32518         * math/k_tanl.c: Likewise.
32519         * math/s_cacoshf.c: Likewise.
32520         * math/s_catan.c: Likewise.
32521         * math/s_catanf.c: Likewise.
32522         * math/s_catanh.c: Likewise.
32523         * math/s_catanhf.c: Likewise.
32524         * math/s_catanhl.c: Likewise.
32525         * math/s_catanl.c: Likewise.
32526         * math/s_ccosh.c: Likewise.
32527         * math/s_ccoshf.c: Likewise.
32528         * math/s_ccoshl.c: Likewise.
32529         * math/s_cexp.c: Likewise.
32530         * math/s_cexpf.c: Likewise.
32531         * math/s_cexpl.c: Likewise.
32532         * math/s_clog.c: Likewise.
32533         * math/s_clog10.c: Likewise.
32534         * math/s_clog10f.c: Likewise.
32535         * math/s_clog10l.c: Likewise.
32536         * math/s_clogf.c: Likewise.
32537         * math/s_clogl.c: Likewise.
32538         * math/s_csin.c: Likewise.
32539         * math/s_csinf.c: Likewise.
32540         * math/s_csinh.c: Likewise.
32541         * math/s_csinhf.c: Likewise.
32542         * math/s_csinhl.c: Likewise.
32543         * math/s_csinl.c: Likewise.
32544         * math/s_csqrt.c: Likewise.
32545         * math/s_csqrtf.c: Likewise.
32546         * math/s_csqrtl.c: Likewise.
32547         * math/s_ctan.c: Likewise.
32548         * math/s_ctanf.c: Likewise.
32549         * math/s_ctanh.c: Likewise.
32550         * math/s_ctanhf.c: Likewise.
32551         * math/s_ctanhl.c: Likewise.
32552         * math/s_ctanl.c: Likewise.
32553         * math/s_ldexp.c: Likewise.
32554         * math/s_ldexpf.c: Likewise.
32555         * math/s_ldexpl.c: Likewise.
32556         * math/s_significand.c: Likewise.
32557         * math/s_significandf.c: Likewise.
32558         * math/s_significandl.c: Likewise.
32559         * math/w_acos.c: Likewise.
32560         * math/w_acosf.c: Likewise.
32561         * math/w_acosh.c: Likewise.
32562         * math/w_acoshf.c: Likewise.
32563         * math/w_acoshl.c: Likewise.
32564         * math/w_acosl.c: Likewise.
32565         * math/w_asin.c: Likewise.
32566         * math/w_asinf.c: Likewise.
32567         * math/w_asinl.c: Likewise.
32568         * math/w_atan2.c: Likewise.
32569         * math/w_atan2f.c: Likewise.
32570         * math/w_atan2l.c: Likewise.
32571         * math/w_atanh.c: Likewise.
32572         * math/w_atanhf.c: Likewise.
32573         * math/w_atanhl.c: Likewise.
32574         * math/w_cosh.c: Likewise.
32575         * math/w_coshf.c: Likewise.
32576         * math/w_coshl.c: Likewise.
32577         * math/w_dremf.c: Likewise.
32578         * math/w_exp10.c: Likewise.
32579         * math/w_exp10f.c: Likewise.
32580         * math/w_exp10l.c: Likewise.
32581         * math/w_exp2.c: Likewise.
32582         * math/w_exp2f.c: Likewise.
32583         * math/w_fmod.c: Likewise.
32584         * math/w_fmodf.c: Likewise.
32585         * math/w_fmodl.c: Likewise.
32586         * math/w_hypot.c: Likewise.
32587         * math/w_hypotf.c: Likewise.
32588         * math/w_hypotl.c: Likewise.
32589         * math/w_j0.c: Likewise.
32590         * math/w_j0f.c: Likewise.
32591         * math/w_j0l.c: Likewise.
32592         * math/w_j1.c: Likewise.
32593         * math/w_j1f.c: Likewise.
32594         * math/w_j1l.c: Likewise.
32595         * math/w_jn.c: Likewise.
32596         * math/w_jnf.c: Likewise.
32597         * math/w_jnl.c: Likewise.
32598         * math/w_lgamma.c: Likewise.
32599         * math/w_lgamma_r.c: Likewise.
32600         * math/w_lgammaf.c: Likewise.
32601         * math/w_lgammaf_r.c: Likewise.
32602         * math/w_lgammal.c: Likewise.
32603         * math/w_lgammal_r.c: Likewise.
32604         * math/w_log.c: Likewise.
32605         * math/w_log10.c: Likewise.
32606         * math/w_log10f.c: Likewise.
32607         * math/w_log10l.c: Likewise.
32608         * math/w_log2.c: Likewise.
32609         * math/w_log2f.c: Likewise.
32610         * math/w_log2l.c: Likewise.
32611         * math/w_logf.c: Likewise.
32612         * math/w_logl.c: Likewise.
32613         * math/w_pow.c: Likewise.
32614         * math/w_powf.c: Likewise.
32615         * math/w_powl.c: Likewise.
32616         * math/w_remainder.c: Likewise.
32617         * math/w_remainderf.c: Likewise.
32618         * math/w_remainderl.c: Likewise.
32619         * math/w_scalb.c: Likewise.
32620         * math/w_scalbf.c: Likewise.
32621         * math/w_scalbl.c: Likewise.
32622         * math/w_sinh.c: Likewise.
32623         * math/w_sinhf.c: Likewise.
32624         * math/w_sinhl.c: Likewise.
32625         * math/w_sqrt.c: Likewise.
32626         * math/w_sqrtf.c: Likewise.
32627         * math/w_sqrtl.c: Likewise.
32628         * math/w_tgamma.c: Likewise.
32629         * math/w_tgammaf.c: Likewise.
32630         * math/w_tgammal.c: Likewise.
32632         * po/ja.po: Update from translation team.
32634 2011-09-29  Andreas Jaeger  <aj@suse.de>
32636         [BZ #13179]
32637         * sunrpc/netname.c (netname2host): Fix logic.
32639         [BZ #6779]
32640         [BZ #6783]
32641         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32642         correctly.
32643         * math/w_remainder.c (__remainder): Likewise.
32644         * math/w_remainderf.c (__remainderf): Likewise.
32645         * math/libm-test.inc (remainder_test): Add test cases.
32647 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32649         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32650         sdiv_qrnnd.
32652 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32654         * string/test-memcmp.c: Avoid unncessary #defines.
32655         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32657 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32659         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32660         Use new sse2 version for core i3 - i7 as it's faster
32661         than sse42 version.
32662         (bit_Prefer_PMINUB_for_stringop): New.
32663         * sysdeps/x86_64/rawmemchr.S: Update.
32664         Replace with faster SSE2 version.
32665         * sysdeps/x86_64/memrchr.S: New file.
32666         * sysdeps/x86_64/memchr.S: Update.
32667         Replace with faster SSE2 version.
32669 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32671         * elf/dl-load.c (lose): Add cast to avoid warning.
32673 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32675         * po/ca.po: Update from translation team.
32677         * inet/getnetgrent_r.c: Hook up nscd.
32678         * nscd/Makefile (routines): Add nscd_netgroup.
32679         (nscd-modules): Add netgroupcache.
32680         (CFLAGS-netgroupcache.c): Define.
32681         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32682         (cache_search): Add const to second parameter.
32683         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32684         INNETGR.
32685         (dbs): Add netgrdb entry.
32686         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32687         (verify_persistent_db): Handle netgrdb.
32688         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32689         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32690         GETFDNETGR.
32691         (netgroup_response_header): Define.
32692         (innetgroup_response_header): Define.
32693         (datahead): Add netgroup_response_header and innetgroup_response_header
32694         elements.
32695         * nscd/nscd.conf: Add entries for netgroup cache.
32696         * nscd/nscd.h (dbtype): Add netgrdb.
32697         (_PATH_NSCD_NETGROUP_DB): Define.
32698         (netgroup_iov_disabled): Declare.
32699         (xmalloc, xcalloc, xrealloc): Move declarations here.
32700         (cache_search): Adjust prototype.
32701         Add netgroup-related prototypes.
32702         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32703         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32704         (__nscd_innetgr): Declare.
32705         * nscd/selinux.c (perms): Use access_vector_t as element type and
32706         add netgroup-related initializers.
32707         * nscd/netgroupcache.c: New file.
32708         * nscd/nscd_netgroup.c: New file.
32709         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32710         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32711         For four parameters use innetgr.
32712         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32713         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32714         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32715         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32717         * nscd/connections.c (register_traced_file): Don't register file
32718         for disabled databases.
32720 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32722         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32724         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32725         from tree and freeing node.
32727 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32729         * nss/nsswitch.c (__nss_database_lookup): Handle
32730         nss_parse_service_list out of memory case.
32732 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32734         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32735         out of memory case.
32737 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32739         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32740         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32741         pass it down.
32742         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32743         elf_machine_rela, elf_machine_lazy_rel.
32744         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32745         (ELF_DYNAMIC_DO_REL): Likewise.
32746         (ELF_DYNAMIC_DO_RELA): Likewise.
32747         (ELF_DYNAMIC_RELOCATE): Likewise.
32748         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32749         to ELF_DYNAMIC_DO_REL.
32750         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32751         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32752         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32753         elf_machine_rela.
32754         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32755         skip_ifunc, don't call ifunc function if non-zero.
32756         (elf_machine_rela): Likewise.
32757         (elf_machine_lazy_rel): Likewise.
32758         (elf_machine_lazy_rela): Likewise.
32759         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32760         (elf_machine_lazy_rel): Likewise.
32761         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32762         Likewise.
32763         (elf_machine_lazy_rel): Likewise.
32764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32765         Likewise.
32766         (elf_machine_lazy_rel): Likewise.
32767         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32768         (elf_machine_lazy_rel): Likewise.
32769         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32770         (elf_machine_lazy_rel): Likewise.
32771         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32772         (elf_machine_lazy_rel): Likewise.
32773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32774         (elf_machine_lazy_rel): Likewise.
32775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32776         (elf_machine_lazy_rel): Likewise.
32777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32778         (elf_machine_lazy_rel): Likewise.
32780 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32782         * nss/nss_files/files-init.c (_nss_files_init): Use static
32783         initialization for all the *_traced_file variables.
32785 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32787         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32789 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32791         [BZ #13226]
32792         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32794 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32796         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32797         Reread the line before reparsing it.
32799 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32801         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32803 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32804             Maxim Kuvyrkov  <maxim@codesourcery.com>
32805             Joseph Myers  <joseph@codesourcery.com>
32807         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32808         if needed for __stack_chk_guard.
32810 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32812         * sysdeps/posix/spawni.c (script_execute): Always define it.
32813         It will be optimized away if unused.
32814         (maybe_script_execute): New function.
32815         (__spawni): Call it.
32817         * Makerules: Don't include tls.make.
32818         (config-tls): Always set to thread.
32819         * tls.make.c: File removed.
32821 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32823         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32824         * config.make.in (CPPFLAGS-config): New substituted variable.
32826 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32828         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32830         [BZ #13192]
32831         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32832         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32834 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32836         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32837         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32839         (CALL_FAIL): Likewise.
32840         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32841         (CALL_FAIL): Macro removed.
32842         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32844 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32846         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32847         for __FINITE_MATH_ONLY__ == 1.
32849 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32851         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32852         __ieee754_sqrt instead of sqrt.
32853         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32854         __ieee754_sqrtf instead of sqrtf.
32855         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32856         __floorf instead of floorf.
32857         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32858         __floorf, __truncf instead of floorf, truncf.
32860 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32862         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32864         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32865         __extern_always_inline.
32866         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32867         32-bit.
32869 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32871         * elf/rtld.c (dl_main): Also relocate in dependency order when
32872         doing symbol dependency testing.
32874 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32876         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32877         Always define `refsym'.
32879 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32881         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32882         (__FD_ELT): Renamed from __FDELT.
32883         * misc/bits/select2.h (__FD_ELT): Likewise.
32884         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32885         __FD_MASK instead of __FDELT, __FDMASK.
32886         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32887         Likewise.
32888         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32889         Likewise.
32891         * elf/Makefile (gen-ldd): Fix pattern.
32893         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32894         (init_tls): Likewise.
32896 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32900 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32902         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32903         `struct cmsghdr *' instead of `void *'.
32904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32905         Likewise.
32907 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32909         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32910         if non-absolute.
32911         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32912         ldd_rewrite_script.
32914 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32916         * configure.in: Remove --with-tls option.
32917         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32918         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32919         out in case it is missing.
32920         * sysdeps/ia64/elf/configure.in: Likewise.
32921         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32922         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32923         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32924         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32925         * sysdeps/sh/elf/configure.in: Likewise.
32926         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32927         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32928         * sysdeps/x86_64/elf/configure.in: Likewise.
32929         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32930         * sysdeps/mach/hurd/tls.h: Likewise.
32932         [BZ #13067]
32933         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32935         [BZ #13090]
32936         * configure.in: Fix use of AC_INIT.
32938         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32940 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32942         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32943         __set_errno.
32944         * malloc/hooks.c: Likewise.
32946         [BZ #11929]
32947         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32948         variables statically.
32949         (narenas): Initialize.
32950         (list_lock): Initialize.
32951         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32952         initializtion of main_arena and list_lock.  Small cleanups.
32953         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32954         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32955         Add initializers to main_arena and mp_.
32956         (malloc_state): Remove pagesize member.  Change all users to use
32957         GLRO(dl_pagesize).
32959         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32960         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32961         is always initialized.
32963         * malloc/malloc.c: Removed unused configurations and dead code.
32964         * malloc/arena.c: Likewise.
32965         * malloc/hooks.c: Likewise.
32966         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32968         * include/tls.h: Removed.  USE___THREAD must always be defined.
32969         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32970         * elf/dl-libc.c: Likewise.
32971         * elf/dl-tsd.c: Likewise.
32972         * include/errno.h: Likewise.
32973         * include/netdb.h: Likewise.
32974         * include/resolv.h: Likewise.
32975         * inet/herrno-loc.c: Likewise.
32976         * inet/herrno.c: Likewise.
32977         * malloc/arena.c: Likewise.
32978         * malloc/hooks.c: Likewise.
32979         * malloc/malloc.c: Likewise.
32980         * resolv/res-state.c: Likewise.
32981         * resolv/res_libc.c: Likewise.
32982         * sysdeps/i386/dl-machine.h: Likewise.
32983         * sysdeps/ia64/dl-machine.h: Likewise.
32984         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32985         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32986         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32987         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32988         * sysdeps/sh/dl-machine.h: Likewise.
32989         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32990         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32991         * sysdeps/unix/i386/sysdep.S: Likewise.
32992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32993         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32998         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33002         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33003         * sysdeps/x86_64/dl-machine.h: Likewise.
33004         * tls.make.c: Likewise.
33006         * configure.in: Remove --with-__thread option.  Make tests for
33007         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33008         tls_model attribute fail if no support is available.  Remove
33009         USE_IN_LIBIO.
33010         * Makeconfig: Adjust for dropped configure option.  All features are
33011         now mandatory.
33012         * Makerules: Likewise.
33013         * Versions.def: Likewise.
33014         * argp/argp-fmtstream.c: Likewise.
33015         * argp/argp-fmtstream.h: Likewise.
33016         * argp/argp-help.c: Likewise.
33017         * assert/assert.c: Likewise.
33018         * config.h.in: Likewise.
33019         * config.make.in: Likewise.
33020         * configure: Likewise.
33021         * configure.in: Likewise.
33022         * csu/Versions: Likewise.
33023         * csu/init.c: Likewise.
33024         * elf/tst-audit2.c: Likewise.
33025         * elf/tst-tls10.c: Likewise.
33026         * elf/tst-tls10.h: Likewise.
33027         * elf/tst-tls11.c: Likewise.
33028         * elf/tst-tls12.c: Likewise.
33029         * elf/tst-tls14.c: Likewise.
33030         * elf/tst-tlsmod11.c: Likewise.
33031         * elf/tst-tlsmod12.c: Likewise.
33032         * elf/tst-tlsmod13.c: Likewise.
33033         * elf/tst-tlsmod13a.c: Likewise.
33034         * elf/tst-tlsmod14a.c: Likewise.
33035         * elf/tst-tlsmod15b.c: Likewise.
33036         * elf/tst-tlsmod16a.c: Likewise.
33037         * elf/tst-tlsmod16b.c: Likewise.
33038         * elf/tst-tlsmod7.c: Likewise.
33039         * elf/tst-tlsmod8.c: Likewise.
33040         * elf/tst-tlsmod9.c: Likewise.
33041         * gmon/gmon.c: Likewise.
33042         * grp/fgetgrent_r.c: Likewise.
33043         * grp/putgrent.c: Likewise.
33044         * hurd/fopenport.c: Likewise.
33045         * include/libc-symbols.h: Likewise.
33046         * include/tls.h: Likewise.
33047         * intl/gettextP.h: Likewise.
33048         * intl/loadinfo.h: Likewise.
33049         * locale/global-locale.c: Likewise.
33050         * locale/localeinfo.h: Likewise.
33051         * mach/devstream.c: Likewise.
33052         * malloc/arena.c: Likewise.
33053         * malloc/set-freeres.c: Likewise.
33054         * misc/err.c: Likewise.
33055         * misc/getttyent.c: Likewise.
33056         * misc/mntent_r.c: Likewise.
33057         * posix/getopt.c: Likewise.
33058         * posix/wordexp.c: Likewise.
33059         * pwd/fgetpwent_r.c: Likewise.
33060         * resolv/Versions: Likewise.
33061         * resolv/res_hconf.c: Likewise.
33062         * shadow/fgetspent_r.c: Likewise.
33063         * shadow/putspent.c: Likewise.
33064         * stdio-common/printf_fphex.c: Likewise.
33065         * stdio-common/tmpfile.c: Likewise.
33066         * stdlib/abort.c: Likewise.
33067         * stdlib/fmtmsg.c: Likewise.
33068         * sunrpc/auth_unix.c: Likewise.
33069         * sunrpc/clnt_perr.c: Likewise.
33070         * sunrpc/clnt_tcp.c: Likewise.
33071         * sunrpc/clnt_udp.c: Likewise.
33072         * sunrpc/clnt_unix.c: Likewise.
33073         * sunrpc/openchild.c: Likewise.
33074         * sunrpc/svc_simple.c: Likewise.
33075         * sunrpc/svc_tcp.c: Likewise.
33076         * sunrpc/svc_udp.c: Likewise.
33077         * sunrpc/svc_unix.c: Likewise.
33078         * sunrpc/xdr.c: Likewise.
33079         * sunrpc/xdr_array.c: Likewise.
33080         * sunrpc/xdr_rec.c: Likewise.
33081         * sunrpc/xdr_ref.c: Likewise.
33082         * sunrpc/xdr_stdio.c: Likewise.
33084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33086         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33088 2011-07-03  Andreas Jaeger  <aj@suse.de>
33090         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33091         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33092         regenerate with gen-libm-tests.pl.
33094 2010-05-12  Petr Baudis  <pasky@suse.cz>
33096         [BZ #11589]
33097         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33098         around j0() zero points by switching to j1().
33099         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33100         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33104 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33106         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33107         instead of 0.
33108         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33109         instead of 0.
33110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33111         Patch in part by Pavel Roskin <proski@gnu.org>.
33113         [BZ #13138]
33114         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33115         realloc.
33116         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33117         Free memory block if necessary.
33119         [BZ #12847]
33120         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33121         be NULL.  Don't lock in this case.
33123 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33125         * elf/elf.h (ELFOSABI_GNU): New macro.
33126         (ELFOSABI_LINUX): Define to that.
33128 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33130         * string/strncat.c (strncat): Undef the symbol in case it has been
33131         defined in bits/string.h.
33133 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33135         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33137         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33138         link map.
33140 2011-08-17  Andreas Jaeger  <aj@suse.de>
33142         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33144 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33145             Ian Lance Taylor  <iant@google.com>
33147         * math/libm-test.inc (lround_test): New testcase.
33148         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33150 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33152         * Makefile: Remove support for automatic cvs check-ins.
33153         * Makerules: Likewise.
33154         * config.make.in: Likewise.
33155         * configure.in: Likewise.
33156         * intl/Makefile: Likewise.
33157         * locale/Makefile: Likewise.
33158         * po/Makefile: Likewise.
33159         * posix/Makefile: Likewise.
33160         * sysdeps/gnu/Makefile: Likewise.
33161         * sysdeps/mach/hurd/Makefile: Likewise.
33162         * sysdeps/sparc/sparc32/Makefile: Likewise.
33164         [BZ #13118]
33165         * posix/Makefile (bug-regex32-ENV): Define.
33166         Patch by John Stanley <jpsinthemix@verizon.net>.
33168         * misc/Makefile (headers): Add bits/select2.h.
33169         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33170         * misc/bits/select2.h: New file.
33171         * include/bits/select2.h: New file.
33172         * debug/Makefile (routines): Add fdelt_chk.
33173         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33174         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33175         FD_ISSET.
33176         * debug/fdelt_chk.c: New file.
33178         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33179         * wcsmbs/test-wmemcmp.c: Likewise.
33180         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33181         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33183 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33185         * string/Makefile (strop-tests): Add memcmp.
33186         * string/test-wmemcmp.c: New file.
33187         * string/test-memcmp.c: Add wmemcmp support.
33189 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33191         [BZ #13153]
33192         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33193         2011-07-19 change.
33195         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33196         garbage value in a __mach_port_mod_refs call in the cases of the
33197         task-self and thread-self ports.
33199 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33201         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33203 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33205         * elf/dl-load.c (lose): Check for non-null L.
33207 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33209         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33211         * elf/dl-libc.c (dlerror_run): Pass back error code from
33212         dl_catch_error.
33214         [BZ #13123]
33215         * elf/dl-load.c (lose): Free l_origin if it is valid.
33217         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33218         names.
33219         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33220         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33221         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33222         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33223         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33224         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33226 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33228         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33229         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33230         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33231         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33232         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33233         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33234         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33235         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33236         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33237         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33239 2011-08-15  Alan Modra  <amodra@gmail.com>
33241         [BZ #13092]
33242         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33243         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33244         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33245         ppc_mcount to static-only-routines.
33246         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33247         __mcount_internal.
33248         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33249         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33251 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33253         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33254         for finite and infinity parameters.
33256 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33258         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33259         and add nop instructions for throughput optimization.
33260         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33262 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33265         aligned copy for power7 with vector-scalar instructions.
33266         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33268 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33271         AVX check.
33273 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33275         [BZ #13144]
33276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33277         last change.
33279 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33281         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33282         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33283         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33284         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33285         clock_gettime.
33287 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33289         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33290         Forgot to demangle the pointer.
33292         * sysdeps/i386/sysdep.h: Define atom_text_section.
33293         * sysdeps/x86_64/sysdep.h: Likewise.
33294         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33295         section with atom_text_section.
33296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33297         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33298         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33300         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33303         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33304         already be defined.  Change to take two parameters and don't assign
33305         result to variable.  Adjust all users.
33306         Define INTERNAL_GETTIME if not already defined.
33307         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33308         call.
33309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33310         HAVE_CLOCK_GETTIME_VSYSCALL.
33311         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33313         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33314         gettimeofday vsyscall, just use time.
33316 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33319         <errno.h>.
33321 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33323         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33324         syscall on x86-64.
33325         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33326         syscall.
33327         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33328         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33329         syscall if possible.
33331 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33333         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33334         e_ident.  Don't pass to find_mapsXX.
33335         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33337 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33340         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33341         * sysdeps/x86_64/multiarch/strchr.S: Update.
33342         Check bit_slow_BSF bit.
33343         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33344         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33347 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33349         [BZ #13134]
33350         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33351         before glibc 2.15.
33352         (tryshell): Define.
33353         (__spawni): Change last parameter to be flag.  Test
33354         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33355         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33356         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33357         * posix/spawni.c: Likewise.
33358         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33359         * posix/spawnp.c: Likewise.  Change normal version to use
33360         SPAWN_XFLAGS_USE_PATH.
33361         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33362         SPAWN_XFLAGS_TRY_SHELL.
33364         [BZ #13150]
33365         * posix/glob.h: Remove gcc 1.x support.
33367         [BZ #13068]
33368         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33370 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33373         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33374         strrchr-sse2-bsf
33375         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33376         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33377         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33378         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33379         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33380         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33382 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33384         * sysdeps/x86_64/wcscmp.S: New file.
33386         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33387         wcscmp-c wcscmp-sse2
33388         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33389         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33390         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33391         * wcsmbs/wcscmp.c: Allow renaming.
33393 2011-09-05  David S. Miller  <davem@davemloft.net>
33395         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33396         stack slot, rather than the struct return pointer slot.
33397         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33398         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33400         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33402 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33404         * po/ja.po: Update from translation team.
33406         [BZ #13144]
33407         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33408         kernel in 64-bit binaries.
33410 2011-09-01  David S. Miller  <davem@davemloft.net>
33412         * elf/elf.h (HWCAP_SPARC_*): Move to..
33413         * sysdeps/sparc/sysdep.h: this new file and add new values.
33414         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33415         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33416         _DL_HWCAP_COUNT to 24.
33417         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33418         entries.
33419         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33420         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33421         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33423         instead of magic constants.
33424         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33426 2011-08-31  David S. Miller  <davem@davemloft.net>
33428         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33430         Reimplement to do errno handling inline.
33431         (SYSCALL_ERROR_HANDLER): New macro.
33432         (__SYSCALL_STRING): Do not do errno handling in asm.
33433         (__CLONE_SYSCALL_STRING): Delete.
33434         (__INTERNAL_SYSCALL_STRING): Delete.
33435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33436         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33437         (PSEUDO): Reimplement to do errno handling inline.
33438         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33439         (SYSCALL_ERROR_HANDLER): New macro.
33440         (__SYSCALL_STRING): Do not do errno handling in asm.
33441         (__CLONE_SYSCALL_STRING): Delete.
33442         (__INTERNAL_SYSCALL_STRING): Delete.
33443         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33444         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33445         i386.
33446         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33447         (inline_syscall*): Add 'err' argument.
33448         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33449         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33450         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33451         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33453         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33454         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33456 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33458         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33460 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33462         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33463         directive.
33465 2011-08-24  David S. Miller  <davem@davemloft.net>
33467         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33469 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33471         * elf/Makefile: Add rules to build and run unload8 test.
33472         * elf/unload8.c: New file.
33473         * elf/unload8mod1.c: New file.
33474         * elf/unload8mod1x.c: New file.
33475         * elf/unload8mod2.c: New file.
33476         * elf/unload8mod3.c: New file.
33478         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33479         it wasn't used.
33481 2011-08-23  David S. Miller  <davem@davemloft.net>
33483         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33484         subtract stack bias.
33485         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33486         %sp not %fp in calculations.
33487         (_JMPBUF_UNWINDS_ADJ): Likewise.
33489         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33490         (aio_suspend): Call it to force an exception region around the
33491         AIO_MISC_WAIT() invocation.
33493 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33495         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33496         backslash.
33498 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33500         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33501         protection macro.
33502         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33503         and <dl-machine.h>.
33504         (Elf64_FuncDesc): Remove.
33506 2011-08-22  David S. Miller  <davem@davemloft.net>
33508         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33509         sigaltstack check, add missing cfi directives.
33510         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33511         missing cfi directives, and sigaltstack handling.
33513 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33515         [BZ #11724]
33516         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33517         object is seen twice.
33518         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33520         * elf/Makefile (distribute): Add tst-initorder2.c.
33521         (tests): Add tst-initorder2.
33522         (modules-names): Add tst-initorder2a tst-initorder2b
33523         tst-initorder2c tst-initorder2d.  Add rules to build them.
33524         ($(objpfx)tst-initorder2.out): New rule.
33525         * elf/tst-initorder2.c: New file.
33526         * elf/tst-initorder2.exp: New file.
33528 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33532         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33533         dependencies back to end of function.
33535         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33536         $(elfobjdir)/ld.so.
33538 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33541         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33543         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33544         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33545         of __vdso_gettimeofday.
33546         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33547         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33548         attribute_hidden.
33549         (_libc_vdso_platform_setup): Remove initialization of
33550         __vdso_gettimeofday and __vdso_time.
33552 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33554         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33555         and fgetc_unlocked.
33556         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33557         getc_unlocked.
33559         * elf/dl-open.c (add_to_global): Report additions to the global scope
33560         for LD_DEBUG=scopes.
33561         (dl_open_worker): Also print scope of newly loaded dependencies.
33562         (_dl_show_scope): Indicate if there is no scope.
33564         [BZ #13114]
33565         * stdio-common/Makefile (tests): Add bug24.
33566         * stdio-common/bug24.c: New file.
33568 2011-08-19  Andreas Jaeger  <aj@suse.de>
33570         [BZ #13114]
33571         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33572         non-existant file when using close-on-exec mode.
33574 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33577         the very first instruction.
33579         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33580         the CFI state in the end.
33581         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33582         inclusion of dl-trampoline.h.
33583         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33585 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33587         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33588         expectations for long double.
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33591         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33593 2011-08-14  David S. Miller  <davem@davemloft.net>
33595         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33596         artificual limit depends upon the system page size.
33598 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33600         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33601         * resolv/Makefile: Define CFLAGS-libresolv.
33603 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33605         * nss/makedb.c (compute_tables): Make variables used in nested
33606         function static.
33608 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33610         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33611         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33612         if buffer was too small.
33614         * elf/pldd.c (main): Attach to all threads in the process.
33615         Rewrite /proc handling to use *at functions.
33617 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33619         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33620         specifies first scope to show.
33621         (dl_open_worker): Update callers.  Move printing scope of new
33622         object to before the relocation.
33623         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33624         * sysdeps/generic/ldsodefs.h: Update declaration.
33626         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33627         string for the scope number.
33629 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33631         * nscd/servicescache.c (cache_addserv): Make sure written is always
33632         initialized.
33634 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33636         * sysdeps/i386/i486/bits/atomic.h
33637         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33638         statement expression, so as to suppress "set but not used" warning.
33639         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33641         * string/strncat.c (STRNCAT): Use prototype definition.
33643         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33644         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33645         -Iprograms here.
33646         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33647         (localedef-modules): Add localedef.
33648         (locale-modules): Add locale.
33650         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33651         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33652         to avoid a warning.
33654 2011-08-14  David S. Miller  <davem@davemloft.net>
33656         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33657         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33659 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33661         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33662         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33663         * elf/rtld.c (dl_main): Set l_name of vDSO.
33664         Call _dl_show_scope when DL_DEBUG_SCOPES.
33665         (process_dl_debug): Recognize scopes flag and also set it for all.
33666         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33667         Declare _dl_show_scope.
33669         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33670         (do_dlopen): Pass caller_dlopen to dl_open.
33671         (__libc_dlopen_mode): Initialize caller_dlopen.
33673         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33674         of libc.  Make tolower call locale-independent.  Optimize a bit by
33675         using isdigit instead of isalnum.
33676         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33678 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33680         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33681         was a dependency or dynamically loaded.
33683 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33685         * intl/l10nflist.c: Allow architecture-specific pop function.
33686         * sysdeps/x86_64/l10nflist.c: New file.
33688         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33689         classification.
33691 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33693         * include/dirent.h: Add libc_hidden_proto for scandirat and
33694         scandirat64.  Don't declare __scandirat64.
33695         * dirent/scandirat.c: Add libc_hidden_def.
33696         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33697         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33699 2011-08-10  David S. Miller  <davem@davemloft.net>
33701         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33702         enum.
33703         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33705         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33707 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33709         * Versions.def [libc]: Add GLIBC_2.15.
33710         * dirent/Makefile (routines): Add scandirat and scandirat64.
33711         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33712         GLIBC_2.15.
33713         * dirent/dirent.h: Declare scandirat and scandirat64.
33714         * dirent/scandirat.c: New file.
33715         * dirent/scandirat64.c: New file.
33716         * sysdeps/wordsize-64/scandirat.c: New file.
33717         * sysdeps/wordsize-64/scandirat64.c: New file.
33718         * dirent/opendir.c: Define opendirat.
33719         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33720         using scandirat.
33721         * dirent/scandir64.c: Adjust for scandir.c change.
33722         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33723         __scandirat64, and __scandir_cancel_handler.
33724         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33725         additional parameter and use openat instead of open (outside of ld.so).
33726         Add new __opendir as wrapper around __opendirat.
33727         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33728         here without requiring old scandirat implementation.
33730 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33732         * dirent/scandir.c (cancel_handler): Renamed to
33733         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33734         defined.  Adjust users.
33735         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33736         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33738 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33740         * string/test-string.h (IMPL): Use __STRING to expand name and then
33741         stringify it.
33743         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33744         of cleanups.
33746 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33748         * string/Makefile: Update.
33749         (strop-tests): Append strncat.
33750         * string/test-wcscmp.c: New file.
33751         New comprehensive test for wcscmp.
33752         * string/test-strcmp.c: Update.
33753         (WIDE): New define.
33755 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33757         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33758         line.
33760 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33763         encoding to ACE if AI_IDN.
33765 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33767         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33768         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33770 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33772         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33773         Fix overflow bug in strncat.
33774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33776         * string/test-strncat.c: Update.
33777         Add new tests for checking overflow bugs.
33779 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33782         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33783         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33784         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33786         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33787         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33788         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33789         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33791         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33792         (USE_AS_STRCAT): Define.
33793         Add strcat and strncat support.
33794         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33796 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33798         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33799         __n bigger than INT_MAX+1.
33800         (__strncmp_g): Likewise.
33802 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33804         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33805         * libio/stido.h: Likewise.
33807         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33808         (AF_NFC): Define.
33809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33810         (AF_NFC): Define.
33812         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33814         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33815         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33818         [BZ #13021]
33819         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33820         installed.
33822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33823         typo.
33824         (_dl_x86_64_save_sse): Likewise.
33826 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33829         OSXSAVE.
33830         (_dl_x86_64_save_sse): Likewise.
33832         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33834         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33836 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33839         change.
33840         (_dl_x86_64_save_sse): Use correct AVX check.
33842 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33845         bug in strncpy/strncat.
33846         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33848 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33850         * string/tester.c (test_strcat): Add tests for different alignments
33851         of source and destination.
33852         (test_strncat): Likewise.
33854 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33856         [BZ #12852]
33857         * posix/glob.c (glob): Check passed in values before using them in
33858         expressions to avoid some overflows.
33859         (glob_in_dir): Likewise.
33861         [BZ #13007]
33862         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33863         check for AVX enablement so that we don't crash with old kernels and
33864         new hardware.
33865         * elf/tst-audit4.c: Add same checks here.
33866         * elf/tst-audit6.c: Likewise.
33868         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33870 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33872         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33874 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33876         * po/cs.po: Update from translation team.
33877         * po/bg.po: Likewise.
33879 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33881         * misc/sys/cdefs.h: Add support for const attribute.
33882         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33883         to gnu_dev_{major,minor,makedev} functions.
33885 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33887         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33889 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33891         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33892         strlen results.
33894 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33897         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33898         register in order to avoid conflicts with the soft frame pointer
33899         being held in r11 when necessary.
33900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33901         (INTERNAL_VSYSCALL_NCS): Likewise.
33903 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33905         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33906         * elf/dl-fini.c (_dl_fini): Adjust caller.
33907         * elf/dl-close.c (_dl_close_worker): Likewise.
33908         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33910 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33912         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33913         "aux_cache->nlibs < 0".
33915         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33916         in the reload-count case.
33918 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33921         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33922         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33923         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33924         * sysdeps/x86_64/multiarch/strcat.S: New file.
33925         * sysdeps/x86_64/multiarch/strncat.S: New file.
33926         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33927         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33928         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33929         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33930         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33931         (USE_AS_STRCAT): Define.
33932         Add strcat and strncat support.
33933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33935         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33936         * string/strncat.c: Update.
33937         (USE_AS_STRNCAT): Define.
33938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33939         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33940         and i7.
33941         * sysdeps/x86_64/multiarch/init-arch.h
33942         (bit_Prefer_PMINUB_for_stringop): New.
33943         (index_Prefer_PMINUB_for_stringop): Likewise.
33944         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33945         bit_Prefer_PMINUB_for_stringop.
33947 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33949         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33950         buffer64.
33951         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33952         of casting of buffer.
33953         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33954         buffer32 and buffer64.
33955         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33956         writes instead of casting of buffer.
33957         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33958         buffer32.
33959         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33960         casting of buffer.
33962 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33964         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33966 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33968         * nscd/nscd.c (termination_handler): Don't do anything for a database
33969         if it has not yet been initialized.
33971 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33973         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33975 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33977         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33979 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33981         * po/nl.po: Update from translation team.
33982         * po/sv.po: Likewise.
33984 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33986         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33987         now disallowed by GCC.
33989         * configure.in (use-default-link): Default to yes if a test -shared
33990         link meets our qualifications.
33991         * configure: Regenerated.
33993         * config.make.in (output-format): New variable.
33994         * configure.in: Check for ld --print-output-format support.
33995         * configure: Regenerated.
33996         * Makerules ($(common-objpfx)format.lds)
33997         [$(output-format) != unknown]: Just use $(output-format),
33998         instead of the linker-script munging.
34000 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34002         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34003         of $(common-objpfx)shlib.lds.
34004         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34006         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34007         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34009         * configure.in (-z relro check): Adjust test code to add a large
34010         writable data section after it.
34011         * configure: Regenerated.
34013 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34015         * configure.in (-z relro check): Fix test code to make the variable
34016         truly const.
34017         * configure: Regenerated.
34019 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34021         * nscd/nscd.h (struct traced_file): Define.
34022         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34023         elements.  Add traced_files.
34024         (inotify_fd): Declare.
34025         (register_traced_file): Declare.
34026         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34027         (inotify_fd): Export.
34028         (resolv_conf_descr): Remove.
34029         (nscd_init): Move inotify descriptor creation to main.
34030         Don't register files for notification here.
34031         (register_traced_file): New function.
34032         (invalidate_cache): Don't use reset_res to determine whether to call
34033         res_init, go through the list of registered files.
34034         (main_loop_poll): The inotify descriptors are now stored in the
34035         structures for the traced files.
34036         (main_loop_epoll): Likewise
34037         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34038         to __nss_disable_nscd.
34039         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34040         for a database anymore.  Check the records for all the registered
34041         files instead.
34042         * nss/Makefile (libnss_files-routines): Add files-init.
34043         (libnss_db-routines): Add db-init.
34044         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34045         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34046         * nss/nss_db/db-init.c: New file.
34047         * nss/nss_files/files-init.c: New file.
34048         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34049         __nss_lookup_function.
34050         (__nss_lookup_function): Call nss_load_library.
34051         (nss_load_all_libraries): New function.
34052         (__nss_disable_nscd): Take parameter with callback function for files
34053         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34054         used for the cached services.
34055         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34056         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34057         options for features to all the files in nscd.
34059         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34061 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34063         * csu/elf-init.c (__libc_csu_init): Comment typo.
34065 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34067         * po/pl.po: Update from translation team.
34068         * po/ja.po: Likewise.
34069         * po/ru.po: Likewise.
34070         * po/ko.po: Likewise.
34071         * po/fr.po: Likewise.
34073 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34075         * configure.in (.ctors/.dtors header and trailer check):
34076         Use an empirical test on a built program.
34077         * configure: Regenerated.
34079         * configure.in (-z relro check): Use an empirical test on a built DSO.
34080         Detect, but do not require, on ia64.
34081         * configure: Regenerated.
34083         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34084         Update tests that use readelf to use $READELF instead.
34085         * configure: Regenerated.
34087 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34089         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34090         if the result is not used.
34092 2011-07-05  Andreas Jaeger  <aj@suse.de>
34094         [BZ#9696]
34095         * stdlib/tst-strtod.c: Add testcase.
34097 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34099         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34100         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34101         The latter has a higher limit.  Take additional parameter to pass to
34102         the new function.
34103         (__pathconf): Pass file to __statfs_link_max.
34104         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34105         __statfs_link_max.
34106         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34107         __statfs_link_max.
34109         [BZ #12868]
34110         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34112         Handle Lustre.
34113         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34114         (__statfs_filesize_max): Likewise.
34115         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34117 2011-07-05  Andreas Jaeger  <aj@suse.de>
34119         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34121 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34123         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34124         `status' variable.
34125         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34126         Likewise.
34128 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34130         * Makefile (strop-tests): Add strncat.
34131         * string/test-strncat.c: New file.
34133 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34135         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34137 2011-06-21  Andreas Jaeger  <aj@suse.de>
34139         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34140         Copy rule from iconvdata/Makefile.
34142 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34144         [BZ #12922]
34145         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34146         but no long options are defined, just return 'W'.
34148 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34150         [BZ #9696]
34151         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34153 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34155         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34156         netgroups to read.
34157         (innetgr): Likewise.
34159 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34161         * config.make.in (install_root): Default to $(DESTDIR).
34163 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34167 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34169         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34171         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34172         containing directory rather than embedding absolute directory names.
34174         * scripts/check-local-headers.sh: Rewritten using awk.
34175         Match by word, not by line.  Print error messages for matches.
34176         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34178         * Makerules [shlib-lds-flags empty]:
34179         ($(common-objpfx)libc_pic.opts): New target.
34180         ($(common-objpfx)libc_pic.os.clean): New target.
34181         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34183         * config.make.in (OBJCOPY): New variable.
34184         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34185         * configure: Regenerated.
34187         * config.make.in (use-default-link): New variable.
34188         * configure.in (use_default_link): Grok --with-default-link to set it.
34189         * configure: Regenerated.
34190         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34191         (shlib-lds, shlib-lds-flags): Define to empty.
34193         * Makerules (shlib-lds): New variable.
34194         (shlib-lds-flags): New variable.
34195         (build-shlib, build-moduile, build-module-asneeded): Use it.
34196         ($(common-objpfx)libc.so): Use $(shlib-lds).
34197         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34198         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34200         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34201         DT_FLAGS/DT_FLAGS_1 with zero flags.
34203         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34204         linker script munging.
34206 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34208         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34209         as 128-bit value.
34210         * crypt/sha512.c (sha512_process_block): Perform total addition using
34211         128-bit if possible.
34212         (__sha512_finish_ctx): Likewise.
34213         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34214         as 64-bit value.
34215         * crypt/sha256.c (SWAP64): Define.
34216         (sha256_process_block): Perform total addition using 64-bit if
34217         possible.
34218         (__sha256_finish_ctx): Likewise.
34220 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34222         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34224         * nscd/hstcache.c (cache_addhst): Likewise.
34225         * nscd/grpcache.c (cache_addgr): Likewise.
34226         * nscd/aicache.c (addhstaiX): Likewise
34227         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34229 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34231         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34233         * nscd/hstcache.c (cache_addhst): Likewise.
34234         * nscd/grpcache.c (cache_addgr): Likewise.
34235         * nscd/aicache.c (addhstaiX): Likewise
34237 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34239         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34240         domain only when needed.
34242 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34245         is always restored.
34247 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34249         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34250         are re-adding the entry.
34251         * nscd/servicescache.c (cache_addserv): Likewise.
34253 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34255         * sysdeps/generic/dl-irel.h: fix protection against multiple
34256         inclusions.
34257         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34259 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34261         [BZ #12935]
34262         * malloc/memusage.sh: Fix quoting in message.
34263         * debug/xtrace.sh: Likewise.
34265         * configure.in: Remove support for --experimental-malloc option, make
34266         it the default.
34267         * config.make.in: Likewise.
34268         * malloc/Makefile: Likewise.
34270 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34272         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34273         two-byte characters.
34275 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34277         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34278         AC_CACHE_CHECK invocation.
34279         * configure: Regenerated.
34281         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34283 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34285         [BZ #12350]
34286         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34287         bit from old_res_options.
34289         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34291         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34292         value type for setfct.
34294 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34296         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34297         __gettimeofday instead of gettimeofday.
34299 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34301         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34303 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34305         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34308         info.
34310 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34313         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34314         strcpy-sse2-unaligned strncpy-sse2-unaligned
34315         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34316         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34317         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34318         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34319         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34320         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34321         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34322         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34323         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34324         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34325         (STRCPY): Support SSE2 and SSSE3 versions.
34327 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34329         [BZ #12874]
34330         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34331         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34332         kernels which artificially limit size of requests.
34334 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34337         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34338         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34339         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34340         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34341         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34342         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34343         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34346         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34347         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34348         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34349         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34350         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34352         Enable unaligned load optimization for Intel Core i3, i5 and i7
34353         processors.
34354         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34355         Define.
34356         (index_Fast_Unaligned_Load): Define.
34357         (HAS_FAST_UNALIGNED_LOAD): Define.
34359 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34361         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34363 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34365         [BZ #12907]
34366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34367         until it is clear that the information is realy needed.
34368         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34370 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34374 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34377         /sys/devices/system/cpu/online if it is usable.
34379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34380         reading the information from the /proc filesystem to once a second.
34382 2011-06-21  Andreas Jaeger  <aj@suse.de>
34384         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34385         NULL after inclusion of kernel headers.
34387 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34389         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34390         calls to internal_setent.
34392         [BZ #12885]
34393         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34394         addresses using gethostbyname4_r ignore IPv4 addresses.
34396         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34397         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34399         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34401 2011-06-20  David S. Miller  <davem@davemloft.net>
34403         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34404         inclusions.
34405         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34407         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34408         (elf_irel): Use it.
34409         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34410         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34411         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34412         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34413         * sysdeps/x86_64/dl-irel.h: Likewise.
34415         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34416         * elf/dl-sym.c: Likewise.
34418 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34420         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34421         need to dereference resplen2.
34423 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34425         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34427 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34429         * Makeconfig: Define vardbdir and inst_vardbdir.
34430         * nss/Makefile: Add rules to install db-Makefile.
34432         * nss/nss_db/db-XXX.c: Cleanup.
34434         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34435         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34436         GLIBC_PRIVATE.
34437         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34438         * nss/makedb.c: Implement -g option to specify that value strings
34439         are generated and should not be added to table iterated over for
34440         get*ent calls.
34441         * nss/nss_db/db-initgroups.c: New file.
34443         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34444         interface.
34446         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34447         (internal_getgrouplist): Adjust to name change.
34448         Update use_initgroups_entry if this is not the first call.
34449         * nss/databases.def: Add initgroups entry.
34451         * nss/makedb.c (compute_tables): Check result of multiple hash table
34452         sizes to minimize maximum chain length.
34454 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34456         * Versions.def: Add entry for libnss_db.
34457         * shlib-versions: Likewise.
34458         * nss/Makefile: Add rules to build libnss_db.
34459         * nss/Versions: Add libnss_db information.  Organize libnss_files
34460         entries better.
34461         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34462         makedb progra.  Some minor improvements to generate smaller files.
34463         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34464         here from...
34465         * nss/makedb.c: ...here.
34466         Improve database format to be smaller and require less memory at
34467         runtime.
34468         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34469         db anymore.
34470         * nss/nss_db/db-netgrp.c: Likewise.
34471         * nss/nss_db/db-open.c: Likewise.
34472         * nss/nss_files/flies-XXX.x: Adjust comments.
34473         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34474         * nss/nss_files/files-grp.c: Likewise.
34475         * nss/nss_files/files-hosts.c: Likewise.
34476         * nss/nss_files/files-network.c: Likewise.
34477         * nss/nss_files/files-proto.c: Likewise.
34478         * nss/nss_files/files-pwd.c: Likewise.
34479         * nss/nss_files/files-rpc.c: Likewise.
34480         * nss/nss_files/files-service.c: Likewise.
34481         * nss/nss_files/files-sgrp.c: Likewise.
34482         * nss/nss_files/files-spwd.c: Likewise.
34483         * nss/nss_db/db-alias.c: Removed.
34484         * nss/nss_db/dummy-db.h: Removed.
34486 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34488         * nss/makedb.c: Rewritten to not use database library.
34489         * nss/Makefile: Update to build new makedb program.
34491 2011-06-14  Andreas Jaeger  <aj@suse.de>
34493         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34494         memset declaration.
34496 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34499         tmpbuf.
34501 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34503         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34504         * elf/Makefile ($(objpfx)ld.so): Likewise.
34506         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34507         Don't list ld.so twice in dependencies.
34509         * posix/bug-regex31.c: Include <stdlib.h>.
34511         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34513         * nis/nss_compat/compat-spwd.c
34514         (getspent_next_nss_netgr): Remove unused variable.
34515         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34517         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34518         nonmembers" output to use the right array.
34520         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34522         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34524         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34525         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34526         * catgets/gencat.c (read_input_file): Likewise.
34527         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34529         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34530         variable definition inside #if's controlling its use.
34532         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34534         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34536         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34538         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34539         unreachable code.
34541         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34543         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34544         * configure: Regenerated.
34546         * Makerules: Revert last change.
34547         * elf/Makefile: Likewise.
34549 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34551         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34552         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34553         (reloc-link): Likewise.
34555 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34557         * elf/Makefile: Add rules to build pldd.
34558         * elf/pldd.c: New file.
34559         * elf/pldd-xx.c: New file.
34561 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34563         * version.h: Update for 2.15 development version.
34565 2011-06-07  David S. Miller  <davem@davemloft.net>
34567         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34568         ifuncs.
34569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34570         elf_machine_lazy_rel): Likewise.
34571         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34573         elf_machine_lazy_rel): Likewise.
34574         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34575         dl_hwcap via passed in argument.
34576         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34577         Likewise.
34579 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34581         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34583 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34585         [BZ #12849]
34586         * manual/fdl-1.1.texi: New file, verbatim from:
34587         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34588         * manual/lgpl-2.1.texi: New file, verbatim from:
34589         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34590         * manual/Makefile (licenses): New variable, list those new file names.
34591         (texis): Use it.
34592         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34594         * manual/fdl.texi: File removed.
34595         * manual/lesser.texi: File removed.
34596         * manual/libc.texinfo (Copying, Documentation License):
34597         Use new @include file names, put @appendix directive before @include.
34599 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34601         [BZ #12841]
34602         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34603         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34604         (mq_open): Add __NTH.
34606 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34609         Assume Intel Core i3/i5/i7 processor if AVX is available.
34611 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34614         typo.
34616 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34618         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34619         memory.  Use alloca_account.  Fix memory leak when retrying.
34621 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34623         * version.h (RELEASE): Bump for 2.14 release.
34624         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34626         * config.make.in (RANLIB): Remove entry.
34628 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34630         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34631         (libc.pot): Work around missing support for .ksh extension in xgettext.
34633         [BZ #12684]
34634         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34635         if both request failed.
34636         (send_dg): In case of server errors clear resplen or *resplen2.
34638         [BZ #12454]
34639         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34640         when there are multiple maps.
34641         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34642         (_dl_fini): Remove test here.
34644         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34646 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34648         [BZ #12350]
34649         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34650         bit from old_res_options.
34651         (gaih_inet): Likewise.
34653         [BZ #11099]
34654         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34655         as signed.
34657         * resolv/res_init.c (res_setoptions): Make the code more compact.
34659         [BZ #11558]
34660         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34661         set RES_USEVC.
34663         [BZ #11634]
34664         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34666         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34668         [BZ #11781]
34669         * malloc/malloc.h: Declare malloc hook variables as volatile.
34671         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34672         in last patch.
34674         [BZ #11799]
34675         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34676         raise in the comment.
34677         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34678         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34679         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34681 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34683         [BZ #12811]
34684         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34685         grow the buffers more if it already has to be sufficient.
34686         (build_wcs_upper_buffer): Likewise.
34687         * posix/regexec.c (check_matching): Likewise.
34688         (clean_state_log_if_needed): Likewise.
34689         (extend_buffers): Don't enlarge buffers beyond size of the input
34690         buffer.
34691         Patches mostly by Emil Wojak <emil@wojak.eu>.
34692         * posix/bug-regex32.c: New file.
34693         * posix/Makefile (tests): Add bug-regex32.
34695         * locale/findlocale.c (_nl_find_locale): Return right away if
34696         _nl_explode_name failed.
34697         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34699         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34701         * debug/xtrace.sh: Unify messages.
34702         * malloc/memusage.sh: Likewise.
34704         [BZ #12813]
34705         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34706         time symbol from vDSO.  Substitute with vsyscall if not available.
34707         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34708         __vdso_time.
34710         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34711         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34712         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34713         Add sendmmsg and internal_sendmmsg.
34714         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34715         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34716         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34718         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34719         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34720         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34722 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34724         [BZ #12813]
34725         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34726         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34727         available.
34728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34729         __vdso_getcpu.
34731         [BZ #12814]
34732         * iconvdata/Makefile (tests): Add bug-iconv9.
34733         * iconvdata/bug-iconv9.c: New file.
34735 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34737         [BZ #12814]
34738         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34740 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34743         (struct user_regs_struct): Change intcs field back to cs.
34745 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34747         * po/ja.po: Update from translation team.
34749 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34751         [BZ #12795]
34752         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34753         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34755 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34757         * stdlib/longlong.h: Update from GCC.
34759 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34761         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34762         parameter name.
34763         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34764         Add parameter name.
34765         (__sysconf): Pass it down.
34767 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34769         [BZ #12671]
34770         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34771         some situations.
34772         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34773         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34774         add in in __libc_use_alloca calls.  Adjust callers.
34775         (glob): Use malloc in some situations.
34777         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34778         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34779         pltexit.
34781 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34783         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34784         and CLOCK_BOOTTIME_ALARM.
34786         [BZ #12782]
34787         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34788         is returned.
34790         * string/_strerror.c (__strerror_r): Print negative errors as signed
34791         numbers.
34793         [BZ #12777]
34794         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34795         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34796         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34798         * configure.in: Fix typo in redirection and correct removal of test
34799         files in two cases.
34801         [BZ #12788]
34802         * locale/setlocale.c (new_composite_name): Fix test to check for
34803         identical name of all categories.
34805         [BZ #12792]
34806         * libio/filedoalloc.c (local_isatty): New function.
34807         (_IO_file_doallocate): Use local_isatty.
34808         * stdio-common/perror.c (perror): In case a new stream is used
34809         forward the stream error.
34810         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34811         error flag.
34813 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34815         [BZ #11869]
34816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34817         alloca.
34818         * include/alloca.h (extend_alloca_account): Define.
34820         [BZ #11857]
34821         * posix/regex.h: Fix comments with documentation of user-accessible
34822         fields after compilation and describe correct free'ing of pattern
34823         after re_compile_pattern.
34824         Patch by Reuben Thomas <rrt@sc3d.org>.
34826 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34828         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34829         and -mno-altivec to prevent the compiler from using Altivec and/or
34830         VSX instructions when the corresponding registers are not available.
34832 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34834         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34836 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34838         * libio/freopen.c (freopen): Use __dup2, not dup2.
34839         * libio/freopen64.c (freopen64): Likewise.
34841 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34843         [BZ #12775]
34844         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34845         * math/Makefile (tests): Add test-powl.
34846         (CFLAGS-test-powl.c): Define.
34847         * math/test-powl.c: New file.
34849 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34851         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34853 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34855         [BZ #11837]
34856         * iconvdata/gb18030.c: Update to GB18020-2005.
34858 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34860         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34861         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34862         Patch by Aharon Robbins <arnold@skeeve.com>.
34864         [BZ #11892]
34865         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34866         on the stack.
34868         [BZ #11895]
34869         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34870         through underflows.
34872         [BZ #12766]
34873         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34874         point to strings before performing equality test for error_one_per_line
34875         mode.
34877         [BZ #11697]
34878         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34880         [BZ #11820]
34881         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34882         (struct user_fpregs_struct): Avoid __uint*_t types.
34884         [BZ #6420]
34885         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34886         symbol info.  Use it instead of calling _dl_addr locally.
34887         (lock_and_info): New function.
34888         (tr_freehook): Call lock_and_info and pass symbol info as additional
34889         parameter to tr_where.
34890         (tr_mallochook): Likewise.
34891         (tr_reallochook): Likewise.
34892         (tr_memalignhook): Likewise.
34894         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34895         used and couldn't be at all thread-safe.
34897 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34899         * libio/freopen.c (freopen): Don't close old file descriptor
34900         before the new one is opened.  Instead dup the new file descriptor
34901         to the old one after the new stream is created.
34902         * libio/freopen64.c (freopen64): Likewise.
34903         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34904         * libio/fileops.c (_IO_new_file_close_it): Handle new
34905         _IO_FLAGS2_NOCLOSE flag.
34906         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34907         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34908         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34909         _IO_FLAGS2_NOCLOSE flag.
34910         * include/unistd.h: Add hidden_proto for dup3.
34911         Define __have_dup3.
34912         * io/dup3.c: Define hidden symbol.
34913         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34915         [BZ #7101]
34916         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34917         when an incomplete long option is used.
34918         * posix/tst-getopt_long1.c: New file.
34919         * posix/Makefile (tests): Add tst-getopt_long1.
34921         [BZ #10138]
34922         * scripts/config.guess: Update from autoconf-2.68.
34923         * scripts/config.sub: Likewise.
34925         [BZ #10157]
34926         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34927         tests into ...
34928         (has_cpuclock): ...this.  New function.
34929         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34930         macro here based on has_cpuclock code.
34932         [BZ #10149]
34933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34934         First byte (not low byte) is now always NUL.
34935         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34937         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34938         Use non-cancelable interfaces.
34940         [BZ #9809]
34941         * locale/iso-639.def: Add entry for Sorani.
34943         [BZ #11901]
34944         * include/stdlib.h: Move include protection to the right place.
34945         Define abort_msg_s.  Declare __abort_msg with it.
34946         * stdlib/abort.c (__abort_msg): Adjust type.
34947         * assert/assert.c (__assert_fail_base): New function.  Majority
34948         of code from __assert_fail.  Allocate memory for __abort_msg with
34949         mmap.
34950         (__assert_fail): Now call __assert_fail_base.
34951         * assert/assert-perr.c: Remove bulk of implementation.  Use
34952         __assert_fail_base.
34953         * include/assert.hL Declare __assert_fail_base.
34954         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34955         mmap.
34956         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34958 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34960         [BZ #11952]
34961         [BZ #12453]
34962         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34963         until all modules are registered in the DTV.
34964         * elf/Makefile: Add rules to build and run tst-tls19.
34965         * elf/tst-tls19.c: New file.
34966         * elf/tst-tls19mod1.c: New file.
34967         * elf/tst-tls19mod2.c: New file.
34968         * elf/tst-tls19mod3.c: New file.
34969         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34971         [BZ #12083]
34972         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34973         correctly.
34975         [BZ #12601]
34976         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34977         two-byte sequence errors.
34978         * iconvdata/Makefile (tests): Add bug-iconv8.
34979         * iconvdata/bug-iconv8.c: New file.
34981         [BZ #12626]
34982         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34983         buf2 definition.
34985         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34987         [BZ #12432]
34988         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34989         (dummy_getcfa): New function.
34990         (init): Get _Unwind_GetCFA address, use dummy if not found.
34991         (backtrace_helper): In recursion check, also check whether CFA changes.
34992         (__backtrace): Completely initialize arg.
34994         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34995         storing incomplete byte sequence in state object.  Avoid testing for
34996         guaranteed too small input if we know there is enough data available.
34998 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35000         * Makeconfig (+link-pie): Indent.
35001         * Rules (binaries-pie): Define if $(have-fpie) and
35002         $(build-shared).
35003         (binaries-shared): Also filter out $(binaries-pie).
35004         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35005         * nscd/Makefile (others-pie): Add nscd.
35006         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35007         ($(objpfx)nscd): Remove command override.
35008         * login/Makefile (others-pie): Add pt_chown.
35009         ($(objpfx)pt_chown): Remove command override.
35010         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35011         remove command overrides.
35013 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35015         * libio/tst_putwc.c: Fix error messages.
35017         [BZ #12724]
35018         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35019         currently writing and seek to current position when not.
35020         * libio/Makefile (tests): Add bug-fclose1.
35021         * libio/bug-fclose1.c: New file.
35023 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35025         [BZ #12511]
35026         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35027         don't set DF_1_NODELETE here.
35028         (do_lookup_x): When entering new entry test for copy relocation
35029         and if necessary set DF_1_NODELETE flag.
35030         * elf/tst-unique4.cc: New file.
35031         * elf/tst-unique4.h: New file.
35032         * elf/tst-unique4lib.cc: New file.
35033         * elf/Makefile: Add rules to build and run tst-unique4.
35034         Patch by Piotr Bury <pbury@goahead.com>.
35036 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35038         [BZ #12052]
35039         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35041         [BZ #12625]
35042         * misc/mntent_r.c (addmntent): Flush the stream after the output
35044         [BZ #12393]
35045         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35046         (is_trusted_path_normalize): Skip initial colon.  Append slash
35047         to empty buffer.  Duplicate is_trusted_path code but allow
35048         constructed patch to be prefix.
35049         (is_dst): Allow $ORIGIN followed by /.
35050         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35051         Correct testing of result of is_trusted_path_normalize
35052         (decompose_rpath): Fix warning.
35054 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35056         [BZ #11257]
35057         * grp/initgroups.c (internal_getgrouplist): When we found the service
35058         list through the initgroups entry in nsswitch.conf do not always
35059         continue on a successful lookup.  Don't always use the
35060         __nss_group_database value if it is set.
35061         * nss/nsswitch.conf (initgroups): Change action for successful db
35062         lookup to continue for compatibility.
35064 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35066         [BZ #11532]
35067         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35068         and CP774 modules.
35069         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35070         and CP774 modules.
35071         * iconvdata/tst-tables.sh: Likewise.
35072         * iconvdata/cp770.c: New file.
35073         * iconvdata/cp771.c: New file.
35074         * iconvdata/cp772.c: New file.
35075         * iconvdata/cp773.c: New file.
35076         * iconvdata/cp774.c: New file.
35077         * iconvdata/testdata/CP770: New file.
35078         * iconvdata/testdata/CP770..UTF8: New file.
35079         * iconvdata/testdata/CP771: New file.
35080         * iconvdata/testdata/CP771..UTF8: New file.
35081         * iconvdata/testdata/CP772: New file.
35082         * iconvdata/testdata/CP772..UTF8: New file.
35083         * iconvdata/testdata/CP773: New file.
35084         * iconvdata/testdata/CP773..UTF8: New file.
35085         * iconvdata/testdata/CP774: New file.
35086         * iconvdata/testdata/CP774..UTF8: New file.
35088         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35089         END CHARMAP line.
35090         * iconvdata/gen-8bit-gap.sh: Likewise.
35091         * iconvdata/gen-8bit.sh: Likewise.
35093         * locale/iso-639.def: Add ary entry.
35095         [BZ #11258]
35096         * locale/C-translit.h.in: Add U20A1 transliteration.
35098         [BZ #12178]
35099         * locale/iso-639.def: Add wae entry.
35100         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35102         [BZ #12545]
35103         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35104         for n.
35106         [BZ #12711]
35107         * locale/C-translit.h.in: Add entry for U20B9.
35108         Patch by pravin.d.s@gmail.com.
35110 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35112         [BZ #12713]
35113         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35114         ENAMETOOLONG use generic getcwd.
35115         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35116         in rtld.  Use *stat64.
35117         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35118         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35119         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35120         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35121         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35122         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35123         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35124         __fstatat64 macros.
35125         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35126         * dirent/rewinddir.c: Add libc_hidden_def.
35127         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35128         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35130         * include/dirent.h (__alloc_dir): Add flags parameter.
35131         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35132         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35133         __alloc_dir.
35134         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35135         from fdopendir if O_CLOEXEC is already set.
35137 2011-03-15  Alan Modra  <amodra@gmail.com>
35139         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35140         l_tls_firstbyte_offset non-zero.  Save padding offset in
35141         l_tls_firstbyte_offset for later use.
35142         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35143         freeing static tls block.
35145 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35147         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35148         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35149         being defined by the kernel headers.
35151 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35153         [BZ #12734]
35154         * resolv/resolv.h: Define RES_NOTLDQUERY.
35155         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35156         no-tld-query and set RES_NOTLDQUERY.
35157         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35158         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35159         modern BIND to search name as TLD unless forbidden.
35161 2011-05-07  Petr Baudis  <pasky@suse.cz>
35162             Ulrich Drepper  <drepper@gmail.com>
35164         [BZ #12393]
35165         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35166         (is_trusted_path): ...to here.
35167         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35168         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35169         using is_trusted_path_normalize() in setuid scripts.
35171 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35173         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35174         __BEGIN/__END_DECLS.
35176 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35178         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35179         NSS_STATUS_NOTFOUND if no record was found.
35181 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35183         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35184         (headers-not-in-tirpc): Remove rpc/netdb.h
35185         * resolv/netdb.h: Revert last change.
35187 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35189         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35190         circular dependency between libgcc.a and libc.a.
35192 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35194         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35195         * nis/Makefile: Don't install rpcsvc/*.
35196         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35197         instead of <rpc/types.h>.
35198         (MAXHOSTNAMELEN): Define.
35200 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35202         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35204 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35206         [BZ #12714]
35207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35208         gethostbyname4_r when IPv6 results are possible.
35210 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35212         [BZ #12723]
35213         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35214         _PC_PIPE_BUF handling.
35216 2011-04-30  Bruno Haible  <bruno@clisp.org>
35218         [BZ #12717]
35219         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35220         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35221         to 'int'.
35222         * inet/getnameinfo.c (getnameinfo): Likewise.
35224 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35226         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35227         to groups setting in database lookup.
35228         * nss/nsswitch.conf: Add initgroups entry.
35230 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35232         [BZ #12685]
35233         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35234         mode string.
35235         Patch by Eric Blake <eblake@redhat.com>.
35237 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35239         * sunrpc/Makefile (need-export-routines): Add svc_run.
35240         (routines): Remove svc_run.
35241         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35242         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35243         * sunrpc/svc_run.c (svc_run): Likewise.
35244         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35246 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35249         problem in reallocation in last patch.
35251 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35253         * sunrpc/Makefile: Move inclusion of Rules.
35255 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35257         * nss/nss_files/files-initgroups.c: New file.
35258         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35259         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35260         _nss_files_initgroups_dyn.
35262 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35264         * elf/elf.h (R_ARM_IRELATIVE): Define.
35266 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35268         * po/ru.po: Update from translation team.
35270 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35272         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35273         dependencies.
35275 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35277         [BZ #12653]
35278         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35279         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35282         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35284 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35286         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35287         differing bytes.
35288         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35290         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35292 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35294         [BZ #12420]
35295         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35296         storing it.
35297         * stdlib/bug-getcontext.c: New file.
35298         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35300 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35302         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35303         instructions into .machine "z9-109".
35304         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35305         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35307 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35309         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35310         between environment variables and auxiliary vector.
35312 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35314         * Makefile: Add rules to build linkobj/libc.so.
35315         * include/libc-symbols.h: Define libc_hidden_nolink.
35316         * include/rpc/auth.h: Mark functions which are to be hidden.
35317         * include/rpc/auth_des.h: Likewise.
35318         * include/rpc/auth_unix.h: Likewise.
35319         * include/rpc/clnt.h: Likewise.
35320         * include/rpc/des_crypt.h: Likewise.
35321         * include/rpc/key_prot.h: Likewise.
35322         * include/rpc/pmap_clnt.h: Likewise.
35323         * include/rpc/pmap_prot.h: Likewise.
35324         * include/rpc/pmap_rmt.h: Likewise.
35325         * include/rpc/rpc_msg.h: Likewise.
35326         * include/rpc/svc.h: Likewise.
35327         * include/rpc/svc_auth.h: Likewise.
35328         * include/rpc/xdr.h: Likewise.
35329         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35330         * nss/Makefile: Likewise.
35331         * sunrpc/Makefile: Don't install headers.  Build library with normal
35332         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35333         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35334         for the compat linking library.  Remove use of INTDEF/INTUSE.
35335         * sunrpc/auth_none.c: Likewise.
35336         * sunrpc/auth_unix.c: Likewise.
35337         * sunrpc/authdes_prot.c: Likewise.
35338         * sunrpc/authuxprot.c: Likewise.
35339         * sunrpc/clnt_gen.c: Likewise.
35340         * sunrpc/clnt_perr.c: Likewise.
35341         * sunrpc/clnt_raw.c: Likewise.
35342         * sunrpc/clnt_simp.c: Likewise.
35343         * sunrpc/clnt_tcp.c: Likewise.
35344         * sunrpc/clnt_udp.c: Likewise.
35345         * sunrpc/clnt_unix.c: Likewise.
35346         * sunrpc/des_crypt.c: Likewise.
35347         * sunrpc/des_soft.c: Likewise.
35348         * sunrpc/get_myaddr.c: Likewise.
35349         * sunrpc/key_call.c: Likewise.
35350         * sunrpc/key_prot.c: Likewise.
35351         * sunrpc/netname.c: Likewise.
35352         * sunrpc/pm_getmaps.c: Likewise.
35353         * sunrpc/pm_getport.c: Likewise.
35354         * sunrpc/pmap_clnt.c: Likewise.
35355         * sunrpc/pmap_prot.c: Likewise.
35356         * sunrpc/pmap_prot2.c: Likewise.
35357         * sunrpc/pmap_rmt.c: Likewise.
35358         * sunrpc/publickey.c: Likewise.
35359         * sunrpc/rpc_cmsg.c: Likewise.
35360         * sunrpc/rpc_common.c: Likewise.
35361         * sunrpc/rpc_dtable.c: Likewise.
35362         * sunrpc/rpc_prot.c: Likewise.
35363         * sunrpc/rpc_thread.c: Likewise.
35364         * sunrpc/rtime.c: Likewise.
35365         * sunrpc/svc.c: Likewise.
35366         * sunrpc/svc_auth.c: Likewise.
35367         * sunrpc/svc_authux.c: Likewise.
35368         * sunrpc/svc_raw.c: Likewise.
35369         * sunrpc/svc_run.c: Likewise.
35370         * sunrpc/svc_simple.c: Likewise.
35371         * sunrpc/svc_tcp.c: Likewise.
35372         * sunrpc/svc_udp.c: Likewise.
35373         * sunrpc/svc_unix.c: Likewise.
35374         * sunrpc/svcauth_des.c: Likewise.
35375         * sunrpc/xcrypt.c: Likewise.
35376         * sunrpc/xdr.c: Likewise.
35377         * sunrpc/xdr_array.c: Likewise.
35378         * sunrpc/xdr_float.c: Likewise.
35379         * sunrpc/xdr_intXX_t.c: Likewise.
35380         * sunrpc/xdr_mem.c: Likewise.
35381         * sunrpc/xdr_rec.c: Likewise.
35382         * sunrpc/xdr_ref.c: Likewise.
35383         * sunrpc/xdr_sizeof.c: Likewise.
35384         * sunrpc/xdr_stdio.c: Likewise.
35386 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35388         [BZ #12650]
35389         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35390         * sysdeps/ia64/dl-tls.h: Likewise.
35391         * sysdeps/powerpc/dl-tls.h: Likewise.
35392         * sysdeps/s390/dl-tls.h: Likewise.
35393         * sysdeps/sh/dl-tls.h: Likewise.
35394         * sysdeps/sparc/dl-tls.h: Likewise.
35395         * sysdeps/x86_64/dl-tls.h: Likewise.
35396         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35398 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35400         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35401         rpath element also skip the following colon.
35402         (expand_dynamic_string_token): Add is_path parameter and pass
35403         down to DL_DST_REQUIRED and _dl_dst_substitute.
35404         (decompose_rpath): Call expand_dynamic_string_token with
35405         non-zero is_path.  Ignore empty rpaths.
35406         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35407         with zero is_path.
35409 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35412         Make cancelable.
35414 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35416         [BZ #12655]
35417         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35418         Patch by Filipe David Manana <fdmanana@apache.org>.
35420 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35422         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35423         Maintain aligned stack.
35424         (CHECK_RSP): Remove unused macro.
35426 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35428         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35429         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35431 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35433         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35435         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35437 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35439         [BZ #12518]
35440         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35441         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35442         * sysdeps/x86_64/memmove.c: New file.
35443         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35444         (memcpy): Renamed to ...
35445         (__new_memcpy): This.
35446         (memcpy): Provide GLIBC_2_14 memcpy.
35447         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35448         (memcpy): Provide GLIBC_2_2_5 memcpy.
35450 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35452         [BZ #12631]
35453         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35455 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35457         * misc/syncfs.c: New file.
35458         * misc/Makefile (routines): Add syncfs.
35459         * posix/unistd.h: Declare syncfs.
35460         * sysdeps/unix/syscalls.list: Add syncfs.
35462 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35464         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35465         open_by_handle_at.
35466         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35469         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35471         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35472         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35474 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35477         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35478         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35480         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35482         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35484         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35485         sync_file_range.c with -fexceptions.
35486         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35487         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35488         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35489         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35490         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35491         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35492         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35493         sync_file_range as cancellation point
35494         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35495         now a wrapper around __call_sync_file_range with cancellation handling.
35496         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35497         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35498         function name to __call_sync_file_range.
35499         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35500         Add call_sync_file_range.
35502 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35505         bits/timex.h.
35507 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35509         * iconv/iconv.h: Fix typo in comment.
35510         * io/fcntl.h: Likewise.
35511         * libio/stdio.h: Likewise.
35512         * posix/spawn.h: Likewise.
35513         * posix/unistd.h: Likewise.
35514         * stdlib/stdlib.h: Likewise.
35515         * time/time.h: Likewise.
35516         * wcsmbs/wchar.h: Likewise.
35518         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35519         open_by_handle): Add.
35520         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35521         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35522         Augment a few comments.
35523         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35528         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35529         open_by_handle.
35531         * io/fcntl.h (AT_EMPTY_PATH): Define.
35533 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35535         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35536         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35537         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35538         to...
35539         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35540         * Versions.def: Add GLIBC_2.14.
35541         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35542         Export.
35544 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35547         round counter.
35548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35550 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35552         [BZ #12597]
35553         * string/test-strncmp.c (do_page_test): New function.
35554         (check2): Likewise.
35555         (test_main): Call check2.
35556         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35558 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35560         [BZ #12587]
35561         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35562         Handle cache information in CPU leaf 4.
35563         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35565 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35567         [BZ #12583]
35568         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35569         character representation.
35570         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35572 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35574         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35575         END(__isnan) to END(__isnanf) to match function entry point/label
35576         EALIGN(__isnanf,...).
35578 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35580         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35582 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35584         [BZ #12510]
35585         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35586         copy from the symbol referenced in the relocation to initialize the
35587         used variable.
35588         Patch by Piotr Bury <pbury@goahead.com>.
35589         * elf/Makefile: Add rules to build and tst-unique3.
35590         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35591         * elf/tst-unique3.cc: New file.
35592         * elf/tst-unique3.h: New file.
35593         * elf/tst-unique3lib.cc: New file.
35594         * elf/tst-unique3lib2.cc: New file.
35596         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35598 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35600         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35601         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35602         to _start.
35604 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35606         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35607         to-be-loaded object along a path to loader is ld.so.
35609 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35610             Ulrich Drepper  <drepper@gmail.com>
35612         * sysdeps/x86_64/memset.S: After aligning destination, code
35613         branches to different locations depending on the value of
35614         misalignment, when multiarch is enabled. Fix this.
35616 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35618         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35619         Set _x86_64_preferred_memory_instruction for AMD processsors.
35620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35621         Set bit_Prefer_SSE_for_memop for AMD processors.
35623 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35625         * libio/fmemopen.c (fmemopen): Optimize a bit.
35627 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35629         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35631 2011-03-03  Roland McGrath  <roland@redhat.com>
35633         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35635 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35637         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35638         __bzero_ultra1 instead of __memset_ultra1.
35640 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35641             Ulrich Drepper  <drepper@gmail.com>
35643         [BZ #12509]
35644         * include/link.h (struct link_map): Add l_orig_initfini.
35645         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35646         returning unsuccessfully.
35647         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35648         close of a file loaded at startup, restore the original l_initfini
35649         list.
35650         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35651         list, store the pointer.
35652         * elf/Makefile ($(objpfx)noload-mem): New rule.
35653         (noload-ENV): Define.
35654         (tests): Add $(objpfx)noload-mem.
35655         * elf/noload.c: Include <memcheck.h>.
35656         (main): Call mtrace.  Close all opened handles.
35658 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35660         [BZ #12454]
35661         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35662         dependencies are missing.
35664 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35666         Fix __if_freereq crash: Unlike the generic version which uses free,
35667         Hurd needs munmap.
35668         * sysdeps/mach/hurd/ifreq.h: New file.
35670 2011-01-27  Petr Baudis  <pasky@suse.cz>
35671             Ulrich Drepper  <drepper@gmail.com>
35673         [BZ 12445]#
35674         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35675         to extend_alloca().
35676         * stdio-common/bug23.c: New file.
35677         * stdio-common/Makefile (tests): Add bug23.
35679 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35680             Ulrich Drepper  <drepper@gmail.com>
35682         [BZ #12489]
35683         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35684         before performing relro protection.  At old place add assertion
35685         to make sure nothing changed.
35687 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35688             Glauber de Oliveira Costa  <glommer@gmail.com>
35690         * elf/elf.h: Add new ARM TLS relocs.
35692 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35695         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35696         cast from r3.
35697         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35698         'tests' variable.
35699         * sysdeps/wordsize-64/tst-writev.c: New file.
35701 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35703         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35704         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35705         insns in _dl_start to prevent a TOC reference before relocs are
35706         resolved.
35708 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35710         [BZ #12469]
35711         * Makeconfig: Remove RANLIB definition.
35712         * Makerules: Don't use RANLIB.
35713         * aclocal.m4: Remove ranlib test.
35714         * configure.in: No need to check for ranlib.
35715         * elf/rtld-Rules: Don't use RANLIB.
35717 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35719         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35720         protection macro.
35721         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35722         inclusion protection macro.
35724         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35725         SIGRTMIN and SIGRTMAX and print information in that case only when
35726         SIGRTMIN is defined.
35728 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35730         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35731         arginfo fn returning -1.
35733         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35734         and thousands string is zero terminated.
35736 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35739         sysdeps/unix/sysv/linux/bits/socket.h.
35741 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35743         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35744         (__CPU_COUNT): Remove old macros.
35745         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35746         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35747         (__CPU_ALLOC, __CPU_FREE): Add macros.
35748         (__sched_cpualloc, __sched_cpufree): Add declarations.
35750 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35752         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35753         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35754         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35755         (readdhstai): Return value of addhstaiX call.
35756         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35757         (addgrbyX): Return value returned by cache_addgr.
35758         (readdgrbyname): Return value returned by addgrbyX.
35759         (readdgrbygid): Likewise.
35760         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35761         (addpwbyX): Return value returned by cache_addpw.
35762         (readdpwbyname): Return value returned by addhstbyX.
35763         (readdpwbyuid): Likewise.
35764         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35765         (addservbyX): Return value returned by cache_addserv.
35766         (readdservbyname): Return value returned by addservbyX:
35767         (readdservbyport): Likewise.
35768         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35769         (addhstbyX): Return value returned by cache_addhst.
35770         (readdhstbyname): Return value returned by addhstbyX.
35771         (readdhstbyaddr): Likewise.
35772         (readdhstbynamev6): Likewise.
35773         (readdhstbyaddrv6): Likewise.
35774         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35775         (readdinitgroups): Return value returned by addinitgroupsX.
35776         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35777         (prune_cache): Keep track of timeout value of re-added entries.
35778         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35779         * nscd/nscd.h: Adjust prototypes of readd* functions.
35781 2011-02-04  Roland McGrath  <roland@redhat.com>
35783         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35784         (nis_stats): Likewise.
35785         * nis/nis_modify.c (nis_modify): Likewise.
35786         * nis/nis_remove.c (nis_remove): Likewise.
35787         * nis/nis_add.c (nis_add): Likewise.
35789         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35791         * posix/fnmatch_loop.c: Add some consts.
35793         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35795 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35797         [BZ #12460]
35798         * config.make.in (config-cflags-novzeroupper): Define.
35799         * configure.in: Substitute libc_cv_cc_novzeroupper.
35800         * elf/Makefile (AVX-CFLAGS): Define.
35801         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35802         (CFLAGS-tst-auditmod4a.c): Likewise.
35803         (CFLAGS-tst-auditmod4b.c): Likewise.
35804         (CFLAGS-tst-auditmod6b.c): Likewise.
35805         (CFLAGS-tst-auditmod6c.c): Likewise.
35806         (CFLAGS-tst-auditmod7b.c): Likewise.
35807         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35809 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35811         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35812         function to the callback.
35813         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35815 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35817         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35818         of errno.
35820 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35822         [BZ #11724]
35823         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35824         of constructors.
35825         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35826         of destructors.
35827         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35829         [BZ #11724]
35830         * elf/Makefile: Add rules to build and run new test.
35831         * elf/tst-initorder.c: New file.
35832         * elf/tst-initorder.exp: New file.
35833         * elf/tst-initordera1.c: New file.
35834         * elf/tst-initordera2.c: New file.
35835         * elf/tst-initordera3.c: New file.
35836         * elf/tst-initordera4.c: New file.
35837         * elf/tst-initorderb1.c: New file.
35838         * elf/tst-initorderb2.c: New file.
35839         * elf/tst-order-a1.c: New file.
35840         * elf/tst-order-a2.c: New file.
35841         * elf/tst-order-a3.c: New file.
35842         * elf/tst-order-a4.c: New file.
35843         * elf/tst-order-b1.c: New file.
35844         * elf/tst-order-b2.c: New file.
35845         * elf/tst-order-main.c: New file.
35846         New test case by George Gensure <werkt0@gmail.com>.
35848 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35851         decoding ACE if AI_CANONIDN.
35853 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35855         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35857 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35859         * version.h (RELEASE): Bump for 2.13 release.
35860         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35862         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35864         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35865         MADV_NOHUGEPAGE.
35866         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35868         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35870         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35871         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35873         * posix/getconf.c: Update copyright year.
35874         * catgets/gencat.c: Likewise.
35875         * csu/version.c: Likewise.
35876         * debug/catchsegv.sh: Likewise.
35877         * debug/xtrace.sh: Likewise.
35878         * elf/ldconfig.c: Likewise.
35879         * elf/ldd.bash.in: Likewise.
35880         * elf/sprof.c (print_version): Likewise.
35881         * iconv/iconv_prog.c: Likewise.
35882         * iconv/iconvconfig.c: Likewise.
35883         * locale/programs/locale.c: Likewise.
35884         * locale/programs/localedef.c: Likewise.
35885         * malloc/memusage.sh: Likewise.
35886         * malloc/mtrace.pl: Likewise.
35887         * nscd/nscd.c (print_version): Likewise.
35888         * nss/getent.c: Likewise.
35890         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35891         PF_CAIF, and PF_ALG.
35892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35894 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35896         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35897         (modules-names): Use them.
35898         (ifunc-test-modules, ifunc-pie-tests): Define.
35899         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35900         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35901         (test-extras): Likewise.
35902         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35903         $(compile-command.c).
35904         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35905         (all-built-dso): Define.
35906         (check-textrel.out, check-execstack.out): Depend on it.
35908         * configure.in: Don't override --enable-multi-arch.
35910 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35912         [BZ #6812]
35913         * nscd/hstcache.c (tryagain): Define.
35914         (cache_addhst): Return tryagain not notfound for temporary errors.
35915         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35916         failed.
35918 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35920         [BZ #10563]
35921         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35922         to make the syscall.
35923         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35925         [BZ #12378]
35926         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35927         and fall back to matching as normal character if the string ends before
35928         the matching ']' is found.  This is what POSIX requires.
35929         * posix/testfnm.c: Adjust test result.
35930         * posix/globtest.sh: Adjust test result.  Add new test.
35931         * posix/tst-fnmatch.input: Likewise.
35932         * posix/tst-fnmatch2.c: Add new test.
35934 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35936         * elf/Makefile (check-execstack): Revert last change.  Depend on
35937         check-execstack.h.
35938         (check-execstack.h): New target.
35939         (generated): Add check-execstack.h.
35940         * elf/check-execstack.c: Include "check-execstack.h".
35941         (main): Revert last change.
35942         (handle_file): Return zero if GNU_STACK is absent and
35943         DEFAULT_STACK_PERMS doesn't include PF_X.
35945 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35947         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35948         in child fails because the descriptor is already closed.
35949         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35950         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35951         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35953         [BZ #12397]
35954         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35955         syscall.
35957         [BZ #10484]
35958         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35959         temporary buffer used to handle multi lookups locally.
35960         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35962 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35964         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35965         loader is ld.so.
35967 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35969         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35970         alignment for SSE2.
35972 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35974         [BZ #12394]
35975         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35976         characters.  When rounding increased number of integer digits recompute
35977         number of groups.
35978         * stdio-common/tst-grouping.c: New file.
35979         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35981 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35983         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35984         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35986         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35987         void.
35988         * bits/select.h: Likewise.
35990 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35992         * po/ja.po: Update from translation team.
35994 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35996         [BZ #11155]
35997         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35998         implementation just like for lxstat, fxstatat, et al.
36000 2010-12-27  Jim Meyering  <meyering@redhat.com>
36002         [BZ #12348]
36003         * posix/regexec.c (build_trtable): Return failure indication upon
36004         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36006 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36008         [BZ #12201]
36009         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36010         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36011         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36012         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36014         [BZ #12207]
36015         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36017         [BZ #12204]
36018         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36019         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36021 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36023         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36024         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36025         script has SORT_BY_INIT_PRIORITY.
36026         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36027         NO_CTORS_DTORS_SECTIONS is defined.
36028         * elf/soinit.c: Likewise.
36029         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36030         NO_CTORS_DTORS_SECTIONS is defined.
36031         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36032         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36033         * sysdeps/sh/init-first.c: Likewise.
36034         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36036 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36038         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36039         always use the slow path.
36041 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36043         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36044         similar rule which adds the sysdep directories to the header search in
36045         order to pick up the correct platform stackinfo.h.
36046         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36047         perform test if it is, otherwise return successfully without testing.
36048         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36049         DEFAULT_STACK_PERMS define in stackinfo.h.
36050         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36051         defined in stackinfo.h.
36052         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36053         DEFAULT_STACK_PERMS defined in stackinfo.h.
36054         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36055         * sysdeps/ia64/stackinfo.h: Likewise.
36056         * sysdeps/s390/stackinfo.h: Likewise.
36057         * sysdeps/sh/stackinfo.h: Likewise.
36058         * sysdeps/sparc/stackinfo.h: Likewise.
36059         * sysdeps/x86_64/stackinfo.h: Likewise.
36060         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36061         PF_X for powerpc64.  Retain PF_X for powerpc32.
36063 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36065         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36066         accurately.
36067         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36068         GETDENTS_64BIT_ALIGNED.
36070 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36072         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36074 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36076         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36077         _GNU_SOURCE.
36079         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36080         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36081         Remove __restrict.
36082         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36083         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36085 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36087         [BZ #11655]
36088         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36089         are initialized.
36091 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36093         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36095 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36097         * po/it.po: Update from translation team.
36099 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36102         unused codes.
36104 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36106         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36108 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36110         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36111         specially.
36112         (gaih_getanswer_slice): Likewise.
36114 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36118 2010-05-31  Petr Baudis  <pasky@suse.cz>
36120         [BZ #11149]
36121         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36122         silently even in the chroot mode.
36124 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36126         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36127         last patch a bit.  Pretty printing
36129 2010-05-31  Petr Baudis <pasky@suse.cz>
36131         [BZ #10085]
36132         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36133         initialization of skip_initgroups_dyn.
36135 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36137         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36138         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36140 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36142         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36144 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36146         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36147         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36148         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36149         ($(objpfx)tst-fnmatch-mem): New rule.
36150         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36151         * posix/tst-fnmatch.c (main): Call mtrace.
36153 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36156         Support Intel processor model 6 and model 0x2c.
36158 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36160         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36161           signed comparison.
36163 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36165         [BZ #12205]
36166         * string/test-strncasecmp.c (check_result): New function.
36167         (do_one_test): Use it.
36168         (check1): New function.
36169         (test_main): Use it.
36170         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36171         Support strcasecmp and strncasecmp.
36173 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36175         [BZ #12194]
36176         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36177         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36179 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36181         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36182         IFUNC support.
36183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36184         memset-x86-64.
36185         * sysdeps/x86_64/multiarch/bzero.S: New file.
36186         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36187         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36188         * sysdeps/x86_64/multiarch/memset.S: New file.
36189         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36191         Set bit_Prefer_SSE_for_memop for Intel processors.
36192         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36193         Define.
36194         (index_Prefer_SSE_for_memop): Define.
36195         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36197 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36199         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36200         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36202 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36204         [BZ #12191]
36205         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36206         (__x86_64_raw_data_cache_size_half): Likewise.
36207         (__x86_64_raw_shared_cache_size): Likewise.
36208         (__x86_64_raw_shared_cache_size_half): Likewise.
36210         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36211         (__x86_64_raw_data_cache_size_half): Likewise.
36212         (__x86_64_raw_shared_cache_size): Likewise.
36213         (__x86_64_raw_shared_cache_size_half): Likewise.
36214         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36215         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36216         and __x86_64_raw_shared_cache_size_half.  Round
36217         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36218         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36219         to multiple of 256 bytes.
36221 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36223         [BZ #12167]
36224         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36225         of inacessible symlinks.  Verify result of symlink before returning it.
36226         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36227         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36229 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36231         * math/math.h (isinf): Fix typo in comment.
36233 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36235         * po/da.po: Update from translation team.
36237 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36239         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36240         is added to the list.
36242 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36243             Ulrich Drepper  <drepper@gmail.com>
36245         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36246         the global list here.  Move code to...
36247         (_dl_add_to_namespace_list): ...here.  New function.
36248         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36249         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36250         * elf/dl-load.c (lose): Don't remove the element from the list.
36251         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36252         (_dl_map_object): Likewise.
36254 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36256         [BZ #12159]
36257         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36258         into all bytes of SSE register.
36259         Patch by Richard Li <richardpku@gmail.com>.
36261 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36263         [BZ #12140]
36264         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36265         perturbing.
36267 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36269         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36270         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36271         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36272         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36274         submachine.
36275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36277 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36279         * include/dlfcn.h (__RTLD_SECURE): Define.
36280         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36281         mode & __RTLD_SECURE instead.
36282         (open_path): Rename preloaded parameter to secure.
36283         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36284         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36285         * elf/dl-deps.c (openaux): Likewise.
36286         * elf/rtld.c (struct map_args): Remove is_preloaded.
36287         (map_doit): Don't use it.
36288         (dl_main): Likewise.
36289         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36290         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36292 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36294         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36295         (sysd-rules-targets): Remove duplicates.
36296         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36297         rtld-%.$o dependency.
36299 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36301         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36302         _dl_map_object do it.
36304 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36306         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36307         fast fma builtins, define the macros in the C99 standard.
36308         (FP_FAST_FMAF): Likewise.
36309         (FP_FAST_FMAL): Likewise.
36310         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36312         * bits/mathdef.h: Update copyright year.
36313         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36315 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36317         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36318         builtins, define the macros in the C99 standard.
36319         (FP_FAST_FMAF): Likewise.
36320         (FP_FAST_FMAL): Likewise.
36321         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36322         multiply/add.
36323         (FP_FAST_FMAF): Likewise.
36325 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36327         [BZ #3268]
36328         * math/libm-test.inc (fma_test): Some new testcases.
36329         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36331         y and infinite z.  Do multiplication by C already in long double.
36332         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36334         y and infinite z.  Do bitwise or of inexact bit into u.d.
36335         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36336         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36337         * sysdeps/i386/fpu/s_fma.S: Removed.
36338         * sysdeps/i386/fpu/s_fmal.S: Removed.
36340 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36342         [BZ #3268]
36343         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36345         computation is not scheduled after fetestexcept.  Fix value
36346         of minimum denormal long double.
36348 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36350         [BZ #3268]
36351         * math/libm-test.inc (fma_test): Add some more tests.
36352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36353         correctly.
36355 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36357         * scripts/data/localplt-s390-linux-gnu.data: New file.
36358         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36360 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36362         [BZ #3268]
36363         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36364         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36365         instead of dbl-64.
36366         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36367         inlines.
36368         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36370         if one of x and y is very large and the other is subnormal.
36371         * sysdeps/s390/fpu/s_fmaf.c: New file.
36372         * sysdeps/s390/fpu/s_fma.c: New file.
36373         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36374         * sysdeps/powerpc/fpu/s_fma.S: New file.
36375         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36376         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36377         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36379 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36381         [BZ #3268]
36382         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36383         fma tests.
36384         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36385         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36386         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36387         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36388         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36389         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36390         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36392 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36394         [BZ #12078]
36395         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36396         * posix/bug-regex31.input: Add test case.
36398 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36400         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36401         * posix/bug-regex31.input: New file.
36403         [BZ #12078]
36404         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36405         (parse_sub_exp): Fix last change, use postorder.
36407         * posix/bug-regex31.c: New file.
36408         * posix/Makefile: Add rules to build and run bug-regex31.
36410         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36412         [BZ #12078]
36413         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36415         [BZ #12108]
36416         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36417         to have entries in sys_siglist.
36419         [BZ #12093]
36420         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36421         be NULL.
36423 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36425         [BZ #3268]
36426         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36427         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36428         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36429         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36430         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36431         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36432         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36433         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36434         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36435         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36436         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36437         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36438         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36439         * math/ftestexcept.c (fetestexcept): Likewise.
36440         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36441         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36442         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36443         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36444         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36445         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36446         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36448 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36450         [BZ #12107]
36451         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36452         newline.
36454 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36456         * string/bug-strstr1.c: New file.
36457         * string/Makefile: Add rules to build and run bug-strstr1.
36459 2010-10-05  Eric Blake  <eblake@redhat.com>
36461         [BZ #12092]
36462         * string/str-two-way.h (two_way_long_needle): Always clear memory
36463         when skipping input due to the shift table.
36465 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36467         [BZ #12005]
36468         * malloc/mcheck.c: Handle large requests.
36470         [BZ #12077]
36471         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36472         for strncmp and strncasecmp.
36473         * string/stratcliff.c: Add tests for strcmp and strncmp.
36474         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36476 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36478         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36479         __set_fpscr.
36481 2010-09-30  Andreas Jaeger  <aj@suse.de>
36483         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36484         (CGROUP_SUPER_MAGIC): Define.
36485         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36486         Handle btrfs and cgroup file systems.
36487         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36488         Likewise.
36490 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36492         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36493         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36495 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36497         [BZ #12067]
36498         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36499         trying to locate the ELF header.
36501 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36503         [BZ #11611]
36504         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36505         Mask out sign-bit copies when constructing f_fsid.
36507 2010-09-24  Petr Baudis <pasky@suse.cz>
36509         * debug/stack_chk_fail_local.c: Add missing licence exception.
36510         * debug/warning-nop.c: Likewise.
36512 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36515         implementing getdents64 using getdents syscall, set d_type if
36516         __ASSUME_GETDENTS32_D_TYPE.
36518 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36520         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36521         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36523 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36525         [BZ #12037]
36526         * posix/unistd.h: Undo change of feature selection for ftruncate from
36527         2010-01-11.
36529 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36531         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36532         detection.
36534 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36537         fanotify_mark.
36538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36540 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36542         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36543         variables after CHECK_SP call.
36544         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36546 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36547             Ulrich Drepper  <drepper@redhat.com>
36549         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36550         re-relocationg ld.so.
36551         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36552         _dl_init_paths call.
36553         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36554         here anymore.
36556 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36558         * resolv/res_init.c (__res_vinit): Count the default server we added.
36560 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36561             Ulrich Drepper  <drepper@redhat.com>
36563         [BZ #11968]
36564         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36565         (____longjmp_chk): Use %ebx for saving value across system call.
36566         Add unwind info.
36568 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36570         * manual/Makefile: Don't mix pattern rules with normal rules.
36572 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36574         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36575         operation.
36576         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36577         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36578         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36579         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36581         Likewise.
36583 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36585         [BZ #11979]
36586         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36587         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36589 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36591         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36592         * sysdeps/x86_64/addmul_1.S: Likewise.
36593         * sysdeps/x86_64/lshift.S: Likewise.
36594         * sysdeps/x86_64/mul_1.S: Likewise.
36595         * sysdeps/x86_64/rshift.S: Likewise.
36596         * sysdeps/x86_64/sub_n.S: Likewise.
36597         * sysdeps/x86_64/submul_1.S: Likewise.
36599 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36601         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36602         Define __sched_param instead of SCHED_* and sched_param when
36603         <bits/sched.h> is included with __need_schedparam defined.
36604         * bits/sched.h [__need_schedparam]
36605         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36606         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36607         (__defined_schedparam): Define to 1.
36608         (__sched_param): New structure, identical to sched_param.
36609         (__need_schedparam): Undefine.
36611 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36613         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36614         (epoll_create1): Declare.
36616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36618 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36620         [BZ #7066]
36621         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36622         shifting retval into place.
36624 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36626         * nis/rpcsvc/nis.h: Update copyright notice.
36627         * nis/rpcsvc/nis.x: Likewise.
36628         * nis/rpcsvc/nis_callback.h: Likewise.
36629         * nis/rpcsvc/nis_callback.x: Likewise.
36630         * nis/rpcsvc/nis_object.x: Likewise.
36631         * nis/rpcsvc/nis_tags.h: Likewise.
36632         * nis/rpcsvc/yp.h: Likewise.
36633         * nis/rpcsvc/yp.x: Likewise.
36634         * nis/rpcsvc/ypupd.h: Likewise.
36635         * nis/yp_xdr.c: Likewise.
36636         * nis/ypupdate_xdr.c: Likewise.
36638         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36639         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36640         (pmap_getport): Use __libc_rpc_getport.
36641         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36642         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36643         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36645 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36648         fanotify_mark.
36650 2010-08-27  Roland McGrath  <roland@redhat.com>
36652         * sysdeps/i386/i686/multiarch/Makefile
36653         (CFLAGS-varshift.c): New variable.
36655 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36657         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36658         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36660         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36662         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36664 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36666         * sysdeps/x86_64/strlen.S: Unroll the loop.
36667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36668         strlen-sse2 strlen-sse2-bsf.
36669         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36670         __strlen_no_bsf if bit_Slow_BSF is set.
36671         (__strlen_sse42): Removed.
36672         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36673         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36675 2010-08-25  Roland McGrath  <roland@redhat.com>
36677         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36678         * sysdeps/x86_64/multiarch/varshift.c: New file.
36679         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36680         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36681         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36682         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36684 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36687         strlen-sse2 strlen-sse2-bsf.
36688         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36689         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36690         (__strlen_sse2): Removed.
36691         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36692         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36694         bit_Slow_BSF for Atom.
36695         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36696         (index_Slow_BSF): Define.
36697         (HAS_SLOW_BSF): Define.
36699 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36701         [BZ #10851]
36702         * resolv/res_init.c (__res_vinit): When no server address at all
36703         is given default to loopback.
36705 2010-08-24  Roland McGrath  <roland@redhat.com>
36707         * configure.in: Remove config-name.h generation.
36708         * configure: Regenerated.
36709         * config-name.in: File removed.
36710         * scripts/config-uname.sh: New file.
36711         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36712         ($(objdir)config-name.h): New target.
36714         * sunrpc/rpc_parse.h: Avoid nested comment.
36716 2010-08-24  Richard Henderson  <rth@redhat.com>
36717             Ulrich Drepper  <drepper@redhat.com>
36718             H.J. Lu  <hongjiu.lu@intel.com>
36720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36722         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36723         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36724         _mm_alignr_epi8 with _mm_loadu_si128.
36725         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36726         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36727         (__m128i_shift_right): Removed.
36728         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36729         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36730         * sysdeps/x86_64/multiarch/varshift.h: New file.
36731         * sysdeps/x86_64/multiarch/varshift.S: New file.
36733 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36735         * configure.in: Move assembler checks to before sysdep dir checking.
36737 2010-08-20  Petr Baudis  <pasky@suse.cz>
36739         * LICENSES: Sync the sunrpc license.
36741 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36743         * sunrpc/auth_des.c: Update copyright notice once again.
36744         * sunrpc/auth_none.c: Likewise.
36745         * sunrpc/auth_unix.c: Likewise.
36746         * sunrpc/authdes_prot.c: Likewise.
36747         * sunrpc/authuxprot.c: Likewise.
36748         * sunrpc/bindrsvprt.c: Likewise.
36749         * sunrpc/clnt_gen.c: Likewise.
36750         * sunrpc/clnt_perr.c: Likewise.
36751         * sunrpc/clnt_raw.c: Likewise.
36752         * sunrpc/clnt_simp.c: Likewise.
36753         * sunrpc/clnt_tcp.c: Likewise.
36754         * sunrpc/clnt_udp.c: Likewise.
36755         * sunrpc/clnt_unix.c: Likewise.
36756         * sunrpc/des_crypt.c: Likewise.
36757         * sunrpc/des_soft.c: Likewise.
36758         * sunrpc/get_myaddr.c: Likewise.
36759         * sunrpc/getrpcport.c: Likewise.
36760         * sunrpc/key_call.c: Likewise.
36761         * sunrpc/key_prot.c: Likewise.
36762         * sunrpc/openchild.c: Likewise.
36763         * sunrpc/pm_getmaps.c: Likewise.
36764         * sunrpc/pm_getport.c: Likewise.
36765         * sunrpc/pmap_clnt.c: Likewise.
36766         * sunrpc/pmap_prot.c: Likewise.
36767         * sunrpc/pmap_prot2.c: Likewise.
36768         * sunrpc/pmap_rmt.c: Likewise.
36769         * sunrpc/rpc/auth.h: Likewise.
36770         * sunrpc/rpc/auth_unix.h: Likewise.
36771         * sunrpc/rpc/clnt.h: Likewise.
36772         * sunrpc/rpc/des_crypt.h: Likewise.
36773         * sunrpc/rpc/key_prot.h: Likewise.
36774         * sunrpc/rpc/netdb.h: Likewise.
36775         * sunrpc/rpc/pmap_clnt.h: Likewise.
36776         * sunrpc/rpc/pmap_prot.h: Likewise.
36777         * sunrpc/rpc/pmap_rmt.h: Likewise.
36778         * sunrpc/rpc/rpc.h: Likewise.
36779         * sunrpc/rpc/rpc_des.h: Likewise.
36780         * sunrpc/rpc/rpc_msg.h: Likewise.
36781         * sunrpc/rpc/svc.h: Likewise.
36782         * sunrpc/rpc/svc_auth.h: Likewise.
36783         * sunrpc/rpc/types.h: Likewise.
36784         * sunrpc/rpc/xdr.h: Likewise.
36785         * sunrpc/rpc_clntout.c: Likewise.
36786         * sunrpc/rpc_cmsg.c: Likewise.
36787         * sunrpc/rpc_common.c: Likewise.
36788         * sunrpc/rpc_cout.c: Likewise.
36789         * sunrpc/rpc_dtable.c: Likewise.
36790         * sunrpc/rpc_hout.c: Likewise.
36791         * sunrpc/rpc_main.c: Likewise.
36792         * sunrpc/rpc_parse.c: Likewise.
36793         * sunrpc/rpc_parse.h: Likewise.
36794         * sunrpc/rpc_prot.c: Likewise.
36795         * sunrpc/rpc_sample.c: Likewise.
36796         * sunrpc/rpc_scan.c: Likewise.
36797         * sunrpc/rpc_scan.h: Likewise.
36798         * sunrpc/rpc_svcout.c: Likewise.
36799         * sunrpc/rpc_tblout.c: Likewise.
36800         * sunrpc/rpc_util.c: Likewise.
36801         * sunrpc/rpc_util.h: Likewise.
36802         * sunrpc/rpcinfo.c: Likewise.
36803         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36804         * sunrpc/rpcsvc/key_prot.x: Likewise.
36805         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36806         * sunrpc/rpcsvc/mount.x: Likewise.
36807         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36808         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36809         * sunrpc/rpcsvc/rex.x: Likewise.
36810         * sunrpc/rpcsvc/rstat.x: Likewise.
36811         * sunrpc/rpcsvc/rusers.x: Likewise.
36812         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36813         * sunrpc/rpcsvc/spray.x: Likewise.
36814         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36815         * sunrpc/rtime.c: Likewise.
36816         * sunrpc/svc.c: Likewise.
36817         * sunrpc/svc_auth.c: Likewise.
36818         * sunrpc/svc_authux.c: Likewise.
36819         * sunrpc/svc_raw.c: Likewise.
36820         * sunrpc/svc_run.c: Likewise.
36821         * sunrpc/svc_simple.c: Likewise.
36822         * sunrpc/svc_tcp.c: Likewise.
36823         * sunrpc/svc_udp.c: Likewise.
36824         * sunrpc/svc_unix.c: Likewise.
36825         * sunrpc/svcauth_des.c: Likewise.
36826         * sunrpc/xcrypt.c: Likewise.
36827         * sunrpc/xdr.c: Likewise.
36828         * sunrpc/xdr_array.c: Likewise.
36829         * sunrpc/xdr_float.c: Likewise.
36830         * sunrpc/xdr_mem.c: Likewise.
36831         * sunrpc/xdr_rec.c: Likewise.
36832         * sunrpc/xdr_ref.c: Likewise.
36833         * sunrpc/xdr_sizeof.c: Likewise.
36834         * sunrpc/xdr_stdio.c: Likewise.
36836         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36837         handling.
36839 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36841         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36843 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36845         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36846         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36847         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36848         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36850         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36851         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36852         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36853         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36854         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36855         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36856         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36857         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36858         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36860 2010-07-26  Anton Blanchard  <anton@samba.org>
36862         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36863         * malloc/arena.c (heap_trim): Likewise.
36865 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36867         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36868         here.  Not...
36869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36870         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36872 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36874         * sysdeps/i386/elf/Makefile: New file.
36876 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36878         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36879         from fanotify_init.
36880         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36883 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36885         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36886         of strncasecmp_l.
36887         * sysdeps/multiarch/strcmp.S: Likewise.
36889 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36891         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36892         strncase_l-nonascii.
36893         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36894         Add strncase_l-ssse3.
36895         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36896         * sysdeps/x86_64/strcmp.S: Likewise.
36897         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36898         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36899         * sysdeps/x86_64/strncase.S: New file.
36900         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36901         * sysdeps/x86_64/strncase_l.S: New file.
36902         * string/Makefile (strop-tests): Add strncasecmp.
36903         * string/test-strncasecmp.c: New file.
36905         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36906         warning.
36908         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36909         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36911 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36913         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36915 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36917         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36918         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36919         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36921 2010-05-01  Alan Modra  <amodra@gmail.com>
36923         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36924         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36925         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36926         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36927         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36928         tidying.  Don't tail-call __sigjmp_save for static lib.
36929         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36930         save location.
36931         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36932         (CALL_MCOUNT): Add eh info, and nop after bl.
36933         (TAIL_CALL_SYSCALL_ERROR): New macro.
36934         (PSEUDO_RET): Use it.
36935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36936         Correct save location of integer regs and cr.
36937         (_dl_profile_resolve): Correct cr save location.  Delete nops
36938         after bl when SHARED.  Reduce cfi size a little by better
36939         placement of cfi directives.
36940         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36941         make a stack frame.  Instead use parm save area as a temp.
36942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36943         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36945         Don't make a stack frame for parent, use parm save area.
36946         Increase child stack frame to 112 bytes.  Don't save unused reg,
36947         and adjust reg usage.  Set up cfi on error recovery and
36948         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36950         (__makecontext): Add dummy nop after jump to exit.
36951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36952         Use correct parm save area and cr save, reduce stack frame.
36953         Correct cfi for possible PSEUDO_RET frame setup.
36954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36955         Branch to local label emitted by PSEUDO_RET rather than
36956         __syscall_error.
36958 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36960         [BZ #11904]
36961         * locale/programs/locale.c (print_assignment): New function.
36962         (show_locale_vars): Use it.
36964 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36966         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36967         field.
36968         (struct statfs64): Likewise.
36969         (_STATFS_F_FLAGS): Define.
36970         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36971         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36972         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36973         (ST_VALID): Define locally.
36974         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36975         __statvfs_getflags, use the provided value.
36976         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36977         __ASSUME_STATFS_F_FLAGS.
36979         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36981         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36982         Add sys/fanotify.h.
36983         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36984         fanotify_mask for GLIBC_2.13.
36985         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36986         fanotify_init and fanotify_mark.
36987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36988         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36990         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36991         Add prlimit.
36992         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36993         prlimit64 for GLIBC_2.13.
36994         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36995         prlimit64.
36996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36997         syscall.
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37000         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37001         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37003         add prlimit alias.
37004         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37006         [BZ #11903]
37007         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37008         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37010         * nss/Makefile: Add rules to build and run tst-nss-test1.
37011         * shlib-versions: Add entry for libnss_test1.
37012         * nss/nss_test1.c: New file.
37013         * nss/tst-nss-test1.c: New file.
37015         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37016         (__nss_configure_lookup): Set appropriate entry in
37017         __nss_configure_lookup to true.
37018         * nss/nsswitch.h: Define enum with indeces of databases in
37019         databases and __nss_database_custom arrays.  Declare
37020         __nss_database_custom.
37021         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37022         to avoid using nscd when custom rules are installed.
37023         * nss/getXXbyYY_r.c: Likewise.
37024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37026         * nss/nss_files/files-parse.c: Whitespace fixes.
37028 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37030         [BZ #11883]
37031         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37032         * posix/fnmatch_loop.c: Likewise.
37034 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37036         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37037         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37038         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37039         * Versions.def [GLIBC_2.13]: Add.
37041 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37043         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37044         Also fail if tpwd after pwuid call is NULL.
37046 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37048         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37049         when converting to ms.
37051 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37053         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37054         EOPNOTSUPP errors with ENOTTY.
37055         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37056         EOPNOTSUPP errors with ENOTTY.
37058 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37060         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37061         Add strcasecmp_l-ssse3.
37062         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37063         strcasecmp.
37064         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37065         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37066         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37068 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37070         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37072         * string/Makefile (strop-tests): Add strcasecmp.
37073         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37074         strcasecmp_l-nonascii.
37075         (gen-as-const-headers): Add locale-defines.sym.
37076         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37077         * sysdeps/x86_64/strcasecmp.S: New file.
37078         * sysdeps/x86_64/strcasecmp_l.S: New file.
37079         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37080         * sysdeps/x86_64/locale-defines.sym: New file.
37081         * string/test-strcasecmp.c: New file.
37083         * string/test-strcasestr.c: Test both ends of the range of characters.
37084         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37086 2010-07-29  Roland McGrath  <roland@redhat.com>
37088         [BZ #11856]
37089         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37091 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37093         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37094         for ld.so.
37096 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37098         * manual/memory.texi (Malloc Tunable Parameters): Document
37099         M_PERTURB.
37101 2010-07-26  Roland McGrath  <roland@redhat.com>
37103         [BZ #11840]
37104         * configure.in (-fgnu89-inline check): Set and substitute
37105         gnu89_inline, not libc_cv_gnu89_inline.
37106         * configure: Regenerated.
37107         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37109 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37111         * string/test-strnlen.c: New file.
37112         * string/Makefile (strop-tests): Add strnlen.
37113         * string/tester.c (test_strnlen): Add a few more test cases.
37114         * string/tst-strlen.c: Better error reporting.
37116         * sysdeps/x86_64/strnlen.S: New file.
37118 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37120         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37121         lower-latency instructions.
37123 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37125         * string/test-strcasestr.c: New file.
37126         * string/test-strstr.c: New file.
37127         * string/Makefile (strop-tests): Add strstr and strcasestr.
37128         * string/str-two-way.h: Don't undefine MAX.
37129         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37131 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37134         strcasestr-nonascii.
37135         (CFLAGS-strcasestr-nonascii.c): Define.
37136         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37137         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37138         Remove unused attribute.
37140 2010-07-20  Roland McGrath  <roland@redhat.com>
37142         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37143         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37144         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37145         like LD_HWCAP_MASK can disable hwcaps.
37147 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37149         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37151 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37153         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37154         call in strcasestr.
37155         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37156         __strcasestr_sse42_nonascii.
37157         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37158         strcasestr-nonascii.c.
37159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37161 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37163         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37164         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37165         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37166         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37168 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37170         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37171         fcntl.
37173 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37175         [BZ #11577]
37176         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37177         dl_signal_cerror.
37179 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37182         _PC_PIPE_BUF using F_GETPIPE_SZ.
37184 2010-07-05  Roland McGrath  <roland@redhat.com>
37186         * manual/arith.texi (Rounding Functions): Fix rint description
37187         implicit in round description.
37189 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37191         * elf/Makefile: Fix linking for a few tests to make recent linker
37192         happy.
37194 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37196         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37197         $(common-objpfx)libc_nonshared.a.
37199 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37201         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37202         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37203         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37204         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37205         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37206         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37207         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37208         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37223         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37224         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37225         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37226         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37227         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37228         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37229         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37230         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37231         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37232         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37233         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37234         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37250 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37252         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37253         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37254         * string/memmove.c (memmove): Renamed to ...
37255         (MEMMOVE): ...this.  Default to memmove.
37256         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37257         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37258         (END_CHK): Define.
37259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37260         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37261         mempcpy-ssse3-back memmove-ssse3-back.
37262         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37263         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37264         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37265         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37266         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37267         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37268         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37269         * sysdeps/x86_64/multiarch/memmove.c: New file.
37270         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37271         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37272         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37273         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37275         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37276         Define.
37277         (index_Fast_Copy_Backward): Define.
37278         (HAS_ARCH_FEATURE): Define.
37279         (HAS_FAST_REP_STRING): Define.
37280         (HAS_FAST_COPY_BACKWARD): Define.
37282 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37284         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37285         Restore proper fallback handling.
37287 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37289         [BZ #11701]
37290         * posix/group_member.c (__group_member): Correct checking loop.
37292         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37293         OOM in getpwuid_r correctly.  Return error number when the caller
37294         should return, otherwise -1.
37295         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37296         call returning > 0 value.
37297         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37299 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37301         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37302         libc_nonshared.a from targets in modules-names.
37304 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37306         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37307         requires it.
37309 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37312         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37314         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37316 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37318         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37320 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37322         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37323         and F_GETPIPE_SZ.
37324         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37325         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37326         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37329         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37331 2010-06-14  Roland McGrath  <roland@redhat.com>
37333         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37335 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37337         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37338         __REDIRECT followed by __THROW.
37339         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37340         * posix/getopt.h (getopt): Likewise.
37342 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37344         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37345         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37346         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37347         in AT_FLAGS.
37348         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37349         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37351 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37355 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37357         [BZ #11640]
37358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37359         Properly check family and model.
37361 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37363         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37365 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37367         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37369 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37371         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37372         symbol reference.
37374 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37376         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37377         symbol reference.
37379 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37382         and internal_recvmmsg.
37383         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37384         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37385         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37386         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37388         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37389         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37390         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37392 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37394         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37396 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37398         POWER7 optimizations.
37399         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37400         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37402 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37404         * version.h: Update for 2.13 development version.
37406 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37408         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37409         exceptions.  Return 0.
37411 2010-05-07  Roland McGrath  <roland@redhat.com>
37413         * elf/ldconfig.c (main): Add a const.
37415 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37417         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37418         (args_options): Add no-idn option.
37419         (ahosts_keys_int): Add idn_flags to ai_flags.
37420         (parse_option): Handle 'i' option to clear idn_flags.
37422         * malloc/malloc.c (_int_free): Possible race in the most recently
37423         added check.  Only act on the data if no current modification
37424         happened.
37426 See ChangeLog.17 for earlier changes.