Add --enable-maintainer-mode configure option
[glibc.git] / ChangeLog
blobb6b54f8d397f27902965dfcaa05653d54f0f6593
1 2013-12-16  Allan McRae  <allan@archlinux.org>
3         [BZ #14120]
4         * configure.ac: Added --enable-maintainer-mode. Check for
5         autoconf when enabled.
6         * configure: Regenerated.
8         * nscd/nscd.service: New file.
9         * nscd/nscd.tmpfiles: New file.
11 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13         [BZ #12100]
14         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17         (strstr): Add __strstr_sse2_unaligned ifunc.
18         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20         (strcasestr): Remove __strcasestr_sse42 ifunc.
21         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28         * sysdeps/sh/bits/fenv.h: ... here.
29         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38         hypotf multiarch implementations.
39         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42         multiarch hypot for PPC64.
43         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46         multiarch hypotf for PPC64.
48 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51         modff multiarch implementations.
52         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55         multiarch modf for PPC64.
56         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59         multiarch modff for PPC64.
61 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
64         and logl multiarch implementations.
65         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
66         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
67         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
68         multiarch logb for PPC64.
69         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
70         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
71         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
72         multiarch logb for PPC64.
73         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
74         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
75         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
76         multiarch logb for PPC64.
78 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
81         isinff multiarch implementation.
82         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
83         file.
84         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
85         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
86         multiarch isinf for PPC64.
87         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
88         file.
89         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
90         multiarch isinff for PPC64.
92 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
94         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
95         finitef multiarch implementation.
96         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
97         file.
98         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
99         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
100         multiarch finite for PPC64.
101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
102         file.
103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
104         multiarch finitef for PPC64.
106 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
109         lrint multiarch implementation.
110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
111         file.
112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
114         multiarch llrint for PPC64.
115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
116         multiarch lrint for PPC64.
118 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
121         copysignf multiarch implementation.
122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
123         file.
124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
125         file.
126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
127         multiarch copysign for PPC64.
128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
129         multiarch copysignf for PPC64.
131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
134         multiarch implementation.
135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
136         file.
137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
138         file.
139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
140         file.
141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
142         file.
143         multiarch llround for PPC64.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
145         multiarch trunc for PPC64.
146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
147         multiarch truncf for PPC64.
149 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
152         multiarch implementation.
153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
154         file.
155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
156         file.
157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
158         file.
159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
160         file.
161         multiarch llround for PPC64.
162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
163         multiarch round for PPC64.
164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
165         multiarch roundf for PPC64.
167 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
170         multiarch implementation.
171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
172         file.
173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
174         file.
175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
176         file.
177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
178         file.
179         multiarch llround for PPC64.
180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
181         multiarch floor for PPC64.
182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
183         multiarch floorf for PPC64.
185 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
188         multiarch implementation.
189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
190         file.
191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
192         file.
193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
194         file.
195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
196         file.
197         multiarch llround for PPC64.
198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
199         multiarch ceil for PPC64.
200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
201         multiarch ceilf for PPC64.
203 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
206         multiarch implementation.
207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
208         file.
209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
210         file.
211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
212         file.
213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
214         multiarch llround for PPC64.
215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
216         multiarch lround for PPC64.
218 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
221         multiarch implementation.
222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
225         file.
226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
229         multiarch isnan for PPC64.
230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
231         multiarch isnanf for PPC64.
233 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
235         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
236         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
237         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
238         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
239         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
242 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
244         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
245         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
246         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
247         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
249 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
252         multiarch implementations.
253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
254         (__libc_ifunc_impl_list): Likewise.
255         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
257         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
258         multiarch stpcpy for PPC64.
260 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
263         multiarch implementations.
264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
265         (__libc_ifunc_impl_list): Likewise.
266         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
267         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
268         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
269         multiarch strcpy for PPC64.
271 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
273         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
274         redefine function name.
275         (_wordcopy_fwd_dest_aligned): Likewise.
276         (_wordcopy_bwd_aligned): Likewise.
277         (_wordcopy_bwd_dest_aligned): Likewise.
278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
279         multiarch implementations.
280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
281         (__libc_ifunc_impl_list): Likewise.
282         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
284         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
285         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
286         multiarch wcscpy for PPC64.
288 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
291         multiarch implementations.
292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
293         (__libc_ifunc_impl_list): Likewise.
294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
295         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
296         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
297         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
298         multiarch wcscpy for PPC64.
300 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
303         multiarch implementations.
304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
305         (__libc_ifunc_impl_list): Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
307         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
308         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
309         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
310         multiarch wcsrchr for PPC64.
312 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
315         multiarch implementations.
316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
317         (__libc_ifunc_impl_list): Likewise.
318         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
319         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
320         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
321         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
322         multiarch wcschr for PPC64.
324 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
327         multiarch implementations.
328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
329         (__libc_ifunc_impl_list): Likewise.
330         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
331         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
332         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
333         multiarch strchrnul for PPC64.
335 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
338         implementations.
339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
340         (__libc_ifunc_impl_list): Likewise.
341         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
342         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
343         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
344         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
345         strchr for PPC64.
347 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
350         implementations.
351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
352         (__libc_ifunc_impl_list): Likewise.
353         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
354         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
356         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
357         strncmp for PPC64.
359 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
362         multiarch implementations.
363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
364         (__libc_ifunc_impl_list): Likewise.
365         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
366         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
367         strncasecmp for PPC64.
368         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
369         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
370         multiarch strncasecmp_l for PPC64.
372 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
375         multiarch implementations.
376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
377         (__libc_ifunc_impl_list): Likewise.
378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
379         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
380         multiarch strcasecmp for PPC64.
381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
382         file.
383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
384         multiarch strcasecmp_l for PPC64.
386 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
389         implementations.
390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
391         (__libc_ifunc_impl_list): Likewise.
392         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
393         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
394         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
395         strnlen for PPC64.
397 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
400         implementations.
401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
402         (__libc_ifunc_impl_list): Likewise.
403         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
404         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
405         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
406         strlen for PPC64.
408 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
411         implementations.
412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
413         (__libc_ifunc_impl_list): Likewise.
414         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
415         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
416         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
417         rawmemrchr for PPC64.
419 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
422         implementation.
423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
424         (__libc_ifunc_impl_list): Likewise.
425         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
426         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
427         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
428         memrchr for PPC64.
430 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
433         implementation.
434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
435         (__libc_ifunc_impl_list): Likewise.
436         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
437         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
438         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
439         memchr for PPC64.
441 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
444         implementation.
445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
446         (__libc_ifunc_impl_list): Likewise.
447         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
448         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
449         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
450         mempcpy for PPC64.
452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
454         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
455         avoid cretion of __bzero symbol.
456         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
457         Likewise.
458         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
459         Likewise.
460         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
461         Likewise.
462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
463         multiarch implementations.
464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
465         (__libc_ifunc_impl_list): Likewise.
466         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
467         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
468         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
469         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
470         bzero for PPC32.
471         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
472         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
473         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
474         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
475         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
476         memset for PPC64.
477         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
479 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
481         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
483         implementations.
484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
485         (__libc_ifunc_impl_list): Likewise.
486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
487         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
488         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
489         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
490         memcmp for PPC64.
492 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
495         multiarch for POWER/PPC64.
496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
497         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
498         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
499         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
502         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
504         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
505         memcpy for PPC64.
507 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
509         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
510         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
511         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
512         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
513         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
514         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
516         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
517         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
518         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
519         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
520         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
521         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
522         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
523         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
532 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
536 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
538         * benchtests/Makefile (bench): Add exp2 and log2.
539         (LDLIBS-bench-exp2): Add -lm.
540         (LDLIBS-bench-log2): Likewise.
541         * benchtests/exp2-inputs: New inputs file.
542         * benchtests/log2-inputs: New inputs file.
543         * benchtests/log-inputs: Add new inputs.
544         * benchtests/tan-inputs: Likewise.
546 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
548         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
549         definition...
550         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
551         csloww1, csloww2): ... from here.
553         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
554         instead of structures.
555         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
556         (POLYNOMIAL): Likewise.
557         (TAYLOR_SLOW): Likewise.
558         (__sin): Likewise.
559         (__cos): Likewise.
560         (slow1): Likewise.
561         (slow2): Likewise.
562         (sloww): Likewise.
563         (sloww1); Likewise.
564         (sloww2): Likewise.
565         (bsloww1): Likewise.
566         (bsloww2): Likewise.
567         (cslow2): Likewise.
568         (csloww): Likewise.
569         (csloww1): Likewise.
570         (csloww2): Likewise.
572 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
574         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
575         (__malloc_assert, __libc_realloc, __libc_calloc,
576         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
577         memcpy and memset.
578         * malloc/hooks.c (realloc_check): Likewise.
580 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
582         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
583         * malloc/arena.c: Remove PER_THREAD conditional.
584         [!PER_THREAD]: Remove code.
585         (ptmalloc_unlock_all2): Likewise.
586         (ptmalloc_init): Likewise.
587         (_int_new_arena): Likewise.
588         (arena_get2): Likewise.
589         * malloc/hooks.c (__malloc_get_state): Likewise.
590         (__malloc_set_state): Likewise.
591         * malloc/malloc.c: Likewise.
592         (struct malloc_state): Likewise.
593         (struct malloc_par): Likewise.
594         (__libc_realloc): Likewise.
595         (__libc_mallopt): Likewise.
597 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
599         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
601 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
603         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
604         macro to a function.  Check for zero perturb_byte.
605         (_int_malloc, _int_free): Remove zero perturb_byte checks.
607 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
609         * malloc/malloc.c: (force_reg): Remove.
610         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
611         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
612         force_reg by atomic_forced_read.
613         * malloc/arena.c (ptmalloc_init): Likewise.
614         * malloc/hooks.c (top_check): Likewise.
616 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
620 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
624 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
626         * math/auto-libm-test-in: Add tests of lgamma.
627         * math/auto-libm-test-out: Regenerated.
628         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
629         (M_LOG_2_SQRT_PIl): Likewise.
630         (lgamma_test_data): Use AUTO_TESTS_f_f1.
631         * math/gen-auto-libm-tests.c (func_calc_method): Add value
632         mpfr_f_f1.
633         (func_calc_desc): Add mpfr_f_f1 union field.
634         (ARGS1): New macro.
635         (ARGS2): Likewise.
636         (ARGS3): Likewise.
637         (ARGS4): Likewise.
638         (RET1): Likewise.
639         (RET2): Likewise.
640         (CALC): Likewise.
641         (FUNC): Likewise.
642         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
643         (test_functions): Add lgamma.
644         (calc_generic_results): Handle mpfr_f_f1.
645         * sysdeps/i386/fpu/libm-test-ulps: Update.
646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
650         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
651         __mpn_add_n for PowerPC64/POWER7.
652         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
653         __mpn_sub_n for PowerPC64/POWER7.
655 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
657         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
658         __mpn_addmul_1 for PowerPC64.
659         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
660         __mpn_submul_1 for PowerPC64.
661         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
662         for PowerPC64.
663         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
664         for PowerPC64.
666 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
668         [BZ #15089]
669         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
671 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
673         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
677         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
678         add multiarch folders.
679         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
680         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
681         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
682         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
683         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
684         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
685         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
686         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
687         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
688         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
689         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
700         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
702         New file.
703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
704         New file.
705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
706         multiarch __ieee754_hypot for PowerPC32.
707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
708         New file.
709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
710         New file.
711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
712         multiarch __ieee754_hypotf for PowerPC32.
714 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
716         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
717         long_double_symbol only if __logbl is defined.
718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
719         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
721         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
723         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
724         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
725         path for implementation.
726         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
727         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
729         logb, and logbl multiarch implementations for PowerPC32.
730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
731         file.
732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
733         file.
734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
735         multiarch logb for PowerPC32.
736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
737         file.
738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
739         file.
740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
741         multiarch logbf for PowerPC32.
742         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
744         file.
745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
746         multiarch logbl implementation for PowerPC32.
748 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
751         and modff multiarch implementations.
752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
753         New file.
754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
755         New file.
756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
757         multiarch modf for PowerPC32.
758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
759         New file.
760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
761         New file.
762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
763         multiarch modff for PowerPC32.
765 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
768         and lrintf multiarch implementations.
769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
770         New file.
771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
772         New file.
773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
774         multiarch lrint for PowerPC32.
775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
776         file: multiarch lrintf for PowerPC32.
778 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
781         and lroundf multiarch implementations.
782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
783         New file.
784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
785         New file.
786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
787         New file.
788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
789         multiarch lround for PowerPC32.
790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
791         file: multiarch lroundf for PowerPC32.
793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
796         copysign and copysignf multiarch implementations.
797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
798         New file.
799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
800         New file.
801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
802         file: multiarch copysign for PowerPC32.
803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
804         file: multiarch copysignf for PowerPC32.
806 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
809         and truncf multiarch implementations.
810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
811         New file.
812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
813         file.
814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
815         multiarch trunc for PowerPC32.
816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
817         New file.
818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
819         New file.
820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
821         multiarch truncf for PowerPC32.
823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
826         and roundf multiarch implementations.
827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
828         New file.
829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
830         file.
831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
832         multiarch round for PowerPC32.
833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
834         New file.
835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
836         New file.
837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
838         multiarch roundf for PowerPC32.
840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
843         and floorf multiarch implementations.
844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
845         New file.
846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
847         file.
848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
849         multiarch floor for PowerPC32.
850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
851         New file.
852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
853         New file.
854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
855         multiarch floorf for PowerPC32.
857 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
860         and ceilf multiarch implementations.
861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
862         New file.
863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
864         file.
865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
866         multiarch ceil for PowerPC32.
867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
868         New file.
869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
870         file.
871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
872         multiarch ceilf for PowerPC32.
874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
877         is defined.
878         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
879         FINITEF is defined.
880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
881         and finitef multiarch implementations.
882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
883         New file.
884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
885         file.
886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
887         multiarch finite for PowerPC32.
888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
889         New file.
890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
891         file: multiarch finitef for PowerPC32.
893 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
896         and isinff multiarch implementations.
897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
898         file.
899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
900         file.
901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
902         multiarch isinf for PowerPC32.
903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
904         New file.
905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
906         multiarch isinff for PowerPC32.
908 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
911         alias when __isnan is defined.
912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
913         and isnanf multiarch implementations.
914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
915         file.
916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
917         file.
918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
919         file.
920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
921         file.
922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
923         multiarch isnan for PowerPC32.
924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
925         New file.
926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
927         New file.
928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
929         multiarch isnanf for PowerPC32.
931 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
934         and sqrtf multiarch implementations.
935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
936         file.
937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
938         file.
939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
940         multiarch sqrt for PowerPC32.
941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
942         file.
943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
944         file.
945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
946         multiarch sqrtf for PowerPC32.
948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
951         and llroundf multiarch implementations.
952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
953         New file.
954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
955         New file.
956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
957         New file.
958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
959         file: multiarch llround for PowerPC32.
960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
961         file: multiarch llroundf for PowerPC32.
963 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
966         multiarch PowerPC32 fpu implementations.
967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
968         New file.
969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
970         New file.
971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
972         multiarch llrint for PowerPC32.
973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
974         New file.
975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
976         New file.
977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
978         file.
980 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
984 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
987         file.
988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
989         file.
990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
991         file.
992         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
993         multiarch wordcopy for PPC32.
994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
995         wordcopy objects.
996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
997         (__libc_ifunc_impl_list): Likewise.
998         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
999         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1000         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1001         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1002         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1003         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1005 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1007         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1009         file.
1010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1011         file.
1012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1013         file.
1014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1015         multiarch wcscpy for PPC32.
1016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1017         multiarch objects.
1018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1019         (__libc_ifunc_impl_list): Likewise.
1020         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1021         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1022         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1023         sysdeps/powerpc/power6/wcscpy.c.
1025 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1027         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1029         file.
1030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1031         file.
1032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1033         file.
1034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1035         multiarch wcsrchr for PPC32.
1036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1037         multiarch objects.
1038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1039         (__libc_ifunc_impl_list): Likewise.
1040         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1041         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1042         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1043         sysdeps/powerpc/power6/wcsrchr.c.
1045 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1048         file.
1049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1050         file.
1051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1053         multiarch wcschr for PPc32.
1054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1055         multiarch objects.
1056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1057         (__libc_ifunc_impl_list): Likewise.
1058         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1059         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1060         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1061         sysdeps/powerpc/power6/wcschr.c.
1063 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1065         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1067         file.
1068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1069         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1070         file: multiarch strchr for PPC32.
1071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1072         multiarch objects.
1073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1074         (__libc_ifunc_impl_list): Likewise.
1076 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1078         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1079         name.
1080         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1081         file.
1082         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1083         file.
1084         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1085         multiarch strchrnul for PPC32.
1086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1087         multiarch objects.
1088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1089         (__libc_ifunc_impl_list): Likewise.
1091 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1094         file.
1095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1096         multiarch strncasecmp for PPC32.
1097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1098         file.
1099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1100         multiarch strncasecmp_l for PPC32.
1101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1102         strncasecmp multiarch objects.
1103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1104         (__libc_ifunc_impl_list): Likewise.
1106 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1109         file.
1110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1111         multiarch strncasecmp for PPC32.
1112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1113         New file.
1114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1115         multiarch strcasecmp_l for PPC32.
1116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1117         multiarch objects.
1118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1119         (__libc_ifunc_impl_list): Likewise.
1121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1124         file.
1125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1126         file.
1127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1128         multiarch strncmp for PPC32.
1129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1130         multiarch objects.
1131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1132         (__libc_ifunc_impl_list): Likewise.
1134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1136         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1137         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1138         file.
1139         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1140         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1142         multiarch objects.
1143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1144         (__libc_ifunc_impl_list): Likewise.
1146 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1148         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1149         file.
1150         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1151         file.
1152         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1154         multiarch objects.
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1156         (__libc_ifunc_impl_list): Likewise.
1158 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1160         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1161         file.
1162         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1163         file.
1164         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1165         multiarch rawmemchr for PPC32.
1166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1167         multiarch objects.
1168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1169         (__libc_ifunc_impl_list): Likewise.
1171 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1173         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1174         file.
1175         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1176         file.
1177         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1178         file: memrchr multiarch for PPC32.
1179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1180         multiarch objects.
1181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1182         (__libc_ifunc_impl_list): Likewise.
1184 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1186         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1187         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1188         file.
1189         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1190         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1191         multiarch memchr for PPC32.
1192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
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         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1200         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1201         file.
1202         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1203         file.
1204         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1205         file: multiarch mempcpy for PPC32.
1206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1207         multiarch objects.
1208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1209         (__libc_ifunc_impl_list): Likewise.
1211 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1213         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1214         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1217         multiarch bzero for PPC32.
1218         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1219         file.
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1221         file.
1222         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1223         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1224         file: multiarch memset for PPC32.
1225         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1227         memset multiarch objects.
1228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1229         (__libc_ifunc_impl_list): Likewise.
1231 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1234         file.
1235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1237         memcmp for PPC32.
1238         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1240         multiarch objects.
1241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1242         (__libc_ifunc_impl_list): Likewise.
1244 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1246         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1249         file.
1250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1251         file.
1252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1253         file.
1254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1255         multiarch memcpy for PPC32.
1256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1257         multiarch objects.
1258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1259         (__libc_ifunc_impl_list): Likewise.
1261 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1264         support multiarch for POWER/PPC32.
1265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1266         Likewise.
1267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1269         Implies file to make multiarch folder appers before the fpu and
1270         default folder for power4 configuration.
1272 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1274         * scripts/bench.pl: Append volatile keyword to type.
1276 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1278         * sysdeps/sh/sotruss-lib.c: New file.
1279         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1281 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1285 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1287         [BZ #6810]
1288         * math/w_tgamma.c: Include <errno.h>.
1289         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1290         * math/w_tgammaf.c: Include <errno.h>.
1291         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1292         * math/w_tgammal.c: Include <errno.h>.
1293         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1294         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1295         underflow.  Add more tgamma tests.
1296         * math/auto-libm-test-out: Regenerated.
1297         * sysdeps/i386/fpu/libm-test-ulps: Update.
1298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1301         sin, sinh, tan, tanh, tgamma, y0 and y1.
1302         * math/auto-libm-test-out: Regenerated.
1303         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1304         (TEST_COND_x86): Likewise.
1305         (M_E2l): Remove macro.
1306         (M_E3l): Likewise.
1307         (M_2_SQRT_PIl): Likewise.
1308         (M_SQRT_PIl): Likewise.
1309         (M_1_DIV_El): Likewise.
1310         (log_test_data): Use AUTO_TESTS_f_f.
1311         (log10_test_data): Likewise.
1312         (log1p_test_data): Likewise.
1313         (log2_test_data): Likewise.
1314         (sin_test_data): Likewise.
1315         (sin_tonearest_test_data): Likewise.
1316         (sin_towardzero_test_data): Likewise.
1317         (sin_downward_test_data): Likewise.
1318         (sin_upward_test_data): Likewise.
1319         (sinh_test_data): Likewise.
1320         (sinh_tonearest_test_data): Likewise.
1321         (sinh_towardzero_test_data): Likewise.
1322         (sinh_downward_test_data): Likewise.
1323         (sinh_upward_test_data): Likewise.
1324         (tan_test_data): Likewise.
1325         (tan_tonearest_test_data): Likewise.
1326         (tan_towardzero_test_data): Likewise.
1327         (tan_downward_test_data): Likewise.
1328         (tan_upward_test_data): Likewise.
1329         (tanh_test_data): Likewise.
1330         (tgamma_test_data): Likewise.
1331         (y0_test_data): Likewise.
1332         (y1_test_data): Likewise.
1333         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1334         (special_real_inputs): Add pi/4.
1335         * sysdeps/i386/fpu/libm-test-ulps: Update.
1336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1338 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1340         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1341         "longjmp_target" static probes.
1342         (__longjmp): Rename to __longjmp_symbol.
1343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1344         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1345         on which longjmp to generate.
1346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1348         probe.
1349         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1350         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1353         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1354         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1356         __longjmp_symbol based on which __longjmp to generate.
1357         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1358         probe.
1359         (setjmp): Rename to setjmp_symbol.
1360         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1361         (_setjmp): Rename to _setjmp_symbol.
1362         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1363         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1364         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1365         which setjmp to generate.
1366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1367         "longjmp_target" static probes.
1369 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1371         * benchtests/README: Add note about output arguments.
1372         * benchtests/bench-sincos.c: Remove file.
1373         * benchtests/sincos-inputs: New file.
1374         * scripts/bench.pl: Identify output arguments and define
1375         static variables for them.
1377         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1379         [BZ #15941]
1380         * Makefile (INSTALL): Add install-plain.texi as the primary
1381         dependency.
1382         * manual/install-plain.texi: New file.
1383         * manual/install.texi: Include node directive only for
1384         non-plaintext output.
1386 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1388         * stdlib/longlong.h: Update from GCC.
1390         [BZ #6807]
1391         [BZ #15901]
1392         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1393         * math/w_j0f.c (y0f): Likewise.
1394         * math/w_j0l.c (__y0l): Likewise.
1395         * math/w_j1.c (y1): Likewise.
1396         * math/w_j1f.c (y1f): Likewise.
1397         * math/w_j1l.c (__y1l): Likewise
1398         * math/w_jn.c (yn): Likewise.
1399         * math/w_jnf.c (ynf): Likewise.
1400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1401         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1402         value for Bessel function domain errors outside _SVID_ mode.
1403         Adjust sign of return value for yn (negative integer, 0).
1404         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1405         by zero in return for negative x and set sign appropriately for
1406         negative n.
1407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1409         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1410         expectations in error cases.
1411         (y1_test_data): Likewise.
1412         (yn_test_data): Likewise.
1413         * sysdeps/i386/fpu/libm-test-ulps: Update.
1414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1416 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1418         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1419         "64" to "64-v1".  Add "64-v2".
1420         (abi-64-options): Rename to ...
1421         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1422         (abi-64-condition): Rename to ...
1423         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1424         (abi-64-ld-soname): Rename to ...
1425         (abi-64-v1-ld-soname): ... this.
1426         (abi-64-v2-options): Define.
1427         (abi-64-v2-condition): Likewise.
1428         (abi-64-v2-ld-soname): Likewise.
1429         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1430         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1435 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1436             Alan Modra  <amodra@gmail.com>
1438         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1439         New versions for use with the ELFv2 ABI.
1440         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1441         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1442         declaration.
1443         (struct La_ppc64v2_retval): Likewise.
1444         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1445         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1446         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1447         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1448         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1449         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1450         Do not save or restore CR.
1451         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1452         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1453         return values for ELFv2 ABI.  Fix location of FPR return registers.
1454         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1455         updated values for _CALL_ELF == 2.
1456         (La_regs, La_retval, int_retval): Likewise.
1458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1460         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1461         (FRAME_MIN_SIZE_PARM): Likewise.
1462         (FRAME_BACKCHAIN): Likewise.
1463         (FRAME_CR_SAVE): Likewise.
1464         (FRAME_LR_SAVE): Likewise.
1465         (FRAME_TOC_SAVE): Likewise.
1466         (FRAME_PARM_SAVE): Likewise.
1467         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1468         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1469         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1470         (call_mcount_parm_offset): New macro.
1471         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1472         (PROF): Use symbolic stack frame offsets.
1473         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1475         Redefine in terms of FRAME_MIN_SIZE.
1476         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1477         (_dl_profile_resolve): Likewise.  Update comment.
1478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1479         symbols stack frame offsets.
1480         (__sigsetjmp): Likewise.
1481         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1482         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1484         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1487         (FRAME_BACKCHAIN): Remove.
1488         (FRAME_CR_SAVE): Likewise.
1489         (FRAME_LR_SAVE): Likewise.
1490         (FRAME_COMPILER_DW): Likewise.
1491         (FRAME_LINKER_DW): Likewise.
1492         (FRAME_TOC_SAVE): Likewise.
1493         (FRAME_PARM_SAVE): Likewise.
1494         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1495         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1496         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1498         (CHECK_SP): Use symbolic stack frame offsets.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1500         zone" instead of caller's parameter save area for temp storage.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1502         Likewise.  Also, use symbolic stack frame offsets.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1504         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1505         our own stack frame instead of the caller's.
1506         (__socket): Use symbolic stack frame offsets.
1508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1509             Alan Modra  <amodra@gmail.com>
1511         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1512         Define.
1513         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1514         PPC64_LOCAL_ENTRY_OFFSET): Define.
1515         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1516         New function.
1517         (elf_machine_fixup_plt): Call it.
1518         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1519         reloc arguments.
1520         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1521         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1522         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1523         r2 before calling target.
1525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1526             Alan Modra  <amodra@gmail.com>
1528         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1529         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1530         versions of macros to support ELFv2 ABI.
1531         (LOCALENTRY): New macro.
1532         (ENTRY, EALIGN): Use it.
1533         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1534         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1535         fall through into ENTRY entry point.
1536         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1537         Only define if _CALL_ELF != 2.
1539         (elf_machine_matches_host): Verify ABI version matches.
1540         (RTLD_START): Use LOCALENTRY.
1541         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1542         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1543         (PLT_ENTRY_WORDS): New macro.
1544         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1545         (elf_machine_runtime_setup): Support ELFv2 ABI.
1546         (elf_machine_fixup_plt): Likewise.
1547         (elf_machine_plt_conflict): Likewise.
1548         (resolve_ifunc): Likewise.
1549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1551         Likewise.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1553         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1555         (makecontext): Support ELFv2 ABI.
1556         * elf/elf.h (EF_PPC64_ABI): Define.
1558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1560         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1561         New assembler macro.
1562         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1563         [ASSEMBLER] (ENTRY): ... but instead here ...
1564         [ASSEMBLER] (EALIGN): ... and here.
1565         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1566         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1567         [!ASSEMBLER] (ENTRY_2): Use it.
1568         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1569         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1571         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1574         Use PPC64_LOAD_FUNCPTR.
1576 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1578         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1580 2013-12-04  Alan Modra  <amodra@gmail.com>
1582         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1583         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1584         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1585         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1588         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1589         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1590         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1591         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1592         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1594 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1597         (__makecontext): Fix incorrect CFI when backtracing out of
1598         context created via makecontext.
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1600         (__setcontext): Fix incorrect CFI during switch to new context.
1601         (__novec_setcontext): Likewise.
1603 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1605         [BZ #4772]
1606         * time/strptime_l.c (__strptime_internal): Allow modifiers
1607         in strptime.
1608         * time/tst-strptime.c (day_tests): Add testcase.
1611 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1613         * scripts/bench.pl: Skip over blank lines.
1615 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1617         [BZ #926]
1618         * manual/time.texi (Calendar Time): Clarify what timezone functions
1619         use.
1621 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1627         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1628         implementation.
1629         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1630         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1631         * debug/memset_chk.c (__memset_chk): Likewise.
1632         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1633         * debug/strncpy_chk.c: Likewise.
1635 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1637         [BZ #15268]
1638         [BZ #15425]
1639         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1640         (__ieee754_exp): For possibly underflowing results, check size of
1641         result and force underflow exception if required.
1642         * math/auto-libm-test-in: Add more tests of exp.
1643         * math/auto-libm-test-out: Regenerated.
1644         * sysdeps/i386/fpu/libm-test-ulps: Update.
1645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1647         [BZ #16283]
1648         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1649         * math/w_exp2f.c (__exp2f): Likewise.
1650         * math/w_exp2l.c (__exp2l): Likewise.
1651         * math/auto-libm-test-in: Do not allow missing errno on exp2
1652         underflow.
1653         * math/auto-libm-test-out: Regenerated.
1655 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1657         [BZ #16274]
1658         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1659         handle filename validation.
1660         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1661         (do_open): Delete.
1663 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1665         [BZ #6786]
1666         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1667         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1668         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1669         <float.h>.
1670         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1671         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1672         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1673         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1674         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1676         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1677         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1678         Add more erfc tests.
1679         * math/auto-libm-test-out: Regenerated.
1680         * sysdeps/i386/fpu/libm-test-ulps: Update.
1681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1683         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1684         exp2, expm1, j0 and j1.
1685         * math/auto-libm-test-out: Regenerated.
1686         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1687         (erfc_test_data): Likewise.
1688         (exp_test_data): Likewise.
1689         (exp_tonearest_test_data): Likewise.
1690         (exp_towardzero_test_data): Likewise.
1691         (exp_downward_test_data): Likewise.
1692         (exp_upward_test_data): Likewise.
1693         (exp10_test_data): Likewise.
1694         (exp2_test_data): Likewise.
1695         (expm1_test_data): Likewise.
1696         (j0_test_data): Likewise.
1697         (j1_test_data): Likewise.
1698         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1699         (input_flag_type): Add flag_xfail_rounding.
1700         (input_flags): Add xfail-rounding.
1701         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1702         (output_for_one_input_case): Handle flag_xfail_rounding.
1703         * sysdeps/i386/fpu/libm-test-ulps: Update.
1704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1706 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1708         [BZ #16289]
1709         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1710         division by 0.
1712 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1714         [BZ #16195]
1715         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1716         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1717         (STAP_PROBE0): New macro.
1718         (STAP_PROBE1): Likewise.
1719         (STAP_PROBE2): Likewise.
1720         (STAP_PROBE3): Likewise.
1721         (STAP_PROBE4): Likewise.
1723 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1725         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1727 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1729         * benchtests/Makefile (bench): Add sqrt.
1730         (LDLIBS-bench-sqrt): New.
1731         * benchtests/sqrt-input: New.
1733 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1735         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1736         (GAIH_EAI): Likewise.
1737         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1738         (gaih_inet): Likewise.
1739         (getaddrinfo): Don't use GAIH_EAI.
1741         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1742         (struct gaih): Remove definition.
1744 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1746         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1747         Use HERRNOP directly.
1749 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1753 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1755         * math/gen-auto-libm-tests.c (test_functions): Add more
1756         single-argument functions.
1757         (special_fill_pi_2): New function.
1758         (special_fill_minus_pi_2): Likewise.
1759         (special_fill_pi_6): Likewise.
1760         (special_fill_minus_pi_6): Likewise.
1761         (special_fill_pi_3): Likewise.
1762         (special_fill_2pi_3): Likewise.
1763         (special_fill_e): Likewise.
1764         (special_fill_1_e): Likewise.
1765         (special_fill_e_minus_1): Likewise.
1766         (special_real_inputs): Add more special inputs.
1767         (output_for_one_input_case): Do not require ERANGE on underflow to
1768         zero if round-to-nearest result does not underflow to zero, unless
1769         exact results required.
1770         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1771         atan, atanh, cbrt, cos and cosh.
1772         * math/auto-libm-test-out: Regenerated.
1773         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1774         (acos_tonearest_test_data): Likewise.
1775         (acos_towardzero_test_data): Likewise.
1776         (acos_downward_test_data): Likewise.
1777         (acos_upward_test_data): Likewise.
1778         (acosh_test_data): Likewise.
1779         (asin_test_data): Likewise.
1780         (asin_tonearest_test_data): Likewise.
1781         (asin_towardzero_test_data): Likewise.
1782         (asin_upward_test_data): Likewise.
1783         (asinh_test_data): Likewise.
1784         (atan_test_data): Likewise.
1785         (atanh_test_data): Likewise.
1786         (cbrt_test_data): Likewise.
1787         (cos_test_data): Likewise.
1788         (cos_tonearest_test_data): Likewise.
1789         (cos_towardzero_test_data): Likewise.
1790         (cos_downward_test_data): Likewise.
1791         (cos_upward_test_data): Likewise.
1792         (cosh_test_data): Likewise.
1793         (cosh_tonearest_test_data): Likewise.
1794         (cosh_towardzero_test_data): Likewise.
1795         (cosh_downward_test_data): Likewise.
1796         (cosh_upward_test_data): Likewise.
1797         * sysdeps/i386/fpu/libm-test-ulps: Update.
1798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1800 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1802         [BZ #6787]
1803         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1804         * math/w_exp10f.c (__exp10f): Likewise.
1805         * math/w_exp10l.c (__exp10l): Likewise.
1806         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1807         errno settings in existing tests.
1809         [BZ #14032]
1810         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1811         precision control set to double precision.
1812         * sysdeps/i386/fpu/w_sqrt.c: New file.
1813         * math/auto-libm-test-in: Add more tests.
1814         * math/auto-libm-test-out: Update.
1816         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1817         (sqrt_test_tonearest): New function.
1818         (sqrt_towardzero_test_data): New variable.
1819         (sqrt_test_towardzero): New function.
1820         (sqrt_downward_test_data): New variable.
1821         (sqrt_test_downward): New function.
1822         (sqrt_upward_test_data): New variable.
1823         (sqrt_test_upward): New function.
1824         (main): Call the new functions.
1826         * math/gen-auto-libm-tests.c: New file.
1827         * math/auto-libm-test-in: Likewise.
1828         * math/auto-libm-test-out: New generated file.
1829         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1830         variables.
1831         (%beautify): Add generated representations of zero.
1832         (top level): Set $auto_input and call parse_auto_input.
1833         (beautify): Remove trailing "f" from hex float constants.
1834         (parse_args): Handle XFAIL_TEST.
1835         (convert_condition): New function.
1836         (or_value): Likewise.
1837         (or_cond_value): Likewise.
1838         (generate_testfile): Handle AUTO_TESTS_* lines.
1839         (parse_auto_input): New function.
1840         * math/libm-test.inc (XFAIL_TEST): New macro.
1841         (ERRNO_UNCHANGED): Update value.
1842         (ERRNO_EDOM): Likewise.
1843         (ERRNO_ERANGE): Likewise.
1844         (IGNORE_RESULT): Likewise.
1845         (TEST_COND_flt_32): New macro.
1846         (TEST_COND_dbl_64): Likewise.
1847         (TEST_COND_ldbl_96_intel): Likewise.
1848         (TEST_COND_ldbl_96_m68k): Likewise.
1849         (TEST_COND_ldbl_128): Likewise.
1850         (TEST_COND_ldbl_128ibm): Likewise.
1851         (TEST_COND_long32): Likewise.
1852         (TEST_COND_long64): Likewise.
1853         (TEST_COND_before_rounding): Likewise.
1854         (TEST_COND_after_rounding): Likewise.
1855         (enable_test): Handle XFAIL_TEST flag.
1856         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1857         with finite results.
1858         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1859         auto-libm-test-out.
1861 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1862             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1864         [BZ #16214]
1865         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1866         __tls_get_addr_internal instead of __tls_get_offset in order to
1867         avoid GOT pointer dependency.  Make rtld export
1868         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1869         __tls_get_addr since we are a __tls_get_offset platform.
1870         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1871         GOT pointer being set up before.
1872         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1874 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1876         * manual/math.texi (Errors in Math Functions): Document accuracy
1877         goals.
1879         [BZ #15004]
1880         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1881         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1884         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1885         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1886         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1887         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1889         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1890         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1891         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1892         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1894         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1895         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1897         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1898         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1899         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1900         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1901         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1902         Likewise.
1903         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1904         Likewise.
1905         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1906         Likewise.
1907         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1908         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1909         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1910         atomic-feupdateenv and flt-rounds.
1911         * sysdeps/powerpc/nofpu/Versions (libc): Add
1912         __atomic_feholdexcept, __atomic_feclearexcept,
1913         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1914         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1915         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1916         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1917         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1918         here.
1919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1920         Update.
1922         * manual/arith.texi (FP Exceptions): Document that exceptions may
1923         not be raised when matherr is used.
1924         (Math Error Reporting): Document overflow in directed rounding
1925         modes.  Document that errno may not be set when finite values are
1926         returned on overflow.  Document intent to set errno on underflow
1927         only for underflow to zero.
1929         [BZ #16271]
1930         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1931         round-to-nearest then adjust result for other rounding modes.
1932         * include/fenv.h (fegetround): Use libm_hidden_proto.
1933         * math/fegetround.c (fegetround): Use libm_hidden_def.
1934         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1935         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1936         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1937         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1938         Likewise.
1939         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1940         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1941         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1942         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1944 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1946         [BZ #16077]
1947         * nss/Versions (libnss_files): Add
1948         _nss_files_gethostbyname3_r.
1949         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1950         New function.
1951         (HOST_DB_LOOKUP): Remove macro.
1952         (_nss_files_gethostbyname_r): Implement function without the
1953         HOST_DB_LOOKUP macro.
1954         (_nss_files_gethostbyname2_r): Likewise.
1956 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1958         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1960 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1962         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1963         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1964         warning.
1966 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1968         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1969         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1970         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1971         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1972         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1973         __fe_nomask_env_priv and attribute_hidden.
1974         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1975         (libc_feupdateenv_test_ppc): Likewise.
1976         (libc_feresetround_ppc): Likewise.
1977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1978         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1979         compat_symbol macro.
1980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1981         (__fe_nomask_env): Likewise.
1982         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1984 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1986         * string/Makefile: Remove ifunc tests.
1987         * string/test-string.h: Define TEST_IFUNC.
1988         * string/test-bcopy-ifunc.c: Remove.
1989         * string/test-bzero-ifunc.c: Likewise.
1990         * string/test-memccpy-ifunc.c: Likewise.
1991         * string/test-memchr-ifunc.c: Likewise.
1992         * string/test-memcmp-ifunc.c: Likewise.
1993         * string/test-memcpy-ifunc.c: Likewise.
1994         * string/test-memmem-ifunc.c: Likewise.
1995         * string/test-memmove-ifunc.c: Likewise.
1996         * string/test-mempcpy-ifunc.c: Likewise.
1997         * string/test-memrchr-ifunc.c: Likewise.
1998         * string/test-memset-ifunc.c: Likewise.
1999         * string/test-rawmemchr-ifunc.c: Likewise.
2000         * string/test-stpcpy-ifunc.c: Likewise.
2001         * string/test-stpncpy-ifunc.c: Likewise.
2002         * string/test-strcasecmp-ifunc.c: Likewise.
2003         * string/test-strcasestr-ifunc.c: Likewise.
2004         * string/test-strcat-ifunc.c: Likewise.
2005         * string/test-strchr-ifunc.c: Likewise.
2006         * string/test-strchrnul-ifunc.c: Likewise.
2007         * string/test-strcmp-ifunc.c: Likewise.
2008         * string/test-strcpy-ifunc.c: Likewise.
2009         * string/test-strcspn-ifunc.c: Likewise.
2010         * string/test-strlen-ifunc.c: Likewise.
2011         * string/test-strncasecmp-ifunc.c: Likewise.
2012         * string/test-strncat-ifunc.c: Likewise.
2013         * string/test-strncmp-ifunc.c: Likewise.
2014         * string/test-strncpy-ifunc.c: Likewise.
2015         * string/test-strnlen-ifunc.c: Likewise.
2016         * string/test-strpbrk-ifunc.c: Likewise.
2017         * string/test-strrchr-ifunc.c: Likewise.
2018         * string/test-strspn-ifunc.c: Likewise.
2019         * string/test-strstr-ifunc.c: Likewise.
2021 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2023         * benchtests/Makefile: Remove ifunc tests.
2024         * benchtests/bench-string.h: Define TEST_IFUNC.
2025         * benchtests/bench-bcopy-ifunc.c: Remove.
2026         * benchtests/bench-bzero-ifunc.c: Likewise.
2027         * benchtests/bench-memccpy-ifunc.c: Likewise.
2028         * benchtests/bench-memchr-ifunc.c: Likewise.
2029         * benchtests/bench-memcmp-ifunc.c: Likewise.
2030         * benchtests/bench-memcpy-ifunc.c: Likewise.
2031         * benchtests/bench-memmem-ifunc.c: Likewise.
2032         * benchtests/bench-memmove-ifunc.c: Likewise.
2033         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2034         * benchtests/bench-memrchr-ifunc.c: Likewise.
2035         * benchtests/bench-memset-ifunc.c: Likewise.
2036         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2037         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2038         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2039         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2040         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2041         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2042         * benchtests/bench-strcat-ifunc.c: Likewise.
2043         * benchtests/bench-strchr-ifunc.c: Likewise.
2044         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2045         * benchtests/bench-strcmp-ifunc.c: Likewise.
2046         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2047         * benchtests/bench-strcpy-ifunc.c: Likewise.
2048         * benchtests/bench-strcspn-ifunc.c: Likewise.
2049         * benchtests/bench-strlen-ifunc.c: Likewise.
2050         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2051         * benchtests/bench-strncat-ifunc.c: Likewise.
2052         * benchtests/bench-strncmp-ifunc.c: Likewise.
2053         * benchtests/bench-strncpy-ifunc.c: Likewise.
2054         * benchtests/bench-strnlen-ifunc.c: Likewise.
2055         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2056         * benchtests/bench-strrchr-ifunc.c: Likewise.
2057         * benchtests/bench-strsep-ifunc.c: Likewise.
2058         * benchtests/bench-strspn-ifunc.c: Likewise.
2059         * benchtests/bench-strstr-ifunc.c: Likewise.
2061 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2063         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2065 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2067         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2068         * rt/aio.h: Likewise.
2069         * sysdeps/gnu/bits/utmp.h: Likewise.
2070         * sysdeps/gnu/bits/utmpx.h: Likewise.
2071         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2072         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2073         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2074         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2075         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2076         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2077         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2078         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2081         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2082         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2087         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2088         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2089         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2090         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2091         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2092         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2093         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2094         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2095         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2097         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2098         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2099         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2100         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2101         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2102         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2103         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2104         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2105         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2106         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2107         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2108         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2109         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2110         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2111         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2112         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2114 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2116         [BZ #16245]
2117         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2118         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2120 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2122         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2123         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2124         Likewise.
2126 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2128         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2129         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2130         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2131         (__fesetround): Remove define.
2132         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2133         rounding and exceptions handling.
2134         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2135         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2136         (__fe_nomask_env): Likewise.
2137         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2138         __fegetround instead of fegetround.
2139         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2140         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2142 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2144         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2145         it's there.
2147         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2149 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2151         [BZ #11157]
2152         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2153         (encrypt_r): Likewise.
2154         * malloc/obstack.h (obstack_free): Likewise.
2155         * posix/unistd.h (encrypt): Likewise.
2157 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2159         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2160         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2161         DL_CALL_DT_FINI() that call the functions directly.
2162         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2163         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2164         * elf/dl-fini.c: Likewise.
2166 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2168         * malloc/hooks.c (memalign_check): Add alignment rounding.
2169         * malloc/malloc.c (_mid_memalign): New function.
2170         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2171         Implement by calling _mid_memalign.
2172         * manual/probes.texi (Memory Allocation Probes): Remove
2173         memory_valloc_retry and memory_pvalloc_retry.
2175 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2177         * locale/programs/locarchive.c (open_archive): Add const
2178         qualifier to ARCHIVEFNAME and copy default fname to
2179         DEFAULT_FNAME.
2181         [BZ #15601]
2182         * libio/tst-widetext.input: Rename Oriya to Odia.
2183         * locale/iso-639.def: Likewise.
2185         * manual/probes.texi (Mathematical Function Probes): Add
2186         documentation for sin, cos, asin and acos probes.
2187         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2188         (__sin32): Add slowasin probe.
2189         (__cos32): Add slowacos probe.
2190         (__mpsin): Add slowsin probe.
2191         (__mpcos): Add slowcos probe.
2193 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2195         [BZ #15483]
2196         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2197         thread-local __sim_exceptions_thread and global
2198         __sim_exceptions_global.
2199         (__sim_disabled_exceptions): Change to thread-local
2200         __sim_disabled_exceptions_thread and global
2201         __sim_disabled_exceptions_global.
2202         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2203         and global __sim_round_mode_global.
2204         (__simulate_exceptions): Use thread-local floating-point state and
2205         set global state from it as needed.
2206         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2207         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2208         __sim_round_mode_thread.
2209         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2210         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2211         and global __sim_exceptions_global.
2212         (__sim_disabled_exceptions): Change to thread-local
2213         __sim_disabled_exceptions_thread and global
2214         __sim_disabled_exceptions_global.
2215         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2216         and global __sim_round_mode_global.
2217         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2218         (SIM_SET_GLOBAL): Likewise.
2219         * sysdeps/powerpc/soft-fp/sfp-machine.h
2220         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2221         __sim_round_mode_thread.
2222         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2223         __sim_disabled_exceptions_thread.
2224         (__sim_exceptions): Change to __sim_exceptions_thread.
2225         (__sim_disabled_exceptions): Change to
2226         __sim_disabled_exceptions_thread.
2227         (__sim_round_mode): Change to __sim_round_mode_thread.
2228         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2229         thread-local floating-point state and set global state from it as
2230         needed.
2231         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2232         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2233         (__sim_disabled_exceptions): Remove extern declaration.
2234         (feenableexcept): Use thread-local floating-point state and set
2235         global state from it as needed.
2236         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2237         extern declaration.
2238         (__sim_disabled_exceptions): Likewise.
2239         (__sim_round_mode): Likewise.
2240         (__fegetenv): Use thread-local floating-point state.
2241         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2242         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2243         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2244         floating-point state and set global state from it as needed.
2245         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2246         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2247         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2248         Likewise.
2249         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2250         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2251         Likewise.
2252         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2253         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2254         Use __sim_round_mode_thread.
2255         * math/test-fenv-tls.c: New file.
2256         * math/Makefile (tests): Add test-fenv-tls.
2257         ($(objpfx)test-fenv-tls): Depend on
2258         $(common-objpfx)nptl/libpthread.so.
2260 2013-11-19  Andreas Schwab  <schwab@suse.de>
2262         * locale/programs/locale.c (show_info): Decode wordarray elements.
2263         * locale/categories.def (LC_MONETARY): Add element for
2264         _NL_MONETARY_CRNCYSTR.
2265         * locale/C-monetary.c (conversion_rate): New variable.
2266         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2267         element.
2269 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2271         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2272         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2274 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2276         * elf/Makefile (tst-auxv): New test.
2277         * elf/tst-auxv.c: New
2278         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2280 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2282         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2283         (hidden_proto): Caller changed.
2284         (hidden_tls_proto): New macro.
2285         (libc_hidden_tls_proto): Likewise.
2286         (rtld_hidden_tls_proto): Likewise.
2287         (libm_hidden_tls_proto): Likewise.
2288         (libresolv_hidden_tls_proto): Likewise.
2289         (librt_hidden_tls_proto): Likewise.
2290         (libdl_hidden_tls_proto): Likewise.
2291         (libnss_files_hidden_tls_proto): Likewise.
2292         (libnsl_hidden_tls_proto): Likewise.
2293         (libnss_nisplus_hidden_tls_proto): Likewise.
2294         (libutil_hidden_tls_proto): Likewise.
2296 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2298         [BZ #10253]
2299         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2300         (decompose_rpath): Defer expansion to fillin_rpath.
2301         (_dl_init_paths): Pass linkmap to fillin_rpath.
2303 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2305         * benchtests/Makefile: Add strsep.
2306         * benchtests/bench-strsep.c: New file: strsep benchtest.
2307         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2309 2013-11-18  Andreas Schwab  <schwab@suse.de>
2311         * locale/programs/locale.c (show_info) [case byte]: Check for
2312         '\377' instead of '\177'.
2313         * locale/C-monetary.c (not_available): Always use "\377".
2314         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2315         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2316         detect unavailable sign_posn locale elements.
2317         * locale/localeconv.c (__localeconv): For grouping and
2318         mon_grouping handle "\177" and "\377" like no grouping.
2319         (INT_ELEM): New macro.  Use it to set all numeric members.
2320         * locale/programs/ld-monetary.c (monetary_read)
2321         <tok_mon_grouping>: Normalize single -1 to the empty string.
2322         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2323         Likewise.
2325 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2327         [BZ #16055]
2328         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2329         when we match (nil).
2330         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2332 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2334         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2335         (NO_TEST_INLINE): Update value.
2336         (ERRNO_UNCHANGED): Likewise.
2337         (ERRNO_EDOM): Likewise.
2338         (ERRNO_ERANGE): Likewise.
2339         (IGNORE_RESULT): Likewise.
2340         (check_float_internal): Check signs of NaN results if
2341         TEST_NAN_SIGN used.
2342         (check_complex): Pass TEST_NAN_SIGN flag through to second
2343         check_float_internal call.
2344         (copysign_test_data): Add tests with quiet NaNs as second
2345         argument.  Use TEST_NAN_SIGN.
2346         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2347         TEST_NAN_SIGN.
2348         (signbit_test_data): Add tests of quiet NaN argument.
2349         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2351         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2352         $ignore_result.
2353         (parse_args): Handle function results specified as IGNORE.
2354         * math/libm-test.inc (IGNORE_RESULT): New macro.
2355         (check_float_internal): Do not check numerical result if flag
2356         IGNORE_RESULT set.
2357         (check_complex): Pass through IGNORE_RESULT to second
2358         check_float_internal call.
2359         (check_int): Do not check numerical result if flag IGNORE_RESULT
2360         set.
2361         (check_long): Likewise.
2362         (check_bool): Likewise.
2363         (check_longlong): Likewise.
2364         (lrint_test_data): Add tests of infinite and NaN arguments.
2365         (lrint_tonearest_test_data): Likewise.
2366         (lrint_towardzero_test_data): Likewise.
2367         (lrint_downward_test_data): Likewise.
2368         (lrint_upward_test_data): Likewise.
2369         (llrint_test_data): Likewise.
2370         (llrint_tonearest_test_data): Likewise.
2371         (llrint_towardzero_test_data): Likewise.
2372         (llrint_downward_test_data): Likewise.
2373         (llrint_upward_test_data): Likewise.
2374         (lround_test_data): Likewise.
2375         (llround_test_data): Likewise.
2377         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2378         (ERRNO_UNCHANGED): Update value.
2379         (ERRNO_EDOM): Likewise.
2380         (ERRNO_ERANGE): Likewise.
2381         (NO_TEST_INLINE_FLOAT): New macro.
2382         (NO_TEST_INLINE_DOUBLE): Likewise.
2383         (enable_test): New function.
2384         (RUN_TEST_f_f): Check enable_test before running test.
2385         (RUN_TEST_2_f): Likewise.
2386         (RUN_TEST_fff_f): Likewise.
2387         (RUN_TEST_c_f): Likewise.
2388         (RUN_TEST_f_f1): Likewise.
2389         (RUN_TEST_fF_f1): Likewise.
2390         (RUN_TEST_fI_f1): Likewise.
2391         (RUN_TEST_ffI_f1): Likewise.
2392         (RUN_TEST_c_c): Likewise.
2393         (RUN_TEST_cc_c): Likewise.
2394         (RUN_TEST_f_i): Likewise.
2395         (RUN_TEST_f_i_tg): Likewise.
2396         (RUN_TEST_ff_i_tg): Likewise.
2397         (RUN_TEST_f_b): Likewise.
2398         (RUN_TEST_f_b_tg): Likewise.
2399         (RUN_TEST_f_l): Likewise.
2400         (RUN_TEST_f_L): Likewise.
2401         (RUN_TEST_fFF_11): Likewise.
2402         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2403         conditionals.
2404         (cosh_test_data): Likewise.
2405         (exp_test_data): Likewise.
2406         (expm1_test_data): Likewise.
2407         (hypot_test_data): Likewise.
2408         (pow_test_data): Likewise.
2409         (sinh_test_data): Likewise.
2410         (tanh_test_data): Likewise.
2411         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2412         flags argument.
2414         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2415         tests with quiet NaN input and output.
2416         (acosh_test_data): Likewise.
2417         (asin_test_data): Likewise.
2418         (asinh_test_data): Likewise.
2419         (atan_test_data): Likewise.
2420         (atanh_test_data): Likewise.
2421         (atan2_test_data): Likewise.
2422         (cbrt_test_data): Likewise.
2423         (cos_test_data): Likewise.
2424         (cosh_test_data): Likewise.
2425         (erf_test_data): Likewise.
2426         (erfc_test_data): Likewise.
2427         (exp_test_data): Likewise.
2428         (exp10_test_data): Likewise.
2429         (exp2_test_data): Likewise.
2430         (expm1_test_data): Likewise.
2431         (hypot_test_data): Likewise.
2432         (j0_test_data): Likewise.
2433         (j1_test_data): Likewise.
2434         (jn_test_data): Likewise.
2435         (lgamma_test_data): Likewise.
2436         (log_test_data): Likewise.
2437         (log10_test_data): Likewise.
2438         (log1p_test_data): Likewise.
2439         (log2_test_data): Likewise.
2440         (pow_test_data): Likewise.
2441         (scalb_test_data): Likewise.
2442         (sin_test_data): Likewise.
2443         (sincos_test_data): Likewise.
2444         (sinh_test_data): Likewise.
2445         (tan_test_data): Likewise.
2446         (tanh_test_data): Likewise.
2447         (tgamma_test_data): Likewise.
2448         (y0_test_data): Likewise.
2449         (y1_test_data): Likewise.
2450         (yn_test_data): Likewise.
2452         [BZ #16167]
2453         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2454         argument being NaN and avoid computations with second argument in
2455         that case.
2456         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2457         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2458         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2460 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2462         * locale/iso-639.def: Add Chitwani Tharu (the).
2464 2013-11-14  Andreas Schwab  <schwab@suse.de>
2466         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2467         word instead of empty string.
2469 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2472         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2474         (__fe_nomask_env): Likewise.
2476 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2478         * benchtests/bench-timing.h: Include time.h.
2480 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2482         [BZ #15997]
2483         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2484         to 3.4.0 for x32.
2485         * sysdeps/unix/sysv/linux/configure: Regenerated.
2487 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2489         [BZ #16151]
2490         * stdlib/strtod_l.c (round_and_return): Do not consider
2491         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2492         exponent one less than half the least subnormal exponent.
2493         * stdlib/test-strtod-round-data: Add more tests.
2494         * stdlib/tst-strtod-round.c (tests): Regenerated.
2496 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2498         [BZ #14143]
2499         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2500         (__fe_mask_env): Likewise.
2501         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2502         libm_hidden_proto and add function prototype.
2503         (__fe_mask_env): Add function prototype.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2505         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2507         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2509         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2511 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2513         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2514         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2516 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2518         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2519         of htab_find_slot().
2521 2013-11-11  David S. Miller  <davem@davemloft.net>
2523         [BZ #16150]
2524         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2525         symbol in the non-vis3 case in static builds.
2526         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2527         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2528         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2529         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2531 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2533         [BZ #387]
2534         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2535         it is empty.
2537 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2539         * benchtests/Makefile: Add bench-strtod.
2540         * benchtests/bench-strtod.c: New file: strtod benchtest
2542 2013-11-11  Andreas Schwab  <schwab@suse.de>
2544         [BZ #16153]
2545         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2546         terminating NUL in key length.
2548 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2551         Add artificial ODP entry for vDSO symbol for PPC64.
2552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2553         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2555 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2557         [BZ #15374]
2558         * nss/getent.c (services_keys): Recognize services starting with digit.
2560 2013-11-06  David S. Miller  <davem@davemloft.net>
2562         [BZ #15985]
2563         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2564         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2566 2013-11-06  Will Newton  <will.newton@linaro.org>
2568         * manual/memory.texi (Malloc Examples): Remove register
2569         keyword from examples.
2571 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2573         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2575 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2577         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2578         depending on [__GCC_IEC_559 > 0].
2579         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2580         depending on [__GCC_IEC_559_COMPLEX > 0].
2582 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2584         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2585         to iso-639.def.
2587 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2589         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2591 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2593         [BZ #16112]
2594         * malloc/malloc (malloc_info): Do not handle first bin as
2595         special case.
2597 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2599         * locale/iso-639.def: Add Central Nahuatl (nhn).
2601 2013-11-01  Bruno Haible  <bruno@clisp.org>
2603         [BZ #7003]
2604         * manual/math.texi (BSD Random): Specify range upper bound as
2605         in POSIX.
2607 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2609         * locale/iso-639.def: Add Meadow Mari (mhr).
2611 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2613         [BZ #14752], [BZ #15763]
2614         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2615         Validate name.
2616         * rt/tst_shm.c: Add test for escaping directory.
2618 2013-10-31  Andreas Schwab  <schwab@suse.de>
2620         [BZ #15917]
2621         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2622         followed by 'x' as part of digit sequence.
2623         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2625 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2627         [BZ #16037]
2628         * configure.ac: allow GNU Make 4.0 and greater.
2629         * configure: Regenerated.
2631 2013-10-30  Will Newton  <will.newton@linaro.org>
2633         [BZ #16038]
2634         * malloc/hooks.c (memalign_check): Limit alignment to the
2635         maximum representable power of two.
2636         * malloc/malloc.c (__libc_memalign): Likewise.
2637         * malloc/tst-memalign.c (do_test): Add test for very
2638         large alignment values.
2639         * malloc/tst-posix_memalign.c (do_test): Likewise.
2641 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2643         [BZ #11087]
2644         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2645         (munmap_chunk): Likewise.
2646         (mremap_chunk): Likewise.
2648 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2650         [BZ #15799]
2651         * stdlib/div.c (div): Remove obsolete code.
2652         * stdlib/ldiv.c (ldiv): Likewise.
2653         * stdlib/lldiv.c (lldiv): Likewise.
2655 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2657         [BZ #16071]
2658         * nss/nss_files/files-XXX.c (get_contents_ret): New
2659         enumerator.
2660         (get_contents): New function.
2661         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2663 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2665         * configure.in: Moved to ...
2666         * configure.ac: ... here. Change reference to configure.in
2667         to configure.ac.
2668         * sysdeps/arm/preconfigure.ac: ... here.
2669         configure.in to configure.ac.
2670         * sysdeps/gnu/configure.in: Moved to ...
2671         * sysdeps/gnu/configure.ac: ... here.
2672         * sysdeps/i386/configure.in: Moved to ...
2673         * sysdeps/i386/configure.ac: ... here.
2674         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2675         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2676         * sysdeps/mach/configure.in: Moved to ...
2677         * sysdeps/mach/configure.ac: ... here.
2678         * sysdeps/mach/hurd/configure.in: Moved to ...
2679         * sysdeps/mach/hurd/configure.ac: ... here.
2680         * sysdeps/powerpc/configure.in: Moved to ...
2681         * sysdeps/powerpc/configure.ac: ... here.
2682         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2683         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2684         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2685         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2686         * sysdeps/s390/s390-32/configure.in: Moved to ...
2687         * sysdeps/s390/s390-32/configure.ac: ... here.
2688         * sysdeps/s390/s390-64/configure.in: Moved to ...
2689         * sysdeps/s390/s390-64/configure.ac: ... here.
2690         * sysdeps/sh/configure.in: Moved to ...
2691         * sysdeps/sh/configure.ac: ... here.
2692         * sysdeps/sparc/configure.in: Moved to ...
2693         * sysdeps/sparc/configure.ac: ... here.
2694         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2695         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2696         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2697         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2698         * sysdeps/x86_64/configure.in: Moved to ...
2699         * sysdeps/x86_64/configure.ac: ... here.
2700         * sysdeps/x86_64/preconfigure.in: Moved to ...
2701         * sysdeps/x86_64/preconfigure.ac: ... here.
2702         * aclocal.m4: Change reference to configure.in to configure.ac.
2703         * config.h.in: Likewise.
2704         * manual/install.texi: Likewise.
2705         * manual/maint.texi: Likewise.
2706         * Makefile: Likewise.
2707         * malloc/Makefile: Likewise.
2708         * nscd/Makefile: Likewise.
2709         * Makeconfig: Change reference to configure.in and
2710         preconfigure.in to configure.ac and preconfigure.ac
2711         respectively.
2712         * INSTALL: Regenerated.
2713         * configure: Likewise.
2714         * sysdeps/gnu/configure: Likewise.
2715         * sysdeps/i386/configure: Likewise.
2716         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2717         * sysdeps/mach/configure: Likewise.
2718         * sysdeps/mach/hurd/configure: Likewise.
2719         * sysdeps/powerpc/configure: Likewise.
2720         * sysdeps/powerpc/powerpc32/configure: Likewise.
2721         * sysdeps/powerpc/powerpc64/configure: Likewise.
2722         * sysdeps/s390/s390-32/configure: Likewise.
2723         * sysdeps/s390/s390-64/configure: Likewise.
2724         * sysdeps/sh/configure: Likewise.
2725         * sysdeps/sparc/configure: Likewise.
2726         * sysdeps/unix/sysv/linux/configure: Likewise.
2727         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2728         * sysdeps/x86_64/configure: Likewise.
2729         * sysdeps/x86_64/preconfigure: Likewise.
2731 2013-10-29  Andreas Schwab  <schwab@suse.de>
2733         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2735 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2737         * benchtests/pow-inputs: Add new inputs.
2739         * benchtests/exp-inputs: Add new inputs.
2741         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2742         conditional check for return value.
2743         (__cos32): Likewise.
2745 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2747         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2748         to provide a boost for large inputs with word alignment.
2749         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2750         implementation based on optimized PPC64 strcpy.
2751         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2752         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2753         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2754         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2756 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2758         [BZ #2801]
2759         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2761 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2763         [BZ #14876]
2764         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2765         * time/tst-strptime.c (day_tests): Add testcase.
2767 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2769         [BZ #14029]
2770         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2772 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2774         [BZ #16074]
2775         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2776         MAP_FAILED on error.
2778 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2780         [BZ #16072]
2781         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2782         heap for large requests.
2784 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2786         [BZ #9954]
2787         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2788         result if the result has no associated interface.
2789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2790         interface for all 127.X.Y.Z addresses.
2792 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2794         * locale/iso-639.def: Add Ligurian (lij)
2796 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2798         [BZ #15825]
2799         * sunrpc/rpc_main.c: Document rpcgen -5.
2801 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2803         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2805 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2807         [BZ #10278]
2808         * posix/glob.c: Match only directories when trailing slash is present.
2809         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2810         (main): Add testcase.
2812 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2814         [BZ #15670]
2815         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2817 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2819         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2820         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2821         AUTH_DES and cindex for FIPS 140-2.
2822         (DES Encryption): Add cindex FIPS 46-3.
2824         * locale/locarchive.h (struct locarhandle): Add fname.
2825         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2826         if an optional argument was specified to --list-archive,
2827         otherwise NULL.
2828         * locale/programs/locarchive.c (show_archive_content): Take new
2829         argument fname and pass it via ah.fname to open_archive.
2830         * locale/programs/localedef.h: Update decl.
2831         (open_archive): If AH->fname is non-null, open that file
2832         rather than the default file name, and don't ignore ENOENT.
2833         (create_archive): Set AH.fname to NULL.
2834         (delete_locales_from_archive): Likewise.
2835         (add_locales_to_archive): Likewise.
2836         * locale/programs/locfile.c (write_all_categories): Likewise.
2838 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2839             Aldy Hernandez  <aldyh@redhat.com>
2841         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2842         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2843         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2844         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2845         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2847         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2849         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2850         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2851         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2852         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2853         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2854         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2855         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2856         Likewise.
2857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2858         Likewise.
2859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2860         Likewise.
2861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2862         Likewise.
2863         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2865         Likewise.
2866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2867         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2868         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2869         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2870         Likewise.
2871         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2872         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2873         * sysdeps/powerpc/preconfigure: Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2875         Likewise.
2876         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2877         Replace contents of file by #include of <fenv_libc.h>.
2878         * sysdeps/powerpc/soft-fp/sfp-machine.h
2879         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2880         and <sys/prctl.h>.
2881         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2894         Allow copysignl PLT reference to be missing.
2896 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2897             Joseph Myers  <joseph@codesourcery.com
2899         [BZ #15948]
2900         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2901         single character.
2902         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2904 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2906         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2907         * elf/tst-tls1.c: Likewise.
2908         * elf/tst-tls10.h: Likewise.
2909         * elf/tst-tls14.c: Likewise.
2910         * elf/tst-tls2.c: Likewise.
2911         * elf/tst-tls3.c: Likewise.
2912         * elf/tst-tls4.c: Likewise.
2913         * elf/tst-tls5.c: Likewise.
2914         * elf/tst-tls6.c: Likewise.
2915         * elf/tst-tls7.c: Likewise.
2916         * elf/tst-tls8.c: Likewise.
2917         * elf/tst-tls9.c: Likewise.
2918         * elf/tst-tlsmod1.c: Likewise.
2919         * elf/tst-tlsmod13.c: Likewise.
2920         * elf/tst-tlsmod13a.c: Likewise.
2921         * elf/tst-tlsmod14a.c: Likewise.
2922         * elf/tst-tlsmod16a.c: Likewise.
2923         * elf/tst-tlsmod16b.c: Likewise.
2924         * elf/tst-tlsmod2.c: Likewise.
2925         * elf/tst-tlsmod3.c: Likewise.
2926         * elf/tst-tlsmod4.c: Likewise.
2927         * elf/tst-tlsmod5.c: Likewise.
2928         * elf/tst-tlsmod6.c: Likewise.
2930 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2932         [BZ #12486]
2933         * malloc/malloc.c: remove checks for statistics.
2935 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2937         [BZ #15277]
2938         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2939         * inet/tst-network.c: Add testcase.
2941 2013-10-17  Andreas Schwab  <schwab@suse.de>
2943         [BZ #15218]
2944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2945         to determine canonical name.
2947 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2949         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2950         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2952         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2954         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2955         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2956         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2957         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2958         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2959         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2961         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2962         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2963         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2964         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2966         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2967         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2968         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2972         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2973         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2974         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2975         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2976         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2977         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2978         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2979         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2981         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2982         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2983         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2984         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2985         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2986         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2987         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2988         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2989         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2990         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2991         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2992         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2993         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2994         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2995         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2996         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2997         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2998         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2999         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3000         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3001         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3002         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3003         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3004         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3006         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3008 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3010         [BZ #16041]
3011         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3012         make result into a quiet NaN.
3014 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3016         * soft-fp/adddf3.c: Fix horizontal whitespace.
3017         * soft-fp/addsf3.c: Likewise.
3018         * soft-fp/addtf3.c: Likewise.
3019         * soft-fp/divdf3.c: Likewise.
3020         * soft-fp/divsf3.c: Likewise.
3021         * soft-fp/divtf3.c: Likewise.
3022         * soft-fp/double.h: Likewise.
3023         * soft-fp/eqdf2.c: Likewise.
3024         * soft-fp/eqsf2.c: Likewise.
3025         * soft-fp/eqtf2.c: Likewise.
3026         * soft-fp/extenddftf2.c: Likewise.
3027         * soft-fp/extended.h: Likewise.
3028         * soft-fp/extendsfdf2.c: Likewise.
3029         * soft-fp/extendsftf2.c: Likewise.
3030         * soft-fp/extendxftf2.c: Likewise.
3031         * soft-fp/fixdfdi.c: Likewise.
3032         * soft-fp/fixdfsi.c: Likewise.
3033         * soft-fp/fixdfti.c: Likewise.
3034         * soft-fp/fixsfdi.c: Likewise.
3035         * soft-fp/fixsfsi.c: Likewise.
3036         * soft-fp/fixsfti.c: Likewise.
3037         * soft-fp/fixtfdi.c: Likewise.
3038         * soft-fp/fixtfsi.c: Likewise.
3039         * soft-fp/fixtfti.c: Likewise.
3040         * soft-fp/fixunsdfdi.c: Likewise.
3041         * soft-fp/fixunsdfsi.c: Likewise.
3042         * soft-fp/fixunsdfti.c: Likewise.
3043         * soft-fp/fixunssfdi.c: Likewise.
3044         * soft-fp/fixunssfsi.c: Likewise.
3045         * soft-fp/fixunssfti.c: Likewise.
3046         * soft-fp/fixunstfdi.c: Likewise.
3047         * soft-fp/fixunstfsi.c: Likewise.
3048         * soft-fp/fixunstfti.c: Likewise.
3049         * soft-fp/floatdidf.c: Likewise.
3050         * soft-fp/floatdisf.c: Likewise.
3051         * soft-fp/floatditf.c: Likewise.
3052         * soft-fp/floatsidf.c: Likewise.
3053         * soft-fp/floatsisf.c: Likewise.
3054         * soft-fp/floatsitf.c: Likewise.
3055         * soft-fp/floattidf.c: Likewise.
3056         * soft-fp/floattisf.c: Likewise.
3057         * soft-fp/floattitf.c: Likewise.
3058         * soft-fp/floatundidf.c: Likewise.
3059         * soft-fp/floatundisf.c: Likewise.
3060         * soft-fp/floatunditf.c: Likewise.
3061         * soft-fp/floatunsidf.c: Likewise.
3062         * soft-fp/floatunsisf.c: Likewise.
3063         * soft-fp/floatunsitf.c: Likewise.
3064         * soft-fp/floatuntidf.c: Likewise.
3065         * soft-fp/floatuntisf.c: Likewise.
3066         * soft-fp/floatuntitf.c: Likewise.
3067         * soft-fp/fmadf4.c: Likewise.
3068         * soft-fp/fmasf4.c: Likewise.
3069         * soft-fp/fmatf4.c: Likewise.
3070         * soft-fp/gedf2.c: Likewise.
3071         * soft-fp/gesf2.c: Likewise.
3072         * soft-fp/getf2.c: Likewise.
3073         * soft-fp/ledf2.c: Likewise.
3074         * soft-fp/lesf2.c: Likewise.
3075         * soft-fp/letf2.c: Likewise.
3076         * soft-fp/muldf3.c: Likewise.
3077         * soft-fp/mulsf3.c: Likewise.
3078         * soft-fp/multf3.c: Likewise.
3079         * soft-fp/negdf2.c: Likewise.
3080         * soft-fp/negsf2.c: Likewise.
3081         * soft-fp/negtf2.c: Likewise.
3082         * soft-fp/op-1.h: Likewise.
3083         * soft-fp/op-2.h: Likewise.
3084         * soft-fp/op-4.h: Likewise.
3085         * soft-fp/op-8.h: Likewise.
3086         * soft-fp/op-common.h: Likewise.
3087         * soft-fp/quad.h: Likewise.
3088         * soft-fp/single.h: Likewise.
3089         * soft-fp/soft-fp.h: Likewise.
3090         * soft-fp/sqrtdf2.c: Likewise.
3091         * soft-fp/sqrtsf2.c: Likewise.
3092         * soft-fp/sqrttf2.c: Likewise.
3093         * soft-fp/subdf3.c: Likewise.
3094         * soft-fp/subsf3.c: Likewise.
3095         * soft-fp/subtf3.c: Likewise.
3096         * soft-fp/truncdfsf2.c: Likewise.
3097         * soft-fp/trunctfdf2.c: Likewise.
3098         * soft-fp/trunctfsf2.c: Likewise.
3099         * soft-fp/trunctfxf2.c: Likewise.
3100         * soft-fp/unorddf2.c: Likewise.
3101         * soft-fp/unordsf2.c: Likewise.
3102         * soft-fp/unordtf2.c: Likewise.
3104 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3106         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3107         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3109 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3111         * elf/dl-libc.c: Clear initfini list after freeing.
3113 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3115         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3116         * soft-fp/addsf3.c: Likewise.
3117         * soft-fp/addtf3.c: Likewise.
3118         * soft-fp/divdf3.c: Likewise.
3119         * soft-fp/divsf3.c: Likewise.
3120         * soft-fp/divtf3.c: Likewise.
3121         * soft-fp/double.h: Likewise.
3122         * soft-fp/eqdf2.c: Likewise.
3123         * soft-fp/eqsf2.c: Likewise.
3124         * soft-fp/eqtf2.c: Likewise.
3125         * soft-fp/extenddftf2.c: Likewise.
3126         * soft-fp/extended.h: Likewise.
3127         * soft-fp/extendsfdf2.c: Likewise.
3128         * soft-fp/extendsftf2.c: Likewise.
3129         * soft-fp/extendxftf2.c: Likewise.
3130         * soft-fp/fixdfdi.c: Likewise.
3131         * soft-fp/fixdfsi.c: Likewise.
3132         * soft-fp/fixdfti.c: Likewise.
3133         * soft-fp/fixsfdi.c: Likewise.
3134         * soft-fp/fixsfsi.c: Likewise.
3135         * soft-fp/fixsfti.c: Likewise.
3136         * soft-fp/fixtfdi.c: Likewise.
3137         * soft-fp/fixtfsi.c: Likewise.
3138         * soft-fp/fixtfti.c: Likewise.
3139         * soft-fp/fixunsdfdi.c: Likewise.
3140         * soft-fp/fixunsdfsi.c: Likewise.
3141         * soft-fp/fixunsdfti.c: Likewise.
3142         * soft-fp/fixunssfdi.c: Likewise.
3143         * soft-fp/fixunssfsi.c: Likewise.
3144         * soft-fp/fixunssfti.c: Likewise.
3145         * soft-fp/fixunstfdi.c: Likewise.
3146         * soft-fp/fixunstfsi.c: Likewise.
3147         * soft-fp/fixunstfti.c: Likewise.
3148         * soft-fp/floatdidf.c: Likewise.
3149         * soft-fp/floatdisf.c: Likewise.
3150         * soft-fp/floatditf.c: Likewise.
3151         * soft-fp/floatsidf.c: Likewise.
3152         * soft-fp/floatsisf.c: Likewise.
3153         * soft-fp/floatsitf.c: Likewise.
3154         * soft-fp/floattidf.c: Likewise.
3155         * soft-fp/floattisf.c: Likewise.
3156         * soft-fp/floattitf.c: Likewise.
3157         * soft-fp/floatundidf.c: Likewise.
3158         * soft-fp/floatundisf.c: Likewise.
3159         * soft-fp/floatunsidf.c: Likewise.
3160         * soft-fp/floatunsisf.c: Likewise.
3161         * soft-fp/floatuntidf.c: Likewise.
3162         * soft-fp/floatuntisf.c: Likewise.
3163         * soft-fp/floatuntitf.c: Likewise.
3164         * soft-fp/fmadf4.c: Likewise.
3165         * soft-fp/fmasf4.c: Likewise.
3166         * soft-fp/fmatf4.c: Likewise.
3167         * soft-fp/gedf2.c: Likewise.
3168         * soft-fp/gesf2.c: Likewise.
3169         * soft-fp/getf2.c: Likewise.
3170         * soft-fp/ledf2.c: Likewise.
3171         * soft-fp/lesf2.c: Likewise.
3172         * soft-fp/letf2.c: Likewise.
3173         * soft-fp/muldf3.c: Likewise.
3174         * soft-fp/mulsf3.c: Likewise.
3175         * soft-fp/multf3.c: Likewise.
3176         * soft-fp/negdf2.c: Likewise.
3177         * soft-fp/negsf2.c: Likewise.
3178         * soft-fp/negtf2.c: Likewise.
3179         * soft-fp/op-1.h: Likewise.
3180         * soft-fp/op-2.h: Likewise.
3181         * soft-fp/op-4.h: Likewise.
3182         * soft-fp/op-8.h: Likewise.
3183         * soft-fp/op-common.h: Likewise.
3184         * soft-fp/quad.h: Likewise.
3185         * soft-fp/single.h: Likewise.
3186         * soft-fp/soft-fp.h: Likewise.
3187         * soft-fp/sqrtdf2.c: Likewise.
3188         * soft-fp/sqrtsf2.c: Likewise.
3189         * soft-fp/sqrttf2.c: Likewise.
3190         * soft-fp/subdf3.c: Likewise.
3191         * soft-fp/subsf3.c: Likewise.
3192         * soft-fp/subtf3.c: Likewise.
3193         * soft-fp/truncdfsf2.c: Likewise.
3194         * soft-fp/trunctfdf2.c: Likewise.
3195         * soft-fp/trunctfsf2.c: Likewise.
3196         * soft-fp/trunctfxf2.c: Likewise.
3197         * soft-fp/unorddf2.c: Likewise.
3198         * soft-fp/unordsf2.c: Likewise.
3199         * soft-fp/unordtf2.c: Likewise.
3201 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3203         [BZ #15672]
3204         * misc/error.c (error_tail): Fix possible buffer overflow.
3206 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3208         [BZ #13028]
3209         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3210         address.
3212 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3214         [BZ #832]
3215         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3216         testing pipefail option.
3218 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3220         * soft-fp/double.h: Indent preprocessor directives inside #if.
3221         * soft-fp/extended.h: Likewise.
3222         * soft-fp/op-2.h: Likewise.
3223         * soft-fp/op-4.h: Likewise.
3224         * soft-fp/op-common.h: Likewise.
3225         * soft-fp/quad.h: Likewise.
3226         * soft-fp/single.h: Likewise.
3227         * soft-fp/soft-fp.h: Likewise.
3229 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3231         * iconv/iconv_prog.c: Fix typos.
3232         * stdio-common/psiginfo-data.h: Likewise.
3234 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3236         [BZ #15764]
3237         * locale/setlocale.c: Fix typo.
3239 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #16036]
3242         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3243         signaling NaN arguments.
3244         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3245         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3247         [BZ #14910]
3248         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3249         unordered operands.
3250         * soft-fp/gesf2.c (__gesf2): Likewise.
3251         * soft-fp/getf2.c (__getf2): Likewise.
3252         * soft-fp/ledf2.c (__ledf2): Likewise.
3253         * soft-fp/lesf2.c (__lesf2): Likewise.
3254         * soft-fp/letf2.c (__letf2): Likewise.
3256         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3257         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3258         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3259         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3260         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3261         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3262         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3263         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3264         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3265         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3266         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3267         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3268         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3269         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3270         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3271         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3272         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3273         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3274         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3275         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3276         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3277         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3278         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3279         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3280         * soft-fp/floattidf.c (__floattidf): Likewise.
3281         * soft-fp/floattisf.c (__floattisf): Likewise.
3282         * soft-fp/floattitf.c (__floattitf): Likewise.
3283         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3284         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3285         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3286         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3287         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3288         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3289         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3290         * soft-fp/gesf2.c (__gesf2): Likewise.
3291         * soft-fp/getf2.c (__getf2): Likewise.
3292         * soft-fp/ledf2.c (__ledf2): Likewise.
3293         * soft-fp/lesf2.c (__lesf2): Likewise.
3294         * soft-fp/letf2.c (__letf2): Likewise.
3296         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3297         Undefine and redefine.
3298         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3299         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3300         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3301         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3302         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3303         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3304         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3305         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3306         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3307         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3308         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3309         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3310         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3311         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3312         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3314         [BZ #16032]
3315         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3316         without decrementing exponent if mantissa >= that for the
3317         denominator, not >.
3318         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3319         denominator, not >.  Decrement exponent in < case instead of
3320         incrementing in >= case.
3321         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3322         without decrementing exponent if mantissa >= that for the
3323         denominator, not >.
3325         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3326         computing saturated result for unsigned overflow.
3328 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3329             Jeff Law  <law@redhat.com>
3331         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3332         (atan2Mp): Add systemtap probe marker.
3333         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3334         (__ieee754_log): Add systemtap probe marker.
3335         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3336         (atanMp): Add systemtap probe marker.
3337         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3338         (tanMp): Add systemtap probe marker.
3339         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3340         (__slowexp): Add systemtap probe marker.
3341         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3342         (__slowpow): Add systemtap probe marker.
3343         * manual/probes.texi: Document probes.
3345 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3347         [BZ #15362]
3348         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3349         written.
3350         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3351         written.
3352         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3353         written to buffer but not flushed.
3354         * libio/iofwrite_u.c:  Likewise.
3355         * libio/iopadn.c:  Return bytes returned even if EOF was
3356         encountered.
3357         * libio/iowpadn.c:  Likewise.
3358         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3359         if _IO_padn does not write the whole buffer.
3360         [!COMPILE_WPRINTF] (PAD): Likewise.
3362 2013-10-10  David S. Miller  <davem@davemloft.net>
3364         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3365         directory block.
3367 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3369         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3370         instead of FSF address.
3371         * soft-fp/fixdfti.c: Likewise.
3372         * soft-fp/fixsfti.c: Likewise.
3373         * soft-fp/fixtfti.c: Likewise.
3374         * soft-fp/fixunsdfti.c: Likewise.
3375         * soft-fp/fixunssfti.c: Likewise.
3376         * soft-fp/fixunstfti.c: Likewise.
3377         * soft-fp/floattidf.c: Likewise.
3378         * soft-fp/floattisf.c: Likewise.
3379         * soft-fp/floattitf.c: Likewise.
3380         * soft-fp/floatuntidf.c: Likewise.
3381         * soft-fp/floatuntisf.c: Likewise.
3382         * soft-fp/floatuntitf.c: Likewise.
3383         * soft-fp/trunctfxf2.c: Likewise.
3385         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3386         * soft-fp/fixdfti.c: Likewise.
3387         * soft-fp/fixsfti.c: Likewise.
3388         * soft-fp/fixtfti.c: Likewise.
3389         * soft-fp/fixunsdfti.c: Likewise.
3390         * soft-fp/fixunssfti.c: Likewise.
3391         * soft-fp/fixunstfti.c: Likewise.
3392         * soft-fp/floattidf.c: Likewise.
3393         * soft-fp/floattisf.c: Likewise.
3394         * soft-fp/floattitf.c: Likewise.
3395         * soft-fp/floatuntidf.c: Likewise.
3396         * soft-fp/floatuntisf.c: Likewise.
3397         * soft-fp/floatuntitf.c: Likewise.
3398         * soft-fp/trunctfxf2.c: Likewise.
3400 2013-10-10  David S. Miller  <davem@davemloft.net>
3402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3404 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3406         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3407         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3408         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3409         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3410         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3411         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3412         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3415         for NaNs before doing comparisons on argument.
3416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3417         Likewise.
3419 2013-10-10  Will Newton  <will.newton@linaro.org>
3421         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3422         passed to _int_memalign does not overflow.
3424 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3426         * scripts/bench.pl: Add include-sources directive.
3427         * benchtests/README: Update documentation.
3429 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3431         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3432         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3433         instead of FP_INIT_ROUNDMODE.
3434         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3435         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3437         [BZ #16034]
3438         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3439         copy class of input value.
3440         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3441         not handle exceptions.
3442         * soft-fp/negsf2.c (__negsf2): Likewise.
3443         * soft-fp/negtf2.c (__negtf2): Likewise.
3444         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3446 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3448         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3449         semicolon.  From Linux kernel.
3451 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3453         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3455 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3457         [BZ #156]
3458         * manual/socket.texi: Added statement about buffer
3459         for gethostbyname2_r.
3461 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3463         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3464         Use .p2align directive instead, throughout.
3465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3466         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3467         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3468         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3469         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3470         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3471         * sysdeps/x86_64/strchr.S: Likewise.
3472         * sysdeps/x86_64/strrchr.S: Likewise.
3474 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3476         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3478         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3480         * sysdeps/generic/math_private.h (__mpsin1): Remove
3481         declaration.
3482         (__mpcos1): Likewise.
3483         (__mpsin): New argument __range_reduce.
3484         (__mpcos): Likewise.
3485         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3486         (slow): Use __mpsin and __mpcos.
3487         (slow1): Likewise.
3488         (slow2): Likewise.
3489         (sloww): Likewise.
3490         (sloww1): Likewise.
3491         (sloww2): Likewise.
3492         (bsloww): Likewise.
3493         (bsloww1): Likewise.
3494         (bsloww2): Likewise.
3495         (cslow2): Likewise.
3496         (csloww): Likewise.
3497         (csloww1): Likewise.
3498         (csloww2): Likewise.
3499         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3500         range_reduce.  Merge in __mpsin1.
3501         (__mpcos): Likewise.
3502         (__mpsin1): Remove.
3503         (__mpcos1): Likewise.
3505 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3507         * locale/loadlocale.c (_nl_intern_locale_data): Use
3508         LOCFILE_ALIGNED_P.
3509         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3510         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3511         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3512         obstack data is appropriately aligned.
3513         (obstack_int32_grow_fast): Likewise.
3514         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3515         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3516         (add_locale_uint32_array): Likewise.
3518 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3520         * benchtests/Makefile: Remove ARGLIST and RET variables.
3521         ($(objpfx)bench-%.c): Pass only function name to the script.
3522         * benchtests/README: Update documentation.
3523         * benchtests/acos-inputs: Add new directives.
3524         * benchtests/acosh-inputs: Likewise.
3525         * benchtests/asin-inputs: Likewise.
3526         * benchtests/asinh-inputs: Likewise.
3527         * benchtests/atan-inputs: Likewise.
3528         * benchtests/atanh-inputs: Likewise.
3529         * benchtests/cos-inputs: Likewise.
3530         * benchtests/cosh-inputs: Likewise.
3531         * benchtests/exp-inputs: Likewise.
3532         * benchtests/log-inputs: Likewise.
3533         * benchtests/pow-inputs: Likewise.
3534         * benchtests/rint-inputs: Likewise.
3535         * benchtests/sin-inputs: Likewise.
3536         * benchtests/sinh-inputs: Likewise.
3537         * benchtests/tan-inputs: Likewise.
3538         * benchtests/tanh-inputs: Likewise.
3539         * scripts/bench.pl: Add support for new directives.
3541 2013-10-07  Alan Modra  <amodra@gmail.com>
3543         * README: Fix careless merge.
3545 2013-10-05  Alan Modra  <amodra@gmail.com>
3547         * NEWS: Mention powerpc64le support and bugs fixed.
3548         * README: Both big-endian and little-endian powerpc64 supported.
3550 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3552         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3553         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3554         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3555         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3557 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3559         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3560         match prototype.
3562 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3564         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3565         Move -mhard-float appending from
3566         ports/sysdeps/powerpc/powerpc32/Makefile.
3567         [$(with-fp) = yes] (ASFLAGS): Likewise.
3568         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3569         * sysdeps/powerpc/nofpu: Move directory from
3570         ports/sysdeps/powerpc/nofpu.
3571         * sysdeps/powerpc/soft-fp: Move directory from
3572         ports/sysdeps/powerpc/soft-fp.
3573         * sysdeps/powerpc/powerpc32/405: Move directory from
3574         ports/sysdeps/powerpc/powerpc32/405.
3575         * sysdeps/powerpc/powerpc32/440: Move directory from
3576         ports/sysdeps/powerpc/powerpc32/440.
3577         * sysdeps/powerpc/powerpc32/464: Move directory from
3578         ports/sysdeps/powerpc/powerpc32/464.
3579         * sysdeps/powerpc/powerpc32/476: Move directory from
3580         ports/sysdeps/powerpc/powerpc32/476.
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3582         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3591         * README: Update for powerpc-*-linux-gnu software floating point
3592         support in libc.
3594         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3595         case to powerpc/powerpc32*.
3596         * sysdeps/unix/sysv/linux/configure: Regenerated.
3598         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3599         (_FPU_MASK_OM): Define as 0x04.
3600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3602         0x00c10080.
3603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3604         0x0000003c.
3605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3608         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3609         getcontext_e500.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3611         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3612         setcontext_e500.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3614         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3615         and setcontext_e500.
3617 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3619         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3621 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3623         * manual/threads.texi (Default Thread Attributes): Fix typo.
3625 2013-10-04  Will Newton  <will.newton@linaro.org>
3627         * malloc/Makefile: Add tst-memalign.
3628         * malloc/tst-memalign.c: New file.
3630         * malloc/tst-posix_memalign.c: Add comments.
3631         (do_test): Add comments and call free on all potentially
3632         allocated pointers. Add space after cast.
3634         * malloc/tst-pvalloc.c: Add comments.
3635         (do_test): Add comments and call free on all potentially
3636         allocated pointers. Remove duplicate check for NULL pointer.
3637         Add space after cast.
3639         * malloc/tst-valloc.c: Add comments.
3640         (do_test): Add comments and call free on all potentially
3641         allocated pointers. Remove duplicate check for NULL pointer.
3642         Add space after cast.
3644 2013-10-04  Alan Modra  <amodra@gmail.com>
3646         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3647         Use stdint types in rather than __attribute__((mode())).
3648         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3650 2013-10-04  Alan Modra  <amodra@gmail.com>
3652         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3653         Correct handling of unaligned relocs for little-endian.
3654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3656 2013-10-04  Alan Modra  <amodra@gmail.com>
3658         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3659         * configure: Regenerate.
3660         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3661         * shlib-versions: Likewise.
3663 2013-10-04  Alan Modra  <amodra@gmail.com>
3665         * string/tester.c (test_memrchr): Increment reported test cycle.
3667 2013-10-04  Alan Modra  <amodra@gmail.com>
3669         * string/test-memcpy.c (do_one_test): When reporting errors, print
3670         string address and don't overrun end of string.
3672 2013-10-04  Alan Modra  <amodra@gmail.com>
3674         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3675         insrdi.  Make better use of reg selection to speed exit slightly.
3676         Schedule entry path a little better.  Remove useless "are we done"
3677         checks on entry to main loop.  Handle wrapping around zero address.
3678         Correct main loop count.  Handle single left-over word from main
3679         loop inline rather than by using loop_small.  Remove extra word
3680         case in loop_small caused by wrong loop count.  Add little-endian
3681         support.
3682         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3683         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3684         cache hint.
3685         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3686         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3687         support.  Avoid rlwimi.
3688         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3690 2013-10-04  Alan Modra  <amodra@gmail.com>
3692         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3693         insrdi.  Formatting.
3694         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3695         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3696         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3697         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3698         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3699         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3701 2013-10-04  Alan Modra  <amodra@gmail.com>
3703         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3704         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3705         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3706         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3707         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3708         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3709         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3710         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3711         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3712         use of regs.  Use power7 mtocrf.  Tidy function tails.
3714 2013-10-04  Alan Modra  <amodra@gmail.com>
3716         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3717         Formatting.  Consistently use rXXX register defines or rN defines.
3718         Use early exit labels that avoid restoring unused non-volatile regs.
3719         Make cr field use more consistent with rWORDn compares.  Rename
3720         regs used as shift registers for unaligned loop, using rN defines
3721         for short lifetime/multiple use regs.
3722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3723         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3724         addi 1,1,64 to pop stack frame.  Simplify return value code.
3725         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3727 2013-10-04  Alan Modra  <amodra@gmail.com>
3729         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3730         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3731         rather than rlwimi.
3732         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3733         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3734         little-endian support.  Correct typos.
3735         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3736         rather than rlwimi.
3737         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3738         in loop and entry code to keep "and." results.
3739         (strchr): Add little-endian support.  Comment.  Move cntlzd
3740         earlier in tail.
3741         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3743 2013-10-04  Alan Modra  <amodra@gmail.com>
3745         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3746         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3747         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3748         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3750 2013-10-04  Alan Modra  <amodra@gmail.com>
3752         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3753         (rTMP): Define as r11.
3754         (strcmp): Add little-endian support.  Optimise tail.
3755         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3756         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3757         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3758         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3759         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3760         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3763 2013-10-04  Alan Modra  <amodra@gmail.com>
3765         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3766         little-endian support.  Remove unnecessary "are we done" tests.
3767         Handle "s" wrapping around zero and extremely large "size".
3768         Correct main loop count.  Handle single left-over word from main
3769         loop inline rather than by using small_loop.  Correct comments.
3770         Delete "zero" tail, use "end_max" instead.
3771         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3773 2013-10-04  Alan Modra  <amodra@gmail.com>
3775         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3776         support.  Don't branch over align.
3777         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3778         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3779         support.  Rearrange tmp reg use to suit.  Comment.
3780         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3782 2013-10-04  Alan Modra  <amodra@gmail.com>
3784         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3786 2013-10-04  Alan Modra  <amodra@gmail.com>
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3789         conditional form of branch and link when obtaining pc.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3792 2013-10-04  Alan Modra  <amodra@gmail.com>
3794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3795         HIWORD/LOWORD.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3799 2013-10-04  Alan Modra  <amodra@gmail.com>
3801         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3802         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3803         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3804         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3805         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3806         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3807         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3808         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3809         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3810         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3812 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3813             Alistair Popple <alistair@ozlabs.au.ibm.com>
3814             Alan Modra <amodra@gmail.com>
3816         [BZ #15723]
3817         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3818         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3819         _dl_hwcap access for little-endian.
3820         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3821         destroy vmx regs when saving unaligned.
3822         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3823         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3824         destroy vmx regs when saving unaligned.
3826 2013-10-04  Alan Modra  <amodra@gmail.com>
3828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3829         Don't use a union to pack hi/low value.
3831 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3833         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3834         for little-endian.
3835         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3836         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3837         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3838         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3839         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3841 2013-10-04  Alan Modra  <amodra@gmail.com>
3843         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3844         constants to usual value for .cst8 section, and remove redundant
3845         high address load.
3846         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3847         constant for 0x1p52.  Load little-endian words of double from
3848         correct stack offsets.
3850 2013-10-04  Alan Modra  <amodra@gmail.com>
3852         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3853         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3854         words of double from correct stack offsets.
3855         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3856         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3857         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3858         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3859         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3860         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3861         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3862         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3863         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3867         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3868         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3869         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3870         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3871         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3873 2013-10-04  Alan Modra  <amodra@gmail.com>
3875         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3876         64-bit int/double union.
3877         (_FPU_SETCW): Likewise.
3878         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3879         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3881 2013-10-04  Alan Modra  <amodra@gmail.com>
3883         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3884         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3886 2013-10-04  Alan Modra  <amodra@gmail.com>
3888         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3889         use vector int constants.
3890         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3892 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3894         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3895         array with long long.
3896         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3897         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3898         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3899         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3900         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3901         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3902         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3903         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3904         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3905         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3906         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3907         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3908         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3912         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3913         (__signbit): Likewise.  Correct for little-endian.
3914         (__signbitl): Call __signbit.
3915         (lrint): Correct for little-endian.
3916         (lrintf): Call lrint.
3918 2013-10-04  Alan Modra  <amodra@gmail.com>
3920         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3921         union 32-bit int array member with 64-bit int array.
3922         (t515, tm256): Double rather than long double.
3923         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3925 2013-10-04  Alan Modra  <amodra@gmail.com>
3927         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3928         Delete.
3929         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3931         version of math_ldbl.h.
3933 2013-10-04  Alan Modra  <amodra@gmail.com>
3935         [BZ #15734], [BZ #15735]
3936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3937         all uses of ieee875 long double macros and unions.  Simplify test
3938         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3939         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3940         normalize after ldbl_extract_mantissa, and don't add hidden bit
3941         already handled.  Don't treat low word of ieee854 mantissa like
3942         low word of IBM long double and mask off bit when testing for
3943         zero.
3944         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3945         all uses of ieee875 long double macros and unions.  Simplify tests
3946         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3947         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3948         two1022, instead use their values.  Recognise that tests for large
3949         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3950         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3951         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3952         test for 0.0L and nan.  Correct negation.
3953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3954         ieee875 long double macros and unions.  Correct output for large
3955         magnitude x.  Correct absolute value calculation.
3956         (__erfcl): Likewise.
3957         * math/libm-test.inc: Add tests for errors discovered in IBM long
3958         double versions of fmodl, remainderl, erfl and erfcl.
3960 2013-10-04  Alan Modra  <amodra@gmail.com>
3962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3963         all uses of ieee854 long double macros and unions.  Simplify tests
3964         for long doubles that are fully specified by the high double.
3965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3966         Likewise.
3967         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3968         Remove dead code too.
3969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3970         (__ieee754_ynl): Likewise.
3971         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3973         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3974         Remove dead code too.
3975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3977         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3978         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3979         Simplify.
3980         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3981         Simplify.
3982         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3983         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3985         Comment on variable precision.
3986         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3988         Likewise.
3989         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3990         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3991         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3993         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3995 2013-10-04  Alan Modra  <amodra@gmail.com>
3997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3999         all uses of ieee854 long double macros and unions.
4000         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4004         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4005         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4006         Likewise.
4007         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4008         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4009         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4010         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4012         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4013         Simplify sign and nan test too.
4014         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4015         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4016         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4017         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4018         Likewise.
4019         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4020         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4021         Likewise.
4022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4023         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4024         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4025         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4026         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4029 2013-10-04  Alan Modra  <amodra@gmail.com>
4031         * stdio-common/printf_size.c (__printf_size): Don't use
4032         union ieee854_long_double in fpnum union.
4033         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4034         signbit macro to retrieve sign from long double.
4035         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4036         retrieve sign from long double.
4037         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4038         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4039         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4040         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4041         * math/test-misc.c (main): Don't use union ieee854_long_double.
4043 2013-10-04  Alan Modra  <amodra@gmail.com>
4045         [BZ #15680]
4046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4047         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4048         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4049         calculation.  Remove unnecessary test for denormal exponent.
4050         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4051         Correct handling of denormals.  Avoid undefined shift behaviour.
4052         Correct normalisation of low mantissa when low double is denormal.
4053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4054         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4055         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4056         Correct normalisation of low mantissa.  Test for overflow of high
4057         mantissa and normalise.
4058         (ldbl_nearbyint): Use more readable constant for two52.
4059         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4060         (__mpn_construct_long_double): Fix test for overflow of high
4061         mantissa and correct normalisation.  Avoid undefined shift.
4063 2013-10-04  Alan Modra  <amodra@gmail.com>
4065         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4066         (union ibm_extended_long_double): Define as an array of ieee754_double.
4067         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4068         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4069         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4070         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4072         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4074         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4075         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4076         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4079 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4081         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4082         page size instead of calling getpagesize.
4084         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4085         (LOCFILE_ALIGN_MASK): Likewise.
4086         (LOCFILE_ALIGN_UP): Likewise.
4087         (LOCFILE_ALIGNED_P): Likewise.
4088         * locale/programs/ld-collate.c (collate_output): Use the new
4089         macros instead of __alignof__ (int32_t).
4090         * locale/weight.h (findidx): Likewise.
4092 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4094         [BZ #431]
4095         * manual/string.texi: Fix strncat and wcsncat.
4097 2013-10-03  Brooks Moses  <bmoses@google.com>
4099         [BZ #15915]
4100         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4101         * Makerules: ...here, and adjust associated comments.
4103 2013-10-02  Will Newton  <will.newton@linaro.org>
4105         * malloc/Makefile: Add tst-pvalloc.
4106         * malloc/tst-pvalloc.c: New file.
4108 2013-10-02  Will Newton  <will.newton@linaro.org>
4110         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4111         improve test coverage.
4113 2013-10-02  Will Newton  <will.newton@linaro.org>
4115         * malloc/Makefile: Add tst-posix_memalign.
4116         * malloc/tst-posix_memalign.c: New file.
4118 2013-10-01  Eric Blake  <eblake@redhat.com>
4120         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4121         Use __THROWNL rather than __THROW on static functions.
4123 2013-09-30  Petr Machata  <pmachata@redhat.com>
4125         * elf/elf.h (R_AARCH64_ABS16): New macro.
4126         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4127         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4128         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4129         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4130         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4131         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4132         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4133         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4134         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4135         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4136         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4137         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4138         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4139         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4140         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4141         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4142         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4143         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4144         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4145         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4146         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4147         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4148         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4149         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4150         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4151         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4152         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4153         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4154         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4155         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4156         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4157         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4158         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4159         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4160         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4161         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4162         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4163         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4164         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4165         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4166         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4167         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4168         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4169         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4170         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4171         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4172         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4173         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4174         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4175         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4176         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4177         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4178         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4179         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4180         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4181         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4182         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4183         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4184         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4185         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4186         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4187         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4188         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4189         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4190         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4191         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4192         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4193         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4194         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4195         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4196         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4197         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4198         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4199         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4200         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4201         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4202         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4203         (R_AARCH64_TLSDESC_LDR): Likewise.
4204         (R_AARCH64_TLSDESC_ADD): Likewise.
4205         (R_AARCH64_TLSDESC_CALL): Likewise.
4207 2013-09-30  Andreas Schwab  <schwab@suse.de>
4209         [BZ #15048]
4210         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4211         the nss database lookup.
4212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4215 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4217         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4219 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4222         ${Bash-specific parameter/pattern/string} parameter expansion.
4223         * sysdeps/unix/make-syscalls.sh: Likewise.
4225 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4227         * sysdeps/sh/stackguard-macros.h: New file.
4229 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4233         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4234         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4235         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4236         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4238 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4240         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4241         Fix thread ID register.
4243 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4245         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4246         [POSIX || UNIX98]: Require rather than permitting all symbols from
4247         <time.h>.
4248         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4249         element of struct sched_param.
4250         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4251         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4252         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4253         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4254         constant.
4256 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4258         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4259         argument calculation.
4261 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4263         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4264         Expect macro.
4265         [POSIX] (pthread_attr_t): Do not require type.
4266         [POSIX] (pthread_cond_t): Likewise.
4267         [POSIX] (pthread_condattr_t): Likewise.
4268         [POSIX] (pthread_key_t): Likewise.
4269         [POSIX] (pthread_mutex_t): Likewise.
4270         [POSIX] (pthread_mutexattr_t): Likewise.
4271         [POSIX] (pthread_once_t): Likewise.
4272         [POSIX] (pthread_t): Likewise.
4273         [POSIX-based standards] (pthread_atfork): Expect function.
4275 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4276             Richard Sandiford  <richard@codesourcery.com>
4278         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4279         (swap_endianness_p): New extern variable.
4280         (set_big_endian): New inline function.
4281         (maybe_swap_uint32): Likewise.
4282         (maybe_swap_uint32_array): Likewise.
4283         (maybe_swap_uint32_obstack): Likewise.
4284         * locale/programs/locfile.c: Include <stdbool.h>.
4285         (swap_endianness_p): New variable.
4286         (add_locale_uint32): Call maybe_swap_uint32.
4287         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4288         (write_locale_data): Call maybe_swap_uint32_array.
4289         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4290         maybe_swap_uint32.
4291         (obstack_int32_grow_fast): Likewise.
4292         (output_weightwc): Call maybe_swap_uint32_obstack.
4293         (collate_output): Likewise.
4294         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4295         (OPT_LITTLE_ENDIAN): Likewise.
4296         (options): Add --little-endian and --big-endian options.
4297         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4298         * locale/programs/locarchive.c: Include "locfile.h".
4299         (GET): New macro.
4300         (SET): Likewise.
4301         (INC): Likewise.
4302         (create_archive): Use the new macros to access fields of
4303         structures directly mapped from or written to locale archives.
4304         (oldlocrecentcmp): Likewise.
4305         (enlarge_archive): Likewise.
4306         (insert_name): Likewise.
4307         (add_alias): Likewise.
4308         (add_locale): Likewise.
4309         (delete_locales_from_archive): Likewise.
4310         (show_archive_content): Likewise.
4311         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4312         locale data.
4314 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4316         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4317         http://www.gnu.org/doc/freemanuals.texi.
4318         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4320 2013-09-24  Will Newton  <will.newton@linaro.org>
4322         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4323         macro.
4325 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4327         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4328         unsigned char.
4330 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4332         * manual/threads.texi (POSIX Threads): Fix a typo.
4334 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4336         [BZ #14547]
4337         * string/tst-strcoll-overflow.c: New test case.
4338         * string/Makefile (xtests): Add tst-strcoll-overflow.
4339         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4340         cache if string sizes may cause integer overflow.
4342         [BZ #14547]
4343         * string/strcoll_l.c (coll_seq): New members rule, idx,
4344         save_idx and back_us.
4345         (get_next_seq_nocache): New function.
4346         (do_compare_nocache): New function.
4347         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4348         when malloc fails.
4350 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4352         [BZ #15754]
4353         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4354         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4355         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4357         [BZ #15754]
4358         * elf/Makefile (tests): Add tst-ptrguard1.
4359         (tests-static): Add tst-ptrguard1-static.
4360         (tst-ptrguard1-ARGS): Define.
4361         (tst-ptrguard1-static-ARGS): Define.
4362         * elf/tst-ptrguard1.c: New file.
4363         * elf/tst-ptrguard1-static.c: New file.
4364         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4365         * sysdeps/i386/stackguard-macros.h: Likewise.
4366         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4367         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4368         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4369         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4370         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4371         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4373 2013-09-23  Hector Marco  <hecmargi@upv.es>
4374             Ismael Ripoll  <iripoll@disca.upv.es>
4375             Carlos O'Donell  <carlos@redhat.com>
4377         [BZ #15754]
4378         * sysdeps/generic/stackguard-macros.h: Define
4379         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4380         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4381         Define __pointer_chk_guard_local.
4382         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4383         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4385 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4387         [BZ #15859]
4388         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4390 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4392         * include/string.h (__ffs): Declare as hidden.
4393         * string/ffs.c (__ffs): Define as hidden.
4394         * sysdeps/i386/ffs.c (__ffs): Likewise.
4395         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4396         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4397         * sysdeps/s390/ffs.c (__ffs): Likewise.
4398         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4400 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4402         * NEWS: Mention malloc probes.
4404         * malloc/arena.c (new_heap): New memory_heap_new probe.
4405         (grow_heap): New memory_heap_more probe.
4406         (shrink_heap): New memory_heap_less probe.
4407         (heap_trim): New memory_heap_free probe.
4408         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4409         (systrim): New memory_sbrk_less probe.
4410         * manual/probes.texi: Document them.
4412         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4413         * manual/probes.texi: Document it.
4415         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4416         (__libc_realloc): Add memory_realloc_retry probe.
4417         (__libc_memalign): Add memory_memalign_retry probe.
4418         (__libc_valloc): Add memory_valloc_retry probe.
4419         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4420         (__libc_calloc): Add memory_calloc_retry probe.
4421         * manual/probes.texi: Document them.
4423         * malloc/arena.c (get_free_list): Add probe
4424         memory_arena_reuse_free_list.
4425         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4426         and memory_arena_reuse.
4427         (arena_get2) [!PER_THREAD]: Likewise.
4428         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4429         memory_arena_reuse_realloc.
4430         * manual/probes.texi: Document them.
4432         * malloc/malloc.c (__libc_free): Add
4433         memory_mallopt_free_dyn_thresholds probe.
4434         (__libc_mallopt): Add multiple memory_mallopt probes.
4435         * manual/probes.texi: Document them.
4437         * malloc/malloc.c: Include stap-probe.h.
4438         (__libc_mallopt): Add memory_mallopt probe.
4439         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4440         * manual/probes.texi: New.
4441         * manual/Makefile (chapters): Add probes.
4442         * manual/threads.texi: Set next node.
4444 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4446         [BZ #15963, #13985]
4447         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4448         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4449         Add `Chinese' to `nan' entry name.
4451 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4453         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4454         (POLYNOMIAL): Likewise.
4455         (TAYLOR_SINCOS): Likewise.
4456         (TAYLOR_SLOW): Likewise.
4457         (__sin): Use TAYLOR_SINCOS.
4458         (__cos): Likewise.
4459         (slow): Use TAYLOR_SLOW.
4460         (sloww): Likewise.
4461         (bsloww): Likewise.
4462         (csloww): Likewise.
4464 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4466         * stdlib/strtod_l.c: Fix buffer overrun.
4468 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4470         * benchtests/Makefile (bench): Add sincos.
4471         * benchtests/bench-sincos.c: New file.
4473         * math/libm-test.inc (cos_test_data): New test inputs.
4474         (sin_test_data): Likewise.
4476         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4477         macro.
4478         (__sin): Use it.
4479         (__cos): Likewise.
4480         (slow1): Likewise.
4481         (slow2): Likewise.
4482         (sloww1): Likewise.
4483         (sloww2): Likewise.
4484         (bsloww1): Likewise.
4485         (bsloww2): Likewise.
4486         (cslow2): Likewise.
4487         (csloww1): Likewise.
4488         (csloww2): Likewise.
4490         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4491         function.
4492         (__sin): Use it.
4493         (__cos): Likewise.
4495         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4496         gotos.
4497         (__cos): Likewise.
4499 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4501         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4502         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4503         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4504         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4505         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4506         * elf/cache.c (print_entry): Handle the new cache flags.
4508 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4509             Aldy Hernandez  <aldyh@redhat.com>
4511         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4512         Change condition to [_SOFT_FLOAT].
4513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4525         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4528         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4529         declaration.
4531 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4533         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4534         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4535         (__longjmp): Use LOAD_GP to load saved GPRs.
4536         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4537         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4538         (__sigsetjmp): Use SAVE_GP to save GPRs.
4540         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4541         Do not append -msoft-float.
4542         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4544 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4546         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4548 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4550         [BZ #15966]
4551         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4552         (_FPU_GETCW): Use initial "__" on variable and field names but not
4553         on macro parameter name.
4554         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4555         parentheses around reference to macro parameter.
4557 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4559         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4560         prototype.
4561         (ctype_startup): Use uint32_t in cast and sizeof for
4562         ctype->charnames.
4564 2013-09-11  Jia Liu  <proljc@gmail.com>
4566         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4567         __daddr_t_defined.
4568         [__FreeBSD__]: Likewise.
4570 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4573         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4574         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4575         (strchr): Remove __strchr_sse42 ifunc selection.
4576         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4577         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4579 2013-09-11  Will Newton  <will.newton@linaro.org>
4581         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4582         parameter to RES. Remove hardcoded 1000 value.
4583         * benchtests/bench-skeleton.c (main): Pass RES parameter
4584         to TIMING_INIT and multiply result by 1000.
4586 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4590 2013-09-11  Andreas Schwab  <schwab@suse.de>
4592         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4593         if not defined.
4594         (O_TMPFILE) [__USE_GNU]: Define.
4595         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4596         Define.
4598 2013-09-11  Will Newton  <will.newton@linaro.org>
4600         [BZ #15857]
4601         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4602         does not overflow.
4604 2013-09-11  Will Newton  <will.newton@linaro.org>
4606         [BZ #15856]
4607         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4608         does not overflow.
4610 2013-09-11  Will Newton  <will.newton@linaro.org>
4612         [BZ #15855]
4613         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4614         does not overflow.
4616 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4618         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4619         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4620         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4621         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4622         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4624 2013-09-10  Allan McRae  <allan@archlinux.org>
4626         [BZ #15748]
4627         * manual/arith.texi (Parsing of Floats): Clarify
4628         cross-reference.
4630         [BZ #15849]
4631         * manual/install.texi (Running make install): Mention
4632         --enable-pt-chown.
4633         * INSTALL: Regenerated.
4635 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4637         * csu/init-first.c (_init): Remove the !SHARED condition around
4638         FPU control word initialization.
4639         * elf/dl-support.c (_dl_fpu_control): New variable.
4640         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4641         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4642         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4643         * math/test-fpucw-static.c: New file.
4644         * math/test-fpucw-ieee.c: New file.
4645         * math/test-fpucw-ieee-static.c: New file.
4646         * math/Makefile (tests): Add `test-fpucw-ieee' and
4647         `$(tests-static)'.
4648         (tests-static): New variable.
4649         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4650         dependency to...
4651         [($(build-shared),yes)]
4652         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4653         ... this.
4654         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4655         New dependency.
4657 2013-09-09  Allan McRae  <allan@archlinux.org>
4659         [BZ #15939]
4660         * manual/string.texi (Collation Functions): Fix typo in
4661         strcoll example.
4662         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4664         [BZ #15893]
4665         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4667         [BZ #15892]
4668         * libio/memstream.c (open_memstream): Fix memory leak.
4669         * libio/wmemstream.c (open_wmemstream): Likewise.
4671         [BZ #15895]
4672         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4674 2013-09-09  Will Newton  <will.newton@linaro.org>
4676         * malloc/Makefile: Add tst-realloc to tests.
4677         * malloc/tst-realloc.c: New file.
4679 2013-09-09  Allan McRae  <allan@archlinux.org>
4681         [BZ #15844]
4682         * COPYING: Update from GNU website to fix FSF address.
4683         * COPYING.LIB: Likewise.
4685 2013-09-06  David S. Miller  <davem@davemloft.net>
4687         * po/zh_TW.po: Update Chinese (traditional) translation from
4688         translation project.
4690 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4691             Joseph Myers  <joseph@codesourcery.com>
4693         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4694         "localeinfo.h".
4695         (obstack_chunk_alloc): New macro.
4696         (obstack_chunk_free): Likewise.
4697         (record_offset): New function.
4698         (init_locale_data): Likewise.
4699         (align_locale_data): Likewise.
4700         (add_locale_empty): Likewise.
4701         (add_locale_raw_data): Likewise.
4702         (add_locale_raw_obstack): Likewise.
4703         (add_locale_string): Likewise.
4704         (add_locale_wstring): Likewise.
4705         (add_locale_uint32): Likewise.
4706         (add_locale_uint32_array): Likewise.
4707         (add_locale_char): Likewise.
4708         (start_locale_structure): Likewise.
4709         (end_locale_structure): Likewise.
4710         (start_locale_prelude): Likewise.
4711         (end_locale_prelude): Likewise.
4712         (write_locale_data): Take locale_file structure rather than an
4713         iovec.
4714         * locale/programs/locfile.h: Include "obstack.h".
4715         (struct locale_file): Change to store locale file contents instead
4716         of header.
4717         (init_locale_data): New prototype.
4718         (align_locale_data): Likewise.
4719         (add_locale_empty): Likewise.
4720         (add_locale_raw_data): Likewise.
4721         (add_locale_raw_obstack): Likewise.
4722         (add_locale_string): Likewise.
4723         (add_locale_wstring): Likewise.
4724         (add_locale_uint32): Likewise.
4725         (add_locale_uint32_array): Likewise.
4726         (add_locale_char): Likewise.
4727         (start_locale_structure): Likewise.
4728         (end_locale_structure): Likewise.
4729         (start_locale_prelude): Likewise.
4730         (end_locale_prelude): Likewise.
4731         (write_locale_data): Update prototype.
4732         * locale/programs/3level.h (struct TABLE): Remove result field.
4733         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4734         Use new locale_file interface.
4735         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4736         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4737         * locale/programs/ld-address.c (address_output): Use new
4738         locale_file interface.
4739         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4740         NO_ADD_LOCALE.
4741         (collate_finish): Don't call collseq_table_finalize.
4742         (collate_output): Use new locale_file interface.
4743         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4744         in file.
4745         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4746         (TABLE): Move defines earlier in file.
4747         (ELEMENT): Likewise.
4748         (DEFAULT): Likewise.
4749         (wctrans_table_add): Move macro and inline function earlier in
4750         file.
4751         (struct wctype_table): Move type earlier in file.
4752         (add_locale_wctype_table): New static prototype.
4753         (struct locale_ctype_t): Use logical types instead of struct iovec
4754         pointers for members.
4755         (ctype_output): Use new locale_file interface.
4756         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4757         new locale_file interface.
4758         (allocate_arrays): Update for use of new locale_file interface.
4759         * locale/programs/ld-identification.c (identification_output): Use
4760         new locale_file interface.
4761         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4762         * locale/programs/ld-messages.c (messages_output): Likewise.
4763         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4764         * locale/programs/ld-name.c (name_output): Likewise.
4765         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4766         * locale/programs/ld-paper.c (paper_output): Likewise.
4767         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4768         * locale/programs/ld-time.c (time_output): Likewise.
4770 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4772         * benchtests/Makefile: Add memrchr benchmark.
4773         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4774         benchmark as memrchr.
4775         * benchtests/bench-memrchr-ifunc.c: New file.
4776         * benchtests/bench-memrchr.c: New file.
4778 2013-09-06   Will Newton  <will.newton@linaro.org>
4780         * benchtests/Makefile (string-bench): Add memcpy.
4782 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4783             Cong Wang  <amwang@redhat.com>
4785         * sysdeps/unix/sysv/linux/bits/in.h
4786         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4787         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4788         before __USE_KERNEL_IPV6_DEFS uses.
4789         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4790         IPPROTO_BEETPH.
4791         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4792         sockaddr_in6, or ipv6_mreq.
4794 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4796         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4797         memory access for final bytes in some large inputs.
4798         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4800 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4802         * string/test-memrchr.c: New file.
4803         * string/test-memrchr-ifunc.c: New file.
4804         * string/Makefile: Add new memrchr testcase.
4806 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4808         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4809         fanotify_init returns EPERM.
4811 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4813         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4814         errors.
4815         (top level): Treat second token from macro or constant entries for
4816         allowed headers as allowed.
4817         * include/complex.h: Condition internal declarations on
4818         [!_ISOMAC].
4819         * include/fenv.h: Condition include of <stdbool.h> and internal
4820         declarations on [!_ISOMAC].
4822 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4824         [BZ #15923]
4825         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4827 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4829         * configure.in (--enable-versioning): Remove configure option.
4830         (libc_cv_asm_symver_directive): Remove configure test.
4831         (libc_cv_ld_version_script_option): Likewise.
4832         (VERSIONING): Remove variable and AC_SUBST.
4833         (DO_VERSIONING): Remove AC_DEFINE.
4834         * configure: Regenerated.
4835         * config.h.in (DO_VERSIONING): Remove macro.
4836         * Makerules [$(versioning) = yes]: Change conditionals to
4837         [$(build-shared) = yes].
4838         * config.make.in (versioning): Remove variable.
4839         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4840         [$(build-shared) = yes].
4841         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4842         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4843         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4844         [$(build-shared) = yes].
4845         * extra-lib.mk [$(versioning) = yes]: Likewise.
4846         * hurd/Makefile [$(versioning) = yes]: Likewise.
4847         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4848         [SHARED].
4849         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4850         [SHARED].
4851         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4852         [SHARED && !NO_HIDDEN].
4853         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4854         [SHARED].
4855         [SHARED && DO_VERSIONING]: Likewise..
4856         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4857         [$(build-shared) = yes].
4858         * manual/install.texi (--disable-versioning): Remove
4859         documentation.
4860         * INSTALL: Regenerated.
4861         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4862         to [SHARED].
4863         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4864         [$(build-shared) = yes].
4865         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4866         * sysdeps/i386/i686/multiarch/strstr-c.c
4867         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4868         [SHARED && !NO_HIDDEN].
4869         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4870         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4871         * sysdeps/powerpc/powerpc32/dl-machine.c
4872         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4873         * sysdeps/powerpc/powerpc32/sysdep.h
4874         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4875         to [SHARED && PIC && !NO_HIDDEN].
4876         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4877         conditional to [SHARED].
4879 2013-09-04   Will Newton  <will.newton@linaro.org>
4881         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4882         * benchtests/bench-string.h: Include bench-timing.h instead
4883         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4884         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4885         call to HP_TIMING_DIFF_INIT.
4886         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4887         instead of hp-timing.h macros.
4888         * benchtests/bench-memchr.c: Likewise.
4889         * benchtests/bench-memcmp.c: Likewise.
4890         * benchtests/bench-memcpy.c: Likewise.
4891         * benchtests/bench-memmem.c: Likewise.
4892         * benchtests/bench-memmove.c: Likewise.
4893         * benchtests/bench-memset.c: Likewise.
4894         * benchtests/bench-rawmemchr.c: Likewise.
4895         * benchtests/bench-strcasecmp.c: Likewise.
4896         * benchtests/bench-strcasestr.c: Likewise.
4897         * benchtests/bench-strcat.c: Likewise.
4898         * benchtests/bench-strchr.c: Likewise.
4899         * benchtests/bench-strcmp.c: Likewise.
4900         * benchtests/bench-strcpy.c: Likewise.
4901         * benchtests/bench-strcpy_chk.c: Likewise.
4902         * benchtests/bench-strlen.c: Likewise.
4903         * benchtests/bench-strncasecmp.c: Likewise.
4904         * benchtests/bench-strncat.c: Likewise.
4905         * benchtests/bench-strncmp.c: Likewise.
4906         * benchtests/bench-strncpy.c: Likewise.
4907         * benchtests/bench-strnlen.c: Likewise.
4908         * benchtests/bench-strpbrk.c: Likewise.
4909         * benchtests/bench-strrchr.c: Likewise.
4910         * benchtests/bench-strspn.c: Likewise.
4911         * benchtests/bench-strstr.c: Likewise.
4913 2013-09-04  Will Newton  <will.newton@linaro.org>
4915         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4917 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4919         [BZ #15427]
4920         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4921         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4922         * math/libm-test.inc (lgamma_test_data): Add more tests.
4923         * sysdeps/i386/fpu/libm-test-ulps: Update.
4924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4926 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4928         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4930         Add ifunc.
4931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4932         Add strcmp-sse2-unaligned
4933         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4935 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4937         * Versions.def (libc): Add GLIBC_2.19.
4939 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4941         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4942         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4944 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4946         [BZ #14155]
4947         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4948         intermediate calculations in recurrence.
4949         (__ieee754_ynf): Likewise.
4950         * math/libm-test.inc (jn_test_data): Do not allow spurious
4951         underflow exception.  Add more tests.
4952         (yn_test_data): Add more tests.
4953         * sysdeps/i386/fpu/libm-test-ulps: Update.
4954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4958         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4960 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4962         * csu/init-first.c: Fix then/than typos.
4963         * locale/programs/ld-collate.c: Likewise.
4964         * locale/programs/linereader.h: Likewise.
4965         * manual/charset.texi: Likewise.
4966         * manual/filesys.texi: Likewise.
4967         * manual/stdio.texi: Likewise.
4968         * manual/string.texi: Likewise.
4969         * stdlib/fmtmsg.c: Likewise.
4970         * sysdeps/i386/stpncpy.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4972         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4976 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4978         * elf/dl-open.c: Fix typos.
4979         * iconvdata/gbbig5.c: Likewise.
4980         * iconvdata/iso-2022-jp.c: Likewise.
4981         * iconv/gconv_int.h: Likewise.
4982         * iconv/loop.c: Likewise.
4983         * nis/rpcsvc/nis.h: Likewise.
4984         * resolv/ns_name.c: Likewise.
4985         * stdio-common/vfscanf.c: Likewise.
4986         * streams/stropts.h: Likewise.
4987         * sunrpc/rpc_thread.c: Likewise.
4988         * sysdeps/i386/strpbrk.S: Likewise.
4989         * sysdeps/ieee754/k_standard.c: Likewise.
4990         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4992         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4993         * sysdeps/mach/hurd/profil.c: Likewise.
4994         * sysdeps/s390/dl-procinfo.h: Likewise.
4995         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4996         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4997         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4998         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5001 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5003         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5006 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5008         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5009         aix specific files.
5010         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5012         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5013         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5014         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5015         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5016         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5017         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5019 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5020             Roland McGrath  <roland@hack.frob.com>
5022         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5023         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5025 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5027         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5028         __executable_start symbol instead of _start.
5030 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5032         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5033         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5034         Move macros to...
5035         * sysdeps/gnu/ldsodefs.h: ... this new file.
5037         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5038         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5039         instead of ELFOSABI_LINUX.
5041         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5042         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5043         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5044         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5045         Likewise.
5046         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5047         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5048         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5049         Likewise.
5050         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5051         (ibm_extended_long_double): Add ieee_nan member.
5052         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5053         (do_test): New function.
5055         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5056         TEST_TRUNC.
5057         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5058         functions, renamed from truncdfsf_test, trunctfsf_test,
5059         trunctfdf_test.
5060         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5061         functions.
5062         (do_test): Run all these.
5064 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5066         * argp/argp-help.c: Fix typos.
5067         * argp/argp-parse.c: Likewise.
5068         * debug/backtracesyms.c: Likewise.
5069         * elf/elf.h: Likewise.
5070         * malloc/malloc.c: Likewise.
5071         * nis/nis_print.c: Likewise.
5072         * resolv/res_comp.c: Likewise.
5073         * stdlib/stdlib.h: Likewise.
5074         * sunrpc/clnt_tcp.c: Likewise.
5075         * sunrpc/clnt_udp.c: Likewise.
5076         * sunrpc/clnt_unix.c: Likewise.
5077         * sysdeps/unix/bsd/ptsname.c: Likewise.
5078         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5079         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5081         Likewise.
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5085         Likewise.
5086         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5088 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5090         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5093 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5095         [BZ #15897]
5096         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5097         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5098         ($(objpfx)bug-dl-leaf): New rule.
5099         ($(objpfx)bug-dl-leaf.so): Likewise.
5100         ($(objpfx)bug-dl-leaf.out): Likewise.
5101         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5102         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5103         * dlfcn/bug-dl-leaf.c: New test.
5104         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5105         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5106         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5107         (dlclose): Likewise.
5108         (dlmopen): Likewise.
5110 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5112         * include/netdb.h [!_ISOMAC]:
5113         Don't include <tls.h>.
5114         (h_errno, __libc_h_errno): Move declaration and macros out of
5115         [_LIBC_REENTRANT].
5117         * include/resolv.h [_RESOLV_H_]:
5118         Don't include <tls.h>.
5119         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5120         * resolv/res_libc.c: Don't include <tls.h>.
5121         (_res): Use __attribute__ ((nocommon)) in place of
5122         __attribute__ ((section (".bss"))).
5124         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5125         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5127         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5129         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5130         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5132         * resolv/res_mkquery.c: Include <sys/time.h>.
5134         * inet/ifreq.c: Moved to ...
5135         * sysdeps/unix/ifreq.c: ... here.
5136         * inet/ifreq.c: New file, true stub version.
5138         * socket/sa_len.c: New file.
5139         * socket/Makefile (aux): Add it.
5140         * sysdeps/unix/sysv/linux/Makefile
5141         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5142         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5143         and #include <socket/sa_len.c>.
5144         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5145         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5147         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5148         * bits/socket.h: ... here.
5150         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5151         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5152         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5154 2013-08-27  Andreas Schwab  <schwab@suse.de>
5156         [BZ #15736]
5157         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5158         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5159         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5160         * string/test-strcasecmp.c (test_main): Run tests in several
5161         locales.
5162         * string/test-strncasecmp.c (test_main): Likewise.
5164         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5165         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5166         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5168         (__strncasecmp_ssse3) [PIC]: Likewise.
5170 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5172         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5174         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5175         instead of explicitly declaring xdecrypt.
5176         * nis/nss_nis/nis-publickey.c: Likewise.
5178 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5180         [BZ #15890]
5181         * nscd/aicache.c: Include res_hconf.h.
5182         (addhstaiX): Initialize res_hconf.
5184 2013-08-26  Andreas Schwab  <schwab@suse.de>
5186         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5187         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5189 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5191         * nscd/aicache.c (addhstaiX): Fix indentation.
5193 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5195         * configure.ac: Quote $build_pt_chown test.
5196         * configure: Regenerated.
5198 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5200         [BZ #15532]
5201         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5202         * math/s_cexpf.c (__cexpf): Likewise.
5203         * math/s_cexpl.c (__cexpl): Likewise.
5204         * math/libm-test.inc (cexp_test_data): Correct expected return
5205         value for NaN + i0.  Add another test.
5207 2013-08-22  David S. Miller  <davem@davemloft.net>
5209         * po/ca.po: Update Catalan translation from translation project.
5210         * po/uk.po: Add Ukrainian translations from translation project.
5212 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5214         [BZ #15797]
5215         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5216         is infinite, not alongside NaN test.
5217         * math/s_fdimf.c (__fdimf): Likewise.
5218         * math/s_fdiml.c (__fdiml): Likewise.
5219         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5220         errno is unchanged.
5222 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5224         * argp/argp-help.c: Fix typos.
5225         * crypt/speeds.c: Likewise.
5226         * csu/check_fds.c: Likewise.
5227         * elf/dl-load.c: Likewise.
5228         * elf/dl-open.c: Likewise.
5229         * elf/reldep3.c: Likewise.
5230         * elf/reldep.c: Likewise.
5231         * elf/sprof.c: Likewise.
5232         * iconv/iconv_charmap.c: Likewise.
5233         * iconv/skeleton.c: Likewise.
5234         * iconv/strtab.c: Likewise.
5235         * io/lockf64.c: Likewise.
5236         * libio/libioP.h: Likewise.
5237         * resolv/gai_notify.c: Likewise.
5238         * resolv/ns_name.c: Likewise.
5239         * resolv/ns_samedomain.c: Likewise.
5240         * resolv/res_send.c: Likewise.
5241         * stdlib/random.c: Likewise.
5242         * sunrpc/rpc/xdr.h: Likewise.
5243         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5244         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5245         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5246         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5247         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5248         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5251         * sysdeps/mach/hurd/check_fds.c: Likewise.
5252         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5253         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5254         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5256         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5257         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5258         * sysdeps/pthread/aio_notify.c: Likewise.
5259         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5260         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5261         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5262         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5263         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5265 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5267         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5268         version if bit_Slow_SSE4_2 is set.
5269         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5270         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5272 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5274         [BZ #15867]
5275         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5276         trampoline stack frame information.
5277         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5278         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5279         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5280         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5281         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5282         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5283         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5284         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5285         sa_flags value.
5286         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5287         interrupting a syscall and set with option SA_SIGINFO.
5289 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5291         [BZ #15531]
5292         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5293         argument is infinite.
5294         * math/s_cprojf.c (__cprojf): Likewise.
5295         * math/s_cprojl.c (__cprojl): Likewise.
5296         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5297         * math/libm-test.inc (cproj_test_data): Add more tests.
5299         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5301         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5302         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5303         size.  Use __ffs to determine corresponding shift.
5305 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5306             Roland McGrath  <roland@hack.frob.com>
5308         * Makefile (INSTALL): Remove trailing blank lines from output of
5309         makeinfo.
5311 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5313         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5314         Align 32 bit compat elf_greg to 8 bytes.
5316 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5318         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5320 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5322         * string/strcoll_l.c (coll_seq): New structure.
5323         (get_next_seq_cached): New function.
5324         (get_next_seq): New function.
5325         (do_compare): New function.
5326         (STRCOLL): Use GNU style definition.  Simplify implementation
5327         by using get_next_seq, get_next_seq_cached and do_compare.
5329 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5331         [BZ #14699]
5332         CVE-2013-4237
5333         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5334         member.
5335         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5336         member.
5337         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5338         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5339         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5340         conditional.
5341         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5342         GETDENTS_64BIT_ALIGNED.
5343         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5344         * manual/filesys.texi (Reading/Closing Directory): Document
5345         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5346         strongly.
5347         * manual/conf.texi (Limits for Files): Add portability note to
5348         NAME_MAX, PATH_MAX.
5349         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5351 2013-08-13  Andreas Schwab  <schwab@suse.de>
5353         [BZ #15749]
5354         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5355         of fabs.
5356         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5357         LDBL_MAX_EXP >= 16384]: Add tests for it.
5359 2013-08-12  David S. Miller  <davem@davemloft.net>
5361         * version.h (RELEASE): Set to "development".
5362         (VERSION): Set to "2.18.90".
5363         * NEWS: Add 2.19 section.
5365 2013-08-03  David S. Miller  <davem@davemloft.net>
5367         * po/ko.po: Update Korean translation from translation project.
5369 2013-08-01  David S. Miller  <davem@davemloft.net>
5371         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5372         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5373         Bilka.
5375 2013-07-30  David S. Miller  <davem@davemloft.net>
5377         * po/fr.po: Update French translation from translation project.
5379 2013-07-28  David S. Miller  <davem@davemloft.net>
5381         * po/cs.po: Update Czech translation from translation project.
5383         * po/sv.po: Update Swedish translation from translation project.
5385 2013-07-27  David S. Miller  <davem@davemloft.net>
5387         * po/eo.po: Update Esperanto translation from translation project.
5389         * po/vi.po: Update Vietnamese translation from translation project.
5391         * po/de.po: Update German translation from translation project.
5393 2013-07-26  David S. Miller  <davem@davemloft.net>
5395         * po/bg.po: Update Bulgarian translation from translation project.
5397         * po/nl.po: Update Dutch translation from translation project.
5398         * po/pl.po: Update Polish translation from translation project.
5399         * po/ru.po: Update Russian translation from translation project.
5401 2013-07-24  David S. Miller  <davem@davemloft.net>
5403         * po/libc.pot: Update.
5405 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5407         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5408         variable page size.
5409         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5410         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5411         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5413 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5415         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5417 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5418             Andreas Schwab  <schwab@suse.de>
5419             Roland McGrath  <roland@hack.frob.com>
5420             Joseph Myers  <joseph@codesourcery.com>
5421             Carlos O'Donell  <carlos@redhat.com>
5423         [BZ #15755]
5424         * config.h.in: Define HAVE_PT_CHOWN.
5425         * config.make.in (build-pt-chown): New variable.
5426         * configure.in (--enable-pt_chown): New configure option.
5427         * configure: Regenerate.
5428         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5429         build-pt-chown is enabled.
5430         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5431         pt_chown to fix pty ownership.
5432         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5433         CLOSE_ALL_FDS.
5434         * manual/install.texi (Configuring and compiling): Mention
5435         --enable-pt_chown. Add @findex for grantpt.
5436         * INSTALL: Regenerate.
5438 2013-07-20  David S. Miller  <davem@davemloft.net>
5440         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5441         difference between 32-bit and 64-bit.
5443 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5445         [BZ #15711]
5446         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5447         Avoid system header dependency with -ffreestanding.
5448         ($(objpfx)bits/syscall%d): Likewise.
5450 2013-07-13  David S. Miller  <davem@davemloft.net>
5452         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5453         underflows from atanl/atan2l due to bug 15319.
5454         (casinh_test_data): Likewise.
5456 2013-07-07  David S. Miller  <davem@davemloft.net>
5458         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5460 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5462         * sysdeps/i386/fpu/libm-test-ulps: Update.
5463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5465 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5467         * configure.in (--enable-lock-elision): Fix message text.
5468         * INSTALL: Regenerate.
5469         * configure: Regenerate.
5471 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5475 2013-07-03  Andreas Jaeger  <aj@suse.de>
5477         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5478         define.
5479         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5480         (ptrace_peeksiginfo_args): Add.
5481         (__ptrace_peeksiginfo_flags): Add.
5482         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5483         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5484         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5486 2013-07-03  Allan McRae  <allan@archlinux.org>
5488         * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 2013-07-02  David S. Miller  <davem@davemloft.net>
5492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5494 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5498 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5500         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5503 2013-07-02  Andi Kleen <ak@linux.intel.com>
5505         * config.h.in (ENABLE_LOCK_ELISION): Add.
5506         * configure.in (--enable-lock-elision): Add option.
5507         * manual/install.texi: Document --enable lock elision.
5508         * configure: Regenerate
5509         * INSTALL: Regenerate.
5511 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5513         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5514         SSE4.2 strcasecmp for libc.a.
5515         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5517 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5519         [BZ #13304]
5520         * soft-fp/op-common.h (_FP_FMA): New macro.
5521         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5522         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5523         (_FP_MUL_MEAT_1_imm): ... here.
5524         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5525         (_FP_MUL_MEAT_1_wide): ... here.
5526         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5527         (_FP_MUL_MEAT_1_hard): ... here.
5528         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5529         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5530         (_FP_MUL_MEAT_2_wide): ... here.
5531         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5532         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5533         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5534         (_FP_MUL_MEAT_2_gmp): ... here.
5535         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5536         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5537         (_FP_MUL_MEAT_4_wide): ... here.
5538         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5539         (_FP_MUL_MEAT_4_gmp): ... here.
5540         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5541         (_FP_WFRACBITS_DW_S): Likewise.
5542         (_FP_WFRACXBITS_DW_S): Likewise.
5543         (_FP_HIGHBIT_DW_S): Likewise.
5544         (FP_FMA_S): Likewise.
5545         (_FP_FRAC_HIGH_DW_S): Likewise.
5546         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5547         (_FP_WFRACBITS_DW_D): Likewise.
5548         (_FP_WFRACXBITS_DW_D): Likewise.
5549         (_FP_HIGHBIT_DW_D): Likewise.
5550         (FP_FMA_D): Likewise.
5551         (_FP_FRAC_HIGH_DW_D): Likewise.
5552         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5553         (_FP_WFRACBITS_DW_E): Likewise.
5554         (_FP_WFRACXBITS_DW_E): Likewise.
5555         (_FP_HIGHBIT_DW_E): Likewise.
5556         (FP_FMA_E): Likewise.
5557         (_FP_FRAC_HIGH_DW_E): Likewise.
5558         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5559         (_FP_WFRACBITS_DW_Q): Likewise.
5560         (_FP_WFRACXBITS_DW_Q): Likewise.
5561         (_FP_HIGHBIT_DW_Q): Likewise.
5562         (FP_FMA_Q): Likewise.
5563         (_FP_FRAC_HIGH_DW_Q): Likewise.
5564         * soft-fp/fmasf4.c: New file.
5565         * soft-fp/fmadf4.c: Likewise.
5566         * soft-fp/fmatf4.c: Likewise.
5568 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5571         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5572         Silvermont.
5573         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5574         macro.
5575         (index_Slow_SSE4_2): Likewise.
5576         (index_Prefer_PMINUB_for_stringop): Likewise.
5577         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5578         bit_Slow_SSE4_2 is set.
5579         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5580         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5582 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5584         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5585         rtld_global._dl_hwcap2.
5586         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5587         POWER8.
5588         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5589         POWER8 feature descriptions defined in _dl_hwcap2.
5590         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5591         string handling for POWER8 feature bits.
5592         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5593         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5594         _dl_powerpc_cap_flags.
5595         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5596         * sysdeps/powerpc/rtld-global-offsets.sym
5597         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5598         _dl_hwcap2 in the rtld_global_ro structure.
5600 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5602         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5603         hardware capabilities in support of AT_HWCAP2.
5604         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5605         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5606         GLRO(dl_hwcap2).
5607         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5608         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5609         explicitly the unknown a_type display mechanism is used.
5610         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5611         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5612         struct member.
5613         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5614         to macro prototype for AT_HWCAP2 support.
5615         * sysdeps/i386/dl-procinfo.h: Likewise.
5616         * sysdeps/s390/dl-procinfo.h: Likewise.
5617         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5618         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5619         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5620         return -1 for unknown a_type display fallback.
5621         * sysdeps/sparc/dl-procinfo.h: Likewise.
5622         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5623         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5625 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5627         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5628         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5630 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5632         [BZ #12492]
5633         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5634         mprotect making __stack_prot writable.
5636 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5637             Joseph Myers  <joseph@codesourcery.com>
5639         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5640         as being properly aligned.
5642 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5644         * dlfcn/modstatic5.c: New file.
5645         * dlfcn/tststatic5.c: New file.
5646         * dlfcn/Makefile (tests): Add tststatic5.
5647         (tests-static): Likewise.
5648         (modules-names): Add modstatic5.
5649         (tststatic5-ENV): New variable.
5650         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5652         [BZ #15022]
5653         * elf/dl-support.c (_dl_main_map): New variable.
5654         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5655         (_dl_nns, _dl_load_adds): Set to 1.
5656         (_dl_initial_searchlist): Refer to _dl_main_map.
5657         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5658         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5659         call to _dl_get_origin.
5660         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5661         around call_map.
5662         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5663         * dlfcn/modstatic3.c: New file.
5664         * dlfcn/tststatic3.c: New file.
5665         * dlfcn/tststatic4.c: New file.
5666         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5667         (tests-static): Likewise.
5668         (modules-names): Add modstatic3.
5669         (tststatic3-ENV, tststatic4-ENV): New variables.
5670         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5671         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5673 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5675         * configure.in (CC): Require GCC version 4.4 or later.
5676         * configure: Regenerated.
5677         * manual/install.texi (Tools for Compilation): Update GCC version
5678         requirement.
5679         * INSTALL: Regenerated.
5681 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5683         [BZ #15674]
5684         * string/test-memcmp.c (check2): New.
5685         (main): Call check2.
5687         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5689 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5691         [BZ #15022]
5692         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5693         over to...
5694         (dl_open_worker) [!SHARED]: ... here.
5696 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5698         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5700 2013-06-25  Richard Henderson  <rth@redhat.com>
5702         * locale/programs/locarchive.c: Include <libc-internal.h>
5704 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5706         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5707         trailing whitespace removed.
5709 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5711         [BZ #10283]
5712         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5713         * locale/programs/locarchive.c: Include libc-mmap.h.
5714         (prepare_address_space): Take two new outputs (the mmap base and len).
5715         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5716         values.
5717         (create_archive): Declare new mmap base and len values for
5718         prepare_address_space, and store the result in ah.
5719         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5720         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5721         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5722         Declare new mmap base and len values for
5723         prepare_address_space, and store the result in new_ah.
5724         (open_archive): Declare new mmap base and len values for
5725         prepare_address_space, and store the result in ah.
5726         (close_archive): If ah->mmap_base is not NULL, use that and
5727         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5728         * sysdeps/generic/libc-mmap.h: New file.
5730 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5732         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5733         (ALIGN_UP): Likewise.
5734         (PTR_ALIGN_DOWN): Likewise.
5735         (PTR_ALIGN_UP): Likewise.
5737 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5739         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5740         entry mapped to PPC_PLATFORM_POWER8.
5741         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5742         POWER8.
5743         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5744         (_dl_string_platform): Add case for exporting platform position for
5745         POWER8.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5747         search path to sysdeps/powerpc/powerpc32/power8 directory.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5749         search path to sysdeps/powerpc/powerpc64/power8 directory.
5750         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5751         power7 directories.
5752         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5753         power7 directories.
5755 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5757         * INSTALL: Regenerate.
5759         * nscd/connections.c (nscd_init): Fix comment.
5761 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5763         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5765         [BZ #15667]
5766         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5767         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5769 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5771         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5772         DL_DST_REQ_STATIC.
5773         (DL_DST_REQ_STATIC): Remove macro.
5775 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5777         [BZ #7006]
5778         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5779         with a shift of 0 bits.
5781 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5783         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5784         $(tststatic-ENV).
5786 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5788         [BZ #15655]
5789         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5791 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5793         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5794         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5795         accepts -fno-tree-loop-distribute-patterns.
5796         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5797         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5798         recursive call.
5799         * string/memset.c (memset): Likewise.
5800         * string/test-memmove.c (simple_memmove): Disable loop transformation
5801         to library calls.
5802         * string/test-memset.c (simple_memset): Likewise.
5803         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5804         * benchtests/bench-memset.c (simple_memset): Likewise.
5805         * configure: Regenerated.
5807 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5809         * math/test-misc.c (main): Ignore fesetround failure when failures
5810         of subsequent rounding tests would be ignored.
5812         [BZ #15654]
5813         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5814         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5815         * math/fegetenv.c (__fegetenv): Return 0.
5816         * math/fegetexcept.c (fegetexcept): Return 0.
5817         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5818         FE_TONEAREST.
5819         * math/feholdexcpt.c (feholdexcept): Return 0.
5820         * math/fesetenv.c (__fesetenv): Return 0.
5821         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5822         argument FE_TONEAREST.
5823         * math/feupdateenv.c (__feupdateenv): Return 0.
5824         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5826 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5828         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5829         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5830         ($(objpfx)rtld-%.os rules): Use them.
5832 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5834         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5835         fields.
5837 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5839         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5840         length of target pattern, then descending length of dependency pattern.
5841         * configure.in (AWK): Require gawk 3.1.2 or newer.
5842         * manual/install.texi (Tools for Compilation): Say that we do.
5843         * configure: Regenerated.
5845         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5846         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5847         * scripts/sysd-rules.awk: ... this new script.
5848         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5849         than a glob-style pattern.
5851 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5853         * math/test-misc.c (main): Do not treat incorrectly rounded
5854         conversions as failure unless ROUNDING_TESTS passes.
5856 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5858         [BZ #15631]
5859         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5860         restore exception state around main square root computation, then
5861         check for inexactness explicitly.
5863         * math/libm-test.inc (fma_test_data): Add another test.
5865 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5867         * manual/threads.texi (Non-POSIX Extensions): New document
5868         node.  Document pthread_getattr_default_np and
5869         pthread_setattr_default_np.
5871         * Versions.def (libpthread): Add GLIBC_2.18.
5872         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5874         Likewise.
5875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5876         Likewise.
5877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5882         Likewise.
5883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5886         Likewise.
5887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5888         Likewise.
5889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5890         Likewise.
5892 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5895         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5897 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5898             H.J. Lu  <hjl.tools@gmail.com>
5900         [BZ #15627]
5901         * sysdeps/x86_64/rtld-memset.c: Remove file.
5902         * sysdeps/x86_64/rtld-memset.S: New file.
5904 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5906         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5907         (test_in_one_mode): Take arguments for whether the rounding mode
5908         is supported for each floating-point type.
5909         (do_test): Pass new arguments to test_in_one_mode using
5910         ROUNDING_TESTS.
5912 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5914         * posix/tst-waitid.c (do_test): Distinguish different instances of
5915         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5916         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5917         before entering the kernel for waitpid.
5919 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5921         * NEWS: Fix note on clock function precision.  Text by Roland
5922         McGrath.
5924 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5926         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5927         it into place only when and if the sanity check passes.
5929 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5931         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5932         output for whether conversion result is exact.  Take argument
5933         indicating whether type is IBM long double.
5934         (round_for_all): Change need_exact field to ibm_ld.
5935         * stdlib/tst-strtod-round.c (struct exactness): New type.
5936         (struct test): Change bool ld_ok field to struct exactness exact.
5937         (TEST): Update all definitions for change to field.
5938         (tests): Regenerate array contents.
5939         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5940         field value.  Check for IBM long double here.
5941         (do_test): Update calls to test_in_one_mode.
5943 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5945         [BZ #12515]
5946         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5947         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5949 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5951         [BZ #15605]
5952         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5953         generated by the compiler on loop optimizations.
5954         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5955         general definitions.
5957 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5959         * math/bug-nextafter.c: Include <math-tests.h>.
5960         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5961         the relevant type.
5962         * math/bug-nexttoward.c: Include <math-tests.h>.
5963         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5964         the relevant type.
5965         * math/test-misc.c: Include <math-tests.h>.
5966         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5967         the relevant type.
5969 2013-06-12  Andreas Jaeger  <aj@suse.de>
5971         * po/ia.po: Update Interlingua translation from translation
5972         project.
5974 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5976         * include/fenv.h: Include stdbool.h.
5977         (struct rm_ctx): New structure.
5978         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5979         Define macro.
5980         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5981         (SET_RESTORE_ROUNDF): Likewise.
5982         (SET_RESTORE_ROUNDL): Likewise.
5983         (SET_RESTORE_ROUND_NOEX): Likewise.
5984         (SET_RESTORE_ROUND_NOEXF): Likewise.
5985         (SET_RESTORE_ROUND_NOEXL): Likewise.
5986         (SET_RESTORE_ROUND_53BIT): Likewise.
5987         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5988         (libc_feresetround_noexf_ctx): Likewise.
5989         (libc_feresetround_noexl_ctx): Likewise.
5990         (libc_feholdsetround_53bit_ctx): Likewise.
5991         (libc_feresetround_53bit_ctx): Likewise.
5992         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5993         (libc_feholdexcept_setround_sse_ctx): New function.
5994         (libc_fesetenv_sse_ctx): Likewise.
5995         (libc_feupdateenv_sse_ctx): Likewise.
5996         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5997         (libc_feholdexcept_setround_387_ctx): Likewise.
5998         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5999         (libc_feholdsetround_387_prec_ctx): Likewise.
6000         (libc_feholdsetround_387_ctx): Likewise.
6001         (libc_feholdsetround_387_53bit_ctx): Likewise.
6002         (libc_feholdsetround_sse_ctx): Likewise.
6003         (libc_feresetround_sse_ctx): Likewise.
6004         (libc_feresetround_387_ctx): Likewise.
6005         (libc_feupdateenv_387_ctx): Likewise.
6006         (libc_feholdexcept_setroundf_ctx): Define macro.
6007         (libc_fesetenvf_ctx): Likewise.
6008         (libc_feupdateenvf_ctx): Likewise.
6009         (libc_feholdsetroundf_ctx): Likewise.
6010         (libc_feresetroundf_ctx): Likewise.
6011         (libc_feholdexcept_setround_ctx): Likewise.
6012         (libc_fesetenv_ctx): Likewise.
6013         (libc_feupdateenv_ctx): Likewise.
6014         (libc_feholdsetround_ctx): Likewise.
6015         (libc_feresetround_ctx): Likewise.
6016         (libc_feholdexcept_setroundl_ctx): Likewise.
6017         (libc_feupdateenvl_ctx): Likewise.
6018         (libc_feholdsetroundl_ctx): Likewise.
6019         (libc_feresetroundl_ctx): Likewise.
6020         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6021         (libc_feresetround_53bit_ctx): Likewise.
6023 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6025         * locale/iso-639.def: Convert to UTF-8.
6027 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6029         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6030         (EXCEPTION_TESTS_double): Likewise.
6031         (EXCEPTION_TESTS_long_double): Likewise.
6032         (EXCEPTION_TESTS): Likewise.
6033         * math/libm-test.inc (test_exceptions): Only test exceptions if
6034         EXCEPTION_TESTS (FLOAT).
6036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6038         * benchtests/Makefile (string-bench): Add strcpy_chk and
6039         stpcpy_chk.
6040         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6041         * benchtests/bench-stpcpy_chk.c: New file.
6042         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6043         * benchtests/bench-strcpy_chk.c: New file.
6044         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6045         code.
6046         (do_test): Likewise.
6048 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6050         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6051         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6052         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6053         with tabs where appropriate.
6054         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6055         dl-procinfo.h.
6056         [PPC_PLATFORM_PPC440]: Likewise.
6057         [PPC_PLATFORM_PPC464]: Likewise.
6058         [PPC_PLATFORM_PPC476]: Likewise.
6059         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6060         ppc464, and ppc476 platform strings merging from ports/
6061         dl-procinfo.h.
6063 2013-06-11  Andreas Schwab  <schwab@suse.de>
6065         [BZ #14991]
6066         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6067         (from_ucs4_idx): Regenerate.
6068         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6069         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6070         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6071         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6072         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6073         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6074         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6075         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6076         from FROM_LOOP and TO_LOOP specific macros.
6077         (BODY): Handle combining characters.
6078         * iconvdata/BIG5HKSCS.irreversible: Update.
6079         * iconvdata/BIG5HKSCS.precomposed: New file.
6080         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6081         characters.
6082         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6084 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6086         * include/sys/time.h: Fix indentation and add copyright header.
6088         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6089         (do_test): Likewise.
6090         * string/test-memchr.c (do_one_test): Likewise.
6091         (do_test): Likewise.
6092         * string/test-memcmp.c (do_one_test): Likewise.
6093         (do_test): Likewise.
6094         * string/test-memcpy.c (do_one_test): Likewise.
6095         (do_test): Likewise.
6096         * string/test-memmem.c (do_one_test): Likewise.
6097         (do_test): Likewise.
6098         (do_random_tests): Likewise.
6099         * string/test-memmove.c (do_one_test): Likewise.
6100         (do_test): Likewise.
6101         * string/test-memset.c (do_one_test): Likewise.
6102         (do_test): Likewise.
6103         * string/test-rawmemchr.c (do_one_test): Likewise.
6104         (do_test): Likewise.
6105         * string/test-strcasecmp.c (do_one_test): Likewise.
6106         (do_test): Likewise.
6107         * string/test-strcasestr.c (do_one_test): Likewise.
6108         (do_test): Likewise.
6109         * string/test-strcat.c (do_one_test): Likewise.
6110         (do_test): Likewise.
6111         * string/test-strchr.c (do_one_test): Likewise.
6112         (do_test): Likewise.
6113         * string/test-strcmp.c (do_one_test): Likewise.
6114         (do_test): Likewise.
6115         * string/test-strcpy.c (do_one_test): Likewise.
6116         (do_test): Likewise.
6117         * string/test-string.h: Likewise.
6118         (test_init): Likewise.
6119         * string/test-strlen.c (do_one_test): Likewise.
6120         (do_test): Likewise.
6121         * string/test-strncasecmp.c (do_one_test): Likewise.
6122         (do_test): Likewise.
6123         * string/test-strncat.c (do_one_test): Likewise.
6124         (do_test): Likewise.
6125         * string/test-strncmp.c (do_one_test): Likewise.
6126         (do_test_limit): Likewise.
6127         (do_test): Likewise.
6128         * string/test-strncpy.c (do_one_test): Likewise.
6129         (do_test): Likewise.
6130         * string/test-strnlen.c (do_one_test): Likewise.
6131         (do_test): Likewise.
6132         * string/test-strpbrk.c (do_one_test): Likewise.
6133         (do_test): Likewise.
6134         * string/test-strrchr.c (do_one_test): Likewise.
6135         (do_test): Likewise.
6136         * string/test-strspn.c (do_one_test): Likewise.
6137         (do_test): Likewise.
6138         * string/test-strstr.c (do_one_test): Likewise.
6139         (do_test): Likewise.
6141         * benchtests/Makefile (string-bench): Add string benchmarks.
6142         * benchtests/bench-bcopy-ifunc.c: New file.
6143         * benchtests/bench-bcopy.c: New file.
6144         * benchtests/bench-bzero-ifunc.c: New file.
6145         * benchtests/bench-bzero.c: New file.
6146         * benchtests/bench-memccpy-ifunc.c: New file.
6147         * benchtests/bench-memccpy.c: New file.
6148         * benchtests/bench-memchr-ifunc.c: New file.
6149         * benchtests/bench-memchr.c: New file.
6150         * benchtests/bench-memcmp-ifunc.c: New file.
6151         * benchtests/bench-memcmp.c: New file.
6152         * benchtests/bench-memmem-ifunc.c: New file.
6153         * benchtests/bench-memmem.c: New file.
6154         * benchtests/bench-memmove-ifunc.c: New file.
6155         * benchtests/bench-memmove.c: New file.
6156         * benchtests/bench-mempcpy-ifunc.c: New file.
6157         * benchtests/bench-mempcpy.c: New file.
6158         * benchtests/bench-memset-ifunc.c: New file.
6159         * benchtests/bench-memset.c: New file.
6160         * benchtests/bench-rawmemchr-ifunc.c: New file.
6161         * benchtests/bench-rawmemchr.c: New file.
6162         * benchtests/bench-stpcpy-ifunc.c: New file.
6163         * benchtests/bench-stpcpy.c: New file.
6164         * benchtests/bench-stpncpy-ifunc.c: New file.
6165         * benchtests/bench-stpncpy.c: New file.
6166         * benchtests/bench-strcasecmp-ifunc.c: New file.
6167         * benchtests/bench-strcasecmp.c: New file.
6168         * benchtests/bench-strcasestr-ifunc.c: New file.
6169         * benchtests/bench-strcasestr.c: New file.
6170         * benchtests/bench-strcat-ifunc.c: New file.
6171         * benchtests/bench-strcat.c: New file.
6172         * benchtests/bench-strchr-ifunc.c: New file.
6173         * benchtests/bench-strchr.c: New file.
6174         * benchtests/bench-strchrnul-ifunc.c: New file.
6175         * benchtests/bench-strchrnul.c: New file.
6176         * benchtests/bench-strcmp-ifunc.c: New file.
6177         * benchtests/bench-strcmp.c: New file.
6178         * benchtests/bench-strcpy-ifunc.c: New file.
6179         * benchtests/bench-strcpy.c: New file.
6180         * benchtests/bench-strcspn-ifunc.c: New file.
6181         * benchtests/bench-strcspn.c: New file.
6182         * benchtests/bench-strlen-ifunc.c: New file.
6183         * benchtests/bench-strlen.c: New file.
6184         * benchtests/bench-strncasecmp-ifunc.c: New file.
6185         * benchtests/bench-strncasecmp.c: New file.
6186         * benchtests/bench-strncat-ifunc.c: New file.
6187         * benchtests/bench-strncat.c: New file.
6188         * benchtests/bench-strncmp-ifunc.c: New file.
6189         * benchtests/bench-strncmp.c: New file.
6190         * benchtests/bench-strncpy-ifunc.c: New file.
6191         * benchtests/bench-strncpy.c: New file.
6192         * benchtests/bench-strnlen-ifunc.c: New file.
6193         * benchtests/bench-strnlen.c: New file.
6194         * benchtests/bench-strpbrk-ifunc.c: New file.
6195         * benchtests/bench-strpbrk.c: New file.
6196         * benchtests/bench-strrchr-ifunc.c: New file.
6197         * benchtests/bench-strrchr.c: New file.
6198         * benchtests/bench-strspn-ifunc.c: New file.
6199         * benchtests/bench-strspn.c: New file.
6200         * benchtests/bench-strstr-ifunc.c: New file.
6201         * benchtests/bench-strstr.c: New file.
6203         * benchtests/Makefile: Disable parallel execution of targets.
6204         (string-bench): Add memcpy.
6205         (benchset): New variable to store a list of benchmark sets.
6206         (bench-func): Renamed from bench.
6207         (bench-set): New target.
6208         (bench): Depend on bench-func and bench-set.
6209         * benchtests/README: Add section on benchmark sets.
6210         * benchtests/bench-memcpy-ifunc.c: New file.
6211         * benchtests/bench-memcpy.c: New file.
6212         * benchtests/bench-string.h: New file.
6214 2013-06-11  Andreas Schwab  <schwab@suse.de>
6216         [BZ #15577]
6217         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6218         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6219         values in the triple.
6220         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6221         terminator in the group key.
6223 2013-06-11  Andreas Jaeger  <aj@suse.de>
6225         * po/zh_TW.po: Update Chinese (traditional) translation from
6226         translation project.
6228 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6230         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6231         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6232         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6233         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6234         (clock_getcpuclockid): Likewise.
6235         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6236         Add weak_alias and libc_hidden_def.
6237         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6238         * rt/clock_gettime.c (clock_gettime): Rename to
6239         __clock_gettime.  Add weak_alias and libc_hidden_def.
6240         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6241         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6242         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6243         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6244         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6245         Likewise.
6246         * rt/clock_settime.c (clock_settime): Rename to
6247         __clock_settime.  Add weak_alias and libc_hidden_def.
6248         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6250 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6252         * mach/err_boot.sub: Remove trailing whitespace.
6253         * mach/err_ipc.sub: Likewise.
6254         * mach/err_mach.sub: Likewise.
6256         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6257         (ROUNDING_TESTS_double): Likewise.
6258         (ROUNDING_TESTS_long_double): Likewise.
6259         (ROUNDING_TESTS): Likewise.
6260         * math/libm-test.inc: Include <math-tests.h>.
6261         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6262         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6263         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6264         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6266 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6268         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6269         of assigning.
6271 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6273         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6274         otherwise empty TRANS lines.
6275         * sysdeps/gnu/errlist.c: Regenerated.
6277         * catgets/gencat.c (error_print): Use (void) in function
6278         definition.
6279         * crypt/crypt_util.c (__init_des): Likewise.
6280         * crypt/speeds.c (Stop): Likewise.
6281         (main): Likewise.
6282         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6283         * inet/ruserpass.c (token): Likewise.
6284         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6285         * intl/localealias.c (extend_alias_table): Likewise.
6286         * intl/plural-exp.c (init_germanic_plural): Likewise.
6287         * libio/fcloseall.c (__fcloseall): Likewise.
6288         * libio/genops.c (_IO_flush_all): Likewise.
6289         (_IO_flush_all_linebuffered): Likewise.
6290         (_IO_cleanup): Likewise.
6291         (_IO_iter_begin): Likewise.
6292         (_IO_iter_end): Likewise.
6293         (_IO_list_lock): Likewise.
6294         (_IO_list_unlock): Likewise.
6295         (_IO_list_resetlock): Likewise.
6296         * libio/getchar.c (getchar): Likewise.
6297         * libio/getchar_u.c (getchar_unlocked): Likewise.
6298         * libio/getwchar.c (getwchar): Likewise.
6299         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6300         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6301         * login/getpt.c (__getpt): Likewise.
6302         * login/tst-utmp.c (main): Likewise.
6303         * malloc/hooks.c (__malloc_check_init): Likewise.
6304         * malloc/malloc.c (__malloc_stats): Likewise.
6305         * malloc/mtrace.c (tr_break): Likewise.
6306         (mtrace): Likewise.
6307         (muntrace): Likewise.
6308         * misc/fstab.c (endfsent): Likewise.
6309         * misc/getclktck.c (__getclktck): Likewise.
6310         * misc/getdtsz.c (__getdtablesize): Likewise.
6311         * misc/gethostid.c (gethostid): Likewise.
6312         * misc/getpagesize.c (__getpagesize): Likewise.
6313         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6314         (__get_nprocs): Likewise.
6315         (__get_phys_pages): Likewise.
6316         (__get_avphys_pages): Likewise.
6317         * misc/getttyent.c (getttyent): Likewise.
6318         (setttyent): Likewise.
6319         (endttyent): Likewise.
6320         * misc/getusershell.c (getusershell): Likewise.
6321         (endusershell): Likewise.
6322         (setusershell): Likewise.
6323         (initshells): Likewise.
6324         * misc/hsearch.c (__hdestroy): Likewise.
6325         * misc/sync.c (sync): Likewise.
6326         * misc/syslog.c (closelog_internal): Likewise.
6327         (closelog): Likewise.
6328         * misc/ttyslot.c (ttyslot): Likewise.
6329         * misc/vhangup.c (vhangup): Likewise.
6330         * posix/fork.c (__fork): Likewise.
6331         * posix/getegid.c (__getegid): Likewise.
6332         * posix/geteuid.c (__geteuid): Likewise.
6333         * posix/getgid.c (__getgid): Likewise.
6334         * posix/getpid.c (__getpid): Likewise.
6335         * posix/getppid.c (__getppid): Likewise.
6336         * posix/getuid.c (__getuid): Likewise.
6337         * posix/pause.c (pause): Likewise.
6338         * posix/setpgrp.c (setpgrp): Likewise.
6339         * posix/setsid.c (__setsid): Likewise.
6340         * posix/test-vfork.c (noop): Likewise.
6341         * resolv/gethnamaddr.c (_endhtent): Likewise.
6342         (_gethtent): Likewise.
6343         (ht_endhostent): Likewise.
6344         (gethostent): Likewise.
6345         (dns_service): Likewise.
6346         * stdlib/drand48.c (drand48): Likewise.
6347         * stdlib/lrand48.c (lrand48): Likewise.
6348         * stdlib/mrand48.c (mrand48): Likewise.
6349         * stdlib/rand.c (rand): Likewise.
6350         * stdlib/random.c (__random): Likewise.
6351         * stdlib/setenv.c (clearenv): Likewise.
6352         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6353         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6354         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6355         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6356         (__get_nprocs): Likewise.
6357         (__get_phys_pages): Likewise.
6358         (__get_avphys_pages): Likewise.
6359         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6360         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6361         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6362         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6363         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6364         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6365         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6366         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6367         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6368         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6369         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6370         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6371         * sysdeps/posix/clock.c (clock): Likewise.
6372         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6373         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6374         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6375         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6376         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6378         (__get_nprocs_conf): Likewise.
6379         (__get_phys_pages): Likewise.
6380         (__get_avphys_pages): Likewise.
6381         * time/clock.c (clock): Likewise.
6382         * time/tzset.c (__tzname_max): Likewise.
6384 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6386         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6387         (__bswap_32): Do not use "register".
6388         * crypt/crypt.c (_ufc_doit_r): Likewise.
6389         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6390         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6391         * gmon/gmon.c (__monstartup): Likewise.
6392         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6393         * hurd/hurdmalloc.c (more_memory): Likewise.
6394         (malloc): Likewise.
6395         (free): Likewise.
6396         (realloc): Likewise.
6397         (malloc_fork_prepare): Likewise.
6398         (malloc_fork_parent): Likewise.
6399         (malloc_fork_child): Likewise.
6400         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6401         (_svcauth_des): Likewise.
6402         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6403         * inet/inet_net.c (inet_network): Likewise.
6404         * inet/inet_netof.c (inet_netof): Likewise.
6405         * inet/rcmd.c (__validuser2_sa): Likewise.
6406         * io/fts.c (fts_open): Likewise.
6407         (fts_load): Likewise.
6408         (fts_close): Likewise.
6409         (fts_read): Likewise.
6410         (fts_children): Likewise.
6411         (fts_build): Likewise.
6412         (fts_stat): Likewise.
6413         (fts_sort): Likewise.
6414         (fts_alloc): Likewise.
6415         (fts_lfree): Likewise.
6416         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6417         (_IO_file_xsgetn): Likewise.
6418         (_IO_file_xsgetn_mmap): Likewise.
6419         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6420         (_IO_cookie_write): Likewise.
6421         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6422         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6423         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6424         * malloc/obstack.c (_obstack_begin): Likewise.
6425         (_obstack_begin_1): Likewise.
6426         (_obstack_newchunk): Likewise.
6427         (_obstack_allocated_p): Likewise.
6428         (obstack_free): Likewise.
6429         (_obstack_memory_used): Likewise.
6430         * misc/getttyent.c (getttynam): Likewise.
6431         (getttyent): Likewise.
6432         (skip): Likewise.
6433         (value): Likewise.
6434         * misc/getusershell.c (initshells): Likewise.
6435         * misc/syslog.c (__vsyslog_chk): Likewise.
6436         * misc/ttyslot.c (ttyslot): Likewise.
6437         * nis/nis_hash.c (__nis_hash): Likewise.
6438         * posix/fnmatch_loop.c (FCT): Likewise.
6439         * posix/getconf.c (print_all): Likewise.
6440         (main): Likewise.
6441         * posix/getopt.c (exchange): Likewise.
6442         * posix/glob.c (globfree): Likewise.
6443         (prefix_array): Likewise.
6444         (__glob_pattern_type): Likewise.
6445         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6446         (NS_GET32): Likewise.
6447         (NS_PUT16): Likewise.
6448         (NS_PUT32): Likewise.
6449         * resolv/gethnamaddr.c (getanswer): Likewise.
6450         (gethostbyname2): Likewise.
6451         (gethostbyaddr): Likewise.
6452         (_gethtent): Likewise.
6453         (_gethtbyname2): Likewise.
6454         (_gethtbyaddr): Likewise.
6455         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6456         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6457         * resolv/res_init.c (__res_vinit): Likewise.
6458         (net_mask): Likewise.
6459         * resolv/res_mkquery.c (outchar): Likewise.
6460         (PRINT): Likewise.
6461         * stdio-common/printf_fp.c (outchar): Likewise.
6462         (PRINT): Likewise.
6463         * stdio-common/printf_fphex.c (outchar): Likewise.
6464         (PRINT): Likewise.
6465         * stdio-common/printf_size.c (outchar): Likewise.
6466         (PRINT): Likewise.
6467         * stdio-common/test_rdwr.c (main): Likewise.
6468         * stdio-common/tfformat.c (matches): Likewise.
6469         * stdio-common/vfprintf.c (outchar): Likewise.
6470         (printf_unknown): Likewise.
6471         (buffered_vfprintf): Likewise.
6472         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6473         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6474         (ReadFile): Likewise.
6475         * stdlib/qsort.c (SWAP): Likewise.
6476         (_quicksort): Likewise.
6477         * stdlib/setenv.c (__add_to_environ): Likewise.
6478         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6479         * stdlib/strtol_l.c (__strtol_l): Likewise.
6480         * stdlib/tst-strtod.c (main): Likewise.
6481         * stdlib/tst-strtol.c (main): Likewise.
6482         * stdlib/tst-strtoll.c (main): Likewise.
6483         * string/bits/string2.h (__strcmp_cc): Likewise.
6484         (__strcmp_cg): Likewise.
6485         (__strcspn_c1): Likewise.
6486         (__strcspn_c2): Likewise.
6487         (__strcspn_c3): Likewise.
6488         (__strspn_c1): Likewise.
6489         (__strspn_c2): Likewise.
6490         (__strspn_c3): Likewise.
6491         (__strsep_1c): Likewise.
6492         (__strsep_2c): Likewise.
6493         (__strsep_3c): Likewise.
6494         * string/memccpy.c (__memccpy): Likewise.
6495         * string/stpcpy.c (__stpcpy): Likewise.
6496         * string/strcmp.c (strcmp): Likewise.
6497         * string/strrchr.c (strrchr): Likewise.
6498         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6499         Likewise.
6500         * sysdeps/mach/hurd/getcwd.c
6501         (_hurd_canonicalize_directory_name_internal): Likewise.
6502         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6503         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6504         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6505         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6506         Likewise, in both definitions.
6507         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6508         definitions.
6509         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6510         64] (__bswap_64): Likewise.
6511         * time/test_time.c (main): Likewise.
6512         * time/tzfile.c (__tzfile_read): Likewise.
6513         (__tzfile_compute): Likewise.
6514         * time/tzset.c (__tzset_parse_tz): Likewise.
6515         (tzset_internal): Likewise.
6516         (compute_change): Likewise.
6517         * wcsmbs/wcscat.c (__wcscat): Likewise.
6518         * wcsmbs/wcschr.c (wcschr): Likewise.
6519         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6520         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6521         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6522         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6523         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6524         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6525         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6526         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6527         * wcsmbs/wmemset.c (wmemset): Likewise.
6529 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6531         * scripts/config.guess: Update to version 2013-05-16.
6532         * scripts/config.sub: Update to version 2013-04-24.
6533         * scripts/install-sh: Update to version 2011-11-20.07.
6534         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6535         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6537 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6539         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6540         * elf/sln.c: Likewise.
6541         * hurd/hurd/ioctl.h: Likewise.
6542         * hurd/hurdmalloc.c: Likewise.
6543         * hurd/xattr.c: Likewise.
6544         * include/shlib-compat.h: Likewise.
6545         * inet/ruserpass.c: Likewise.
6546         * libio/iofgets_u.c: Likewise.
6547         * libio/iofgetws_u.c: Likewise.
6548         * locale/programs/ld-identification.c: Likewise.
6549         * locale/programs/ld-time.c: Likewise.
6550         * mach/msg-destroy.c: Likewise.
6551         * nss/nss_files/files-netgrp.c: Likewise.
6552         * resolv/res_data.c: Likewise.
6553         * soft-fp/op-1.h: Likewise.
6554         * soft-fp/op-2.h: Likewise.
6555         * soft-fp/op-4.h: Likewise.
6556         * soft-fp/op-common.h: Likewise.
6557         * stdio-common/printf_fphex.c: Likewise.
6558         * stdlib/strtod_l.c: Likewise.
6559         * sunrpc/rpc/clnt.h: Likewise.
6560         * sysdeps/generic/framestate.c: Likewise.
6561         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6562         * sysdeps/i386/bsd-setjmp.S: Likewise.
6563         * sysdeps/i386/__longjmp.S: Likewise.
6564         * sysdeps/i386/setjmp.S: Likewise.
6565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6566         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6567         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6568         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6570         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6571         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6572         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6573         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6574         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6575         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6576         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6577         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6578         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6579         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6580         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6581         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6582         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6583         * sysdeps/ieee754/support.c: Likewise.
6584         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6585         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6586         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6587         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6588         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6589         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6590         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6591         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6592         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6593         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6594         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6595         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6596         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6597         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6598         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6599         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6600         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6603 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6605         * posix/transbug.c: Remove executable mode.
6607 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6609         * crypt/speeds.c: Remove trailing whitespace.
6610         * dlfcn/default.c: Likewise.
6611         * elf/ifuncdep2.c: Likewise.
6612         * elf/ifuncmain1.c: Likewise.
6613         * elf/ifuncmain1vis.c: Likewise.
6614         * elf/testobj.h: Likewise.
6615         * elf/tst-stackguard1.c: Likewise.
6616         * gmon/sys/gmon.h: Likewise.
6617         * hurd/hurdmsg.c: Likewise.
6618         * hurd/new-fd.c: Likewise.
6619         * hurd/ports-get.c: Likewise.
6620         * iconvdata/ibm1008_420.c: Likewise.
6621         * inet/tst-getni1.c: Likewise.
6622         * inet/tst-getni2.c: Likewise.
6623         * libio/ioungetc.c: Likewise.
6624         * libio/wfiledoalloc.c: Likewise.
6625         * manual/libm-err-tab.pl: Likewise.
6626         * math/w_dremf.c: Likewise.
6627         * misc/ftruncate.c: Likewise.
6628         * posix/bug-glob2.c: Likewise.
6629         * posix/tst-pcre.c: Likewise.
6630         * posix/wait4.c: Likewise.
6631         * resolv/README: Likewise.
6632         * resolv/res_debug.h: Likewise.
6633         * resolv/tst-inet_ntop.c: Likewise.
6634         * setjmp/bug269-setjmp.c: Likewise.
6635         * soft-fp/extended.h: Likewise.
6636         * soft-fp/op-1.h: Likewise.
6637         * soft-fp/op-2.h: Likewise.
6638         * soft-fp/op-4.h: Likewise.
6639         * soft-fp/op-8.h: Likewise.
6640         * soft-fp/testit.c: Likewise.
6641         * stdio-common/bug16.c: Likewise.
6642         * stdlib/random.c: Likewise.
6643         * sunrpc/rpcsvc/rquota.x: Likewise.
6644         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6645         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6646         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6647         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6648         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6649         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6650         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6651         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6652         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6653         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6654         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6655         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6656         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6657         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6658         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6659         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6660         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6661         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6662         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6663         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6664         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6665         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6666         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6667         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6668         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6669         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6671         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6673         * sysdeps/ieee754/s_lib_version.c: Likewise.
6674         * sysdeps/mach/hurd/check_fds.c: Likewise.
6675         * sysdeps/mach/hurd/getsockname.c: Likewise.
6676         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6677         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6678         * sysdeps/powerpc/bits/link.h: Likewise.
6679         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6680         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6681         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6682         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6683         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6684         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6685         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6686         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6687         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6688         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6689         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6690         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6691         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6692         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6693         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6694         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6696         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6697         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6699         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6700         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6702         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6703         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6704         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6705         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6707         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6710         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6711         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6712         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6713         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6714         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6715         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6717         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6718         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6719         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6720         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6721         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6722         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6723         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6724         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6725         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6726         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6727         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6728         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6731         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6732         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6733         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6734         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6735         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6736         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6737         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6738         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6739         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6740         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6741         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6742         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6743         * sysdeps/powerpc/sysdep.h: Likewise.
6744         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6745         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6746         * sysdeps/sh/dl-trampoline.S: Likewise.
6747         * sysdeps/sh/memset.S: Likewise.
6748         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6749         * sysdeps/sh/strlen.S: Likewise.
6750         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6751         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6752         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6753         * sysdeps/sparc/sparc32/rem.S: Likewise.
6754         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6755         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6756         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6757         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6758         * sysdeps/sparc/sparc32/urem.S: Likewise.
6759         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6760         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6761         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6762         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6764         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6765         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6766         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6767         * sysdeps/unix/bsd/times.c: Likewise.
6768         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6769         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6773         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6774         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6775         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6776         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6777         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6778         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6779         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6780         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6781         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6782         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6783         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6784         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6785         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6786         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6787         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6788         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6789         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6790         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6791         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6792         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6793         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6794         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6795         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6796         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6797         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6798         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6799         * sysdeps/x86_64/strcspn.S: Likewise.
6801 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6803         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6804         generated file.  Regenerate properly from gen-translit.pl.
6805         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6806         locale/C-translit.h.
6808 2013-06-05  Andreas Schwab  <schwab@suse.de>
6810         [BZ #15100]
6811         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6812         week as 6 instead of -1.
6813         * time/tst-strptime.c (day_tests): Add test case.
6815 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * sysdeps/generic/math_private.h
6818         (libc_feholdexcept_setround_53bit): Replace with
6819         libc_feholdsetround_53bit.
6820         (libc_feupdateenv_53bit): Replace with
6821         libc_feresetround_53bit.
6822         (SET_RESTORE_ROUND_53BIT): Adjust.
6824 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6826         * string/test-strchrnul.c: Add copyright header.
6828         * posix/tst-getaddrinfo4.c: Increase test timeout.
6830 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6832         [BZ #15536]
6833         * math/libm-test.inc (MAX_EXP): Remove
6834         (MIN_EXP): Define.
6835         (ulp): Use MIN_EXP - MANT_DIG.
6836         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6838 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6840         * po/be.po: Revert last change.
6841         * po/zh_CN.po: Likewise.
6842         * po/header.pot: Likewise.
6844 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6846         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6847         link-libc-deps to empty as target-specific variable.
6848         * Makerules (link-libc-args): New variable.
6849         (libc-for-link): Likewise.
6850         (link-libc-deps): Likewise.
6851         (lib%.so): Depend on $(link-libc-deps).  Link with
6852         $(link-libc-args).
6853         (build-module): Link with $(link-libc-args).
6854         (build-module-asneeded): Likewise.
6855         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6856         list of objects.
6857         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6858         target-specific variable.
6859         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6860         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6861         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6862         libc.
6863         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6864         libc and ld.so.
6865         ($(objpfx)libpcprofile.so): Likewise.
6866         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6867         libc_nonshared.a.
6868         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6869         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6870         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6871         $(link-libc-deps).
6872         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6873         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6874         * login/Makefile ($(objpfx)libutil.so): Likewise.
6875         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6876         * math/Makefile ($(objpfx)libm.so): Likewise.
6877         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6878         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6879         variable instead of depending directly on libc.
6880         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6881         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6882         $(link-libc-deps).
6883         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6884         libc.
6885         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6886         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6887         ($(objpfx)libanl.so): Likewise.
6888         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6889         ld.so.
6890         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6891         $(link-libc-deps).
6892         * sysdeps/i386/fpu/Makefile: Remove file.
6893         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6894         ($(objpfx)libm.so): Remove dependency on ld.so.
6896 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6898         [BZ # 15553]
6899         * nis/yp_xdr.c (XDRMAXNAME): Define.
6900         (XDRMAXRECORD): Define.
6901         (xdr_domainname): Use XDRMAXNAME.
6902         (xdr_mapname): Likewise.
6903         (xdr_peername): Likewise.
6904         (xdr_keydat): Use XDRMAXRECORD.
6905         (xdr_valdat): Likewise.
6907 2013-05-30  Jeff Law  <law@redhat.com>
6909         [BZ #14256]
6910         * manual/errno.texi (ESTALE): Update to account for more than
6911         just NFS file systems.
6912         * sysdeps/gnu/errlist.c: Regenerated.
6914 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6916         [BZ #15465]
6917         * elf/Makefile (tests): Add tst-null-argv.
6918         (modules-names):  Add tst-null-argv-lib.
6919         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6920         (tst-null-argv-ENV): Set environment for tst-null-argv.
6921         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6922         (RTLD_PROGNAME): New macro.
6923         * elf/tst-null-argv.c: New test case.
6924         * elf/tst-null-argv-lib.c: Library for test case.
6925         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6926         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6927         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6928         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6929         * elf/dl-init.c (call_init): Likewise.
6930         (_dl_init): Likewise.
6931         * elf/dl-load.c (print_search_path): Likewise.
6932         (_dl_map_object): Likewise.
6933         * elf/dl-lookup.c (do_lookup_x): Likewise.
6934         (add_dependency): Likewise.
6935         (_dl_lookup_symbol_x): Likewise.
6936         (_dl_debug_bindings): Likewise.
6937         * elf/dl-open.c (_dl_show_scope): Likewise.
6938         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6939         * elf/dl-version.c (match_symbol): Likewise.
6940         (_dl_check_map_versions): Likewise.
6941         * elf/rtld.c (dl_main): Likewise.
6942         (print_unresolved): Use RTLD_PROGNAME.
6943         (print_missing_version): Likewise.
6944         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6945         (elf_machine_rela): Likewise.
6946         * sysdeps/powerpc/powerpc32/dl-machine.c
6947         (__process_machine_rela): Likewise.
6948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6949         Likewise.
6950         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6951         Likewise.
6952         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6953         Likewise.
6954         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6955         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6956         Likewise.
6957         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6958         Likewise.
6959         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6961 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6963         * po/be.po: Add descriptive title.
6964         * po/zh_CN.po: Likewise.
6965         * po/header.pot: Likewise.
6967 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6969         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6970         error message.
6971         (enlarge_archive): Likewise.
6973 2013-05-28  Ben North  <ben@redfrontdoor.org>
6975         * manual/arith.texi (frexp): It is the magnitude of the return
6976         value which lies in [0.5, 1), not the return value itself.
6978 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6984         * stdio-common/bug26.c (main): Correct fscanf template.
6986         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6987         declare _dl_skip_args.
6989         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6990         Don't declare.
6992         * manual/platform.texi: Add missing @end deftypefun.
6994 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6996         [BZ #15529]
6997         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6998         bit of mantissa of 2^16382.
6999         * math/libm-test.inc (hypot_test_data): Add more tests.
7001         * math/libm-test.inc: Add drem and pow10 to list of tested
7002         functions.
7003         (pow10_test): New function.
7004         (drem_test): Likewise.
7005         (drem_test_tonearest): Likewise.
7006         (drem_test_towardzero): Likewise.
7007         (drem_test_downward): Likewise.
7008         (drem_test_upward): Likewise.
7009         (main): Call the new functions.
7011         * math/libm-test.inc (finite_test_data): Remove.
7012         (finite_test): Run tests from isfinite_test_data.
7013         (gamma_test_data): Remove.
7014         (gamma_test): Run tests from lgamma_test_data.
7015         * sysdeps/i386/fpu/libm-test-ulps: Update.
7016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7018 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7020         * manual/platform.texi: Add PowerPC PPR function set documentation.
7021         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7022         implementation.
7024 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7026         * math/libm-test.inc (MAX_EXP): Define.
7027         (ULPDIFF): Define.
7028         (ulp): New function.
7029         (check_float_internal): Use ULPDIFF.
7030         (cpow_test): Disable failing test.
7031         (check_ulp): Test ulp() implemetnation.
7032         (main): Call check_ulp before starting tests.
7034 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7036         * math/gen-libm-test.pl (generate_testfile): Do not handle
7037         START_DATA and END_DATA.
7038         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7039         END_DATA.
7040         (acos_tonearest_test_data): Likewise.
7041         (acos_towardzero_test_data): Likewise.
7042         (acos_downward_test_data): Likewise.
7043         (acos_upward_test_data): Likewise.
7044         (acosh_test_data): Likewise.
7045         (asin_test_data): Likewise.
7046         (asin_tonearest_test_data): Likewise.
7047         (asin_towardzero_test_data): Likewise.
7048         (asin_downward_test_data): Likewise.
7049         (asin_upward_test_data): Likewise.
7050         (asinh_test_data): Likewise.
7051         (atan_test_data): Likewise.
7052         (atanh_test_data): Likewise.
7053         (atan2_test_data): Likewise.
7054         (cabs_test_data): Likewise.
7055         (cacos_test_data): Likewise.
7056         (cacosh_test_data): Likewise.
7057         (carg_test_data): Likewise.
7058         (casin_test_data): Likewise.
7059         (casinh_test_data): Likewise.
7060         (catan_test_data): Likewise.
7061         (catanh_test_data): Likewise.
7062         (cbrt_test_data): Likewise.
7063         (ccos_test_data): Likewise.
7064         (ccosh_test_data): Likewise.
7065         (ceil_test_data): Likewise.
7066         (cexp_test_data): Likewise.
7067         (cimag_test_data): Likewise.
7068         (clog_test_data): Likewise.
7069         (clog10_test_data): Likewise.
7070         (conj_test_data): Likewise.
7071         (copysign_test_data): Likewise.
7072         (cos_test_data): Likewise.
7073         (cos_tonearest_test_data): Likewise.
7074         (cos_towardzero_test_data): Likewise.
7075         (cos_downward_test_data): Likewise.
7076         (cos_upward_test_data): Likewise.
7077         (cosh_test_data): Likewise.
7078         (cosh_tonearest_test_data): Likewise.
7079         (cosh_towardzero_test_data): Likewise.
7080         (cosh_downward_test_data): Likewise.
7081         (cosh_upward_test_data): Likewise.
7082         (cpow_test_data): Likewise.
7083         (cproj_test_data): Likewise.
7084         (creal_test_data): Likewise.
7085         (csin_test_data): Likewise.
7086         (csinh_test_data): Likewise.
7087         (csqrt_test_data): Likewise.
7088         (ctan_test_data): Likewise.
7089         (ctan_tonearest_test_data): Likewise.
7090         (ctan_towardzero_test_data): Likewise.
7091         (ctan_downward_test_data): Likewise.
7092         (ctan_upward_test_data): Likewise.
7093         (ctanh_test_data): Likewise.
7094         (ctanh_tonearest_test_data): Likewise.
7095         (ctanh_towardzero_test_data): Likewise.
7096         (ctanh_downward_test_data): Likewise.
7097         (ctanh_upward_test_data): Likewise.
7098         (erf_test_data): Likewise.
7099         (erfc_test_data): Likewise.
7100         (exp_test_data): Likewise.
7101         (exp_tonearest_test_data): Likewise.
7102         (exp_towardzero_test_data): Likewise.
7103         (exp_downward_test_data): Likewise.
7104         (exp_upward_test_data): Likewise.
7105         (exp10_test_data): Likewise.
7106         (exp2_test_data): Likewise.
7107         (expm1_test_data): Likewise.
7108         (fabs_test_data): Likewise.
7109         (fdim_test_data): Likewise.
7110         (finite_test_data): Likewise.
7111         (floor_test_data): Likewise.
7112         (fma_test_data): Likewise.
7113         (fma_towardzero_test_data): Likewise.
7114         (fma_downward_test_data): Likewise.
7115         (fma_upward_test_data): Likewise.
7116         (fmax_test_data): Likewise.
7117         (fmin_test_data): Likewise.
7118         (fmod_test_data): Likewise.
7119         (fpclassify_test_data): Likewise.
7120         (frexp_test_data): Likewise.
7121         (gamma_test_data): Likewise.
7122         (hypot_test_data): Likewise.
7123         (ilogb_test_data): Likewise.
7124         (isfinite_test_data): Likewise.
7125         (isgreater_test_data): Likewise.
7126         (isgreaterequal_test_data): Likewise.
7127         (isinf_test_data): Likewise.
7128         (isless_test_data): Likewise.
7129         (islessequal_test_data): Likewise.
7130         (islessgreater_test_data): Likewise.
7131         (isnan_test_data): Likewise.
7132         (isnormal_test_data): Likewise.
7133         (issignaling_test_data): Likewise.
7134         (isunordered_test_data): Likewise.
7135         (j0_test_data): Likewise.
7136         (j1_test_data): Likewise.
7137         (jn_test_data): Likewise.
7138         (ldexp_test_data): Likewise.
7139         (lgamma_test_data): Likewise.
7140         (lrint_test_data): Likewise.
7141         (lrint_tonearest_test_data): Likewise.
7142         (lrint_towardzero_test_data): Likewise.
7143         (lrint_downward_test_data): Likewise.
7144         (lrint_upward_test_data): Likewise.
7145         (llrint_test_data): Likewise.
7146         (llrint_tonearest_test_data): Likewise.
7147         (llrint_towardzero_test_data): Likewise.
7148         (llrint_downward_test_data): Likewise.
7149         (llrint_upward_test_data): Likewise.
7150         (log_test_data): Likewise.
7151         (log10_test_data): Likewise.
7152         (log1p_test_data): Likewise.
7153         (log2_test_data): Likewise.
7154         (logb_test_data): Likewise.
7155         (logb_downward_test_data): Likewise.
7156         (lround_test_data): Likewise.
7157         (llround_test_data): Likewise.
7158         (modf_test_data): Likewise.
7159         (nearbyint_test_data): Likewise.
7160         (nextafter_test_data): Likewise.
7161         (nexttoward_test_data): Likewise.
7162         (pow_test_data): Likewise.
7163         (pow_tonearest_test_data): Likewise.
7164         (pow_towardzero_test_data): Likewise.
7165         (pow_downward_test_data): Likewise.
7166         (pow_upward_test_data): Likewise.
7167         (remainder_test_data): Likewise.
7168         (remainder_tonearest_test_data): Likewise.
7169         (remainder_towardzero_test_data): Likewise.
7170         (remainder_downward_test_data): Likewise.
7171         (remainder_upward_test_data): Likewise.
7172         (remquo_test_data): Likewise.
7173         (rint_test_data): Likewise.
7174         (rint_tonearest_test_data): Likewise.
7175         (rint_towardzero_test_data): Likewise.
7176         (rint_downward_test_data): Likewise.
7177         (rint_upward_test_data): Likewise.
7178         (round_test_data): Likewise.
7179         (scalb_test_data): Likewise.
7180         (scalbn_test_data): Likewise.
7181         (scalbln_test_data): Likewise.
7182         (signbit_test_data): Likewise.
7183         (sin_test_data): Likewise.
7184         (sin_tonearest_test_data): Likewise.
7185         (sin_towardzero_test_data): Likewise.
7186         (sin_downward_test_data): Likewise.
7187         (sin_upward_test_data): Likewise.
7188         (sincos_test_data): Likewise.
7189         (sinh_test_data): Likewise.
7190         (sinh_tonearest_test_data): Likewise.
7191         (sinh_towardzero_test_data): Likewise.
7192         (sinh_downward_test_data): Likewise.
7193         (sinh_upward_test_data): Likewise.
7194         (sqrt_test_data): Likewise.
7195         (tan_test_data): Likewise.
7196         (tan_tonearest_test_data): Likewise.
7197         (tan_towardzero_test_data): Likewise.
7198         (tan_downward_test_data): Likewise.
7199         (tan_upward_test_data): Likewise.
7200         (tanh_test_data): Likewise.
7201         (tgamma_test_data): Likewise.
7202         (trunc_test_data): Likewise.
7203         (y0_test_data): Likewise.
7204         (y1_test_data): Likewise.
7205         (yn_test_data): Likewise.
7206         (significand_test_data): Likewise.
7208         * math/gen-libm-test.pl (@functions): Remove variable.
7209         (generate_testfile): Don't handle START and END lines.
7210         * math/libm-test.inc (START): New macro.
7211         (END): Likewise.
7212         (END_COMPLEX): Likewise.
7213         (acos_test): Use END macro without arguments.
7214         (acos_test_tonearest): Likewise.
7215         (acos_test_towardzero): Likewise.
7216         (acos_test_downward): Likewise.
7217         (acos_test_upward): Likewise.
7218         (acosh_test): Likewise.
7219         (asin_test): Likewise.
7220         (asin_test_tonearest): Likewise.
7221         (asin_test_towardzero): Likewise.
7222         (asin_test_downward): Likewise.
7223         (asin_test_upward): Likewise.
7224         (asinh_test): Likewise.
7225         (atan_test): Likewise.
7226         (atanh_test): Likewise.
7227         (atan2_test): Likewise.
7228         (cabs_test): Likewise.
7229         (cacos_test): Use END_COMPLEX macro without arguments.
7230         (cacosh_test): Likewise.
7231         (carg_test): Use END macro without arguments.
7232         (casin_test): Use END_COMPLEX macro without arguments.
7233         (casinh_test): Likewise.
7234         (catan_test): Likewise.
7235         (catanh_test): Likewise.
7236         (cbrt_test): Use END macro without arguments.
7237         (ccos_test): Use END_COMPLEX macro without arguments.
7238         (ccosh_test): Likewise.
7239         (ceil_test): Use END macro without arguments.
7240         (cexp_test): Use END_COMPLEX macro without arguments.
7241         (cimag_test): Use END macro without arguments.
7242         (clog_test): Use END_COMPLEX macro without arguments.
7243         (clog10_test): Likewise.
7244         (conj_test): Likewise.
7245         (copysign_test): Use END macro without arguments.
7246         (cos_test): Likewise.
7247         (cos_test_tonearest): Likewise.
7248         (cos_test_towardzero): Likewise.
7249         (cos_test_downward): Likewise.
7250         (cos_test_upward): Likewise.
7251         (cosh_test): Likewise.
7252         (cosh_test_tonearest): Likewise.
7253         (cosh_test_towardzero): Likewise.
7254         (cosh_test_downward): Likewise.
7255         (cosh_test_upward): Likewise.
7256         (cpow_test): Use END_COMPLEX macro without arguments.
7257         (cproj_test): Likewise.
7258         (creal_test): Use END macro without arguments.
7259         (csin_test): Use END_COMPLEX macro without arguments.
7260         (csinh_test): Likewise.
7261         (csqrt_test): Likewise.
7262         (ctan_test): Likewise.
7263         (ctan_test_tonearest): Likewise.
7264         (ctan_test_towardzero): Likewise.
7265         (ctan_test_downward): Likewise.
7266         (ctan_test_upward): Likewise.
7267         (ctanh_test): Likewise.
7268         (ctanh_test_tonearest): Likewise.
7269         (ctanh_test_towardzero): Likewise.
7270         (ctanh_test_downward): Likewise.
7271         (ctanh_test_upward): Likewise.
7272         (erf_test): Use END macro without arguments.
7273         (erfc_test): Likewise.
7274         (exp_test): Likewise.
7275         (exp_test_tonearest): Likewise.
7276         (exp_test_towardzero): Likewise.
7277         (exp_test_downward): Likewise.
7278         (exp_test_upward): Likewise.
7279         (exp10_test): Likewise.
7280         (exp2_test): Likewise.
7281         (expm1_test): Likewise.
7282         (fabs_test): Likewise.
7283         (fdim_test): Likewise.
7284         (finite_test): Likewise.
7285         (floor_test): Likewise.
7286         (fma_test): Likewise.
7287         (fma_test_towardzero): Likewise.
7288         (fma_test_downward): Likewise.
7289         (fma_test_upward): Likewise.
7290         (fmax_test): Likewise.
7291         (fmin_test): Likewise.
7292         (fmod_test): Likewise.
7293         (fpclassify_test): Likewise.
7294         (frexp_test): Likewise.
7295         (gamma_test): Likewise.
7296         (hypot_test): Likewise.
7297         (ilogb_test): Likewise.
7298         (isfinite_test): Likewise.
7299         (isgreater_test): Likewise.
7300         (isgreaterequal_test): Likewise.
7301         (isinf_test): Likewise.
7302         (isless_test): Likewise.
7303         (islessequal_test): Likewise.
7304         (islessgreater_test): Likewise.
7305         (isnan_test): Likewise.
7306         (isnormal_test): Likewise.
7307         (issignaling_test): Likewise.
7308         (isunordered_test): Likewise.
7309         (j0_test): Likewise.
7310         (j1_test): Likewise.
7311         (jn_test): Likewise.
7312         (ldexp_test): Likewise.
7313         (lgamma_test): Likewise.
7314         (lrint_test): Likewise.
7315         (lrint_test_tonearest): Likewise.
7316         (lrint_test_towardzero): Likewise.
7317         (lrint_test_downward): Likewise.
7318         (lrint_test_upward): Likewise.
7319         (llrint_test): Likewise.
7320         (llrint_test_tonearest): Likewise.
7321         (llrint_test_towardzero): Likewise.
7322         (llrint_test_downward): Likewise.
7323         (llrint_test_upward): Likewise.
7324         (log_test): Likewise.
7325         (log10_test): Likewise.
7326         (log1p_test): Likewise.
7327         (log2_test): Likewise.
7328         (logb_test): Likewise.
7329         (logb_test_downward): Likewise.
7330         (lround_test): Likewise.
7331         (llround_test): Likewise.
7332         (modf_test): Likewise.
7333         (nearbyint_test): Likewise.
7334         (nextafter_test): Likewise.
7335         (nexttoward_test): Likewise.
7336         (pow_test): Likewise.
7337         (pow_test_tonearest): Likewise.
7338         (pow_test_towardzero): Likewise.
7339         (pow_test_downward): Likewise.
7340         (pow_test_upward): Likewise.
7341         (remainder_test): Likewise.
7342         (remainder_test_tonearest): Likewise.
7343         (remainder_test_towardzero): Likewise.
7344         (remainder_test_downward): Likewise.
7345         (remainder_test_upward): Likewise.
7346         (remquo_test): Likewise.
7347         (rint_test): Likewise.
7348         (rint_test_tonearest): Likewise.
7349         (rint_test_towardzero): Likewise.
7350         (rint_test_downward): Likewise.
7351         (rint_test_upward): Likewise.
7352         (round_test): Likewise.
7353         (scalb_test): Likewise.
7354         (scalbn_test): Likewise.
7355         (scalbln_test): Likewise.
7356         (signbit_test): Likewise.
7357         (sin_test): Likewise.
7358         (sin_test_tonearest): Likewise.
7359         (sin_test_towardzero): Likewise.
7360         (sin_test_downward): Likewise.
7361         (sin_test_upward): Likewise.
7362         (sincos_test): Likewise.
7363         (sinh_test): Likewise.
7364         (sinh_test_tonearest): Likewise.
7365         (sinh_test_towardzero): Likewise.
7366         (sinh_test_downward): Likewise.
7367         (sinh_test_upward): Likewise.
7368         (sqrt_test): Likewise.
7369         (tan_test): Likewise.
7370         (tan_test_tonearest): Likewise.
7371         (tan_test_towardzero): Likewise.
7372         (tan_test_downward): Likewise.
7373         (tan_test_upward): Likewise.
7374         (tanh_test): Likewise.
7375         (tgamma_test): Likewise.
7376         (trunc_test): Likewise.
7377         (y0_test): Likewise.
7378         (y1_test): Likewise.
7379         (yn_test): Likewise.
7380         (significand_test): Likewise.
7382 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7384         [BZ #15381]
7385         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7387 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7389         [BZ #14894]
7390         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7391         __ppc_mdoio and __ppc_mdoom.
7392         * manual/platform.texi: Document new functions __ppc_yield,
7393         __ppc_mdoio and __ppc_mdoom.
7395 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7397         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7398         (main): Mention "tls" pseudo-hwcap is legacy.
7399         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7401 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7403         * math/gen-libm-test.pl (parse_args): Output only string of
7404         arguments as text for test name, not full call or descriptions of
7405         tests for extra outputs.
7406         (generate_testfile): Do not pass function name to parse_args.
7407         Generate this_func variable from START.
7408         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7409         field to arg_str.
7410         (struct test_ff_f_data): Likewise.
7411         (test_ff_f_data_nexttoward): Likewise.
7412         (struct test_fi_f_data): Likewise.
7413         (struct test_fl_f_data): Likewise.
7414         (struct test_if_f_data): Likewise.
7415         (struct test_fff_f_data): Likewise.
7416         (struct test_c_f_data): Likewise.
7417         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7418         (struct test_fF_f1_data): Likewise.
7419         (struct test_ffI_f1_data): Likewise.
7420         (struct test_c_c_data): Rename test_name field to arg_str.
7421         (struct test_cc_c_data): Likewise.
7422         (struct test_f_i_data): Likewise.
7423         (struct test_ff_i_data): Likewise.
7424         (struct test_f_l_data): Likewise.
7425         (struct test_f_L_data): Likewise.
7426         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7427         and extra2_name.
7428         (COMMON_TEST_SETUP): New macro.
7429         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7430         (COMMON_TEST_CLEANUP): Likewise.
7431         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7432         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7433         macros.
7434         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7435         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7436         macros.
7437         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7438         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7439         cleanup macros.
7440         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7441         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7442         macros.
7443         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7444         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7445         macros.
7446         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7447         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7448         cleanup macros.
7449         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7450         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7451         cleanup macros.
7452         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7453         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7454         cleanup macros.
7455         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7456         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7457         macros.
7458         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7459         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7460         macros.
7461         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7462         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7463         macros.
7464         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7465         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7466         cleanup macros.
7467         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7468         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7469         cleanup macros.
7470         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7471         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7472         macros.
7473         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7474         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7475         cleanup macros.
7476         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7477         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7478         macros.
7479         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7480         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7481         macros.
7482         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7483         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7484         cleanup macros.
7485         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7487 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7489         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7490         to _sifields.sigfault.
7491         (si_addr_lsb): Define new macro.
7492         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7493         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7494         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7496 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7498         [BZ #15441]
7499         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7500         returns -1.
7501         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7502         null return -1.
7503         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7504         loading the domain.
7506 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7508         * math/gen-libm-test.pl (parse_args): Do not include expected
7509         result in test name.
7510         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7511         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7512         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7513         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7514         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7519         * benchtests/Makefile: Sort function entries.
7521         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7522         tanh, asinh, acosh, atanh.
7523         * benchtests/acos-inputs: New file.
7524         * benchtests/acosh-inputs: New file.
7525         * benchtests/asin-inputs: New file.
7526         * benchtests/asinh-inputs: New file.
7527         * benchtests/atanh-inputs: New file.
7528         * benchtests/cosh-inputs: New file.
7529         * benchtests/log-inputs: New file.
7530         * benchtests/sinh-inputs: New file.
7531         * benchtests/tanh-inputs: New file.
7533 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7535         [BZ #15339]
7536         * posix/tst-getaddrinfo4.c: New test.
7537         * posix/Makefile (tests): Add it.
7539 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7541         [BZ #15339]
7542         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7543         when no services were used.
7544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7545         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7547 2013-05-21  Andreas Schwab  <schwab@suse.de>
7549         [BZ #15014]
7550         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7551         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7552         successful.
7553         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7554         redundant variable declarations and reallocation of buffer when
7555         parsing as IPv6 address.  Always set NSS status when called from
7556         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7557         buffer too small.  Correct computation of needed size.
7558         * nss/Makefile (tests): Add test-digits-dots.
7559         * nss/test-digits-dots.c: New test.
7561 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7563         * benchtests/Makefile: Remove instructions for adding
7564         benchmark tests.
7565         * benchtests/README: New file to explain how to execute and
7566         enhance the benchmark tests.
7568 2013-05-21  Andreas Schwab  <schwab@suse.de>
7570         [BZ #15493]
7571         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7572         * setjmp/tst-sigsetjmp.c: New test.
7574 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7576         * sysdeps/x86_64/memset.S (memset): New implementation.
7577         (__bzero): Likewise.
7578         (__memset_tail): New function.
7580 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7582         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7583         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7584         __memcpy_sse2_unaligned ifunc selection.
7585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7586         Add memcpy-sse2-unaligned.S.
7587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7588         Add: __memcpy_sse2_unaligned.
7590 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7592         [BZ #15490]
7593         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7594         math_force_eval before restoring floating-point envrionment.
7595         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7597         Likewise.
7598         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7599         <math_private.h>.
7600         (__nearbyintl): Use math_force_eval before restoring
7601         floating-point environment.
7602         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7604         * math/gen-libm-test.pl (special_functions): Remove.
7605         (parse_args): Don't handle TEST_extra.  Handle functions with no
7606         return value.
7607         * math/libm-test.inc (struct test_sincos_data): Replace with
7608         struct test_fFF_11_data.
7609         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7610         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7611         (sincos_test_data): Change element type to struct
7612         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7613         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7614         RUN_TEST_LOOP_sincos.
7615         * math/README.libm-test: Don't mention special handling of
7616         individual functions.
7617         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7618         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7619         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7620         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7621         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624         * math/gen-libm-test.pl (get_variable): Remove function.
7625         (parse_args): Don't show pointer parameters to call in test
7626         names.  Use "extra output N" in test names for extra outputs
7627         rather than naming variables.
7629 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #15488]
7632         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7633         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7634         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7635         double tests.
7636         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7637         disable.
7638         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7639         check_long_double.
7641         * math/gen-libm-test.pl (@tests): Remove variable.
7642         ($count): Likewise.
7643         (new_test): Remove function.
7644         (show_exceptions): New function.
7645         (special_functions): Use show_exceptions instead of new_test.
7646         (parse_args): Likewise.
7647         (generate_testfile): Pass only function name in generated call to
7648         print_max_error or print_complex_max_error.
7649         (get_ulps): Do not handle complex tests specially.
7650         (output_test): Rename to ...
7651         (get_all_ulps_for_test): ... this.  Return a string rather than
7652         printing to a file.  Require ulps to be present.
7653         (output_ulps): Generate arrays rather than #defines.
7654         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7655         (struct ulp_data): New type.
7656         (BUILD_COMPLEX_ULP): Remove macro.
7657         (compare_ulp_data): New function.
7658         (find_ulps): Likewise.
7659         (find_test_ulps): Likewise.
7660         (find_function_ulps): Likewise.
7661         (find_complex_function_ulps): Likewise.
7662         (print_max_error): Determine allowed ulps using
7663         find_function_ulps.
7664         (print_complex_max_error): Determine allowed ulps using
7665         find_complex_function_ulps.
7666         (check_float_internal): Determine max ulps using find_test_ulps.
7667         (check_float): Do not take max_ulp parameter.  Update call to
7668         check_float_internal.
7669         (check_complex): Likewise.
7670         (check_int): Do not take max_ulp parameter.
7671         (check_long): Likewise.
7672         (check_bool): Likewise.
7673         (check_longlong): Likewise.
7674         (struct test_f_f_data): Remove max_ulp field.
7675         (struct test_ff_f_data): Likewise.
7676         (struct test_ff_f_data_nexttoward): Likewise.
7677         (struct test_fi_f_data): Likewise.
7678         (struct test_fl_f_data): Likewise.
7679         (struct test_if_f_data): Likewise.
7680         (struct test_fff_f_data): Likewise.
7681         (struct test_c_f_data): Likewise.
7682         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7683         (struct test_fF_f1_data): Likewise.
7684         (struct test_ffI_f1_data): Likewise.
7685         (struct test_c_c_data): Remove max_ulp field.
7686         (struct test_cc_c_data): Likewise.
7687         (struct test_f_i_data): Likewise.
7688         (struct test_ff_i_data): Likewise.
7689         (struct test_f_l_data): Likewise.
7690         (struct test_f_L_data): Likewise.
7691         (struct test_sincos_data): Likewise.
7692         (RUN_TEST_f_f): Do not handle ulps.
7693         (RUN_TEST_LOOP_f_f): Likewise.
7694         (RUN_TEST_2_f): Likewise.
7695         (RUN_TEST_LOOP_2_f): Likewise.
7696         (RUN_TEST_fff_f): Likewise.
7697         (RUN_TEST_LOOP_fff_f): Likewise.
7698         (RUN_TEST_c_f): Likewise.
7699         (RUN_TEST_LOOP_c_f): Likewise.
7700         (RUN_TEST_f_f1): Likewise.
7701         (RUN_TEST_LOOP_f_f1): Likewise.
7702         (RUN_TEST_fF_f1): Likewise.
7703         (RUN_TEST_LOOP_fF_f1): Likewise.
7704         (RUN_TEST_fI_f1): Likewise.
7705         (RUN_TEST_LOOP_fI_f1): Likewise.
7706         (RUN_TEST_ffI_f1): Likewise.
7707         (RUN_TEST_LOOP_ffI_f1): Likewise.
7708         (RUN_TEST_c_c): Likewise.
7709         (RUN_TEST_LOOP_c_c): Likewise.
7710         (RUN_TEST_cc_c): Likewise.
7711         (RUN_TEST_LOOP_cc_c): Likewise.
7712         (RUN_TEST_f_i): Likewise.
7713         (RUN_TEST_LOOP_f_i): Likewise.
7714         (RUN_TEST_f_i_tg): Likewise.
7715         (RUN_TEST_LOOP_f_i_tg): Likewise.
7716         (RUN_TEST_ff_i_tg): Likewise.
7717         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7718         (RUN_TEST_f_b): Likewise.
7719         (RUN_TEST_LOOP_f_b): Likewise.
7720         (RUN_TEST_f_b_tg): Likewise.
7721         (RUN_TEST_LOOP_f_b_tg): Likewise.
7722         (RUN_TEST_f_l): Likewise.
7723         (RUN_TEST_LOOP_f_l): Likewise.
7724         (RUN_TEST_f_L): Likewise.
7725         (RUN_TEST_LOOP_f_L): Likewise.
7726         (RUN_TEST_sincos): Likewise.
7727         (RUN_TEST_LOOP_sincos): Likewise.
7729 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7731         [BZ #15480]
7732         [BZ #15485]
7733         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7734         main case of finite arguments, set rounding mode to FE_TONEAREST
7735         and discard exceptions.
7736         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7737         exceptions.
7738         (remainder_tonearest_test_data): New variable.
7739         (remainder_test_tonearest): New function.
7740         (remainder_towardzero_test_data): New variable.
7741         (remainder_test_towardzero): New function.
7742         (remainder_downward_test_data): New variable.
7743         (remainder_test_downward): New function.
7744         (remainder_upward_test_data): New variable.
7745         (remainder_test_upward): New function.
7746         (main): Call the new test functions.
7748         * math/libm-test.inc (struct test_f_f1_data): Remove field
7749         extra_init.
7750         (struct test_fF_f1_data): Likewise.
7751         (struct test_ffI_f1_data): Likewise.
7752         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7753         based on value of EXTRA_EXPECTED.
7754         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7755         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7756         EXTRA_VAR based on value of EXTRA_EXPECTED.
7757         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7758         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7759         EXTRA_VAR based on value of EXTRA_EXPECTED.
7760         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7761         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7762         EXTRA_VAR based on value of EXTRA_EXPECTED.
7763         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7764         * math/gen-libm-test.pl (parse_args): Don't output initializers
7765         for extra output values.
7767         * math/libm-test.inc (check_int): Expect result to be exactly
7768         equal to expected value and do not handle ulps.
7769         (check_long): Likewise.
7770         (check_longlong): Likewise.
7772         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7773         exceptions.
7774         (cimag_test_data): Likewise.
7775         (conj_test_data): Likewise.
7776         (copysign_test_data): Likewise.
7777         (cproj_test_data): Likewise.
7778         (creal_test_data): Likewise.
7779         (fabs_test_data): Likewise.
7780         (fdim_test_data): Likewise.
7781         (finite_test_data): Likewise.
7782         (floor_test_data): Likewise.
7783         (fmax_test_data): Likewise.
7784         (fmin_test_data): Likewise.
7785         (fmod_test_data): Likewise.
7786         (fpclassify_test_data): Likewise.
7787         (frexp_test_data): Likewise.
7788         (ilogb_test_data): Likewise.
7789         (isfinite_test_data): Likewise.
7790         (isgreater_test_data): Likewise.
7791         (isgreaterequal_test_data): Likewise.
7792         (isinf_test_data): Likewise.
7793         (isless_test_data): Likewise.
7794         (islessequal_test_data): Likewise.
7795         (islessgreater_test_data): Likewise.
7796         (isnan_test_data): Likewise.
7797         (isnormal_test_data): Likewise.
7798         (issignaling_test_data): Likewise.
7799         (isunordered_test_data): Likewise.
7800         (ldexp_test_data): Likewise.
7801         (lrint_test_data): Likewise.
7802         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7803         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7804         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7805         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7806         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7807         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7808         test input.
7809         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7810         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7811         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7812         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7813         that test input.
7814         (lrint_downward_test_data): Test for "inexact" exceptions.
7815         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7816         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7817         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7818         test input.
7819         (lrint_upward_test_data): Test for "inexact" exceptions.
7820         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7821         test input.
7822         (llrint_test_data): Test for "inexact" exceptions.
7823         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7824         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7825         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7826         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7827         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7828         (llrint_downward_test_data): Test for "inexact" exceptions.
7829         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7830         (llrint_upward_test_data): Test for "inexact" exceptions.
7831         (logb_test_data): Likewise.
7832         (logb_downward_test_data): Likewise.
7833         (nextafter_test_data): Likewise.
7834         (nexttoward_test_data): Likewise.
7835         (remainder_test_data): Likewise.
7836         (remquo_test_data): Likewise.
7837         (scalbn_test_data): Likewise.
7838         (scalbln_test_data): Likewise.
7839         (signbit_test_data): Likewise.
7840         (sqrt_test_data): Likewise.
7841         (significand_test_data): Likewise.
7843 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7845         [BZ #15424]
7846         * benchtests/bench-modf.c (struct args): Mark arg0 as
7847         volatile.
7848         * scripts/bench.pl: Mark members of struct args as volatile.
7850 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7852         [BZ # 15497]
7853         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7854         negative infinity on POWER6 or lower.
7855         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7857 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7859         [BZ #15442]
7860         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7861         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7862         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7863         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7864         (_FP_SETQNAN): New macro.
7865         (_FP_SETQNAN_SEMIRAW): Likewise.
7866         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7867         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7868         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7869         (FP_EXTEND): Use _FP_FRAC_SNANP.
7870         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7871         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7872         into account.
7873         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7874         New macro.
7875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7876         Likewise.
7878 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7880         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7881         with DIVIDE_BY_ZERO_EXCEPTION.
7882         (gamma_test_data): Likewise.
7883         (lgamma_test_data): Likewise.
7884         (log_test_data): Likewise.
7885         (log10_test_data): Likewise.
7886         (log2_test_data): Likewise.
7887         (tgamma_test_data): Likewise.
7889         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7890         (acos_test_tonearest): Likewise.
7891         (acos_test_towardzero): Likewise.
7892         (acos_test_downward): Likewise.
7893         (acos_test_upward): Likewise.
7894         (acosh_test): Likewise.
7895         (asin_test): Likewise.
7896         (asin_test_tonearest): Likewise.
7897         (asin_test_towardzero): Likewise.
7898         (asin_test_downward): Likewise.
7899         (asin_test_upward): Likewise.
7900         (asinh_test): Likewise.
7901         (atan_test): Likewise.
7902         (atanh_test): Likewise.
7903         (atan2_test): Likewise.
7904         (cabs_test): Likewise.
7905         (cacos_test): Likewise.
7906         (cacosh_test): Likewise.
7907         (casin_test): Likewise.
7908         (casinh_test): Likewise.
7909         (catan_test): Likewise.
7910         (catanh_test): Likewise.
7911         (cbrt_test): Likewise.
7912         (ccos_test): Likewise.
7913         (ccosh_test): Likewise.
7914         (cexp_test): Likewise.
7915         (clog_test): Likewise.
7916         (clog10_test): Likewise.
7917         (cos_test): Likewise.
7918         (cos_test_tonearest): Likewise.
7919         (cos_test_towardzero): Likewise.
7920         (cos_test_downward): Likewise.
7921         (cos_test_upward): Likewise.
7922         (cosh_test): Likewise.
7923         (cosh_test_tonearest): Likewise.
7924         (cosh_test_towardzero): Likewise.
7925         (cosh_test_downward): Likewise.
7926         (cosh_test_upward): Likewise.
7927         (cpow_test): Likewise.
7928         (csin_test): Likewise.
7929         (csinh_test): Likewise.
7930         (csqrt_test): Likewise.
7931         (ctan_test): Likewise.
7932         (ctan_test_tonearest): Likewise.
7933         (ctan_test_towardzero): Likewise.
7934         (ctan_test_downward): Likewise.
7935         (ctan_test_upward): Likewise.
7936         (ctanh_test): Likewise.
7937         (ctanh_test_tonearest): Likewise.
7938         (ctanh_test_towardzero): Likewise.
7939         (ctanh_test_downward): Likewise.
7940         (ctanh_test_upward): Likewise.
7941         (erf_test): Likewise.
7942         (erfc_test): Likewise.
7943         (exp_test): Likewise.
7944         (exp_test_tonearest): Likewise.
7945         (exp_test_towardzero): Likewise.
7946         (exp_test_downward): Likewise.
7947         (exp_test_upward): Likewise.
7948         (exp10_test): Likewise.
7949         (exp2_test): Likewise.
7950         (expm1_test): Likewise.
7951         (fmod_test): Likewise.
7952         (gamma_test): Likewise.
7953         (hypot_test): Likewise.
7954         (j0_test): Likewise.
7955         (j1_test): Likewise.
7956         (jn_test): Likewise.
7957         (lgamma_test): Likewise.
7958         (log_test): Likewise.
7959         (log10_test): Likewise.
7960         (log1p_test): Likewise.
7961         (log2_test): Likewise.
7962         (logb_test_downward): Likewise.
7963         (pow_test): Likewise.
7964         (pow_test_tonearest): Likewise.
7965         (pow_test_towardzero): Likewise.
7966         (pow_test_downward): Likewise.
7967         (pow_test_upward): Likewise.
7968         (remainder_test): Likewise.
7969         (remquo_test): Likewise.
7970         (sin_test): Likewise.
7971         (sin_test_tonearest): Likewise.
7972         (sin_test_towardzero): Likewise.
7973         (sin_test_downward): Likewise.
7974         (sin_test_upward): Likewise.
7975         (sincos_test): Likewise.
7976         (sinh_test): Likewise.
7977         (sinh_test_tonearest): Likewise.
7978         (sinh_test_towardzero): Likewise.
7979         (sinh_test_downward): Likewise.
7980         (sinh_test_upward): Likewise.
7981         (sqrt_test): Likewise.
7982         (tan_test): Likewise.
7983         (tan_test_tonearest): Likewise.
7984         (tan_test_towardzero): Likewise.
7985         (tan_test_downward): Likewise.
7986         (tan_test_upward): Likewise.
7987         (tanh_test): Likewise.
7988         (tgamma_test): Likewise.
7989         (y0_test): Likewise.
7990         (y1_test): Likewise.
7991         (yn_test): Likewise.
7993         * math/gen-libm-test.pl (adjust_arg): Remove function.
7994         (special_function): Remove argument $in_func.  Only handle
7995         generating output for tables of tests, not inside functions.
7996         (parse_args): Likewise.
7997         (generate_testfile): Remove variable $in_func.  Update call to
7998         parse_args.
7999         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8000         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8001         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8002         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8003         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8004         (MAX_VALUE_INIT): Rename macro to max_value.
8005         (MIN_VALUE_INIT): Rename macro to min_value.
8006         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8007         (plus_zero): Remove variable.
8008         (minus_zero): Likewise.
8009         (plus_infty): Likewise.
8010         (minus_infty): Likewise.
8011         (qnan_value): Likewise.
8012         (max_value): Likewise.
8013         (min_value): Likewise.
8014         (min_subnorm_value): Likewise.
8016 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8018         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8019         uint64_t or uint32_t usage.
8020         * crypt/sha256-block.c: Likewise.
8021         * crypt/sha256-crypt.c: Likewise.
8022         * crypt/sha256.c: Likewise.
8023         * crypt/sha512-block.c: Likewise.
8024         * crypt/sha512-crypt.c: Likewise.
8025         * crypt/sha512.c: Likewise.
8026         * debug/backtrace-tst.c: Likewise.
8027         * debug/pcprofiledump.c: Likewise.
8028         * elf/cache.c: Likewise.
8029         * elf/dl-cache.c: Likewise.
8030         * elf/dl-misc.c: Likewise.
8031         * elf/dl-profile.c: Likewise.
8032         * elf/dl-support.c: Likewise.
8033         * elf/ldconfig.c: Likewise.
8034         * elf/sprof.c: Likewise.
8035         * iconv/dummy-repertoire.c: Likewise.
8036         * iconv/iconv_charmap.c: Likewise.
8037         * iconv/skeleton.c: Likewise.
8038         * iconvdata/8bit-generic.c: Likewise.
8039         * iconvdata/cp737.h: Likewise.
8040         * iconvdata/cp775.h: Likewise.
8041         * iconvdata/ibm1008.h: Likewise.
8042         * iconvdata/ibm1025.h: Likewise.
8043         * iconvdata/ibm1046.h: Likewise.
8044         * iconvdata/ibm1097.h: Likewise.
8045         * iconvdata/ibm1112.h: Likewise.
8046         * iconvdata/ibm1122.h: Likewise.
8047         * iconvdata/ibm1123.h: Likewise.
8048         * iconvdata/ibm1124.h: Likewise.
8049         * iconvdata/ibm1129.h: Likewise.
8050         * iconvdata/ibm1130.h: Likewise.
8051         * iconvdata/ibm1132.h: Likewise.
8052         * iconvdata/ibm1133.h: Likewise.
8053         * iconvdata/ibm1137.h: Likewise.
8054         * iconvdata/ibm1140.h: Likewise.
8055         * iconvdata/ibm1141.h: Likewise.
8056         * iconvdata/ibm1142.h: Likewise.
8057         * iconvdata/ibm1143.h: Likewise.
8058         * iconvdata/ibm1144.h: Likewise.
8059         * iconvdata/ibm1145.h: Likewise.
8060         * iconvdata/ibm1146.h: Likewise.
8061         * iconvdata/ibm1147.h: Likewise.
8062         * iconvdata/ibm1148.h: Likewise.
8063         * iconvdata/ibm1149.h: Likewise.
8064         * iconvdata/ibm1153.h: Likewise.
8065         * iconvdata/ibm1154.h: Likewise.
8066         * iconvdata/ibm1155.h: Likewise.
8067         * iconvdata/ibm1156.h: Likewise.
8068         * iconvdata/ibm1157.h: Likewise.
8069         * iconvdata/ibm1158.h: Likewise.
8070         * iconvdata/ibm1160.h: Likewise.
8071         * iconvdata/ibm1161.h: Likewise.
8072         * iconvdata/ibm1162.h: Likewise.
8073         * iconvdata/ibm1163.h: Likewise.
8074         * iconvdata/ibm1164.h: Likewise.
8075         * iconvdata/ibm1166.h: Likewise.
8076         * iconvdata/ibm1167.h: Likewise.
8077         * iconvdata/ibm12712.h: Likewise.
8078         * iconvdata/ibm1390.h: Likewise.
8079         * iconvdata/ibm1399.h: Likewise.
8080         * iconvdata/ibm16804.h: Likewise.
8081         * iconvdata/ibm4517.h: Likewise.
8082         * iconvdata/ibm4899.h: Likewise.
8083         * iconvdata/ibm4909.h: Likewise.
8084         * iconvdata/ibm4971.h: Likewise.
8085         * iconvdata/ibm5347.h: Likewise.
8086         * iconvdata/ibm803.h: Likewise.
8087         * iconvdata/ibm856.h: Likewise.
8088         * iconvdata/ibm901.h: Likewise.
8089         * iconvdata/ibm902.h: Likewise.
8090         * iconvdata/ibm9030.h: Likewise.
8091         * iconvdata/ibm9066.h: Likewise.
8092         * iconvdata/ibm921.h: Likewise.
8093         * iconvdata/ibm922.h: Likewise.
8094         * iconvdata/ibm9448.h: Likewise.
8095         * iconvdata/isiri-3342.h: Likewise.
8096         * iconvdata/jis0201.h: Likewise.
8097         * include/link.h: Likewise.
8098         * include/netdb.h: Likewise.
8099         * inet/check_native.c: Likewise.
8100         * inet/check_pf.c: Likewise.
8101         * inet/getipv4sourcefilter.c: Likewise.
8102         * inet/getnameinfo.c: Likewise.
8103         * inet/getsourcefilter.c: Likewise.
8104         * inet/htonl.c: Likewise.
8105         * inet/setipv4sourcefilter.c: Likewise.
8106         * inet/setsourcefilter.c: Likewise.
8107         * inet/test-inet6_opt.c: Likewise.
8108         * inet/tst-network.c: Likewise.
8109         * locale/C-collate.c: Likewise.
8110         * locale/C-ctype.c: Likewise.
8111         * locale/C-time.c: Likewise.
8112         * locale/C-translit.h: Likewise.
8113         * locale/loadarchive.c: Likewise.
8114         * locale/programs/3level.h: Likewise.
8115         * locale/programs/charmap.c: Likewise.
8116         * locale/programs/charmap.h: Likewise.
8117         * locale/programs/ld-address.c: Likewise.
8118         * locale/programs/ld-collate.c: Likewise.
8119         * locale/programs/ld-ctype.c: Likewise.
8120         * locale/programs/ld-identification.c: Likewise.
8121         * locale/programs/ld-measurement.c: Likewise.
8122         * locale/programs/ld-messages.c: Likewise.
8123         * locale/programs/ld-monetary.c: Likewise.
8124         * locale/programs/ld-name.c: Likewise.
8125         * locale/programs/ld-numeric.c: Likewise.
8126         * locale/programs/ld-paper.c: Likewise.
8127         * locale/programs/ld-telephone.c: Likewise.
8128         * locale/programs/ld-time.c: Likewise.
8129         * locale/programs/linereader.c: Likewise.
8130         * locale/programs/locale.c: Likewise.
8131         * locale/programs/locarchive.c: Likewise.
8132         * locale/programs/locfile.h: Likewise.
8133         * locale/programs/repertoire.c: Likewise.
8134         * locale/programs/simple-hash.c: Likewise.
8135         * locale/programs/simple-hash.h: Likewise.
8136         * malloc/memusage.c: Likewise.
8137         * malloc/memusagestat.c: Likewise.
8138         * nis/nis_defaults.c: Likewise.
8139         * nis/nis_hash.c: Likewise.
8140         * nis/nis_print.c: Likewise.
8141         * nis/nis_xdr.c: Likewise.
8142         * nscd/connections.c: Likewise.
8143         * nscd/hstcache.c: Likewise.
8144         * nscd/nscd_gethst_r.c: Likewise.
8145         * nscd/nscd_getserv_r.c: Likewise.
8146         * nscd/nscd_helper.c: Likewise.
8147         * nscd/servicescache.c: Likewise.
8148         * nss/makedb.c: Likewise.
8149         * nss/nss_db/db-XXX.c: Likewise.
8150         * nss/nss_db/db-initgroups.c: Likewise.
8151         * nss/nss_db/db-netgrp.c: Likewise.
8152         * nss/nss_files/files-network.c: Likewise.
8153         * nss/nss_files/files-parse.c: Likewise.
8154         * posix/bug-regex5.c: Likewise.
8155         * posix/fnmatch_loop.c: Likewise.
8156         * posix/regcomp.c: Likewise.
8157         * posix/regexec.c: Likewise.
8158         * posix/tst-rfc3484-2.c: Likewise.
8159         * posix/tst-rfc3484-3.c: Likewise.
8160         * posix/tst-rfc3484.c: Likewise.
8161         * resolv/nss_dns/dns-canon.c: Likewise.
8162         * resolv/nss_dns/dns-network.c: Likewise.
8163         * resolv/res_init.c: Likewise.
8164         * resolv/res_mkquery.c: Likewise.
8165         * resolv/tst-aton.c: Likewise.
8166         * stdlib/cxa_atexit.c: Likewise.
8167         * stdlib/cxa_finalize.c: Likewise.
8168         * stdlib/gen-fpioconst.c: Likewise.
8169         * stdlib/strtol_l.c: Likewise.
8170         * string/tst-endian.c: Likewise.
8171         * sunrpc/auth_des.c: Likewise.
8172         * sunrpc/clnt_udp.c: Likewise.
8173         * sunrpc/rtime.c: Likewise.
8174         * sunrpc/svcauth_des.c: Likewise.
8175         * sunrpc/xdr.c: Likewise.
8176         * sunrpc/xdr_intXX_t.c: Likewise.
8177         * sunrpc/xdr_rec.c: Likewise.
8178         * sysdeps/generic/ldconfig.h: Likewise.
8179         * sysdeps/generic/ldsodefs.h: Likewise.
8180         * sysdeps/generic/memusage.h: Likewise.
8181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8182         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8183         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8184         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8185         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8187         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8188         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8189         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8191         * sysdeps/posix/getaddrinfo.c: Likewise.
8192         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8193         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8194         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8195         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8196         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8197         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8198         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8199         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8200         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8201         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8202         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8203         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8204         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8205         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8206         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8207         * sysdeps/x86_64/dl-tls.h: Likewise.
8208         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8209         * time/alt_digit.c: Likewise.
8210         * time/era.c: Likewise.
8211         * wcsmbs/tst-c16c32-1.c: Likewise.
8213 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8215         * math/libm-test.inc (struct test_sincos_data): New type.
8216         (RUN_TEST_LOOP_sincos): New macro.
8217         (sincos_test_data): New variable.
8218         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8220 2013-05-16  Richard Henderson  <rth@redhat.com>
8222         * math/atest-exp2.c (LIMB64): New macro.
8223         (CONSTSZ): New macro.
8224         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8225         (hexdig): Move ...
8226         (print_mpn_fp): ... to function scope.
8227         (read_mpn_hex): Remove.
8228         (get_log2): Remove.
8229         (exp2_mpn): Use mp_log2.
8230         (main): Use mp_exp1.
8232 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8234         * math/libm-test.inc: Remove comment about not testing "inexact"
8235         exceptions.
8236         (INEXACT_EXCEPTION): New macro.
8237         (NO_INEXACT_EXCEPTION): Likewise.
8238         (INVALID_EXCEPTION_OK): Update value.
8239         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8240         (OVERFLOW_EXCEPTION_OK): Likewise.
8241         (UNDERFLOW_EXCEPTION_OK): Likewise.
8242         (IGNORE_ZERO_INF_SIGN): Likewise.
8243         (ERRNO_UNCHANGED): Likewise.
8244         (ERRNO_EDOM): Likewise.
8245         (ERRNO_ERANGE): Likewise.
8246         (test_exceptions): Handle testing "inexact" exceptions.
8247         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8248         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8249         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8250         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8251         INEXACT_EXCEPTION.
8252         (rint_towardzero_test_data): Likewise.
8253         (rint_downward_test_data): Likewise.
8254         (rint_upward_test_data): Likewise.
8256         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8257         with OVERFLOW_EXCEPTION.
8258         (exp10_test_data): Likewise.
8259         (exp2_test_data): Likewise.
8260         (expm1_test_data): Likewise.
8261         (lgamma_test_data): Likewise.
8262         (pow_test_data): Likewise.
8263         (tgamma_test_data): Likewise.
8264         (yn_test_data): Remove duplicate test of overflow.
8266         * math/libm-test.inc (struct test_cc_c_data): New type.
8267         (RUN_TEST_LOOP_cc_c): New macro.
8268         (cpow_test_data): New variable.
8269         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8271         * math/libm-test.inc (struct test_f_L_data): New type.
8272         (RUN_TEST_LOOP_f_L): New macro.
8273         (llrint_test_data): New variable.
8274         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8275         (llrint_tonearest_test_data): New variable.
8276         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8277         (llrint_towardzero_test_data): New variable.
8278         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8279         (llrint_downward_test_data): New variable.
8280         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8281         (llrint_upward_test_data): New variable.
8282         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8283         (llround_test_data): New variable.
8284         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8286 2013-05-13  Peter Collingbourne  <pcc@google.com>
8288         * math/atest-exp2.c (get_log2): Remove const attribute.
8290 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8292         * math/libm-test.inc (struct test_f_l_data): New type.
8293         (RUN_TEST_LOOP_f_l): New macro.
8294         (lrint_test_data): New variable.
8295         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8296         (lrint_tonearest_test_data): New variable.
8297         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8298         (lrint_towardzero_test_data): New variable.
8299         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8300         (lrint_downward_test_data): New variable.
8301         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8302         (lrint_upward_test_data): New variable.
8303         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8304         (lround_test_data): New variable.
8305         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8307 2013-05-15  Peter Collingbourne  <pcc@google.com>
8309         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8310         (EXTRACT_WORDS64) Use where appropriate.
8311         (INSERT_WORDS64) Likewise.
8313         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8314         constraints with x constraints.
8315         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8317         * malloc/obstack.c (_obstack_compat): Add initializer.
8319 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8321         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8322         si_trapno and add si_addr_lsb to _sifields.sigfault.
8323         (si_trapno): Remove macro.
8324         (si_addr_lsb): Define new macro.
8325         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8327 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8329         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8330         instead of TEST_f_l.
8331         (llrint_test_tonearest): Likewise.
8332         (llrint_test_towardzero): Likewise.
8333         (llrint_test_downward): Likewise.
8334         (llrint_test_upward): Likewise.
8335         (llround_test): Likewise.
8337         * math/libm-test.inc (struct test_f_i_data): Add comment.
8338         (RUN_TEST_LOOP_f_b): New macro.
8339         (RUN_TEST_LOOP_f_b_tg): Likewise.
8340         (finite_test_data): New variable.
8341         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8342         (isfinite_test_data): New variable.
8343         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8344         (isinf_test_data): New variable.
8345         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8346         (isnan_test_data): New variable.
8347         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8348         (isnormal_test_data): New variable.
8349         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8350         (issignaling_test_data): New variable.
8351         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8352         (signbit_test_data): New variable.
8353         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8355         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8356         with INVALID_EXCEPTION.
8357         (acosh_test_data): Likewise.
8358         (asin_test_data): Likewise.
8359         (atanh_test_data): Likewise.
8360         (fmod_test_data): Likewise.
8361         (log_test_data): Likewise.
8362         (log10_test_data): Likewise.
8363         (log2_test_data): Likewise.
8364         (pow_test_data): Likewise.
8365         (sqrt_test_data): Likewise.
8366         (y0_test_data): Likewise.
8367         (y1_test_data): Likewise.
8368         (yn_test_data): Likewise.
8370         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8371         function contents.
8373         * math/libm-test.inc (struct test_ff_i_data): New type.
8374         (RUN_TEST_LOOP_ff_i_tg): New macro.
8375         (isgreater_test_data): New variable.
8376         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8377         (isgreaterequal_test_data): New variable.
8378         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8379         (isless_test_data): New variable.
8380         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8381         (islessequal_test_data): New variable.
8382         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8383         (islessgreater_test_data): New variable.
8384         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8385         (isunordered_test_data): New variable.
8386         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8388 2013-05-14  David S. Miller  <davem@davemloft.net>
8390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8392 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8394         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8396         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8397         extra_test to int.
8398         (struct test_f_i_data): Change type of max_ulp to int.
8400         * math/libm-test.inc (test_ffI_f1_data): New type.
8401         (RUN_TEST_LOOP_ffI_f1): New macro.
8402         (remquo_test_data): New variable.
8403         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8405         * setjmp/tst-setjmp-fp.c: New file.
8406         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8407         (link-libm): New variable.
8408         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8410         * math/libm-test.inc (struct test_f_i_data): New type.
8411         (RUN_TEST_LOOP_f_i): New macro.
8412         (RUN_TEST_LOOP_f_i_tg): Likewise.
8413         (fpclassify_test_data): New variable.
8414         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8415         (ilogb_test_data): New variable.
8416         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8418         * math/libm-test.inc (scalbln_test): Correct function name in END
8419         call.
8421         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8422         (RUN_TEST_LOOP_fI_f1): New macro.
8423         (frexp_test_data): New variable.
8424         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8426         * math/libm-test.inc (struct test_fF_f1_data): New type.
8427         (RUN_TEST_LOOP_fF_f1): New macro.
8428         (modf_test_data): New variable.
8429         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8431         * math/libm-test.inc (struct test_f_f1_data): New type.
8432         (RUN_TEST_LOOP_f_f1): New macro.
8433         (gamma_test_data): New variable.
8434         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8435         (lgamma_test_data): New variable.
8436         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8438 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8440         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8441         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8442         (main): Comment "tls" pseudo-hwcap.
8444 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8446         * math/libm-test.inc (struct test_fl_f_data): New type.
8447         (RUN_TEST_LOOP_fl_f): New variable.
8448         (scalbln_test_data): New variable.
8449         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8451         * math/libm-test.inc (struct test_fi_f_data): New type.
8452         (RUN_TEST_LOOP_fi_f): New macro.
8453         (ldexp_test_data): New variable.
8454         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8455         (scalbn_test_data): New variable.
8456         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8458         * math/libm-test.inc (struct test_c_f_data): New type.
8459         (RUN_TEST_LOOP_c_f): New macro.
8460         (cabs_test_data): New variable.
8461         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8462         (carg_test_data): New variable.
8463         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8464         (cimag_test_data): New variable.
8465         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8466         (creal_test_data): New variable.
8467         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8469         * math/libm-test.inc (struct test_if_f_data): New type.
8470         (RUN_TEST_LOOP_if_f): New macro.
8471         (jn_test_data): New variable.
8472         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8473         (yn_test_data): New variable.
8474         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8476         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8478 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8480         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8481         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8483 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8485         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8486         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8487         (bench-deps): Add bench-timing.h.
8488         * benchtests-bench-skeleton.c: Include bench-timing.h.
8489         (main): Use TIMING_* macros instead of clock_gettime.
8490         * benchtests/bench-timing.h: New file.
8492         [BZ #14582]
8493         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8494         Renamed from _LIB_VERSION.
8495         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8497 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8499         * math/libm-test.inc (struct test_fff_f_data): New type.
8500         (RUN_TEST_LOOP_fff_f): New macro.
8501         (fma_test_data): New variable.
8502         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8503         (fma_towardzero_test_data): New variable.
8504         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8505         (fma_downward_test_data): New variable.
8506         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8507         (fma_upward_test_data): New variable.
8508         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8510         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8511         (struct test_c_c_data): New type.
8512         (RUN_TEST_LOOP_c_c): New macro.
8513         (cacos_test_data): New variable.
8514         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8515         (cacosh_test_data): New variable.
8516         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8517         (casin_test_data): New variable.
8518         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8519         (casinh_test_data): New variable.
8520         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8521         (catan_test_data): New variable.
8522         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8523         (catanh_test_data): New variable.
8524         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8525         (ccos_test_data): New variable.
8526         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8527         (ccosh_test_data): New variable.
8528         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8529         (cexp_test_data): New variable.
8530         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8531         (clog_test_data): New variable.
8532         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8533         (clog10_test_data): New variable.
8534         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8535         (conj_test_data): New variable.
8536         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8537         (cproj_test_data): New variable.
8538         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8539         (csin_test_data): New variable.
8540         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8541         (csinh_test_data): New variable.
8542         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8543         (csqrt_test_data): New variable.
8544         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8545         (ctan_test_data): New variable.
8546         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8547         (ctan_tonearest_test_data): New variable.
8548         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8549         (ctan_towardzero_test_data): New variable.
8550         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8551         (ctan_downward_test_data): New variable.
8552         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8553         (ctan_upward_test_data): New variable.
8554         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8555         (ctanh_test_data): New variable.
8556         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8557         (ctanh_tonearest_test_data): New variable.
8558         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8559         (ctanh_towardzero_test_data): New variable.
8560         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8561         (ctanh_downward_test_data): New variable.
8562         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8563         (ctanh_upward_test_data): New variable.
8564         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8565         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8566         of BUILD_COMPLEX.
8568         * math/libm-test.inc (struct test_ff_f_data): New type.
8569         (struct test_ff_f_data_nexttoward): Likewise.
8570         (RUN_TEST_LOOP_2_f): New macro.
8571         (RUN_TEST_LOOP_ff_f): Likewise.
8572         (atan2_test_data): New variable.
8573         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8574         (copysign_test_data): New variable.
8575         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8576         (fdim_test_data): New variable.
8577         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8578         (fmax_test_data): New variable.
8579         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8580         (fmin_test_data): New variable.
8581         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8582         (fmod_test_data): New variable.
8583         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8584         (hypot_test_data): New variable.
8585         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8586         (nextafter_test_data): New variable.
8587         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8588         (nexttoward_test_data): New variable.
8589         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8590         (pow_test_data): New variable.
8591         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8592         (pow_tonearest_test_data): New variable.
8593         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8594         (pow_towardzero_test_data): New variable.
8595         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8596         (pow_downward_test_data): New variable.
8597         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8598         (pow_upward_test_data): New variable.
8599         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8600         (remainder_test_data): New variable.
8601         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8602         (scalb_test_data): New variable.
8603         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8604         * sysdeps/i386/fpu/libm-test-ulps: Update.
8606 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8608         * math/libm-test.inc (fma_test): Use max_value instead of local
8609         variable fltmax.
8610         (nextafter_test): Likewise.
8612         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8613         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8614         (acos_downward_test_data): New variable.
8615         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8616         (acos_upward_test_data): New variable.
8617         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8618         (acosh_test_data): New variable.
8619         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8620         (asin_test_data): New variable.
8621         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8622         (asin_tonearest_test_data): New variable.
8623         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8624         (asin_towardzero_test_data): New variable.
8625         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8626         (asin_downward_test_data): New variable.
8627         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8628         (asin_upward_test_data): New variable.
8629         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8630         (asinh_test_data): New variable.
8631         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8632         (atan_test_data): New variable.
8633         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8634         (atanh_test_data): New variable.
8635         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8636         (cbrt_test_data): New variable.
8637         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8638         (ceil_test_data): New variable.
8639         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8640         (cos_test_data): New variable.
8641         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8642         (cos_tonearest_test_data): New variable.
8643         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8644         (cos_towardzero_test_data): New variable.
8645         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8646         (cos_downward_test_data): New variable.
8647         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8648         (cos_upward_test_data): New variable.
8649         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8650         (cosh_test_data): New variable.
8651         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8652         (cosh_tonearest_test_data): New variable.
8653         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8654         (cosh_towardzero_test_data): New variable.
8655         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8656         (cosh_downward_test_data): New variable.
8657         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8658         (cosh_upward_test_data): New variable.
8659         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8660         (erf_test_data): New variable.
8661         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8662         (erfc_test_data): New variable.
8663         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8664         (exp_test_data): New variable.
8665         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8666         (exp_tonearest_test_data): New variable.
8667         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8668         (exp_towardzero_test_data): New variable.
8669         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8670         (exp_downward_test_data): New variable.
8671         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8672         (exp_upward_test_data): New variable.
8673         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8674         (exp10_test_data): New variable.
8675         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8676         (exp2_test_data): New variable.
8677         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8678         (expm1_test_data): New variable.
8679         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8680         (fabs_test_data): New variable.
8681         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8682         (floor_test_data): New variable.
8683         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8684         (j0_test_data): New variable.
8685         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8686         (j1_test_data): New variable.
8687         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8688         (log_test_data): New variable.
8689         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8690         (log10_test_data): New variable.
8691         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8692         (log1p_test_data): New variable.
8693         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8694         (log2_test_data): New variable.
8695         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8696         (logb_test_data): New variable.
8697         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8698         (logb_downward_test_data): New variable.
8699         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8700         (nearbyint_test_data): New variable.
8701         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8702         (rint_test_data): New variable.
8703         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8704         (rint_tonearest_test_data): New variable.
8705         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8706         (rint_towardzero_test_data): New variable.
8707         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8708         (rint_downward_test_data): New variable.
8709         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8710         (rint_upward_test_data): New variable.
8711         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8712         (round_test_data): New variable.
8713         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8714         (sin_test_data): New variable.
8715         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8716         (sin_tonearest_test_data): New variable.
8717         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8718         (sin_towardzero_test_data): New variable.
8719         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8720         (sin_downward_test_data): New variable.
8721         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8722         (sin_upward_test_data): New variable.
8723         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8724         (sinh_test_data): New variable.
8725         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8726         (sinh_tonearest_test_data): New variable.
8727         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8728         (sinh_towardzero_test_data): New variable.
8729         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8730         (sinh_downward_test_data): New variable.
8731         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8732         (sinh_upward_test_data): New variable.
8733         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8734         (sqrt_test_data): New variable.
8735         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8736         (tan_test_data): New variable.
8737         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8738         (tan_tonearest_test_data): New variable.
8739         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8740         (tan_towardzero_test_data): New variable.
8741         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8742         (tan_downward_test_data): New variable.
8743         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8744         (tan_upward_test_data): New variable.
8745         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8746         (tanh_test_data): New variable.
8747         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8748         (tgamma_test_data): New variable.
8749         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8750         (trunc_test_data): New variable.
8751         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8752         (y0_test_data): New variable.
8753         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8754         (y1_test_data): New variable.
8755         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8756         (significand_test_data): New variable.
8757         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8759 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8761         [BZ #12387]
8762         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8764 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8766         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8768 2013-05-10  Andreas Jaeger  <aj@suse.de>
8770         [BZ #15448]
8771         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8772         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8774 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8776         * math/gen-libm-test.pl (adjust_arg): New function.
8777         (special_functions): Handle generating output in both functions
8778         and arrays.
8779         (parse_args): Likewise.
8780         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8781         $in_func argument to parse_args.
8782         * math/libm-test.inc (struct test_f_f_data): New type.
8783         (IF_ROUND_INIT_): New macro.
8784         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8785         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8786         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8787         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8788         (ROUND_RESTORE_): Likewise.
8789         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8790         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8791         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8792         (ROUND_RESTORE_FE_UPWARD): Likewise.
8793         (RUN_TEST_LOOP_f_f): New macro.
8794         (acos_test_data): New variable.
8795         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8796         (acos_tonearest_test_data): New variable.
8797         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8799 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8801         * benchtests/bench-skeleton.c (startup): Fix coding style.
8803 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8805         [BZ #6809]
8806         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8807         negative infinity argument.
8808         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8809         negative infinity argument.
8810         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8811         negative infinity argument.
8812         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8813         domain errors.
8815 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8817         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8818         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8819         * iconv/iconv_prog.c (main): Likewise.
8820         * locale/programs/charmap-dir.c (charmap_readdir)
8821         (fopen_uncompressed): Likewise.
8822         * locale/programs/locfile.c (siblings_uncached)
8823         (write_locale_data): Use lstat64 instead of lstat.
8824         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8825         stat.
8827 2013-05-10  Andreas Jaeger  <aj@suse.de>
8829         [BZ #15395]
8830         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8831         localization.
8832         Include <locale.h>.
8834 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8836         * elf/dl-close.c (_dl_close_worker): Add comments.
8838 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8840         [BZ #15359]
8841         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8842         high part of pi/2.
8843         (__ieee754_rem_pio2l): Update comments.
8845         [BZ #15429]
8846         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8847         high part of pi/2.
8848         (__ieee754_rem_pio2l): Update comments.
8850         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8851         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8853         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8854         M_PI_4l.
8856         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8857         (M_PI_34_LOG10El): Likewise.
8858         (M_PI2_LOG10El): Likewise.
8859         (M_PI4_LOG10El): Likewise.
8860         (M_PI_LOG10El): Likewise.
8862 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8866 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8868         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8869         (MINUS_ZERO_INIT): Likewise.
8870         (PLUS_INFTY_INIT): Likewise.
8871         (MINUS_INFTY_INIT): Likewise.
8872         (QNAN_VALUE_INIT): Likewise.
8873         (MAX_VALUE_INIT): Likewise.
8874         (MIN_VALUE_INIT): Likewise.
8875         (MIN_SUBNORM_VALUE_INIT): Likewise.
8876         (plus_zero): Initialize with PLUS_ZERO_INIT.
8877         (minus_zero): Initialize with MINUS_ZERO_INIT.
8878         (plus_infty): Initialize with PLUS_INFTY_INIT.
8879         (minus_infty): Initialize with MINUS_INFTY_INIT.
8880         (qnan_value): Initialize with QNAN_VALUE_INIT.
8881         (max_value): Initialize with MAX_VALUE_INIT.
8882         (min_value): Initialize with MIN_VALUE_INIT.
8883         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8885         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8886         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8887         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8888         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8890         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8891         (RUN_TEST_2_f): Likewise.
8892         (RUN_TEST_ff_f): Likewise.
8893         (RUN_TEST_fi_f): Likewise.
8894         (RUN_TEST_fl_f): Likewise.
8895         (RUN_TEST_fff_f): Likewise.
8896         (RUN_TEST_c_f): Likewise.
8897         (RUN_TEST_f_f1): Likewise.
8898         (RUN_TEST_fF_f1): Likewise.
8899         (RUN_TEST_fI_f1): Likewise.
8900         (RUN_TEST_ffI_f1): Likewise.
8901         (RUN_TEST_c_c): Likewise.
8902         (RUN_TEST_cc_c): Likewise.
8903         (RUN_TEST_f_i): Likewise.
8904         (RUN_TEST_f_i_tg): Likewise.
8905         (RUN_TEST_ff_i_tg): Likewise.
8906         (RUN_TEST_f_b): Likewise.
8907         (RUN_TEST_f_b_tg): Likewise.
8908         (RUN_TEST_f_l): Likewise.
8909         (RUN_TEST_f_L): Likewise.
8910         (RUN_TEST_sincos): Likewise.
8911         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8912         whether to show exceptions.  Do not include ");\n" in return
8913         value.
8914         (special_functions): Output call to RUN_TEST_sincos instead of
8915         check_float calls.  Update calls to new_test.
8916         (parse_args): Output call to single RUN_TEST_* macro instead of
8917         check_* calls and other assignments.  Update calls to new_test.
8919         [BZ #2546]
8920         [BZ #2560]
8921         [BZ #5159]
8922         [BZ #15426]
8923         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8924         input to result for tgamma overflow.
8925         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8926         (gamma_coeff): New variable.
8927         (NCOEFF): New macro.
8928         (gamma_positive): New function.
8929         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8930         underflow here.  Use gamma_positive instead of exp (lgamma) for
8931         other arguments.
8932         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8933         (gamma_coeff): New variable.
8934         (NCOEFF): New macro.
8935         (gammaf_positive): New function.
8936         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8937         underflow here.  Use gamma_positive instead of exp (lgamma) for
8938         other arguments.
8939         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8940         (gamma_coeff): New variable.
8941         (NCOEFF): New macro.
8942         (gammal_positive): New function.
8943         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8944         underflow here.  Use gamma_positive instead of exp (lgamma) for
8945         other arguments.
8946         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8947         (gamma_coeff): New variable.
8948         (NCOEFF): New macro.
8949         (gammal_positive): New function.
8950         (__ieee754_gammal_r): Handle positive infinity, overflow and
8951         underflow here.  Handle NaN the same as positive infinity.  Remove
8952         check x < 0xffffffff for negative integers.  Use gamma_positive
8953         instead of exp (lgamma) for other arguments.
8954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8955         (gamma_coeff): New variable.
8956         (NCOEFF): New macro.
8957         (gammal_positive): New function.
8958         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8959         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8960         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8963         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8964         * sysdeps/generic/math_private.h (__gamma_productf): New
8965         prototype.
8966         (__gamma_product): Likewise.
8967         (__gamma_productl): Likewise.
8968         * math/Makefile (libm-calls): Add gamma_product.
8969         * math/libm-test.inc (tgamma_test): Add more tests.
8970         * sysdeps/i386/fpu/libm-test-ulps: Update.
8971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8975         * benchtests/bench-skeleton.c (main): Preheat CPU.
8977 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8979         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8981 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8983         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8984         and _dl_skip_args_internal.
8986 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8988         * manual/message.texi (Message Translation): Talk about users.
8989         Message to key mapping impacts design.
8991 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8993         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8995         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8997         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8998         * sysdeps/wordsize-64/glob64.c: ... here.
9000         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9001         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9002         New macros.
9004         * debug/getlogin_r_chk.c: Moved to ...
9005         * login/getlogin_r_chk.c: ... here.
9006         * debug/Makefile (routines): Move getlogin_r_chk to ...
9007         * login/Makefile (routines): ... here.
9008         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9009         * login/Versions (libc: GLIBC_2.4): ... here.
9011         * io/poll.c (__poll): Renamed from poll.
9012         Add libc_hidden_def.
9013         (poll): Define as weak alias.
9015         * debug/ptsname_r_chk.c: Moved to ...
9016         * login/ptsname_r_chk.c: ... here.
9017         * debug/Makefile (routines): Move ptsname_r_chk to ...
9018         * login/Makefile (routines): ... here.
9019         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9020         * login/Versions (libc: GLIBC_2.4): ... here.
9022         * posix/getlogin.c: Moved to ...
9023         * login/getlogin.c: ... here.
9024         * posix/getlogin_r.c: Moved to ...
9025         * login/getlogin_r.c: ... here.
9026         * posix/getlogin_r.c: Moved to ...
9027         * login/getlogin_r.c: ... here.
9028         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9029         * login/Makefile (routines): ... here.
9030         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9031         * login/Versions (libc: GLIBC_2.0): ... here.
9033         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9034         (setrlimit): Define as weak alias.
9036         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9037         Call __ names for open, ftruncate, and close.
9038         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9039         (truncate): Define as weak alias.
9041 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9043         * math/gen-libm-test.pl (parse_args): Initialize x before each
9044         test of frexp, modf and remquo.
9046         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9047         test signgam value.
9049 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9051         [BZ #15418]
9052         [BZ #15419]
9053         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9054         internal tests.
9055         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9057 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9059         * elf/dl-writev.h: New file.
9060         * elf/dl-misc.c: Include it.
9061         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9062         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9064 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9066         * math/libm-test.inc (noXFails): Remove variable.
9067         (noXPasses): Likewise.
9068         (BUILD_COMPLEX_INT): Remove macro.
9069         (print_screen): Remove xfail argument.
9070         (print_screen_max_error): Likewise.
9071         (update_stats): Likewise.
9072         (print_max_error): Likewise.  Update calls to other affected
9073         functions.
9074         (print_complex_max_error): Likewise.
9075         (test_single_exception): Update calls to print_screen.
9076         (test_single_errno): Likewise.
9077         (check_float_internal): Remove xfail argument.  Update calls to
9078         other affected functions.
9079         (check_float): Likewise.
9080         (check_complex): Likewise.
9081         (check_int): Likewise.
9082         (check_long): Likewise.
9083         (check_bool): Likewise.
9084         (check_longlong): Likewise.
9085         (main): Don't print noXFails and noXPasses.
9086         * math/gen-libm-test.pl (top level): Don't mention expected
9087         failure handling in comment.
9088         (new_test): Don't handle expected failures.
9089         (parse_args): Don't mention expected failure handling in comment.
9090         (generate_testfile): Don't handle expected failures.
9091         (parse_ulps): Likewise.
9092         (print_ulps_file): Likewise.
9093         (get_failure): Remove function.
9094         (output_test): Don't handle expected failures.
9095         * make/README.libm-test: Don't mention expected failure handling.
9097         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9098         (minus_zero): Likewise.
9099         (plus_infty): Likewise.
9100         (minus_infty): Likewise.
9101         (qnan_value): Likewise.
9102         (max_value): Likewise.
9103         (min_value): Likewise.
9104         (min_subnorm_value): Likewise.
9105         (initialize): Do not initialize those variables dynamically.
9107 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9109         * io/open.c (__open_2): Moved to ...
9110         * io/open_2.c: ... this new file.
9111         * io/open64.c (__open64_2): Moved to ...
9112         * io/open64_2.c: ... this new file.
9113         * io/openat.c (__openat_2): Moved to ...
9114         * io/openat_2.c: ... this new file.
9115         * io/openat64.c (__openat64_2): Moved to ...
9116         * io/openat64_2.c: ... this new file.
9117         * io/Makefile (routines): Add them.
9118         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9119         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9120         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9121         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9122         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9123         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9124         (__openat64): Add hidden_ver.
9125         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9126         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9128         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9129         Separately conditionalize setting of GLRO(dl_sysinfo) so
9130         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9131         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9133 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9135         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9136         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9137         definition.
9138         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9139         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9140         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9141         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9142         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9144 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9146         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9147         test signgam value.
9149         * math/libm-test.inc (hypot_test): Do not use
9150         IGNORE_ZERO_INF_SIGN.
9152 2013-05-03  Andreas Jaeger  <aj@suse.de>
9154         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9155         Linux 3.9.
9156         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9157         (PF_MAX): Adjust for VSOCK change.
9159 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9163 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9165         [BZ #15264]
9166         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9167         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9168         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9170 2013-05-02  David S. Miller  <davem@davemloft.net>
9172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9174 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9176         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9178 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9180         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9182 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9184         [BZ #14952]
9185         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9186         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9187         Use __attribute__ ((__gnu_inline__)).
9188         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9189         Don't use __attribute__ ((__gnu_inline__)).
9191 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9193         [BZ #15423]
9194         * math/s_catan.c (__catan): Handle small real or imaginary part of
9195         input specially to avoid spurious underflow.
9196         * math/s_catanf.c (__catanf): Likewise.
9197         * math/s_catanh.c (__catanh): Likewise.
9198         * math/s_catanhf.c (__catanhf): Likewise.
9199         * math/s_catanhl.c (__catanhl): Likewise.
9200         * math/s_catanl.c (__catanl): Likewise.
9201         * math/libm-test.inc (catan_test): Add more tests.
9202         (catanh_test): Likewise.
9203         * sysdeps/i386/fpu/libm-test-ulps: Update.
9204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9206 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9210 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9212         [BZ #15416]
9213         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9214         accurately for denominator in atan2.
9215         * math/s_catanf.c (__catanf): Likewise.
9216         * math/s_catanh.c (__catanh): Likewise.
9217         * math/s_catanhf.c (__catanhf): Likewise.
9218         * math/s_catanhl.c (__catanhl): Likewise.
9219         * math/s_catanl.c (__catanl): Likewise.
9220         * math/libm-test.inc (catan_test): Add more tests.
9221         (catanh_test): Likewise.
9222         * sysdeps/i386/fpu/libm-test-ulps: Update.
9223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9225 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9227         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9229         * benchtests/Makefile (bench): Remove slow benchmarks.
9230         * benchtests/atan-inputs: Add slow benchmark inputs.
9231         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9232         (BENCH_FUNC): Accept variant offset.
9233         (VARIANT): Define.
9234         * benchtests/bench-skeleton.c (main): Run benchmark for each
9235         variant.
9236         * benchtests/cos-inputs: Add slow benchmark inputs.
9237         * benchtests/exp-inputs: Likewise.
9238         * benchtests/pow-inputs: Likewise.
9239         * benchtests/sin-inputs: Likewise.
9240         * benchtests/slowatan-inputs: Remove.
9241         * benchtests/slowatan.c: Remove.
9242         * benchtests/slowcos-inputs: Remove.
9243         * benchtests/slowcos.c: Remove.
9244         * benchtests/slowexp-inputs: Remove.
9245         * benchtests/slowexp.c: Remove.
9246         * benchtests/slowpow-inputs: Remove.
9247         * benchtests/slowpow.c: Remove.
9248         * benchtests/slowsin-inputs: Remove.
9249         * benchtests/slowsin.c: Remove.
9250         * benchtests/slowtan-inputs: Remove.
9251         * benchtests/slowtan.c: Remove.
9252         * benchtests/tan-inputs: Add slow benchmark inputs.
9253         * scripts/bench.pl: Parse comments and directives.
9255         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9256         in CPPFLAGS.
9257         ($(objpfx)bench-%.c): Remove *-ITER.
9258         * benchtests/bench-modf.c: Remove definition of ITER.
9259         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9260         (main): Loop for DURATION seconds instead of fixed number of
9261         iterations.
9262         * scripts/bench.pl: Don't expect iterations in parameters.
9264 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9266         * io/fchdir.c (__fchdir): Renamed from fchdir.
9267         (fchdir): Define as weak alias.
9269 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9271         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9272         (ERRNO_EDOM): Likewise.
9273         (ERRNO_ERANGE): Likewise.
9274         (noErrnoTests): New variable.
9275         (init_max_error): Set errno to 0.
9276         (test_single_errno): New function.
9277         (test_errno): Likewise.
9278         (check_float_internal): Call test_errno.  Set errno to 0.
9279         (check_complex): Refer to errno tests in comment.
9280         (check_int): Call test_errno.  Set errno to 0.
9281         (check_long): Likewise.
9282         (check_bool): Likewise.
9283         (check_longlong): Likewise.
9284         (cos_test): Use ERRNO_* flags for errno tests instead of
9285         check_int.
9286         (expm1_test): Likewise.
9287         (fmod_test): Likewise.
9288         (ilogb_test): Likewise.
9289         (lgamma_test): Likewise.
9290         (pow_test): Likewise.
9291         (remainder_test): Likewise.
9292         (sin_test): Likewise.
9293         (tan_test): Likewise.
9294         (yn_test): Likewise.
9295         (initialize): Set errno to 0.
9296         (main): Print number of errno tests.
9297         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9299 2013-04-29  Andreas Jaeger  <aj@suse.de>
9301         [BZ #15084]
9302         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9303         and RES_USEVC.
9305         [BZ #15085]
9306         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9307         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9308         unimplemented.
9310         [BZ #15380]
9311         * stdlib/random.c (__initstate): Return NULL if
9312         __initstate fails.
9314         [BZ #15086]
9315         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9316         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9317         RES_SNGLKUPREOP.
9319 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9323 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9325         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9326         of individual tests.
9327         (casin_test): Likewise.
9328         (casinh_test): Likewise.
9330 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9332         [BZ #15409]
9333         * math/s_catan.c (__catan): Handle arguments with large real or
9334         imaginary part separately without squaring.
9335         * math/s_catanf.c (__catanf): Likewise.
9336         * math/s_catanh.c (__catanh): Likewise.
9337         * math/s_catanhf.c (__catanhf): Likewise.
9338         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9339         and redefine.
9340         (__catanhl): Handle arguments with large real or imaginary part
9341         separately without squaring.
9342         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9343         and redefine.
9344         (__catanl): Handle arguments with large real or imaginary part
9345         separately without squaring.
9346         * math/libm-test.inc (catan_test): Add more tests.
9347         (catanh_test): Likewise.
9348         * sysdeps/i386/fpu/libm-test-ulps: Update.
9349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351 2013-04-27  Andreas Jaeger  <aj@suse.de>
9353         [BZ #15007]
9354         * stdlib/stdlib.h: Update guards for qecvt.
9355         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9356         <stdlib.h>.
9358 2013-04-27  Allan McRae  <allan@archlinux.org>
9360         * sysdeps/i386/fpu/libm-test-ulps: Update.
9362 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #15406]
9365         * math/s_catan.c: Include <float.h>.
9366         (__catan): Ensure underflow exception occurs for underflowed
9367         result.
9368         * math/s_catanf.c: Include <float.h>.
9369         (__catanf): Ensure underflow exception occurs for underflowed
9370         result.
9371         * math/s_catanh.c: Include <float.h>.
9372         (__catanh): Ensure underflow exception occurs for underflowed
9373         result.
9374         * math/s_catanhf.c: Include <float.h>.
9375         (__catanhf): Ensure underflow exception occurs for underflowed
9376         result.
9377         * math/s_catanhl.c: Include <float.h>.
9378         (__catanhl): Ensure underflow exception occurs for underflowed
9379         result.
9380         * math/s_catanl.c: Include <float.h>.
9381         (__catanl): Ensure underflow exception occurs for underflowed
9382         result.
9383         * math/libm-test.inc (catan_test): Add more tests.
9384         (catanh_test): Likewise.
9386         [BZ #15405]
9387         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9388         underflowed result.
9389         * math/s_ccoshf.c (__ccoshf): Likewise.
9390         * math/s_ccoshl.c (__ccoshl): Likewise.
9391         * math/s_csin.c (__csin): Likewise.
9392         * math/s_csinf.c (__csinf): Likewise.
9393         * math/s_csinh.c (__csinh): Likewise.
9394         * math/s_csinhf.c (__csinhf): Likewise.
9395         * math/s_csinhl.c (__csinhl): Likewise.
9396         * math/s_csinl.c (__csinl): Likewise.
9397         * math/libm-test.inc (ccos_test): Add more tests.
9398         (ccosh_test): Likewise.
9399         (csin_test): Likewise.
9400         (csinh_test): Likewise.
9402 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9404         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9405         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9406         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9407         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9408         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9409         powerpc/power5+/fpu folders.
9410         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9413 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9417 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9419         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9420         additions to variable.
9421         [$(config-machine) = x86_64] (modules-names): Likewise.
9422         ($(objpfx)tst-audit3): Remove dependency.
9423         ($(objpfx)tst-audit3.out): Likewise.
9424         ($(objpfx)tst-audit4): Likewise.
9425         ($(objpfx)tst-audit4.out): Likewise.
9426         ($(objpfx)tst-audit5): Likewise.
9427         ($(objpfx)tst-audit5.out): Likewise.
9428         ($(objpfx)tst-audit6): Likewise.
9429         ($(objpfx)tst-audit6.out): Likewise.
9430         ($(objpfx)tst-audit7): Likewise.
9431         ($(objpfx)tst-audit7.out): Likewise.
9432         (tst-audit3-ENV): Remove variable.
9433         (tst-audit4-ENV): Likewise.
9434         (tst-audit5-ENV): Likewise.
9435         (tst-audit6-ENV): Likewise.
9436         (tst-audit7-ENV): Likewise.
9437         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9438         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9439         addition to variable.
9440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9444         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9445         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9446         tst-audit3, tst-audit4 and tst-audit5.
9447         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9448         tst-audit6 and tst-audit7.
9449         [$(subdir) = elf] (modules-names): Add audit modules for those
9450         tests.
9451         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9452         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9453         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9454         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9455         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9456         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9457         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9458         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9459         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9460         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9461         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9462         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9463         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9464         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9465         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9466         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9467         Likewise.
9468         [$(subdir) = elf && $(config-cflags-avx) = yes]
9469         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9470         [$(subdir) = elf && $(config-cflags-avx) = yes]
9471         (CFLAGS-tst-auditmod4a.c): Likewise.
9472         [$(subdir) = elf && $(config-cflags-avx) = yes]
9473         (CFLAGS-tst-auditmod4b.c): Likewise.
9474         [$(subdir) = elf && $(config-cflags-avx) = yes]
9475         (CFLAGS-tst-auditmod6b.c): Likewise.
9476         [$(subdir) = elf && $(config-cflags-avx) = yes]
9477         (CFLAGS-tst-auditmod6c.c): Likewise.
9478         [$(subdir) = elf && $(config-cflags-avx) = yes]
9479         (CFLAGS-tst-auditmod7b.c): Likewise.
9480         * elf/tst-audit3.c: Move to ...
9481         * sysdeps/x86_64/tst-audit3.c: ... here.
9482         * elf/tst-audit4.c: Move to ...
9483         * sysdeps/x86_64/tst-audit4.c: ... here.
9484         * elf/tst-audit5.c: Move to ...
9485         * sysdeps/x86_64/tst-audit5.c: ... here.
9486         * elf/tst-audit6.c: Move to ...
9487         * sysdeps/x86_64/tst-audit6.c: ... here.
9488         * elf/tst-audit7.c: Move to ...
9489         * sysdeps/x86_64/tst-audit7.c: ... here.
9490         * elf/tst-auditmod3a.c: Move to ...
9491         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9492         * elf/tst-auditmod3b.c: Move to ...
9493         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9494         * elf/tst-auditmod4a.c: Move to ...
9495         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9496         * elf/tst-auditmod4b.c: Move to ...
9497         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9498         * elf/tst-auditmod5a.c: Move to ...
9499         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9500         * elf/tst-auditmod5b.c: Move to ...
9501         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9502         * elf/tst-auditmod6a.c: Move to ...
9503         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9504         * elf/tst-auditmod6b.c: Move to ...
9505         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9506         * elf/tst-auditmod6c.c: Move to ...
9507         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9508         * elf/tst-auditmod7a.c: Move to ...
9509         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9510         * elf/tst-auditmod7b.c: Move to ...
9511         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9513 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9515         [BZ #15366]
9516         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9517         define unconditionally.
9518         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9519         define unconditionally.
9520         (INT8_C, INT16_C, etc.): Likewise.
9522 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9524         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9525         __ehdr_start with hidden visibility.
9527         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9529 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9531         * math/libm-test.inc (cos_test): Use accurate hex constants.
9532         (sincost_test): Likewise.
9534 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9536         * math/libm-test.inc (catan_test): Add more tests.
9537         (catanh_test): Likewise.
9539         * math/s_catanf.c (__catanf): Use suffixed floating-point
9540         constants.
9541         * math/s_catanhf.c (__catanhf): Likewise.
9542         * math/s_catanhl.c (__catanhl): Likewise.
9543         * math/s_catanl.c (__catanl): Likewise.
9545         [BZ #15394]
9546         * math/s_catan.c (__catan): Calculate imaginary part of result
9547         with log1p not log unless computing log of number close to 0.
9548         * math/s_catanf.c (__catanf): Likewise.
9549         * math/s_catanl.c (__catanl): Likewise.
9550         * math/s_catanh.c (__catanh): Calculate real part of result with
9551         log1p not log unless computing log of number close to 0.
9552         * math/s_catanhf.c (__catanhf): Likewise.
9553         * math/s_catanhl.c (__catanhl): Likewise.
9554         * math/libm-test.inc (catan_test): Add more tests.
9555         (catanh_test): Likewise.
9556         * sysdeps/i386/fpu/libm-test-ulps: Update.
9557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9559 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9561         * benchtests/Makefile: Mention files in which fast and slow
9562         paths of math functions are implemented.
9564 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9566         * sysdeps/posix/timespec_get.c: New file.
9568 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9570         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9571         POWER.
9572         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9573         for POWER.
9574         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9575         powerpc/power5/fpu folders.
9576         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9577         * benchtests/Makefile: Add modf testcase.
9578         * benchtests/bench-modf.c: New file: Benchmark test for mo
9580 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9582         [BZ #14888]
9583         * time/Makefile (tests): Add tst-strptime-whitespace.
9584         * time/strptime_l.c (get_number): Use ISSPACE.
9585         (__strptime_internal): Likewise.
9586         * time/tst-strptime-whitespace.c: New test case.
9588 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9590         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9591         member.
9592         (_nss_files_init): Set it here.
9594 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9596         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9597         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9598         unsigned.
9600 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9602         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9604 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9607         size just once.
9609 2013-04-21  David S. Miller  <davem@davemloft.net>
9611         * po/ru.po: Update Russion translation from translation project.
9613 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9615         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9616         and setfsgid.
9618 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9620         * configure.in: Remove i386 configure warning. Remove i386 case.
9621         * configure: Regenerate.
9622         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9623         Add example to error message.
9624         * sysdeps/i386/configure: Regenerate.
9626 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9628         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9629         slowtan.
9630         * benchtests/cos-inputs: New file.
9631         * benchtests/slowcos-inputs: New file.
9632         * benchtests/slowcos.c: New file.
9633         * benchtests/slowtan-inputs: New file.
9634         * benchtests/slowtan.c: New file.
9635         * benchtests/tan-inputs: New file.
9637 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9639         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9640         considered kosher.
9642 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9644         * benchtests/Makefile: Include cppflags-iterator.mk to add
9645         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9647         * Makefile.in (bench-clean): New target.
9648         * benchtests/Makefile (bench-clean): Likewise.
9650 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9652         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9654 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9656         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9658 2013-04-15  Andreas Schwab  <schwab@suse.de>
9660         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9661         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9662         * nscd/pwdcache.c (cache_addpw): Likewise.
9663         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9664         more than recsize.
9666 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9668         * benchtests/Makefile (bench): Write all output to
9669         bench-out.tmp together.
9671 2013-04-15  Andreas Schwab  <schwab@suse.de>
9673         * nscd/nscd.c (main): Don't fork again after closing files.
9675 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9677         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9679         * benchtests/Rules (bench-deps): Collect dependencies into a
9680         single variable.  Add Makefile to dependencies.
9681         ($(objpfx)bench-%.c): Depend on bench-deps.
9683 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9684             Xavier Roche  <roche+kml2@exalead.com>
9686         [BZ #15361]
9687         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9688         just that it's a file descriptor.
9689         * manual/llio.texi (Synchronizing AIO Operations): Update description
9690         for EBADF error from aio_fsync.
9692 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9694         * Rules (bench): Move target definition...
9695         * benchtests/Makefile: ... here.
9697 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9699         * math/libm-test.inc (cos_test): Fix PI/2 test.
9700         (sincos_test): Likewise.
9701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9702         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9704 2013-04-11  Andreas Schwab  <schwab@suse.de>
9706         [BZ #13988]
9707         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9708         accept exponent character only when digits were seen.
9709         * stdio-common/Makefile (tests): Add bug26.
9710         * stdio-common/bug26.c: New file.
9712         [BZ #14293]
9713         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9714         non-freeable.
9716 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9718         * Makeconfig (rtld-prefix): Define built linker prefix.
9719         * Rules (run-bench): Use it.
9720         * math/Makefile (run-regen-ulps): Likewise.
9722         * Rules (bench): Remove eval.
9724 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9725             Roland McGrath  <roland@hack.frob.com>
9726             Ondrej Bilka  <neleai@seznam.cz>
9728         [BZ #15346]
9729         * time/getdate.c: Include ctype.h and alloca.h.
9730         (__getdate_r): Trim leading and trailing spaces of input.
9731         * time/tst-getdate.c (tests): Add tests with leading and
9732         trailing spaces.
9734 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9736         [BZ #14280]
9737         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9738         when computing value.
9740 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9742         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9743         Use testrun.sh to run libm tests.
9745         [BZ #15309]
9746         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9748 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9750         [BZ #15264]
9751         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9753 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9755         * Makefile.in (regen-ulps): New target.
9756         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9757         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9758         [ifneq (no,$(PERL)] (regen-ulps): New target.
9759         [ifeq (no,$(PERL)] (regen-ulps): New target.
9760         * math/libm-test.inc (ulps_file_name): Define.
9761         (output_dir): New variable.
9762         (options): Add "output-dir" option.
9763         (parse_opt): Handle 'o' case.
9764         (main): If output_dir is non-NULL use it as a prefix
9765         otherwise use "".
9766         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9768 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9770         [BZ #10060, #10062]
9771         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9772         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9773         fail configure if __sync_val_compare_and_swap is not inlined.
9774         * sysdeps/i386/configure: Regenerate.
9775         * configure.in: Build for i686 when configured for i386.
9776         * configure: Regenerate.
9777         * README: Remove i386 reference.
9779 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9781         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9782         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9784 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9786         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9787         (lmsnanval): New variables.
9788         (F): Add conversion tests.
9789         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9790         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9792         * stdio-common/tstdiomisc.c (F): Properly collect individual
9793         tests' results.
9795         [BZ #14686, #15336]
9796         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9797         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9798         Instead, use input NaN values or generate a qNaN by arithmetic
9799         operation.  Also fix bugs to comply with the standard.
9800         * math/libm-test.inc (remainder_test): Add more tests.
9802         [BZ #15335, #15342]
9803         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9805         input NaN values or generate a qNaN by arithmetic operation.
9807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9808         unreachable code.
9810         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9811         definitions.
9813 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9815         [BZ #14478]
9816         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9817         underflowed result.
9818         * math/s_cexpf.c (__cexpf): Likewise.
9819         * math/s_cexpl.c (__cexpl): Likewise.
9820         * math/libm-test.inc (cexp_test): Add more tests.
9822 2013-04-03  Andreas Schwab  <schwab@suse.de>
9824         [BZ #15330]
9825         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9826         order arrays from heap if bigger than alloca cutoff.
9828 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9830         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9831         (SNAN_TESTS_double): Refer to GCC PR56831.
9832         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9833         GCC PR56828.
9835 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9837         * Rules (bench): Move bench.out after the run is complete.
9839         * Rules (bench): Echo currently running benchmark.
9841         * benchtests/Makefile (bench): Add atan and slowatan.
9842         * benchtests/atan-inputs: New file.
9843         * benchtests/slowatan-inputs: New file.
9844         * benchtests/slowatan.c: New file.
9846         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9848         its value.
9850         [BZ #15305]
9851         * sysdeps/unix/sysv/linux/kernel-features.h
9852         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9853         __ASSUME_XFS_RESTRICTED_CHOWN.
9854         * sysdeps/unix/sysv/linux/pathconf.c
9855         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9856         Save and restore errno.
9858 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #15327]
9861         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9862         arguments using __kernel_casinh.
9863         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9864         arguments using __kernel_casinhf.
9865         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9866         arguments using __kernel_casinhl.
9867         * math/libm-test.inc (cacosh_test): Add more tests.
9868         * sysdeps/i386/fpu/libm-test-ulps: Update.
9869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9871 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9873         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9876         * bench/Makefile (bench): Add sin and slowsin.
9877         * benchtests/sin-inputs: New file.
9878         * benchtests/slowsin-inputs: New file.
9879         * benchtests/slowsin.c: New file.
9881         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9882         (bench): Add slowexp and slowpow.
9883         (exp-ITER): Increase iterations.
9884         (pow-ITER): Likewise.
9885         * benchtests/exp-inputs: Change input.
9886         * benchtests/pow-inputs: Likewise.
9887         * benchtests/slowexp-inputs: New file.
9888         * benchtests/slowexp.c: New file.
9889         * benchtests/slowpow-inputs: New file.
9890         * benchtests/slowpow.c: New file.
9892 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9894         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9895         instructions.
9896         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9897         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9898         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9899         * benchtests/Makefile: Add rint benchtest.
9900         * benchtests/rint-inputs: Input for rint benchtest.
9902 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9904         * Versions.def (libm): Add GLIBC_2.18.
9905         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9906         hidden libm prototypes.
9907         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9908         * math/Makefile (libm-calls): Add s_issignaling.
9909         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9910         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9911         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9912         declaration.
9913         * math/math.h [__USE_GNU] (issignaling): New macro.
9914         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9915         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9916         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9917         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9918         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9919         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9920         * manual/arith.texi (issignaling): New section.
9921         * manual/libm-err-tab.pl (@all_functions): Update comment.
9922         * math/gen-libm-test.pl (parse_args): Apply special handling for
9923         issignaling.
9924         * math/libm-test.inc (print_float, issignaling_test): New
9925         functions.
9926         (check_float_internal): Add issignaling checks.
9927         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9928         default definition.
9929         * sysdeps/powerpc/math-tests.h: New file.
9930         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9931         tests.
9932         * math/test-snan.c (TEST_FUNC): Likewise.
9934 2013-03-30  David S. Miller  <davem@davemloft.net>
9936         * po/de.po: Update from translation team.
9938 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9940         [BZ #10357]
9941         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9942         imaginary part less than 1.0 and real part less than 0.5
9943         specially.
9944         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9945         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9946         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9947         (cacos_test): Add more tests.
9948         (casin_test): Likewise.
9949         (casinh_test): Likewise.
9950         * sysdeps/i386/fpu/libm-test-ulps: Update.
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9953 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9955         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9956         ONE with its value.
9958         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9959         (__pow_mp): Replace ONE and MONE with their values.
9960         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9961         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9962         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9963         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9964         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9965         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9967         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9969         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9970         (__pow_mp): Replace ZERO and MZERO with their values.
9971         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9972         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9973         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9975         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9976         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9977         (__sqr): Likewise.
9979         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9981         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9983 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9985         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9986         Declare with __attribute__ ((weak)).
9987         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9988         Call __call_tls_dtors only if it's not NULL.
9990 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9992         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9993         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9994         magic __ehdr_start linker symbol if it's defined.
9995         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9996         them up here if it was already done.
9998         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9999         (_dl_aux_init): Use const in cast when setting it.
10000         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10001         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10002         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10004         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10005         Declare them here.
10006         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10007         * csu/libc-tls.c: Nor here.
10008         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10010         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10011         (__libc_message): Never call vsyslog.
10013 2013-03-28  Alan Modra  <amodra@gmail.com>
10015         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10016         Define as empty.
10017         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10018         Likewise.
10020 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10022         [BZ #15214]
10023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10024         underflow.
10025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10027 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10029         [BZ #15304]
10030         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10031         Don't add gid passed as argument.
10033         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10035 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10037         [BZ #15307]
10038         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10039         imaginary part between 1.0 and 1.5 and real part less than 0.5
10040         specially.
10041         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10042         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10043         * math/libm-test.inc (cacos_test): Add more tests.
10044         (casin_test): Likewise.
10045         (casinh_test): Likewise.
10046         * sysdeps/i386/fpu/libm-test-ulps: Update.
10047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10049 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10051         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10052         constants.
10053         (norm): Likewise.
10054         (denorm): Likewise.
10055         (__dbl_mp): Likewise.
10056         (add_magnitudes): Likewise.
10057         (sub_magnitudes): Likewise.
10058         (__add): Likewise.
10059         (__sub): Likewise.
10060         (__mul): Likewise.
10061         (__sqr): Likewise.
10062         (__inv): Likewise.
10063         (__dvd): Likewise.
10065         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10066         commented code.
10067         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10068         (__dubcos): Likewise.
10069         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10070         (__ieee754_acos): Likewise.
10071         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10072         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10073         (__exp1): Likewise.
10074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10076         (log1): Likewise.
10077         (my_log2): Likewise.
10078         (checkint): Likewise.
10079         * sysdeps/ieee754/dbl-64/e_remainder.c
10080         (__ieee754_remainder): Likewise.
10081         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10083         (bsloww): Likewise.
10084         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10086         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10087         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10088         MANTISSA_STORE_T to store computations on mantissa.  Use
10089         macros for rounding and division.
10090         (denorm): Likewise.
10091         (__dbl_mp): Likewise.
10092         (add_magnitudes): Likewise.
10093         (sub_magnitudes): Likewise.
10094         (__mul): Likewise.
10095         (__sqr): Likewise.
10096         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10097         powers of two in terms of TWOPOW macro.
10098         (mp_no): Make type of mantissa as MANTISSA_T.
10099         [!RADIXI]: Define RADIXI.
10100         [!TWO52]: Define TWO52.
10101         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10103 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10105         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10106         llroundl symbol when building for PPC32.
10108 2013-03-24  Mark H Weaver  <mhw@netris.org>
10110         * manual/arith.texi (Normalization Functions): Fix prototypes for
10111         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10113 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10115         [BZ #13889]
10116         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10117         high value to check if expl overflow.
10118         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10119         to check for underflow and overflow.
10120         * math/libm-test.inc: Add exp test.
10122 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10124         [BZ #11120]
10125         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10126         with NOT_IN_libc.
10128 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10130         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10131         symbol.
10133 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10135         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10136         wrap blocks consisting of several statements.
10138         * sysdeps/generic/math-tests.h: New file.
10139         * sysdeps/i386/fpu/math-tests.h: Likewise.
10140         * math/test-snan.c: Include it.
10141         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10143 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10145         [BZ #15285]
10146         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10147         (__ieee754_j0l): Do not improve calculations using cos of twice
10148         input for inputs above LDBL_MAX / 2.0L.
10149         (__ieee754_y0l): Likewise.
10150         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10151         (__ieee754_j1l): Do not improve calculations using cos of twice
10152         input for inputs above LDBL_MAX / 2.0L.
10153         (__ieee754_y1l): Likewise.
10154         * math/libm-test.inc (j0_test): Add another test.
10155         (j1_test): Likewise.
10156         (y0_test): Likewise.
10157         (y1_test): Likewise.
10158         * sysdeps/i386/fpu/libm-test-ulps: Update.
10160 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         * Rules ($(objpfx)bench-%.c): Include code from a C source
10163         file.
10165 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #15287]
10168         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10169         imaginary part 1.0 and real part less than 0.5 specially.
10170         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10171         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10172         * math/libm-test.inc (cacos_test): Add more tests.
10173         (casin_test): Likewise.
10174         (casinh_test): Likewise.
10175         * sysdeps/i386/fpu/libm-test-ulps: Update.
10176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10178 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10180         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10181         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10183 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10185         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10186         * config.make.in (config-cflags-sse4): Remove variable.
10187         (config-cflags-avx): Likewise.
10188         (config-cflags-sse2avx): Likewise.
10189         (config-cflags-novzeroupper): Likewise.
10190         (config-asflags-i686): Likewise.
10191         (have-mfma4): Likewise.
10192         (have-as-vis3): Likewise.
10193         (MIG): Likewise.
10194         * configure.in (MIG): Do not AC_SUBST.
10195         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10196         (libc_cv_cc_sse4): Do not AC_SUBST.
10197         (libc_cv_cc_avx): Likewise.
10198         (libc_cv_cc_sse2avx): Likewise.
10199         (libc_cv_cc_novzeroupper): Likewise.
10200         (libc_cv_cc_fma4): Likewise.
10201         (libc_cv_as_i686): Likewise.
10202         (libc_cv_sparc_as_vis3): Likewise.
10203         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10204         LIBC_CONFIG_VAR.
10205         (config-asflags-i686): Likewise.
10206         (config-cflags-avx): Likewise.
10207         (config-cflags-sse2avx): Likewise.
10208         (have-mfma4): Likewise.
10209         (config-cflags-novzeroupper): Likewise.
10210         * sysdeps/mach/configure.in (MIG): Likewise.
10211         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10212         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10213         LIBC_CONFIG_VAR.
10214         (config-cflags-avx): Likewise.
10215         (config-cflags-sse2avx): Likewise.
10216         (have-mfma4): Likewise.
10217         (config-cflags-novzeroupper): Likewise.
10218         * configure: Regenerated.
10219         * sysdeps/i386/configure: Likewise.
10220         * sysdeps/mach/configure: Likewise.
10221         * sysdeps/sparc/configure: Likewise.
10222         * sysdeps/x86_64/configure: Likewise.
10224 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10226         [BZ #14812]
10227         * locale/programs/localedef.c (options): Put N_ translation marker
10228         on argument names, not just descriptions.
10230 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10232         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10234 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10236         [BZ #14176]
10237         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10239 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10241         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10242         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10243         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10244         [!BEFORE_ABORT] (before_abort): New function.
10245         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10246         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10247         (writev_for_fatal): New function.
10248         (WRITEV_FOR_FATAL): New macro; call that.
10249         (backtrace_and_maps): New function.
10250         (BEFORE_ABORT): New macro; call that.
10251         (struct str_list): Type removed.
10252         (__libc_message, __libc_fatal): Functions removed.
10253         Include <sysdeps/posix/libc_fatal.c> instead.
10255 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10257         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10258         constants.
10259         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10260         double constants.
10262 2013-03-19  Andreas Schwab  <schwab@suse.de>
10264         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10265         * sysdeps/gnu/configure: Regenerate.
10267         * configure.in: Substitute libc_cv_rtlddir.
10268         * configure: Regenerate.
10269         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10270         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10271         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10272         * elf/Makefile (install-others, CFLAGS-interp.c)
10273         (ldso_install, common-ldd-rewrite): Likewise.
10274         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10275         $(inst_slibdir)/$(rtld-installed-name).
10276         * scripts/rellns-sh: Add -p option.
10277         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10278         for source.
10280 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10282         * manual/nptl.texi: Renamed to ...
10283         * manual/threads.texi: ... this.
10284         * manual/Makefile (chapters): Update.
10286 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10288         [BZ #14812]
10289         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10290         on argument names, not just descriptions.
10291         * malloc/memusagestat.c (options): Likewise.
10292         * nss/getent.c (options): Likewise.
10294 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10296         [BZ #14812]
10297         * iconv/iconv_prog.c (options): Put N_ translation marker
10298         on argument names, not just descriptions.
10299         * iconv/iconvconfig.c (options): Likewise.
10301 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10303         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10304         implementation which is faster on all x86_64 architectures.
10305         Tested on AMD, Intel Nehalem, SNB, IVB.
10306         * sysdeps/x86_64/strnlen.S: Likewise.
10308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10309         Remove all multiarch strlen and strnlen versions.
10310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10311         Remove strlen and strnlen related parts.
10313         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10314         Inline strlen part.
10315         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10317         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10318         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10319         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10320         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10321         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10322         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10324 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10326         * manual/memory.texi (Malloc Tunable Parameters):
10327         Sort parameters alphabetically. Add comments for missing entries.
10329 2013-03-17  David S. Miller  <davem@davemloft.net>
10331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10333 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10335         [BZ #15283]
10336         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10337         for arguments at most half maximum finite value.
10338         * math/libm-test.inc (j0_test): Add more tests.
10339         (j1_test): Likewise.
10340         (y0_test): Likewise.
10341         (y1_test): Likewise.
10342         * sysdeps/i386/fpu/libm-test-ulps: Update.
10343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10345         [BZ #14155]
10346         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10347         1 / x and functions P and Q for arguments above 0x1p256L.
10348         (__ieee754_y0l): Likewise.
10349         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10350         (__ieee754_y1l): Likewise.
10351         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10352         (j1_test): Likewise.
10353         (y0_test): Likewise.
10354         (y1_test): Likewise.
10356 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10358         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10359         variable.
10361 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10363         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10364         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10365         zero since it's initialized to EXEC_PAGESIZE.
10367         * sysdeps/unix/sysv/linux/ldsodefs.h
10368         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10369         * sysdeps/generic/ldsodefs.h: ... here.
10371 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10373         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10375         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10376         math/test-snan.c.
10377         * math/test-snan.c: Renamed from
10378         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10379         * math/Makefile (tests): Add test-snan.
10380         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10381         test-powerpc-snan.
10383         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10384         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10385         functions.
10386         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10387         __builtin_nan family of functions.
10388         * math/libm-test.inc (initialize): Initialize qnan_value with
10389         __builtin_nan family of functions.
10390         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10391         Remove variables.
10392         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10393         Remove functions.
10394         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10395         storage class.  Initialize qNaN_var and sNaN_var with
10396         __builtin_nan and __builtin_nans families of functions,
10397         respectively.
10399         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10400         (sqrt_test): Remove duplicate test with qNaN input.
10401         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10402         (round_test, signbit_test, significand_test): Note missing +/-Inf
10403         as well as qNaN tests.
10405         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10406         qNaN_var.  Fix a few strings, too.
10407         * math/libm-test.inc (nan_value): Rename to qnan_value.
10408         * math/gen-libm-test.pl (%beautify): Adjust to that.
10409         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10410         * math/test-misc.c (main): Likewise.
10411         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10412         to __qnan_bytes, and __qnan_union, respectively.
10413         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10414         Likewise.
10415         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10416         and lqnanval, respectively.
10417         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10418         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10419         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10420         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10422         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10423         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10424         doubles.
10426         * math/test-misc.c (main): Fix copy'n'pastos.
10427         * misc/tst-efgcvt.c (special): Likewise.
10429         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10430         Remove declarations.
10432 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10434         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10435         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10436         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10437         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10439 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10441         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10442         macro to return vdso values correctly in IFUNC implementations.
10443         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10444         Optimization by using IFUNC.
10446 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10447             Richard Henderson  <rth@redhat.com>
10448             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10450         * Makefile.in (bench): New target.
10451         * NEWS: Mention the benchmark framework.
10452         * Rules (bench): Likewise.
10453         (binaries-bench): Generate binaries for functions to
10454         benchmark.
10455         * benchtests/Makefile: New makefile for benchmark tests.
10456         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10457         programs.
10458         * benchtests/exp-inputs: New input file for EXP function.
10459         * benchtests/pow-inputs: New input file for POW function.
10460         * scripts/bench.pl: New script to generate source files for
10461         benchmark programs.
10463 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10465         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10466         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10467         computations on mantissa.  Use macros for rounding and
10468         division.
10469         (denorm): Likewise.
10470         (__dbl_mp): Likewise.
10471         (add_magnitudes): Likewise.
10472         (sub_magnitudes): Likewise.
10473         (__mul): Likewise.
10474         (__sqr): Likewise.
10475         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10476         powers of two in terms of TWOPOW macro.
10477         (mp_no): Make type of mantissa as MANTISSA_T.
10478         [!RADIXI]: Define RADIXI.
10479         [!TWO52]: Define TWO52.
10480         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10482         * manual/nptl.texi (cindex): Modify threads to pthreads.
10484 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10486         * sysdeps/x86_64/preconfigure: Regenerated.
10488 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10490         [BZ #14155]
10491         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10492         0x1p28 and above.
10493         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10494         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10495         0x1p28 and above.
10496         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10497         * math/libm-test.inc (j0_test): Do not allow one spurious
10498         underflow exception.
10499         (y1_test): Likewise.
10501 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10503         * manual/Makefile (chapters): Add nptl.
10504         * manual/debug.texi (Debugging Support): Add link to Threads
10505         chapter.
10506         * manual/nptl.texi: New file.
10508         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10510 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10512         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10513         for non-NULL pointer before the memory validity test. Pointed
10514         out by Holger Brunck <holger.brunck@keymile.com>.
10516 2013-03-13  Andreas Schwab  <schwab@suse.de>
10518         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10519         instead of .os.
10521 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10523         * timezone/zic.c: Update from tzcode 2013b.
10525 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10527         * manual/install.texi (Configuring and compiling):
10528         Mention i686 and i586.
10529         * INSTALL: Regenerate.
10531 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10533         * sysdeps/init_array/elf-init.c: New file.
10534         * csu/elf-init.c
10535         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10536         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10538         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10539         __gmon_start__ as global, but as static with a .preinit_array pointer.
10540         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10541         * sysdeps/init_array/crti.S: New file, empty except for comments.
10542         * sysdeps/init_array/crtn.S: Likewise.
10544 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10546         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10547         definining bcopy.
10548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10549         Remove Prefer_SSE_for_memop.
10550         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10551         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10552         HAS_PREFER_SSE_FOR_MEMOP.
10553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10554         memset-x86-64.
10555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10556         Remove bzero, memset ifunc support.
10557         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10558         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10559         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10560         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10562 2013-03-11  Andreas Schwab  <schwab@suse.de>
10564         [BZ #15234]
10565         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10566         by SHLIB_COMPAT.
10567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10568         (GLIBC_2.16): Remove pthread_atfork.
10570 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10572         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10573         (ptestcases.h): Likewise.
10575 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10577         * Makeconfig ($(common-objpfx)config.status): Depend on
10578         sysdeps/*/preconfigure{,.in} too.
10580 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10582         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10583         (__free_hook): Use void * instead of __malloc_ptr_t.
10584         (__malloc_hook): Likewise.
10585         (__realloc_hook): Likewise.
10586         (__memalign_hook): Likewise.
10587         (__after_morecore_hook): Likewise.
10588         * malloc/arena.c (save_malloc_hook): Likewise.
10589         (save_free_hook): Likewise.
10590         * malloc/hooks.c (malloc_hook_ini): Likewise.
10591         (realloc_hook_ini): Likewise.
10592         (memalign_hook_ini): Likewise.
10593         * malloc/malloc.c (malloc_hook_ini): Likewise.
10594         (realloc_hook_ini): Likewise.
10595         (memalign_hook_ini): Likewise.
10596         (__free_hook): Likewise.
10597         (__malloc_hook): Likewise.
10598         (__realloc_hook): Likewise.
10599         (__memalign_hook): Likewise.
10600         (__libc_malloc): Likewise.
10601         (__libc_free): Likewise.
10602         (__libc_realloc): Likewise.
10603         (__libc_memalign): Likewise.
10604         (__libc_valloc): Likewise.
10605         (__libc_pvalloc): Likewise.
10606         (__libc_calloc): Likewise.
10607         (__posix_memalign): Likewise.
10608         * malloc/morecore.c (__sbrk): Likewise.
10609         (__default_morecore): Likewise.
10611         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10613         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10614         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10615         __malloc_ptrdiff_t.
10617         * malloc/malloc.h (__malloc_size_t): Remove macro.
10618         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10619         __malloc_size_t.
10620         (old_memalign_hook): Likewise.
10621         (old_realloc_hook): Likewise.
10622         (struct hdr): Likewise.
10623         (flood): Likewise.
10624         (mallochook): Likewise.
10625         (memalignhook): Likewise.
10626         (reallochook): Likewise.
10627         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10628         (tr_old_realloc_hook): Likewise.
10629         (tr_old_memalign_hook): Likewise.
10630         (tr_mallochook): Likewise.
10631         (tr_reallochook): Likewise.
10632         (tr_memalignhook): Likewise.
10634 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10636         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10637         default_ldbl_pack and using as default implementation.
10638         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10639         implementation.
10640         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10641         redundant definition.
10642         (ldbl_insert_mantissa): Likewise.
10643         (ldbl_canonicalize): Likewise.
10644         (ldbl_nearbyint): Likewise.
10645         (ldbl_pack): Rename to ldbl_pack_ppc.
10646         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10647         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10648         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10650 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10653         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10655         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10657         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10658         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10659         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10661 2013-03-07  Andreas Jaeger  <aj@suse.de>
10663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10664         bits/mman-linux.h.
10666 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10668         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10669         Include mpa.h and declare __MPEXP.
10670         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10671         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10672         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10674         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10675         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10676         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10678         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10679         (__slowpow): Use long double EXPL and LOGL functions to
10680         compute POW.
10681         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10682         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10683         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10684         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10685         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10686         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10689         intermediate variable to calculate exponent.
10690         (__sqr): Likewise.
10691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10692         Likewise.
10693         (__sqr): Likewise.
10695         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10696         [!NO__SQR]: Define __sqr.
10697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10698         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10699         sysdeps/ieee754/dbl-64/mpa.c.
10700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10702         [BZ #12723]
10703         * posix/Makefile (tests): Add tst-pathconf.
10704         * posix/tst-pathconf.c: New test case.
10705         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10706         _PC_PIPE_BUF.
10707         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10709 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10711         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10713 2013-03-06  Andreas Jaeger  <aj@suse.de>
10715         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10716         definition via __MAP_ANONYMOUS.
10718         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10719         it's not part of Linux headers.
10721         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10722         (MAP_HUGE_MASK): Define.
10724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10725         Define.
10726         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10728         Define.
10729         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10730         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10731         Define.
10732         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10733         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10734         Define.
10735         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10737         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10738         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10739         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10740         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10741         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10742         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10744         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10745         Handle f2fs.
10747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10748         Handle f2fs and efivarfs.
10750         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10751         f2fs.
10753         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10754         (EFIVARFS_MAGIC): Add.
10755         (F2FS_LINK_MAX): Add.
10757 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10759         * stdio-common/vfprintf.c: Replace __builtin_expect with
10760         __glibc_unlikely.
10762 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10764         [BZ #13550]
10765         * sysdeps/generic/bp-sym.h: Remove file.
10766         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10767         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10768         <bp-sym.h> and <bp-asm.h>.
10769         (__longjmp): Don't use BP_SYM.
10770         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10771         and <bp-asm.h>.
10772         (memcpy): Don't use BP_SYM.
10773         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10774         <bp-sym.h> and <bp-asm.h>.
10775         (memcpy): Don't use BP_SYM.
10776         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10777         <bp-asm.h>.
10778         (memcpy): Don't use BP_SYM.
10779         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10780         <bp-asm.h>.
10781         (memset): Don't use BP_SYM.
10782         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10783         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10784         (__bzero): Don't use BP_SYM.
10785         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10786         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10787         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10788         <bp-sym.h> and <bp-asm.h>.
10789         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10790         pointers.
10791         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10792         <bp-sym.h> and <bp-asm.h>.
10793         (memcpy): Don't use BP_SYM.
10794         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10795         <bp-sym.h> and <bp-asm.h>.
10796         (memset): Don't use BP_SYM.
10797         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10798         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10799         (__bzero): Don't use BP_SYM.
10800         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10801         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10802         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10803         <bp-sym.h> and <bp-asm.h>.
10804         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10805         pointers.
10806         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10807         <bp-sym.h> and <bp-asm.h>.
10808         (memcpy): Don't use BP_SYM.
10809         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10810         <bp-sym.h> and <bp-asm.h>.
10811         (memset): Don't use BP_SYM.
10812         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10813         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10814         (__bzero): Don't use BP_SYM.
10815         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10816         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10818         <bp-sym.h> and <bp-asm.h>.
10819         (__memchr): Don't use BP_SYM.
10820         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10821         <bp-sym.h> and <bp-asm.h>.
10822         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10823         pointers.
10824         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10825         <bp-sym.h> and <bp-asm.h>.
10826         (memcpy): Don't use BP_SYM.
10827         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10828         <bp-sym.h> and <bp-asm.h>.
10829         (__mempcpy): Don't use BP_SYM.
10830         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10831         <bp-sym.h> and <bp-asm.h>.
10832         (__memrchr): Don't use BP_SYM.
10833         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10834         <bp-sym.h> and <bp-asm.h>.
10835         (memset): Don't use BP_SYM.
10836         (__bzero): Likewise.
10837         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10838         <bp-sym.h> and <bp-asm.h>.
10839         (__rawmemchr): Don't use BP_SYM.
10840         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10841         <bp-sym.h> and <bp-asm.h>.
10842         (__STRCMP): Don't use BP_SYM.
10843         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10844         <bp-sym.h> and <bp-asm.h>.
10845         (strchr): Don't use BP_SYM.
10846         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10847         <bp-sym.h> and <bp-asm.h>.
10848         (__strchrnul): Don't use BP_SYM.
10849         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10850         <bp-sym.h> and <bp-asm.h>.
10851         (strlen): Don't use BP_SYM.
10852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10853         <bp-sym.h> and <bp-asm.h>.
10854         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10855         pointers.
10856         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10857         <bp-sym.h> and <bp-asm.h>.
10858         (__strnlen): Don't use BP_SYM.
10859         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10860         <bp-sym.h> and <bp-asm.h>.
10861         (__GI__setjmp): Don't use BP_SYM.
10862         (_setjmp): Likewise.
10863         (__sigsetjmp): Likewise.
10864         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10865         (L(start_addresses)): Don't use BP_SYM.
10866         (_start): Likewise.
10867         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10868         <bp-asm.h>.
10869         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10870         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10871         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10872         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10873         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10874         <bp-asm.h>.
10875         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10876         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10877         about bounded pointers.
10878         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10879         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10880         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10881         <bp-asm.h>.
10882         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10883         about bounded pointers.  Remove GKM FIXME comments.
10884         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10885         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10886         <bp-asm.h>.
10887         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10888         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10889         Remove GKM FIXME comments.
10890         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10891         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10892         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10893         <bp-asm.h>.
10894         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10895         about bounded pointers.  Remove GKM FIXME comment.
10896         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10897         and <bp-asm.h>.
10898         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10899         pointers.
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10901         <bp-sym.h> and <bp-asm.h>.
10902         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10904         <bp-sym.h> and <bp-asm.h>.
10905         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10906         comment.
10908 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10910         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10911         call free(NULL).
10913 2013-03-05  David S. Miller  <davem@davemloft.net>
10915         * po/es.po: Update from translation team.
10917 2013-03-05  Andreas Jaeger  <aj@suse.de>
10919         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10920         <bits/mman-linux.h>.
10921         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10922         is fine.
10923         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10924         <bits/mman-linux.h> to end of file.
10925         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10926         is fine.
10927         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10928         <bits/mman-linux.h> to end of file.
10929         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10930         is fine.
10931         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10932         <bits/mman-linux.h> to end of file.
10934         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10935         (MCL_CURRENT, MCL_FUTURE): Define here.
10937 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10939         [BZ #15232]
10940         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10941         attribute_hidden.
10942         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10944 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10946         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10947         fourth parameter needed for rt_sigprocmask syscall.
10948         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10949         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10950         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10951         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10952         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10953         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10955 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10957         [BZ #13550]
10958         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10959         comment about bounded pointers.
10960         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10961         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10963 2013-03-04  Andreas Jaeger  <aj@suse.de>
10965         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10966         common definitions.
10968         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10969         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10970         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10972         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10975 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10977         [BZ #15055]
10978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10979         __ieee754_sqrl instead of __sqrl.
10981 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10983         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10984         * sysdeps/powerpc/fpu_control.h: ... here.
10985         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10986         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10987         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10988         * sysdeps/powerpc/bits/mathinline.h: ... here.
10990 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10992         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10993         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10994         to just [NEED_DL_SYSINFO_DSO].
10995         * elf/dl-support.c: Likewise.
10996         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10997         * elf/rtld.c (dl_main): Likewise.
10998         * elf/setup-vdso.h (setup_vdso): Likewise.
10999         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11000         * sysdeps/unix/sysv/linux/dl-sysdep.c
11001         (_dl_discover_osversion): Likewise.
11003 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11005         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11006         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11008 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11010         * NEWS: Mention libm performance improvements and non-x86 PI
11011         futex support.
11013         * csu/libc-start.c (__pthread_initialize_minimal): Change
11014         function arguments.
11015         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11017 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11019         [BZ #13550]
11020         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11021         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11022         <bp-sym.h> and <bp-asm.h>.
11023         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11024         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11025         and <bp-asm.h>.
11026         (memcpy): Don't use BP_SYM.
11027         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11028         <bp-asm.h>.
11029         (__mpn_add_n): Don't use BP_SYM.
11030         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11031         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11032         and <bp-asm.h>.
11033         (__mpn_addmul_1): Don't use BP_SYM.
11034         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11035         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11036         <bp-sym.h>.
11037         (_setjmp): Don't use BP_SYM.
11038         (__novmx_setjmp): Likewise.
11039         (__GI__setjmp): Likewise.
11040         (__vmx_setjmp): Likewise.
11041         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11042         <bp-sym.h>.
11043         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11044         (__bzero): Don't use BP_SYM.
11045         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11046         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11047         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11048         <bp-sym.h> and <bp-asm.h>.
11049         (memcpy): Don't use BP_SYM.
11050         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11051         <bp-sym.h> and <bp-asm.h>.
11052         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11053         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11054         <bp-sym.h> and <bp-asm.h>.
11055         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11056         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11057         <bp-asm.h>.
11058         (__mpn_lshift): Don't use BP_SYM.
11059         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11060         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11061         <bp-asm.h>.
11062         (memset): Don't use BP_SYM.
11063         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11064         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11065         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11066         <bp-asm.h>.
11067         (__mpn_mul_1): Don't use BP_SYM.
11068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11069         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11070         <bp-sym.h> and <bp-asm.h>.
11071         (memcmp): Don't use BP_SYM.
11072         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11073         <bp-sym.h> and <bp-asm.h>.
11074         (memcpy): Don't use BP_SYM.
11075         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11076         <bp-sym.h> and <bp-asm.h>.
11077         (memset): Don't use BP_SYM.
11078         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11079         <bp-sym.h> and <bp-asm.h>.
11080         (strncmp): Don't use BP_SYM.
11081         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11082         <bp-sym.h> and <bp-asm.h>.
11083         (memcpy): Don't use BP_SYM.
11084         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11085         <bp-sym.h> and <bp-asm.h>.
11086         (memset): Don't use BP_SYM.
11087         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11088         <bp-sym.h> and <bp-asm.h>.
11089         (__memchr): Don't use BP_SYM.
11090         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11091         <bp-sym.h> and <bp-asm.h>.
11092         (memcmp): Don't use BP_SYM.
11093         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11094         <bp-sym.h> and <bp-asm.h>.
11095         (memcpy): Don't use BP_SYM.
11096         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11097         <bp-sym.h> and <bp-asm.h>.
11098         (__mempcpy): Don't use BP_SYM.
11099         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11100         <bp-sym.h> and <bp-asm.h>.
11101         (__memrchr): Don't use BP_SYM.
11102         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11103         <bp-sym.h> and <bp-asm.h>.
11104         (memset): Don't use BP_SYM.
11105         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11106         <bp-sym.h> and <bp-asm.h>.
11107         (__rawmemchr): Don't use BP_SYM.
11108         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11109         <bp-sym.h> and <bp-asm.h>.
11110         (__STRCMP): Don't use BP_SYM.
11111         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11112         <bp-sym.h> and <bp-asm.h>.
11113         (strchr): Don't use BP_SYM.
11114         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11115         <bp-sym.h> and <bp-asm.h>.
11116         (__strchrnul): Don't use BP_SYM.
11117         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11118         <bp-sym.h> and <bp-asm.h>.
11119         (strlen): Don't use BP_SYM.
11120         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11121         <bp-sym.h> and <bp-asm.h>.
11122         (strncmp): Don't use BP_SYM.
11123         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11124         <bp-sym.h> and <bp-asm.h>.
11125         (__strnlen): Don't use BP_SYM.
11126         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11127         <bp-asm.h>.
11128         (__mpn_rshift): Don't use BP_SYM.
11129         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11130         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11131         <bp-sym.h> and <bp-asm.h>.
11132         (__sigsetjmp): Don't use BP_SYM.
11133         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11134         (L(start_addresses)): Don't use BP_SYM.
11135         (_start): Likewise.
11136         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11137         <bp-asm.h>.
11138         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11139         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11140         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11141         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11142         <bp-asm.h>.
11143         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11144         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11145         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11146         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11147         <bp-asm.h>.
11148         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11149         comments.
11150         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11151         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11152         <bp-asm.h>.
11153         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11154         FIXME comments.
11155         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11156         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11157         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11158         <bp-asm.h>.
11159         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11160         comment.
11161         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11162         and <bp-asm.h>.
11163         (strncmp): Don't use BP_SYM,
11164         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11165         <bp-asm.h>.
11166         (__mpn_sub_n): Don't use BP_SYM.
11167         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11168         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11169         and <bp-asm.h>.
11170         (__mpn_submul_1): Don't use BP_SYM.
11171         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11173         <bp-sym.h> and <bp-asm.h>.
11174         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11176         <bp-sym.h> and <bp-asm.h>.
11177         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11178         comment.
11180 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11183         Use ZK to minimize writes to Z.
11184         (sub_magnitudes): Simplify code a bit.
11185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11186         Use ZK to minimize writes to Z.
11187         (sub_magnitudes): Simplify code a bit.
11189 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11191         * csu/gmon-start.c: Add special exception to license text.
11193 2013-02-27  Richard Henderson  <rth@redhat.com>
11195         * scripts/config.guess: Update from config.git.
11196         * scripts/config.sub: Likewise.
11198 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11202         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11204         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11206         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11208         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11210 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11212         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11213         [$(build-shared = yes].
11215 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11217         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11218         (__mul): Reduce iterations for calculating mantissa.
11220         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11221         MPTWO.
11222         (__mpranred): Likewise.
11224         [BZ #15160]
11225         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11226         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11228 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11230         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11231         Define __attribute__.
11233 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11235         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11236         unused.
11237         * posix/regex_internal.h (__attribute): Remove.
11238         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11239         (re_string_context_at): Likewise.
11240         (bitset_not): Use __attribute__ and mark function as possibly
11241         unused.
11242         (bitset_merge): Likewise.
11243         (bitset_mask): Likewise.
11244         (re_string_char_size_at): Likewise.
11245         (re_string_wchar_at): Likewise.
11246         (re_string_elem_size_at): Likewise.
11248 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11250         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11251         code.
11252         (cc32): Likewise.
11254         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11255         (__acr): Likewise.
11256         (__cpy): Likewise.
11257         (norm): Likewise.
11258         (denorm): Likewise.
11259         (__dbl_mp): Likewise.
11260         (add_magnitudes): Likewise.
11261         (sub_magnitudes): Likewise.
11262         (__mul): Likewise.
11263         (__inv): Likewise.
11265         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11266         style.
11268         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11269         style.
11271         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11272         code.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11275         up changes with default code.
11276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11277         Likewise.
11279 2013-02-24  Allan McRae  <allan@archlinux.org>
11281         * manual/socket.texi (The Internet Namespace): Order menu items
11282         to match that in the file.
11284         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11285         node listing of the info page menu.
11287 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11289         [BZ #13550]
11290         * sysdeps/i386/bp-asm.h: Remove file.
11291         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11292         (PARMS): Do not use macros from bp-asm.h.
11293         (S1): Likewise.
11294         (S2): Likewise.
11295         (SIZE): Likewise.
11296         (__mpn_add_n): Do not use BP_SYM
11297         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11298         "bp-asm.h".
11299         (PARMS): Do not use macros from bp-asm.h.
11300         (S1): Likewise.
11301         (SIZE): Likewise.
11302         (__mpn_addmul_1): Do not use BP_SYM
11303         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11304         "bp-asm.h".
11305         (PARMS): Do not use macros from bp-asm.h.
11306         (SIGMSK): Likewise.
11307         (_setjmp): Likewise.  Do not use BP_SYM.
11308         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11309         "bp-asm.h".
11310         (PARMS): Do not use macros from bp-asm.h.
11311         (SIGMSK): Likewise.
11312         (setjmp): Likewise.  Do not use BP_SYM.
11313         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11314         "bp-asm.h".
11315         (PARMS): Do not use macros from bp-asm.h.
11316         (__frexp): Do not use BP_SYM.
11317         (frexp): Likewise.
11318         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11319         "bp-asm.h".
11320         (PARMS): Do not use macros from bp-asm.h.
11321         (__frexpf): Do not use BP_SYM.
11322         (frexpf): Likewise.
11323         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11324         "bp-asm.h".
11325         (PARMS): Do not use macros from bp-asm.h.
11326         (__frexpl): Do not use BP_SYM.
11327         (frexpl): Likewise.
11328         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11329         "bp-asm.h".
11330         (PARMS): Do not use macros from bp-asm.h.
11331         (__remquo): Do not use BP_SYM.
11332         (remquo): Likewise.
11333         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11334         "bp-asm.h".
11335         (PARMS): Do not use macros from bp-asm.h.
11336         (__remquof): Do not use BP_SYM.
11337         (remquof): Likewise.
11338         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11339         "bp-asm.h".
11340         (PARMS): Do not use macros from bp-asm.h.
11341         (__remquol): Do not use BP_SYM.
11342         (remquol): Likewise.
11343         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11344         "bp-asm.h".
11345         (PARMS): Do not use macros from bp-asm.h.
11346         (DEST): Likewise.
11347         (SRC): Likewise.
11348         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11349         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11350         "bp-asm.h".
11351         (PARMS): Do not use macros from bp-asm.h.
11352         (strlen): Do not use BP_SYM.
11353         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11354         "bp-asm.h".
11355         (PARMS): Do not use macros from bp-asm.h.
11356         (S1): Likewise.
11357         (S2): Likewise.
11358         (SIZE): Likewise.
11359         (__mpn_add_n): Do not use BP_SYM.
11360         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11361         "bp-asm.h".
11362         (PARMS): Do not use macros from bp-asm.h.
11363         (S1): Likewise.
11364         (SIZE): Likewise.
11365         (__mpn_addmul_1): Do not use BP_SYM.
11366         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11367         weak_alias.
11368         (bzero): Likewise.
11369         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11370         "bp-asm.h".
11371         (PARMS): Do not use macros from bp-asm.h.
11372         (S): Likewise.
11373         (SIZE): Likewise.
11374         (__mpn_lshift): Do not use BP_SYM.
11375         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11376         "bp-asm.h".
11377         (PARMS): Do not use macros from bp-asm.h.
11378         (DEST): Likewise.
11379         (SRC): Likewise.
11380         (LEN): Likewise.
11381         (memcpy): Likewise.  Do not use BP_SYM.
11382         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11383         libc_hidden_def and weak_alias.
11384         (mempcpy): Do not use BP_SYM in weak_alias.
11385         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11386         "bp-asm.h".
11387         (PARMS): Do not use macros from bp-asm.h.
11388         (DEST): Likewise.
11389         (LEN): Likewise.
11390         [!BZERO_P] (CHR): Likewise.
11391         (memset): Likewise.  Do not use BP_SYM.
11392         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11393         "bp-asm.h".
11394         (PARMS): Do not use macros from bp-asm.h.
11395         (S1): Likewise.
11396         (SIZE): Likewise.
11397         (__mpn_mul_1): Do not use BP_SYM.
11398         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11399         "bp-asm.h".
11400         (PARMS): Do not use macros from bp-asm.h.
11401         (S): Likewise.
11402         (SIZE): Likewise.
11403         (__mpn_rshift): Do not use BP_SYM.
11404         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11405         "bp-asm.h".
11406         (PARMS): Do not use macros from bp-asm.h.
11407         (STR): Likewise.
11408         (CHR): Likewise.
11409         (strchr): Likewise.  Do not use BP_SYM.
11410         (index): Do not use BP_SYM in weak_alias.
11411         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11417         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11418         "bp-asm.h".
11419         (PARMS): Do not use macros from bp-asm.h.
11420         (strlen): Do not use BP_SYM.
11421         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11422         "bp-asm.h".
11423         (PARMS): Do not use macros from bp-asm.h.
11424         (S1): Likewise.
11425         (S2): Likewise.
11426         (SIZE): Likewise.
11427         (__mpn_sub_n): Do not use BP_SYM.
11428         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11429         "bp-asm.h".
11430         (PARMS): Do not use macros from bp-asm.h.
11431         (S1): Likewise.
11432         (SIZE): Likewise.
11433         (__mpn_submul_1): Do not use BP_SYM.
11434         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11435         "bp-asm.h".
11436         (PARMS): Do not use macros from bp-asm.h.
11437         (S1): Likewise.
11438         (S2): Likewise.
11439         (SIZE): Likewise.
11440         (__mpn_add_n): Do not use BP_SYM.
11441         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11442         weak_alias.
11443         (bzero): Likewise.
11444         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11445         "bp-asm.h".
11446         (PARMS): Do not use macros from bp-asm.h.
11447         (BLK2): Likewise.
11448         (LEN): Likewise.
11449         (memcmp): Do not use BP_SYM.
11450         (bcmp): Do not use BP_SYM in weak_alias.
11451         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11452         "bp-asm.h".
11453         (PARMS): Do not use macros from bp-asm.h.
11454         (DEST): Likewise.
11455         (SRC): Likewise.
11456         (LEN): Likewise.
11457         (memcpy): Likewise.  Do not use BP_SYM.
11458         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11459         "bp-asm.h".
11460         (PARMS): Do not use macros from bp-asm.h.
11461         (DEST): Likewise.
11462         (SRC): Likewise.
11463         (LEN): Likewise.
11464         (memmove): Likewise.  Do not use BP_SYM.
11465         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11466         "bp-asm.h".
11467         (PARMS): Do not use macros from bp-asm.h.
11468         (DEST): Likewise.
11469         (SRC): Likewise.
11470         (LEN): Likewise.
11471         (__mempcpy): Likewise.  Do not use BP_SYM.
11472         (mempcpy): Do not use BP_SYM in weak_alias.
11473         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11474         "bp-asm.h".
11475         (PARMS): Do not use macros from bp-asm.h.
11476         (DEST): Likewise.
11477         (LEN): Likewise.
11478         [!BZERO_P] (CHR): Likewise.
11479         (memset): Likewise.  Do not use BP_SYM.
11480         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11481         "bp-asm.h".
11482         (PARMS): Do not use macros from bp-asm.h.
11483         (STR2): Likewise.
11484         (strcmp): Do not use BP_SYM.
11485         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11486         "bp-asm.h".
11487         (PARMS): Do not use macros from bp-asm.h.
11488         (STR): Likewise.
11489         (DELIM): Likewise.
11490         [USE_AS_STRTOK_R] (SAVE): Likewise.
11491         (FUNCTION): Likewise.  Do not use BP_SYM.
11492         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11493         aliases.
11494         (strtok_r): Likewise.
11495         (__GI___strtok_r): Likewise.
11496         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11497         (PARMS): Do not use macros from bp-asm.h.
11498         (S): Likewise.
11499         (SIZE): Likewise.
11500         (__mpn_lshift): Do not use BP_SYM.
11501         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11502         (PARMS): Do not use macros from bp-asm.h.
11503         (STR): Likewise.
11504         (CHR): Likewise.
11505         (__memchr): Do not use BP_SYM.
11506         (memchr): Do not use BP_SYM in weak_alias.
11507         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11508         (PARMS): Do not use macros from bp-asm.h.
11509         (BLK2): Likewise.
11510         (LEN): Likewise.
11511         (memcmp): Do not use BP_SYM.
11512         (bcmp): Do not use BP_SYM in weak_alias.
11513         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11514         (PARMS): Do not use macros from bp-asm.h.
11515         (S1): Likewise.
11516         (SIZE): Likewise.
11517         (__mpn_mul_1): Do not use BP_SYM.
11518         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11519         "bp-asm.h".
11520         (PARMS): Do not use macros from bp-asm.h.
11521         (STR): Likewise.
11522         (CHR): Likewise.
11523         (__rawmemchr): Do not use BP_SYM.
11524         (rawmemchr): Do not use BP_SYM in weak_alias.
11525         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11526         (PARMS): Do not use macros from bp-asm.h.
11527         (S): Likewise.
11528         (SIZE): Likewise.
11529         (__mpn_rshift): Do not use BP_SYM.
11530         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11531         (PARMS): Do not use macros from bp-asm.h.
11532         (SIGMSK): Likewise.
11533         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11534         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11535         (_start): Do not use BP_SYM.
11536         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11537         (PARMS): Do not use macros from bp-asm.h.
11538         (DEST): Likewise.
11539         (SRC): Likewise.
11540         (__stpcpy): Likewise.  Do not use BP_SYM.
11541         (stpcpy): Do not use BP_SYM in weak_alias.
11542         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11543         "bp-asm.h".
11544         (PARMS): Do not use macros from bp-asm.h.
11545         (DEST): Likewise.
11546         (SRC): Likewise.
11547         (LEN): Likewise.
11548         (__stpncpy): Likewise.  Do not use BP_SYM.
11549         (stpncpy): Do not use BP_SYM in weak_alias.
11550         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11551         (PARMS): Do not use macros from bp-asm.h.
11552         (STR): Likewise.
11553         (CHR): Likewise.
11554         (strchr): Likewise.  Do not use BP_SYM.
11555         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11556         "bp-asm.h".
11557         (PARMS): Do not use macros from bp-asm.h.
11558         (STR): Likewise.
11559         (CHR): Likewise.
11560         (__strchrnul): Likewise.  Do not use BP_SYM.
11561         (strchrnul): Do not use BP_SYM in weak_alias.
11562         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11563         "bp-asm.h".
11564         (PARMS): Do not use macros from bp-asm.h.
11565         (STOP): Likewise.
11566         (strcspn): Do not use BP_SYM.
11567         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11568         "bp-asm.h".
11569         (PARMS): Do not use macros from bp-asm.h.
11570         (STR): Likewise.
11571         (STOP): Likewise.
11572         (strpbrk): Likewise.  Do not use BP_SYM.
11573         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11574         "bp-asm.h".
11575         (PARMS): Do not use macros from bp-asm.h.
11576         (STR): Likewise.
11577         (CHR): Likewise.
11578         (strrchr): Likewise.  Do not use BP_SYM.
11579         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11580         (PARMS): Do not use macros from bp-asm.h.
11581         (SKIP): Likewise.
11582         (strspn): Do not use BP_SYM.
11583         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11584         (PARMS): Do not use macros from bp-asm.h.
11585         (STR): Likewise.
11586         (DELIM): Likewise.
11587         (SAVE): Likewise.
11588         (FUNCTION): Likewise.  Do not use BP_SYM.
11589         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11590         aliases.
11591         (strtok_r): Likewise.
11592         (__GI___strtok_r): Likewise.
11593         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11594         (PARMS): Do not use macros from bp-asm.h.
11595         (S1): Likewise.
11596         (S2): Likewise.
11597         (SIZE): Likewise.
11598         (__mpn_sub_n): Do not use BP_SYM.
11599         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11600         "bp-asm.h".
11601         (PARMS): Do not use macros from bp-asm.h.
11602         (S1): Likewise.
11603         (SIZE): Likewise.
11604         (__mpn_submul_1): Do not use BP_SYM.
11605         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11606         <bp-sym.h>.
11607         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11608         and <bp-asm.h>.
11609         (PARMS): Do not use macros from bp-asm.h.
11610         (FLAGS): Likewise.
11611         (PTID): Likewise.
11612         (TLS): Likewise.
11613         (CTID): Likewise.
11614         (__clone): Do not use BP_SYM.
11615         (clone): Do not use BP_SYM in weak_alias.
11616         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11617         and <bp-asm.h>.
11618         (PARMS): Do not use macros from bp-asm.h.
11619         (LEN): Likewise.
11620         (__mmap64): Do not use BP_SYM.
11621         (mmap64): Do not use BP_SYM in weak_alias.
11622         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11623         <bp-sym.h> and <bp-asm.h>.
11624         (PARMS): Do not use macros from bp-asm.h.
11625         (__posix_fadvise64_l64): Do not use BP_SYM.
11626         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11627         (PARMS): Do not use macros from bp-asm.h.
11628         (NSOPS): Likewise.
11629         (semtimedop): Do not use BP_SYM.
11630         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11631         and <bp-asm.h>.
11633 2013-02-21  Allan McRae  <allan@archlinux.org>
11635         * manual/message.texi (Charset conversion in gettext):
11636         Move @end statement to beginning of line.
11638 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11641         static.
11642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11643         Likewise.
11645         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11646         (denorm): Likewise.
11647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11650 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11652         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11653         tail-call to the resolved function if pltexit isn't needed.
11655 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11658         or Y being zero as being unlikely.
11659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11660         Likewise.
11662 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11664         * manual/nss.texi (System Databases and Name Service Switch):
11665         Remove frobnicate @pxref.
11667 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11669         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11670         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11672 2013-02-20  Petr Machata  <pmachata@redhat.com>
11674         * elf/elf.h (R_ARM_TARGET1): New macro.
11675         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11676         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11677         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11678         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11679         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11680         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11681         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11682         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11683         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11684         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11685         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11686         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11687         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11688         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11689         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11690         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11691         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11692         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11693         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11694         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11695         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11696         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11697         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11698         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11699         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11700         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11701         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11702         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11703         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11704         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11705         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11706         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11707         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11708         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11709         (R_ARM_THM_GOT_BREL12): Likewise.
11710         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11711         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11712         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11713         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11714         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11715         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11716         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11717         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11718         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11720 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11722         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11723         __attribute_used__ to __attribute__ ((unused)).
11725 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11727         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11728         powerpc mpa.c.
11729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11730         comment formatting.
11731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11733 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11735         [BZ #13550]
11736         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11737         Remove macro.
11738         (ENTER): Remove both macro definitions.
11739         (LEAVE): Likewise.
11740         (CHECK_BOUNDS_LOW): Likewise.
11741         (CHECK_BOUNDS_HIGH): Likewise.
11742         (CHECK_BOUNDS_BOTH): Likewise.
11743         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11744         (RETURN_BOUNDED_POINTER): Likewise.
11745         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11746         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11747         (POP_ERRNO_LOCATION_RETURN): Likewise.
11748         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11749         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11750         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11751         macros.
11752         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11753         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11754         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11755         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11756         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11757         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11758         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11759         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11760         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11761         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11762         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11763         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11764         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11765         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11766         removed macros.
11767         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11768         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11769         macros.
11770         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11771         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11772         * sysdeps/i386/i586/memset.S (memset): Likewise.
11773         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11774         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11775         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11776         macros.
11777         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11778         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11779         Change uses of L(2) to L(out).
11780         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11781         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11782         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11783         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11784         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11785         removed macros.
11786         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11787         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11788         macros.
11789         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11790         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11791         (RETURN): Do not use macro LEAVE.
11792         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11793         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11794         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11795         * sysdeps/i386/i686/memset.S (memset): Likewise.
11796         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11797         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11798         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11799         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11800         Likewise.
11801         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11802         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11803         L(1_2) and L(1_3) into L(1).
11804         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11805         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11806         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11807         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11808         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11809         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11810         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11811         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11812         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11813         macros.
11814         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11815         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11816         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11817         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11818         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11819         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11820         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11821         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11822         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11823         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11824         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11825         * sysdeps/i386/strspn.S (strspn): Likewise.
11826         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11827         conditional code.
11828         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11829         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11830         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11831         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11832         L(1_3) into L(1_1).
11833         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11834         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11835         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11836         macros.
11837         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11839 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11841         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11842         macro.
11844 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11846         * math/atest-exp.c (exp_mpn): Remove ROUND.
11847         * math/atest-exp2.c (exp_mpn): Likewise.
11848         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11850         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11851         * stdlib/tst-tls-atexit-lib.c: Likewise.
11852         * stdlib/tst-tls-atexit.c: Likewise.
11854 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11856         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11857         and __attribute_alloc_size__.
11859 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11861         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11862         __attribute_alloc_size__.
11863         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11864         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11866 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11868         * include/programs/xmalloc.h: New file.
11869         * catgets/gencat.c: Include it.
11870         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11871         * elf/pldd.c: Likewise.
11872         * iconv/iconv_charmap.c: Likewise.
11873         * iconv/iconvconfig.c: Likewise.
11874         * iconv/strtab.c: Likewise.
11875         * locale/programs/locale.c: Likewise.
11876         * locale/programs/localedef.h: Likewise.
11877         * locale/programs/simple-hash.c: Likewise.
11878         * nscd/nscd.h: Likewise.
11879         * nss/makedb.c: Likewise.
11880         * sysdeps/generic/ldconfig.h: Likewise.
11882 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11884         * Versions.def: Add GLIBC_2.18.
11885         * include/link.h (struct link_map): New member l_tls_dtor_count.
11886         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11887         (__call_tls_dtors): Likewise.
11888         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11889         __cxa_thread_atexit_impl.
11890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11891         Likewise.
11892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11893         Likewise.
11894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11895         Likewise.
11896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11897         Likewise.
11898         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11900         Likewise.
11901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11902         Likewise.
11903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11905         Likewise.
11906         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11907         (tests): Add test case tst-tls-atexit.
11908         (modules-names): Add shared library for tst-tls-atexit.
11909         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11910         (GLIBC_PRIVATE): Add __call_tls_dtors.
11911         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11912         for libstdc++.
11913         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11914         * stdlib/tst-tls-atexit.c: New test case.
11915         * stdlib/tst-tls-atexit-lib.c: New test case.
11917         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11919         * elf/Versions (ld): Add _dl_find_dso_for_object.
11920         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11921         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11922         (dl_open_worker): Use _dl_find_dso_for_object.
11923         * elf/dl-sym.c (do_sym): Likewise.
11924         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11926 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11928         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11929         Syntactic changes only.
11930         (_dl_runtime_profile): Do a tail-call to the resolved function.
11932 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #13550]
11935         * sysdeps/x86_64/bp-asm.h: Remove file.
11936         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11937         <bp-sym.h> and <bp-asm.h>.
11938         (__clone): Do not use BP_SYM.
11939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11940         <bp-sym.h> and <bp-asm.h>.
11941         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11942         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11943         "bp-asm.h".
11944         (_setjmp): Do not use BP_SYM.
11945         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11946         "bp-asm.h".
11947         (setjmp): Do not use BP_SYM.
11948         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11949         libc_hidden_def.
11950         (mempcpy): Do not use BP_SYM in weak_alias.
11951         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11952         "bp-asm.h".
11953         (strchr): Do not use BP_SYM.
11954         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11955         "bp-asm.h".
11956         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11957         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11958         (_start): Do not use BP_SYM.
11959         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11960         "bp-asm.h".
11961         (strcat): Do not use BP_SYM.
11962         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11963         "bp-asm.h".
11964         (STRCMP): Do not use BP_SYM.
11965         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11966         "bp-asm.h".
11967         (STRCPY): Do not use BP_SYM.
11968         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11969         "bp-asm.h".
11970         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11971         "bp-asm.h".
11972         (FUNCTION): Do not use BP_SYM.
11973         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11974         weak_alias.
11975         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11977 2013-02-17  Andreas Jaeger  <aj@suse.de>
11979         * time/Versions: Sort entries.
11980         * string/Versions: Likewise.
11981         * resolv/Versions: Likewise.
11982         * posix/Versions: Likewise.
11983         * iconv/Versions: Likewise.
11984         * elf/Versions: Likewise.
11985         * wcsmbs/Versions: Likewise.
11987 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11989         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11990         loop termination condition.
11992         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11993         variable to calculate EZ.
11994         (__sqr): Likewise.
11996         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11997         the lower precision input.
11999 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #13550]
12002         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12003         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12004         (run-via-rtld-prefix): Do not handle %-bp tests.
12005         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12006         (all-object-suffixes): Remove .ob.
12007         (bppfx): Remove variable.
12008         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12009         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12010         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12011         [$(build-bounded) = yes] (libtype.ob): Likewise.
12012         * Makerules (elide-routines.ob): Remove variable.
12013         (do-tests-clean): Do not handle *-bp.out.
12014         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12015         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12016         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12017         (tests): Do not include $(tests-bp.out).
12018         (xtests): Do not include $(xtests-bp.out).
12019         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12020         [$(build-bounded) = yes] ($(addprefix
12021         $(objpfx),$(binaries-bounded))): Remove rule.
12022         ($(objpfx)%-bp.out): Remove rule.
12023         * config.make.in (build-bounded): Remove variable.
12024         * crypt/Makefile [$(build-bounded) = yes]
12025         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12026         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12027         append to variable.
12028         [$(build-bounded) = yes] (install-lib): Likewise.
12029         [$(build-bounded) = yes] (generated): Likewise.
12030         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12031         Remove rule.
12032         * intl/Makefile [$(build-bounded) = yes]
12033         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12034         * math/Makefile [$(build-bounded) = yes]
12035         ($(tests:%=$(objpfx)%-bp): Likewise.
12036         * misc/Makefile [$(build-bounded) = yes]
12037         ($(objpfx)tst-tsearch-bp): Likewise.
12038         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12039         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12040         Remove dependency.
12041         * string/Makefile (o-objects.ob): Remove variable.
12042         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12043         (CFLAGS-.ob): Remove variable.
12044         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12045         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12046         both definitions of variable.
12047         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12048         (ASFLAGS-.ob): Remove variable.
12050 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12052         [BZ #13550]
12053         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12054         Remove __BOUNDED_POINTERS__ from condition.
12055         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12056         * string/bits/string2.h [!__NO_STRING_INLINES &&
12057         !__BOUNDED_POINTERS__]: Likewise.
12058         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12059         Likewise.
12060         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12061         Remove conditional code.
12062         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12063         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12064         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12065         condition.
12067         [BZ #13550]
12068         * csu/libc-start.c: Do not include <bp-sym.h>.
12069         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12070         * elf/dl-open.c: Do not include <bp-sym.h>.
12071         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12072         * math/fegetenv.c: Do not include <bp-sym.h>.
12073         (fegetenv): Do not use BP_SYM in versioned symbols.
12074         * nptl/sysdeps/pthread/bits/libc-lockP.h
12075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12076         <bp-sym.h>.
12077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12078         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12080         (__pthread_mutex_destroy): Likewise.
12081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12082         (__pthread_mutex_lock): Likewise.
12083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12084         (__pthread_mutex_trylock): Likewise.
12085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12086         (__pthread_mutex_unlock): Likewise.
12087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12088         (__pthread_mutexattr_init): Likewise.
12089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12090         (__pthread_mutexattr_destroy): Likewise.
12091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12092         (__pthread_mutexattr_settype): Likewise.
12093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12094         (__pthread_rwlock_init): Likewise.
12095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12096         (__pthread_rwlock_destroy): Likewise.
12097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12098         (__pthread_rwlock_rdlock): Likewise.
12099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12100         (__pthread_rwlock_tryrdlock): Likewise.
12101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12102         (__pthread_rwlock_wrlock): Likewise.
12103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12104         (__pthread_rwlock_trywrlock): Likewise.
12105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12106         (__pthread_rwlock_unlock): Likewise.
12107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12108         (__pthread_key_create): Likewise.
12109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12110         (__pthread_setspecific): Likewise.
12111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12112         (__pthread_getspecific): Likewise.
12113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12114         Likewise.
12115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12116         (_pthread_cleanup_push_defer): Likewise.
12117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12118         (_pthread_cleanup_pop_restore): Likewise.
12119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12120         (pthread_setcancelstate): Likewise.
12121         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12122         <bp-sym.h>.
12123         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12124         (memchr): Do not use BP_SYM in weak_alias.
12125         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12126         (fegetenv): Do not use BP_SYM in versioned symbols.
12127         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12128         (fesetenv): Do not use BP_SYM in versioned symbols.
12129         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12130         (feupdateenv): Do not use BP_SYM in versioned symbols.
12131         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12132         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12133         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12134         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12135         (open64): Do not use BP_SYM in weak_alias.
12136         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12137         (fegetenv): Do not use BP_SYM in versioned symbols.
12138         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12139         (fesetenv): Do not use BP_SYM in versioned symbols.
12140         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12141         (feupdateenv): Do not use BP_SYM in versioned symbols.
12142         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12143         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12144         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12145         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12146         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12147         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12148         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12149         <bp-sym.h>.
12150         (__libc_start_main): Do not use BP_SYM.
12152 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12155         redundant return line.
12156         (norm): Likewise.
12157         (denorm): Likewise.
12158         (dbl_mp): Likewise.
12159         (sub_magnitudes): Likewise.
12160         (__add): Likewise.
12161         (__sub): Likewise.
12162         (__mul): Likewise.
12163         (__inv): Likewise.
12164         (__dvd): Likewise.
12165         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12166         (norm): Likewise.
12167         (denorm): Likewise.
12168         (dbl_mp): Likewise.
12169         (sub_magnitudes): Likewise.
12170         (__add): Likewise.
12171         (__sub): Likewise.
12172         (__mul): Likewise.
12173         (__inv): Likewise.
12174         (__dvd): Likewise.
12176         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12177         instead of __mul.
12178         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12179         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12180         (cc32): Likewise.
12182         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12183         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12185         of __mul for squares.
12186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12187         function
12188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12189         Likewise.
12190         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12191         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12193 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12195         [BZ #13550]
12196         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12197         code.
12198         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12199         prototype or function definition.  Rename ubp_* variables and
12200         parameters.  Remove argv definitions conditional on
12201         [__BOUNDED_POINTERS__].
12202         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12203         * elf/dl-runtime.c (_dl_fixup): Likewise.
12204         * include/set-hooks.h (RUN_HOOK): Likewise.
12205         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12206         definition.
12207         * string/strcpy.c (strcpy): Do not use __unbounded.
12208         * sysdeps/generic/frame.h (struct layout): Likewise.
12209         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12210         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12211         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12212         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12213         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12214         (__backtrace): Likewise.
12215         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12216         use __ptrvalue.
12217         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12218         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12219         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12222         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12223         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12224         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12225         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12226         Do not use __unbounded.
12227         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12228         Rename __unboundedrlimits parameter to rlimits in prototype.
12229         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12230         Do not use __unbounded.
12231         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12232         not use __ptrvalue.
12233         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12234         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12235         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12236         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12237         __ptrvalue or __unbounded.
12238         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12239         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12240         use __unbounded.
12241         (__new_msgctl): Do not use __ptrvalue.
12242         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12243         __unbounded.
12244         (__libc_msgrcv): Do not use __ptrvalue.
12245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12246         startup_info): Do not use __unbounded.
12247         (__libc_start_main): Likewise.  Rename ubp_* variables and
12248         parameters.  Remove argv definitions conditional on
12249         [__BOUNDED_POINTERS__].
12250         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12251         __ptrvalue.
12252         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12253         use __unbounded.
12254         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12255         or __ptrvalue.
12256         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12257         use __unbounded.
12258         (__new_shmctl): Do not use __ptrvalue.
12259         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12260         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12261         Likewise.
12262         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12264         (__libc_sigaction): Likewise.
12265         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12266         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12267         Likewise.
12268         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12270 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12272         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12274         * string/mempcpy.c: Implement by calling memcpy.
12276 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12280         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12281         evaluation.
12283         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12284         values in the mantissa.
12286         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12287         minimize writes to Z.
12288         (sub_magnitudes): Simplify code a bit.
12290 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12292         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12293         from the message.  The linker prefixes all warnings with that already.
12295 2013-02-12  Andreas Schwab  <schwab@suse.de>
12297         [BZ #15078]
12298         * posix/regexec.c (extend_buffers): Add parameter min_len.
12299         (check_matching): Pass minimum needed length.
12300         (clean_state_log_if_needed): Likewise.
12301         (get_subexp): Likewise.
12302         * posix/Makefile (tests): Add bug-regex34.
12303         (bug-regex34-ENV): Define.
12304         * posix/bug-regex34.c: New file.
12306         [BZ #11561]
12307         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12308         elements compare against the byte sequence of it, not its name.
12309         * posix/Makefile (tests): Add bug-regex35.
12310         (bug-regex35-ENV): Define.
12311         * posix/bug-regex35.c: New file.
12313 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12315         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12316         comment.
12317         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12318         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12319         (CHECK_EOL): Add undef.
12321 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12323         * bits/stdlib-bsearch.h: New file.
12324         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12325         * stdlib/stdlib.h: Likewise.
12327 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12329         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12330         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12331         declaration.
12332         * manual/search.texi (Array Search Function): Add missing const in
12333         lfind prototype.
12334         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12335         declaration to use rlim_t.
12336         (Basic Scheduling Functions): Remove erroneous const from
12337         sched_getparam prototype.  Remove erroneous * from
12338         sched_get_priority_max and sched_get_priority_min prototypes.
12339         (Resource Usage): Fix summary @comment on vtimes to refer to
12340         sys/vtimes.h rather than vtimes.h.
12341         Add missing *s in vtimes prototype.
12342         (Limits on Resources): Fix ulimit prototype to return long int.
12343         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12344         prototypes to use long int rather than double.
12345         (BSD Random): Fix initstate and setstate to use char *, not void *.
12346         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12347         prototype to make second argument 'struct aiocb64 *const[]'.
12348         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12349         (Status of AIO Operations): Remove erroneous const in aio_return and
12350         aio_return64 prototypes.
12351         (Synchronizing I/O): Fix sync prototype to return void.
12352         * manual/startup.texi (Suboptions): Remove an erroneous const in
12353         getsubopt prototype.
12354         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12355         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12356         use size_t rather than int.
12357         (Scanning All Users): Likewise for getpwent_r.
12358         (Setting Groups): Add missing const to setgroups prototype.
12359         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12360         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12361         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12362         'const void *' rather than 'const char *'.
12363         (Host Address Functions): Likewise for inet_ntop.
12364         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12365         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12366         ssize_t for return value.
12367         (Sending Data): Likewise for send, sendto, sendmsg.
12368         (Socket Option Functions): Add a missing const in setsockopt prototype.
12369         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12370         use wchar_t for the argument.
12371         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12372         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12373         take no arguments.
12374         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12375         double/float/long double for second argument.
12376         Fix return types of significand, significandf, significandl.
12377         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12378         argument in fchmod prototype.
12379         (File Owner): Use uid_t and gid_t in fchown prototype.
12380         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12381         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12382         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12383         use 'const struct dirent **' as argument types to CMP function pointer
12384         argument.
12385         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12386         (File Times): Fix summary magic @comment for struct utimbuf and utime
12387         to refer to utime.h, not time.h.
12388         * manual/string.texi (Argz Functions): Add missing const in
12389         argz_extract and argz_next prototypes.
12390         (Finding Tokens in a String): Likewise for basename.
12391         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12392         (Copying and Concatenation): Fix typo in wmemmove prototype.
12393         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12394         (Signal Stack): Remove erroneous const in sigstack prototype.
12395         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12396         prototype.
12397         (Simple Calendar Time): Likewise for stime.
12398         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12399         prototype.
12400         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12401         say sys/sysctl.h instead.
12402         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12403         and vsyslog prototypes.
12405 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12407         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12408         Remove.
12410 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12412         * misc/sys/mman.h: Fix typo in mremap comment.
12414 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12416         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12417         the '\0' terminator.
12419 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12421         [BZ #13550]
12422         * debug/segfault.c: Don't include <bp-checks.h>.
12423         * sysdeps/generic/bp-checks.h: Remove file.
12424         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12425         (__GETDENTS): Don't use CHECK_N.
12426         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12427         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12428         (__getgroups): Don't use CHECK_N.
12429         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12430         (setgroups): Don't use CHECK_N.
12431         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12432         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12433         (__libc_msgrcv): Don't use CHECK_N.
12434         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12435         (__libc_msgsnd): Don't use CHECK_N.
12436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12437         <bp-checks.h>.
12438         (__libc_pread): Don't use CHECK_N.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12440         include <bp-checks.h>.
12441         (__libc_pread64): Don't use CHECK_N.
12442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12443         include <bp-checks.h>.
12444         (__libc_pwrite): Don't use CHECK_N.
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12446         include <bp-checks.h>.
12447         (__libc_pwrite64): Don't use CHECK_N.
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12449         <bp-checks.h>.
12450         (__libc_pread): Don't use CHECK_N.
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12452         include <bp-checks.h>.
12453         (__libc_pread64): Don't use CHECK_N.
12454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12455         include <bp-checks.h>.
12456         (__libc_pwrite): Don't use CHECK_N.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12458         include <bp-checks.h>.
12459         (__libc_pwrite64): Don't use CHECK_N.
12460         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12461         (do_pread): Don't use CHECK_N.
12462         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12463         (do_pread64): Don't use CHECK_N.
12464         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12465         (do_pwrite): Don't use CHECK_N.
12466         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12467         (do_pwrite64): Don't use CHECK_N.
12468         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12469         (__libc_readv): Don't use CHECK_N.
12470         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12471         (semop): Don't use CHECK_N.
12472         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12473         <bp-checks.h>.
12474         (semtimedop): Don't use CHECK_N.
12475         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12476         (__libc_pread): Don't use CHECK_N.
12477         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12478         <bp-checks.h>.
12479         (__libc_pread64): Don't use CHECK_N.
12480         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12481         <bp-checks.h>.
12482         (__libc_pwrite): Don't use CHECK_N.
12483         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12484         <bp-checks.h>.
12485         (__libc_pwrite64): Don't use CHECK_N.
12486         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12487         <bp-checks.h>.
12488         (__libc_msgrcv): Don't use CHECK_N.
12489         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12490         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12491         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12492         (__libc_writev): Don't use CHECK_N.
12494 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12496         * string/strcpy.c: Removed unused variable.
12498         * Makeconfig (+sysdep-includes): Define with := rather than =.
12499         Use an existing include/ subdir of each sysdeps dir before it.
12501 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12503         * nscd/connection.c (register_traced_file): Comment function.
12504         [HAVE_INOTIFY] (union __inev): Define.
12505         [HAVE_INOTIFY] (inotify_check_files): New function.
12506         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12507         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12508         clear_db_cache.
12509         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12511 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12513         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12514         loaded if not already and that a failure is permanent.
12516 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12518         [BZ #15006]
12519         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12520         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12522 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #13550]
12525         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12526         (CHECK_1_NULL_OK): Likewise.
12527         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12528         (__fxstat): Do not use CHECK_1.
12529         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12530         <bp-checks.h>.
12531         (___fxstat64): Do not use CHECK_1.
12532         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12533         <bp-checks.h>.
12534         (__fxstatat): Do not use CHECK_1.
12535         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12536         <bp-checks.h>.
12537         (__fxstatat64): Do not use CHECK_1.
12538         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12539         <bp-checks.h>.
12540         (__fxstat): Do not use CHECK_1.
12541         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12542         <bp-checks.h>.
12543         (__fxstatat): Do not use CHECK_1.
12544         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12545         <bp-checks.h>.
12546         (__getresgid): Do not use CHECK_1.
12547         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12548         <bp-checks.h>.
12549         (__getresuid): Do not use CHECK_1.
12550         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12551         <bp-checks.h>.
12552         (__lxstat): Do not use CHECK_1.
12553         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12554         <bp-checks.h>.
12555         (__old_msgctl): Do not use CHECK_1.
12556         (__new_msgctl): Likewise.
12557         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12558         <bp-checks.h>.
12559         (__new_setrlimit): Do not use CHECK_1.
12560         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12561         <bp-checks.h>.
12562         (__old_shmctl): Do not use CHECK_1.
12563         (__new_shmctl): Likewise.
12564         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12565         <bp-checks.h>.
12566         (__xstat): Do not use CHECK_1.
12567         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12568         (__lxstat): Do not use CHECK_1.
12569         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12570         <bp-checks.h>.
12571         (___lxstat64): Do not use CHECK_1.
12572         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12573         (__old_msgctl): Do not use CHECK_1.
12574         (__new_msgctl): Likewise.
12575         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12576         <bp-checks.h>.
12577         (__gettimeofday): Do not use CHECK_1.
12578         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12579         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12580         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12581         <bp-checks.h>.
12582         (__gettimeofday): Do not use CHECK_1.
12583         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12584         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12585         (__new_shmctl): Do not use CHECK_1.
12586         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12587         <bp-checks.h>.
12588         (do_sigtimedwait): Do not use CHECK_1.
12589         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12590         <bp-checks.h>.
12591         (do_sigwaitinfo): Do not use CHECK_1.
12592         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12593         <bp-checks.h>.
12594         (msgctl): Do not use CHECK_1.
12595         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12596         <bp-checks.h>.
12597         (shmctl): Do not use CHECK_1.
12598         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12599         (ustat): Do not use CHECK_1.
12600         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12601         <bp-checks.h>.
12602         (__fxstat): Do not use CHECK_1.
12603         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12604         <bp-checks.h>.
12605         (__fxstatat): Do not use CHECK_1.
12606         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12607         <bp-checks.h>.
12608         (__lxstat): Do not use CHECK_1.
12609         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12610         <bp-checks.h>.
12611         (__xstat): Do not use CHECK_1.
12612         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12613         (__xstat): Do not use CHECK_1.
12614         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12615         (___xstat64): Do not use CHECK_1.
12617         [BZ #13550]
12618         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12619         definitions.
12620         (CHECK_BOUNDS_HIGH): Likewise.
12621         * string/strcpy.c: Do not include <bp-checks.h>.
12622         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12624 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12626         * nscd/nscd-client.h (__nscd_drop_map_ref):
12627         Add __attribute__ ((unused)).
12628         * nis/nss-nisplus.h (niserr2nss): Likewise.
12630         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12631         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12633         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12634         Remove inline keyword.
12635         * include/rounding-mode.h (round_away): Likewise.
12636         * libio/wfileops.c (adjust_wide_data): Likewise.
12637         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12638         (__m128i_strloadu_tolower): Likewise.
12639         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12640         (__m128i_strloadu_tolower): Likewise.
12641         * time/mktime.c (ydhms_diff): Likewise.
12642         * locale/elem-hash.h (elem_hash): Likewise.
12643         * locale/setlocale.c (setdata): Likewise.
12644         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12645         (re_string_wchar_at): Likewise.
12646         (bitset_not, bitset_merge, bitset_mask): Likewise.
12647         [!(__GNUC__ > 3)] (inline): Remove macro.
12648         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12649         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12650         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12651         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12652         * string/memcmp.c (memcmp_bytes): Likewise.
12653         * locale/programs/locarchive.c (compute_hashval): Likewise.
12654         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12655         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12656         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12657         * nss/getent.c (print_rpc, print_protocols): Likewise.
12658         (print_passwd, print_group, print_aliases): Likewise.
12659         * nis/nss-nisplus.h (niserr2nss): Likewise.
12660         * nscd/connections.c (restart_p): Likewise.
12661         Change return type to bool.
12663 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12665         * Makeconfig (all-Depend-files): Add existing
12666         $(sorted-subdirs:=/Depend) files.
12667         (all-subdirs): Remove nss.
12668         * sysdeps/unix/inet/Subdirs: Add it here instead.
12669         * hesiod/Depend: New file.
12671         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12672         instead of calling alloca.
12674         * io/lseek.c (__lseek): Rename to __libc_lseek.
12675         Define __lseek as an alias.
12677         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12679 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12681         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12682         else clause and remove check for non-standard endianness.
12684 2013-02-04  David S. Miller  <davem@davemloft.net>
12686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12688 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12690         [BZ #13550]
12691         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12692         (__ubp_memchr): Remove prototype.
12693         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12694         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12695         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12696         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12697         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12698         Remove alias.
12699         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12700         (__ubp_memchr): Likewise.
12701         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12702         (__ubp_memchr): Likewise.
12703         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12704         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12705         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12707         CHECK_STRING.
12708         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12709         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12710         (__getcwd): Do not use CHECK_STRING.
12711         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12712         <bp-checks.h>.
12713         (__real_chown): Do not use CHECK_STRING.
12714         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12715         <bp-checks.h>.
12716         (fchownat): Do not use CHECK_STRING.
12717         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12718         CHECK_STRING.
12719         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12720         <bp-checks.h>.
12721         (__lchown): Do not use CHECK_STRING.
12722         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12723         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12724         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12725         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12727         include <bp-checks.h>.
12728         (truncate64): Do not use CHECK_STRING.
12729         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12730         <bp-checks.h>.
12731         (__real_chown): Do not use CHECK_STRING.
12732         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12733         <bp-checks.h>.
12734         (__lchown): Do not use CHECK_STRING.
12735         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12736         <bp-checks.h>.
12737         (__chown): Do not use CHECK_STRING.
12738         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12739         <bp-checks.h>.
12740         (truncate64): Do not use CHECK_STRING.
12741         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12742         Likewise.
12743         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12744         (__xmknod): Do not use CHECK_STRING.
12745         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12746         <bp-checks.h>.
12747         (__xmknodat): Do not use CHECK_STRING.
12748         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12749         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12751 2013-02-04  Andreas Schwab  <schwab@suse.de>
12753         [BZ #14142]
12754         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12755         * include/netdb.h: Likewise for h_errno.
12756         * elf/tst-stackguard1.c: Include <tls.h>.
12758 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12760         * elf/link.h (struct link_map): Extend the l_addr comment.
12761         * include/link.h (struct link_map): Likewise.
12763 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12765         [BZ #13550]
12766         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12767         (BOUNDED_1): Remove macro.
12768         * debug/backtrace.c: Don't include <bp-checks.h>.
12769         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12770         (__backtrace): Likewise.
12771         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12772         <bp-checks.h>.
12773         (__backtrace): Don't use BOUNDED_1.
12774         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12775         <bp-checks.h>.
12776         (__backtrace): Don't use BOUNDED_1.
12777         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12778         (__backtrace): Don't use BOUNDED_1.
12779         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12780         (shmat): Don't use BOUNDED_N.
12782 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12784         [BZ #13550]
12785         * sysdeps/generic/bp-start.h: Remove file.
12786         * csu/libc-start.c: Don't include <bp-start.h>.
12787         (LIBC_START_MAIN): Set up __environ directly instead of using
12788         INIT_ARGV_and_ENVIRON.
12789         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12790         <bp-start.h>.
12792         [BZ #13550]
12793         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12794         definitions.
12795         (CHECK_FCNTL): Likewise.
12796         (CHECK_N_PAGES): Likewise.
12798         [BZ #13550]
12799         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12800         definitions.
12801         (CHECK_SIGSET_NULL_OK): Likewise.
12802         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12803         <bp-checks.h>.
12804         (sigpending): Don't use CHECK_SIGSET.
12805         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12806         <bp-checks.h>.
12807         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12808         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12809         <bp-checks.h>.
12810         (do_sigsuspend): Don't use CHECK_SIGSET.
12811         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12812         use CHECK_SIGSET.
12813         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12814         (do_sigwait): Don't use CHECK_SIGSET.
12815         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12816         use CHECK_SIGSET.
12817         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12818         include <bp-checks.h>.
12819         (sigpending): Don't use CHECK_SIGSET.
12820         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12821         include <bp-checks.h>.
12822         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12823         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12824         <bp-checks.h>.
12825         (sigpending): Don't use CHECK_SIGSET.
12826         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12827         <bp-checks.h>.
12828         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12830         [BZ #13550]
12831         * sysdeps/generic/bp-semctl.h: Remove file.
12832         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12833         <bp-checks.h> and <bp-semctl.h>.
12834         (__old_semctl): Don't use CHECK_SEMCTL.
12835         (__new_semctl): Likewise.
12836         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12837         and <bp-semctl.h>.
12838         (__old_semctl): Don't use CHECK_SEMCTL.
12839         (__new_semctl): Likewise.
12840         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12841         <bp-checks.h> and <bp-semctl.h>.
12842         (__old_semctl): Don't use CHECK_SEMCTL.
12843         (__new_semctl): Likewise.
12844         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12845         <bp-checks.h> and <bp-semctl.h>.
12846         (semctl): Don't use CHECK_SEMCTL.
12848         [BZ #13550]
12849         * Makerules (elide-bp-thunks): Remove variable.
12850         (elide-routines.oS): Don't use $(elide-bp-thunks).
12851         (elide-routines.os): Likewise.
12852         (elide-routines.o): Likewise.
12853         (elide-routines.op): Likewise.
12854         (elide-routines.og): Likewise.
12855         (objects): Don't use $(bp-thunks).
12856         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12857         include.
12858         (common-generated): Do not add s-proto-bp.d.
12859         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12860         (int): Likewise.
12861         (typ): Likewise.
12862         Do not generate makefile rules for bounded-pointer thunks.
12863         * sysdeps/generic/bp-thunks.h: Remove file.
12864         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12865         * sysdeps/unix/s-proto-bp.S: Likewise.
12867         [BZ #15062]
12868         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12869         parts of result separately when argument is not close to line from
12870         -i to i and one part of argument is small.
12871         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12872         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12873         * math/libm-test.inc (cacos_test): Add more tests.
12874         (casin_test): Likewise.
12875         (casinh_test): Likewise.
12876         * sysdeps/i386/fpu/libm-test-ulps: Update.
12877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12879 2013-01-31  David S. Miller  <davem@davemloft.net>
12881         * po/de.po: Update from translation team.
12883 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12885         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12887 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12889         * configure.in (_AC_PROG_CC_C89): New definition.
12890         * configure: Regenerate.
12892         * configure.in (AC_PROG_CPP): New definition.
12893         * configure: Regenerate.
12895 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12897         * debug/tst-backtrace.h: New file.
12898         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12899         (ret): Remove variable.
12900         (x): Likewise.
12901         (FAIL): Remove macro.
12902         (NO_INLINE): Likewise.
12903         (fn1): Use match function instead of strstr.
12904         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12905         (ret): Remove variable.
12906         (x): Likewise.
12907         (FAIL): Remove macro.
12908         (NO_INLINE): Likewise.
12909         (fn): Use match function instead of strstr.
12910         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12911         (ret): Remove variable.
12912         (x): Likewise.
12913         (FAIL): Remove macro.
12914         (NO_INLINE): Likewise.
12915         (handle_signal): Use match function instead of strstr.
12916         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12917         (ret): Remove variable.
12918         (x): Likewise.
12919         (FAIL): Remove macro.
12920         (NO_INLINE): Likewise.
12921         (handle_signal): Use match function instead of strstr.
12923 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12925         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12927 2013-01-23  David S. Miller  <davem@davemloft.net>
12929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12930         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12931         argument of CAS if possible.
12932         * sysdeps/sparc/sparc64/bits/atomic.h
12933         (__arch_compare_and_exchange_val_32_acq): Likewise.
12934         (__arch_compare_and_exchange_val_64_acq): Likewise.
12936 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12938         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12939         * sysdeps/posix/ulimit.c: ... this.
12940         Include <limits.h>.
12941         * sysdeps/unix/bsd/ulimit.c: Remove file.
12943 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12945         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12946         (LDFLAGS-tst-array5): Likewise.
12948 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12950         [BZ #15036]
12951         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12952         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12953         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12954         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12956 2013-01-21  David S. Miller  <davem@davemloft.net>
12958         * sysdeps/sparc/backtrace.c: New file.
12959         * sysdeps/sparc/sparc32/backtrace.h: New file.
12960         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12961         * sysdeps/sparc/sparc64/backtrace.h: New file.
12962         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12963         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12964         -funwind-tables.
12966 2013-01-21  Andreas Schwab  <schwab@suse.de>
12968         [BZ #15020]
12969         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12970         closed its stdout.
12972 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12975         "mpa2.h".
12976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12978 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12979             Mark Mitchell  <mark@codesourcery.com>
12980             Tom de Vries  <tom@codesourcery.com>
12981             Paul Pluzhnikov  <ppluzhnikov@google.com>
12983         * debug/tst-backtrace2.c: New file.
12984         * debug/tst-backtrace3.c: Likewise.
12985         * debug/tst-backtrace4.c: Likewise.
12986         * debug/tst-backtrace5.c: Likewise.
12987         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12988         (CFLAGS-tst-backtrace3.c): Likewise.
12989         (CFLAGS-tst-backtrace4.c): Likewise.
12990         (CFLAGS-tst-backtrace5.c): Likewise.
12991         (LDFLAGS-tst-backtrace2): Likewise.
12992         (LDFLAGS-tst-backtrace3): Likewise.
12993         (LDFLAGS-tst-backtrace4): Likewise.
12994         (LDFLAGS-tst-backtrace5): Likewise.
12995         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12996         tst-backtrace4 and tst-backtrace5.
12998 2013-01-18  Anton Blanchard  <anton@samba.org>
12999             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13002         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13003         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13004         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13006         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13007         "+r" and remove output regs list as redundant.  Add explicit inline
13008         asm to specify register of return val to work around compiler codegen
13009         bug.  Remove (int) cast on return value.  Add return type parameter to
13010         use in macro so that this macro does not truncate return value for
13011         64-bit values.
13012         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13013         pass to INTERNAL_VSYSCALL_NCS.
13014         (INLINE_VSYSCALL): Add 'long int' as return type to
13015         INTERNAL_VSYSCALL_NCS macro invocation.
13016         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13017         INTERNAL_VSYSCALL_NCS macro invocation.
13018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13020 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13022         [BZ #14496]
13023         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13024         Fix application of SIMD FP exception mask.
13026         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13027         mp_no from a power of two.
13028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13029         __mpexp_twomm1.  Use __pow_mp.
13031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13032         multiplication.
13034 2013-01-17  David S. Miller  <davem@davemloft.net>
13036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13038 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13040         [BZ #15023]
13041         * include/complex.h: Condition contents on [!_COMPLEX_H].
13042         (__kernel_casinhf): New prototype.
13043         (__kernel_casinh): Likewise.
13044         (__kernel_casinhl): Likewise.
13045         * math/Makefile (libm_calls): Add k_casinh.
13046         * math/k_casinh.c: New file.
13047         * math/k_casinhf.c: Likewise.
13048         * math/k_casinhl.c: Likewise.
13049         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13050         finite nonzero arguments.
13051         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13052         finite nonzero arguments.
13053         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13054         finite nonzero arguments.
13055         * math/s_casinh.c: Do not include <float.h>.
13056         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13057         * math/s_casinhf.c: Do not include <float.h>.
13058         (__casinhf): Move code for finite nonzero arguments to
13059         k_casinhf.c.
13060         * math/s_casinhl.c: Do not include <float.h>.
13061         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13062         redefine.
13063         (__casinhl): Move code for finite nonzero arguments to
13064         k_casinhl.c.
13065         * math/libm-test.inc (cacos_test): Add more tests.
13066         * sysdeps/i386/fpu/libm-test-ulps: Update.
13067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13069 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13071         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13072         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13073         [!HAVE_MREMAP]: Remove [defined linux] case.
13074         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13076 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13078         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13080 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13082         * elf/elf.h (R_386_SIZE32): New relocation.
13083         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13084         R_386_SIZE32.
13085         (elf_machine_rela): Likewise.
13086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13087         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13089 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13091         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13092         (FP_FAST_FMA): Do not define.
13093         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13094         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13095         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13096         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13097         !_SOFT_FLOAT]: Likewise.
13098         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13099         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13100         value.
13101         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13102         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13105         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13106         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13107         file.
13109 2013-01-16  Andreas Schwab  <schwab@suse.de>
13111         [BZ #14327]
13112         * include/stdlib.h (__mktemp): Add declaration.
13113         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13114         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13116 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13118         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13119         definitions.
13120         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13121         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13122         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13123         definitions here.
13124         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13125         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13126         definitions.
13127         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13128         and ONE.
13129         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13130         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13131         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13132         definitions.
13133         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13134         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13135         definitions.
13136         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13138         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13140 2013-01-15  David S. Miller  <davem@davemloft.net>
13142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13143         trunc{,f} to libm-sysdep_routes.
13144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13146         file.
13147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13149         file.
13150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13151         file.
13152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13155         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13157         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13158         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13159         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13162         nearbyint{,f} to libm-sysdep_routes.
13163         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13165         New file.
13166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13167         file.
13168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13169         New file.
13170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13171         file.
13172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13174         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13175         file.
13176         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13178         file.
13179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13180         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13181         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13183         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13184         libc_feholdexcept and libc_fesetenv.
13186 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13188         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13190 2013-01-14  David S. Miller  <davem@davemloft.net>
13192         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13193         (SPARC_ASM_VIS2_IFUNC): Likewise.
13194         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13196         use of 'siam' instruction.
13197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13198         Likewise.
13199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13200         Likewise.
13201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13202         Likewise.
13203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13208         file.
13209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13210         file.
13211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13212         file.
13213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13214         file.
13215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13220         new VIS2 routines.
13221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13224         Likewise.
13225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13230         routines to libm-sysdep_routines.
13231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13234         fdim/fdimf to libm-sysdep_routines.
13235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13236         file.
13237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13239         file.
13240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13243         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13244         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13245         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13246         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13248 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13250         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13251         to optimize copies.
13253         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13258         local variable MPTWO.
13259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13260         Likewise.
13262 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13264         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13265         GLOB_NOESCAPE.
13267 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13269         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13271 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13273         * manual/pattern.texi (glob_t): Document gl_flags.
13274         (glob64_t): Likewise.
13276 2013-01-11  David S. Miller  <davem@davemloft.net>
13278         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13279         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13280         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13281         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13282         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13283         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13284         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13285         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13286         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13287         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13288         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13289         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13290         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13292         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13293         sparc V9 rather than using V8 code.
13294         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13295         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13297         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13298         Move to...
13299         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13300         Here.
13302 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13304         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13305         not in the main loop.
13306         * configure: Regenerated.
13308 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13310         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13311         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13312         to just #else.
13313         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13314         [!__GLIBC_HAVE_LONG_LONG] case.
13315         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13316         condition to just #else.
13317         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13318         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13319         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13320         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13321         unconditional.
13322         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13323         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13324         #elif condition to just #else.
13325         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13326         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13327         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13328         #elif condition to just #else.
13330 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13332         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13333         (EF_MIPS_ARCH_64): Fix value.
13334         (EF_MIPS_ARCH_32R2): New.
13335         (EF_MIPS_ARCH_64R2): New.
13337 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13339         * Makeconfig (+link-pie-before-libc): New.
13340         (+link-pie-after-libc): Likewise.
13341         (+link-pie-tests): Likewise.
13342         (+link-pie): Rewritten.
13343         (link-before-libc): Remove $(config-LDFLAGS).
13344         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13345         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13346         (config-LDFLAGS): Renamed to ...
13347         (rtld-LDFLAGS): This.
13348         (rtld-tests-LDFLAGS): New macro.
13349         (link-libc-rpath-link): Likewise.
13350         (link-libc-tests-rpath-link): Likewise.
13351         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13352         (link-libc): Prepand $(link-libc-rpath-link).
13353         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13354         (test-program-prefix): New macro.
13355         (test-via-rtld-prefix): Likewise.
13356         (test-program-cmd): Likewise.
13357         (host-test-program-cmd): Likewise.
13358         * Makefile ($(common-objpfx)testrun.sh): Replace
13359         $(run-program-prefix) with $(test-program-prefix).
13360         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13361         $(rtld-LDFLAGS).
13362         ($(common-objpfx)shlib.lds): Likewise.
13363         (build-module-helper): Likewise.
13364         ($(common-objpfx)format.lds): Likewise.
13365         * Rules (binaries-pie-tests): New.
13366         (binaries-pie-notests): Likewise.
13367         (binaries-pie): Rewritten.
13368         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13369         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13370         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13371         (make-test-out): Replace $(host-built-program-cmd) with
13372         $(host-test-program-cmd).
13373         * config.make.in (build-hardcoded-path-in-tests): New variable.
13374         * configure.in (--enable-hardcoded-path-in-tests): New configure
13375         option.
13376         (hardcoded_path_in_tests): New AC_SUBST.
13377         * configure: Regenerated.
13378         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13379         $(built-program-cmd) with $(test-program-cmd).
13380         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13381         (test_program_cmd): This.
13382         * elf/Makefile ($(objpfx)order.out): Run test with
13383         $(test-program-prefix).
13384         ($(objpfx)order2.out): Likewise.
13385         ($(objpfx)tst-initorder.out): Likewise.
13386         ($(objpfx)tst-initorder2.out): Likewise.
13387         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13388         $(test-program-cmd).
13389         ($(objpfx)tst-array1-static.out): Likewise.
13390         ($(objpfx)tst-array2.out): Likewise.
13391         ($(objpfx)tst-array3.out): Likewise.
13392         ($(objpfx)tst-array4.out): Likewise.
13393         ($(objpfx)tst-array5.out): Likewise.
13394         ($(objpfx)tst-array5-static.out): Likewise.
13395         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13396         $(test-program-cmd).
13397         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13398         $(run-program-prefix) with $(test-program-prefix).
13399         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13400         (test_program_prefix): This.
13401         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13402         $(run-program-prefix) with $(test-program-prefix).
13403         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13404         (test_program_prefix): This.
13405         * iconvdata/tst-tables.sh: Likewise.
13406         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13407         $(run-program-prefix) with $(test-program-prefix).
13408         ($(objpfx)tst-translit.out): Likewise.
13409         ($(objpfx)tst-gettext2.out): Likewise.
13410         ($(objpfx)tst-gettext4.out): Likewise.
13411         ($(objpfx)tst-gettext6.out): Likewise.
13412         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13413         (test_program_prefix): This.
13414         * intl/tst-gettext2.sh: Likewise.
13415         * intl/tst-gettext4.sh  Likewise.
13416         * intl/tst-gettext6.sh: Likewise.
13417         * intl/tst-translit.sh: Likewise.
13418         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13419         with $(test-program-cmd).
13420         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13421         $(run-program-prefix) with $(test-program-prefix).
13422         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13423         (test_program_prefix): This.
13424         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13425         $(run-program-prefix) with $(test-program-prefix).
13426         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13427         (test_program_prefix): This.
13428         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13429         * posix/Makefile ($(objpfx)globtest.out): Replace
13430         $(run-via-rtld-prefix) and $(test-wrapper) with
13431         $(test-program-prefix) and $(test-via-rtld-prefix).
13432         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13433         $(test-program-prefix).
13434         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13435         $(host-test-program-cmd).
13436         (tst-spawn-ARGS): Likewise.
13437         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13438         $(test-program-prefix).
13439         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13440         (test_via_rtld_prefix): This.
13441         (test_wrapper): Renamed to ...
13442         (test_program_prefix): This.
13443         (run_program_prefix): Replaced by test_program_prefix.
13444         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13445         (test_program_prefix): This.
13446         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13447         with $(host-test-program-cmd).
13448         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13449         $(run-program-prefix) with $(test-program-prefix).
13450         ($(objpfx)tst-printf.out): Likewise.
13451         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13452         $(test-program-cmd).
13453         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13454         (test_program_prefix): This.
13455         * stdio-common/tst-unbputc.sh: Likewise.
13456         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13457         $(run-program-prefix) with $(test-program-prefix).
13458         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13459         (test_program_prefix): This.
13460         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13461         $(built-program-cmd) with $(test-program-cmd).
13463 2013-01-11  Andreas Jaeger  <aj@suse.de>
13465         [BZ #15003]
13466         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13467         value. Sync with Linux 3.7.
13469 2013-01-10  David S. Miller  <davem@davemloft.net>
13471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13472         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13473         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13475 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13477         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13478         never set.
13479         * configure: Regenerated.
13481 2013-01-10  David S. Miller  <davem@davemloft.net>
13483         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13484         sparc V9 rather than using V8 code.
13485         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13486         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13488 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13490         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13491         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13492         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13493         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13494         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13495         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13496         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13497         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13498         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13499         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13500         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13501         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13502         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13503         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13504         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13505         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13506         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13507         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13508         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13509         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13510         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13511         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13512         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13513         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13514         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13515         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13516         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13518 2013-01-10  David S. Miller  <davem@davemloft.net>
13520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13522 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13524         * posix/Makefile (tests-static): New variable.
13525         (tests): Add $(tests-static).
13526         (tst-exec-static-ARGS): New variable.
13527         (tst-spawn-static-ARGS): Likewise.
13528         * posix/tst-exec-static.c: New file.
13529         * posix/tst-spawn-static.c: Likewise.
13530         * posix/tst-exec.c: Support run directly.
13531         * posix/tst-spawn.c: Likewise.
13533 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13535         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13536         long.
13537         * math/bits/mathcalls.h (llrint): Likewise.
13538         (llround): Likewise.
13539         * stdlib/stdlib.h (struct drand48_data): Likewise.
13540         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13541         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13542         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13543         Likewise.
13544         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13545         Likewise.
13546         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13547         (elf_greg_t): Likewise.
13548         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13549         (__jmp_buf): Likewise.
13550         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13551         definitions.
13552         (llrint): Likewise, for all definitions.
13553         (llrintl): Likewise.
13555         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13556         Remove [__GNUC__] condition.
13557         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13558         condition to just [__USE_ISOC99].
13559         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13561 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13563         [BZ #14200]
13564         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13565         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13566         defined.
13567         (_POSIX_V6_ILP32_OFF32): Likewise.
13568         (_XBS5_ILP32_OFF32): Likewise.
13569         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13570         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13572 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13574         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13577         doubles __mpexp_twomm1.  Adjust usage.
13578         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13579         Remove.
13581 2013-01-10  Andreas Schwab  <schwab@suse.de>
13583         [BZ #14964]
13584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13585         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13587 2013-01-09  David S. Miller  <davem@davemloft.net>
13589         [BZ #15003]
13590         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13591         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13592         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13593         TCP_FASTOPEN): Define.
13594         (tcp_repair_opt): New structure.
13595         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13596         enum values.
13597         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13598         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13599         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13600         (tcp_cookie_transactions): New structure.
13602 2013-01-09  Anton Blanchard  <anton@samba.org>
13604         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13609 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13611         * include/features.h (__USE_ANSI): Remove.
13613 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13615         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13617         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13619 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13621         * sysdeps/s390/fpu/libm-test-ulps: Update.
13623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13625         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13626         (__acr): Likewise.
13627         (__cpy): Likewise.
13628         (norm): Likewise.
13629         (denorm): Likewise.
13630         (__mp_dbl): Likewise.
13631         (__dbl_mp): Likewise.
13632         (add_magnitudes): Likewise.
13633         (sub_magnitudes): Likewise.
13634         (__add): Likewise.
13635         (__sub): Likewise.
13636         (__mul): Likewise.
13637         (__inv): Likewise.
13638         (__dvd): Likewise.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13640         (__acr): Likewise.
13641         (__cpy): Likewise.
13642         (norm): Likewise.
13643         (denorm): Likewise.
13644         (__mp_dbl): Likewise.
13645         (__dbl_mp): Likewise.
13646         (add_magnitudes): Likewise.
13647         (sub_magnitudes): Likewise.
13648         (__add): Likewise.
13649         (__sub): Likewise.
13650         (__mul): Likewise.
13651         (__inv): Likewise.
13652         (__dvd): Likewise.
13653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13654         (__acr): Likewise.
13655         (__cpy): Likewise.
13656         (norm): Likewise.
13657         (denorm): Likewise.
13658         (__mp_dbl): Likewise.
13659         (__dbl_mp): Likewise.
13660         (add_magnitudes): Likewise.
13661         (sub_magnitudes): Likewise.
13662         (__add): Likewise.
13663         (__sub): Likewise.
13664         (__mul): Likewise.
13665         (__inv): Likewise.
13666         (__dvd): Likewise.
13668 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13670         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13671         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13672         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13673         2 && __USE_EXTERN_INLINES]: Likewise.
13675 2013-01-08  Andreas Jaeger  <aj@suse.de>
13677         [BZ# 14985]
13678         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13679         Remove.
13680         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13681         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13683 2013-01-07  Anton Blanchard  <anton@samba.org>
13685         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13687         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13688         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13689         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13690         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13691         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13692         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13694         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13696         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13698         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13699         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13701         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13703         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13706         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13708         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13709         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13711         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13712         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13714         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13715         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13717         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13718         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13719         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13720         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13721         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13723         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13725         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13727         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13729 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13731         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13732         (__MALLOC_PMT): Likewise.
13733         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13734         [__GNUC__], only on [_LIBC].
13735         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13736         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13737         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13738         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13739         forward declaration.
13740         (realloc_hook_ini): Likewise.
13741         (memalign_hook_ini): Likewise.
13742         (__libc_memalign): Do not use __MALLOC_PMT in variable
13743         declaration.
13744         (__libc_valloc): Likewise.
13745         (__libc_pvalloc): Likewise.
13746         (__libc_calloc): Likewise.
13747         (__posix_memalign): Likewise.
13749         [BZ #14996]
13750         * math/s_casinh.c: Include <float.h>.
13751         (__casinh): Do not do computation with squaring and square root
13752         for large arguments.
13753         * math/s_casinhf.c: Include <float.h>.
13754         (__casinhf): Do not do computation with squaring and square root
13755         for large arguments.
13756         * math/s_casinhl.c: Include <float.h>.
13757         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13758         (__casinhl): Do not do computation with squaring and square root
13759         for large arguments.
13760         * math/libm-test.inc (casin_test): Add more tests.
13761         (casinh_test): Likewise.
13762         * sysdeps/i386/fpu/libm-test-ulps: Update.
13763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13765 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13768         (__x86_64_raw_data_cache_size): Likewise.
13769         (__x86_64_data_cache_size_half): Likewise.
13770         (__x86_64_raw_data_cache_size_half): Likewise.
13771         (__x86_64_shared_cache_size): Likewise.
13772         (__x86_64_raw_shared_cache_size): Likewise.
13773         (__x86_64_shared_cache_size_half): Likewise.
13774         (__x86_64_raw_shared_cache_size_half): Likewise.
13775         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13776         to ...
13777         (__x86_data_cache_size): This.
13778         (__x86_64_raw_data_cache_size): Renamed to ...
13779         (__x86_raw_data_cache_size): This.
13780         (__x86_64_data_cache_size_half): Renamed to ...
13781         (__x86_data_cache_size_half): This.
13782         (__x86_64_raw_data_cache_size_half): Renamed to ...
13783         (__x86_raw_data_cache_size_half): This.
13784         (__x86_64_shared_cache_size): Renamed to ...
13785         (__x86_shared_cache_size): This.
13786         (__x86_64_raw_shared_cache_size): Renamed to ...
13787         (__x86_raw_shared_cache_size): This.
13788         (__x86_64_shared_cache_size_half): Renamed to ...
13789         (__x86_shared_cache_size_half): This.
13790         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13791         (__x86_raw_shared_cache_size_half): This.
13792         * sysdeps/x86_64/memcpy.S: Updated.
13793         * sysdeps/x86_64/memset.S: Likewise.
13794         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13798 2013-01-04  David S. Miller  <davem@davemloft.net>
13800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13802 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13804         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13805         1 to avoid redefinition warning.
13806         (__USE_GNU): Don't define.
13807         (init_signaling_nan): Protoize.
13809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13811 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13813         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13815         (__cpymn): Likewise.
13816         (norm): Remove commented code.
13817         (denorm): Likewise.
13818         (__mp_dbl): Likewise.
13819         (__inv): Likewise.
13820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13821         (__cpymn): Likewise.
13822         (norm): Remove commented code.
13823         (denorm): Likewise.
13824         (__mp_dbl): Likewise.
13825         (__inv): Likewise.
13827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13828         mp_no value for 1.0 and 2.0.
13829         (norm): Use RADIXI instead of radixi.d.
13830         (denorm): Likewise.
13831         (__mul): Use 0.0 instead of zero.d.
13832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13833         mp_no value for 1.0 and 2.0.
13834         (norm): Use RADIXI instead of radixi.d.
13835         (denorm): Likewise.
13836         (__mul): Use 0.0 instead of zero.d.
13838 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13840         [BZ #14994]
13841         * math/s_casinh.c (__casinh): Reduce finite argument to first
13842         quadrant then set signs of results at the end.
13843         * math/s_casinhf.c (__casinhf): Likewise.
13844         * math/s_casinhl.c (__casinhl): Likewise.
13845         * math/libm-test.inc (casin_test): Add more tests.
13846         (casinh_test): Likewise.
13847         * sysdeps/i386/fpu/libm-test-ulps: Update.
13848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13850 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13852         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13854         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13856         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13857         declarations.
13858         (denorm): Likewise.
13859         (__mp_dbl): Likewise.
13860         (__inv): Likewise.
13862         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13863         and adjust the header comment.
13865         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13866         variable name from declaration.
13868 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13871         Initialize COMMON_CPUID_INDEX_7 element.
13872         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13873         (CPUID_RTM): Likewise.
13874         (HAS_RTM): Likewise.
13875         (COMMON_CPUID_INDEX_7): New enum.
13877 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13879         [BZ #14981]
13880         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13881         size is zero, record memory as freed.
13883 2013-01-03  Andreas Jaeger  <aj@suse.de>
13885         * po/ia.po: Add new Interlingua translation.
13887 2012-01-03  Allan McRae  <allan@archlinux.org>
13889         * locale/programs/localedef.c: Fix description of '--posix' flag.
13891 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13893         * NEWS: Update dates in second copyright notice.
13894         * README: Update copyright dates in example.
13895         * manual/libc.texinfo: Update copyright dates.
13896         * scripts/test-installation.pl: Update copyright date in --version
13897         output.
13899         * hurd/ctty-input.c: Fix copyright notice formatting.
13900         * hurd/ctty-output.c: Likewise.
13901         * hurd/dtable.c: Likewise.
13902         * hurd/hurd-raise.c: Likewise.
13903         * hurd/hurdprio.c: Likewise.
13904         * hurd/msgportdemux.c: Likewise.
13905         * misc/sys/file.h: Likewise.
13906         * misc/sys/ioctl.h: Likewise.
13907         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13908         * sysdeps/mach/hurd/chdir.c: Likewise.
13909         * sysdeps/mach/hurd/fchdir.c: Likewise.
13910         * sysdeps/mach/hurd/rename.c: Likewise.
13911         * sysdeps/mach/hurd/rmdir.c: Likewise.
13912         * sysdeps/mach/hurd/seekdir.c: Likewise.
13913         * sysdeps/mach/hurd/setsid.c: Likewise.
13914         * sysdeps/posix/wait3.c: Likewise.
13916         * All files with FSF copyright notices: Update copyright dates
13917         using scripts/update-copyrights.
13918         * intl/plural.c: Regenerated.
13919         * locale/programs/charmap-kw.h: Likewise.
13920         * locale/programs/locfile-kw.h: Likewise.
13922 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13924         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13925         four values.
13927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13928         calculation loop and add branch prediction.
13930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13931         check access beyond bounds of m1np.
13933         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13934         MPTWO.
13935         (__inv): Remove local variable MPTWO to use the global
13936         constant.
13937         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13939         variable MPTWO.
13940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13941         MP3HALFS static const.
13943 2013-01-01  David S. Miller  <davem@davemloft.net>
13945         * po/ca.po: Update from translation team.
13947 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13949         * scripts/update-copyrights: New file.
13950         * Makeconfig: Reformat copyright notice.
13951         * ctype/ctype.h: Likewise.
13952         * debug/swprintf_chk.c: Likewise.
13953         * elf/dl-cache.c: Likewise.
13954         * elf/dl-debug.c: Likewise.
13955         * elf/dl-object.c: Likewise.
13956         * grp/initgroups.c: Likewise.
13957         * hurd/Makefile: Likewise.
13958         * hurd/hurd/signal.h: Likewise.
13959         * hurd/hurdfault.c: Likewise.
13960         * hurd/hurdioctl.c: Likewise.
13961         * hurd/hurdlookup.c: Likewise.
13962         * hurd/intr-msg.c: Likewise.
13963         * iconv/gconv_open.c: Likewise.
13964         * libio/swprintf.c: Likewise.
13965         * locale/lc-ctype.c: Likewise.
13966         * locale/nl_langinfo.c: Likewise.
13967         * mach/Machrules: Likewise.
13968         * mach/Makefile: Likewise.
13969         * malloc/obstack.h: Likewise.
13970         * manual/Makefile: Likewise.
13971         * manual/tsort.awk: Likewise.
13972         * misc/bits/stab.def: Likewise.
13973         * nis/nis_print_group_entry.c: Likewise.
13974         * nis/nis_table.c: Likewise.
13975         * nis/nss_compat/compat-pwd.c: Likewise.
13976         * nis/nss_compat/compat-spwd.c: Likewise.
13977         * po/Makefile: Likewise.
13978         * posix/fnmatch.c: Likewise.
13979         * posix/regex.h: Likewise.
13980         * resolv/Makefile: Likewise.
13981         * resolv/nss_dns/dns-network.c: Likewise.
13982         * resolv/res_hconf.c: Likewise.
13983         * scripts/gen-sorted.awk: Likewise.
13984         * soft-fp/soft-fp.h: Likewise.
13985         * stdio-common/printf.h: Likewise.
13986         * stdlib/monetary.h: Likewise.
13987         * stdlib/random.c: Likewise.
13988         * stdlib/random_r.c: Likewise.
13989         * sysdeps/generic/Makefile: Likewise.
13990         * sysdeps/gnu/Makefile: Likewise.
13991         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14003         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14004         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14005         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14006         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14007         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14008         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14009         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14011         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14012         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14013         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14019         * sysdeps/mach/hurd/errnos.awk: Likewise.
14020         * sysdeps/mach/hurd/fork.c: Likewise.
14021         * sysdeps/mach/hurd/getcwd.c: Likewise.
14022         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14023         * sysdeps/mach/hurd/mmap.c: Likewise.
14024         * sysdeps/mach/hurd/utimes.c: Likewise.
14025         * sysdeps/mach/hurd/xmknod.c: Likewise.
14026         * sysdeps/posix/profil.c: Likewise.
14027         * sysdeps/posix/readdir_r.c: Likewise.
14028         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14029         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14030         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14031         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14033         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14034         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14035         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14037         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14038         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14039         * sysdeps/pthread/lio_listio.c: Likewise.
14040         * sysdeps/sparc/dl-procinfo.h: Likewise.
14041         * sysdeps/unix/i386/sysdep.S: Likewise.
14042         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14043         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14044         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14045         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14047         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14048         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14049         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14050         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14051         * sysdeps/wordsize-32/divdi3.c: Likewise.
14052         * time/sys/time.h: Likewise.
14053         * wcsmbs/Makefile: Likewise.
14055 2013-01-01  David S. Miller  <davem@davemloft.net>
14057         * po/fr.po: Update from translation team.
14059         * catgets/gencat.c: Update copyright year.
14060         * csu/version.c: Likewise.
14061         * debug/catchsegv.sh: Likewise.
14062         * debug/pcprofiledump.c: Likewise.
14063         * debug/xtrace.sh: Likewise.
14064         * elf/ldconfig.c: Likewise.
14065         * elf/ldd.bash.in: Likewise.
14066         * elf/pldd.c: Likewise.
14067         * elf/sotruss.ksh: Likewise.
14068         * elf/sprof.c: Likewise.
14069         * iconv/iconv_prog.c: Likewise.
14070         * iconv/iconvconfig.c: Likewise.
14071         * locale/programs/locale.c: Likewise.
14072         * locale/programs/localedef.c: Likewise.
14073         * login/programs/pt_chown.c: Likewise.
14074         * malloc/memusage.sh: Likewise.
14075         * malloc/memusagestat.c: Likewise.
14076         * malloc/mtrace.pl: Likewise.
14077         * nscd/nscd.c: Likewise.
14078         * nss/getent.c: Likewise.
14079         * nss/makedb.c: Likewise.
14080         * posix/getconf.c: Likewise.
14082 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14084         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14085         numbers.
14087 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14089         * math/bits/mathcalls.h (modf): Use __nonnull.
14091 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14093         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14094         (split): Use macro CN instead of the bare value.
14095         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14096         could be used.
14097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14098         instead of the bare value.
14099         (power1): Likewise.
14101 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14104         __ATAN_TWOM.
14105         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14107         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14108         their values.
14109         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14110         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14111         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14112         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14114 2012-12-28  Andreas Jaeger  <aj@suse.de>
14116         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14117         values are from Linux 3.7.
14119         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14120         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14122 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14124         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14125         TRUE case.
14127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14128         (norm): Likewise.
14129         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14130         variables with preprocessor constants.
14131         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14132         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14133         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14135 2012-12-27  Bruno Haible  <bruno@clisp.org>
14137         [BZ #14317]
14138         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14139         only if needed.
14141 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14144         and use variable directly.
14145         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14148         MPONE.
14149         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14150         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14151         variable MPONE.
14152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14154         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14155         include directive.  Remove local variable MPONE.
14156         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14160 2012-12-25  David S. Miller  <davem@davemloft.net>
14162         * version.h (RELEASE): Set to "development".
14163         (VERSION): Set to "2.17.90".
14164         * NEWS: Add 2.18 section.
14166 2012-12-21  David S. Miller  <davem@davemloft.net>
14168         * po/hr.po: Update from translation team.
14170 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14172         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14174 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14176         * NEWS:  Mention new memcpy for MIPS.
14178 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14180         * manual/contrib.texi (Contributors): Spelling correction.
14182 2012-12-15  David S. Miller  <davem@davemloft.net>
14184         * po/ru.po: Update from translation team.
14186 2012-12-13  David S. Miller  <davem@davemloft.net>
14188         * NEWS: Mention IFUNC testsuite enhancements.
14190         * po/pl.po: Update from translation team.
14191         * po/bg.po: Likewise.
14193         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14194         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14196 2012-12-11  David S. Miller  <davem@davemloft.net>
14198         * po/sv.po: Update from translation team.
14200         * po/vi.po: Update from translation team.
14202         * po/cs.po: Update from translation team.
14204         * po/de.po: Update from translation team.
14205         * po/eo.po: Likewise.
14206         * po/nl.po: Likewise.
14208 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14210         [BZ #14246]
14211         * manual/argp.texi (Argp Helper Functions): Move node to follow
14212         Argp Parsing State.
14214         [BZ #14872]
14215         * manual/conf.texi (Limits on File System Capacity): Mention if
14216         terminating null is included in the max size.
14218 2012-12-10  Andreas Jaeger  <aj@suse.de>
14220         * po/cs.po: Update from translation team.
14222 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14224         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14225         void pointer and cast to uintptr_t.
14226         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14227         path.
14228         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14229         * sysdeps/s390/s390-64/memset.S: Likewise.
14231 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14233         [BZ #14833]
14234         * menual/message.texi (Message Translation): Fix typos.
14235         (Helper programs for gettext): Likewise.
14237 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14239         [BZ #14898]
14240         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14241         Change to -1.
14243 2012-12-07  David S. Miller  <davem@davemloft.net>
14245         * po/libc.pot: Update.
14247 2012-12-07  Richard Henderson  <rth@redhat.com>
14249         [BZ #10114]
14250         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14251         normal/normal case to before the switch.
14252         (_FP_DIV): Likewise.
14254 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14255             Mike Frysinger  <vapier@gentoo.org>
14257         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14258         check for __NR_fadvise64_64.
14260 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14262         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14263         0, not just to plain "0" as a statement.
14264         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14265         with cw.
14267 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14269         * NEWS: Use sourceware.org in Bugzilla URL.
14271 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14274         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14276         * stdio-common/tst-put-error.c (do_test): Add newline to the
14277         padded test to ensure flush.
14279 2012-12-05  Jeff Law  <law@redhat.com>
14281         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14283 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14285         * README: Don't refer to ports add-on as distributed separately.
14286         Mention AArch64 in list of systems supported in the ports add-on.
14288         * LICENSES: Add more non-FSF copyright and license notices.
14290         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14291         ((unused)).
14293         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14295         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14296         10000 as width of padded output.
14298 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14300         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14302         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14303         variable LX with __attribute__ ((unused)).
14304         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14305         Likewise.
14306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14309         with __attribute__ ((unused)).
14311 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14313         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14315 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14317         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14318         (CFLAGS-nldbl-acos.c): New variable.
14319         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14320         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14321         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14322         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14323         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14324         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14325         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14326         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14327         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14328         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14329         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14330         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14331         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14332         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14333         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14334         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14335         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14336         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14337         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14338         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14339         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14340         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14341         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14342         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14343         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14344         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14345         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14346         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14347         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14348         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14349         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14350         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14351         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14352         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14353         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14354         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14355         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14356         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14357         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14358         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14359         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14360         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14361         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14362         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14363         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14364         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14365         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14366         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14367         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14368         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14369         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14370         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14371         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14372         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14373         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14374         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14375         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14376         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14377         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14378         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14379         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14380         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14381         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14382         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14383         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14384         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14385         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14386         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14387         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14388         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14389         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14390         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14391         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14392         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14393         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14394         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14395         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14396         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14397         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14398         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14399         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14400         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14401         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14402         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14403         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14404         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14405         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14406         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14407         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14408         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14409         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14410         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14411         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14412         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14413         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14414         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14415         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14418         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14420         [BZ #14914]
14421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14422         whole low double instead of just low 47 bits when splitting values
14423         into two parts.
14425 2012-12-03  Allan McRae  <allan@archlinux.org>
14427         * manual/stdio.texi (Predefined Printf Handlers): Remove
14428         @hsep and @vsep usage.
14430 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14432         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14433         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14435 2012-12-03  Jeff Law  <law@redhat.com>
14437         * time/sys/time.h (settimeofday): Do not mark TV argument
14438         as __nonnull.
14440 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14442         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14443         when currently writing and seek to current position when not.
14444         * libio/Makefile (tests): Remove bug-fclose1.
14445         * libio/bug-fclose1.c: Delete.
14447 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14449         * manual/arith.texi (feenableexcept): Fix typo.
14450         (fedisableexcept): Likewise.
14452 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14454         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14455         second, differently-typed declaration, rather than a cast.
14457 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14459         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14460         * include/rpc/svc.h: ... here.
14462 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14464         [BZ #13013]
14465         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14466         depending n and resplen2 to catch cases where answer
14467         equals answerp2.
14469 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14471         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14472         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14474 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14478 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14480         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14482 2012-11-28  Jeff Law  <law@redhat.com>
14484         [BZ #13761]
14485         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14486         dataset_temporary.  Track alloca usage into alloca_used.
14487         If dataset is large allocate and release it via malloc/free.
14489 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14491         [BZ #14197]
14492         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14494 2012-11-28  David S. Miller  <davem@davemloft.net>
14496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14498 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14500         [BZ #14803]
14501         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14502         of pi/2 rounded to nearest to 64 bits.
14503         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14504         nearest to 64 bits.
14505         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14506         bits.
14508 2012-11-28  Jeff Law <law@redhat.com>
14509             Martin Osvald <mosvald@redhat.com>
14511         [BZ #14889]
14512         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14513         * sunrpc/svc.c: Include time.h.
14514         (__svc_accept_failed): New function.
14515         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14516         any reason other than EINTR, call __svc_accept_failed.
14517         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14518         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14520 2012-11-28  Andreas Schwab  <schwab@suse.de>
14522         * scripts/abilist.awk: Also handle indirect functions in .opd
14523         section.
14525 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14527         [BZ #13881]
14528         * sysdeps/x86/fpu/powl_helper.c: New file.
14529         * sysdeps/x86/fpu/Makefile: Likewise.
14530         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14531         (p3): New object.
14532         (__ieee754_powl): Use __powl_helper for finite arguments except
14533         integer exponents below 8.
14534         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14535         (p3): New object.
14536         (__ieee754_powl): Use __powl_helper for finite arguments except
14537         integer exponents below 8.
14538         * math/libm-test.inc (pow_test): Add more tests and enable some
14539         previously disabled tests.
14540         * sysdeps/i386/fpu/libm-test-ulps: Update.
14541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14544             Carlos O'Donell  <carlos_odonell@mentor.com>
14546         * nss/makedb.c (is_prime): Assert that input is odd and greater
14547         than 4.  Note that fact in a comment too.
14548         (next_prime): Add 4 to input.
14550 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14552         [BZ #11741]
14553         * libio/Makefile (tests): Add test case tst-fwrite-error.
14554         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14555         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14556         * libio/tst-fwrite-error.c: New test case.
14558 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14560         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14561         before casting to void *.
14562         * include/libc-internal.h (__pointer_type): New macro.
14563         (__integer_if_pointer_type_sub): Likewise.
14564         (__integer_if_pointer_type): Likewise.
14565         (cast_to_integer): Likewise.
14566         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14567         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14568         before casting to atomic64_t.
14569         (atomic_exchange_acq): Likewise.
14570         (__arch_exchange_and_add_body): Likewise.
14571         (__arch_add_body): Likewise.
14572         (atomic_add_negative): Likewise.
14573         (atomic_add_zero): Likewise.
14575 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14577         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14578         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14579         (add_fdes): Likewise.
14580         (linear_search_fdes): Likewise.
14581         (binary_search_unencoded_fdes): Likewise.
14583 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14585         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14587 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14589         * configure.in: Autodetect C++ header directories.
14590         * configure: Regenerated.
14592 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14594         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14596 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14600 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14602         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14603         LDBL_MANT_DIG == 106]: Disable some tests.
14604         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14605         Likewise.
14606         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14607         Likewise.
14609         [BZ #14871]
14610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14611         input for small inputs.  Return +/- pi/2 for large inputs.
14612         * math/libm-test.inc (atan_test): Add more tests.
14614         * sysdeps/generic/unwind-dw2-fde-glibc.c
14615         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14616         __attribute__ ((unused)).
14618         [BZ #14645]
14619         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14620         x * y if x and y are nonzero and z is zero.
14622         [BZ #14811]
14623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14624         nonzero exponents with absolute value below 0x1p-117 to +/-
14625         0x1p-117.
14627         [BZ #14869]
14628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14629         up arguments below 2**-450, not just those below 2**-500.
14630         * math/libm-test.inc (hypot_test): Add another test.
14632         [BZ #14868]
14633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14634         Return a+b for ratio over 2**120, not 2**60.
14635         * math/libm-test.inc (hypot_test): Add another test.
14637         * math/libm-test.inc (clog_test): Use
14638         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14639         (clog10_test): Likewise.
14641         [BZ #6778]
14642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14644 2012-11-22  Andreas Schwab  <schwab@suse.de>
14646         * sysdeps/i386/fpu/libm-test-ulps: Update.
14648 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14650         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14651         printf output with newline.
14653 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14655         [BZ #14865]
14656         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14657         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14658         -z nodlopen, -z initfirst and -z execstack support.
14659         * configure: Regenerated.
14661         * elf/elf.h (DF_1_NODIRECT): New macro.
14662         (DF_1_IGNMULDEF): Likewise.
14663         (DF_1_NOKSYMS): Likewise.
14664         (DF_1_NOHDR): Likewise.
14665         (DF_1_EDITED): Likewise.
14666         (DF_1_NORELOC): Likewise.
14667         (DF_1_SYMINTPOSE): Likewise.
14668         (DF_1_GLOBAUDIT): Likewise.
14669         (DF_1_SINGLETON): Likewise.
14670         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14671         DT_1_SUPPORTED_MASK bits.
14672         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14674 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14676         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14678 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14680         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14681         macro.
14683         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14684         (sendmmsg): Move declarations...
14685         * socket/sys/socket.h: ... here.
14686         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14687         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14688         include it from...
14689         * socket/recvmmsg.c: ... this new file.
14690         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14691         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14692         definition of __sendmmsg hidden.
14693         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14694         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14695         Move ENOSYS stub into and include it from...
14696         * socket/sendmmsg.c: ... this new file.
14697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14698         (sysdep_routines): Move recvmmsg and sendmmsg...
14699         * socket/Makefile (routines): ... here.
14700         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14701         (GLIBC_PRIVATE): Add __sendmmsg.
14702         * include/sys/socket.h (__sendmmsg): Add declarations.
14703         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14704         sendmmsg.
14706 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14709         variable I1 with __attribute__ ((unused)).
14710         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14712 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14714         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14715         DUMMY variables with __attribute__ ((unused)).
14717         * bits/byteswap.h: Include <bits/types.h>.
14718         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14722         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14723         string_t.  Do not manually set errno.
14724         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14725         length with __strnlen.  Make sure to both set errno and return it on
14726         failure.
14728 2012-11-19  David S. Miller  <davem@davemloft.net>
14730         With help from Joseph Myers.
14731         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14732         very large arguments properly.
14733         * math/libm-test.inc (atan_test): New tests.
14734         (atan2_test): New tests.
14735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14738 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14740         [BZ #14856]
14741         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14742         Define to 3.
14744         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14745         [POSIX] (EADDRNOTAVAIL): Likewise.
14746         [POSIX] (EAFNOSUPPORT): Likewise.
14747         [POSIX] (EALREADY): Likewise.
14748         [POSIX] (ECONNABORTED): Likewise.
14749         [POSIX] (ECONNREFUSED): Likewise.
14750         [POSIX] (ECONNRESET): Likewise.
14751         [POSIX] (EDESTADDRREQ): Likewise.
14752         [POSIX] (EDQUOT): Likewise.
14753         [POSIX] (EHOSTUNREACH): Likewise.
14754         [POSIX] (EIDRM): Likewise.
14755         [POSIX] (EISCONN): Likewise.
14756         [POSIX] (ELOOP): Likewise.
14757         [POSIX] (EMULTIHOP): Likewise.
14758         [POSIX] (ENETDOWN): Likewise.
14759         [POSIX] (ENETUNREACH): Likewise.
14760         [POSIX] (ENOBUFS): Likewise.
14761         [POSIX] (ENODATA): Likewise.
14762         [POSIX] (ENOLINK): Likewise.
14763         [POSIX] (ENOMSG): Likewise.
14764         [POSIX] (ENOPROTOOPT): Likewise.
14765         [POSIX] (ENOSR): Likewise.
14766         [POSIX] (ENOSTR): Likewise.
14767         [POSIX] (ENOTCONN): Likewise.
14768         [POSIX] (ENOTSOCK): Likewise.
14769         [POSIX] (EOPNOTSUPP): Likewise.
14770         [POSIX] (EOVERFLOW): Likewise.
14771         [POSIX] (EPROTO): Likewise.
14772         [POSIX] (EPROTONOSUPPORT): Likewise.
14773         [POSIX] (EPROTOTYPE): Likewise.
14774         [POSIX] (ESTALE): Likewise.
14775         [POSIX] (ETIME): Likewise.
14776         [POSIX] (ETXTBSY): Likewise.
14777         [POSIX] (EWOULDBLOCK): Likewise.
14778         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14779         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14780         [POSIX] (SEEK_CUR): Likewise.
14781         [POSIX] (SEEK_END): Likewise.
14782         [POSIX || UNIX98] (mode_t): Do not require.
14783         [POSIX] (off_t): Likewise.
14784         [POSIX] (pid_t): Likewise.
14785         [POSIX] (sys/stat.h): Do not allow header.
14786         [POSIX] (unistd.h): Likewise.
14787         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14788         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14789         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14790         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14791         require.
14792         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14793         sigevent): Specify elements.
14794         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14795         entry.
14796         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14797         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14799         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14800         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14801         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14802         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14803         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14804         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14805         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14806         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14807         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14808         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14809         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14810         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14811         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14813         Likewise.
14814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14815         Likewise.
14816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14817         Likewise.
14818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14819         Likewise.
14820         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14822         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14823         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14824         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14825         Specify lower bound on value.
14826         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14827         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14828         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14829         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14830         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14831         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14832         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14833         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14834         value.
14835         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14836         as optional.
14837         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14838         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14839         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14840         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14841         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14842         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14843         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14844         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14845         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14846         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14847         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14848         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14849         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14850         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14851         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14852         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14853         entry.
14854         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14855         optional.
14856         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14857         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14858         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14859         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14860         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14861         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14862         Likewise.
14863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14864         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14865         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14866         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14867         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14868         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14870         as optional.
14871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14873         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14874         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14875         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14876         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14877         specify as optional.
14878         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14879         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14880         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14881         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14882         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14883         [XPG3] (NL_LANGMAX): Likewise.
14884         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14885         [POSIX || XPG3] (NL_NMAX): Likewise.
14886         [POSIX || XPG3] (NL_SETMAX): Likewise.
14887         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14888         [XPG3] (NZERO): Likewise.
14889         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14890         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14891         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14892         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14893         (REG_ERANGE): Expect.
14894         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14895         optional-constant.
14896         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14897         Use (void) in prototype.
14898         [POSIX] (*_t): Allow.
14899         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14900         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14901         (WRDE_BADVAL): Expect.
14903         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14904         expect.
14905         [XPG3 || XPG4] (O_RSYNC): Likewise.
14906         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14907         Likewise.
14908         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14909         [XPG3 || XPG4] (sigqueue): Likewise.
14910         [XPG3 || XPG4] (sigtimedwait): Likewise.
14911         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14912         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14913         [XPG3 || XPG4] (vsnprintf): Likewise.
14914         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14915         Likewise.
14916         [XPG3 || XPG4] (blksize_t): Likewise.
14917         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14918         Likewise.
14919         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14920         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14921         [XPG3 || XPG4] (struct itimerspec): Likewise.
14922         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14923         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14924         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14925         [XPG3 || XPG4] (clockid_t): Likewise.
14926         [XPG3 || XPG4] (timer_t): Likewise.
14927         [XPG3 || XPG4] (clock_getres): Likewise.
14928         [XPG3 || XPG4] (clock_gettime): Likewise.
14929         [XPG3 || XPG4] (clock_settime): Likewise.
14930         [XPG3 || XPG4] (nanosleep): Likewise.
14931         [XPG3 || XPG4] (timer_create): Likewise.
14932         [XPG3 || XPG4] (timer_delete): Likewise.
14933         [XPG3 || XPG4] (timer_gettime): Likewise.
14934         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14935         [XPG3 || XPG4] (timer_settime): Likewise.
14936         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14937         [XPG3 || XPG4] (getlogin_r): Likewise.
14938         [XPG3 || XPG4] (pread): Likewise.
14939         [XPG3 || XPG4] (pthread_atfork): Likewise.
14940         [XPG3 || XPG4] (pwrite): Likewise.
14942         [BZ #14835]
14943         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14944         <bits/siginfo.h>.
14946 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14948         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14949         finalizing MALLSTREAM.
14951         * sysdeps/mach/hurd/syncfs.c: New file.
14953 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14955         [BZ #14719]
14956         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14957         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14959         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14960         (_nss_dns_gethostbyname4_r): Likewise.
14961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14962         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14964 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14966         [BZ #13763]
14967         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14969 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14971         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14972         * elf/cache.c (print_entry): Print ",AArch64" for
14973         FLAG_AARCH64_LIB64
14975         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14976         * elf/cache.c (print_entry): Print ",hard-float" for
14977         FLAG_ARM_LIBHF.
14979 2012-11-18  David S. Miller  <davem@davemloft.net>
14981         With help from Joseph Myers.
14982         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14983         cutoff to 2**-13.
14984         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14985         cutoff to 2**-25.
14986         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14987         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14988         small.
14989         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14990         * math/libm-test.inc (y0_test): New tests.
14991         (y1_test): New tests.
14992         * sysdeps/i386/fpu/libm-test-ulps: Update.
14993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14996 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14998         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14999         64-bit targets.
15000         * configure: Regenerated.
15002 2012-11-17  David S. Miller  <davem@davemloft.net>
15004         [BZ #14811]
15005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15006         nonzero exponents with absolute value below 0x1p-128 to +/-
15007         0x1p-128.
15009 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15011         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15013         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15015         * posix/getconf-speclist.c: New file.
15016         * posix/posix-envs.def: Likewise.
15017         * posix/confstr.c (START_ENV_GROUP): New macro.
15018         (END_ENV_GROUP): Likewise.
15019         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15020         (KNOWN_PRESENT_ENV_STRING): Likewise.
15021         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15022         (UNKNOWN_ENVIRONMENT): Likewise.
15023         (confstr): Include posix-envs.def instead of handling
15024         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15025         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15026         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15027         (END_ENV_GROUP): Likewise.
15028         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15029         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15030         (UNKNOWN_ENVIRONMENT): Likewise.
15031         (__sysconf): Include posix-envs.def instead of handling associated
15032         cases directly here.
15033         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15034         preprocessing getconf-speclist.c rather than running getconf or
15035         generating empty file.
15037 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15039         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15041 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15043         [BZ #14672]
15044         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15046 2012-11-16  David S. Miller  <davem@davemloft.net>
15048         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15049         smaller than LDBL_EPSILON/2.0L, just return xm1.
15051 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15053         * elf/tst-array1.c (init): Set constructor priority to 1000.
15054         (fini): Set destructor priority to 1000.
15055         * elf/tst-array2dep.c: Likewise.
15057 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15059         [BZ #11741]
15060         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15061         (_IO_new_file_xsputn): Also return EOF if none of the input
15062         data was written when overflow failed.
15063         * libio/iopadn.c (_IO_padn): Likewise.
15064         * libio/iowpadn.c (_IO_wpadn): Likewise.
15065         * stdio-common/tst-put-error.c: Add copyright notice.
15066         (do_test): Add case for printing padded string.
15067         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15068         _IO_padn returned error.
15069         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15070         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15071         return EOF.
15073 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15075         * libio/libioP.h: Add comment note that the references to C++
15076         bits are now obsolete.
15078 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15080         * math/libm-test.inc (check_complex): Use asprintf.
15082 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15084         * debug/pcprofiledump.c (print_version): Update copyright year.
15085         * malloc/memusagestat.c (print_version): Likewise.
15087 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15089         [BZ #14831]
15090         * elf/Makefile (tests): Add tst-audit8.
15091         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15092         ($(objpfx)tst-audit8.out): New target.
15093         (tst-audit8-ENV): New variable.
15094         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15095         audit if l_reloc_result is NULL.
15096         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15097         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15098         * elf/tst-audit8.c: New file.
15100 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15102         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15103         * misc/Makefile (CFLAGS-select.c): Define.
15104         * posix/Makefile (CFLAGS-pause.c): Define.
15106 2012-11-13  David S. Miller  <davem@davemloft.net>
15108         * crypt/Makefile: Move test targets after toplevel Rules
15109         inclusion.  Grab any necessary sysdep routines when linking.
15110         * crypt/md5.c (md5_process_block): Remove define, we will always
15111         name it __md5_process_block.
15112         (md5_finish_ctx): Update md5_process_block call.
15113         (md5_stream): Likewise.
15114         (md5_process_bytes): Likewise.
15115         (md5_process_block): Rename to __md5_process_block and move to ...
15116         * crypt/md5-block.c: ... here.
15117         * crypt/sha256.c (sha256_process_block): Move to ...
15118         * crypt/sha256-block.c: ... here.
15119         * crypt/sha512.c (sha512_process_block): Move to ...
15120         * crypt/sha512-block.c: ... here.
15121         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15122         path.
15123         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15124         * sysdeps/sparc/sparc64/multiarch/Makefile
15125         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15126         crypt subdir.
15127         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15128         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15129         multiarch changes.
15130         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15131         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15132         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15133         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15134         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15135         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15137         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15139         file.
15140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15142         file.
15143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15145 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15147         * timezone/tzselect.ksh: Update from tzcode git revision
15148         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15149         * timezone/zdump.c: Likewise.
15150         * timezone/zic.c: Likewise.
15151         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15152         in TZVERSION setting, not $(PKGVERSION).
15153         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15154         REPORT_BUGS_TO settings.
15156         [BZ #14838]
15157         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15158         macro.
15160 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15162         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15163         detection to immediately after _FP_ROUND().
15164         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15165         bits are 0.
15167 2012-11-11  David S. Miller  <davem@davemloft.net>
15169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15170         inttypes.h
15171         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15172         __close rather than their public counterparts.
15174 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15176         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15177         file.
15178         [UNIX98] (sem_timedwait): Do not expect.
15179         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15180         [XPG4 || UNIX98] (sockatmark): Do not expect.
15181         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15182         (clock_getcpuclockid): Do not expect.
15183         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15184         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15185         Do not expect.
15186         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15187         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15188         [UNIX98] (vwscanf): Likewise.
15189         [UNIX98] (vswscanf): Likewise.
15191 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15193         * timezone/version.h: Remove file.
15194         * timezone/README: Do not refer to version.h.
15195         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15196         $(objpfx)version.h.
15197         ($(objpfx)zdump.o): Likewise.
15198         ($(objpfx)version.h): New target.
15200         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15201         2012i.
15202         * timezone/README: Don't mention modification to tzselect.ksh.
15203         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15204         work on unmodified tzselect.ksh.  Substitute version numbers in
15205         tzselect.ksh.
15207         * Makefile (format-me): Remove.
15208         (INSTALL): Adjust indentation.  Use commands directly instead of
15209         using $(format-me).
15211         * aclocal.m4 (ACX_PKGVERSION): New macro.
15212         (ACX_BUGURL): Likewise.
15213         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15214         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15215         (REPORT_BUGS_TO): Likewise.
15216         * configure: Regenerated.
15217         * config.h.in (PKGVERSION): New macro.
15218         (REPORT_BUGS_TO): Likewise.
15219         * config.make.in (PKGVERSION): New variable.
15220         (PKGVERSION_TEXI): Likewise.
15221         (REPORT_BUGS_TO): Likewise.
15222         (REPORT_BUGS_TEXI): Likewise.
15223         * Makefile (format-me): Use -I$(common-objpfx)manual.
15224         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15225         ($(common-objpfx)manual/%): New target.
15226         (manual/%): Remove target.
15227         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15228         (print_version): Use PKGVERSION.
15229         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15230         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15231         and REPORT_BUGS_TO.
15232         ($(objpfx)xtrace): Likewise.
15233         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15234         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15235         (print_version): Use PKGVERSION.
15236         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15237         (do_version): Use PKGVERSION.
15238         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15239         REPORT_BUGS_TO.
15240         (common-ldd-rewrite): Likewise.
15241         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15242         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15243         (print_version): Use PKGVERSION.
15244         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15245         * elf/pldd.c (argp_program_bug_address): Remove variable.
15246         (more_help): New function.
15247         (argp): Use more_help.
15248         (print_version): Use PKGVERSION.
15249         * elf/sln.c (main): Use PKGVERSION.
15250         (usage): Use REPORT_BUGS_TO.
15251         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15252         (top level): Use PKGVERSION.
15253         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15254         (print_version): Use PKGVERSION.
15255         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15256         (print_version): Use PKGVERSION.
15257         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15258         (print_version): Use PKGVERSION.
15259         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15260         (print_version): Use PKGVERSION.
15261         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15262         (print_version): Use PKGVERSION.
15263         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15264         (print_version): Use PKGVERSION.
15265         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15266         and BUGURL.
15267         ($(objpfx)memusage): Likewise.
15268         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15269         (do_version): Use PKGVERSION.
15270         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15271         (print_version): Use PKGVERSION.
15272         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15273         ($PKGVERSION): New variable.
15274         ($REPORT_BUGS_TO): Likewise.
15275         (usage): Use $REPORT_BUGS_TO.
15276         (top level): Use $PKGVERSION.
15277         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15278         ($(objpfx)pkgvers.texi): New rule.
15279         ($(objpfx)stamp-pkgvers): Likewise.
15280         * manual/install.texi: Include pkgvers.texi.
15281         (--with-pkgversion): Document new configure option.
15282         (--with-bugurl): Likewise.
15283         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15284         than necessarily for this particular distribution.  Use
15285         REPORT_BUGS_TO for where to report bugs.
15286         * INSTALL: Regenerated.
15287         * manual/libc.texinfo: Include pkgvers.texi.
15288         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15289         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15290         (print_version): Use PKGVERSION.
15291         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15292         (print_version): Use PKGVERSION.
15293         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15294         (print_version): Use PKGVERSION.
15295         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15296         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15297         macro.
15298         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15299         (print_version): Use PKGVERSION.
15300         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15301         (print_version): Use PKGVERSION.
15302         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15303         and PKGVERSION.
15305         * timezone/checktab.awk: Update from tzcode 2012i.
15306         * timezone/ialloc.c: Likewise.
15307         * timezone/private.h: Likewise.
15308         * timezone/scheck.c: Likewise.
15309         * timezone/tzfile.h: Likewise.
15310         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15311         (TZVERSION): Hardcode tzcode version number.
15312         * timezone/zdump.c: Update from tzcode 2012i.
15313         * timezone/zic.c: Likewise.
15314         * timezone/version.h: New file.
15315         * timezone/README: Describe version.h.  Update upstream location.
15317         [BZ #14824]
15318         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15319         (mktemp): Enable declaration.
15320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15324         Likewise.
15325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15326         Likewise.
15327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15328         Likewise.
15329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15330         Likewise.
15331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15332         Likewise.
15333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15334         Likewise.
15336         [BZ #14821]
15337         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15338         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15339         for copies of such integer values.
15340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15343 2012-11-09  Andreas Jaeger  <aj@suse.de>
15345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15346         definitions and declarations that are provided by
15347         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15349 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15351         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15352         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15353         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15354         definition.
15356 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15358         * elf/elf.h: Update comment before AArch64 relocations.
15360 2012-11-07  David S. Miller  <davem@davemloft.net>
15362         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15363         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15364         (__start_context): Declare.
15365         (__makecontext_ret): Delete.
15366         (__makecontext): Hook up __start_context instead of
15367         __makecontext_ret.
15368         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15369         (sysdep_routines): Add __start_context when in stdlib.
15371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15373         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15374         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15375         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15376         hardcoded "nm".
15377         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15378         (READELF): New variable.  Use it instead of hardcoded "readelf".
15380 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15382         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15383         * sysdeps/x86/Makefile: Here.
15384         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15385         * sysdeps/x86/tst-xmmymm.sh: This.
15387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15389         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15390         expectations.
15391         [UNIX98] (pthread_barrier_t): Do not expect.
15392         [UNIX98] (pthread_barrierattr_t): Likewise.
15393         [UNIX98] (pthread_spinlock_t): Likewise.
15394         [UNIX98] (pthread_barrier_destroy): Likewise.
15395         [UNIX98] (pthread_barrier_init): Likewise.
15396         [UNIX98] (pthread_barrier_wait): Likewise.
15397         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15398         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15399         [UNIX98] (pthread_barrierattr_init): Likewise.
15400         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15401         [UNIX98] (pthread_getcpuclockid): Likewise.
15402         [UNIX98] (pthread_mutex_timedlock): Likewise.
15403         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15404         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15405         [UNIX98] (pthread_sigmask): Likewise.
15406         [UNIX98] (pthread_spin_destroy): Likewise.
15407         [UNIX98] (pthread_spin_init): Likewise.
15408         [UNIX98] (pthread_spin_lock): Likewise.
15409         [UNIX98] (pthread_spin_trylock): Likewise.
15410         [UNIX98] (pthread_spin_unlock): Likewise.
15411         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15412         Do not expect.
15413         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15415         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15416         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15417         [XPG3 || XPG4] (pthread_key_t): Likewise.
15418         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15419         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15420         [XPG3 || XPG4] (pthread_once_t): Likewise.
15421         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15422         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15424         [XPG3 || XPG4] (pthread_t): Likewise.
15426         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15427         not expect.
15428         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15430         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15431         Change function return type to int.
15433         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15434         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15435         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15436         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15437         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15438         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15439         [!POSIX] (posix_madvise): Likewise.
15440         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15441         && !UNIX98].
15442         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15443         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15444         (mode_t): Likewise.
15445         (posix_mem_offset): Likewise.
15446         (posix_typed_mem_get_info): Likewise.
15447         (posix_typed_mem_open): Likewise.
15449         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15450         Change condition to [XOPEN2K8].
15452         * conform/conformtest.pl: Preprocess allow-header data with -x c
15453         instead of from stdin.
15454         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15455         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15456         [C99-based standards] (cerfc): Likewise.
15457         [C99-based standards] (cexp2): Likewise.
15458         [C99-based standards] (cexpm1): Likewise.
15459         [C99-based standards] (clog10): Likewise.
15460         [C99-based standards] (clog1p): Likewise.
15461         [C99-based standards] (clog2): Likewise.
15462         [C99-based standards] (clgamma): Likewise.
15463         [C99-based standards] (ctgamma): Likewise.
15464         [C99-based standards] (cerff): Likewise.
15465         [C99-based standards] (cerfcf): Likewise.
15466         [C99-based standards] (cexp2f): Likewise.
15467         [C99-based standards] (cexpm1f): Likewise.
15468         [C99-based standards] (clog10f): Likewise.
15469         [C99-based standards] (clog1pf): Likewise.
15470         [C99-based standards] (clog2f): Likewise.
15471         [C99-based standards] (clgammaf): Likewise.
15472         [C99-based standards] (ctgammaf): Likewise.
15473         [C99-based standards] (cerfl): Likewise.
15474         [C99-based standards] (cerfcl): Likewise.
15475         [C99-based standards] (cexp2l): Likewise.
15476         [C99-based standards] (cexpm1l): Likewise.
15477         [C99-based standards] (clog10l): Likewise.
15478         [C99-based standards] (clog1pl): Likewise.
15479         [C99-based standards] (clog2l): Likewise.
15480         [C99-based standards] (clgammal): Likewise.
15481         [C99-based standards] (ctgammal): Likewise.
15482         * conform/data/inttypes.h-data [C99-based standards]: Include
15483         stdint.h-data.  Remove all expectations for stdint.h contents.
15484         [C99-based standards] (PRI*): Do not allow.
15485         [C99-based standards] (SCN*): Likewise.
15486         [C99-based standards] (*_t): Likewise.
15487         [C99-based-standards] (PRId8): Expect macro.
15488         [C99-based-standards] (PRIi8): Likewise.
15489         [C99-based-standards] (PRIo8): Likewise.
15490         [C99-based-standards] (PRIu8): Likewise.
15491         [C99-based-standards] (PRIx8): Likewise.
15492         [C99-based-standards] (PRIX8): Likewise.
15493         [C99-based-standards] (SCNd8): Likewise.
15494         [C99-based-standards] (SCNi8): Likewise.
15495         [C99-based-standards] (SCNo8): Likewise.
15496         [C99-based-standards] (SCNu8): Likewise.
15497         [C99-based-standards] (SCNx8): Likewise.
15498         [C99-based-standards] (PRIdLEAST8): Likewise.
15499         [C99-based-standards] (PRIiLEAST8): Likewise.
15500         [C99-based-standards] (PRIoLEAST8): Likewise.
15501         [C99-based-standards] (PRIuLEAST8): Likewise.
15502         [C99-based-standards] (PRIxLEAST8): Likewise.
15503         [C99-based-standards] (PRIXLEAST8): Likewise.
15504         [C99-based-standards] (SCNdLEAST8): Likewise.
15505         [C99-based-standards] (SCNiLEAST8): Likewise.
15506         [C99-based-standards] (SCNoLEAST8): Likewise.
15507         [C99-based-standards] (SCNuLEAST8): Likewise.
15508         [C99-based-standards] (SCNxLEAST8): Likewise.
15509         [C99-based-standards] (PRIdFAST8): Likewise.
15510         [C99-based-standards] (PRIiFAST8): Likewise.
15511         [C99-based-standards] (PRIoFAST8): Likewise.
15512         [C99-based-standards] (PRIuFAST8): Likewise.
15513         [C99-based-standards] (PRIxFAST8): Likewise.
15514         [C99-based-standards] (PRIXFAST8): Likewise.
15515         [C99-based-standards] (SCNdFAST8): Likewise.
15516         [C99-based-standards] (SCNiFAST8): Likewise.
15517         [C99-based-standards] (SCNoFAST8): Likewise.
15518         [C99-based-standards] (SCNuFAST8): Likewise.
15519         [C99-based-standards] (SCNxFAST8): Likewise.
15520         [C99-based-standards] (PRId16): Likewise.
15521         [C99-based-standards] (PRIi16): Likewise.
15522         [C99-based-standards] (PRIo16): Likewise.
15523         [C99-based-standards] (PRIu16): Likewise.
15524         [C99-based-standards] (PRIx16): Likewise.
15525         [C99-based-standards] (PRIX16): Likewise.
15526         [C99-based-standards] (SCNd16): Likewise.
15527         [C99-based-standards] (SCNi16): Likewise.
15528         [C99-based-standards] (SCNo16): Likewise.
15529         [C99-based-standards] (SCNu16): Likewise.
15530         [C99-based-standards] (SCNx16): Likewise.
15531         [C99-based-standards] (PRIdLEAST16): Likewise.
15532         [C99-based-standards] (PRIiLEAST16): Likewise.
15533         [C99-based-standards] (PRIoLEAST16): Likewise.
15534         [C99-based-standards] (PRIuLEAST16): Likewise.
15535         [C99-based-standards] (PRIxLEAST16): Likewise.
15536         [C99-based-standards] (PRIXLEAST16): Likewise.
15537         [C99-based-standards] (SCNdLEAST16): Likewise.
15538         [C99-based-standards] (SCNiLEAST16): Likewise.
15539         [C99-based-standards] (SCNoLEAST16): Likewise.
15540         [C99-based-standards] (SCNuLEAST16): Likewise.
15541         [C99-based-standards] (SCNxLEAST16): Likewise.
15542         [C99-based-standards] (PRIdFAST16): Likewise.
15543         [C99-based-standards] (PRIiFAST16): Likewise.
15544         [C99-based-standards] (PRIoFAST16): Likewise.
15545         [C99-based-standards] (PRIuFAST16): Likewise.
15546         [C99-based-standards] (PRIxFAST16): Likewise.
15547         [C99-based-standards] (PRIXFAST16): Likewise.
15548         [C99-based-standards] (SCNdFAST16): Likewise.
15549         [C99-based-standards] (SCNiFAST16): Likewise.
15550         [C99-based-standards] (SCNoFAST16): Likewise.
15551         [C99-based-standards] (SCNuFAST16): Likewise.
15552         [C99-based-standards] (SCNxFAST16): Likewise.
15553         [C99-based-standards] (PRId32): Likewise.
15554         [C99-based-standards] (PRIi32): Likewise.
15555         [C99-based-standards] (PRIo32): Likewise.
15556         [C99-based-standards] (PRIu32): Likewise.
15557         [C99-based-standards] (PRIx32): Likewise.
15558         [C99-based-standards] (PRIX32): Likewise.
15559         [C99-based-standards] (SCNd32): Likewise.
15560         [C99-based-standards] (SCNi32): Likewise.
15561         [C99-based-standards] (SCNo32): Likewise.
15562         [C99-based-standards] (SCNu32): Likewise.
15563         [C99-based-standards] (SCNx32): Likewise.
15564         [C99-based-standards] (PRIdLEAST32): Likewise.
15565         [C99-based-standards] (PRIiLEAST32): Likewise.
15566         [C99-based-standards] (PRIoLEAST32): Likewise.
15567         [C99-based-standards] (PRIuLEAST32): Likewise.
15568         [C99-based-standards] (PRIxLEAST32): Likewise.
15569         [C99-based-standards] (PRIXLEAST32): Likewise.
15570         [C99-based-standards] (SCNdLEAST32): Likewise.
15571         [C99-based-standards] (SCNiLEAST32): Likewise.
15572         [C99-based-standards] (SCNoLEAST32): Likewise.
15573         [C99-based-standards] (SCNuLEAST32): Likewise.
15574         [C99-based-standards] (SCNxLEAST32): Likewise.
15575         [C99-based-standards] (PRIdFAST32): Likewise.
15576         [C99-based-standards] (PRIiFAST32): Likewise.
15577         [C99-based-standards] (PRIoFAST32): Likewise.
15578         [C99-based-standards] (PRIuFAST32): Likewise.
15579         [C99-based-standards] (PRIxFAST32): Likewise.
15580         [C99-based-standards] (PRIXFAST32): Likewise.
15581         [C99-based-standards] (SCNdFAST32): Likewise.
15582         [C99-based-standards] (SCNiFAST32): Likewise.
15583         [C99-based-standards] (SCNoFAST32): Likewise.
15584         [C99-based-standards] (SCNuFAST32): Likewise.
15585         [C99-based-standards] (SCNxFAST32): Likewise.
15586         [C99-based-standards] (PRId64): Likewise.
15587         [C99-based-standards] (PRIi64): Likewise.
15588         [C99-based-standards] (PRIo64): Likewise.
15589         [C99-based-standards] (PRIu64): Likewise.
15590         [C99-based-standards] (PRIx64): Likewise.
15591         [C99-based-standards] (PRIX64): Likewise.
15592         [C99-based-standards] (SCNd64): Likewise.
15593         [C99-based-standards] (SCNi64): Likewise.
15594         [C99-based-standards] (SCNo64): Likewise.
15595         [C99-based-standards] (SCNu64): Likewise.
15596         [C99-based-standards] (SCNx64): Likewise.
15597         [C99-based-standards] (PRIdLEAST64): Likewise.
15598         [C99-based-standards] (PRIiLEAST64): Likewise.
15599         [C99-based-standards] (PRIoLEAST64): Likewise.
15600         [C99-based-standards] (PRIuLEAST64): Likewise.
15601         [C99-based-standards] (PRIxLEAST64): Likewise.
15602         [C99-based-standards] (PRIXLEAST64): Likewise.
15603         [C99-based-standards] (SCNdLEAST64): Likewise.
15604         [C99-based-standards] (SCNiLEAST64): Likewise.
15605         [C99-based-standards] (SCNoLEAST64): Likewise.
15606         [C99-based-standards] (SCNuLEAST64): Likewise.
15607         [C99-based-standards] (SCNxLEAST64): Likewise.
15608         [C99-based-standards] (PRIdFAST64): Likewise.
15609         [C99-based-standards] (PRIiFAST64): Likewise.
15610         [C99-based-standards] (PRIoFAST64): Likewise.
15611         [C99-based-standards] (PRIuFAST64): Likewise.
15612         [C99-based-standards] (PRIxFAST64): Likewise.
15613         [C99-based-standards] (PRIXFAST64): Likewise.
15614         [C99-based-standards] (SCNdFAST64): Likewise.
15615         [C99-based-standards] (SCNiFAST64): Likewise.
15616         [C99-based-standards] (SCNoFAST64): Likewise.
15617         [C99-based-standards] (SCNuFAST64): Likewise.
15618         [C99-based-standards] (SCNxFAST64): Likewise.
15619         [C99-based-standards] (PRIdMAX): Likewise.
15620         [C99-based-standards] (PRIiMAX): Likewise.
15621         [C99-based-standards] (PRIoMAX): Likewise.
15622         [C99-based-standards] (PRIuMAX): Likewise.
15623         [C99-based-standards] (PRIxMAX): Likewise.
15624         [C99-based-standards] (PRIXMAX): Likewise.
15625         [C99-based-standards] (SCNdMAX): Likewise.
15626         [C99-based-standards] (SCNiMAX): Likewise.
15627         [C99-based-standards] (SCNoMAX): Likewise.
15628         [C99-based-standards] (SCNuMAX): Likewise.
15629         [C99-based-standards] (SCNxMAX): Likewise.
15630         [C99-based-standards] (PRIdPTR): Likewise.
15631         [C99-based-standards] (PRIiPTR): Likewise.
15632         [C99-based-standards] (PRIoPTR): Likewise.
15633         [C99-based-standards] (PRIuPTR): Likewise.
15634         [C99-based-standards] (PRIxPTR): Likewise.
15635         [C99-based-standards] (PRIXPTR): Likewise.
15636         [C99-based-standards] (SCNdPTR): Likewise.
15637         [C99-based-standards] (SCNiPTR): Likewise.
15638         [C99-based-standards] (SCNoPTR): Likewise.
15639         [C99-based-standards] (SCNuPTR): Likewise.
15640         [C99-based-standards] (SCNxPTR): Likewise.
15641         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15642         allow.
15643         * conform/data/stdint.h-data: Update comments to clarify
15644         requirements.
15645         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15646         type.
15647         [C99-based standards] (INT8_MAX): Likewise.
15648         [C99-based standards] (INT16_MIN): Likewise.
15649         [C99-based standards] (INT16_MAX): Likewise.
15650         [C99-based standards] (INT32_MIN): Likewise.
15651         [C99-based standards] (INT32_MAX): Likewise.
15652         [C99-based standards] (INT64_MIN): Likewise.
15653         [C99-based standards] (INT64_MAX): Likewise.
15654         [C99-based standards] (UINT8_MAX): Likewise.
15655         [C99-based standards] (UINT16_MAX): Likewise.
15656         [C99-based standards] (UINT32_MAX): Likewise.
15657         [C99-based standards] (UINT64_MAX): Likewise.
15658         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15659         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15660         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15661         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15662         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15663         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15664         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15665         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15666         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15667         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15668         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15669         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15670         [C99-based standards] (INT_FAST8_MIN): Likewise.
15671         [C99-based standards] (INT_FAST8_MAX): Likewise.
15672         [C99-based standards] (INT_FAST16_MIN): Likewise.
15673         [C99-based standards] (INT_FAST16_MAX): Likewise.
15674         [C99-based standards] (INT_FAST32_MIN): Likewise.
15675         [C99-based standards] (INT_FAST32_MAX): Likewise.
15676         [C99-based standards] (INT_FAST64_MIN): Likewise.
15677         [C99-based standards] (INT_FAST64_MAX): Likewise.
15678         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15679         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15680         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15681         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15682         [C99-based standards] (INTPTR_MIN): Likewise.
15683         [C99-based standards] (INTPTR_MAX): Likewise.
15684         [C99-based standards] (UINTPTR_MAX): Likewise.
15685         [C99-based standards] (INTMAX_MIN): Likewise.
15686         [C99-based standards] (INTMAX_MAX): Likewise.
15687         [C99-based standards] (UINTMAX_MAX): Likewise.
15688         [C99-based standards] (PTRDIFF_MIN): Likewise.
15689         [C99-based standards] (PTRDIFF_MAX): Likewise.
15690         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15691         [C99-based standards] (SIZE_MAX): Likewise.
15692         [C99-based standards] (WCHAR_MAX): Likewise.
15693         [C99-based standards] (WINT_MAX): Likewise.
15694         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15695         constraint on value.
15696         [C99-based standards] (WCHAR_MIN): Likewise.
15697         [C99-based standards] (WINT_MIN): Likewise.
15698         [C99-based standards] (*_t): Allow.
15699         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15700         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15701         Include math.h-data and complex.h-data.  Remove all expectations
15702         of math.h and complex.h contents.
15703         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15704         at end of line.
15705         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15706         (struct tm): Expect tag.
15707         [C99-based-standards] (wcstof): Expect function.
15708         [C99-based-standards] (wcstold): Likewise.
15709         [C99-based-standards] (wcstoll): Likewise.
15710         [C99-based-standards] (wcstoull): Likewise.
15711         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15712         macro-int-constant.  Specify type.
15713         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15714         constraint on value.
15715         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15716         Specify type.
15717         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15718         Specify value.
15719         [ISO C standards]: Do not allow headers.
15720         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15721         wcs[abcdefghijklmnopqrstuvwxyz]*.
15722         [ISO C standards] (*_t): Do not allow.
15723         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15724         Expect function.
15725         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15726         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15727         Specify type.
15728         [ISO C standards]: Do not allow headers.
15729         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15730         is[abcdefghijklmnopqrstuvwxyz]*.
15731         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15732         to[abcdefghijklmnopqrstuvwxyz]*.
15733         [ISO C standards] (*_t): Do not allow.
15734         * conform/data/stdalign.h-data: New file.
15735         * conform/data/stdbool.h-data: Likewise.
15736         * conform/data/stdnoreturn.h-data: Likewise.
15738 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15740         [BZ #14815]
15741         * manual/filesys.texi (Directory Entries): Typo fix.
15742         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15744 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15746         * elf/elf.h (EM_AARCH64): New macro.
15747         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15748         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15749         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15750         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15751         (R_AARCH64_TLSDESC): Likewise.
15752         (NT_ARM_TLS): Likewise.
15753         (NT_ARM_HW_BREAK): Likewise.
15754         (NT_ARM_HW_WATCH): Likewise.
15756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15758         [BZ #14811]
15759         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15760         (__ieee754_powl): Saturate nonzero exponents with absolute value
15761         below 0x1p-79 to +/- 0x1p-79.
15762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15763         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15764         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15765         nonzero exponents with absolute value below 0x1p-32 to +/-
15766         0x1p-32.
15767         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15768         (__ieee754_powl): Saturate nonzero exponents with absolute value
15769         below 0x1p-79 to +/- 0x1p-79.
15770         * math/libm-test.inc (pow_test): Add more tests.
15772 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15774         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15775         _dl_s390_cap_flags with kernel. Increase string length.
15776         (_dl_s390_platforms): Add z196 and zEC12.
15778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15780         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15781         Change XOPEN21K to XOPEN2K.
15783 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15785         * string/memmove.c: Use memcpy when possible.
15787 2012-11-06  Andreas Jaeger  <aj@suse.de>
15789         * po/eo.po: Update from translation team.
15791 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #14793]
15794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15795         exponent and small x and y exponents, scale x or y up.  Increase
15796         by 2 the exponent used in scaling up.
15797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15799         * math/libm-test.inc (fma_test): Add more tests.
15800         (fma_test_towardzero): Likewise.
15801         (fma_test_downward): Likewise.
15802         (fma_test_upward): Likewise.
15804 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15806         [BZ #14805]
15807         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15808         fenv_t *.
15810         [BZ #14801]
15811         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15812         namespace for names of struct fields.
15813         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15814         fenv_t fields.
15815         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15816         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15818 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15820         [BZ #3665]
15821         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15823 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15825         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15826         PTR_DEMANGLE.
15828         [BZ #5246]
15829         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15830         PTR_DEMANGLE.
15832 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #14797]
15835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15836         definitely overflow as x * y not x * y + z.
15837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15839         * math/libm-test.inc (fma_test): Add more tests.
15840         (fma_test_towardzero): Likewise.
15841         (fma_test_downward): Likewise.
15842         (fma_test_upward): Likewise.
15844 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15846         [BZ #157]
15848         * include/stub-tag.h: Remove file.
15849         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15850         '#include' of it.
15851         * manual/maint.texi (Porting): Don't reference it.
15852         * Makerules ($(objpfx)stubs): Likewise.
15853         * dirent/closedir.c: Don't include <stub-tag.h>.
15854         * dirent/dirfd.c: Likewise.
15855         * dirent/fdopendir.c: Likewise.
15856         * dirent/getdents.c: Likewise.
15857         * dirent/getdents64.c: Likewise.
15858         * dirent/opendir.c: Likewise.
15859         * dirent/readdir.c: Likewise.
15860         * dirent/readdir64.c: Likewise.
15861         * dirent/readdir64_r.c: Likewise.
15862         * dirent/readdir_r.c: Likewise.
15863         * dirent/rewinddir.c: Likewise.
15864         * dirent/seekdir.c: Likewise.
15865         * dirent/telldir.c: Likewise.
15866         * gmon/profil.c: Likewise.
15867         * grp/setgroups.c: Likewise.
15868         * inet/if_index.c: Likewise.
15869         * io/access.c: Likewise.
15870         * io/chdir.c: Likewise.
15871         * io/chmod.c: Likewise.
15872         * io/chown.c: Likewise.
15873         * io/close.c: Likewise.
15874         * io/dup.c: Likewise.
15875         * io/dup2.c: Likewise.
15876         * io/dup3.c: Likewise.
15877         * io/euidaccess.c: Likewise.
15878         * io/faccessat.c: Likewise.
15879         * io/fchdir.c: Likewise.
15880         * io/fchmod.c: Likewise.
15881         * io/fchmodat.c: Likewise.
15882         * io/fchown.c: Likewise.
15883         * io/fchownat.c: Likewise.
15884         * io/fcntl.c: Likewise.
15885         * io/flock.c: Likewise.
15886         * io/fstatfs.c: Likewise.
15887         * io/fstatfs64.c: Likewise.
15888         * io/fstatvfs.c: Likewise.
15889         * io/fstatvfs64.c: Likewise.
15890         * io/futimens.c: Likewise.
15891         * io/fxstat.c: Likewise.
15892         * io/fxstat64.c: Likewise.
15893         * io/fxstatat.c: Likewise.
15894         * io/fxstatat64.c: Likewise.
15895         * io/getcwd.c: Likewise.
15896         * io/isatty.c: Likewise.
15897         * io/lchmod.c: Likewise.
15898         * io/lchown.c: Likewise.
15899         * io/link.c: Likewise.
15900         * io/linkat.c: Likewise.
15901         * io/lseek.c: Likewise.
15902         * io/lseek64.c: Likewise.
15903         * io/lxstat64.c: Likewise.
15904         * io/mkdir.c: Likewise.
15905         * io/mkdirat.c: Likewise.
15906         * io/mkfifo.c: Likewise.
15907         * io/mkfifoat.c: Likewise.
15908         * io/open.c: Likewise.
15909         * io/open64.c: Likewise.
15910         * io/openat.c: Likewise.
15911         * io/openat64.c: Likewise.
15912         * io/pipe.c: Likewise.
15913         * io/pipe2.c: Likewise.
15914         * io/poll.c: Likewise.
15915         * io/posix_fadvise.c: Likewise.
15916         * io/posix_fadvise64.c: Likewise.
15917         * io/posix_fallocate.c: Likewise.
15918         * io/posix_fallocate64.c: Likewise.
15919         * io/read.c: Likewise.
15920         * io/readlink.c: Likewise.
15921         * io/readlinkat.c: Likewise.
15922         * io/rmdir.c: Likewise.
15923         * io/sendfile.c: Likewise.
15924         * io/sendfile64.c: Likewise.
15925         * io/statfs.c: Likewise.
15926         * io/statfs64.c: Likewise.
15927         * io/statvfs.c: Likewise.
15928         * io/statvfs64.c: Likewise.
15929         * io/symlink.c: Likewise.
15930         * io/symlinkat.c: Likewise.
15931         * io/ttyname.c: Likewise.
15932         * io/ttyname_r.c: Likewise.
15933         * io/umask.c: Likewise.
15934         * io/unlink.c: Likewise.
15935         * io/unlinkat.c: Likewise.
15936         * io/utime.c: Likewise.
15937         * io/utimensat.c: Likewise.
15938         * io/write.c: Likewise.
15939         * io/xmknod.c: Likewise.
15940         * io/xmknodat.c: Likewise.
15941         * io/xstat.c: Likewise.
15942         * io/xstat64.c: Likewise.
15943         * login/getpt.c: Likewise.
15944         * login/grantpt.c: Likewise.
15945         * login/unlockpt.c: Likewise.
15946         * math/e_acoshl.c: Likewise.
15947         * math/e_acosl.c: Likewise.
15948         * math/e_asinl.c: Likewise.
15949         * math/e_atan2l.c: Likewise.
15950         * math/e_atanhl.c: Likewise.
15951         * math/e_coshl.c: Likewise.
15952         * math/e_expl.c: Likewise.
15953         * math/e_fmodl.c: Likewise.
15954         * math/e_gammal_r.c: Likewise.
15955         * math/e_hypotl.c: Likewise.
15956         * math/e_j0l.c: Likewise.
15957         * math/e_j1l.c: Likewise.
15958         * math/e_jnl.c: Likewise.
15959         * math/e_lgammal_r.c: Likewise.
15960         * math/e_log10l.c: Likewise.
15961         * math/e_log2l.c: Likewise.
15962         * math/e_logl.c: Likewise.
15963         * math/e_powl.c: Likewise.
15964         * math/e_rem_pio2l.c: Likewise.
15965         * math/e_sinhl.c: Likewise.
15966         * math/e_sqrtl.c: Likewise.
15967         * math/fclrexcpt.c: Likewise.
15968         * math/fedisblxcpt.c: Likewise.
15969         * math/feenablxcpt.c: Likewise.
15970         * math/fegetenv.c: Likewise.
15971         * math/fegetexcept.c: Likewise.
15972         * math/fegetround.c: Likewise.
15973         * math/feholdexcpt.c: Likewise.
15974         * math/fesetenv.c: Likewise.
15975         * math/fesetround.c: Likewise.
15976         * math/feupdateenv.c: Likewise.
15977         * math/fgetexcptflg.c: Likewise.
15978         * math/fraiseexcpt.c: Likewise.
15979         * math/fsetexcptflg.c: Likewise.
15980         * math/ftestexcept.c: Likewise.
15981         * math/k_cosl.c: Likewise.
15982         * math/k_rem_pio2l.c: Likewise.
15983         * math/k_sinl.c: Likewise.
15984         * math/k_tanl.c: Likewise.
15985         * math/s_asinhl.c: Likewise.
15986         * math/s_atanl.c: Likewise.
15987         * math/s_cbrtl.c: Likewise.
15988         * math/s_erfl.c: Likewise.
15989         * math/s_expm1l.c: Likewise.
15990         * math/s_log1pl.c: Likewise.
15991         * math/s_tanhl.c: Likewise.
15992         * misc/acct.c: Likewise.
15993         * misc/brk.c: Likewise.
15994         * misc/chflags.c: Likewise.
15995         * misc/chroot.c: Likewise.
15996         * misc/fchflags.c: Likewise.
15997         * misc/fgetxattr.c: Likewise.
15998         * misc/flistxattr.c: Likewise.
15999         * misc/fremovexattr.c: Likewise.
16000         * misc/fsetxattr.c: Likewise.
16001         * misc/fsync.c: Likewise.
16002         * misc/ftruncate.c: Likewise.
16003         * misc/futimes.c: Likewise.
16004         * misc/futimesat.c: Likewise.
16005         * misc/getdomain.c: Likewise.
16006         * misc/getdtsz.c: Likewise.
16007         * misc/gethostid.c: Likewise.
16008         * misc/gethostname.c: Likewise.
16009         * misc/getloadavg.c: Likewise.
16010         * misc/getpagesize.c: Likewise.
16011         * misc/getsysstats.c: Likewise.
16012         * misc/getxattr.c: Likewise.
16013         * misc/gtty.c: Likewise.
16014         * misc/ioctl.c: Likewise.
16015         * misc/lgetxattr.c: Likewise.
16016         * misc/listxattr.c: Likewise.
16017         * misc/llistxattr.c: Likewise.
16018         * misc/lremovexattr.c: Likewise.
16019         * misc/lsetxattr.c: Likewise.
16020         * misc/lutimes.c: Likewise.
16021         * misc/madvise.c: Likewise.
16022         * misc/mincore.c: Likewise.
16023         * misc/mlock.c: Likewise.
16024         * misc/mlockall.c: Likewise.
16025         * misc/mmap.c: Likewise.
16026         * misc/mprotect.c: Likewise.
16027         * misc/msync.c: Likewise.
16028         * misc/munlock.c: Likewise.
16029         * misc/munlockall.c: Likewise.
16030         * misc/munmap.c: Likewise.
16031         * misc/preadv.c: Likewise.
16032         * misc/preadv64.c: Likewise.
16033         * misc/ptrace.c: Likewise.
16034         * misc/pwritev.c: Likewise.
16035         * misc/pwritev64.c: Likewise.
16036         * misc/readv.c: Likewise.
16037         * misc/reboot.c: Likewise.
16038         * misc/remap_file_pages.c: Likewise.
16039         * misc/removexattr.c: Likewise.
16040         * misc/revoke.c: Likewise.
16041         * misc/select.c: Likewise.
16042         * misc/setdomain.c: Likewise.
16043         * misc/setegid.c: Likewise.
16044         * misc/seteuid.c: Likewise.
16045         * misc/sethostid.c: Likewise.
16046         * misc/sethostname.c: Likewise.
16047         * misc/setregid.c: Likewise.
16048         * misc/setreuid.c: Likewise.
16049         * misc/setxattr.c: Likewise.
16050         * misc/sstk.c: Likewise.
16051         * misc/stty.c: Likewise.
16052         * misc/swapoff.c: Likewise.
16053         * misc/swapon.c: Likewise.
16054         * misc/sync.c: Likewise.
16055         * misc/syncfs.c: Likewise.
16056         * misc/syscall.c: Likewise.
16057         * misc/truncate.c: Likewise.
16058         * misc/ualarm.c: Likewise.
16059         * misc/usleep.c: Likewise.
16060         * misc/ustat.c: Likewise.
16061         * misc/utimes.c: Likewise.
16062         * misc/vhangup.c: Likewise.
16063         * misc/writev.c: Likewise.
16064         * posix/_exit.c: Likewise.
16065         * posix/alarm.c: Likewise.
16066         * posix/execve.c: Likewise.
16067         * posix/fexecve.c: Likewise.
16068         * posix/fork.c: Likewise.
16069         * posix/fpathconf.c: Likewise.
16070         * posix/getaddrinfo.c: Likewise.
16071         * posix/getegid.c: Likewise.
16072         * posix/geteuid.c: Likewise.
16073         * posix/getgid.c: Likewise.
16074         * posix/getgroups.c: Likewise.
16075         * posix/getlogin.c: Likewise.
16076         * posix/getlogin_r.c: Likewise.
16077         * posix/getpgid.c: Likewise.
16078         * posix/getpid.c: Likewise.
16079         * posix/getppid.c: Likewise.
16080         * posix/getresgid.c: Likewise.
16081         * posix/getresuid.c: Likewise.
16082         * posix/getsid.c: Likewise.
16083         * posix/getuid.c: Likewise.
16084         * posix/glob64.c: Likewise.
16085         * posix/nanosleep.c: Likewise.
16086         * posix/pathconf.c: Likewise.
16087         * posix/pause.c: Likewise.
16088         * posix/posix_madvise.c: Likewise.
16089         * posix/pread.c: Likewise.
16090         * posix/pread64.c: Likewise.
16091         * posix/pwrite.c: Likewise.
16092         * posix/pwrite64.c: Likewise.
16093         * posix/sched_getaffinity.c: Likewise.
16094         * posix/sched_getp.c: Likewise.
16095         * posix/sched_gets.c: Likewise.
16096         * posix/sched_primax.c: Likewise.
16097         * posix/sched_primin.c: Likewise.
16098         * posix/sched_rr_gi.c: Likewise.
16099         * posix/sched_setaffinity.c: Likewise.
16100         * posix/sched_setp.c: Likewise.
16101         * posix/sched_sets.c: Likewise.
16102         * posix/sched_yield.c: Likewise.
16103         * posix/setgid.c: Likewise.
16104         * posix/setlogin.c: Likewise.
16105         * posix/setpgid.c: Likewise.
16106         * posix/setresgid.c: Likewise.
16107         * posix/setresuid.c: Likewise.
16108         * posix/setsid.c: Likewise.
16109         * posix/setuid.c: Likewise.
16110         * posix/sleep.c: Likewise.
16111         * posix/spawni.c: Likewise.
16112         * posix/sysconf.c: Likewise.
16113         * posix/times.c: Likewise.
16114         * posix/wait.c: Likewise.
16115         * posix/wait3.c: Likewise.
16116         * posix/wait4.c: Likewise.
16117         * posix/waitpid.c: Likewise.
16118         * resolv/gai_sigqueue.c: Likewise.
16119         * resource/getpriority.c: Likewise.
16120         * resource/getrlimit.c: Likewise.
16121         * resource/getrusage.c: Likewise.
16122         * resource/nice.c: Likewise.
16123         * resource/setpriority.c: Likewise.
16124         * resource/setrlimit.c: Likewise.
16125         * resource/ulimit.c: Likewise.
16126         * rt/aio_cancel.c: Likewise.
16127         * rt/aio_fsync.c: Likewise.
16128         * rt/aio_read.c: Likewise.
16129         * rt/aio_sigqueue.c: Likewise.
16130         * rt/aio_suspend.c: Likewise.
16131         * rt/aio_write.c: Likewise.
16132         * rt/clock_getres.c: Likewise.
16133         * rt/clock_gettime.c: Likewise.
16134         * rt/clock_nanosleep.c: Likewise.
16135         * rt/clock_settime.c: Likewise.
16136         * rt/lio_listio.c: Likewise.
16137         * rt/mq_close.c: Likewise.
16138         * rt/mq_getattr.c: Likewise.
16139         * rt/mq_notify.c: Likewise.
16140         * rt/mq_open.c: Likewise.
16141         * rt/mq_receive.c: Likewise.
16142         * rt/mq_send.c: Likewise.
16143         * rt/mq_setattr.c: Likewise.
16144         * rt/mq_timedreceive.c: Likewise.
16145         * rt/mq_timedsend.c: Likewise.
16146         * rt/mq_unlink.c: Likewise.
16147         * rt/shm_open.c: Likewise.
16148         * rt/shm_unlink.c: Likewise.
16149         * rt/timer_create.c: Likewise.
16150         * rt/timer_delete.c: Likewise.
16151         * rt/timer_getoverr.c: Likewise.
16152         * rt/timer_gettime.c: Likewise.
16153         * rt/timer_settime.c: Likewise.
16154         * setjmp/__longjmp.c: Likewise.
16155         * setjmp/setjmp.c: Likewise.
16156         * signal/kill.c: Likewise.
16157         * signal/killpg.c: Likewise.
16158         * signal/raise.c: Likewise.
16159         * signal/sigaction.c: Likewise.
16160         * signal/sigaltstack.c: Likewise.
16161         * signal/sigblock.c: Likewise.
16162         * signal/sigignore.c: Likewise.
16163         * signal/sigintr.c: Likewise.
16164         * signal/signal.c: Likewise.
16165         * signal/sigpause.c: Likewise.
16166         * signal/sigpending.c: Likewise.
16167         * signal/sigqueue.c: Likewise.
16168         * signal/sigreturn.c: Likewise.
16169         * signal/sigset.c: Likewise.
16170         * signal/sigsetmask.c: Likewise.
16171         * signal/sigstack.c: Likewise.
16172         * signal/sigsuspend.c: Likewise.
16173         * signal/sigtimedwait.c: Likewise.
16174         * signal/sigvec.c: Likewise.
16175         * signal/sigwait.c: Likewise.
16176         * signal/sigwaitinfo.c: Likewise.
16177         * signal/sysv_signal.c: Likewise.
16178         * socket/accept.c: Likewise.
16179         * socket/accept4.c: Likewise.
16180         * socket/bind.c: Likewise.
16181         * socket/connect.c: Likewise.
16182         * socket/getpeername.c: Likewise.
16183         * socket/getsockname.c: Likewise.
16184         * socket/getsockopt.c: Likewise.
16185         * socket/isfdtype.c: Likewise.
16186         * socket/listen.c: Likewise.
16187         * socket/recv.c: Likewise.
16188         * socket/recvfrom.c: Likewise.
16189         * socket/recvmsg.c: Likewise.
16190         * socket/send.c: Likewise.
16191         * socket/sendmsg.c: Likewise.
16192         * socket/sendto.c: Likewise.
16193         * socket/setsockopt.c: Likewise.
16194         * socket/shutdown.c: Likewise.
16195         * socket/sockatmark.c: Likewise.
16196         * socket/socket.c: Likewise.
16197         * socket/socketpair.c: Likewise.
16198         * stdio-common/ctermid.c: Likewise.
16199         * stdio-common/cuserid.c: Likewise.
16200         * stdio-common/remove.c: Likewise.
16201         * stdio-common/rename.c: Likewise.
16202         * stdio-common/renameat.c: Likewise.
16203         * stdio-common/tempname.c: Likewise.
16204         * stdlib/getcontext.c: Likewise.
16205         * stdlib/makecontext.c: Likewise.
16206         * stdlib/setcontext.c: Likewise.
16207         * stdlib/swapcontext.c: Likewise.
16208         * stdlib/system.c: Likewise.
16209         * streams/fattach.c: Likewise.
16210         * streams/fdetach.c: Likewise.
16211         * streams/getmsg.c: Likewise.
16212         * streams/getpmsg.c: Likewise.
16213         * streams/putmsg.c: Likewise.
16214         * streams/putpmsg.c: Likewise.
16215         * sysdeps/unix/bsd/getpt.c: Likewise.
16216         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16217         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16220         Likewise.
16221         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16222         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16223         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16224         * sysvipc/msgctl.c: Likewise.
16225         * sysvipc/msgget.c: Likewise.
16226         * sysvipc/msgrcv.c: Likewise.
16227         * sysvipc/msgsnd.c: Likewise.
16228         * sysvipc/semctl.c: Likewise.
16229         * sysvipc/semget.c: Likewise.
16230         * sysvipc/semop.c: Likewise.
16231         * sysvipc/semtimedop.c: Likewise.
16232         * sysvipc/shmat.c: Likewise.
16233         * sysvipc/shmctl.c: Likewise.
16234         * sysvipc/shmdt.c: Likewise.
16235         * sysvipc/shmget.c: Likewise.
16236         * termios/tcdrain.c: Likewise.
16237         * termios/tcflow.c: Likewise.
16238         * termios/tcflush.c: Likewise.
16239         * termios/tcgetattr.c: Likewise.
16240         * termios/tcgetpgrp.c: Likewise.
16241         * termios/tcsendbrk.c: Likewise.
16242         * termios/tcsetattr.c: Likewise.
16243         * termios/tcsetpgrp.c: Likewise.
16244         * time/adjtime.c: Likewise.
16245         * time/clock.c: Likewise.
16246         * time/getitimer.c: Likewise.
16247         * time/gettimeofday.c: Likewise.
16248         * time/setitimer.c: Likewise.
16249         * time/settimeofday.c: Likewise.
16250         * time/stime.c: Likewise.
16251         * time/time.c: Likewise.
16253 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16255         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16256         /usr/old/bin.
16258         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16259         instead of spaces.
16260         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16262 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16264         [BZ #14796]
16265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16266         FE_TONEAREST before applying Dekker multiplication and Knuth
16267         addition.  Clear inexact exceptions and check for exact zero
16268         results afterwards.
16269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16272         * math/libm-test.inc (fma_test): Add more tests.
16273         (fma_test_towardzero): Likewise.
16274         (fma_test_downward): Likewise.
16275         (fma_test_upward): Likewise.
16276         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16277         function.
16278         (libc_fesetround): New macro.
16279         (libc_fesetroundf): Likewise.
16280         (libc_fesetroundl): Likewise.
16281         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16282         function.
16283         (libc_fesetround_387): Likewise.
16284         (libc_fesetroundf): New macro.
16285         (libc_fesetround): Likewise.
16286         (libc_fesetroundl): Likewise.
16287         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16288         function.
16289         (libc_fesetroundf): New macro.
16290         (libc_fesetround): Likewise.
16291         (libc_fesetroundl): Likewise.
16292         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16293         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16294         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16295         libm_hidden_ver.
16296         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16297         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16298         libm_hidden_def.
16299         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16300         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16301         libm_hidden_ver.
16302         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16303         libm_hidden_def.
16305         [BZ #3439]
16306         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16307         integer constant usable in #if and use that to give value to enum
16308         constant.
16309         (FE_DIVBYZERO): Likewise.
16310         (FE_UNDERFLOW): Likewise.
16311         (FE_OVERFLOW): Likewise.
16312         (FE_INVALID): Likewise.
16313         (FE_INVALID_SNAN): Likewise.
16314         (FE_INVALID_ISI): Likewise.
16315         (FE_INVALID_IDI): Likewise.
16316         (FE_INVALID_ZDZ): Likewise.
16317         (FE_INVALID_IMZ): Likewise.
16318         (FE_INVALID_COMPARE): Likewise.
16319         (FE_INVALID_SOFTWARE): Likewise.
16320         (FE_INVALID_SQRT): Likewise.
16321         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16322         (FE_TONEAREST): Likewise.
16323         (FE_TOWARDZERO): Likewise.
16324         (FE_UPWARD): Likewise.
16325         (FE_DOWNWARD): Likewise.
16326         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16327         (FE_DIVBYZERO): Likewise.
16328         (FE_OVERFLOW): Likewise.
16329         (FE_UNDERFLOW): Likewise.
16330         (FE_INEXACT): Likewise.
16331         (FE_TONEAREST): Likewise.
16332         (FE_DOWNWARD): Likewise.
16333         (FE_UPWARD): Likewise.
16334         (FE_TOWARDZERO): Likewise.
16335         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16336         (FE_UNDERFLOW): Likewise.
16337         (FE_OVERFLOW): Likewise.
16338         (FE_DIVBYZERO): Likewise.
16339         (FE_INVALID): Likewise.
16340         (FE_TONEAREST): Likewise.
16341         (FE_TOWARDZERO): Likewise.
16342         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16343         (FE_OVERFLOW): Likewise.
16344         (FE_UNDERFLOW): Likewise.
16345         (FE_DIVBYZERO): Likewise.
16346         (FE_INEXACT): Likewise.
16347         (FE_TONEAREST): Likewise.
16348         (FE_TOWARDZERO): Likewise.
16349         (FE_UPWARD): Likewise.
16350         (FE_DOWNWARD): Likewise.
16351         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16352         (FE_DIVBYZERO): Likewise.
16353         (FE_OVERFLOW): Likewise.
16354         (FE_UNDERFLOW): Likewise.
16355         (FE_INEXACT): Likewise.
16356         (FE_TONEAREST): Likewise.
16357         (FE_DOWNWARD): Likewise.
16358         (FE_UPWARD): Likewise.
16359         (FE_TOWARDZERO): Likewise.
16361 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16363         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16365 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16367         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16368         commands.  Quote $PWD.
16369         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16370         -x" by "export".
16371         (remove_newlines): Remove.
16373 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16375         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16376         * stdlib/stdlib.h (atof): Moved to ...
16377         * include/bits/stdlib-float.h: Here.  New file.
16378         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16379         * stdlib/bits/stdlib-float.h: New file.
16380         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16381         -mno-sse -mno-mmx.
16382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16383         <xmmintrin.h>.
16385 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16387         * conform/conformtest.pl (@headers): Add fenv.h.
16388         * conform/data/fenv.h-data: New file.
16389         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16390         include of <math/fenv.h>.
16392         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16393         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16394         && !UNIX98].  Enables tests for XOPEN2K8.
16395         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16396         POSIX2008]: Likewise.
16398         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16399         (struct rusage): Do not expect type or its members.
16401         [BZ #3439]
16402         * math/math.h (FP_NAN): Define macro to integer constant usable in
16403         #if and use that to give value to enum constant.
16404         (FP_INFINITE): Likewise.
16405         (FP_ZERO): Likewise.
16406         (FP_SUBNORMAL): Likewise.
16407         (FP_NORMAL): Likewise.
16409 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16411         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16412         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16413         arguments.
16415 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16417         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16418         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16419         autoconf-time if not.
16420         * configure.in: Remove AC_PREREQ.
16422 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16424         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16425         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16426         of the internal implementation.
16428 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16430         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16431         except include of <misc/sys/syslog.h>.
16433 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16436         function returns with a NULL context exit with zero.
16438 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16440         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16442 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16444         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16445         (run_program_cmd): This.
16446         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16447         (tst_langinfo): New variable.  Use it.
16449 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16451         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16452         floating point opcodes.
16454 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16456         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16457         variable.
16459         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16461         * sysdeps/mach/hurd/powerpc: Remove directory.
16462         * sysdeps/mach/powerpc: Likewise.
16464 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16466         * scripts/check-local-headers.sh: Ignore c++ headers.
16468 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16470         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16471         __libc_cleanup_region_start argument.
16473 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #14784]
16476         [BZ #14785]
16477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16478         x * y using scaling, not as x * y + z.
16479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16481         * math/libm-test.inc (fma_test): Add more tests.
16482         (fma_test_towardzero): Likewise.
16483         (fma_test_downward): Likewise.
16484         (fma_test_upward): Likewise.
16486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16488         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16490 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16492         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16493         New variable.
16495 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16497         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16499 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16502         Fix sort order.
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16504         Likewise.
16506 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16509         Fix the order of the list for glibc 2.17.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16511         Likewise.
16513 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16517 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16519         [BZ #14610]
16520         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16521         for low part of x being zero before using __atanl (y).
16522         * math/libm-test.inc (atan2_test): Add another test.
16524         * manual/install.texi (Configuring and compiling): Document
16525         general use of test-wrapper and test-wrapper-env.
16526         * INSTALL: Regenerated.
16528         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16529         (__fma): Do not extract and scale down low bits on after-rounding
16530         systems when result rounded to normal precision would have normal
16531         exponent.
16532         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16533         (__fmal): Do not extract and scale down low bits on after-rounding
16534         systems when result rounded to normal precision would have normal
16535         exponent.
16536         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16537         (__fmal): Do not extract and scale down low bits on after-rounding
16538         systems when result rounded to normal precision would have normal
16539         exponent.
16540         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16541         macro.
16542         (fma_test): Add more tests.
16543         (fma_test_towardzero): Likewise.
16544         (fma_test_downward): Likewise.
16545         (fma_test_upward): Likewise.
16547 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16549         * sysdeps/i386/tininess.h: Renamed to ...
16550         * sysdeps/x86/tininess.h: This.
16551         * sysdeps/x86_64/tininess.h: Removed.
16553 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16555         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16556         input.  Use $(build-program-cmd).
16557         ($(objpfx)tst-array1-static.out): Likewise.
16558         ($(objpfx)tst-array2.out): Likewise.
16559         ($(objpfx)tst-array3.out): Likewise.
16560         ($(objpfx)tst-array4.out): Likewise.
16561         ($(objpfx)tst-array5.out): Likewise.
16562         ($(objpfx)tst-array5-static.out): Likewise.
16564 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16566         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16567         if defined.
16569         * nss/nsswitch.h (nss_interface_function): Provide new
16570         macro for use with NSS functions.
16571         * grp/initgroups.c: Use new macro.
16572         * nss/getXXbyYY.c: Likewise.
16573         * nss/getXXbyYY_r.c: Likewise.
16574         * nss/getXXent.c: Likewise.
16575         * nss/getXXent_r.c: Likewise.
16576         * sysdeps/posix/getaddrinfo.c: Likewise.
16578 2012-10-30  Andreas Jaeger  <aj@suse.de>
16580         * po/ru.po: Update Russion translation from translation project.
16582 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16584         [BZ #14152]
16585         [BZ #14783]
16586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16587         result and shift together with sticky bit instead of replicating
16588         round-to-nearest rounding.
16589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16591         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16592         missing underflow exceptions.
16593         (fma_test_towardzero): Add more tests.
16594         (fma_test_downward): Likewise.
16595         (fma_test_upward): Likewise.
16597         [BZ #14047]
16598         * sysdeps/generic/tininess.h: New file.
16599         * sysdeps/i386/tininess.h: Likewise.
16600         * sysdeps/sh/tininess.h: Likewise.
16601         * sysdeps/x86_64/tininess.h: Likewise.
16602         * stdlib/tst-strtod-underflow.c: Likewise.
16603         * stdlib/tst-tininess.c: Likewise.
16604         * stdlib/strtod_l.c: Include <tininess.h>.
16605         (round_and_return): Do not set errno for exact underflow cases.
16606         Force an underflow exception when setting errno for underflow.
16607         Determine underflow based on rounding to normal precision if
16608         TININESS_AFTER_ROUNDING.
16609         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16610         ERANGE for exact underflow cases.
16611         * stdlib/Makefile (tests): Add tst-tininess and
16612         tst-strtod-underflow.
16613         ($(objpfx)tst-tininess): Use $(link-libm).
16614         ($(objpfx)tst-strtod-underflow): Likewise.
16616 2012-10-30  Andreas Jaeger  <aj@suse.de>
16618         [BZ#14767]
16619         * elf/Makefile (tests): Remove conditional for have-initfini-array
16620         since this is now always required and the variable does not exist
16621         anymore.
16622         (tests-static): Likewise.
16623         (modules-names): Likewise.
16625         * po/eo.po: Add Esperanto translation from translation project.
16627         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16628         merged with constructor/destructor.
16629         (init_array): Likewise.
16630         * elf/tst-array2dep.c (fini_array): Likewise.
16631         (init_array): Likewise.
16633 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16635         * manual/message.texi: Delete @cartouche tags.
16637 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16639         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16640         EOPNOTSUPP.
16641         * sysdeps/mach/hurd/fsync.c: Likewise.
16643         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16644         [_POSIX_REALTIME_SIGNALS]: Change condition to
16645         [_POSIX_REALTIME_SIGNALS > 0].
16647 2012-10-27  Andreas Jaeger  <aj@suse.de>
16649         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16650         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16652         [__WORDSIZE != 64]: Likewise.
16654 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16656         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16657         *  iconvdata/tst-tables.sh: Likewise.
16659 2012-10-25  David S. Miller  <davem@davemloft.net>
16661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16662         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16663         of strtoull.
16665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16666         ifunc-impl-list.c
16667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16668         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16669         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16670         file.
16672 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16675         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16676         __getdirentries.
16678 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16679             Jim Blandy  <jimb@codesourcery.com>
16681         * scripts/cross-test-ssh.sh: New file.
16682         * manual/install.texi (Configuring and compiling): Document use of
16683         cross-test-ssh.sh.
16684         * INSTALL: Regenerated.
16686 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16688         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16689         EOPNOTSUPP.
16691 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16693         * Makeconfig (run-program-prefix): Fix comment.
16695 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16696             Jim Blandy  <jimb@codesourcery.com>
16698         * Makeconfig (test-wrapper): New variable,
16699         (test-wrapper-env): Likewise.
16700         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16701         (run-built-tests): Define to yes.
16702         (run-program-prefix): Use $(test-wrapper).
16703         (built-program-cmd): Likewise.
16704         * Rules (make-test-out): Use $(test-wrapper-env) and
16705         $(host-built-program-cmd).
16706         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16707         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16708         tst-pathopt.sh.
16709         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16710         $(test-wrapper-env) to tst-rtld-load-self.sh.
16711         ($(objpfx)order2.out): Use $(test-wrapper).
16712         ($(objpfx)tst-initorder.out): Likewise.
16713         ($(objpfx)tst-initorder2.out): Likewise.
16714         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16715         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16716         (test_wrapper_env): New variable.  Use it to run ld.so.
16717         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16718         Use it to run ld.so.
16719         (test_wrapper_env): Likewise.
16720         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16721         $(test-wrapper) to run-iconv-test.sh.
16722         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16723         (ICONV): Use $test_wrapper.
16724         * posix/Makefile ($(objpfx)globtest.out): Pass
16725         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16726         globtest.sh, not $(run-program-prefix).
16727         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16728         (test_wrapper): Likewise.
16729         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16730         set together with run_via_rtld_prefix.
16731         (run_program_prefix): Define in terms of test_wrapper and
16732         run_via_rtld_prefix.
16734 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16736         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16737         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16738         Targets removed.
16740         [BZ #14743]
16741         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16742         Declare __clock_getres, __clock_gettime, __clock_settime,
16743         __clock_nanosleep, and __clock_getcpuclockid.
16744         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16745         Remove librt_hidden_def (clock_gettime).
16746         * sysdeps/unix/clock_gettime.c: Likewise.
16747         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16749         * rt/clock_getres.c: Define __clock_getres as an alias.
16750         * sysdeps/posix/clock_getres.c: Likewise.
16751         * rt/clock_settime.c: Define __clock_settime as an alias.
16752         * sysdeps/unix/clock_settime.c: Likewise.
16753         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16754         * sysdeps/unix/clock_nanosleep.c: Likewise.
16755         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16756         * rt/clock-compat.c: New file.
16757         * rt/Makefile (librt-routines): Add clock-compat and move
16758         $(clock-routines) to ...
16759         (routines): ... here, new variable.
16760         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16761         Don't add get_clockfreq here.
16762         * rt/Versions (libc: GLIBC_2.17): New version set.
16763         Add clock_* symbols here.
16764         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16766         (GLIBC_2.17): Add clock_* symbols.
16767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16771         Likewise.
16772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16773         Likewise.
16774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16778         * NEWS: Mention the move.
16780         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16781         Use __open, __read, __close rather than their public counterparts.
16782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16783         (__get_clockfreq_via_cpuinfo): Likewise.
16784         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16785         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16787         * config.h.in (HAVE_IFUNC): New #undef.
16788         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16789         was successful.
16790         * configure: Regenerated.
16792 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16794         * configure.in: Move READELF check to start of file.
16795         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16796         libc_cv_asm_gnu_indirect_function in the process.
16797         * configure: Regenerated.
16799 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16801         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16802         send the output to /dev/null.
16803         (libc_cv_cc_with_libunwind): Likewise.
16804         (libc_cv_as_noexecstack): Likewise.
16805         * configure: Regenerate.
16807 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16809         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16811         * posix/globtest.sh (TMPDIR): Do not set.
16812         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16813         (testout): Likewise.
16815 2012-10-24  Andreas Jaeger  <aj@suse.de>
16817         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16818         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16819         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16820         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16821         posix_fadvise64, posix_fallocate64.
16823         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16824         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16825         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16826         Likewise.
16827         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16828         Likewise.
16829         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16832         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16833         <bits/fcntl-linux.h>.
16834         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16837         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16838         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16839         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16840         [__WORDSIZE != 64]: Likewise.
16842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16844         * Makeconfig (run-built-tests): New variable.
16845         * Rules [$(cross-compiling) = yes]: Change condition to
16846         [$(run-built-tests) = no].
16847         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16848         to [$(run-built-tests) = yes].
16849         * elf/Makefile [$(cross-compiling) = no]: Likewise
16850         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16851         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16852         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16853         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16854         * io/Makefile [$(cross-compiling) = no]: Likewise.
16855         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16856         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16857         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16858         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16859         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16860         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16861         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16862         * string/Makefile [$(cross-compiling) = no]: Likewise.
16864         * posix/Makefile ($(objpfx)globtest.out): Pass
16865         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16866         $(rtld-installed-name).
16867         * posix/globtest.sh (elf_objpfx): Remove variable.
16868         (rtld_installed_name): Likewise.
16869         (library_path): Likewise.
16870         (run_program_prefix): New variable.  Use for running globtest
16871         binary.
16873 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16874             Joseph Myers  <joseph@codesourcery.com>
16876         * Makeconfig (host-built-program-cmd): New variable.
16877         * elf/Makefile (tst-stackguard1-ARGS): Use
16878         $(host-built-program-cmd).
16879         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16880         (tst-spawn-ARGS): Likewise.
16881         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16883 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16884             Jim Blandy  <jimb@codesourcery.com>
16886         * Makeconfig (run-via-rtld-prefix): New variable.
16887         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16888         (built-program-cmd): Likewise.
16890 2012-10-22  Andreas Jaeger  <aj@suse.de>
16892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16893         __O_RSYNC if it exists, otherwise to O_SYNC.
16895 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16896             Joseph Myers  <joseph@codesourcery.com>
16898         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16899         /dev/null.
16900         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16901         from /dev/null
16902         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16903         /dev/null.
16905 2012-10-22  Andreas Jaeger  <aj@suse.de>
16907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16908         Define always.
16909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16912         bits/fcntl-linux.h.
16914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16915         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16918         to __O_LARGEFILE.
16919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16920         to __O_LARGEFILE.
16922 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16923             Joseph Myers  <joseph@codesourcery.com>
16925         * config.make.in (NM): New variable.
16927 2012-10-21  Andreas Jaeger  <aj@suse.de>
16929         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16930         definitions and declarations that are provided by
16931         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16933 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16935         [BZ #14683]
16936         * elf/Makefile (tests-static): Add tst-leaks1-static.
16937         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16938         ($(objpfx)tst-leaks1-static): New rule.
16939         ($(objpfx)tst-leaks1-static-mem): Likewise.
16940         (tst-leaks1-static-ENV): New macro.
16941         * elf/dl-open.c (dl_open_worker): Check the main application
16942         only if SHARED is defined.
16943         * elf/tst-leaks1-static.c: New file.
16945 2012-10-20  Andreas Jaeger  <aj@suse.de>
16947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16948         generic values for Linux.
16949         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16950         and declarations that are provided by <bits/fcntl-linux.h> and
16951         include <bits/fcntl-linux.h>.
16952         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16955 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16957         * io/fcntl.h: Move include of <bits/types.h> to the top and
16958         include it unconditionally.
16960 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16962         * wcsmbs/Makefile (tests-ifunc): New variable.
16963         (tests): Add $(tests-ifunc).
16964         * wcsmbs/test-wcschr-ifunc.c: New file.
16965         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16966         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16967         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16968         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16969         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16971         * string/Makefile (tests-ifunc): New variable.
16972         (tests): Add $(tests-ifunc).
16973         * string/test-memccpy.c (TEST_NAME): New macro.
16974         * string/test-memchr.c (TEST_NAME): Likewise.
16975         * string/test-memcmp.c (TEST_NAME): Likewise.
16976         * string/test-memcpy.c (TEST_NAME): Likewise.
16977         * string/test-memmem.c (TEST_NAME): Likewise.
16978         * string/test-memmove.c (TEST_NAME): Likewise.
16979         * string/test-memset.c (TEST_NAME): Likewise.
16980         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16981         * string/test-stpcpy.c (TEST_NAME): Likewise.
16982         * string/test-stpncpy.c (TEST_NAME): Likewise.
16983         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16984         * string/test-strcasestr.c (TEST_NAME): Likewise.
16985         * string/test-strcat.c (TEST_NAME): Likewise.
16986         * string/test-strchr.c (TEST_NAME): Likewise.
16987         * string/test-strcmp.c(TEST_NAME): Likewise.
16988         * string/test-strcpy.c (TEST_NAME): Likewise.
16989         * string/test-strcspn.c (TEST_NAME): Likewise.
16990         * string/test-strlen.c (TEST_NAME): Likewise.
16991         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16992         * string/test-strncmp.c (TEST_NAME): Likewise.
16993         * string/test-strncpy.c (TEST_NAME): Likewise.
16994         * string/test-strnlen.c (TEST_NAME): Likewise.
16995         * string/test-strpbrk.c (TEST_NAME): Likewise.
16996         * string/test-strrchr.c (TEST_NAME): Likewise.
16997         * string/test-strspn.c (TEST_NAME): Likewise.
16998         * string/test-strstr.c (TEST_NAME): Likewise.
16999         * string/test-bcopy-ifunc.c: New file.
17000         * string/test-bzero-ifunc.c: Likewise.
17001         * string/test-memccpy-ifunc.c: Likewise.
17002         * string/test-memchr-ifunc.c: Likewise.
17003         * string/test-memcmp-ifunc.c: Likewise.
17004         * string/test-memcpy-ifunc.c: Likewise.
17005         * string/test-memmem-ifunc.c: Likewise.
17006         * string/test-memmove-ifunc.c: Likewise.
17007         * string/test-mempcpy-ifunc.c: Likewise.
17008         * string/test-memset-ifunc.c: Likewise.
17009         * string/test-rawmemchr-ifunc.c: Likewise.
17010         * string/test-stpcpy-ifunc.c: Likewise.
17011         * string/test-stpncpy-ifunc.c: Likewise.
17012         * string/test-strcasecmp-ifunc.c: Likewise.
17013         * string/test-strcasestr-ifunc.c: Likewise.
17014         * string/test-strcat-ifunc.c: Likewise.
17015         * string/test-strchr-ifunc.c: Likewise.
17016         * string/test-strchrnul-ifunc.c: Likewise.
17017         * string/test-strcmp-ifunc.c: Likewise.
17018         * string/test-strcpy-ifunc.c: Likewise.
17019         * string/test-strcspn-ifunc.c: Likewise.
17020         * string/test-strlen-ifunc.c: Likewise.
17021         * string/test-strncasecmp-ifunc.c: Likewise.
17022         * string/test-strncat-ifunc.c: Likewise.
17023         * string/test-strncmp-ifunc.c: Likewise.
17024         * string/test-strncpy-ifunc.c: Likewise.
17025         * string/test-strnlen-ifunc.c: Likewise.
17026         * string/test-strpbrk-ifunc.c: Likewise.
17027         * string/test-strrchr-ifunc.c: Likewise.
17028         * string/test-strspn-ifunc.c: Likewise.
17029         * string/test-strstr-ifunc.c: Likewise.
17031         * debug/Makefile (tests-ifunc): New variable.
17032         (tests): Add $(tests-ifunc).
17033         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17034         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17035         * debug/test-stpcpy_chk-ifunc.c: New file.
17036         * debug/test-strcpy_chk-ifunc.c: Likewise.
17038 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040         [BZ #13601]
17041         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17042         header is not read in.
17044 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17046         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17047         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17048         directly.  Pass built executable to script as
17049         $(built-program-cmd).
17050         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17051         $testprogram without using LD_LIBRARY_PATH and $ldso.
17053         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17054         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17055         $(rtld-installed-name).
17056         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17057         (rtld_installed_name): Likewise.
17058         (library_path): Likewise.
17059         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17060         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17061         $(run-program-prefix) to tst-tables.sh.
17062         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17063         it to run tst-table-from and tst-table-to.
17064         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17065         Pass it to tst-table.sh.
17066         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17067         $(run-program-prefix) to tst-gettext.sh.
17068         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17069         tst-translit.sh.
17070         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17071         tst-gettext2.sh.
17072         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17073         to run tst-gettext.
17074         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17075         to run tst-gettext2.
17076         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17077         to run tst-translit.
17078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17079         $(run-program-prefix) to tst-mtrace.sh.
17080         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17081         to run tst-mtrace.
17082         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17083         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17084         $(rtld-installed-name).
17085         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17086         (rtld_installed_name): Likewise.
17087         (run_program_prefix): New variable.  Use it to run wordexp-test.
17089         * Makeconfig (ARCH): Remove all definitions.
17090         (machine): Likewise.
17091         [ARCH]: Remove conditional code.
17092         [!objdir]: Give error.
17093         [!objdir] (objpfx): Remove.
17094         [!objdir] (common-objpfx): Likewise.
17095         [!objdir] (common-objdir): Likewise.
17096         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17097         AC_CONFIG_FILES call.
17098         * configure: Regenerated.
17100         [BZ #13888]
17101         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17102         or TMPDIR.
17103         (testout): Likewise.
17105         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17106         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17107         $(rtld-installed-name).
17108         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17109         (rtld_installed_name): Likwise.
17110         (runit): Remove function.
17111         (run_getconf): New variable,  Use it for running getconf binary.
17113 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17115         [BZ #14716]
17116         * string/test-memmem.c (check_result): New function.
17117         (do_one_test): Use it.
17118         (check1): New function.
17119         (test_main): Use it.
17121 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17123         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17125 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17127         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17128         (_G_LSEEK64): Likewise.
17129         (_G_MMAP64): Likewise.
17130         (_G_FSTAT64): Likewise.
17131         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17132         (_G_LSEEK64): Likewise.
17133         (_G_MMAP64): Likewise.
17134         (_G_FSTAT64): Likewise.
17135         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17136         unconditional.  Call __mmap64 directly.
17137         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17138         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17139         __lseek64 directly.
17140         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17141         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17142         __mmap64 directly.
17143         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17144         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17145         __lseek64 directly.
17146         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17147         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17148         __lseek64 directly.
17149         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17150         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17151         __lseek64 directly.
17152         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17153         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17154         __fxstat64 directly.
17155         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17156         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17157         unconditional.
17158         (freopen64) [!_G_OPEN64]: Remove conditional code.
17159         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17160         unconditional.
17161         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17162         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17163         unconditional.
17164         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17165         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17166         unconditional.
17167         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17168         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17169         unconditional.
17170         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17171         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17172         unconditional.
17173         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17174         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17175         unconditional.
17176         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17177         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17178         unconditional.
17179         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17181 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17183         [BZ #12140]
17184         * manual/memory.texi (Malloc Tunable Parameters): Add note
17185         about free list pointers overwriting some perturb bytes.
17186         Wording suggested by Roland McGrath.
17188 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17190         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17191         (lgamma_test): Likewise.
17192         (tgamma_test): Likewise.
17194 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17196         [BZ #14700]
17197         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17198         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17200 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17202         * NEWS: Mention BZ #14716.
17203         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17204         when removing AVAILABLE1_USES_J macro.
17206 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17208         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17209         (__bswap_64): __uint64_t for unsigned 64-bit int.
17211 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17213         * include/string.h (memmem): Declare libc hidden alias.
17214         * string/memmem.c (memmem): Define libc hidden alias.
17215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17216         __read, __close instead of open, read, close.
17218 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17221         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17222         global and hidden.
17223         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17224         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17225         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17226         Likewise.
17227         (__rawmemchr_sse2): Likewise.
17228         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17229         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17230         (__strchr_sse2): Likewise.
17231         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17232         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17233         (__strcasecmp_sse2): Likewise.
17234         (__strncasecmp_sse2): Likewise.
17235         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17236         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17237         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17238         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17239         (__strrchr_sse2): Likewise.
17240         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17241         ifunc-impl-list.c.
17242         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17243         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17244         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17245         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17250         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17251         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17252         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17253         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17254         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17255         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17256         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17258         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17259         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17260         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17261         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17262         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17263         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17264         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17265         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17266         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17267         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17268         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17269         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17270         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17271         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17273         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17274         global and hidden.
17275         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17276         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17277         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17278         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17279         Likewise.
17280         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17281         Likewise.
17282         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17283         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17284         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17285         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17286         ifunc-impl-list.c.
17287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17288         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17296         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17297         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17298         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17299         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17300         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17301         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17303         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17304         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17305         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17306         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17307         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17308         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17309         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17310         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17313         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17314         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17315         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17316         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17317         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17318         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17319         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17320         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17321         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17322         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17323         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17324         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17325         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17329         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17330         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17331         * include/ifunc-impl-list.h: New file.
17332         * misc/ifunc-impl-list.c: Likewise.
17333         * misc/Makefile (routines): Add ifunc-impl-list.
17334         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17335         * string/test-string.h: Include <ifunc-impl-list.h>.
17336         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17337         impl_array): New variables.
17338         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17339         are defined.
17340         (test_init): Call __libc_ifunc_impl_list to initialize
17341         func_list if TEST_IFUNC and TEST_NAME are defined.
17343         * string/Makefile (strop-tests): Add bcopy and bzero.
17344         * string/test-bcopy.c: New file.
17345         * string/test-bzero.c: Likewise.
17346         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17347         defined.
17348         * string/test-memset.c: Support bzero test if TEST_BZERO is
17349         defined.
17350         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17351         __libc_memmove.
17352         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17353         __libc_memset.
17354         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17355         of memset.
17357 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17359         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17360         * configure: Regenerated.
17362         * Makeconfig (+link-static-before-libc): Don't include
17363         $(link-static-libc).
17365         * libio/libio.h (_IO_pos_t): Remove.
17367 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17369         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17370         McGrath.
17372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17374         * crypt/crypt-entry.c: Include fips-private.h.
17375         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17376         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17377         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17378         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17380 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17382         * crypt/crypt-private.h: Include stdbool.h.
17383         (_ufc_setup_salt_r): Return bool.
17384         * crypt/crypt-entry.c: Include errno.h.
17385         (__crypt_r): Return NULL with EINVAL for bad salt.
17386         * crypt/crypt_util.c (bad_for_salt): New.
17387         (_ufc_setup_salt_r): Check that salt is long enough and within
17388         the specified alphabet.
17389         * crypt/badsalttest.c: New file.
17390         * crypt/Makefile (tests): Add it.
17391         ($(objpfx)badsalttest): New.
17393 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17395         * NEWS: Add entry for BZ #14602.
17397 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17399         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17400         type-generic.
17401         * math/libm-test.inc: Update comment listing what functions and
17402         macros are tested.
17403         (isgreater_test): New function.
17404         (isgreaterequal_test): Likewise.
17405         (isless_test): Likewise.
17406         (islessequal_test): Likewise.
17407         (islessgreater_test): Likewise.
17408         (isunordered_test): Likewise.
17409         (main): Call the new functions.
17411 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17413         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17414         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17415         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17416         * sysdeps/i386/configure: Regenerated.
17417         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17418         * sysdeps/mach/configure: Regenerated.
17419         * sysdeps/mach/hurd/configure: Regenerated.
17420         * sysdeps/powerpc/configure: Regenerated.
17421         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17422         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17423         * sysdeps/s390/s390-32/configure: Regenerated.
17424         * sysdeps/s390/s390-64/configure: Regenerated.
17425         * sysdeps/sh/configure: Regenerated.
17426         * sysdeps/sparc/configure: Regenerated.
17427         * sysdeps/unix/sysv/linux/configure: Regenerated.
17428         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17429         * sysdeps/x86_64/configure: Regenerated.
17431         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17432         defined.  Don't check if MAP is NULL.
17434 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17436         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17437         (_G_stat64): Likewise.
17438         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17439         (_G_stat64): Likewise.
17440         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17441         instead of struct _G_stat64.
17442         * libio/fileops.c (mmap_remap_check): Likewise.
17443         (decide_maybe_mmap): Likewise.
17444         (_IO_new_file_seekoff): Likewise.
17445         (_IO_file_stat): Likewise.
17446         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17447         _G_off64_t.
17448         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17449         instead of struct _G_stat64.
17450         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17452 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17454         [BZ #14602]
17455         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17456         Replace with ...
17457         (CHECK_EOL): New macro.
17458         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17459         CHECK_EOL.
17460         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17461         Replace with CHECK_EOL.
17462         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17463         Replace with CHECK_EOL.
17465 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17467         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17468         type-generic.
17469         * math/libm-test.inc: Update comment listing what functions and
17470         macros are tested.
17471         (finite_test): New function.
17472         (isinf_test): Likewise.
17473         (isnan_test): Likewise.
17474         (fpclassify_test): Test subnormal input.
17475         (isfinite_test): Likewise.
17476         (isnormal_test): Likewise.
17477         (main): Call the new functions.
17479 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17481         [BZ #14660]
17482         * Makerules (%.dynsym): Force C locale when running
17483         $(OBJDUMP) --dynamic-syms.
17485 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17487         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17488         <stdint.h>.
17490 2012-10-06  David S. Miller  <davem@davemloft.net>
17492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17493         upper 32-bits of the length value in %o2 since we use branch-on-register
17494         tests which consider the entire 64-bit register.
17496 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17498         * string/test-strstr.c (check2): Add a test for page boundary.
17500 2012-10-05  David S. Miller  <davem@davemloft.net>
17502         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17503         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17504         file.
17505         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17506         sysdep_routines.
17507         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17508         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17509         and bzero when HWCAP_SPARC_CRYPTO is present.
17511 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17513         [BZ #14602]
17514         * string/test-strstr.c (check2): New function.
17515         (test_main): Call check2.
17517         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17518         and bug-strchr1.
17519         * string/bug-strcasestr1.c (do_test): Moved to ...
17520         * string/test-strcasestr.c (check1): Here.  New function.
17521         (do_one_test): Break out result checking code into ...
17522         (check_result): This.  New function.
17523         (do_one_test): Call check_result.
17524         (test_main): Call check1.
17525         * string/bug-strchr1.c (do_test): Moved to ...
17526         * string/test-strchr.c (check1): Here.  New function.
17527         (do_one_test): Break out result checking code into ...
17528         (check_result): This.  New function.
17529         (do_one_test): Call check_result.
17530         (test_main): Call check1.
17531         * string/bug-strstr1.c (main): Moved to ...
17532         * string/test-strstr.c (check1): Here.  New function.
17533         (do_one_test): Break out result checking code into ...
17534         (check_result): This.  New function.
17535         (do_one_test): Call check_result.
17536         (test_main): Call check1.
17537         * string/bug-strcasestr1.c: Removed.
17538         * string/bug-strchr1.c: Likewise.
17539         * string/bug-strstr1.c: Likewise.
17541         * elf/Makefile (dl-routines): Add hwcaps.
17542         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17543         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17544         (_dl_important_hwcaps): Moved to ...
17545         * elf/dl-hwcaps.c: Here.  New file.
17546         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17548         [BZ #14557]
17549         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17550         if IS_IN_rtld isn't defined.
17552         * elf/dl-support.c (_dl_sysinfo_map): New.
17553         Include "get-dynamic-info.h" and "setup-vdso.h".
17554         (_dl_non_dynamic_init): Call setup_vdso.
17555         * elf/dynamic-link.h: Don't include <assert.h>.
17556         (elf_get_dynamic_info): Moved to ...
17557         * elf/get-dynamic-info.h: Here.  New file.
17558         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17559         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17560         * elf/setup-vdso.h: Here.  New file.
17561         * elf/rtld.c: Include "setup-vdso.h".
17562         (dl_main): Call setup_vdso.
17564 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17566         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17567         creal in comment listing functions tested.  List finite, isinf,
17568         isnan, isless, islessequal, isgreater, isgreaterequal,
17569         islessgreater, isunordered, lgamma_r and pow10 as functions and
17570         macros not tested.  Mention which functions not tested are aliases
17571         for other functions.  Fix typo.  Note that signs of NaNs are not
17572         tested.
17574         * scripts/config.guess: Update from config.git.
17575         * scripts/config.sub: Likewise.
17577 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17579         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17580         * misc/madvise.c (madvise): Renamed to __madvise.
17581         Make madvise a weak alias.
17582         * include/sys/mman.h: Declare __madvise.
17583         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17584         * sysdeps/unix/syscalls.list
17585         (madvise): Make __madvise the strong name, and madvise a weak alias.
17586         * sysdeps/unix/sysv/linux/syscalls.list
17587         (madvise, mmap): Remove redundant entries.
17588         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17589         * malloc/malloc.c (mtrim): Likewise.
17590         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17592 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17594         * sysdeps/mach/hurd/dl-cache.c: File removed.
17595         * config.h.in (USE_LDCONFIG): New #undef.
17596         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17597         * configure: Regenerated.
17598         * elf/Makefile (dl-routines): Add dl-cache only under
17599         [$(use-ldconfig) = yes].
17600         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17601         cache on [USE_LDCONFIG].
17602         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17603         [USE_LDCONFIG].
17604         * elf/rtld.c (dl_main): Likewise.
17606 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17608         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17609         _SC_LEVEL4_CACHE_LINESIZE.
17611 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17613         * sysdeps/unix/bsd/confstr.h: File removed.
17615 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17617         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17618         sys/sdt-config.h.
17620 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17622         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17623         Make 'mapoff' field ElfW(Off) rather than off_t.
17625 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17627         * nscd/Makefile: Remove nscd-cflags and all its users.
17628         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17629         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17631         [BZ #10631]
17632         * malloc.c (malloc_printerr): Clarify error message.
17634 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17636         [BZ #14648]
17637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17638         Set bit_FMA_Usable if FMA is supported.
17639         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17640         macro.
17641         (bit_FMA4_Usable): Updated.
17642         (index_FMA_Usable): New macro.
17643         (CPUID_FMA): Likewise
17644         (HAS_FMA): Defined with bit_FMA_Usable.
17646 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17648         * bits/types.h (__swblk_t): Type removed.
17649         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17650         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17652         (__SWBLK_T_TYPE): Likewise.
17653         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17654         (__SWBLK_T_TYPE): Likewise.
17655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17656         (__SWBLK_T_TYPE): Likewise.
17657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17658         (__SWBLK_T_TYPE): Likewise.
17660 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17661             Honza Horak <hhorak@redhat.com>
17663         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17664         (xdr_mapname): Use YPMAXMAP as maxsize.
17665         (xdr_peername): Use YPMAXPEER as maxsize.
17666         (xdr_keydat): Use YPAXRECORD as maxsize.
17667         (xdr_valdat): Use YPMAXRECORD as maxsize.
17669 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17671         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17673         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17674         * csu/init-first.c: ... here.
17675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17676         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17678         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17679         * sysdeps/i386/init-first.c: File removed.
17680         * sysdeps/sh/init-first.c: File removed.
17682 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17684         [BZ #14645]
17685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17686         if x * y might underflow to zero and z is zero.
17687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17689         * math/libm-test.inc (min_subnorm_value): New variable.
17690         (fma_test): Add more tests.
17691         (fma_test_towardzero): Likewise.
17692         (fma_test_downward): Likewise
17693         (fma_test_upward): Likewise.
17694         (initialize): Set min_subnorm_value.
17696 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17698         [BZ #14638]
17699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17700         0 + 0.
17701         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17702         mode for addition resulting in exact zero.
17703         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17705         exact 0 + 0.
17706         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17707         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17708         * math/libm-test.inc (fma_test): Add more tests.
17709         (fma_test_towardzero): New function.
17710         (fma_test_downward): Likewise.
17711         (fma_test_upward): Likewise.
17712         (main): Call the new functions.
17714 2012-09-28  David S. Miller  <davem@davemloft.net>
17716         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17718 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17720         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17721         instead of SIGALRM.
17723         * sysdeps/gnu/_G_config.h: Moved to ...
17724         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17725         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17726         * sysdeps/generic/_G_config.h: ... here.
17728         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17730         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17732         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17733         Conditionalize target on [libnss_test1.so-version].
17735         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17737         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17738         (elfobjdir): Move out of conditionals.
17740         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17741         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17742         (__nss_lookup_function): Conditionalize label remove_from_tree on
17743         [!DO_STATIC_NSS || SHARED], matching its only use.
17745 2012-09-28  David S. Miller  <davem@davemloft.net>
17747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17748         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17749         file.
17750         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17751         sysdep_routines.
17752         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17754         when HWCAP_SPARC_CRYPTO is present.
17756 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17758         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17760 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17762         [BZ #6530]
17763         * stdio-common/vfprintf.c (process_string_arg): Revert
17764         2000-07-22 change.
17766 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17768         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17769         for testcase.
17770         * stdio-common/tst-sprintf.c: Include <locale.h>
17771         (main): Test sprintf's handling of incomplete multibyte
17772         characters.
17774 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17776         * elf/dl-runtime.c (VERSYMIDX): Removed.
17777         * elf/dl-version.c (VERSYMIDX): Likewise.
17778         * elf/do-rel.h (VERSYMIDX): Likewise.
17779         (VALIDX): Likewise.
17780         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17781         * elf/rtld.c (VALIDX): Likewise.
17782         (ADDRIDX): Likewise.
17783         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17784         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17785         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17786         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17787         (VALIDX): Likewise.
17788         (ADDRIDX): Likewise.
17790 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17792         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17794 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17796         [BZ #11438]
17797         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17798         to global scope.
17799         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17800         addresses are in the same scope as 192.0.2/24.
17801         * posix/gai.conf: Document new scope table defaults.
17803 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805         [BZ #5298]
17806         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17807         for ftell.  Compute offsets from write pointers instead.
17808         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17810 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17812         [BZ #14543]
17813         * libio/Makefile (tests): New test case tst-fseek.
17814         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17815         combination works in wide mode.
17816         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17817         state when the external buffer state changes.
17819 2012-09-27  David S. Miller  <davem@davemloft.net>
17821         [BZ #14376]
17822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17823         pass reloc->r_addend in as the 'high' argument to
17824         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17828 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17830         * rt/tst-aio2.c: Include <pthread.h>.
17831         * rt/tst-aio3.c: Likewise.
17833 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17835         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17837 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17839         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17840         contents on [SHARED].
17842 2012-09-26  Marek Polacek  <polacek@redhat.com>
17844         [BZ #14530]
17845         [BZ #13741]
17846         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17847         for C++ and GCC <4.3 as well as for non GCC compilers.
17849 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17853 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17855         * Makefile.in (all, install): Declare with .PHONY.
17856         Reported by Michael Hope <michael.hope@linaro.org>.
17858 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17860         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17861         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17862         system header.
17863         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17864         Likewise.
17865         (sydep_routines): Add the new and the internal functions.
17866         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17867         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17869         (GLIBC_2.17): Add the new function.
17870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17871         (GLIBC_2.17): Likewise.
17872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17873         (GLIBC_2.17): Likewise.
17874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17875         (GLIBC_2.17): Likewise.
17876         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17878 2012-09-25  Alan Modra  <amodra@gmail.com>
17880         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17881         Add release barrier before setting once_control to say
17882         initialisation is done.  Add hints on lwarx.  Use macro in
17883         place of isync.
17884         (clear_once_control): Add release barrier.
17886 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #13629]
17889         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17890         specially.
17891         * math/s_clog10.c (__clog10): Likewise.
17892         * math/s_clog10f.c (__clog10f): Likewise.
17893         * math/s_clog10l.c (__clog10l): Likewise.
17894         * math/s_clogf.c (__clogf): Likewise.
17895         * math/s_clogl.c (__clogl): Likewise.
17896         * math/Makefile (libm-calls): Add x2y2m1.
17897         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17898         (__x2y2m1): Likewise.
17899         (__x2y2m1l): Likewise.
17900         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17901         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17902         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17903         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17904         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17905         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17906         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17907         * sysdeps/i386/fpu/libm-test-ulps: Update.
17908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17910         [BZ #14621]
17911         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17912         int as type of variable DEPTH.
17913         (glob): Use size_t instead of int as type of variables NEWCOUNT
17914         and OLD_PATHC.
17916 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17918         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17919         Add s_sincosf-sse2.
17920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17921         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17922         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17923         macros for using routine as __sincosf_ia32.
17924         Use macro for function declaration and weak_alias.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17927         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17930         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17931         subnormal argument.
17932         * math/s_cexpf.c (__cexpf): Likewise.
17933         * math/s_csinf.c (__csinf): Likewise.
17934         * math/s_csinhf.c (__csinhf): Likewise.
17935         * math/s_ctanf.c (__ctanf): Likewise.
17936         * math/s_ctanhf.c (__ctanhf): Likewise.
17937         * math/s_ccosh.c (__ccoshf): Likewise.
17938         * math/s_cexp.c (__cexpl): Likewise.
17939         * math/s_csin.c (__csin): Likewise.
17940         * math/s_csinh.c (__csinh): Likewise.
17941         * math/s_ctan.c (__ctan): Likewise.
17942         * math/s_ctanh.c (ctanh): Likewise.
17943         * math/s_ccoshl.c (__ccoshl): Likewise.
17944         * math/s_cexpl.c (__cexpl): Likewise.
17945         * math/s_csinl.c (__csinl): Likewise.
17946         * math/s_csinhl.c (__csinhl): Likewise.
17947         * math/s_ctanl.c (__ctanl): Likewise.
17948         * math/s_ctanhl.c (__ctanhl): Likewise.
17950 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17952         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17953         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17954         (_IO_off_t): Define to __off_t, not _G_off_t.
17955         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17956         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17957         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17958         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17959         type of __dummy and __dummy2 fields.
17960         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17961         (_G_ssize_t): Likewise.
17962         (_G_off_t): Likewise.
17963         (_G_pid_t): Likewise.
17964         (_G_uid_t): Likewise.
17965         (_G_wchar_t): Likewise.
17966         (_G_wint_t): Likewise.
17967         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17968         (_G_ssize_t): Likewise.
17969         (_G_off_t): Likewise.
17970         (_G_pid_t): Likewise.
17971         (_G_uid_t): Likewise.
17972         (_G_wchar_t): Likewise.
17973         (_G_wint_t): Likewise.
17974         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17975         (_G_ssize_t): Likewise.
17976         (_G_off_t): Likewise.
17977         (_G_pid_t): Likewise.
17978         (_G_uid_t): Likewise.
17979         (_G_wchar_t): Likewise.
17980         (_G_wint_t): Likewise.
17982 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17984         * malloc/arena.c: Include malloc-sysdep.h.
17985         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17986         is sufficient to shrink the heap or an unmap is needed.
17987         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17988         new function check_may_shrink_heap.
17989         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17990         new function check_may_shrink_heap.
17992 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17994         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17995         comments.
17997 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17999         * catgets/test-gencat.sh: Add "set -e".
18000         * elf/tst-pathopt.sh: Likewise.
18001         * grp/tst_fgetgrent.sh: Likewise.
18002         * iconvdata/run-iconv-test.sh: Likewise.
18003         * intl/tst-gettext.sh: Likewise.
18004         * intl/tst-gettext2.sh: Likewise.
18005         * intl/tst-gettext4.sh: Likewise.
18006         * intl/tst-gettext6.sh: Likewise.
18007         * intl/tst-translit.sh: Likewise.
18008         * io/ftwtest-sh: Likewise.
18009         * libio/test-freopen.sh: Likewise.
18010         * malloc/tst-mtrace.sh: Likewise.
18011         * posix/globtest.sh: Likewise.
18012         * posix/tst-getconf.sh: Likewise.
18013         * posix/wordexp-tst.sh: Likewise.
18014         * stdio-common/tst-printf.sh: Likewise.
18015         * stdio-common/tst-unbputc.sh: Likewise.
18016         * stdlib/tst-fmtmsg.sh: Likewise.
18017         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18018         * catgets/Makefile: Do not specify -e option when running
18019         testsuite shell scripts.
18020         * elf/Makefile: Likewise.
18021         * grp/Makefile: Likewise.
18022         * iconvdata/Makefile: Likewise.
18023         * intl/Makefile: Likewise.
18024         * io/Makefile: Likewise.
18025         * libio/Makefile: Likewise.
18026         * malloc/Makefile: Likewise.
18027         * posix/Makefile: Likewise.
18028         * stdio-common/Makefile: Likewise.
18029         * stdlib/Makefile: Likewise.
18030         * sysdeps/x86_64/Makefile: Likewise.
18032         * io/ftwtest-sh: Add copyright header.
18033         * posix/globtest.sh: Likewise.
18034         * posix/tst-getconf.sh: Likewise.
18035         * posix/wordexp-tst.sh: Likewise.
18036         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18038 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18040         [BZ #13679]
18041         * Makeconfig (+link): Defined as $(+link-static) if
18042         $(build-shared) isn't yes.
18043         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18044         isn't yes.
18045         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18047         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18049         [BZ #14562]
18050         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18051         new chunk size with MALLOC_ALIGN_MASK.
18053 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18055         [BZ #5044]
18056         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18057         <rounding-mode.h>.
18058         (__printf_fphex): Determine rounding using get_rounding_mode and
18059         round_away.
18060         * stdio-common/tst-printf-round.c (struct hex_test): New
18061         structure.
18062         (hex_tests): New variable.
18063         (test_hex_in_one_mode): New function.
18064         (do_test): Also run tests for hex float output.
18066 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18068         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18069         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18070         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18071         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18072         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18073         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18074         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18075         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18077 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18079         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18080         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18081         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18082         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18084 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18086         [BZ #14579]
18087         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18088         mode only.
18089         * elf/tst-rtld-load-self.sh: New test.
18090         * elf/Makefile: Run it.
18092 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18094         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18095         (tst-writev-ENV): Remove.
18096         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18098 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18100         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18102 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18104         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18105         unconditional.
18106         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18107         Likewise.
18108         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18109         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18110         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18111         Likewise.
18113 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18115         [BZ #14587]
18116         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18117         * config.make.in (have-cpp-asm-debuginfo): Removed.
18118         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18119         * configure: Regenerated.
18121 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18123         [BZ #5044]
18124         * stdio-common/printf_fp.c: Include <stdbool.h> and
18125         <rounding-mode.h>.
18126         (___printf_fp): Determine rounding using get_rounding_mode and
18127         round_away.
18128         * stdio-common/tst-printf-round.c: New file.
18129         * stdio-common/Makefile (tests): Add tst-printf-round.
18130         (link-libm): New variable.
18131         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18133 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18135         [BZ #14576]
18136         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18137         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18138         Likewise.
18139         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18140         Likewise.
18142 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18144         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18145         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18146         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18147         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18149 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18151         [BZ #14518]
18152         * include/rounding-mode.h: New file.
18153         * sysdeps/generic/get-rounding-mode.h: Likewise.
18154         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18155         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18156         (MAX_VALUE): New macro.
18157         (MIN_VALUE): Likewise.
18158         (overflow_value): New function.
18159         (underflow_value): Likewise.
18160         (round_and_return): Use overflow_value and underflow_value to
18161         determine return values in overflow and underflow cases.  Use
18162         round_away to determine rounding depending on rounding mode.
18163         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18164         determine return values in overflow and underflow cases.
18165         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18166         (struct test_results): New structure.
18167         (struct test): Use struct test_results to store expected results
18168         for all rounding modes.
18169         (TEST): Include expected results for all rounding modes.
18170         (test_in_one_mode): New function.
18171         (do_test): Use test_in_one_mode to compute and check results.
18172         Check results for all rounding modes.
18173         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18174         $(link-libm).
18176 2012-12-09  Allan McRae  <allan@archlinux.org>
18178         * sysdeps/i386/fpu/libm-test-ulps: Update
18180 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18182         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18183         (_G_int32_t): Likewise.
18184         (_G_uint16_t): Likewise.
18185         (_G_uint32_t): Likewise.
18186         (_G_HAVE_BOOL): Likewise.
18187         (_G_HAVE_ATEXIT): Likewise.
18188         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18189         (_G_HAVE_IO_FILE_OPEN): Likewise.
18190         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18191         (_G_int32_t): Likewise.
18192         (_G_uint16_t): Likewise.
18193         (_G_uint32_t): Likewise.
18194         (_G_HAVE_BOOL): Likewise.
18195         (_G_HAVE_ATEXIT): Likewise.
18196         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18197         (_G_HAVE_IO_FILE_OPEN): Likewise.
18198         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18199         (_G_int32_t): Likewise.
18200         (_G_uint16_t): Likewise.
18201         (_G_uint32_t): Likewise.
18202         (_G_HAVE_BOOL): Likewise.
18203         (_G_HAVE_ATEXIT): Likewise.
18204         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18205         (_G_HAVE_IO_FILE_OPEN): Likewise.
18207 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18209         * csu/libc-tls.c: Update copyright years.
18211 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18213         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18214         [!_G_USING_THUNKS]: Remove conditional code.
18215         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18216         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18218         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18219         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18220         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18221         (_G_VTABLE_LABEL_PREFIX): Likewise.
18222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18223         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18225         (_G_VTABLE_LABEL_PREFIX): Likewise.
18226         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18227         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18228         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18229         (_G_VTABLE_LABEL_PREFIX): Likewise.
18230         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18232 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18234         * libio/Makefile: Include ../Makeconfig before tests.
18235         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18236         only if $(build-shared) is yes.
18238         * iconv/gconv_db.c: Update copyright years.
18240 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18242         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18243         unwind info if defined PIC. Fix special cases description.
18244         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18246         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18247         DP_HI_MASK entry.
18248         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18250 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18252         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18254         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18255         is NULL.
18257         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18258         (LDLIBS-tst-chk4): This.
18259         (LDFLAGS-tst-chk5): Renamed to ...
18260         (LDLIBS-tst-chk5): This.
18261         (LDFLAGS-tst-chk6): Renamed to ...
18262         (LDLIBS-tst-chk6): This.
18263         (LDFLAGS-tst-lfschk4): Renamed to ...
18264         (LDLIBS-tst-lfschk4): This.
18265         (LDFLAGS-tst-lfschk5): Renamed to ...
18266         (LDLIBS-tst-lfschk5): This.
18267         (LDFLAGS-tst-lfschk6): Renamed to ...
18268         (LDLIBS-tst-lfschk6): This.
18270         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18271         on $(common-objpfx)soversions.mk.
18273 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18275         [BZ #10014]
18276         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18277         example host name.
18279 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18281         * malloc/arena.c (arena_get_retry): New function that gets
18282         another arena for the caller to try its request on.
18283         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18284         current arena cannot fulfill the request.
18285         (__libc_memalign): Likewise.
18286         (__libc_memalign): Likewise.
18287         (__libc_pvalloc): Likewise.
18288         (__libc_calloc): Likewise.
18290 2012-09-05  John Tobey  <john.tobey@gmail.com>
18292         [BZ #13542]
18293         * manual/arith.texi (Operations on Complex): Fix description
18294         of carg branch cut.
18296 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18298         [BZ #10014]
18299         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18300         host name.
18302         [BZ #10038]
18303         * manual/memory.texi (Memory): Make order of menu items match
18304         order of sections.
18306 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18308         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18309         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18310         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18314         * csu/libc-tls.c (static_dtv): Renamed to ...
18315         (_dl_static_dtv): This.  Make it global.
18316         (_dl_initial_dtv): Removed.
18317         (__libc_setup_tls): Updated.
18318         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18319         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18320         DL_INITIAL_DTV.
18322 2012-09-06  Petr Machata  <pmachata@redhat.com>
18324         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18325         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18326         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18327         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18331         [BZ #14545]
18332         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18333         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18334         freeing dtv[-1].
18336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18338         [BZ #14544]
18339         * Makeconfig (link-static-before-libc): Replace $(+prector)
18340         with $(+prectorT).
18341         (link-static-after-libc): Replace $(+postctor) with
18342         $(+postctorT).
18343         (link-bounded): Replace $(+prector)/$(+postctor) with
18344         $(+prectorT)/$(+postctorT).
18345         (+prectorT): New macro.
18346         (+postctorT): Likewise.
18348 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18350         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18351         (round_str): Handle values above the maximum for IBM long double
18352         as inexact.
18353         * stdlib/tst-strtod-round.c (tests): Regenerated.
18355 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18357         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18358         assembler flag.
18359         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18360         zarch_nohighgprs around the zarch optimized routines.
18361         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18362         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18363         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18364         for zarch.
18366 2012-09-05  David S. Miller  <davem@davemloft.net>
18368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18370         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18371         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18372         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18374         entries.
18376 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18378         * malloc/arena.c: Fold copyright years.
18379         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18383         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18387         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18389 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18391         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18392         change internal state upon failure.
18394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18396         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18397         * malloc/memusage.c (mmap): Likewise.
18398         (mmap64, mremap): Likewise.  Adjust name in comment.
18400 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18402         * libio/fileops.c: Fix typos in comments.
18403         * libio/oldfileops.c: Likewise.
18404         * libio/wfileops.c: Likewise.
18406 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18408         [BZ #1349]
18409         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18410         (tst-malloc-usable-ENV): Set environment for test case.
18411         * malloc/hooks.c (malloc_check_get_size): New function to get
18412         requested size.
18413         * malloc/malloc.c (musable): Use malloc_check_get_size.
18414         * malloc/tst-malloc-usable.c: New test case.
18416 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18418         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18420 2012-09-05  Allan McRae  <allan@archlinux.org>
18422         [BZ #13966]
18423         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18424         determine header location.
18425         * configure: Regenerated.
18427 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18429         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18430         float format.
18431         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18432         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18433         format.
18434         (test): Regenerate.
18436 2012-09-04  David S. Miller  <davem@davemloft.net>
18438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18440         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18442 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18444         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18445         failures.
18447         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18449 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18451         [BZ #9914]
18452         * libio/iogetdelim.c: Include <limits.h>.
18453         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18454         + len + 1 would overflow.
18456 2012-09-03  Andreas Jaeger  <aj@suse.de>
18458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18459         * sysdeps/i386/fpu/libm-test-ulps: Update.
18461 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18463         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18464         Add s_sinf-sse2, s_conf-sse2.
18466         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18467         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18468         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18469         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18471         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18472         for using routine as __sinf_ia32.
18473         Use macro for function declaration and weak_alias.
18474         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18475         for using routine as __cosf_ia32.
18476         Use macro for function declaration and weak_alias.
18478         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18479         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18481         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18482         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18485         * math/libm-test.inc (cos_test): Add more test cases.
18486         (sin_test): Likewise.
18487         (sincos_test): Likewise.
18489 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18491         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18492         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18493         hidden.
18494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18496 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18498         [BZ #14538]
18499         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18500         first element of the GOT.
18501         (elf_machine_load_address): Return the difference between
18502         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18504 2012-09-01  Allan McRae  <allan@archlinux.org>
18506         [BZ #13412]
18507         * configure.in (AWK): Require gawk version 3.0 or later.
18508         * configure: Regenerated.
18510 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18512         * sysdeps/unix/sysv/linux/kernel-features.h
18513         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18515         [__NR_clock_getres]: Make code unconditional.
18516         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18517         (clock_getcpuclockid): Remove code left unreachable by removal of
18518         conditionals.
18519         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18520         code unconditional.
18521         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18522         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18523         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18524         Make code unconditional.
18525         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18526         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18527         * sysdeps/unix/sysv/linux/clock_settime.c
18528         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18529         conditional code.
18530         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18531         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18533 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18535         [BZ #14476]
18536         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18537         scripts/test-installation.pl.
18539         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18540         and $ld_so_version if it is set.
18542 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18544         [BZ #14516]
18545         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18546         failure if reading from procfs failed.
18547         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18549 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18551         * sysdeps/unix/sysv/linux/kernel-features.h
18552         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18553         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18554         Remove conditional code.
18555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18556         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18557         Remove conditional code.
18558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18559         * sysdeps/unix/sysv/linux/i386/fxstat.c
18560         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18562         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18563         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18565         * sysdeps/unix/sysv/linux/i386/lxstat.c
18566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18568         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18569         Remove conditional code.
18570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18571         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18572         Remove conditional code.
18573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18574         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18575         <kernel-features.h>.
18576         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18577         Remove.
18578         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18579         Remove conditional code.
18580         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18581         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18582         Remove conditional.
18584 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18586         [BZ #5400]
18587         * NEWS: Add fixed bug number.
18589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18591         [BZ #14519]
18592         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18593         underflowing exponent in case of negative sign.
18594         * stdlib/tst-strtod-round-data: Add more tests.
18595         * stdlib/tst-strtod-round.c (tests): Regenerated.
18597         [BZ #3479]
18598         * stdlib/strtod_l.c (NDIG): Remove.
18599         (HEXNDIG): Likewise.
18600         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18601         smallest representable value.
18602         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18603         lie within an exact representation of 1/2 ulp of the result.
18604         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18605         unconditionally.
18606         (TENS_P9_IDX): Define unconditionally.
18607         (TENS_P9_SIZE): Likewise.
18608         (TENS_P10_IDX): Likewise.
18609         (TENS_P10_SIZE): Likewise.
18610         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18611         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18612         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18613         entries for 10^2^13 and 10^2^14.
18614         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18615         (TENS_P13_IDX): Define.
18616         (TENS_P13_SIZE): Likewise.
18617         (TENS_P14_IDX): Likewise.
18618         (TENS_P14_SIZE): Likewise.
18619         (_fpioconst_pow10): Change array size to
18620         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18621         unconditional.
18622         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18623         1024]: Add entries for 10^2^13 and 10^2^14.
18624         [LAST_POW10 > _LAST_POW10]: Remove #error.
18625         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18626         (_fpioconst_pow10): Change array size to
18627         FPIOCONST_POW10_ARRAY_SIZE.
18628         * stdlib/gen-fpioconst.c: New file.
18629         * stdlib/gen-tst-strtod-round.c: Likewise.
18630         * stdlib/tst-strtod-round-data: Likewise.
18631         * stdlib/tst-strtod-round.c: Likewise.
18632         * stdlib/Makefile (tests): Add tst-strtod-round.
18634         [BZ #14459]
18635         * stdlib/strtod_l.c: Include <stdint.h>.
18636         (NDEBUG): Do not define.
18637         (round_and_return): Change EXPONENT parameter to type intmax_t.
18638         Rearrange calculations to avoid internal overflow possibilities.
18639         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18640         Rearrange calculations to avoid internal overflow possibilities.
18641         Assert that number fits inside MPNSIZE limbs.
18642         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18643         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18644         calculations and add assertions to avoid internal overflow
18645         possibilities.  Add casts to avoid signed/unsigned operations.
18646         * stdlib/tst-strtod-overflow.c: New file.
18647         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18649 2012-08-25  Marek Polacek  <polacek@redhat.com>
18651         * time/time.h: Fix some typos in comments.
18653 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18655         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18656         * posix/tst-rfc3484-2.c: Likewise.
18657         * posix/tst-rfc3484-3.c: Likewise.
18659 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18661         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18662         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18664 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18666         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18667         #include of fxstatat64.c.
18669 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18671         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18672         * shadow/getspent_r.c: Likewise.
18673         * shadow/getspnam.c: Likewise.
18674         * shadow/getspnam_r.c: Likewise.
18675         * gshadow/getsgent.c: Likewise.
18676         * gshadow/getsgent_r.c: Likewise.
18677         * gshadow/getsgnam.c: Likewise.
18678         * gshadow/getsgnam_r.c: Likewise.
18679         * inet/getnetbyad.c: Likewise.
18680         * inet/getnetbyad_r.c: Likewise.
18681         * inet/getnetbynm.c: Likewise.
18682         * inet/getnetbynm_r.c: Likewise.
18683         * inet/getnetent.c: Likewise.
18684         * inet/getnetent_r.c: Likewise.
18685         * inet/getproto.c: Likewise.
18686         * inet/getproto_r.c: Likewise.
18687         * inet/getprtent.c: Likewise.
18688         * inet/getprtent_r.c: Likewise.
18689         * inet/getprtname.c: Likewise.
18690         * inet/getprtname_r.c: Likewise.
18691         * inet/getrpcbyname.c: Likewise.
18692         * inet/getrpcbyname_r.c: Likewise.
18693         * inet/getrpcbynumber.c: Likewise.
18694         * inet/getrpcbynumber_r.c: Likewise.
18695         * inet/getrpcent.c: Likewise.
18696         * inet/getrpcent_r.c: Likewise.
18697         * inet/getaliasent.c: Likewise.
18698         * inet/getaliasent_r.c: Likewise.
18699         * inet/getaliasname.c: Likewise.
18700         * inet/getaliasname_r.c: Likewise.
18701         * nscd/getgrgid_r.c: Likewise.
18702         * nscd/getgrnam_r.c: Likewise.
18703         * nscd/gethstbyad_r.c: Likewise.
18704         * nscd/gethstbynm3_r.c: Likewise.
18705         * nscd/getpwnam_r.c: Likewise.
18706         * nscd/getpwuid_r.c: Likewise.
18707         * nscd/getsrvbynm_r.c: Likewise.
18708         * nscd/getsrvbypt_r.c: Likewise.
18709         * nscd/gai.c: Likewise.
18711         * configure.in (build_nscd): New substituted variable, set
18712         by --disable-build-nscd and defaults to $use_nscd.
18713         * configure: Regenerated.
18714         * config.make.in (build-nscd): New substituted variable.
18715         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18716         Change conditional to require [$(build-nscd) = yes] as well.
18717         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18719         [BZ# 13696]
18720         * configure.in (use_nscd): New substituted variable, set by
18721         --disable-nscd.  If enabled, define USE_NSCD.
18722         * configure: Regenerated.
18723         * config.h.in: Add USE_NSCD.
18724         * config.make.in (use-nscd): New substituted variable.
18725         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18726         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18727         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18728         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18729         (CFLAGS-getgrnam_r.c): Likewise.
18730         (CFLAGS-initgroups.c): Likewise.
18731         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18732         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18733         Variables removed.
18734         * inet/getnetgrent_r.c
18735         (nscd_setnetgrent): New function, broken out of ...
18736         (setnetgrent): ... here.  Call it.
18737         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18738         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18739         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18740         * nscd/Makefile (routines, aux): Move definitions after include of
18741         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18742         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18743         Conditionalize on [USE_NSCD].
18744         (is_nscd, nscd_init_cb): Likewise.
18745         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18746         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18747         * nss/nss_db/db-init.c: Likewise.
18748         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18749         [USE_NSCD].
18750         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18751         (make_request): Use it.
18752         (cache_valid_p): New function.
18753         (__check_pf): Use it.
18754         * NEWS: Add item for --disable-nscd.
18756 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18758         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18759         to support sed >= 4.2.1-20-ga9bf076.
18760         * configure: Regenerated.
18762 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18764         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18765         Conditionalize whole body on [IREL].
18767 2012-08-22  Jeff Law <law@redhat.com>
18769         [BZ #14505]
18770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18771         if the family is PF_UNSPEC.
18773 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18775         * Makerules (lib-version): Rename from V.
18776         (install-lib-nosubdir): Change V to lib-version.
18778 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18780         [BZ #14252]
18781         * powerpc32/power6/wcschr.c: New file.
18782         * powerpc32/power6/wcscpy.c: New file.
18783         * powerpc32/power6/wcsrchr.c: New file.
18784         * powerpc64/power6/wcschr.c: New file.
18785         * powerpc64/power6/wcscpy.c: New file.
18786         * powerpc64/power6/wcsrchr.c: New file.
18788 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18790         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18791         (two_way_short_needle): Use it.
18792         * string/strstr.c (AVAILABLE1_USES_J): Define.
18793         * string/strcasestr.c: Likewise.
18795         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18796         array references.
18797         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18799         [BZ #11607]
18800         * NEWS: Add an entry.
18801         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18802         define their defaults.
18803         (two_way_short_needle): Detect end-of-string on-the-fly.
18804         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18805         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18806         * string/bug-strcasestr1.c: New test.
18807         * string/Makefile: Run it.
18809 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18811         [BZ #11607]
18812         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18813         the first character.
18815 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18817         * csu/elf-init.c (__libc_csu_irel): Function removed.
18818         * csu/libc-start.c (apply_irel): New function.
18819         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18821 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18823         * sysdeps/unix/sysv/linux/kernel-features.h
18824         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18825         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18826         <kernel-features.h>.
18827         [__NR_fadvise64_64]: Make code unconditional.
18828         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18829         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18830         !__NR_fadvise64_64)]: Likewise.
18831         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18832         !__NR_fadvise64_64))]: Likewise.
18833         [__NR_fadvise64]: Make code unconditional.
18834         [!__NR_fadvise64]: Remove conditional code.
18835         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18836         <kernel-features.h>.
18837         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18838         unconditional.
18839         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18840         conditional code.
18841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18842         not include <kernel-features.h>.
18843         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18844         unconditional.
18845         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18846         conditional code.
18847         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18848         include <kernel-features.h>.
18849         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18850         unconditional.
18851         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18852         conditional code.
18854 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18857         slight instruction rearrangements per scrollpipe analysis.
18858         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18860 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18862         * manual/syslog.texi (syslog; vsyslog, closelog):
18863         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18864         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18866         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18867         DSOCAPS to match condition on defining it.
18869 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18871         * sysdeps/unix/sysv/linux/kernel-features.h
18872         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18874         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18875         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18877         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18878         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18883         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18884         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18886         * sysdeps/unix/sysv/linux/kernel-features.h
18887         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18888         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18889         unconditional.
18890         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18891         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18892         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18893         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18894         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18895         Make code unconditional.
18896         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18897         (__mmap64) [!__NR_mmap2]: Likewise.
18898         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18899         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18900         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18901         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18902         [__NR_mmap2]: Make code unconditional.
18903         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18904         (__mmap64) [!__NR_mmap2]: Likewise.
18906 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18908         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18910 2012-08-18  Andreas Jaeger  <aj@suse.de>
18912         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18914 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18916         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18917         * include/unistd.h (__have_sock_cloexec): Likewise.
18918         (__have_pipe2): Likewise.
18919         (__have_dup3): Likewise.
18921 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18923         [BZ #9685]
18924         * include/unistd.h (__have_pipe2): Change define into an extern int.
18925         (__have_dup3): Likewise.
18926         * socket/have_sock_cloexec.c: Include fcntl.h.
18927         (__have_pipe2): New variable.
18928         (__have_dup3): Likewise.
18930 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18932         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18934 2012-08-17  Marek Polacek  <polacek@redhat.com>
18936         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18937         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18939 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18941         * configure.in: Add AC_SUBST for sysheaders.
18942         * configure: Regenerated.
18943         * config.make.in (sysheaders): New substituted variable.
18945         * sysdeps/unix/mkfifo.c: Moved ...
18946         * sysdeps/posix/mkfifo.c: ... here.
18947         * sysdeps/unix/mkfifoat.c: Moved ...
18948         * sysdeps/posix/mkfifoat.c: ... here.
18950         * sysdeps/unix/utime.c: Moved ...
18951         * sysdeps/posix/utime.c: ... here.
18953         * sysdeps/unix/time.c: Moved ...
18954         * sysdeps/posix/time.c: ... here.
18955         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18956         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18958         * sysdeps/unix/nice.c: Moved ...
18959         * sysdeps/posix/nice.c: ... here.
18961         * sysdeps/unix/alarm.c: Moved ...
18962         * sysdeps/posix/alarm.c: ... here.
18964         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18966 2012-08-17  Jeff Law <law@redhat.com>
18968         * intl/Makefile (codeset_mo): New variable.
18969         ($(codeset_mo)): New target.
18970         (tst-codeset.out): Depend on that.  Remove explicit rule.
18971         (tst-gettext3.out, tst-gettext5.out): Likewise.
18972         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18973         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18974         * intl/tst-codeset.sh: Remove.
18975         * intl/tst-gettext3.sh: Likewise.
18976         * intl/tst-gettext5.sh: Likewise.
18978 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18980         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18981         * sysdeps/unix/syscalls.list: ... here.
18983         * sysdeps/posix/getaddrinfo.c
18984         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18985         (gaiconf_init, gaiconf_reload): Use them.
18986         [!_STATBUF_ST_NSEC]
18987         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18988         Define using time_t rather than struct timespec.
18990         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18991         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18992         Macros removed.
18993         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18994         [!NO_THREADS].
18995         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18996         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18997         Likewise.
18999         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19000         __libc_cleanup_push argument.
19002         * bits/param.h: New file.
19003         * misc/sys/param.h: New file.
19004         * include/sys/param.h: New file.
19005         * misc/Makefile (headers): Add bits/param.h.
19006         * sysdeps/generic/sys/param.h: File removed.
19007         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19008         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19009         * sysdeps/mach/hurd/bits/param.h: New file.
19010         * sysdeps/mach/hurd/sys/param.h: File removed.
19012         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19013         last change.
19015         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19016         [_IO_MTSAFE_IO].
19017         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19018         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19019         New macros.
19021         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19022         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19023         rather than -D_IO_MTSAFE_IO conditionally.
19024         * stdio-common/Makefile (CPPFLAGS): Likewise.
19025         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19026         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19027         Use $(libio-mtsafe).
19028         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19029         of -D_IO_MTSAFE_IO.
19030         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19031         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19032         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19033         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19034         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19035         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19036         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19037         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19038         (CFLAGS-fread_u_chk.c): Likewise.
19039         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19040         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19041         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19042         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19043         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19044         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19045         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19046         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19047         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19049         * libio/Makefile: Test [$(libc-reentrant) = yes]
19050         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19052         * Makeconfig
19053         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19054         * sysdeps/pthread/configure: File removed.
19055         * sysdeps/pthread/Makeconfig: New file.
19056         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19057         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19059 2012-08-16  Gary Benson  <gbenson@redhat.com>
19061         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19062         unmapping the first object in a namespace.
19064 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19066         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19067         (__internal_setnetgrent): ... this.  Add internal_function to
19068         definition.  Add libc_hidden_def.
19069         (setnetgrent): Update caller.
19070         (internal_endnetgrent): Renamed to ...
19071         (__internal_endnetgrent): ... this.  Add internal_function to
19072         definition.  Add libc_hidden_def.
19073         (endnetgrent): Update caller.
19074         (internal_getnetgrent_r): Renamed to ...
19075         (__internal_getnetgrent_r): ... this.  Add internal_function to
19076         definition.  Add libc_hidden_def.
19077         (__getnetgrent_r): Update caller.
19078         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19082         * stdlib/longlong.h: Update from GCC.
19084 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19086         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19087         on _QL, which is set by umul_ppmm but never used.
19088         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19089         variables, which are set by GMP macros but never used.
19090         * stdio-common/_itowa.c (_itowa): Likewise.
19091         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19092         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19094 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19096         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19097         struct La_sh_regs is not constant.
19098         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19099         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19100         and struct La_sparc64_regs are not constant.
19102 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19104         * sysdeps/unix/sysv/linux/kernel-features.h
19105         (__ASSUME_POSIX_TIMERS): Remove.
19106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19107         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19108         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19109         Make code unconditional.
19110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19111         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19112         Make code unconditional.
19113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19114         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19115         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19117         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19118         Make code unconditional.
19119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19120         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19121         (__libc_missing_posix_timers): Remove.
19123 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19125         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19126         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19128         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19130         * elf/dl-sym.c: Include <stdlib.h>.
19132         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19133         constants, which avoids warnings in 32-bit builds.
19135         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19136         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19138         * misc/lseek.c: File moved to ...
19139         * io/lseek.c: ... here.
19141         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19143         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19144         shifting LEN more than 31 bits at once.
19146 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19148         [BZ #14195]
19149         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19150         segmentation fault for a case of two empty input strings.
19151         * string/test-strncasecmp.c (check1): Renamed to...
19152         (bz12205): ...this.
19153         (bz14195): Add new testcase for two empty input strings and N > 0.
19154         (test_main): Call new testcase, adapt for renamed function.
19156 2012-08-15  Andreas Jaeger  <aj@suse.de>
19158         [BZ #14090]
19159         * crypt/md5test2.c: New test, based on test supplied by Serge
19160         Belyshev <belyshev@depni.sinp.msu.ru>.
19161         * crypt/Makefile (xtests): Add md5test-giant..
19162         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19164 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19166         [BZ #14090]
19167         * crypt/md5.c (md5_process_block): Don't assume the buffer
19168         length is less than 2**32.
19169         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19170         length is less than 2**64.
19172 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19174         * string/str-two-way.h: Include <sys/param.h>.
19175         (MAX): Macro removed.
19177         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19178         Move #define and #undef of memmove to just before and after
19179         including <string.h>.
19181         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19182         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19183         and after including <string.h>.  Move declarations of
19184         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19185         to before #include "string/memmove.c".
19187         * include/dirent.h: Declare __getdirentries.
19189         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19190         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19192 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19194         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19195         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19196         * sysdeps/i386/configure: Regenerated.
19197         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19198         STABS_CURRENT_FILE, and STABS_FUN.
19199         (END): Remove call to STABS_FUN_END.
19200         (STABS_CURRENT_FILE1): Delete.
19201         (STABS_CURRENT_FILE): Likewise.
19202         (STABS_FUN): Likewise.
19203         (STABS_FUN_END): Likewise.
19204         (STABS_FUN2): Likewise.
19205         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19206         * sysdeps/x86_64/configure: Regenerated.
19208 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19210         * elf/dl-open.c: Include <atomic.h>.
19211         * elf/dl-lookup.c: Likewise.
19213 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19215         * sysdeps/unix/sysv/linux/kernel-features.h
19216         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19217         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19218         unconditionally.
19219         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19220         unconditionally.
19221         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19222         condition on __ASSUME_CLONE_THREAD_FLAGS.
19224 2012-08-14  Andreas Jaeger  <aj@suse.de>
19226         * sysdeps/i386/fpu/libm-test-ulps: Update.
19228 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19230         * include/atomic.h (atomic_exchange_and_add): Split into ...
19231         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19232         New atomic macros.
19234 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19238 2012-08-13  Jeff Law <law@redhat.com>
19240         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19241         null byte in the output string.
19243 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19245         * sysdeps/unix/sysv/linux/kernel-features.h
19246         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19247         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19248         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19249         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19250         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19251         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19252         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19254 2012-08-09  Jeff Law <law@redhat.com>
19256         [BZ #13939]
19257         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19258         When avoid_arena is set, don't retry in the that arena.  Pick the
19259         next one, whatever it might be.
19260         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19261         (arena_lock): Pass in new parameter to arena_get2.
19262         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19263         arena_get2.
19264         (__libc_malloc): Unify retrying after main arena failure with
19265         __libc_memalign version.
19266         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19268 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19270         [BZ #14166]
19271         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19272         to __redirect_strstr.
19273         (__strstr_sse42): Use typeof __redirect_strstr.
19274         (__strstr_ia32): Likewise.
19275         (__libc_strstr): New prototype.
19276         (strstr): Renamed to ...
19277         (__libc_strstr): This.
19278         (strstr): New strong alias of __libc_strstr.
19279         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19281         __redirect_time.
19282         Include <time.h>.
19283         (__libc_time): New prototype.
19284         (time_ifunc): Replace time with __libc_time.
19285         (time): New strong alias and hidden definition of __libc_time.
19286         (__GI_time): Remove strong alias.
19287         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19288         Include <stddef.h>.
19289         (memmove): Redefined to __redirect_memmove.
19290         (__memmove_sse2): Use typeof __redirect_memmove.
19291         (__memmove_ssse3): Likewise.
19292         (__memmove_ssse3_back): Likewise.
19293         (__libc_memmove): New prototype.
19294         (memmove): Renamed to ...
19295         (__libc_memmove): This.
19296         (memmove): New strong alias of __libc_memmove.
19298 2012-08-08  Mark Salter  <msalter@redhat.com>
19300         * elf/elf.h
19301         (R_MN10300_TLS_GD): Define.
19302         (R_MN10300_TLS_LD): Likewise.
19303         (R_MN10300_TLS_LDO): Likewise.
19304         (R_MN10300_TLS_GOTIE): Likewise.
19305         (R_MN10300_TLS_IE): Likewise.
19306         (R_MN10300_TLS_LE): Likewise.
19307         (R_MN10300_TLS_DTPMOD): Likewise.
19308         (R_MN10300_TLS_DTPOFF): Likewise.
19309         (R_MN10300_TLS_TPOFF): Likewise.
19310         (R_MN10300_SYM_DIFF): Likewise.
19311         (R_MN10300_ALIGN): Likewise.
19312         (R_MN10300_NUM): Update.
19314 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19317         Remove.
19319 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19321         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19323         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19324         sysdeps/unix -> sysdeps/posix move.
19325         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19327 2012-08-07      Allan McRae     <allan@archlinux.org>
19329         [BZ #14303]
19330         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19331         (SUNOS_CPP): Likewise.
19332         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19333         not found.
19334         (open_input): Call CPP using execvp.
19336 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19338         * sysdeps/unix/sysv/linux/kernel-features.h
19339         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19340         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19341         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19342         (__ASSUME_WAITID_SYSCALL): Likewise.
19343         * sysdeps/unix/sysv/linux/dl-execstack.c
19344         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19345         code unconditional.
19346         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19347         conditional code.
19348         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19349         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19350         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19351         code.
19352         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19353         unconditional.
19354         [__ASSUME_WAITID_SYSCALL]: Likewise.
19355         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19357 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19359         * sysdeps/unix/closedir.c: Renamed to ...
19360         * sysdeps/posix/closedir.c: ... here.
19361         * sysdeps/unix/dirfd.c: Renamed to ...
19362         * sysdeps/posix/dirfd.c: ... here.
19363         * sysdeps/unix/dirstream.h: Renamed to ...
19364         * sysdeps/posix/dirstream.h: ... here.
19365         * sysdeps/unix/fdopendir.c: Renamed to ...
19366         * sysdeps/posix/fdopendir.c: ... here.
19367         * sysdeps/unix/opendir.c: Renamed to ...
19368         * sysdeps/posix/opendir.c: ... here.
19369         * sysdeps/unix/readdir.c: Renamed to ...
19370         * sysdeps/posix/readdir.c: ... here.
19371         * sysdeps/unix/readdir_r.c: Renamed to ...
19372         * sysdeps/posix/readdir_r.c: ... here.
19373         * sysdeps/unix/rewinddir.c: Renamed to ...
19374         * sysdeps/posix/rewinddir.c: ... here.
19375         * sysdeps/unix/seekdir.c: Renamed to ...
19376         * sysdeps/posix/seekdir.c: ... here.
19377         * sysdeps/unix/telldir.c: Renamed to ...
19378         * sysdeps/posix/telldir.c: ... here.
19379         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19380         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19381         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19382         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19384         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19385         * bits/fcntl.h: ... here.
19387         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19388         not 0.
19389         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19390         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19391         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19392         (struct flock): Move l_start, l_len to the beginning.
19393         Use __pid_t for l_pid.
19394         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19395         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19396         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19397         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19398         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19399         [__USE_LARGEFILE64] (struct flock64): New type.
19400         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19402         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19403         * bits/dirent.h: ... here.
19405         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19406         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19408 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19411         Change from 2.6.0 to 2.6.16.
19412         * sysdeps/unix/sysv/linux/configure: Regenerated.
19413         * sysdeps/unix/sysv/linux/kernel-features.h
19414         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19415         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19416         version.
19417         (__ASSUME_UTIMES): Likewise.
19418         (__ASSUME_CLONE_STOPPED): Remove.
19419         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19420         architectures, not kernel version.
19421         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19424         (__ASSUME_WAITID_SYSCALL): Likewise.
19425         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19426         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19427         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19428         refer to older versions.
19430 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19432         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19433         Define alphasort64 as an alias.
19434         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19435         Define versionsort64 as an alias.
19436         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19437         Define scandir64 as an alias.
19438         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19439         Define scandirat64 as an alias.
19440         * dirent/alphasort64.c (alphasort64):
19441         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19442         * dirent/versionsort64.c: Likewise.
19443         * dirent/scandir64.c: Likewise.
19444         * dirent/scandirat64.c: Likewise.
19445         * sysdeps/wordsize-64/alphasort.c: File removed.
19446         * sysdeps/wordsize-64/alphasort64.c: File removed.
19447         * sysdeps/wordsize-64/scandir.c: File removed.
19448         * sysdeps/wordsize-64/scandir64.c: File removed.
19449         * sysdeps/wordsize-64/scandirat.c: File removed.
19450         * sysdeps/wordsize-64/scandirat64.c: File removed.
19451         * sysdeps/wordsize-64/versionsort.c: File removed.
19452         * sysdeps/wordsize-64/versionsort64.c: File removed.
19453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19454         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19456         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19458         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19460         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19462         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19464         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19466         [defined __arch64__ || defined __sparcv9]
19467         (__INO_T_MATCHES_INO64_T): New macro.
19468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19469         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19470         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19471         * sysdeps/unix/sysv/linux/bits/dirent.h
19472         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19473         (_DIRENT_MATCHES_DIRENT64): New macro.
19475         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19476         Define lockf64 as an alias.
19477         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19478         Define fseeko64 as an alias.
19479         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19480         Define ftello64 as an alias.
19481         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19482         Define _IO_fgetpos64 and fgetpos64 as aliases.
19483         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19484         Define _IO_fsetpos64 and fsetpos64 as aliases.
19485         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19486         Conditionalize body on this.
19487         * libio/fseeko64.c: Likewise.
19488         * libio/ftello64.c: Likewise.
19489         * libio/iofgetpos64.c: Likewise.
19490         * libio/iofsetpos64.c: Likewise.
19491         * sysdeps/wordsize-64/lockf.c: File removed.
19492         * sysdeps/wordsize-64/lockf64.c: File removed.
19493         * sysdeps/wordsize-64/fseeko.c: File removed.
19494         * sysdeps/wordsize-64/fseeko64.c: File removed.
19495         * sysdeps/wordsize-64/ftello.c: File removed.
19496         * sysdeps/wordsize-64/ftello64.c: File removed.
19497         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19498         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19499         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19500         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19502         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19503         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19504         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19505         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19506         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19507         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19508         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19510         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19512         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19514         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19516         [defined __arch64__ || defined __sparcv9]
19517         (__OFF_T_MATCHES_OFF64_T): New macro.
19518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19519         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19521         (__OFF_T_MATCHES_OFF64_T): New macro.
19523 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19525         * stdlib/secure-getenv.c (__secure_getenv): Replace
19526         GLIBC_2_16 with GLIBC_2_17.
19528 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19531         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19533 2012-08-03  David S. Miller  <davem@davemloft.net>
19535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19537 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19540         Remove.
19541         (__ASSUME_CORRECT_SI_PID): Likewise.
19542         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19543         (__ASSUME_TMPFS_NAME): Likewise.
19544         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19545         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19546         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19547         (HAVE_AUX_SECURE): Make definition unconditional.
19548         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19549         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19551 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19553         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19554         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19555         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19556         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19557         __eloop_threshold instead of SYMLOOP_MAX.
19559         * sysdeps/generic/eloop-threshold.h: New file.
19560         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19561         of MAXSYMLINKS.
19562         * elf/chroot_canon.c (chroot_canon): Likewise.
19564 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19566         [BZ #13717]
19567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19568         Change to 2.6.0 everywhere.
19569         * sysdeps/unix/sysv/linux/configure: Regenerated.
19570         * sysdeps/unix/sysv/linux/kernel-features.h
19571         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19572         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19573         kernel versions.
19574         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19575         (__ASSUME_FUTEX_REQUEUE): Remove.
19576         (__ASSUME_STATFS64): Define unconditionally.
19577         (__ASSUME_AT_SECURE): Likewise.
19578         (__ASSUME_CORRECT_SI_PID): Likewise.
19579         (__ASSUME_TGKILL): Define without depending on kernel version for
19580         i386.
19581         (__ASSUME_UTIMES): Likewise.
19582         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19583         kernel version.
19584         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19585         (__ASSUME_TMPFS_NAME): Likewise.
19586         * README: Update reference to Linux kernel versions.
19588 2012-08-02  Marek Polacek  <polacek@redhat.com>
19590         [BZ# 14150]
19591         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19592         libc_cv_asm_type_prefix with %.
19593         * configure: Regenerated.
19594         * include/libc-symbols.h: Remove comment about
19595         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19596         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19597         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19598         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19599         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19600         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19601         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19602         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19603         * elf/tst-unique2mod1.c: Likewise.
19604         * elf/tst-unique1mod2.c: Likewise.
19605         * elf/tst-unique1mod1.c: Likewise.
19606         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19607         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19608         Replace ASM_TYPE_DIRECTIVE with .type.
19609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19610         * sysdeps/i386/sysdep.h: Likewise.
19611         * sysdeps/x86_64/sysdep.h: Likewise.
19612         * sysdeps/sh/sysdep.h: Likewise.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19614         Do not define ASM_TYPE_DIRECTIVE.
19615         * sysdeps/powerpc/sysdep.h: Likewise.
19616         * sysdeps/powerpc/powerpc32/sysdep.h:
19617         Replace ASM_TYPE_DIRECTIVE with .type.
19618         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19620         * sysdeps/i386/fpu/e_powf.S: Likewise.
19621         * sysdeps/i386/fpu/e_expl.S: Likewise.
19622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19623         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19624         * sysdeps/i386/fpu/e_pow.S: Likewise.
19625         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19627         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19628         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19629         * sysdeps/i386/fpu/e_log2.S: Likewise.
19630         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19631         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19632         * sysdeps/i386/fpu/e_powl.S: Likewise.
19633         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19634         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19635         * sysdeps/i386/fpu/e_logl.S: Likewise.
19636         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19637         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19638         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19639         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19640         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19641         * sysdeps/i386/fpu/e_log.S: Likewise.
19642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19643         * sysdeps/i386/fpu/e_logf.S: Likewise.
19644         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19645         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19646         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19647         * sysdeps/i386/fpu/e_log10.S: Likewise.
19648         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19649         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19650         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19651         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19653         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19654         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19655         * sysdeps/i386/i686/strtok.S: Likewise.
19656         * sysdeps/i386/i386-mcount.S: Likewise.
19657         * sysdeps/i386/strtok.S: Likewise.
19658         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19659         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19661         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19662         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19667         * sysdeps/x86_64/_mcount.S: Likewise.
19668         * sysdeps/x86_64/strtok.S: Likewise.
19669         * sysdeps/sh/_mcount.S: Likewise.
19671 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19673         * libio/iofopen.c: Include <fcntl.h>.
19674         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19675         (_IO_fopen64, fopen64): Define as aliases.
19676         * libio/iofopen64.c: Include <fcntl.h>.
19677         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19678         Conditionalize body on this.
19679         * sysdeps/wordsize-64/iofopen.c: File removed.
19680         * sysdeps/wordsize-64/iofopen64.c: File removed.
19682 2012-08-01  Marek Polacek  <polacek@redhat.com>
19684         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19685         Use dlfcn directly instead of a variable.
19686         (binfmt-subdir): Do not define.
19687         (dlfcn): Likewise.
19689 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19692         Remove all definitions.
19693         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19694         <kernel-features.h>.
19695         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19696         (miss_F_GETOWN_EX): Remove all definitions.
19697         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19698         macro definition.
19699         [!__ASSUME_FCNTL64]: Remove conditional code.
19700         [__ASSUME_FCNTL64]: Make code unconditional.
19701         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19702         <kernel-features.h>.
19703         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19704         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19705         (lockf64) [__NR_fcntl64]: Make code unconditional.
19706         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19708         * sysdeps/unix/sysv/linux/kernel-features.h
19709         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19710         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19711         Make code unconditional.
19712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19715         [__NR_vfork]: Make code unconditional.
19716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19719         [__NR_vfork]: Make code unconditional.
19720         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19721         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19723 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19725         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19726         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19728         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19729         Define mkstemp64 as an alias.
19730         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19731         Define mkstemps64 as an alias.
19732         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19733         Define mkostemp64 as an alias.
19734         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19735         Define mkostemps64 as an alias.
19736         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19737         Conditionalize body on this.
19738         * misc/mkostemp64.c: Likewise.
19739         * misc/mkostemps64.c: Likewise.
19740         * misc/mkstemps64.c: Likewise.
19741         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19742         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19743         * sysdeps/wordsize-64/mkostemp.c: File removed.
19744         * sysdeps/wordsize-64/mkstemp.c: File removed.
19745         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19747         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19750         [BZ #14138]
19751         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19752         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19753         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19754         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19756         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19757         compat_symbol macros from <shlib-compat.h> rather than the underlying
19758         default_symbol_version and symbol_version macros, so that DEFAULT
19759         lines in shlib-versions are respected.
19760         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19762 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19764         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19765         Declare with warn_unused_result.
19766         (setgid, setregid, setegid, setresgid): Likewise.
19767         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19768         Likewise.
19769         * WUR-REPORT: Remove set*id functions.
19771 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19773         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19775 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19777         [BZ #10191]
19778         * include/sys/socket.h (__libc_accept, __libc_accept4):
19779         Add attribute_hidden.
19780         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19782         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19783         use of PTR_MANGLE.
19784         * inet/getnetgrent_r.c (setup): Likewise.
19786         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19788 2012-07-31  David S. Miller  <davem@davemloft.net>
19790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19792 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19794         [BZ #13629]
19795         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19796         value between 1.0 and 2.0 and smaller part has absolute value less
19797         than 1.0.
19798         * math/s_clog10.c (__clog10): Likewise.
19799         * math/s_clog10f.c (__clog10f): Likewise.
19800         * math/s_clog10l.c (__clog10l): Likewise.
19801         * math/s_clogf.c (__clogf): Likewise.
19802         * math/s_clogl.c (__clogl): Likewise.
19803         * math/libm-test.inc (clog_test): Add more tests.
19804         (clog10_test): Likewise.
19805         * sysdeps/i386/fpu/libm-test-ulps: Update.
19806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19808 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19810         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19811         Exit with zero in case no suitable GID is found, and write a
19812         message to standard error.
19814 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19816         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19817         rather than to 1.
19818         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19819         (MAXPATHLEN): Removed.
19820         (NOGROUP, NODEV): New macros.
19821         (setbit, clrbit, isset, isclr): New macros.
19822         (howmany, roundup, powerof2): New macros.
19823         (DEV_BSIZE): New macro.
19825         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19826         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19828         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19829         definition on [!__NO_LONG_DOUBLE_MATH].
19831         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19832         PTR_MANGLE and PTR_DEMANGLE.
19834         * socket/accept4.c (accept4): Rename to __libc_accept4.
19835         Define accept4 as a weak alias.
19837         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19838         on [_DIRENT_HAVE_D_TYPE].
19839         * io/ftw.c (ftw_dir): Likewise.
19841         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19843         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19845         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19846         Use the BSD numbers rather than the arbitrary ones we had.
19847         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19848         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19849         (SIGXCPU, SIGXFSZ): New macros.
19850         (_NSIG): Now 32.
19852         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19853         initializer on [_LIBC_REENTRANT].
19855         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19856         definitions inside [_POSIX_MAPPED_FILES].
19858         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19860         * dirent/opendir.c: Include <fcntl.h>.
19862         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19863         (__libc_getspecific): Likewise.
19864         (__libc_key_create): Likewise.
19866         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19867         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19868         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19869         (tmpfile64): Define as alias.
19870         * sysdeps/wordsize-64/tmpfile.c: File removed.
19871         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19872         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19873         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19875         * stdio-common/vfscanf.c: Include <stdbool.h>.
19876         * nss/makedb.c: Likewise.
19877         * stdio-common/_i18n_number.h: Likewise.
19878         * argp/argp-help.c: Likewise.
19879         * posix/wordexp.c: Likewise.
19880         * sysdeps/posix/spawni.c: Likewise.
19881         * nss/nss_files/files-initgroups.c: Likewise.
19882         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19883         * nss/nss_files/files-initgroups.c: Likewise.
19884         * nss/nss_db/db-netgrp.c: Likewise.
19885         * nss/nss_db/db-initgroups.c: Likewise.
19886         * io/fchmodat.c: Include <sys/stat.h>.
19888         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19889         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19891         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19892         [HAVE_MMAP].
19894         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19895         Add multiple inclusion protection.
19897 2012-07-27  David S. Miller  <davem@davemloft.net>
19899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19901 2012-07-27  Gary Benson  <gbenson@redhat.com>
19903         [BZ #14298]
19904         * elf/rtld.c: Include <stap-probe.h>.
19905         (dl_main): Added static probes "init_start" and "init_complete".
19906         * elf/dl-load.c: Include <stap-probe.h>.
19907         (lose): Take new parameter "nsid".
19908         Added static probe "map_failed".
19909         (_dl_map_object_from_fd): Pass namespace id to lose.
19910         Added static probe "map_start".
19911         (open_verify): Pass namespace id to lose.
19912         * elf/dl-open.c: Include <stap-probe.h>.
19913         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19914         and "reloc_complete".
19915         * elf/dl-close.c: Include <stap-probe.h>.
19916         (_dl_close_worker): Added static probes "unmap_start" and
19917         "unmap_complete".
19918         * elf/rtld-debugger-interface.txt: New file documenting the above.
19920 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19922         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19923         rather than a string variable.
19924         * sunrpc/rpc_main.c (h_output): Likewise.
19925         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19927 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19929         * inet/check_native.c: New file.
19931 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19933         [BZ #13629]
19934         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19935         if larger part has absolute value 1.0.
19936         * math/s_clog10.c (__clog10): Likewise.
19937         * math/s_clog10f.c (__clog10f): Likewise.
19938         * math/s_clog10l.c (__clog10l): Likewise.
19939         * math/s_clogf.c (__clogf): Likewise.
19940         * math/s_clogl.c (__clogl): Likewise.
19941         * math/libm-test.inc (clog_test): Add more tests.
19942         (clog10_test): Likewise.
19943         * sysdeps/i386/fpu/libm-test-ulps: Update.
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19946         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19947         (pltexit): Likewise.
19948         (La_regs): Likewise.
19949         (La_retval): Likewise.
19950         (int_retval): Likewise.
19951         Update #error for removed macros to refer only to definitions in
19952         tst-audit.h.
19953         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19954         macro.
19955         (pltexit): Likewise.
19956         (La_regs): Likewise.
19957         (La_retval): Likewise.
19958         (int_retval): Likewise.
19959         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19960         macro.
19961         (pltexit): Likewise.
19962         (La_regs): Likewise.
19963         (La_retval): Likewise.
19964         (int_retval): Likewise.
19965         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19966         macro.
19967         (pltexit): Likewise.
19968         (La_regs): Likewise.
19969         (La_retval): Likewise.
19970         (int_retval): Likewise.
19971         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19972         macro.
19973         (pltexit): Likewise.
19974         (La_regs): Likewise.
19975         (La_retval): Likewise.
19976         (int_retval): Likewise.
19977         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19978         macro.
19979         (pltexit): Likewise.
19980         (La_regs): Likewise.
19981         (La_retval): Likewise.
19982         (int_retval): Likewise.
19983         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19984         macro.
19985         (pltexit): Likewise.
19986         (La_regs): Likewise.
19987         (La_retval): Likewise.
19988         (int_retval): Likewise.
19989         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19990         macro definitions in tst-audit.h.
19991         * sysdeps/i386/tst-audit.h: New file.
19992         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19993         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19994         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19995         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19996         * sysdeps/sh/tst-audit.h: Likewise.
19997         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19998         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19999         * sysdeps/x86_64/tst-audit.h: Likewise.
20001 2012-07-26  Andreas Jaeger  <aj@suse.de>
20003         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20004         ptrace.
20006         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20007         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20008         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20009         PTRACE_O_MASK.
20010         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20011         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20012         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20014         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20015         value.
20017         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20018         _sigsys.
20019         (si_call_addr, si_syscall, si_arch): Define new macro.
20020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20021         _sigsys.
20022         (si_call_addr, si_syscall, si_arch): Define new marcro.
20023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20024         _sigsys.
20025         (si_call_addr, si_syscall, si_arch): Define new macro.
20026         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20027         _sigsys.
20028         (si_call_addr, si_syscall, si_arch): Define new macro.
20030 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #13717]
20033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20034         Change to 2.4.21 where previously 2.4.1.
20035         * sysdeps/unix/sysv/linux/configure: Regenerated.
20036         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20037         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20038         Linux kernel version.
20039         (__ASSUME_STD_AUXV): Remove.
20040         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20041         kernel version.
20042         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20043         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20044         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20045         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20046         (__ASSUME_NETLINK_SUPPORT): Likewise.
20047         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20048         (__no_netlink_support): Remove conditional definition.
20049         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20050         Remove.
20051         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20052         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20053         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20054         (if_nameindex_ioctl): Remove.
20055         (if_nameindex_netlink): Do not handle __no_netlink_support.
20056         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20057         code.
20058         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20059         Remove conditional code.
20060         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20061         code.
20062         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20063         unconditional.
20064         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20065         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20066         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20067         Remove.
20068         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20069         [!__ASSUME_STD_AUXV]: Remove conditional code.
20070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20071         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20072         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20074         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20075         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20076         code.
20077         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20079         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20080         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20081         conditional code.
20082         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20084         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20085         code.
20086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20087         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20088         conditional code.
20089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20090         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20091         code unconditional.
20092         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20093         conditional code.
20094         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20095         unconditional.
20096         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20097         conditional code.
20098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20099         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20100         unconditional.
20101         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20102         conditional code.
20103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20104         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20105         code unconditional.
20106         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20107         conditional code.
20108         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20109         unconditional.
20110         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20111         conditional code.
20112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20113         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20114         code unconditional.
20115         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20116         conditional code.
20117         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20118         unconditional.
20119         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20120         conditional code.
20122 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20124         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20125         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20126         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20127         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20128         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20129         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20130         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20131         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20132         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20133         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20134         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20135         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20136         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20137         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20138         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20139         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20140         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20142         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20144         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20145         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20148 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20150         * Versions.def: Add GLIBC_2.17.
20151         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20152         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20153         Introduce __libc_secure_getenv.
20154         * stdlib/Versions (2.17): Add secure_getenv
20155         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20156         * stdlib/secure-getenv.c: Rename __secure_getenv to
20157         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20158         symbol __secure_getenv for GLIBC_2.0.
20159         * stdlib/tst-secure-getenv.c: New.
20160         * stdlib/Makefile (tests): Add testcase.
20161         * manual/startup.texi (Environment Access): Document
20162         secure_getenv.
20163         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20164         __libc_secure_getenv.
20165         * inet/ruserpass.c (ruserpass): Likewise.
20166         * malloc/mtrace.c (mtrace): Likewise.
20167         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20168         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20169         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20170         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20171         HAVE_SECURE_GETENV.
20172         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20173         __secure_getenv to __libc_secure_getenv.
20174         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20176         Likewise.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20178         Likewise.
20179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20189         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20190         (struct La_i86_retval): Likewise.
20191         (struct La_x86_64_regs): Likewise.
20192         (struct La_x86_64_retval): Likewise.
20193         (struct La_x32_regs): Likewise.
20194         (struct La_x32_retval): Likewise.
20195         (struct La_ppc32_regs): Likewise.
20196         (struct La_ppc32_retval): Likewise.
20197         (struct La_ppc64_regs): Likewise.
20198         (struct La_ppc64_retval): Likewise.
20199         (struct La_sh_regs): Likewise.
20200         (struct La_sh_retval): Likewise.
20201         (struct La_s390_32_regs): Likewise.
20202         (struct La_s390_32_retval): Likewise.
20203         (struct La_s390_64_regs): Likewise.
20204         (struct La_s390_64_retval): Likewise.
20205         (struct La_sparc32_regs): Likewise.
20206         (struct La_sparc32_retval): Likewise.
20207         (struct La_sparc64_regs): Likewise.
20208         (struct La_sparc64_retval): Likewise.
20209         (struct audit_ifaces): Remove architecture-specific pltenter and
20210         pltexit members.
20211         * sysdeps/i386/ldsodefs.h: New file.
20212         * sysdeps/powerpc/ldsodefs.h: Likewise.
20213         * sysdeps/s390/ldsodefs.h: Likewise.
20214         * sysdeps/sh/ldsodefs.h: Likewise.
20215         * sysdeps/sparc/ldsodefs.h: Likewise.
20216         * sysdeps/x86_64/ldsodefs.h: Likewise.
20218 2012-07-25  Marek Polacek  <polacek@redhat.com>
20220         [BZ #6808]
20221         * math/libm-test.inc (yn_test): Add another test.
20222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20223         to ERANGE when the result is +-Inf.
20224         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20226         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20227         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20229 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20231         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20232         equal to 0.
20233         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20234         clock_t.
20235         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20237 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20239         * configure.in <sysdeps resolving>: Correct printing
20240         Implies_before.
20241         * configure: Regenerate.
20243 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20245         * math/w_ilogb.c: Include <limits.h>.
20246         * math/w_ilogbl.c: Likewise.
20248 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20250         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20251         va_copy.  Document allowing for unavailable va_copy only as
20252         pre-C99 compatibility.
20253         * manual/string.texi (Copying and Concatenation): Use va_copy
20254         instead of __va_copy in concat example.
20256 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20258         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20259         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20260         it if not null.
20262         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20263         with O_NOLINK passed to __file_name_lookup.
20265         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20266         with O_NOLINK passed to __file_name_lookup.
20268         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20269         negative N or less than NGIDS.
20271         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20272         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20273         enough.  Use memcpy instead of strncpy.
20275 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20277         * elf/Makefile (check-data): Remove.
20278         (localplt.data): New vpath directive.
20279         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20280         instead of $(check-data).
20281         * scripts/data/localplt-generic.data: Move to ...
20282         * sysdeps/generic/localplt.data: ... here.
20283         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20284         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20285         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20287         ... here.
20288         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20290         ... here.
20291         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20293         ... here.
20294         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20296         ... here.
20297         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20299         ... here.
20300         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20302         ... here.
20304 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20306         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20307         PPC32 and PPC64 files.
20308         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20309         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20311 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20313         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20314         __makecontext_ret to ...
20315         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20316         ... here and call exit if uc_link is NULL.  New file.
20317         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20318         __makecontext_ret.S.
20319         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20320         __makecontext_ret to ...
20321         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20322         ... here and call exit if uc_link is NULL.  New file.
20323         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20324         __makecontext_ret.S.
20326 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20328         * elf/elf.h (R_390_IRELATIVE): New definition.
20329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20330         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20331         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20333         (elf_machine_lazy_rel): Likewise.
20334         * sysdeps/s390/dl-irel.h: New file.
20335         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20336         * sysdeps/s390/s390-64/memset.S: New asm code.
20337         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20338         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20339         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20340         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20341         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20342         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20344         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20345         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20346         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20347         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20348         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20349         * sysdeps/s390/s390-32/memset.S: New asm code.
20350         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20352 2012-07-17  Marek Polacek  <polacek@redhat.com>
20354         [BZ #14349]
20355         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20356         * sysdeps/s390/s390-64/configure.in: Likewise.
20357         * sysdeps/sparc/configure.in: Likewise.
20358         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20359         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20360         * sysdeps/i386/configure.in: Likewise.
20361         * sysdeps/x86_64/configure.in: Likewise.
20362         * sysdeps/sh/configure.in: Likewise.
20363         * sysdeps/s390/s390-32/configure: Regenerated.
20364         * sysdeps/s390/s390-64/configure: Likewise.
20365         * sysdeps/x86_64/configure: Likewise.
20366         * sysdeps/sh/configure: Likewise.
20367         * sysdeps/powerpc/powerpc64/configure: Likewise.
20368         * sysdeps/powerpc/powerpc32/configure: Likewise.
20369         * sysdeps/sparc/configure: Likwise.
20370         * sysdeps/i386/configure: Likewise.
20372         * elf/dl-open.c: Comment fixes.
20374 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20376         * Makefile [CXX] (check-data): Remove.
20377         [CXX] (c++-types.data): New vpath directive.
20378         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20379         vpath.  Do not allow for C++ type data being missing.
20380         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20381         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20382         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20383         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20384         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20385         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20386         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20388         ... here.
20389         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20391         ... here.
20392         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20394         ... here.
20395         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20397         ... here.
20398         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20400         ... here.
20401         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20403         ... here.
20404         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20406         ... here.
20407         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20410         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20411         definitions to architecture-specific files.
20412         (TLS_IE): Likewise.
20413         (TLS_LD): Likewise.
20414         (TLS_GD): Likewise.
20415         * sysdeps/i386/tls-macros.h: New file.
20416         * sysdeps/powerpc/tls-macros.h: Likewise.
20417         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20418         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20419         * sysdeps/sh/tls-macros.h: Likewise.
20420         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20421         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20422         * sysdeps/x86_64/tls-macros.h: Likewise.
20424 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20427         zero value for regular exit case.
20429         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20430         (__start_context): Preserve zero value for regular exit case.
20432 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20433             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20435         * manual/setjmp.texi (setcontext): Clarify normal process
20436         termination when uc_link is the null pointer.
20437         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20438         exit call.
20440 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20442         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20443         preprocessor.  Test for each exception mask separately.
20445 2012-07-16  Andreas Jaeger  <aj@suse.de>
20447         * po/ru.po: Update from translation team.
20449 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20451         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20452         equal to 0.
20453         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20454         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20455         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20456         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20459 2012-07-13  Andreas Jaeger  <aj@suse.de>
20461         * po/fr.po: Update from translation team.
20463 2012-07-12  Marek Polacek  <polacek@redhat.com>
20465         [BZ #14173]
20466         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20468         loop condition.
20470 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20472         [BZ #13717]
20473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20474         Change to 2.4.1 where previously 2.4.0.
20475         * sysdeps/unix/sysv/linux/configure: Regenerated.
20476         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20477         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20478         version.
20479         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20480         (__ASSUME_AT_CLKTCK): Remove.
20481         (__ASSUME_AT_PAGESIZE): Likewise.
20482         (__ASSUME_AT_XID): Likewise.
20483         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20484         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20485         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20486         unconditionally.
20487         (HAVE_AUX_PAGESIZE): Likewise.
20488         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20489         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20490         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20492 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20494         [BZ #14307]
20495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20496         the temporary buffer used to invoke __gethostbyname2_r,
20497         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20498         host_data / struct gaih_addrtuple.
20499         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20500         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20501         header file nss/nsswitch.h.
20502         * nss/nsswitch.h (global scope): Add definition of implementation
20503         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20504         resolv/nss_dns/dns-host.c).
20506 2012-07-11  Andreas Jaeger  <aj@suse.de>
20508         * po/fr.po: Update from translation team.
20510         * po/sv.po: Update from translation team
20511         * po/fr.po: Another update from translation team.
20513 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20515         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20516         for subnormals or multiply small sinh result by itself.
20517         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20520 2012-07-11  David S. Miller  <davem@davemloft.net>
20522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20524 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20526         [BZ #14347]
20527         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20528         (INTERNAL_MARK): Shift it here.
20530 2012-07-10  Marek Polacek  <polacek@redhat.com>
20532         [BZ #14151]
20533         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20534         libc_cv_asm_global_directive with .globl.
20535         * configure: Regenerated.
20536         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20537         with .globl.
20538         * sysdeps/i386/configure: Regenerated.
20539         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20540         with .globl.
20541         * sysdeps/x86_64/configure: Regenerated.
20542         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20543         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20544         * elf/tst-unique2mod2.c: Likewise.
20545         * elf/tst-unique2mod1.c: Likewise.
20546         * elf/tst-unique1mod2.c: Likewise.
20547         * elf/tst-unique1mod1.c: Likewise.
20548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20549         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20551         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20552         * sysdeps/mach/sysdep.h: Likewise.
20553         * sysdeps/i386/sysdep.h: Likewise.
20554         * sysdeps/i386/i386-mcount.S: Likewise.
20555         * sysdeps/x86_64/_mcount.S: Likewise.
20556         * sysdeps/x86_64/sysdep.h: Likewise.
20557         * sysdeps/sh/_mcount.S: Likewise.
20558         * sysdeps/sh/sysdep.h: Likewise.
20559         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20560         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20561         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20562         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20563         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20564         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20565         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20566         * locale/localeinfo.h: Likewise.
20567         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20568         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20570 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20572         [BZ #14336]
20573         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20574         system".
20575         * manual/message.texi (The Uniforum approach): Likewise.
20576         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20577         (glibc iconv Implementation): Likewise.
20579 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20581         [BZ #14337]
20582         * math/s_clog.c (__clog): Avoid scaling a value down where that
20583         could result in underflow.
20584         * math/s_clog10.c (__clog10): Likewise.
20585         * math/s_clog10f.c (__clog10f): Likewise.
20586         * math/s_clog10l.c (__clog10l): Likewise.
20587         * math/s_clogf.c (__clogf): Likewise.
20588         * math/s_clogl.c (__clogl): Likewise.
20589         * math/libm-test.inc (clog_test): Add more tests.
20590         (clog10_test): Likewise.
20591         * sysdeps/i386/fpu/libm-test-ulps: Update.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20596         [BZ #14283]
20597         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20598         by 7 not 8 to examine high bit of fractional part.
20600         [BZ #14042]
20601         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20602         for call to __mcount_internal.
20603         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20604         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20605         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20607 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20609         [BZ #14154]
20610         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20611         approximation for values within 0x1p-13f of an odd multiple of
20612         pi/4.
20613         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20614         exception.  Add more tests.
20615         * sysdeps/i386/fpu/libm-test-ulps: Update.
20617         [BZ #6778]
20618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20619         inputs and return -1 for them.  Do not check for +Inf in case not
20620         reachable for +Inf.
20621         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20622         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20624         and return -1 for them.  Do not check for +Inf in case not
20625         reachable for +Inf.
20626         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20627         define.
20628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20629         and return -1 for them.  Do not check for +Inf in case not
20630         reachable for +Inf.
20631         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20632         spurious underflow.
20633         * sysdeps/i386/fpu/libm-test-ulps: Update.
20634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20636 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20638         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20640 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20642         [BZ #14157]
20643         [BZ #14331]
20644         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20645         could result in spurious underflow.  Scale down values above
20646         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20647         * math/s_csqrtf.c (__csqrtf): Likewise.
20648         * math/s_csqrtl.c (__csqrtl): Likewise.
20649         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20650         spurious underflow.
20651         * sysdeps/i386/fpu/libm-test-ulps: Update.
20652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20654 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20656         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20657         xopen-msg.sed.
20658         * catgets/xopen-msg.awk: New file.
20659         * catgets/xopen-msg.sed: Removed.
20661         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20662         po2text.sed.
20663         * intl/po2test.awk: New file.
20664         * intl/po2test.sed: Removed.
20666 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20668         [BZ #14328]
20669         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20670         or multiply small sinh result by itself.
20671         * math/s_ctanf.c (__ctanf): Likewise.
20672         * math/s_ctanh.c (__ctanh): Likewise.
20673         * math/s_ctanhf.c (__ctanhf): Likewise.
20674         * math/s_ctanhl.c (__ctanhl): Likewise.
20675         * math/s_ctanl.c (__ctanl): Likewise.
20676         * math/libm-test.inc (ctan_test_tonearest): New function.
20677         (ctan_test_towardzero): Likewise.
20678         (ctan_test_downward): Likewise.
20679         (ctan_test_upward): Likewise.
20680         (ctanh_test_tonearest): Likewise.
20681         (ctanh_test_towardzero): Likewise.
20682         (ctanh_test_downward): Likewise.
20683         (ctanh_test_upward): Likewise.
20684         (main): Call these new functions.
20685         * sysdeps/i386/fpu/libm-test-ulps: Update.
20686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20688 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20690         * .gitignore: Delete /ports entry.
20692 2012-07-03  Andreas Jaeger  <aj@suse.de>
20694         * po/bg.po: Update from translation team.
20695         * po/cs.po: Likewise.
20696         * po/de.po: Likewise.
20697         * po/hr.po: Likewise.
20698         * po/nl.pl: Likewise.
20699         * po/pl.po: Likewise.
20700         * po/vi.po: Likewise.
20702 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20704         * Makeconfig [!+link] (+link-before-libc): New variable.
20705         [!+link] (+link-after-libc): Likewise.
20706         [!+link] (+link-tests): Likewise.
20707         [!+link] (+link): Define in terms of $(+link-before-libc) and
20708         $(+link-after-libc).
20709         [!+link-static] (+link-static-before-libc): New variable.
20710         [!+link-static] (+link-static-after-libc): Likewise.
20711         [!+link-static] (+link-static-tests): Likewise.
20712         [!+link-static] (+link-static): Define in terms of
20713         $(+link-static-before-libc) and $(+link-static-after-libc).
20714         [build-shared] (link-libc-before-gnulib): New variable.
20715         [build-shared] (link-libc-tests): Likewise.
20716         [build-shared] (link-libc): Define in terms of
20717         $(link-libc-before-gnulib).
20718         [!build-shared] (link-libc-tests): New variable.
20719         (link-libc-static-tests): New variable.
20720         [!gnulib] (gnulib-arch): New variable.
20721         [!gnulib] (gnulib-tests): Likewise.
20722         [!gnulib] (static-gnulib-arch): Likewise.
20723         [!gnulib] (static-gnulib-tests): Likewise.
20724         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20725         Define with "=" instead of ":=".
20726         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20727         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20728         * Rules (binaries-all-notests): New variable.
20729         (binaries-all-tests): Likewise.
20730         (binaries-static-notests): Likewise.
20731         (binaries-static-tests): Likewise.
20732         (binaries-all): Define using $(binaries-all-notests) and
20733         $(binaries-all-tests).
20734         (binaries-static): Define using $(binaries-static-notests) and
20735         $(binaries-static-tests).
20736         (binaries-shared-tests): New variable.
20737         (binaries-shared-notests): Likewise.
20738         (binaries-shared): Remove variable.
20739         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20740         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20741         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20742         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20743         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20744         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20745         * elf/Makefile (sln-modules): New variable.
20746         (extra-objs): Add $(sln-modules:=.o).
20747         (ldconfig-modules): Add static-stubs.
20748         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20749         * elf/static-stubs.c: New file.
20751         [BZ #14283]
20752         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20753         by 7 not 8 to examine high bit of fractional part.  Use volatile
20754         variables when splitting into final array of floats if
20755         __FLT_EVAL_METHOD__ != 0.
20756         * math/libm-test.inc (cos_test): Add another test.
20757         (sin_test): Likewise.
20758         * sysdeps/i386/fpu/libm-test-ulps: Update.
20760         [BZ #14273]
20761         * math/libm-test.inc (cosh_test): Add more tests.
20763         * version.h (RELEASE): Set to "development".
20764         (VERSION): Set to "2.16.90".
20766 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20768         * NEWS: Update copyright. Remove last-updated date.
20769         Mention math library bug fixes and timezone data changes.
20770         * README: Mention GNU/Hurd, x32, and HPPA support status.
20772 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20774         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20776 2012-06-27  Andreas Jaeger  <aj@suse.de>
20778         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20780 2012-06-25  Andreas Jaeger  <aj@suse.de>
20782         * sysdeps/s390/fpu/libm-test-ulps: Update.
20784 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20785             Thomas Schwinge  <thomas@codesourcery.com>
20787         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20788         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20790         fanotify_mark.
20792 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20794         * sysdeps/mach/start.c: Remove file.
20795         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20796         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20797         * sysdeps/sh/init-first.c: Likewise.
20799         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20800         registers for frame unwinding purposes, add CFI directives.
20801         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20802         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20803         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20804         Likewise.
20806         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20807         __fortify_fail returning.
20808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20810         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20811         sysdeps/sh/____longjmp_chk.S.
20812         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20813         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20814         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20815         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20817         * sysdeps/sh/abort-instr.h: New file.
20818         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20819         process in case exit returns.
20821         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20822         initialize the GOT register before use.
20824         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20825         calculation of ARGC > 4.
20827         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20828         meaningful names to some local labels.
20830 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20831             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20833         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20834         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20835         (__arch_compare_and_exchange_val_16_acq): Likewise.
20836         (__arch_compare_and_exchange_val_32_acq): Likewise.
20837         (atomic_exchange_and_add): Fix gUSA sequence.
20838         (atomic_add): Likewise.
20839         (atomic_add_negative): Likewise.
20840         (atomic_add_zero): Likewise.
20841         (atomic_bit_test_set): Likewise.
20843 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20845         [BZ #13579]
20846         * include/link.h (struct link_map): Add l_free_initfini.
20847         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20848         l_initfini.
20849         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20850         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20851         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20852         set.
20854 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20856         * configure.in: Use AC_LANG_SOURCE.
20857         * configure: Regenerate.
20859 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20861         * configure.in (libc_cv_localstatedir): New substituted variable.
20862         * configure: Regenerated.
20863         * config.make.in (localstatedir): New variable, substituted from
20864         libc_cv_localstatedir.
20865         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20866         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20867         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20868         * sysdeps/gnu/configure: Regenerated.
20870 2012-06-21  Jeff Law  <law@redhat.com>
20872         [BZ #14277]
20873         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20874         free.  Simplify list management for _LIBC case.
20876 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20878         [BZ #14273]
20879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20880         Clear sign bit of 64-bit integer value before comparing against
20881         overflow value.
20883         * sysdeps/mach/configure: Regenerated.
20885 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20887         [BZ #14278]
20888         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20890 2012-06-21  Jeff Law  <law@redhat.com>
20892         [BZ #13882]
20893         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20894         uint16_t for elements in the "seen" array to avoid char overflows.
20895         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20896         * elf/dl-open.c (dl_open_worker): Likewise.
20898 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20900         * scripts/list-sources.sh: Scan PORTS for translations.
20901         * po/libc.pot: Regenerated.
20903 2012-06-21  Andreas Jaeger  <aj@suse.de>
20905         [BZ #12194]
20906         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20907         warning.
20908         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20909         * bits/byteswap-16.h (__bswap_16): Likewise.
20910         * bits/byteswap.h (__bswap_constant_16): Likewise.
20912 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20914         [BZ #14117]
20915         * sysdeps/i386/fpu_control.h: Removed.
20916         * sysdeps/x86_64/fpu_control.h: Moved to ...
20917         * sysdeps/x86/fpu_control.h: Here.
20919         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20920         (_FPU_SETCW): Likewise.
20922 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20924         [BZ #14117]
20925         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20926         * sysdeps/x86/fpu/bits/mathinline.h: This.
20927         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20929         [BZ #14050]
20930         [BZ #14117]
20931         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20932         functions if __x86_64__ is defined.
20934 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20936         * string/endian.h: Add !__ASSEMBLER__ condition for including
20937         conversion interfaces.
20939 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20941         [BZ #14241]
20942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20943         of ABS(x) in calculating zero to negative powers other than odd
20944         integers.
20945         * math/libm-test.inc (pow_test): Add more tests.
20947 2012-06-15  Andreas Jaeger  <aj@suse.de>
20949         * manual/contrib.texi (Contributors): Update entry of Liubov
20950         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20951         Machado Filho.
20953 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20955         * string/string.h: Add __wur to GNU version of strerror_r.
20957 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20959         [BZ #14229]
20960         * string/Makefile (tests): Add tst-strtok_r.
20961         * string/tst-strtok_r.c: New file.
20962         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20963         RAX_LP/RDX_LP on SAVE_PTR.
20965 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20967         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20969 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20971         * libm_test.inc (csqrt_test): Allow more spurious underflow
20972         exceptions.
20973         (j0_test): Likewise.
20974         (j1_test): Likewise.
20975         (y0_test): Likewise.
20976         (y1_test): Likewise.
20978 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20980         * po/Makefile (libc.pot): Use UTF-8 charset.
20982 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20984         [BZ #14210]
20985         Suppress sign-conversion warning from FD_SET.
20986         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20987         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20988         not unsigned long int.
20989         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20991 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20993         [BZ #14050]
20994         [BZ #14117]
20995         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20996         __extern_always_inline instead of __extern_inline.
20997         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20998         (__signbit): Likewise.
20999         (__signbitl): Support C++ namespace.
21000         (lrintf): New inline function.
21001         (lrint): Likewise.
21002         (llrintf): Likewise.
21003         (llrint): Likewise.
21004         (fmaxf): Likewise.
21005         (fmax): Likewise.
21006         (fminf): Likewise.
21007         (fmin): Likewise.
21008         (rint): Likewise.
21009         (rintf): Likewise.
21010         (ceil): Likewise.
21011         (ceilf): Likewise.
21012         (floor): Likewise.
21013         (floorf): Likewise.
21014         (nearbyint): Likewise.
21015         (nearbyintf): Likewise.
21017 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21020         non-default versions.
21022 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21024         [BZ #14218]
21025         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21027 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21029         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21030         (FE_UPWARD, FE_DOWNWARD): Don't define.
21031         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21034         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21035         reading it.
21036         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21037         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21039 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21041         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21043         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21046 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21048         [BZ #14117]
21049         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21050         * sysdeps/i386/fpu/Implies: New file.
21051         * sysdeps/x86_64/fpu/Implies: Likewise.
21052         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21053         * sysdeps/x86/fpu/bits/fenv.h: This.
21055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21056         __SSE_MATH__.
21058 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21060         [BZ #14134]
21061         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21062         character 0xffff that matches the last element of the
21063         conversion table.
21065 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21068         fmodl commit.
21070 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21073         values higher than 25.6283.
21075 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21078         subnormal exponent extraction and add some __builtin_expect.
21079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21080         Fix for subnormal mantissa calculation.
21082 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21084         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21085         cpu2 is -1 and errno is not ENOSYS.
21087 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21089         [BZ #14117]
21090         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21091         * sysdeps/x86/bits/string.h: This.
21092         * sysdeps/x86_64/bits/string.h: Removed.
21094         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21095         if not compiling for x86-64, but compiling for >= i486.
21097         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21098         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21100         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21101         New macro from Linux kernel 3.4.0.
21102         (FP_XSTATE_MAGIC2): Likewise.
21103         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21104         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21105         (struct _fpx_sw_bytes): New struct.
21106         (struct _xsave_hdr): Likewise.
21107         (struct _ymmh_state): Likewise.
21108         (struct _xstate): Likewise.
21110         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21111         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21113         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21114         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21115         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21117         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21118         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21119         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21120         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21121         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21122         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21124 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21126         [BZ #13743]
21127         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21128         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21129         (sysdep_headers): Include sys/platform/ppc.h.
21130         * sysdeps/powerpc/test-gettimebase.c: Test for
21131         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21132         * manual/Makefile (appendices): Include platform.texi.
21133         * manual/contrib.texi (Contributors): Update @node pointers.
21134         * manual/maint.texi (Maintenance): Likewise.
21135         (Platform): New node.
21136         * manual/platform.texi: New file.  Document the new features.
21138 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21139             Jakub Jelinek  <jakub@redhat.com>
21141         [BZ #14188]
21142         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21143         where __builtin_expect is unavailable.
21145 2012-06-03  David S. Miller  <davem@davemloft.net>
21147         * stdlib/longlong.h: Updated from GCC.
21149 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21151         [BZ #14042]
21152         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21153         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21154         __mcount_internal.
21155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21156         (GLIBC_2.16): Likewise.
21158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21162 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21165         (default-abi): New variable.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21167         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21168         variable.
21169         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21170         Likewise.
21171         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21172         Likewise.
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21174         Likewise.
21176         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21177         definition.  Document in comment.
21179 2012-06-01  David S. Miller  <davem@davemloft.net>
21181         * stdlib/longlong.h: Updated from GCC.
21183 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21185         [BZ #14117]
21186         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21187         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21188         sys/debugreg.h sys/io.h here.
21189         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21190         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21191         sys/io.h.
21192         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21193         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21194         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21195         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21196         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21197         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21200         Define only if __x86_64__ is defined.
21202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21204         [BZ #14048]
21205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21206         Use int64_t for variable i.
21207         * math/libm-test.inc (fmod_test): Add more tests.
21209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21210         z computation is not scheduled after fetestexcept.
21211         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21212         Use math_force_eval instead of asm to ensure calculation scheduled
21213         before exception test.
21214         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21215         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21217 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21220         computation is not scheduled after fetestexcept.
21222 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21224         [BZ #14117]
21225         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21226         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21228 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21231         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21233 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21235         [BZ #14117]
21236         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21237         <bits/wordsize.h>.
21238         (__WCHAR_MIN): Support __WORDSIZE == 64.
21239         (__WCHAR_MAX): Likewise.
21241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21244         [BZ #14183]
21245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21246         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21248         [BZ #14117]
21249         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21250         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21252         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21253         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21255         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21256         Defined to 1 if __x86_64__ isn't defined.
21257         (_STAT_VER_LINUX_OLD): New.
21258         (st_atime): Remove duplicate.
21259         (st_mtime): Likewise.
21260         (st_ctime): Likewise.
21262 2012-05-31  David S. Miller  <davem@davemloft.net>
21264         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21265         entries.
21267 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21269         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21270         gen-libm-test.pl.
21272         [BZ #14132]
21273         * elf/dl-reloc.c: Include <_itoa.h>.
21274         (_dl_reloc_bad_type): Remove use of INTUSE.
21275         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21276         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21277         * stdio-common/psiginfo.c (psiginfo): Likewise.
21278         * stdio-common/psignal.c (psignal): Likewise.
21279         * string/strsignal.c (strsignal): Likewise.
21280         * include/signal.h (_sys_siglist): Declare hidden proto.
21281         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21282         INTVARDEF with libc_hidden_data_def.
21283         * stdio-common/itoa-udigits.c: Likewise.
21284         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21285         (_itoa_lower_digits_internal): Remove declaration.
21286         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21287         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21288         (_sys_sigabbrev_internal): Remove aliases.
21289         (_sys_siglist): Define hidden alias.
21291 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21294         bits/sysctl.h.
21296 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21298         [BZ #14117]
21299         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21300         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21302         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21303         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21304         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21305         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21307         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21309         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21310         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21311         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21314         with __addr.
21315         (insw): Likewise.
21316         (insl): Likewise.
21317         (outsb): Likewise.
21318         (outsw): Likewise.
21319         (outsl): Likewise.
21321         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21323         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21325         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21326         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21327         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21328         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21329         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21330         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21332         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21333         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21335         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21336         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21342         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21343         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21344         to ...
21345         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21347         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21348         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21349         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21352         for x86-64.
21353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21355 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21357         * math/math.h (M_El): Use two more decimal places.
21358         (M_LOG2El): Likewise.
21359         (M_LOG10El): Likewise.
21360         (M_LN2l): Likewise.
21361         (M_LN10l): Likewise.
21362         (M_PIl): Likewise.
21363         (M_PI_2l): Likewise.
21364         (M_PI_4l): Likewise.
21365         (M_1_PIl): Likewise.
21366         (M_2_PIl): Likewise.
21367         (M_2_SQRTPIl): Likewise.
21368         (M_SQRT2l): Likewise.
21369         (M_SQRT1_2l): Likewise.
21371 2012-05-31  David S. Miller  <davem@davemloft.net>
21373         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21374         values between float registers.
21375         * sysdeps/sparc/sparc64/memset.S: Likewise.
21376         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21378 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21380         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21381         -D_FORTIFY_SOURCE=1.
21382         (CPPFLAGS-tst-longjmp_chk.c): Define.
21383         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21384         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21385         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21386         CFLAGS-tst-wchar-h.c.
21388 2012-05-31  Marek Polacek  <polacek@redhat.com>
21390         [BZ #14132]
21391         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21392         __endmntent_internal): Remove declaration.
21393         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21394         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21395         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21397 2012-05-30  David S. Miller  <davem@davemloft.net>
21399         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21400         (___Q_simulate_exceptions): Use real FP ops rather than writing
21401         into the %fsr.
21402         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21403         Likewise.
21405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21407         [BZ #14117]
21408         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21409         * sysdeps/x86/bits/xtitypes.h: This.
21411         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21412         * sysdeps/x86/bits/wordsize.h: This.
21414         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21415         * sysdeps/x86/bits/huge_vall.h: This.
21417         * sysdeps/i386/bits/select.h: Removed.
21418         * sysdeps/x86_64/bits/select.h: Renamed to ...
21419         * sysdeps/x86/bits/select.h: This.
21421         * sysdeps/i386/bits/setjmp.h: Removed.
21422         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21423         * sysdeps/x86/bits/setjmp.h: This.
21425         * sysdeps/i386/bits/mathdef.h: Removed.
21426         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21427         * sysdeps/x86/bits/mathdef.h: This.
21429 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21431         [BZ #14132]
21432         * include/sys/socket.h (__connect_internal)
21433         (__libc_sa_len_internal): Remove declaration.
21434         (__connect, __libc_sa_len): Declare hidden_proto.
21435         (SA_LEN): Remove use of INTUSE.
21436         * socket/connect.c: Add libc_hidden_def.
21437         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21438         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21439         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21440         alias.
21441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21443         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21444         of adding _internal alias.
21446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21448         [BZ #14117]
21449         * sysdeps/i386/bits/link.h: Removed.
21450         * sysdeps/i386/bits/linkmap.h: Likewise.
21451         * sysdeps/x86_64/bits/link.h: Renamed to ...
21452         * sysdeps/x86/bits/link.h: This.
21453         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21454         * sysdeps/x86/bits/linkmap.h: This.
21456         * sysdeps/i386/bits/endian.h: Removed.
21457         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21458         * sysdeps/x86/bits/endian.h: This.
21460         * sysdeps/i386/bits/byteswap.h: Removed.
21461         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21462         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21463         * sysdeps/x86/bits/byteswap.h: This.
21464         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21465         * sysdeps/x86/bits/byteswap-16.h: This.
21466         * sysdeps/i386/Implies: Add x86.
21467         * sysdeps/x86_64/Implies: Likewise.
21469 2012-05-30  David S. Miller  <davem@davemloft.net>
21471         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21472         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21473         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21474         (FP_TRAPPING_EXCEPTIONS): Define.
21475         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21476         (FP_TRAPPING_EXCEPTIONS): Define.
21477         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21478         subnormals only when inexact has been signalled or underflow
21479         exceptions are enabled.
21480         (_FP_PACK_CANONICAL): Likewise.
21482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21484         [BZ #14183]
21485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21486         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21488 2012-05-30  Richard Henderson  <rth@twiddle.net>
21490         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21491         with #ifndef NOT_IN_libc.
21493         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21494         marked to avoid plt entry.
21496 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21498         [BZ #14112]
21499         * Makeconfig (default-abi): New macro.
21500         (abi-includes): Likewise.
21501         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21502         $(abi-$(default-abi)-lib-soname) for soname if defined.
21503         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21504         abi-variants.
21505         * Makefile (installed-stubs): Likewise.
21506         * include/stubs-biarch.h: Removed.
21507         * scripts/lib-names.awk: Only handle one library at a time.
21508         * scripts/soversions.awk: Remove WORDSIZE support.
21509         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21510         entries.
21511         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21512         Removed.
21513         (syscall-list-default-condition): Likewise.
21514         (syscall-list-default-condition): Likewise.
21515         (syscall-list-includes): Likewise.
21516         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21517         syscall-list-* with abi-*.  Handle undefined abi-variants.
21518         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21519         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21520         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21521         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21522         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21523         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21524         Removed.
21525         (syscall-list-32-options): Likewise.
21526         (syscall-list-32-condition): Likewise.
21527         (syscall-list-64-options): Likewise.
21528         (syscall-list-64-condition): Likewise.
21529         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21530         macro.
21531         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21532         Renamed to ...
21533         (abi-*): This.
21534         (abi-64-ld-soname): New macro.
21535         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21536         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21537         Renamed to ...
21538         (abi-*): This.
21539         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21540         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21542 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21544         * sysdeps/unix/sysv/linux/kernel-features.h
21545         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21546         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21547         include <kernel-features.h>.
21548         [!__NR_ftruncate64]: Remove conditional code.
21549         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21550         [__NR_ftruncate64]: Make code unconditional.
21551         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21552         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21553         include <kernel-features.h>.
21554         [!__NR_ftruncate64]: Remove conditional code.
21555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21556         [__NR_ftruncate64]: Make code unconditional.
21557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21559         include <kernel-features.h>.
21560         [!__NR_ftruncate64]: Remove conditional code.
21561         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21562         [__NR_ftruncate64]: Make code unconditional.
21563         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21565         include <kernel-features.h>.
21566         [!__NR_ftruncate64]: Remove conditional code.
21567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21568         [__NR_ftruncate64]: Make code unconditional.
21569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21571         * configure.in (libc_cv_fpie): Weaken to a compile test using
21572         LIBC_TRY_CC_OPTION.
21573         * configure: Regenerated.
21575 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21581         Refreshed.
21582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21588         Refreshed.
21590 2012-05-27  David S. Miller  <davem@davemloft.net>
21592         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21593         (___Q_zero): New.
21594         (__Q_simulate_exceptions): Return void.  Change to simulate
21595         exceptions by writing into the %fsr.
21596         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21597         (__Qp_handle_exceptions): Likewise.
21598         (numbers): Delete.
21599         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21600         __Qp_handle_exceptions.
21601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21602         __Qp_handle_exceptions.
21603         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21604         as unused and give dummy FP_RND_NEAREST initializer.
21605         (FP_INHIBIT_RESULTS): Define.
21606         (___Q_simulate_exceptions): Update declaration.
21607         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21608         formatting.
21609         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21610         as unused and give dummy FP_RND_NEAREST initializer.
21611         (__Qp_handle_exceptions): Update declaration.
21612         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21613         formatting.
21615 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21617         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21618         the temporary FPU control word.
21619         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21620         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21622         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21623         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21624         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21625         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21626         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21627         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21628         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21629         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21631 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21633         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21634         fields.
21636 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21638         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21639         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21640         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21641         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21642         Likewise.
21643         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21644         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21645         Likewise.
21647 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21649         * po/h.po: Update from translation team.
21651 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21653         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21655         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21656         handling of denormals.
21657         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21658         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21659         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21660         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21664         Likewise.
21666 2012-05-26  Marek Polacek  <polacek@redhat.com>
21668         [BZ #14152]
21669         * math/libm-test.inc (fma_test): Don't always expect underflow
21670         exception.
21672 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21674         [BZ #12416]
21675         * elf/tst-execstack.c: Include stackinfo.h.
21676         (do_test): Adjust test case to ensure that pthread_getattr_np
21677         behaviour remains the same after marking stack executable.
21679 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21681         * sysdeps/unix/sysv/linux/kernel-features.h
21682         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21683         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21684         kernel-features.h.
21685         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21686         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21687         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21688         kernel-features.h.
21689         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21690         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21692 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21694         * configure.in: Define the default includes to being none.
21695         * configure: Regenerated.
21697 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21699         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21700         * sysdeps/x86_64/setjmp.S: Likewise.
21701         * sysdeps/i386/bsd-setjmp.S: Likewise.
21702         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21703         * sysdeps/i386/setjmp.S: Likewise.
21704         * sysdeps/i386/__longjmp.S: Likewise.
21705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21706         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21708         * include/stap-probe.h: New file.
21709         * configure.in: Handle --enable-systemtap.
21710         * configure: Regenerated.
21711         * config.h.in (USE_STAP_PROBE): New #undef.
21712         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21713         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21714         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21716 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21718         [BZ #13717]
21719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21720         to 2.4.0 where earlier.
21721         * sysdeps/unix/sysv/linux/configure: Regenerated.
21722         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
21727         <kernel-features.h>.
21728         [__ASSUME_32BITUIDS]: Make code unconditional.
21729         [!__ASSUME_32BITUIDS]: Remove conditional code.
21730         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21731         [__ASSUME_32BITUIDS]: Make code unconditional.
21732         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21733         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21734         <kernel-features.h>.
21735         [__ASSUME_32BITUIDS]: Make code unconditional.
21736         [!__ASSUME_32BITUIDS]: Remove conditional code.
21737         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21738         <kernel-features.h>.
21739         [__ASSUME_32BITUIDS]: Make code unconditional.
21740         [!__ASSUME_32BITUIDS]: Remove conditional code.
21741         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21742         <kernel-features.h>.
21743         [__ASSUME_32BITUIDS]: Make code unconditional.
21744         [!__ASSUME_32BITUIDS]: Remove conditional code.
21745         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21746         <kernel-features.h>.
21747         [__ASSUME_32BITUIDS]: Make code unconditional.
21748         [!__ASSUME_32BITUIDS]: Remove conditional code.
21749         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21750         <kernel-features.h>.
21751         [__ASSUME_32BITUIDS]: Make code unconditional.
21752         [!__ASSUME_32BITUIDS]: Remove conditional code.
21753         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21754         <kernel-features.h>.
21755         [__ASSUME_32BITUIDS]: Make code unconditional.
21756         [!__ASSUME_32BITUIDS]: Remove conditional code.
21757         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21758         <kernel-features.h>.
21759         [__ASSUME_32BITUIDS]: Make code unconditional.
21760         [!__ASSUME_32BITUIDS]: Remove conditional code.
21761         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21762         <kernel-features.h>.
21763         [__ASSUME_32BITUIDS]: Make code unconditional.
21764         [!__ASSUME_32BITUIDS]: Remove conditional code.
21765         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21766         <kernel-features.h>.
21767         [__ASSUME_32BITUIDS]: Make code unconditional.
21768         [!__ASSUME_32BITUIDS]: Remove conditional code.
21769         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21770         <kernel-features.h>.
21771         [__ASSUME_32BITUIDS]: Make code unconditional.
21772         [!__ASSUME_32BITUIDS]: Remove conditional code.
21773         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21774         <kernel-features.h>.
21775         [__NR_setresgid] (__setresgid): Do not declare.
21776         [__ASSUME_32BITUIDS]: Make code unconditional.
21777         [!__ASSUME_32BITUIDS]: Remove conditional code.
21778         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21779         <kernel-features.h>.
21780         [__NR_setresuid] (__setresuid): Do not declare.
21781         [__ASSUME_32BITUIDS]: Make code unconditional.
21782         [!__ASSUME_32BITUIDS]: Remove conditional code.
21783         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21784         <kernel-features.h>.
21785         [__ASSUME_32BITUIDS]: Make code unconditional.
21786         [!__ASSUME_32BITUIDS]: Remove conditional code.
21787         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21788         <kernel-features.h>.
21789         [__ASSUME_32BITUIDS]: Make code unconditional.
21790         [!__ASSUME_32BITUIDS]: Remove conditional code.
21791         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21792         <kernel-features.h>.
21793         [__ASSUME_32BITUIDS]: Make code unconditional.
21794         [!__ASSUME_32BITUIDS]: Remove conditional code.
21795         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21796         <kernel-features.h>.
21797         [__ASSUME_32BITUIDS]: Make code unconditional.
21798         [!__ASSUME_32BITUIDS]: Remove conditional code.
21799         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21800         <kernel-features.h>.
21801         [__ASSUME_32BITUIDS]: Make code unconditional.
21802         [!__ASSUME_32BITUIDS]: Remove conditional code.
21803         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21804         <kernel-features.h>.
21805         [__ASSUME_32BITUIDS]: Make code unconditional.
21806         [!__ASSUME_32BITUIDS]: Remove conditional code.
21807         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21808         <kernel-features.h>.
21809         [__ASSUME_32BITUIDS]: Make code unconditional.
21810         [!__ASSUME_32BITUIDS]: Remove conditional code.
21811         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21812         <kernel-features.h>.
21813         [__ASSUME_32BITUIDS]: Make code unconditional.
21814         [!__ASSUME_32BITUIDS]: Remove conditional code.
21815         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21816         <kernel-features.h>.
21817         [__ASSUME_32BITUIDS]: Make code unconditional.
21818         [!__ASSUME_32BITUIDS]: Remove conditional code.
21819         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21820         <kernel-features.h>.
21821         [__ASSUME_32BITUIDS]: Make code unconditional.
21822         [!__ASSUME_32BITUIDS]: Remove conditional code.
21823         * sysdeps/unix/sysv/linux/kernel-features.h
21824         (__ASSUME_SETRESUID_SYSCALL): Remove.
21825         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21826         (__ASSUME_32BITUIDS): Likewise.
21827         (__ASSUME_LDT_WORKS): Likewise.
21828         (__ASSUME_O_DIRECTORY): Likewise.
21829         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21830         architecture but not kernel version.
21831         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21832         (__ASSUME_MMAP2_SYSCALL): Likewise.
21833         (__ASSUME_STAT64_SYSCALL): Likewise.
21834         (__ASSUME_IPC64): Likewise.
21835         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21836         <kernel-features.h>.
21837         [__ASSUME_32BITUIDS]: Make code unconditional.
21838         [!__ASSUME_32BITUIDS]: Remove conditional code.
21839         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21840         <kernel-features.h>.
21841         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21842         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21843         132096]: Remove conditional code.
21844         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21845         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21846         <kernel-features.h>.
21847         [__ASSUME_32BITUIDS]: Make code unconditional.
21848         [!__ASSUME_32BITUIDS]: Remove conditional code.
21849         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21850         <kernel-features.h>.
21851         [__ASSUME_32BITUIDS]: Make code unconditional.
21852         [!__ASSUME_32BITUIDS]: Remove conditional code.
21853         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21854         <kernel-features.h>.
21855         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21856         unconditional.
21857         (__setresgid): Do not declare.
21858         [__ASSUME_32BITUIDS]: Make code unconditional.
21859         [!__ASSUME_32BITUIDS]: Remove conditional code.
21860         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21861         <kernel-features.h>.
21862         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21863         unconditional.
21864         (__setresuid): Do not declare.
21865         [__ASSUME_32BITUIDS]: Make code unconditional.
21866         [!__ASSUME_32BITUIDS]: Remove conditional code.
21867         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21868         <kernel-features.h>.
21869         [__ASSUME_32BITUIDS]: Make code unconditional.
21870         [!__ASSUME_32BITUIDS]: Remove conditional code.
21871         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21872         <kernel-features.h>.
21873         [__ASSUME_32BITUIDS]: Make code unconditional.
21874         [!__ASSUME_32BITUIDS]: Remove conditional code.
21876 2012-05-25  Richard Henderson  <rth@twiddle.net>
21878         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21879         dl_hwcap to ifunc resolver.
21880         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21881         elf_ifunc_invoke.
21882         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21883         dl_hwcap to ifunc resolver.
21884         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21886 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #14153]
21889         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21890         for |x| <= 2**-26, not 2**-57.
21891         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21892         exception.
21894 2012-05-24  Jeff Law  <law@redhat.com>
21896         * stdio-common/Makefile (tests): Add bug25.
21897         * stdio-common/bug25.c: New test.
21899 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21901         [BZ #13576]
21902         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21903         multiple of MALLOC_ALIGNMENT in size.
21904         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21906 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21908         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21909         Require >= 256.
21910         (FILENAME_MAX): Use macro-int-constant.
21911         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21912         (_IOFBF): Use macro-int-constant.
21913         (_IOLBF): Likewise.
21914         (_IONBF): Likewise.
21915         (SEEK_CUR): Likewise.
21916         (SEEK_END): Likewise.
21917         (SEEK_SET): Likewise.
21918         (TMP_MAX): Likewise.
21919         (EOF): Use macro-int-constant.  Require < 0.
21920         (NULL): Use macro-constant.  Require == 0.
21921         (stdin): Require type to be FILE *.
21922         (stdout): Likewise.
21923         (stderr): Likewise.
21924         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21925         macro-int-constant.
21926         (EXIT_SUCCESS): Likewise.
21927         (NULL): Use macro-constant.  Require == 0.
21928         (RAND_MAX): Use macro-int-constant.
21929         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21930         [C99-based standards] (strtof): Require function.
21931         [C99-based standards] (strtold): Likewise.
21932         [C99-based standards] (strtoll): Likewise.
21933         [C99-based standards] (strtoull): Likewise.
21934         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21935         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21936         [ISO || ISO99 || ISO11] (math.h): Likewise.
21937         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21938         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21941 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21943         [BZ #14132]
21944         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21945         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21946         * intl/dgettext.c (DCGETTEXT): Likewise.
21947         * intl/gettext.c (DCGETTEXT): Likewise.
21948         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21949         * posix/regex_internal.h (gettext): Likewise.
21950         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21951         Remove declaration.
21952         * include/argz.h (__argz_count_internal)
21953         (__argz_stringify_internal): Remove declaration.
21954         (__argz_count, __argz_stringify): Declare hidden proto.
21955         * intl/dcgettext.c: Remove use of INTDEF.
21956         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21957         * string/argz-stringify.c: Likewise.
21958         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21959         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21960         Declare hidden proto.
21961         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21962         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21963         Declare hidden proto.
21964         * include/stdio.h (__asprintf_internal): Don't declare.
21965         (__asprintf): Don't define as macro.  Declare hidden proto.
21966         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21967         (__fsetlocking): Declare hidden proto.
21968         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21969         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21970         hidden proto.
21971         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21972         (_IO_setlinebuf): Remove use of INTUSE.
21973         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21974         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21975         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21976         Remove declaration.
21977         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21978         (_IO_do_flush): Remove use of INTUSE.
21979         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21980         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21981         (_IO_adjust_column, _IO_least_wmarker)
21982         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21983         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21984         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21985         (_IO_default_doallocate, _IO_wdefault_doallocate)
21986         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21987         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21988         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21989         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21990         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21991         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21992         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21993         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21994         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21995         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21996         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21997         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21998         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21999         proto.
22000         (_IO_flush_all_internal, _IO_adjust_column_internal)
22001         (_IO_default_uflow_internal, _IO_default_finish_internal)
22002         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22003         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22004         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22005         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22006         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22007         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22008         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22009         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22010         (_IO_file_close_internal, _IO_file_close_it_internal)
22011         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22012         (_IO_file_init_internal, _IO_file_attach_internal)
22013         (_IO_file_fopen_internal, _IO_file_read_internal)
22014         (_IO_file_sync_internal, _IO_file_seek_internal)
22015         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22016         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22017         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22018         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22019         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22020         (_IO_list_all_internal, _IO_link_in_internal)
22021         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22022         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22023         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22024         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22025         (_IO_do_write_internal, _IO_padn_internal)
22026         (_IO_getline_info_internal, _IO_getline_internal)
22027         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22028         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22029         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22030         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22031         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22032         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22033         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22034         with libc_hidden_ver, remove use of INTUSE.
22035         * libio/genops.c: Likewise.
22036         * libio/freopen.c: Likewise.
22037         * libio/freopen64.c: Likewise.
22038         * libio/iofclose.c: Likewise.
22039         * libio/iofdopen.c: Likewise.
22040         * libio/iofflush.c: Likewise.
22041         * libio/iofflush_u.c: Likewise.
22042         * libio/iofgets.c: Likewise.
22043         * libio/iofgets_u.c: Likewise.
22044         * libio/iofopen.c: Likewise.
22045         * libio/iofopncook.c: Likewise.
22046         * libio/iofread.c: Likewise.
22047         * libio/iofread_u.c: Likewise.
22048         * libio/ioftell.c: Likewise.
22049         * libio/iofwrite.c: Likewise.
22050         * libio/iogetline.c: Likewise.
22051         * libio/iogets.c: Likewise.
22052         * libio/iogetwline.c: Likewise.
22053         * libio/iopadn.c: Likewise.
22054         * libio/iopopen.c: Likewise.
22055         * libio/ioseekoff.c: Likewise.
22056         * libio/ioseekpos.c: Likewise.
22057         * libio/iosetbuffer.c: Likewise.
22058         * libio/iosetvbuf.c: Likewise.
22059         * libio/ioungetc.c: Likewise.
22060         * libio/ioungetwc.c: Likewise.
22061         * libio/iovdprintf.c: Likewise.
22062         * libio/iovsprintf.c: Likewise.
22063         * libio/iovsscanf.c: Likewise.
22064         * libio/memstream.c: Likewise.
22065         * libio/obprintf.c: Likewise.
22066         * libio/oldfileops.c: Likewise.
22067         * libio/oldiofclose.c: Likewise.
22068         * libio/oldiofdopen.c: Likewise.
22069         * libio/oldiofopen.c: Likewise.
22070         * libio/oldiopopen.c: Likewise.
22071         * libio/oldstdfiles.c: Likewise.
22072         * libio/putc.c: Likewise.
22073         * libio/setbuf.c: Likewise.
22074         * libio/setlinebuf.c: Likewise.
22075         * libio/stdfiles.c: Likewise.
22076         * libio/strops.c: Likewise.
22077         * libio/vasprintf.c: Likewise.
22078         * libio/vscanf.c: Likewise.
22079         * libio/vsnprintf.c: Likewise.
22080         * libio/vswprintf.c: Likewise.
22081         * libio/wfiledoalloc.c: Likewise.
22082         * libio/wfileops.c: Likewise.
22083         * libio/wgenops.c: Likewise.
22084         * libio/wmemstream.c: Likewise.
22085         * libio/wstrops.c: Likewise.
22086         * libio/__fpurge.c: Likewise.
22087         * libio/__fsetlocking.c: Likewise.
22088         * assert/assert.c: Likewise.
22089         * debug/fgets_chk.c: Likewise.
22090         * debug/fgets_u_chk.c: Likewise.
22091         * debug/fread_chk.c: Likewise.
22092         * debug/fread_u_chk.c: Likewise.
22093         * debug/gets_chk.c: Likewise.
22094         * debug/obprintf_chk.c: Likewise.
22095         * debug/vasprintf_chk.c: Likewise.
22096         * debug/vdprintf_chk.c: Likewise.
22097         * debug/vsnprintf_chk.c: Likewise.
22098         * debug/vsprintf_chk.c: Likewise.
22099         * malloc/mtrace.c: Likewise.
22100         * misc/error.c: Likewise.
22101         * misc/syslog.c: Likewise.
22102         * stdio-common/asprintf.c: Likewise.
22103         * stdio-common/fxprintf.c: Likewise.
22104         * stdio-common/getw.c: Likewise.
22105         * stdio-common/isoc99_fscanf.c: Likewise.
22106         * stdio-common/isoc99_scanf.c: Likewise.
22107         * stdio-common/isoc99_vfscanf.c: Likewise.
22108         * stdio-common/isoc99_vscanf.c: Likewise.
22109         * stdio-common/isoc99_vsscanf.c: Likewise.
22110         * stdio-common/printf-prs.c: Likewise.
22111         * stdio-common/printf_fp.c: Likewise.
22112         * stdio-common/printf_fphex.c: Likewise.
22113         * stdio-common/printf_size.c: Likewise.
22114         * stdio-common/putw.c: Likewise.
22115         * stdio-common/scanf.c: Likewise.
22116         * stdio-common/sprintf.c: Likewise.
22117         * stdio-common/tmpfile.c: Likewise.
22118         * stdio-common/vfprintf.c: Likewise.
22119         * stdio-common/vfscanf.c: Likewise.
22120         * stdlib/strfmon_l.c: Likewise.
22121         * sunrpc/openchild.c: Likewise.
22122         * sunrpc/xdr_stdio.c: Likewise.
22123         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22124         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22126 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22128         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22130         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22131         in the third column, to generate for the shared library an IFUNC
22132         that uses _dl_vdso_vsym.
22133         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22134         * Makeconfig (object-suffixes-noshared): New variable.
22136         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22137         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22138         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22139         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22141         [BZ #14132]
22142         * include/sys/time.h (__gettimeofday): Remove macro.
22143         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22144         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22145         Remove INTDEF.
22146         (__gettimeofday): Add libc_hidden_def.
22147         (gettimeofday): Add libc_hidden_weak.
22148         * sysdeps/mach/gettimeofday.c: Likewise.
22149         * sysdeps/posix/gettimeofday.c: Likewise.
22150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22151         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22153         (__gettimeofday_internal): Remove strong_alias.
22154         (__gettimeofday): Add libc_hidden_def.
22155         (gettimeofday): Add libc_hidden_weak.
22156         * sysdeps/unix/syscalls.list (gettimeofday):
22157         Remove __gettimeofday_internal alias.
22159 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22160             H.J. Lu  <hongjiu.lu@intel.com>
22162         [BZ #12495]
22163         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22164         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22165         (largebin_index_32_big): New.
22166         (largebin_index): Use it for 16-byte alignment.
22167         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22168         correction with front_misalign.
22170 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22174         Likewise.
22175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22176         Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22178         Likewise.
22179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22180         Likewise.
22181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22182         Likewise.
22183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22184         Likewise.
22185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22186         Likewise.
22187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22188         Likewise.
22189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22190         Likewise.
22191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22192         Likewise.
22193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22194         Likewise.
22195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22196         Likewise.
22198         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22199         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22201 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22203         [BZ #10846]
22204         [BZ #14036]
22205         * math/libm-test.inc (exp_test): Add test from bug 14036.
22206         (pow_test): Add test from bug 10846.
22208         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22209         and other flags.
22210         (special_function): Do not include flags in test name.
22211         (parse_args): Likewise.
22212         * sysdeps/i386/fpu/libm-test-ulps: Update.
22213         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22214         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22215         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22218         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22219         exceptions.
22220         * math/libm-test.inc ("Philosophy"): Update comment about
22221         exception testing.
22222         (UNDERFLOW_EXCEPTION): New macro.
22223         (UNDERFLOW_EXCEPTION_OK): Likewise.
22224         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22225         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22226         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22227         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22228         (INVALID_EXCEPTION_OK): Update value.
22229         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22230         (OVERFLOW_EXCEPTION_OK): Likewise.
22231         (IGNORE_ZERO_INF_SIGN): Likewise.
22232         (test_exceptions): Handle underflow exceptions.
22233         (acos_test): Update for underflow exception expectations.
22234         (cexp_test): Likewise.
22235         (clog_test): Likewise.
22236         (clog10_test): Likewise.
22237         (csqrt_test): Likewise.
22238         (ctan_test): Likewise.
22239         (ctanh_test): Likewise.
22240         (exp_test): Likewise.
22241         (exp10_test): Likewise.
22242         (exp2_test): Likewise.
22243         (expm1_test): Likewise.
22244         (fma_test): Likewise.
22245         (j0_test): Likewise.
22246         (jn_test): Likewise.
22247         (nexttoward_test): Likewise.
22248         (pow_test): Likewise.
22249         (scalbn_test): Likewise.
22250         (scalbln_test): Likewise.
22251         (tan_test): Likewise.
22252         (y1_test): Likewise.
22253         * sysdeps/i386/fpu/libm-test-ulps: Update.
22254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22256 2012-05-23  David S. Miller  <davem@davemloft.net>
22258         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22259         (__libc_sigaction): Remove unused local variables.
22261 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22263         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22265 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22267         mktime: avoid signed integer overflow
22268         * time/mktime.c (__mktime_internal): Do not mishandle the case
22269         where diff == INT_MIN.
22271         mktime: simplify computation of average
22272         * time/mktime.c (ranged_convert): Use new time_t_avg function
22273         instead of rolling our own (probably-slower) code.
22275         mktime: do not assume signed right shift propagates sign bit
22276         * time/mktime.c (isdst_differ): New static function.
22277         (__mktime_internal): No need to normalize tm_isdst now.
22278         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22279         tm_isdst values.
22281         mktime: merge another wrapv change from gnulib
22282         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22283         from some compilers.
22285         mktime: remove incorrect attempt at unusual arithmetics
22286         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22287         The code didn't really work on such machines anyway.
22288         (TYPE_MINIMUM): Assume two's complement.
22289         (twos_complement_arithmetic): Verify that long_int and time_t
22290         are two's complement (or unsigned, in the latter case).
22292         mktime: check signed shifts on long_int and time_t, too
22293         * time/mktime.c (SHR): Check that shifts work as desired
22294         on the types long_int and time_t too, as SHR is used on
22295         such types.
22297         mktime: do not assume 'long' is wide enough
22298         * time/mktime.c (verify): Move decl up.
22299         (long_int): New type.
22300         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22301         to remove assumption in the code that 'long' is wide enough to
22302         store year values.  This assumption is not true on x32 and on
22303         some non-glibc platforms.
22305         mktime: merge wrapv change from gnulib
22306         * time/mktime.c (WRAPV): New macro.
22307         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22308         (guess_time_tm, __mktime_internal): Do not assume that signed
22309         integer overflow wraps around; modern compilers generate code
22310         where this assumption is no longer valid.
22312 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22314         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22315         Replace "jmp L(pseudo_end)" with "ret".
22316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22317         Likewise.
22319 2012-05-23  Andreas Jaeger  <aj@suse.de>
22321         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22322         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22324 2012-05-23  Andreas Jaeger  <aj@suse.de>
22325             Maximilian Attems  <max@stro.at>
22327         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22328         New macros.
22330 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22332         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22333         code so that pseudo_end is just ret and the stack pointer is
22334         correct also for static library in error case.
22336 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22338         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22339         move to syscalls.list.
22340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22345         * manual/install.texi (Running make install): Do not mention Linux
22346         kernel version for which pt_chown is not needed.
22347         (Linux): Do not mention problems with nscd with 2.0 kernels.
22348         * INSTALL: Regenerated.
22350 2012-05-23  Andreas Jaeger  <aj@suse.de>
22352         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22353         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22354         macro.
22355         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22357         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22359         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22361         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22363         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22365         * sysdeps/unix/sysv/linux/bits/in.h
22366         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22368 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22370         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22371         (PREPARE_VERSION): Just use assert instead, it will be elided
22372         under [NDEBUG] anyway.
22374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22376         * sysdeps/unix/sysv/linux/Makefile: Include
22377         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22378         (sysdep_routines): Remove sysctl.
22379         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22380         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22382         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22383         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22385 2012-05-22  Andreas Jaeger  <aj@suse.de>
22387         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22388         that pseudo_end is just ret and the stack pointer is correct also
22389         for static library in error case.
22391 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22393         [BZ #14122]
22394         * nss/nsswitch.c (defconfig_entries): New variable.
22395         (__nss_database_lookup): Don't leak defconfig entries.
22396         (nss_parse_service_list): Don't leak on error paths.
22397         (free_database_entries): New function.
22398         (free_defconfig): New function.
22399         (free_mem): Move common code to free_database_entries.
22401 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22403         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22404         Add arch_prctl.
22405         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22407         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22408         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22410         New macro.
22411         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22412         (INTERNAL_SYSCALL_TYPES): Likewise.
22413         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22414         (LOAD_REGS_TYPES_[1-6]): Likewise.
22415         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22416         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22418 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22420         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22421         copysignl for GLIBC_2_0.
22422         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22423         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22425         logbl for GLIBC_2_0.
22426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22427         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22431         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22432         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22434         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22435         Use "neg %eax".
22437         * time/mktime.c: Update copyright years.
22439 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22441         mktime: merge comment-quoting-style change from gnulib
22442         * time/mktime.c: Quote 'like this' in comments.
22443         The GNU coding standards suggest that we no longer quote `like this',
22444         as "`" and "'" are typically rendered asymmetrically nowadays.
22445         The typical gnulib style is to quote 'like this' when quoting
22446         code, and "like this" when quoting English.
22448         * time/mktime.c (compile-command): Add "-I.".
22450         mktime: merge mktime-internal.h change from gnulib
22451         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22453         mktime: merge time_r change from gnulib
22454         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22456         mktime: merge DEBUG change from gnulib
22457         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22458         case system <time.h> has a #define.
22460         mktime: merge <sys/types.h> change from gnulib
22461         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22462         since <time.t> is now guaranteed to define time_t.
22464         mktime: merge HAVE_CONFIG_H change from gnulib
22465         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22470         Use "neg %eax".
22472         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22473         __rlim_t cast.
22474         (struct rusage): Use anonymous union to pad each field to
22475         __syscall_slong_t.
22477 2012-05-21  David S. Miller  <davem@davemloft.net>
22479         * Makefules (o-iterator): Remove .s cases.
22480         (compile-command.s): Delete.
22481         (COMPILE.s): Delete.
22482         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22484 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22486         * configure.in (libc_cv_predef_stack_protector): Only consider
22487         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22488         * configure: Regenerated.
22490 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22493         New macro.  Use R*LP on int and pointer.
22494         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22495         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22496         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22497         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22499         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22500         [__WORDSIZE_TIME64_COMPAT32] instead of
22501         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22502         (struct utmp): Likewise.
22503         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22504         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22505         Renamed to ...
22506         (__WORDSIZE_TIME64_COMPAT32): This.
22507         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22508         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22509         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22510         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22511         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22512         (__WORDSIZE_TIME64_COMPAT32): New macro.
22514 2012-05-21  Andreas Jaeger  <aj@suse.de>
22516         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22517         only if [SHARED]. Add prototype for __wcschr_ia32.
22519 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22521         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22522         of %rbp unmolested in the jmp_buf while mangling the low bits.
22523         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22524         unmolested high bits of %rbp while demangling the low bits.
22525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22527 2012-05-21  Andreas Jaeger  <aj@suse.de>
22529         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22530         * sunrpc/svc_simple.c: Use it for registerrpc.
22531         * sunrpc/xcrypt.c: Use it for passwd2des.
22533         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22535 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22537         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22538         Don't define if [__SYSCALL_WORDSIZE != 32].
22539         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22540         New macro.
22542 2012-05-21  Bruno Haible  <bruno@clisp.org>
22543             Andreas Jaeger  <aj@suse.de>
22545         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22546         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22547         inptr and inend for must_buffer_ch.
22548         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22549         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22550         * stdio-common/Makefile (tests): Remove bug15.
22551         (bug15-ENV): Remove macro.
22552         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22553         anymore.
22555 2012-05-19  Andreas Jaeger  <aj@suse.de>
22556             Roland McGrath  <roland@hack.frob.com>
22558         * manual/contrib.texi: Completely rewritten. It contains now an
22559         alphabetical list of contributors and their contributions.
22561 2012-05-21  Richard Henderson  <rth@twiddle.net>
22563         * misc/getauxval.c (__getauxval): Use unsigned long int.
22564         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22565         (getauxval): Use unsigned long int.
22567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22569         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22571 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22573         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22574         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22575         __alignof__ (long double).
22577 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22581 2012-05-20  Richard Henderson  <rth@twiddle.net>
22583         * misc/getauxval.c: New file.
22584         * misc/sys/auxv.h: New file.
22585         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22586         (routines): Add getauxval.
22587         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22588         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22589         * elf/dl-sysdep.c (_dl_auxv): Remove.
22590         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22591         * elf/dl-support.c (_dl_auxv): New variable.
22592         (_dl_aux_init): Initialize it.
22593         * manual/startup.texi (Auxiliary Vector): New node.
22594         * sysdeps/generic/bits/hwcap.h: New file.
22595         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22596         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22597         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22598         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22599         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22602         Update.
22603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22612 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22616 2012-05-19  David S. Miller  <davem@davemloft.net>
22618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22620 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22622         [BZ #14123]
22623         * math/s_ccosh.c: Include <float.h>
22624         (__ccosh): Avoid internal overflow calculating sinh and cosh
22625         values before multiplying by sin and cos values.
22626         * math/s_ccoshf.c: Likewise.
22627         * math/s_ccoshl.c: Likewise.
22628         * math/s_csin.c: Likewise.
22629         * math/s_csinf.c: Likewise.
22630         * math/s_csinl.c: Likewise.
22631         * math/s_csinh.c: Likewise.
22632         * math/s_csinhf.c: Likewise.
22633         * math/s_csinhl.c: Likewise.
22634         * math/libm-test.inc (ccos_test): Add more tests.
22635         (ccosh_test): Likewise.
22636         (csin_test): Likewise.
22637         (csinh_test): Likewise.
22638         * sysdeps/i386/fpu/libm-test-ulps: Update.
22639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22641 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22643         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22644         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22646         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22648 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22650         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22651         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22652         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22653         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22654         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22655         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22656         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22657         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22658         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22659         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22660         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22661         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22662         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22663         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22664         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22665         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22666         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22667         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22668         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22669         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22670         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22671         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22672         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22673         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22674         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22675         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22676         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22677         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22678         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22679         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22680         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22682 2012-05-18  Andreas Jaeger  <aj@suse.de>
22684         * csu/.gitignore: Delete.
22686 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22688         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22689         (timex): Use __syscall_slong_t.
22691 2012-05-18  Andreas Jaeger  <aj@suse.de>
22692             Carlos O'Donell  <carlos_odonell@mentor.com>
22694         * manual/install.texi (Configuring and compiling): Update
22695         description about files modified in the source directory.
22696         * INSTALL: Regenerated.
22698 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22700         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22701         value.  Use "or" to set return value to -1.
22702         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22703         negate return value.
22705 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22707         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22708         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22709         failure if the compiler has Graphite support disabled.
22710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22711         Likewise.
22712         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22713         CFLAGS-memmove.c): Likewise.
22714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22715         Likewise.
22717 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22719         * sysdeps/x86_64/x32/_itoa.h: New file.
22721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22722         getdents system call only if kernel and user dirents have the
22723         same d_ino and d_off.
22725         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22726         LLONG_MAX != LONG_MAX.
22727         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22728         (_fitoa_word): Likewise.
22730         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22731         years.
22732         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22733         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22734         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22736         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22737         include <bits/wordsize.h>.  Check __x86_64__ instead of
22738         __WORDSIZE.
22739         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22740         if __x86_64__ is defined.  Use anonymous union on fpstate.
22742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22743         anonymous union.
22745 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22747         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22748         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22749         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22750         Refer to _rtld_local_ro instead of _rtld_global_ro.
22751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22752         Likewise.
22753         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22754         Likewise.
22755         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22756         Likewise.
22757         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22758         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22759         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22761         * sysdeps/powerpc/powerpc32/dl-machine.c
22762         (__elf_machine_runtime_setup) [PROF]: Don't reference
22763         _dl_prof_resolve.
22765 2012-05-18  Andreas Jaeger  <aj@suse.de>
22767         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22768         function only available for GCCs before 3.4 since GCC 3.4
22769         introduced a builtin.
22770         (lrint): Likewise.
22771         (llrintf): Likewise.
22772         (llrint): Likewise.
22773         (fmaxf): Likewise.
22774         (fmax): Likewise.
22775         (fminf): Likewise.
22776         (fmin): Likewise.
22777         (rint): Likewise.
22778         (rintf): Likewise.
22779         (nearbyint): Likewise.
22780         (nearbyintf): Likewise.
22781         (ceil): Likewise.
22782         (ceilf): Likewise.
22783         (floor): Likewise.
22784         (floorf): Likewise.
22786 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22788         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22789         on both fields and cast pointer to __syscall_ulong_t.
22791         * bits/types.h (__fsword_t): New type.
22792         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22793         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22795         (__FSWORD_T_TYPE): Likewise.
22796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22797         (__FSWORD_T_TYPE): Likewise.
22798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22799         (__FSWORD_T_TYPE): Likewise.
22800         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22801         (__FSWORD_T_TYPE): Likewise.
22802         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22803         __SWORD_TYPE with __fsword_t.
22804         (statfs64): Likewise.
22806 2012-05-17  David S. Miller  <davem@davemloft.net>
22808         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22810 2012-05-17  Andreas Jaeger  <aj@suse.de>
22812         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22813         warning.
22815 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22817         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22819 2012-05-17  Andreas Jaeger  <aj@suse.de>
22821         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22822         when it is used.
22824 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22826         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22828 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22830         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22831         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22833 2012-05-17  Andreas Jaeger  <aj@suse.de>
22834             Carlos O'Donell  <carlos_odonell@mentor.com>
22836         [BZ #14059]
22837         * sysdeps/x86_64/multiarch/init-arch.h
22838         (bit_YMM_Usable): Rename to...
22839         (bit_AVX_Usable): ... this.
22840         (bit_FMA4_Usable): New macro.
22841         (bit_XMM_state): New macro.
22842         (bit_YMM_state): New macro.
22843         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22844         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22845         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22846         (CPUID_OSXSAVE): New macro.
22847         (CPUID_AVX): New macro.
22848         (CPUID_FMA4): New macro.
22849         (index_YMM_Usable): Rename to...
22850         (index_AVX_Usable): ... this.
22851         (HAS_AVX): Use HAS_ARCH_FEATURE.
22852         (HAS_FMA4): Likewise.
22853         (HAS_YMM_USABLE): Remove.
22854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22855         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22856         are present.
22857         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22858         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22859         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22860         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22861         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22863 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22865         * math/libm-test.c: Support platforms without multiple rounding modes.
22866         * math/bug-nextafter.c: Support platforms without FP exceptions.
22867         * math/bug-nexttoward.c: Likewise.
22868         * math/test-fenv.c: Likewise.
22869         * math/test-misc.c: Likewise.
22870         * stdlib/bug-getcontext.c: Likewise.
22872 2012-05-17  Andreas Jaeger  <aj@suse.de>
22874         * manual/examples/search.c (critter_cmp): Change signature to
22875         avoid warnings.
22876         * manual/string.texi (Collation Functions): Likewise.
22878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22880         * bits/types.h: Fold copyright years.
22881         * bits/typesizes.h: Likewise.
22882         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22884         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22886         * time/time.h: Likewise.
22888 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22890         [BZ #208]
22891         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22892         in instead of returning them.  Return void.
22893         (__libc_mallinfo): Accumulate over all arenas.
22894         (__malloc_stats): Adjust for change in int_mallinfo interface.
22896 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22898         [BZ #10375]
22899         * configure.in (NM): Add AC_CHECK_TOOL for it.
22900         (libc_extra_cflags): New substituted variable.
22901         Check for -fstack-protector being used implicitly.
22902         * configure: Regenerated.
22903         * config.make.in (config-extra-cflags): New variable,
22904         gets @libc_extra_cflags@.
22905         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22907         [BZ #10375]
22908         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22909         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22910         * configure: Regenerated.
22911         * config.make.in (CPPUNDEFS): New substituted variable.
22912         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22913         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22914         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22918         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22919         (mq_attr): Use __syscall_slong_t.
22921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22923         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22924         Check __x86_64__ instead of __WORDSIZE.
22925         (_STAT_VER_LINUX): Likewise.
22926         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22927         __syscall_ulong_t and __syscall_slong_t.
22928         (stat64): Likewise.
22930 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22932         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22936         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22938 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22940         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22941         __syscall_ulong_t.
22943         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22944         include <bits/wordsize.h>.  Check __x86_64__ instead of
22945         __WORDSIZE.
22946         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22947         defined.
22948         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22950         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22951         include <bits/wordsize.h>.  Check __x86_64__ instead of
22952         __WORDSIZE.
22953         (user_regs_struct): Use "__extension__ unsigned long long"
22954         instead of "unsigned long" if __x86_64__ is defined.
22955         (user): Likewise.  Pad after pointer field if __ILP32__ is
22956         defined.
22958 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22960         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22961         versions 5 to 9.
22962         * configure: Regenerated.
22963         * manual/install.texi (texinfo): Increase version requirement to
22964         4.5 or later.
22965         * INSTALL: Regenerated.
22967         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22969 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22971         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22973         * sysdeps/x86_64/x32/ffs.c: New file.
22975         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22976         __syscall_ulong_t.
22977         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22978         defined.  Use __syscall_ulong_t.
22979         (shminfo): Use __syscall_ulong_t.
22980         (shm_info): Likewise.
22982         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22983         __syscall_ulong_t.
22985         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22986         <bits/wordsize.h>.
22987         (msgqnum_t): Use __syscall_ulong_t.
22988         (msglen_t): Likewise.
22989         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22990         __syscall_ulong_t.
22992         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22993         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22995         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22997         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22998         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23000         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23001         __syscall_slong_t.
23003         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23004         include <bits/wordsize.h>.  Check __x86_64__ instead of
23005         __WORDSIZE.
23007         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23008         "unsigned long long int" if __x86_64__ is defined.
23009         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23011         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23012         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23013         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23015         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23016         <stdint.h>.
23017         (GET_PC): Cast to uintptr_t first.
23018         (GET_FRAME): Likewise.
23019         (GET_STACK): Likewise.
23021         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23022         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23023         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23025         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23027         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23028         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23029         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23030         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23031         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23032         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23033         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23034         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23035         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23036         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23037         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23038         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23039         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23040         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23042         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23043         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23044         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23045         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23046         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23047         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23048         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23049         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23051 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23053         * Makerules (+depfiles): Also collect depfiles from .oS in
23054         $(extra-objs).
23055         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23056         .oS, $(libnldbl-routines)).
23058         * Makerules (native-compile-mkdep-flags): Define.
23059         * sunrpc/Makefile (extra-objs): Add $(addprefix
23060         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23061         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23062         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23063         calling $(make-target-directory).
23065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23067         * bits/types.h (__snseconds_t): Removed.
23068         * time/time.h (struct timespec): Replace __snseconds_t with
23069         __syscall_slong_t.
23070         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23071         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23072         Likewise.
23073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23074         (__SNSECONDS_T_TYPE): Likewise.
23075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23076         (__SNSECONDS_T_TYPE): Likewise.
23077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23078         (__SNSECONDS_T_TYPE): Likewise.
23080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23082         * sysdeps/mach/hurd/bits/typesizes.h
23083         (__SYSCALL_SLONG_TYPE): New macro.
23084         (__SYSCALL_ULONG_TYPE): Likewise.
23086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23088         * bits/types.h (__syscall_slong_t): New type.
23089         (__syscall_ulong_t): Likewise.
23091         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23092         (__SYSCALL_ULONG_TYPE): Likewise.
23093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23094         (__SYSCALL_SLONG_TYPE): Likewise.
23095         (__SYSCALL_ULONG_TYPE): Likewise.
23096         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23097         (__SYSCALL_SLONG_TYPE): Likewise.
23098         (__SYSCALL_ULONG_TYPE): Likewise.
23099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23100         (__SYSCALL_SLONG_TYPE): Likewise.
23101         (__SYSCALL_ULONG_TYPE): Likewise.
23103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23105         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23106         Add sigaltstack-offsets.sym.
23107         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23108         <sigaltstack-offsets.h>.
23109         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23110         longjmp_msg pointer.
23111         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23112         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23113         signal stack.
23114         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23116 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23118         * elf/stackguard-macros.h: Remove file.
23119         * sysdeps/generic/stackguard-macros.h: New file.
23120         * sysdeps/i386/stackguard-macros.h: Likewise.
23121         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23122         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23123         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23124         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23125         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23126         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23127         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23128         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23129         <elf/stackguard-macros.h>.
23131         [BZ #14109]
23132         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23133         __aligned__ in attribute.
23134         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23135         (gregset_t): Likewise.
23137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23139         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23140         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23141         * sysdeps/x86_64/x32/Implies-after: New file.
23143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23145         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23146         and access return value for _dl_profile_fixup.  Use R10_LP to
23147         load frame size.
23149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23151         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23155         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23156         * sysdeps/x86_64/x32/sysdep.h: New file.
23158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23160         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23161         * sysdeps/x86_64/setjmp.S: Likewise.
23163 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23165         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23166         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23167         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23168         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23169         remove unused global constant.
23171 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23173         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23174         include of <not-cancel.h>.
23176 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23178         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23180 2012-05-15  Jeff Law  <law@redhat.com>
23181             Andreas Jaeger  <aj@suse.de>
23183         [BZ #13594]
23184         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23185         out from...
23186         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23187         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23188         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23189         code changing __hst_map_handle.map.
23191 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23193         * configure.in (sysnames): Look for Implies-before and Implies-after
23194         files.
23195         * configure: Regenerated.
23197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23199         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23200         8-byte data alignment with LP_SIZE alignment.
23202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23204         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23205         into R10_LP.
23207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23209         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23213         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23214         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23215         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23216         Likewise.
23217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23221         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23222         (stackinfo_sub_sp): Likewise.
23224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23227         RAX_LP.
23229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23231         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23232         into R*_LP.
23234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23237         sizes into R*_LP.
23239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23241         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23245         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23246         into R11_LP and load __x86_64_shared_cache_size_half into
23247         R8_LP.
23249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23251         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23252         R8_LP.
23254 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23257         logb for POWER7.
23258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23259         logbf for POWER7.
23260         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23261         logbl for POWER7.
23262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23263         powerpc32/power7/fpu/s_logb.c via #include.
23264         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23265         powerpc32/power7/fpu/s_logbf.c via #include.
23266         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23267         powerpc32/power7/fpu/s_logbl.c via #include.
23269 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23271         * README.libm: Remove file.
23273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23275         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23276         count for x32.  Use R*_LP and omit operand-size suffix.
23278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23280         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23281         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23282         * sysdeps/x86_64/x32/shlib-versions: New file.
23284 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23286         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23287         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23288         Use _dl_fatal_printf instead.
23290 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23292         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23293         set if not set by the user.  Do not allow for being unset.
23294         * sysdeps/unix/sysv/linux/configure: Regenerated.
23296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23299         the `q' suffix from lea and replace .quad with ASM_ADDR.
23301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23304         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23305         instead of $17.
23306         (PTR_DEMANGLE): Likewise.
23308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23310         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23311         (LP_OP): Likewise.
23312         (ASM_ADDR): Likewise.
23313         (RAX_LP): Likewise.
23314         (RBP_LP): Likewise.
23315         (RBX_LP): Likewise.
23316         (RCX_LP): Likewise.
23317         (RDI_LP): Likewise.
23318         (RSI_LP): Likewise.
23319         (RSP_LP): Likewise.
23320         (R8_LP): Likewise.
23321         (R9_LP): Likewise.
23322         (R10_LP): Likewise.
23323         (R10_LP): Likewise.
23324         (R11_LP): Likewise.
23325         (R12_LP): Likewise.
23326         (R13_LP): Likewise.
23327         (R14_LP): Likewise.
23328         (R15_LP): Likewise.
23330 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23332         * sysdeps/x86_64/x32/dl-machine.h: New file.
23334 2012-05-14  Andreas Jaeger  <aj@suse.de>
23336         * manual/Makefile (subdir): Remove export of subdir.
23337         (all): Remove target.
23338         (.PHONY): Remove all from list.
23339         (mkinstalldirs): Remove.
23340         (.PHONY): Remove installdirs from list.
23341         ($(inst_infodir)/libc.info): Use make-target-directory.
23342         (installdirs): Remove.
23343         (subdir_%): Remove.
23344         (glibc-targets): Remove.
23345         (lib): Remove.
23346         (stubs): Remove.
23347         ($(objpfx)stubs ../po/manual.pot): Remove.
23348         ($(objpfx)stamp%): Remove.
23349         (make-target-directory): Remove.
23350         (subdir_install): Remove.
23351         (routines): Remove.
23352         (aux): Remove.
23353         (sources): Remove.
23354         (objects): Remove.
23355         (headers): Remove.
23357         [BZ #13750]
23358         * manual/.gitignore: Remove, it's not needed anymore.
23359         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23360         all files in it.
23361         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23362         directory.
23363         (texis): Renamed to $(objpfx)texis.
23364         (texis-path): New, contains path to generated files.
23365         (chapters.%): Use texis-path for complete path, add extra argument
23366         libc-texinfo.sh.
23367         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23368         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23369         (summary,texi, stamp-summary): Use complete path of
23370         files. Generate files in build dir.
23371         (dir-add.texi): Build in build dir.
23372         (libm-err.texi,stamp-libm-err): Likewise.
23373         (version.texi, stamp-version): Likewise.
23374         (.%c.texi): Likewise.
23375         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23376         (mostlyclean): Remove target.
23377         (realclean): Remove target.
23378         (generated): Add new variable with contents from mostlyclean and
23379         realclean, remove entries duplicated in common-mostlyclean, add
23380         stamp-libm-err and stamp-version.
23381         (generated-dirs): Add libc directory.
23382         ($(inst_infodir)/libc.info): Install files from build dir.
23384         * manual/install.texi (Configuring and compiling): Adjust since
23385         the info files are not part of the tar ball anymore.
23387 2012-05-14  Andreas Jaeger  <aj@suse.de>
23389         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23390         variable.
23392 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23394         [BZ #13717]
23395         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23396         to 2.2.0 where earlier.
23397         * sysdeps/unix/sysv/linux/configure: Regenerated.
23398         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23399         Remove conditional code.
23400         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23401         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23402         Remove conditional code.
23403         [!__NR_lchown]: Likewise.
23404         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23405         [__NR_lchown]: Likewise.
23406         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23407         comment referencing __ASSUME_LCHOWN_SYSCALL.
23408         * sysdeps/unix/sysv/linux/i386/sigaction.c
23409         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23410         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23411         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23412         Remove conditional code.
23413         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23414         (__protocol_available): Remove #if 0 code.
23415         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23416         conditional code.
23417         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23418         * sysdeps/unix/sysv/linux/kernel-features.h
23419         (__ASSUME_GETCWD_SYSCALL): Don't define.
23420         (__ASSUME_REALTIME_SIGNALS): Likewise.
23421         (__ASSUME_PREAD_SYSCALL): Likewise.
23422         (__ASSUME_PWRITE_SYSCALL): Likewise.
23423         (__ASSUME_POLL_SYSCALL): Likewise.
23424         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23425         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23426         non-SPARC.
23427         (__ASSUME_SIOCGIFNAME): Don't define.
23428         (__ASSUME_MSG_NOSIGNAL): Likewise.
23429         (__ASSUME_SENDFILE): Define unconditionally.
23430         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23431         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23432         conditional code.
23433         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23434         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23435         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23436         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23437         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23438         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23439         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23441         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23444         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23447         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23450         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23451         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23453         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23454         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23459         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23464         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23465         Remove conditional code.
23466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23467         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23468         Remove conditional code.
23469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23470         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23471         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23472         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23473         Remove conditional code.
23474         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23475         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23476         Remove conditional code.
23477         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23478         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23479         Remove conditional code.
23480         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23481         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23482         Remove conditional code.
23483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23484         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23485         Remove conditional code.
23486         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23487         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23488         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23490         * sysdeps/unix/sysv/linux/sigaction.c
23491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23493         * sysdeps/unix/sysv/linux/sigpending.c
23494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23496         * sysdeps/unix/sysv/linux/sigprocmask.c
23497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23499         * sysdeps/unix/sysv/linux/sigsuspend.c
23500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23502         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23503         (__libc_missing_rt_sigs): Remove.
23504         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23505         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23506         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23507         Remove conditional code.
23508         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23509         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23510         return 1.
23511         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23512         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23513         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23514         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23516 2012-05-14  Andreas Jaeger  <aj@suse.de>
23518         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23519         it's not used in glibc.
23520         (__coshm1): Likewise.
23521         (__acosh1p): Likewise.
23522         (__sgn): Likewise.
23524         * manual/string.texi (Copying and Concatenation): Add missing
23525         variable in concat example.
23526         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23530         [BZ #14103]
23531         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23532         __builtin_clzl with __builtin_clzll.
23534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23536         [BZ #14104]
23537         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23538         libc_freeres_ptr.
23540 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23542         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23543         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23544         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23545         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23547 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23549         * NEWS: Update ia64 info.
23551 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23553         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23554         used as bcopy.
23556 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23558         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23559         * sysdeps/unix/syscalls.list (dup3): Likewise.
23560         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23561         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23563 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23565         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23566         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23568 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23570         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23571         thread pointer.
23572         (TLS_IE): Use mov/add instead of movq/addq to load thread
23573         pointer.
23574         (TLS_GD_PREFIX): New.
23575         (TLS_GD): Use it.
23577 2012-05-11  David S. Miller  <davem@davemloft.net>
23579         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23580         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23581         (_FPU_SETCW): Likewise.
23583 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23585         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23586         is 32-byte aligned.
23588 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23590         [BZ #11837]
23591         * iconvdata/gb18030.c: Update tables.
23592         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23593         characters specially.
23594         (BODY for TO_LOOP): Add encoding of missing ranges.
23596 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23598         [BZ #13673]
23599         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23600         * sysdeps/mach/hurd/dup3.c: Likewise.
23601         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23602         * sysdeps/powerpc/memmove.c:: Likewise.
23604 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23607         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23609 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23611         * elf/elf.h (R_X86_64_RELATIVE64): New.
23612         (R_X86_64_NUM): Updated.
23613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23614         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23615         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23616         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23617         tst-quad1pie tst-quad2pie
23618         (modules-names): Add tst-quadmod1 tst-quadmod2.
23619         ($(objpfx)tst-quad1): New dependency.
23620         ($(objpfx)tst-quad2): Likewise.
23621         ($(objpfx)tst-quad1pie): Likewise.
23622         ($(objpfx)tst-quad2pie): Likewise.
23623         * sysdeps/x86_64/tst-quad1.c: New file.
23624         * sysdeps/x86_64/tst-quad1pie.c: New file.
23625         * sysdeps/x86_64/tst-quad2.c: Likewise.
23626         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23627         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23628         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23629         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23630         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23634         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23635         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23636         * streams/stropts.h (t_scalar_t): Define type.
23638         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23639         (_PATH_PRESERVE): Set to "/var/lib".
23640         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23642         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23643         instead of int.
23645         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23646         if __dir_mkfile succeeded.
23648         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23649         checking for _hurd_dtablesize.  Unlock it right after having
23650         finished _hurd_dtable allocation.
23652 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23654         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23655         * sysdeps/mach/hurd/configure: Regenerated.
23656         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23657         special-casing to...
23658         * sysdeps/gnu/configure.in: ... this new file.
23659         * sysdeps/unix/sysv/linux/configure: Regenerated.
23660         * sysdeps/gnu/configure: New generated file.
23662         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23663         for Linux: use nsec instead of usec, as well as:
23664         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23665         members of type struct timespec.
23666         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23667         New macros.
23668         (struct stat64): Likewise.
23669         (_STATBUF_ST_NSEC): New macro.
23670         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23672         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23673         __strtoul_internal rather than strtoul.
23675 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23677         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23678         and reject them.
23680 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23682         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23683         which preserves existing values.
23684         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23686 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23688         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23689         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23690         greater than FD_SETSIZE.
23692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23694         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23695         allocated, call __vm_protect to finish enabling the existing space, and
23696         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23697         allocate the remainder.
23699 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23701         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23702         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23706         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23707         sysdeps/mach/hurd/readlink.c.
23709         * posix/tst-sysconf.c (posix_options): Only use
23710         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23711         _POSIX_SYNCHRONIZED_IO when they are defined
23712         * sysdeps/mach/hurd/bits/posix_opt.h:
23713         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23714         (_XOPEN_REALTIME): Undefine macro.
23715         (_XOPEN_REALTIME_THREADS): Undefine macro.
23716         (_XOPEN_SHM): Undefine macro.
23717         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23718         macro to -1.
23719         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23720         macro to -1.
23721         (_POSIX_ASYNC_IO): Undefine macro.
23722         (_POSIX_PRIORITIZED_IO): Undefine macro.
23723         (_POSIX_SPIN_LOCKS): Define macro to -1.
23725         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23726         SA_NODEFER, SA_RESETHAND.
23727         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23728         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23729         F_DUPFD_CLOEXEC.
23731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23733         * elf/Makefile (pldd-modules): Define unconditionally.
23735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23737         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23741         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23742         Return ENOENT when name is empty.
23743         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23745 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23747         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23749         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23753         Fix mlock in all cases except non-readable pages.
23754         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23755         instead of VM_PROT_ALL as parameter to __vm_wire function.
23757         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23758         (__mkdir): When path is `/', just fail with EEXIST.
23759         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23761 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23763         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23764         <sys/uio.h> (for writev).
23765         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23766         and <sys/param.h> (for MIN).
23768 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23770         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23771         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23772         if interrupted.
23774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23776         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23777         Depend on against $(link-rpcuserlibs).
23779 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23781         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23782         (__libc_stack_end): Do not use attribute_relro.
23783         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23784         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23785         to libthread-provided value.
23786         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23787         attribute_relro.
23789 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23791         [BZ #3748]
23792         * bits/libc-lock.h (__libc_once_get): New macro.
23793         * sysdeps/mach/bits/libc-lock.h: Likewise.
23794         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23796         instead of using implementation details.
23798         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23799         * libio/freopen.c: Likewise.
23800         * libio/freopen64.c: Likewise.
23801         * misc/syslog.c: Likewise.
23802         * nscd/connections.c: Likewise.
23803         * nscd/netgroupcache.c: Likewise.
23804         * sysdeps/posix/getcwd.c: Likewise.
23806 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23808         * math/w_ilogbf.c: Add #include <limits.h>.
23810 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23812         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23813         path instead of returning without unlocking.
23815         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23816         immediate-write ioctls.
23817         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23819 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23821         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23822         __builtin_frame_address instead of making assumptions about the
23823         location of the return address relative to DATA.  Force early load of
23824         the return address.
23825         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23826         __builtin_frame_address.
23828         dup3 for GNU Hurd.
23829         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23830         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23831         implement dup3 and do some further code clean-ups.
23832         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23833         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23837         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23839         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23840         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23841         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23842         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23843         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23844         d->port.lock.
23846         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23847         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23848         when handler == SIG_ERR, not when handler != SIG_ERR.
23850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23852         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23853         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23854         definitions.
23856         accept4 for GNU Hurd.
23857         * include/sys/socket.h (__libc_accept4): New prototype.
23858         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23859         to implement __libc_accept4.
23860         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23861         __libc_accept4.
23862         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23864         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23865         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23866         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23867         signal-defines.sym.
23869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23871         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23875         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23876         assertion on O_CLOEXEC flag.
23877         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23878         * hurd/intern-fd.c: Likewise.
23879         * hurd/port2fd.c: Likewise.
23881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23883         [BZ #3906]
23884         * bits/in.h (IPV6_PKTINFO): Define new macro.
23885         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23887 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23889         [BZ #13954]
23890         [BZ #13955]
23891         [BZ #13956]
23892         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23893         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23894         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23895         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23897         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23898         * math/libm-test.inc (logb_test) : Additional logb tests.
23900 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23901             Andreas Jaeger  <aj@suse.de>
23903         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23904         * configure: Regenerated.
23905         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23906         * config.make.in (link-obsolete-rpc): New substituted variable.
23907         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23908         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23909         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23910         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23911         so that libc.a contains the symbols.
23912         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23913         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23914         * sunrpc/auth_none.c: Likewise.
23915         * sunrpc/auth_unix.c: Likewise.
23916         * sunrpc/authdes_prot.c: Likewise.
23917         * sunrpc/authuxprot.c: Likewise.
23918         * sunrpc/clnt_gen.c: Likewise.
23919         * sunrpc/clnt_perr.c: Likewise.
23920         * sunrpc/clnt_raw.c: Likewise.
23921         * sunrpc/clnt_simp.c: Likewise.
23922         * sunrpc/clnt_tcp.c: Likewise.
23923         * sunrpc/clnt_udp.c: Likewise.
23924         * sunrpc/clnt_unix.c: Likewise.
23925         * sunrpc/des_crypt.c: Likewise.
23926         * sunrpc/des_soft.c: Likewise.
23927         * sunrpc/get_myaddr.c: Likewise.
23928         * sunrpc/key_call.c: Likewise.
23929         * sunrpc/key_prot.c: Likewise.
23930         * sunrpc/netname.c: Likewise.
23931         * sunrpc/pm_getmaps.c: Likewise.
23932         * sunrpc/pm_getport.c: Likewise.
23933         * sunrpc/pmap_clnt.c: Likewise.
23934         * sunrpc/pmap_prot.c: Likewise.
23935         * sunrpc/pmap_prot2.c: Likewise.
23936         * sunrpc/pmap_rmt.c: Likewise.
23937         * sunrpc/publickey.c: Likewise.
23938         * sunrpc/rpc_cmsg.c: Likewise.
23939         * sunrpc/rpc_common.c: Likewise.
23940         * sunrpc/rpc_dtable.c: Likewise.
23941         * sunrpc/rpc_prot.c: Likewise.
23942         * sunrpc/rpc_thread.c: Likewise.
23943         * sunrpc/rtime.c: Likewise.
23944         * sunrpc/svc.c: Likewise.
23945         * sunrpc/svc_auth.c: Likewise.
23946         * sunrpc/svc_raw.c: Likewise.
23947         * sunrpc/svc_run.c: Likewise.
23948         * sunrpc/svc_tcp.c: Likewise.
23949         * sunrpc/svc_udp.c: Likewise.
23950         * sunrpc/svc_unix.c: Likewise.
23951         * sunrpc/svcauth_des.c: Likewise.
23952         * sunrpc/xcrypt.c: Likewise.
23953         * sunrpc/xdr.c: Likewise.
23954         * sunrpc/xdr_array.c: Likewise.
23955         * sunrpc/xdr_float.c: Likewise.
23956         * sunrpc/xdr_intXX_t.c: Likewise.
23957         * sunrpc/xdr_mem.c: Likewise.
23958         * sunrpc/xdr_rec.c: Likewise.
23959         * sunrpc/xdr_ref.c: Likewise.
23960         * sunrpc/xdr_sizeof.c: Likewise.
23961         * sunrpc/xdr_stdio.c: Likewise.
23963 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23965         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23966         change.  Update copyright years.
23968 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23970         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23972 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23973             Joseph Myers  <joseph@codesourcery.com>
23974             Paul Pluzhnikov  <ppluzhnikov@google.com>
23976         [BZ #14012]
23977         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23978         requiring rpcgen.
23979         [cross-compiling] (extra-libs): Likewise.
23980         [cross-compiling] (extra-libs-others): Likewise.
23981         [cross-compiling] (librpcsvc-routines): Likewise.
23982         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23983         [cross-compiling] (omit-deps): Likewise.
23984         (sunrpc-CPPFLAGS): New variable.
23985         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23986         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23987         (cross-rpcgen-objs): New variable.
23988         (extra-objs): Append $(cross-rpcgen-objs).
23989         ($(cross-rpcgen-objs)): New rule.
23990         ($(objpfx)cross-rpcgen): Likewise.
23991         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23992         comment.
23993         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23994         ($(objpfx)x%.stmp): Likewise.
23995         * sunrpc/proto.h [IS_IN_build] (_): Define.
23996         [IS_IN_build] (_libc_intl_domainname): Likewise.
23998 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24000         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24001         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24002         and R_X86_64_TPOFF64.
24004 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24006         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24007         sysdeps/unix/sysv/syscalls.list.
24008         (stime): Likewise.
24009         (utime): Likewise.
24010         * sysdeps/unix/sysv/syscalls.list: Remove file.
24012 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24014         [BZ #3440]
24015         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24016         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24017         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24018         (__LC_IDENTIFICATION): Make these macros useful in #if
24019         expressions, as required by C99.
24021 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24023         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24024         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24025         after this.
24027 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24029         * stdlib/longlong.h: Updated from GCC.
24031 2012-05-09  Andreas Jaeger  <aj@suse.de>
24033         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24034         default is first entry.
24035         (run_mode): Set type.
24036         (main): Remove informal message about syslog.
24037         (options): Fix typo.
24039         [BZ #14053]
24040         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24041         to asm.
24042         (lrint): Likewise.
24043         (llrintf): Likewise.
24044         (llrint): Likewise.
24045         (rint): Likewise.
24046         (rintf): Likewise.
24047         (nearbyint): Likewise.
24048         (nearbyintf): Likewise.
24050 2012-05-09  Andreas Jaeger  <aj@suse.de>
24051             Pedro Alves  <palves@redhat.com>
24053         * nscd/nscd.c (run_mode): Use enum.
24054         (main): Cleanup coding style issue.
24056 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24057             Andreas Jaeger  <aj@suse.de>
24059         * nscd/nscd.c (go_background): Replaced with...
24060         (run_mode): ... this.
24061         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24062         (options): Add -F --foreground.
24063         (main): Implement it.
24064         (parse_opt): Parse it.
24066 2012-05-09  Andreas Jaeger  <aj@suse.de>
24068         [BZ #14083]
24069         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24070         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24071         -Wconversion warning.
24072         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24073         Likewise.
24075 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24077         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24078         == 0.
24079         (LC_ALL): Use macro-int-constant.
24080         (LC_COLLATE): Likewise.
24081         (LC_CTYPE): Likewise.
24082         (LC_MESSAGES): Likewise.
24083         (LC_MONETARY): Likewise.
24084         (LC_NUMERIC): Likewise.
24085         (LC_TIME): Likewise.
24086         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24087         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24089         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24090         Specify type.
24091         [C99-based standards] (float_t): Expect type.
24092         [C99-based standards] (double_t): Expect type.
24093         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24094         type.
24095         [C99-based standards] (HUGE_VALL): Likewise.
24096         [C99-based standards] (INFINITY): Likewise.
24097         [C99-based standards] (NAN): Likewise.
24098         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24099         [C99-based standards] (FP_NAN): Likewise.
24100         [C99-based standards] (FP_NORMAL): Likewise.
24101         [C99-based standards] (FP_SUBNORMAL): Likewise.
24102         [C99-based standards] (FP_ZERO): Likewise.
24103         [C99-based standards] (FP_FAST_FMA): Use
24104         optional-macro-int-constant.  Specify type.  Require == 1.
24105         [C99-based standards] (FP_FAST_FMAF): Likewise.
24106         [C99-based standards] (FP_FAST_FMAL): Likewise.
24107         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24108         [C99-based standards] (FP_ILOGBNAN): Likewise.
24109         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24110         Specify type.
24111         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24112         [C99-based standards] (math_errhandling): Specify type.
24113         [ISO99 || ISO11] (signgam): Do not allow.
24114         [non-C99-based standards] (copysignf): Do not allow.
24115         [non-C99-based standards] (exp2f): Likewise.
24116         [non-C99-based standards] (log2f): Likewise.
24117         [non-C99-based standards] (modff): Allow.
24118         [non-C99-based standards] (erff): Do not allow.
24119         [non-C99-based standards] (erfcf): Likewise.
24120         [non-C99-based standards] (gammaf): Likewise.
24121         [non-C99-based standards] (hypotf): Likewise.
24122         [non-C99-based standards] (j0f): Likewise.
24123         [non-C99-based standards] (j1f): Likewise.
24124         [non-C99-based standards] (jnf): Likewise.
24125         [non-C99-based standards] (lgammaf): Likewise.
24126         [non-C99-based standards] (tgammaf): Likewise.
24127         [non-C99-based standards] (y0f): Likewise.
24128         [non-C99-based standards] (y1f): Likewise.
24129         [non-C99-based standards] (ynf): Likewise.
24130         [non-C99-based standards] (isnanf): Likewise.
24131         [non-C99-based standards] (acoshf): Likewise.
24132         [non-C99-based standards] (asinhf): Likewise.
24133         [non-C99-based standards] (atanhf): Likewise.
24134         [non-C99-based standards] (cbrtf): Likewise.
24135         [non-C99-based standards] (expm1f): Likewise.
24136         [non-C99-based standards] (ilogbf): Likewise.
24137         [non-C99-based standards] (log1pf): Likewise.
24138         [non-C99-based standards] (logbf): Likewise.
24139         [non-C99-based standards] (nextafterf): Likewise.
24140         [non-C99-based standards] (remainderf): Likewise.
24141         [non-C99-based standards] (rintf): Likewise.
24142         [non-C99-based standards] (scalbf): Likewise.
24143         [non-C99-based standards] (copysignl): Likewise.
24144         [non-C99-based standards] (exp2l): Likewise.
24145         [non-C99-based standards] (log2l): Likewise.
24146         [non-C99-based standards] (modfl): Allow.
24147         [non-C99-based standards] (erfl): Do not allow.
24148         [non-C99-based standards] (erfcl): Likewise.
24149         [non-C99-based standards] (gammal): Likewise.
24150         [non-C99-based standards] (hypotl): Likewise.
24151         [non-C99-based standards] (j0l): Likewise.
24152         [non-C99-based standards] (j1l): Likewise.
24153         [non-C99-based standards] (jnl): Likewise.
24154         [non-C99-based standards] (lgammal): Likewise.
24155         [non-C99-based standards] (tgammal): Likewise.
24156         [non-C99-based standards] (y0l): Likewise.
24157         [non-C99-based standards] (y1l): Likewise.
24158         [non-C99-based standards] (ynl): Likewise.
24159         [non-C99-based standards] (isnanl): Likewise.
24160         [non-C99-based standards] (acoshl): Likewise.
24161         [non-C99-based standards] (asinhl): Likewise.
24162         [non-C99-based standards] (atanhl): Likewise.
24163         [non-C99-based standards] (cbrtl): Likewise.
24164         [non-C99-based standards] (expm1l): Likewise.
24165         [non-C99-based standards] (ilogbl): Likewise.
24166         [non-C99-based standards] (log1pl): Likewise.
24167         [non-C99-based standards] (logbl): Likewise.
24168         [non-C99-based standards] (nextafterl): Likewise.
24169         [non-C99-based standards] (remainderl): Likewise.
24170         [non-C99-based standards] (rintl): Likewise.
24171         [non-C99-based standards] (scalbl): Likewise.
24172         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24173         [non-C99-based standards] (FP_*): Do not allow.
24174         [C99-based standards] (FP_*): Change to
24175         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24176         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24177         allow.
24178         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24179         (SIG_ERR): Likewise.
24180         [X/Open-based standards] (SIG_HOLD): Likewise.
24181         (SIG_IGN): Likewise.
24182         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24183         positive value.
24184         (SIGFPE): Likewise.
24185         (SIGILL): Likewise.
24186         (SIGINT): Likewise.
24187         (SIGSEGV): Likewise.
24188         (SIGTER): Likewise.
24189         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24190         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24191         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24192         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24193         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24194         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24195         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24196         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24197         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24198         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24199         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24200         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24201         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24202         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24203         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24204         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24205         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24206         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24207         [X/Open-based standards] (SIGTRAP): Likewise.
24208         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24209         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24210         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24211         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24212         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24213         allow.
24215 2012-05-08  Ian Wienand  <ianw@vmware.com>
24217         [BZ #14080]
24218         * time/tzset.c (__tzset_parse_tz): Update default rules for
24219         daylight time changes in the Energy Policy Act of 2005.
24221 2012-05-09  Andreas Jaeger  <aj@suse.de>
24223         [BZ #13983]
24224         * elf/ldconfig.c (parse_conf): Change string to make clear that
24225         ldconfig only issued a warning if ld.so.conf does not exist.
24227 2012-05-08  David S. Miller  <davem@davemloft.net>
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24230         movxtod instead of popping the value on the stack.
24232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24234 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24236         * config.h.in: Add HAVE_ARM_PCS_VFP.
24238 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24240         [BZ #13979]
24241         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24242         checking but the checks are disabled for any reason.
24244 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24246         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24247         and ELF64_R_TYPE with ELFW(R_TYPE).
24249 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24251         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24252         (ulimit): Likewise.
24254         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24255         (settimeofday): Likewise.
24257 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24259         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24260         a struct th_u2 inside the union, and move tu_block/tu_code into
24261         a new th_u3 union of tu_block/tu_code inside of that.  Move
24262         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24263         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24264         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24265         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24266         (th_stuff): Change to th_u1.tu_stuff.
24267         (th_data): Define.
24268         (th_msg): Change to th_u1.th_u2.tu_data.
24270 2012-05-07  David S. Miller  <davem@davemloft.net>
24272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24274         [BZ #14074]
24275         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24276         (SETUP_PIC_REG): Use it.
24277         (SETUP_PIC_REG_LEAF): Use it.
24279 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24281         [BZ #13885]
24282         [BZ #13923]
24283         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24284         USE_AS_EXPM1L.
24285         (EXPL_FINITE): Likewise.
24286         (FLDLOG): Likewise.
24287         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24288         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24289         e_expl.S.
24290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24291         USE_AS_EXPM1L.
24292         (EXPL_FINITE): Likewise.
24293         (FLDLOG): Likewise.
24294         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24295         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24296         e_expl.S.
24297         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24298         test of -max_value argument for long double.
24299         * sysdeps/i386/fpu/libm-test-ulps: Update.
24300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302 2012-05-06  David S. Miller  <davem@davemloft.net>
24304         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24305         quad soft-float symbols whose references which are compiler
24306         generated.
24307         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24309 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24311         [BZ #13884]
24312         [BZ #13914]
24313         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24314         USE_AS_EXP10L.
24315         (EXPL_FINITE): Likewise.
24316         (FLDLOG): Likewise.
24317         (c0): Likewise.
24318         (c1): Likewise.
24319         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24320         Adjust comments for base varying.
24321         (__expl_finite): Change alias to EXPL_FINITE.
24322         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24323         e_expl.S.
24324         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24325         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24326         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24327         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24329         USE_AS_EXP10L.
24330         (EXPL_FINITE): Likewise.
24331         (FLDLOG): Likewise.
24332         (c0): Likewise.
24333         (c1): Likewise.
24334         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24335         Adjust comments for base varying.
24336         (__expl_finite): Change alias to EXPL_FINITE.
24337         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24338         tests for bugs.
24339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24341         [BZ #14064]
24342         * math/libm-test.inc (check_float_internal): Correct ulp
24343         calculation for subnormal expected results.
24345 2012-05-06  Andreas Jaeger  <aj@suse.de>
24347         * Makeconfig (+math-flags): New, set to -frounding-math.
24348         (+cflags): Add +math-flags so that all of glibc gets compiled with
24349         it.
24351         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24353 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24355         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24356         Disable one test.
24358         [BZ #13787]
24359         [BZ #13922]
24360         [BZ #14036]
24361         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24362         (__ieee754_expl): Allow for and saturate large arguments.
24363         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24364         (u_threshold): Likewise.
24365         (__exp): Call __ieee754_exp before checking for overflow and
24366         underflow.
24367         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24368         (u_threshold): Likewise.
24369         (__expf): Call __ieee754_expf before checking for overflow and
24370         underflow.
24371         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24372         (u_threshold): Likewise.
24373         (__expl): Call __ieee754_expl before checking for overflow and
24374         underflow.
24375         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24376         (__ieee754_expl): Allow for and saturate large arguments.
24377         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24378         missing overflow exception on overflow.
24379         (expm1_test): Do not allow missing overflow exception on overflow.
24381         * sysdeps/i386/fpu/e_expl.c: Move to ...
24382         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24383         rather than using inline asm.
24384         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24385         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24386         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24388         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24389         (nice): Likewise.
24390         (poll): Likewise.
24391         (signal): Likewise.
24392         (time): Likewise.
24393         (times): Likewise.
24395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24397         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24398         sysdeps/unix/common/syscalls.list.
24399         (fchmod): Likewise.
24400         (fchown): Likewise.
24401         (ftruncate): Likewise.
24402         (getrusage): Likewise.
24403         (gettimeofday): Likewise.
24404         (setpgid): Likewise.
24405         (setregid): Likewise.
24406         (setreuid): Likewise.
24407         (sigaction): Likewise.
24408         (truncate): Likewise.
24409         (vhangup): Likewise.
24410         * sysdeps/unix/common/syscalls.list: Remove file.
24411         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24412         * sysdeps/unix/sysv/linux/Implies: Likewise.
24414 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24416         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24418         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24419         Moved to ...
24420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24421         Here.
24422         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24423         to ...
24424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24425         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24426         to ...
24427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24428         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24429         to ...
24430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24431         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24432         to ...
24433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24434         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24435         to ...
24436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24437         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24438         to ...
24439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24440         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24441         to ...
24442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24443         Here.
24444         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24445         to ...
24446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24447         Here.
24448         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24449         to ...
24450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24451         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24452         Moved to ...
24453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24454         Here.
24455         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24456         to ...
24457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24459 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24461         * sysdeps/unix/common/bits/dirent.h: Remove file.
24462         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24464         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24465         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24466         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24467         * sysdeps/unix/bsd/isatty.c: Likewise.
24468         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24469         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24470         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24472 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24474         [BZ #13563]
24475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24476         long double comparison inaccuracies.
24477         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24480 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24482         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24483         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24485 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24487         [BZ #14049]
24488         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24489         nonzero digits before rounding a hex value.
24490         * stdlib/tst-strtod.c (tests): Add another test.
24492 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24494         * sysdeps/s390/fpu/libm-test-ulps: Update.
24496 2012-05-03  Andreas Jaeger  <aj@suse.de>
24498         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24499         does not get optimized out.
24500         (malloc_opt_barrier): New.
24502 2012-05-03  Andreas Jaeger  <aj@suse.de>
24503             Roland McGrath  <roland@hack.frob.com>
24505         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24506         intermediate file deletion.
24507         (generated): Add .symlist files.
24509 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24511         [BZ #13775]
24512         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24513         Redirect under this condition.
24514         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24515         [__USE_GNU] (__dprintf_chk): Not under this condition.
24516         [__USE_GNU] (__vdprintf_chk): Likewise.
24517         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24518         under this condition.
24519         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24520         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24521         [__USE_XOPEN2K8] (vdprintf): Likewise.
24522         [__USE_GNU] (__dprintf_chk): Not under this condition.
24523         [__USE_GNU] (__vdprintf_chk): Likewise.
24524         [__USE_GNU] (dprintf): Likewise.
24525         [__USE_GNU] (vdprintf): Likewise.
24527 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24529         * elf/Makefile (common-generated): Set this instead of generated for
24530         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24531         $(all-built-dso)-derived lists.
24533 2012-05-03  Andreas Jaeger  <aj@suse.de>
24535         * sysdeps/i386/fpu/libm-test-ulps: Update.
24537         * FAQ: Removed.
24538         * FAQ.in: Likewise.
24539         * scripts/gen-FAQ.pl: Likewise.
24540         * manual/install.texi (Installation): Point to online location of
24541         FAQ.
24542         * Makefile (files-for-dist): Remove FAQ.
24543         (FAQ): Remove.
24545 2012-05-02  Allan McRae  <allan@archlinux.org>
24547         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24548         (LDFLAGS-reldepmod5.so): Likewise.
24549         (LDFLAGS-reldep6mod1.so): Likewise.
24550         (LDFLAGS-reldep6mod4.so): Likewise.
24551         (LDFLAGS-reldep8mod3.so): Likewise.
24552         (LDFLAGS-unload4mod1.so): Likewise.
24553         (LDFLAGS-unload4mod2.so): Likewise.
24554         (LDFLAGS-tst-initorder): Likewise.
24555         (LDFLAGS-tst-initordera2.so): Likewise.
24556         (LDFLAGS-tst-initordera3.so): Likewise.
24557         (LDFLAGS-tst-initordera4.so): Likewise.
24558         (LDFLAGS-tst-initorderb2.so): Likewise.
24559         (LDFLAGS-noload): Likewise.
24560         (LDFLAGS-next): Likewise.
24561         (LDFLAGS-order2mod1.so): Likewise.
24562         (LDFLAGS-order2mod2.so): Likewise.
24563         (LDFLAGS-tst-initorder2): Likewise.
24564         (LDFLAGS-tst-initorder2a.so): Likewise.
24565         (LDFLAGS-tst-initorder2b.so): Likewise.
24566         (LDFLAGS-tst-initorder2c.so): Likewise.
24567         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24569 2012-05-02  David S. Miller  <davem@davemloft.net>
24571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24573 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24575         [BZ #14055]
24576         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24578 2012-05-02  Andreas Jaeger  <aj@suse.de>
24580         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24581         since we manipulate rounding mode.
24582         (CPPFLAGS-test-idouble.c): Likewise.
24583         (CPPFLAGS-test-ifloat.c): Likewise.
24584         (CFLAGS-test-ldouble.c): Likewise.
24585         (CFLAGS-test-double.c): Likewise.
24586         (CFLAGS-test-float.c): Likewise.
24587         (CFLAGS-test-misc.c): Likewise.
24588         (CFLAGS-test-test-fenv.c): Likewise.
24590 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24592         [BZ #2550]
24593         [BZ #2570]
24594         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24595         comparisons to determine direction to adjust input.
24597 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24599         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24600         output to the target.
24602         * scripts/localplt.awk: New file.
24603         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24604         (check-localplt-CFLAGS): Variable removed.
24605         ($(all-built-dso:=.jmprel)): New static pattern rule.
24606         (generated): Add those targets.
24607         (localplt-built-dso): New variable.
24608         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24610         * elf/check-localplt.c: File removed.
24612         * scripts/check-execstack.awk: New file.
24613         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24614         (check-execstack-CFLAGS): Variable removed.
24615         ($(objpfx)check-execstack.h): Target removed.
24616         ($(objpfx)execstack-default): New target.
24617         (generated): Add that instead of check-execstack.h.
24618         ($(all-built-dso:=.phdr)): New static pattern rule.
24619         (generated): Add those targets.
24620         * elf/check-execstack.c: File removed.
24622         * scripts/check-textrel.awk: New file.
24623         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24624         (check-textrel-CFLAGS): Variable removed.
24625         (all-built-dso): Use := to define.o
24626         ($(all-built-dso:=.dyn)): New static pattern rule.
24627         (generated): Add those targets.
24628         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24629         * config.make.in (READELF): New substituted variable.
24630         * elf/check-textrel.c: File removed.
24632 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24634         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24635         allow.
24636         * conform/data/ctype.h-data [C99-based standards] (isblank):
24637         Expect function.
24638         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24639         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24640         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24641         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24642         Specify type.  Require positive value.
24643         (EILSEQ): Likewise.
24644         (ERANGE): Likewise.
24645         [ISO || POSIX] (EILSEQ): Do not expect.
24646         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24647         Specify type.  Require positive value.
24648         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24649         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24650         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24651         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24652         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24653         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24654         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24655         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24656         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24657         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24658         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24659         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24660         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24661         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24662         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24663         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24664         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24665         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24666         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24667         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24668         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24669         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24670         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24671         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24672         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24673         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24674         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24675         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24676         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24677         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24678         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24679         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24680         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24681         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24682         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24683         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24684         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24685         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24686         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24687         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24688         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24689         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24690         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24691         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24692         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24693         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24694         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24695         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24696         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24697         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24698         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24699         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24700         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24701         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24702         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24703         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24704         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24705         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24706         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24707         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24708         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24709         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24710         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24711         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24712         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24713         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24714         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24715         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24716         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24717         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24718         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24719         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24720         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24721         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24722         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24723         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24724         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24725         Require >= 2.
24726         (FLT_ROUNDS): Expect as macro, not constant.
24727         (FLT_MANT_DIG): Use macro-int-constant.
24728         (DBL_MANT_DIG): Likewise.
24729         (LDBL_MANT_DIG): Likewise.
24730         (FLT_DIG): Likewise.
24731         (DBL_DIG): Likewise.
24732         (LDBL_DIG): Likewise.
24733         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24734         (DBL_MIN_EXP): Likewise.
24735         (LDBL_MIN_EXP): Likewise.
24736         (FLT_MAX_EXP): Use macro-int-constant.
24737         (DBL_MAX_EXP): Likewise.
24738         (LDBL_MAX_EXP): Likewise.
24739         (FLT_MAX_10_EXP): Likewise.
24740         (DBL_MAX_10_EXP): Likewise.
24741         (LDBL_MAX_10_EXP): Likewise.
24742         (FLT_MAX): Use macro-constant.
24743         (DBL_MAX): Likewise.
24744         (LDBL_MAX): Likewise.
24745         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24746         (DBL_EPSILON): Likewise.
24747         (LDBL_EPSILON): Likewise.
24748         (FLT_MIN): Likewise.
24749         (DBL_MIN): Likewise.
24750         (LDBL_MIN): Likewise.
24751         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24752         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24753         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24754         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24755         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24756         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24757         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24758         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24759         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24760         [ISO11] (FLT_TRUE_MIN): Likewise.
24761         [ISO11] (LDBL_TRUE_MIN): Likewise.
24762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24763         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24764         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24765         (SCHAR_MAX): Likewise.
24766         (UCHAR_MAX): Likewise.
24767         (CHAR_MIN): Likewise.
24768         (CHAR_MAX): Likewise.
24769         (MB_LEN_MAX): Use macro-int-constant.
24770         (SHRT_MIN): Use macro-int-constant.  Specify type.
24771         (SHRT_MAX): Likewise.
24772         (USHRT_MAX): Likewise.
24773         (INT_MAX): Likewise.
24774         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24775         bound negative.
24776         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24777         bound with "U".
24778         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24779         bound with "L".
24780         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24781         bound negative.  Suffix upper bound with "L".
24782         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24783         bound with "UL".
24784         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24785         Specify type.
24786         [C99-based standards] (LLONG_MAX): Likewise.
24787         [C99-based standards] (ULLONG_MAX): Likewise.
24788         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24789         == 0.
24790         [ISO11] (max_align_t): Require type.
24791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24793         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24794         from $CFLAGS, without defining away __attribute__ calls.
24795         (checknamespace): Use $CFLAGS_namespace.
24797         * conform/conformtest.pl (@keywords): Only include C99 keywords
24798         for standards based on C99 or C11.
24800         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24801         Disable tests.
24802         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24803         UNIX98]: Likewise.
24805         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24806         usability of symbols in #if.
24808         * conform/conformtest.pl: If macro or constant types start
24809         "promoted:", expect the symbol to be of the following type
24810         promoted by the integer promotions.
24812         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24813         in one place.  Also handle "macro-constant".
24815         * conform/conformtest.pl: Only accept expected macro values with
24816         "==".  Parse all "macro" lines in one place.
24817         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24819         * conform/conformtest.pl: Handle braced types on "constant" lines
24820         instead of handling "typed-constant".
24821         * conform/data/signal.h-data: Use "constant" instead of
24822         "typed-constant".
24824         * conform/conformtest.pl: Handle "optional-" at start of lines in
24825         one place rather than duplicating several cases.  Handle each
24826         format of "macro" line with initial "optional-".
24828         * conform/conformtest.pl: Only accept expected constant or
24829         optional-constant values with "==".  Parse all "constant" lines in
24830         one place.  Parse all "optional-constant" lines in one place.
24831         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24832         * conform/data/fmtmsg.h-data: Likewise.
24833         * conform/data/netinet/in.h-data: Likewise.
24834         * conform/data/tar.h-data: Likewise.
24835         * conform/data/limits.h-data: Use "==" form on "constant" and
24836         "optional-constant" lines.
24838         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24839         Use -std=c99 for XOPEN2K.
24840         (@knownproblems): Remove.
24841         (newtoken): Don't check %isknown.
24843         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24844         Do not expect macro.
24845         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24846         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24847         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24848         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24849         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24850         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24851         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24852         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24853         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24854         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24855         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24856         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24857         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24858         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24859         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24860         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24861         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24862         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24863         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24864         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24865         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24866         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24867         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24868         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24869         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24870         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24871         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24872         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24873         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24874         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24875         [XPG3] (acosh): Likewise.
24876         [XPG3] (asinh): Likewise.
24877         [XPG3] (atanh): Likewise.
24878         [XPG3] (cbrt): Likewise.
24879         [XPG3] (expm1): Likewise.
24880         [XPG3] (ilogb): Likewise.
24881         [XPG3] (log1p): Likewise.
24882         [XPG3] (logb): Likewise.
24883         [XPG3] (nextafter): Likewise.
24884         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24885         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24886         [XPG3] (remainder): Likewise.
24887         [XPG3] (rint): Likewise.
24888         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24889         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24890         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24891         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24892         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24893         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24894         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24895         [UNIX98 || XOPEN2K] (scalb): Expect.
24896         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24897         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24898         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24899         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24900         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24901         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24902         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24903         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24904         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24905         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24906         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24907         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24908         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24909         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24910         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24911         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24912         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24913         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24914         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24915         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24916         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24917         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24918         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24919         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24920         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24921         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24922         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24923         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24924         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24925         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24926         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24927         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24928         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24929         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24930         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24931         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24932         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24933         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24934         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24935         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24936         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24937         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24938         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24939         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24940         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24941         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24942         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24943         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24944         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24945         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24946         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24947         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24948         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24949         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24950         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24951         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24952         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24953         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24954         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24955         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24956         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24957         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24958         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24959         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24960         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24961         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24962         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24963         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24964         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24965         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24966         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24967         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24968         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24969         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24970         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24971         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24972         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24973         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24974         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24975         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24976         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24977         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24978         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24979         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24980         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24981         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24982         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24983         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24984         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24985         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24986         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24987         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24988         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24989         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24990         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24991         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24992         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24993         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24994         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24995         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24996         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24997         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24998         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24999         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25000         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25001         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25002         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25003         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25004         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25005         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25006         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25007         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25008         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25009         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25010         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25011         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25012         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25013         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25014         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25015         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25016         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25017         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25018         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25019         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25020         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25021         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25022         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25023         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25024         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25025         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25026         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25027         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25028         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25029         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25030         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25031         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25032         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25034         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25035         _XOPEN_SOURCE_EXTENDED for XPG4.
25037         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25039         * Makeconfig (localtime): Remove variable.
25040         (inst_localtime-file): Likewise.
25042 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25045         Update.
25046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25047         Update.
25048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25049         Update.
25050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25051         Update.
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25053         Update.
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25055         Update.
25056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25057         Update.
25058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25059         Update.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25061         Update.
25063 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25065         [BZ #2550]
25066         [BZ #2570]
25067         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25068         comparisons to determine direction to adjust input.
25069         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25070         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25072         Likewise.
25073         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25074         Likewise.
25075         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25076         Likewise.
25077         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25078         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25079         Likewise.
25080         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25081         Likewise.
25082         * math/libm-test.inc (nexttoward_test): Add more tests.
25084 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25086         [BZ #14040]
25087         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25088         in version GLIBC_2.1, not GLIBC_2.0.
25089         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25090         Likewise.
25092 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25094         [BZ #13942]
25095         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25096         (1 - x) * (1 + x).
25097         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25098         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25099         * math/libm-test.inc (acos_test): Add more tests.
25100         (asin_test): Likewise.
25101         * sysdeps/i386/fpu/libm-test-ulps: Update.
25102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25104         [BZ #14034]
25105         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25106         of square root.
25107         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25108         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25109         * math/libm-test.inc (acos_test_tonearest): New function.
25110         (acos_test_towardzero): Likewise.
25111         (acos_test_downward): Likewise.
25112         (acos_test_upward): Likewise.
25113         (asin_test_tonearest): Likewise.
25114         (asin_test_towardzero): Likewise.
25115         (asin_test_downward): Likewise.
25116         (asin_test_upward): Likewise.
25117         (main): Call the new functions.
25118         * sysdeps/i386/fpu/libm-test-ulps: Update.
25119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25121         [BZ #13884]
25122         [BZ #13924]
25123         * math/e_exp10.c: Include <float.h>.
25124         (__ieee754_exp10): Handle underflow here rather than multiplying
25125         large negative argument by M_LN10.
25126         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25127         of __ieee754_expf.
25128         * math/e_exp10l.c: Include <float.h>.
25129         (__ieee754_exp10l): Handle underflow here rather than multiplying
25130         large negative argument by M_LN10l.
25131         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25132         spurious overflow exception on underflow.
25134 2012-04-29  Marek Polacek  <polacek@redhat.com>
25136         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25137         (__fortify_function): New macro.
25138         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25139         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25140         __extern_always_inline.
25141         * libio/bits/stdio2.h: Likewise.
25142         * libio/bits/stdio.h: Likewise.
25143         * string/string.h: Likewise.
25144         * string/bits/string3.h: Likewise.
25145         * include/stdio.h: Likewise.
25146         * stdlib/bits/stdlib.h: Likewise.
25147         * stdlib/stdlib.h: Likewise.
25148         * rt/bits/mqueue2.h: Likewise.
25149         * rt/mqueue.h: Likewise.
25150         * posix/bits/unistd.h: Likewise.
25151         * posix/unistd.h: Likewise.
25152         * io/bits/poll2.h: Likewise.
25153         * io/bits/fcntl2.h: Likewise.
25154         * io/fcntl.h: Likewise.
25155         * io/sys/poll.h: Likewise.
25156         * misc/bits/syslog.h: Likewise.
25157         * misc/bits/syslog-ldbl.h: Likewise.
25158         * misc/sys/syslog.h: Likewise.
25159         * socket/bits/socket2.h: Likewise.
25160         * socket/sys/socket.h: Likewise.
25161         * debug/tst-chk1.c: Likewise.
25162         * wcsmbs/bits/wchar2.h: Likewise.
25163         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25164         * wcsmbs/wchar.h: Likewise.
25166 2012-04-29  Andreas Jaeger  <aj@suse.de>
25168         * Makerules (tests): Remove enable-check-abi protection.
25169         (check-abi-warn): Remove.
25170         (check-abi-%): Remove check-abi-warn usage.
25172         * configure.in: Remove check-abi configure option.
25173         * configure: Regenerated.
25174         * config.make.in (enable-check-abi): Remove.
25176 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25178         [BZ #14033]
25179         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25180         double functions to double *_finite functions.
25182         [BZ #13941]
25183         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25184         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25185         LDBL_MIN_EXP.
25186         * stdio-common/Makefile (tests): Add tst-sprintf3.
25187         * stdio-common/tst-sprintf3.c: New file.
25189         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25190         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25192 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25194         * conform/conformtest.pl: Remove duplicate typed-constant
25195         handling.
25197 2012-04-28  David S. Miller  <davem@davemloft.net>
25199         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25200         (check-abi-%): Remove AWK script prerequisite and explicit
25201         abilist directory.
25202         (check-abi): Rewrite to just diff the symlist with the abilist.
25203         (config-tls, config-abi-config): Delete, no longer used.
25204         (update-abi-%): Remove AWK script and explicit abilist directory.
25205         (update-abi): Rewrite to simply compare and conditionally copy the
25206         symlist and the sysdep abilist file.  Remove update-abi-config
25207         checks.
25208         * abilist/ld.abilist: Remove.
25209         * abilist/libBrokenLocale.abilist: Remove.
25210         * abilist/libanl.abilist: Remove.
25211         * abilist/libcrypt.abilist: Remove.
25212         * abilist/libdl.abilist: Remove.
25213         * abilist/librt.abilist: Remove.
25214         * abilist/libthread_db.abilist: Remove.
25215         * abilist/libutil.abilist: Remove.
25216         * scripts/extract-abilist.awk: Remove.
25217         * scripts/merge-abilist.awk: Remove.
25218         * sysdeps/generic/libcidn.abilist: New file.
25219         * sysdeps/generic/libnss_compat.abilist: New file.
25220         * sysdeps/generic/libnss_db.abilist: New file.
25221         * sysdeps/generic/libnss_dns.abilist: New file.
25222         * sysdeps/generic/libnss_files.abilist: New file.
25223         * sysdeps/generic/libnss_hesiod.abilist: New file.
25224         * sysdeps/generic/libnss_nis.abilist: New file.
25225         * sysdeps/generic/libnss_nisplus.abilist: New file.
25226         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25227         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25228         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25229         file.
25230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25231         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25232         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25233         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25234         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25235         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25236         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25237         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25238         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25239         file.
25240         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25241         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25242         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25243         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25244         file.
25245         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25246         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25247         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25248         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25249         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25250         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25251         file.
25252         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25253         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25254         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25255         file.
25256         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25258         New file.
25259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25260         New file.
25261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25262         New file.
25263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25264         New file.
25265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25266         New file.
25267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25268         New file.
25269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25270         New file.
25271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25272         New file.
25273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25274         New file.
25275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25276         New file.
25277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25278         New file.
25279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25280         New file.
25281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25282         New file.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25284         file.
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25286         New file.
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25288         New file.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25290         file.
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25292         New file.
25293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25294         New file.
25295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25296         file.
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25298         New file.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25300         New file.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25302         New file.
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25304         New file.
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25306         New file.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25308         New file.
25309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25311         file.
25312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25313         New file.
25314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25315         file.
25316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25317         file.
25318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25319         file.
25320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25321         file.
25322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25323         file.
25324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25325         New file.
25326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25327         file.
25328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25329         file.
25330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25331         New file.
25332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25333         file.
25334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25336         file.
25337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25338         New file.
25339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25340         file.
25341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25342         file.
25343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25344         file.
25345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25346         file.
25347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25348         file.
25349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25350         New file.
25351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25352         file.
25353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25354         file.
25355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25356         New file.
25357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25358         file.
25359         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25360         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25361         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25362         file.
25363         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25364         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25365         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25366         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25367         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25368         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25369         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25370         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25371         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25372         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25375         file.
25376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25377         New file.
25378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25379         file.
25380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25381         file.
25382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25383         file.
25384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25385         file.
25386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25387         file.
25388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25389         New file.
25390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25391         New file.
25392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25393         file.
25394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25395         New file.
25396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25397         file.
25398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25400         file.
25401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25402         New file.
25403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25404         file.
25405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25406         file.
25407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25408         file.
25409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25410         file.
25411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25412         file.
25413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25414         New file.
25415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25416         New file.
25417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25418         file.
25419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25420         New file.
25421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25422         file.
25424 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25426         * conform/conformtest.pl: Fix typo in handling typed-constant from
25427         allow-header.
25429 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25431         * README: Cut down references to pre-2.6 Linux kernels and
25432         Linuxthreads.  Update lists of configurations in libc and ports
25433         and sort alphabetically.  Say "or newer" with Linux kernel version
25434         requirements.
25436         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25438 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25440         [BZ #887]
25441         * math/libm-test.inc (logb_test_downward): New test to expose
25442         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25443         rounding mode.
25445 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25447         [BZ #14027]
25448         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25449         to be done.
25450         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25451         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25453 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25455         * sysdeps/unix/i386/brk.S: Remove file.
25456         * sysdeps/unix/i386/dl-brk.S: Likewise.
25457         * sysdeps/unix/i386/pipe.S: Likewise.
25458         * sysdeps/unix/i386/sigreturn.S: Likewise.
25459         * sysdeps/unix/i386/syscall.S: Likewise.
25460         * sysdeps/unix/i386/vfork.S: Likewise.
25461         * sysdeps/unix/i386/wait.S: Likewise.
25463         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25464         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25466         * configure.in (arm*-none*): Do not allow without
25467         --enable-hacker-mode.
25468         (netbsd*): Remove case setting base_os.
25469         (386bsd*): Likewise.
25470         (freebsd*): Likewise.
25471         (bsdi*): Likewise.
25472         (osf*): Likewise.
25473         (sunos*): Likewise.
25474         (ultrix*): Likewise.
25475         (newsos*): Likewise.
25476         (dynix*): Likewise.
25477         (*bsd*): Likewise.
25478         (sysv*): Likewise.
25479         (isc*): Likewise.
25480         (esix*): Likewise.
25481         (sco*): Likewise.
25482         (minix*): Likewise.
25483         (irix4*): Likewise.
25484         (irix6*): Likewise.
25485         (solaris[2-9]*): Likewise.
25486         (none): Likewise.
25487         * configure: Regenerated.
25489 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25491         [BZ #11521]
25492         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25493         overflow or cancellation in calculating denominator.
25494         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25496         down expression to avoid unexpected rounding in newer GCCs.
25497         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25499 2012-04-26  David S. Miller  <davem@davemloft.net>
25501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25502         long-double compat symbols.
25503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25517 2012-04-25  David S. Miller  <davem@davemloft.net>
25519         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25520         HWCAP_* values only after the memory barriers have been defined.
25521         (atomic_full_barrier): Define.
25522         (atomic_read_barrier): Define.
25523         (atomic_write_barrier): Define.
25525 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25527         * shlib-versions: Add libgcc_s version information.
25528         * sysdeps/generic/libgcc_s.h: Remove.
25529         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25530         libgcc_s.h.
25531         * sysdeps/gnu/unwind-resume.c: Likewise.
25532         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25534 2012-04-25  David S. Miller  <davem@davemloft.net>
25536         * sysdeps/unix/sparc/brk.S: Delete.
25537         * sysdeps/unix/sparc/dl-brk.S: Delete.
25538         * sysdeps/unix/sparc/pipe.S: Delete.
25539         * sysdeps/unix/sparc/sysdep.S: Delete.
25540         * sysdeps/unix/sparc/sysdep.h: Delete.
25541         * sysdeps/unix/sparc/vfork.S: Delete.
25542         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25543         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25544         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25545         ret_ERRVAL, r0, r1, MOVE): Define.
25546         (JUMPTARGET): Remove.
25547         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25548         sysdeps/unix/sparc/sysdep.h
25549         (ENTRY, END): Remove.
25550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25552 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25554         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25555         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25556         -DIS_IN_build.
25558         * timezone/README: Update upstream location and email address for
25559         tzcode and tzdata.
25560         * timezone/zdump.c: Update from tzcode 2012b.
25561         * timezone/zic.c: Likewise.
25563         * configure.in (libc_cv_as_needed): Remove test.
25564         * configure: Regenerated.
25565         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25566         conditional definition.
25567         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25568         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25569         * config.make.in (have-as-needed): Remove variable.
25571 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572             Paul Pluzhnikov  <ppluzhnikov@google.com>
25574         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25575         strings correctly.
25577 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25579         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25580         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25581         * sysdeps/sh/strlen.S: Likewise.
25583 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25585         * sysdeps/unix/fork.S: Remove file.
25586         * sysdeps/unix/i386/fork.S: Likewise.
25587         * sysdeps/unix/sparc/fork.S: Likewise.
25589         * sysdeps/unix/system.c: Remove file.
25590         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25592         * sysdeps/unix/getegid.S: Remove file.
25593         * sysdeps/unix/geteuid.S: Likewise.
25595 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25597         * scripts/check-localplt.awk: New file.
25598         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25599         of diff.
25600         * scripts/data/localplt-generic.data: Add a comment.
25602         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25603         NODE when __dir_mkfile failed.
25604         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25605         Reported by Ludovic Courtès <ludo@gnu.org>.
25607 2012-04-24  Andreas Jaeger  <aj@suse.de>
25609         * Makerules (common-clean): Also remove gen-as-const-headers
25610         files.
25612 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25614         * Makerules (native-compile): Do not change working directory for
25615         build.  Use $(OUTPUT_OPTION) in command.
25616         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25618 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25620         [BZ #13886]
25621         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25622         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25623         * math/libm-test.inc (floor_test): Add more tests.
25624         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25626 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25628         * sysdeps/unix/getdents.c: Remove file.
25629         * sysdeps/unix/sysv/getdents.c: Likewise.
25630         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25632         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25633         sysdeps/unix/mman/syscalls.list.
25634         (mmap): Likewise.
25635         (mprotect): Likewise.
25636         (msync): Likewise.
25637         (munmap): Likewise.
25638         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25639         * sysdeps/unix/mman/syscalls.list: Remove.
25640         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25642         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25643         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25644         * configure: Regenerated.
25645         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25646         $(libgcc_s_suffix).
25647         * config.make.in (libgcc_s_suffix): Remove variable.
25649 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25651         * sysdeps/unix/sysv/gethostname.c: Move to ...
25652         * sysdeps/posix/gethostname.c: ... here.
25654         * sysdeps/unix/execve.S: Remove file.
25656         * sysdeps/unix/_exit.S: Remove file.
25658 2012-04-23  Andreas Jaeger  <aj@suse.de>
25660         [BZ #13739]
25661         * manual/Makefile: Remove make dist support, there's no
25662         need for a stand-alone documentation tar ball.
25663         (TEXI2DVI): Define always, it's not in Makeconfig.
25664         (dist): Removed.
25665         (tar-it): Removed.
25666         (edition): Removed.
25667         (glibc-doc-$(edition).tar): Removed
25668         (%.Z): Removed.
25669         (%.gz): Removed.
25670         (%.uu): Removed.
25671         (ETAGS): Remove, it's in Makeconfig.
25672         (move-if-change): Remove, it's in Makeconfig.
25674 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25676         [BZ #13970]
25677         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25678         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25679         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25680         (strtod_l, strtof_l, strtold_l): Remove __wur.
25681         It is not necessarily an error to ignore strtol's return value.
25682         One can reliably look at the stored endptr to decide whether
25683         the number had valid syntax.
25685 2012-04-21  Andreas Jaeger  <aj@suse.de>
25687         [BZ #13739]
25688         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25690 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25692         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25693         * sysdeps/unix/sysv/Versions: Remove file.
25695 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25697         [BZ #13927]
25698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25700 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25702         [BZ #7064]
25703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25704         version from __vm86.
25706 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25708         * sysdeps/unix/common/lxstat.c: Remove file.
25709         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25711         * sysdeps/unix/sysv/Makefile: Remove file.
25713         * sysdeps/unix/sysv/direct.h: Remove file.
25715         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25716         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25717         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25718         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25719         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25720         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25721         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25723         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25725         * sysdeps/unix/xmknod.c: Remove file.
25726         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25728         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25730         * sysdeps/unix/sysv/i386/time.S: Remove file.
25732         * sysdeps/unix/fxstat.c: Remove file.
25733         * sysdeps/unix/xstat.c: Likewise.
25734         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25736         * sysdeps/unix/sysv/sigaction.c: Remove file.
25738         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25739         (sysdep_headers): Remove variable.
25740         [termio.h not in sysdep_headers] (generated): Likewise.
25741         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25742         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25743         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25744         * sysdeps/unix/sysv/tcflow.c: Likewise.
25745         * sysdeps/unix/sysv/tcflush.c: Likewise.
25746         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25747         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25748         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25749         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25750         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25752         * sysdeps/unix/siglist.c: Remove file.
25754         * sysdeps/unix/getppid.S: Remove file.
25756         * sysdeps/unix/mkdir.c: Remove file.
25757         * sysdeps/unix/rmdir.c: Likewise.
25759 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25761         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25762         ERR_MAX value.
25763         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25764         errlist-compat value.
25766 2012-04-18  David S. Miller  <davem@davemloft.net>
25768         * sysdeps/generic/memcopy.h (reg_char): Delete.
25769         * debug/strcat_chk.c: Use char, not reg_char.
25770         * debug/strcpy_chk.c: Likewise.
25771         * debug/strncat_chk.c: Likewise.
25772         * debug/strncpy_chk.c: Likewise.
25773         * string/memchr.c: Likewise.
25774         * string/memrchr.c: Likewise.
25775         * string/rawmemchr.c: Likewise.
25776         * string/strcat.c: Likewise.
25777         * string/strchr.c: Likewise.
25778         * string/strchrnul.c: Likewise.
25779         * string/strcmp.c: Likewise.
25780         * string/strcpy.c: Likewise.
25781         * string/strncat.c: Likewise.
25782         * string/strncmp.c: Likewise.
25783         * string/strncpy.c: Likewise.
25785 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25787         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25788         __builtin_memcopy is called when src and dest ranges are known to not
25789         overlap.
25791 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25793         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25794         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25795         fwd_align_merge macro call.
25796         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25797         bwd_align_merge macro call.
25798         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25800 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25802         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25803         bwd_align_merge macros.
25804         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25805         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25806         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25808 2012-04-18  David S. Miller  <davem@davemloft.net>
25810         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25812 2012-04-18  Andreas Jaeger  <aj@suse.de>
25814         [BZ# 6794]
25815         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25816         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25817         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25819         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25820         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25821         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25823         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25824         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25825         Adjust for changed ldbl-128 files.
25827         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25828         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25829         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25831 2012-04-17  David S. Miller  <davem@davemloft.net>
25833         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25835 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25837         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25838         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25839         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25840         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25841         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25842         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25844 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25846         [BZ #6794]
25847         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25848         * math/libm-test.inc: Add ilogb errno and exception tests.
25849         * math/w_ilogb.c: New file: ilogb wrapper.
25850         * math/w_ilogbf.c: New file: ilogbf wrapper.
25851         * math/w_ilogbl.c: New file: ilogbl wrapper.
25852         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25853         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25854         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25855         exception being thrown with 0.0 as argument.
25856         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25857         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25858         exception being thrown with 0.0 as argument.
25859         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25860         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25861         exception being thrown with 0.0 as argument.
25862         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25863         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25864         exception being thrown with 0.0 as argument.
25865         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25866         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25867         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25868         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25869         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25870         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25871         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25872         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25873         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25875 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25877         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25878         with altivec.
25880 2012-04-16  Marek Polacek  <polacek@redhat.com>
25882         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25884 2012-04-16  Marek Polacek  <polacek@redhat.com>
25886         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25887         operands of fdivp instruction.
25889 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25891         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25892         * elf/tst-auditmod3b.c: Likewise.
25893         * elf/tst-auditmod4b.c: Likewise.
25894         * elf/tst-auditmod5b.c: Likewise.
25895         * elf/tst-auditmod6b.c: Likewise.
25896         * elf/tst-auditmod6c.c: Likewise.
25897         * elf/tst-auditmod7b.c: Likewise.
25898         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25899         * sysdeps/x86_64/preconfigure.in: Likewise.
25900         * sysdeps/x86_64/preconfigure: Regenerated.
25902 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25904         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25905         __ILP32__.
25907 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25909         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25910         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25912 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25914         [BZ #13973]
25915         * locale/iso-639.def: Fix gl language name. Spotted by
25916         Yaron Shahrabani.
25918 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25920         [BZ #2074]
25921         * libio/libio.h (__io_write_fn): Update comment.
25923 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25925         [BZ #2074]
25926         * stdio.texi (Hook Functions): The user provided writer function
25927         is not allowed to return -1.
25929 2012-04-11  David S. Miller  <davem@davemloft.net>
25931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25933 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25935         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25936         Add a leading slash to rtkaio.
25938 2012-04-11  Jim Meyering  <meyering@redhat.com>
25940         [BZ #11959]
25941         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25942         It is not necessarily an error to ignore fwrite's return
25943         value.  One can reliably use ferror to test for errors after
25944         the fact.
25946 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25948         * bits/types.h (__snseconds_t): New type.
25949         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25951         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25953         (__SNSECONDS_T_TYPE): Likewise.
25954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25955         (__SNSECONDS_T_TYPE): Likewise.
25956         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25957         (__SNSECONDS_T_TYPE): Likewise.
25959 2012-04-10  Andreas Jaeger  <aj@suse.de>
25961         [BZ #2636]
25962         * manual/time.texi (Processor Time): Return type of times is
25963         elapsed real time since an arbitrary point in the past.
25964         (CPU Time): Move CLK_TCK from here...
25965         (Processor Time): ...to here.  Correct description.
25966         * manual/conf.texi (Constants for Sysconf): Correct description of
25967         _SC_CLK_TCK.
25969 2012-04-10  David S. Miller  <davem@davemloft.net>
25971         [BZ #13967]
25972         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25973         where the is a gap between DT_REL(A) and DT_JMPREL.
25975 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25977         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25978         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25979         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25981 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25983         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25984         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25985         (dl_main): Handle --inhibit-cache.
25986         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25987         _dl_inhibit_cache.
25988         * elf/dl-load.c (_dl_map_object): Use it.
25989         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25991 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #13872]
25994         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25995         (__ieee754_powl): Saturate large exponents rather than testing for
25996         overflow of y*log2(x).
25997         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25998         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25999         exceptions.
26001         [BZ #11521]
26002         * math/s_ctan.c: Include <float.h>.
26003         (__ctan): Avoid internal overflow or cancellation in calculating
26004         denominator.
26005         * math/s_ctanf.c: Likewise.
26006         * math/s_ctanl.c: Likewise.
26007         * math/s_ctanh.c: Likewise.
26008         * math/s_ctanhf.c: Likewise.
26009         * math/s_ctanhl.c: Likewise.
26010         * math/libm-test.inc (ctan_test): Add more tests.
26011         (ctanh_test): Likewise.
26012         * sysdeps/i386/fpu/libm-test-ulps: Update.
26013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26015 2012-04-09  Andreas Jaeger  <aj@suse.de>
26017         [BZ #6894]
26018         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26019         is an optional BSD extension.
26021         [BZ #10254]
26022         * manual/stdio.texi (Opening Streams): Document additional fopen
26023         parameters.
26025 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26027         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26028         %eax without telling the compiler.
26030 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26032         [BZ # 13963]
26033         * manual/install.texi: Use sourceware.org.
26035 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26037         [BZ #13873]
26038         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26039         (__ieee754_pow): Generate overflow and underflow using huge*huge
26040         and tiny*tiny rather than just returning constant infinity or zero
26041         for large exponents.
26042         * math/libm-test.inc (pow_test): Require overflow exceptions for
26043         applicable cases of large exponents.
26045         [BZ #706]
26046         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26047         (__ieee754_pow): Use iterative multiplication algorithm only for
26048         integer exponents with absolute value below 1024.  Check for odd
26049         integer exponents when using algorithm for real exponents.
26050         * math/libm-test.inc (pow_test): Add more tests.
26051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26053 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26055         [BZ #13705]
26056         * math/libm-test.inc (exp_test): Do not allow overflow exception
26057         on underflow test.
26059 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26061         [BZ #13705]
26062         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26063         instead of __kernel_standard_f.
26065 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26067         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26068         * sysdeps/x86_64/memset_chk.S: Likewise.
26070 2012-04-08  Andreas Jaeger  <aj@suse.de>
26072         [BZ #10153]
26073         * manual/startup.texi (Environment Access): Describe return value
26074         for putenv and setenv.
26076         [BZ #6895]
26077         * manual/filesys.texi (Directory Entries): Add description for
26078         DT_LNK.
26080         [BZ #6890]
26081         * manual/filesys.texi (Directory Entries): Clarify that it's file
26082         system not operating system in the description of DT_UNKNOWN.
26084         [BZ #6578]
26085         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26087 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26089         [BZ #6649]
26090         * manual/llio.texi (Opening and Closing Files): Add cross
26091         reference to explain mode argument.
26093 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26095         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26096         * sysdeps/x86_64/memset_chk.S: Likewise.
26098 2012-04-07  David S. Miller  <davem@davemloft.net>
26100         * elf/elf.h (R_SPARC_WDISP10): Define.
26101         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26102         R_SPARC_SIZE32.
26103         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26104         R_SPARC_SIZE64 and R_SPARC_H34.
26106 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26108         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26109         conditions and remove no longer applicable assertion.
26111 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26113         * bits/byteswap.h: Include <features.h>.
26114         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26115         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26117 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26119         * bits/byteswap.h (__bswap_16): Removed.
26120         Include <bits/byteswap-16.h> to get __bswap_16.
26121         * sysdeps/i386/bits/byteswap.h: Likewise.
26122         * sysdeps/s390/bits/byteswap.h: Likewise.
26123         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26124         * bits/byteswap-16.h: New file.
26125         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26126         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26127         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26128         * string/Makefile (headers): Add bits/byteswap-16.h.
26130 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26132         [BZ #13895]
26133         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26134         extra indirection.
26135         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26136         * nss/tst-nss-static.c: New.
26138 2012-04-06  Robert Millan  <rmh@gnu.org>
26140         [BZ #6486]
26141         * manual/llio.texi (File Position Primitive): lseek
26142         refers to WHENCE when it really means OFFSET.
26144 2012-04-06  Andreas Jaeger  <aj@suse.de>
26146         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26147         strncmp declarations.
26149         * abilist/libc.abilist: Add __poll and __ppoll.
26151 2012-04-05  David S. Miller  <davem@davemloft.net>
26153         * scripts/check-local-headers.sh: Accept a host triplet in the
26154         path matched by the exclude regexp.
26156         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26157         definition.
26158         * sysdeps/powerpc/powerpc32/dl-machine.h
26159         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26160         * sysdeps/s390/s390-32/dl-machine.h
26161         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26162         * sysdeps/sparc/sparc32/dl-machine.h
26163         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26164         * sysdeps/sparc/sparc64/dl-machine.h
26165         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26167         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26168         lazy binding.
26169         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26170         undefined symbol errors.
26172         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26173         DT_NEEDED entries.
26175 2012-04-05  Michael Matz  <matz@suse.de>
26177         [BZ #13592]
26178         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26180 2012-04-05  Andreas Jaeger  <aj@suse.de>
26182         [BZ #13908]
26183         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26184         comment.
26186 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26188         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26189         which ROUND is no valid rounding mode.
26191 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26193         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26194         read again.
26195         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26197 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26199         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26200         an exception using FPU order intentionally.
26202 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26204         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26205         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26206         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26207         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26209 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26211         [BZ #12340]
26212         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26213         EINVAL when BUFLEN is too smal.
26215 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26217         [BZ #13553]
26218         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26219         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26221 2012-04-03  Andreas Jaeger  <aj@suse.de>
26223         [BZ #13938]
26224         * manual/setjmp.texi (System V contexts): Fix sentence.
26226         [BZ #13926]
26227         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26228         New macro for this case.
26229         [!__GNUC__] (__bswap_64): New inline function for this case.
26230         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26231         * bits/byteswap.h: Likewise.
26232         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26233         ull, guard with __GLIBC_HAVE_LONG_LONG.
26235         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26236         __GLIBC_HAVE_LONG_LONG.
26238         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26239         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26241 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26243         [BZ #13691]
26244         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26245         inptr and inend, rather than using last_ch.
26247 2012-04-02  David S. Miller  <davem@davemloft.net>
26249         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26250         * stdio-common/printf-parse.h (read_int): Change return type to
26251         'int', return -1 on INT_MAX overflow.
26252         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26253         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26254         overflows INT_MAX.  Check for overflow of in-format-string precision
26255         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26256         SIZE_MAX not INT_MAX for integer overflow test.
26257         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26258         skip the construct in the format string but do not record anything.
26259         * stdio-common/bug22.c: Adjust to test both width/prevision
26260         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26261         explicitly for proper errno values.
26263 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26265         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26266         CHAR_MAX.
26267         * string/test-strcmp.c [! WIDE]: Likewise.
26268         * time/tst-mktime2.c: Likewise for INT_MAX.
26269         * string/test-string.h: #include <sys/param.h> for MIN.
26271         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26272         * sysdeps/i386/init-first.c (init): Likewise.
26273         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26274         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26275         * sysdeps/sh/init-first.c (init): Likewise.
26277 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26279         * po/ru.po: Update from translation team.
26280         * po/vi.po: Likewise.
26282 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26284         * resolv/nss_dns/dns-host.c: Merge copyright years.
26286 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26289         Optimize memcpy with prefetch if
26290         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26291         src, dst pointers have unequal 16 byte alignments.
26293 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26295         [BZ #13928]
26296         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26297         from a CNAME entry and return the minimum ttl for the query.
26298         (gaih_getanswer_slice): Likewise.
26300 2012-03-30  Jeff Law  <law@redhat.com>
26302         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26303         due to long keys.
26304         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26305         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26307         * resolv/nss_dns/dns-host.c: Update copyright year.
26309 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26311         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26312         requests to save a system call.  Fix check that all bytes are sent.
26314         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26315         comments for sendmmsg.
26317 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26319         [BZ #13691]
26320         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26321         with only 1 character between 0x0041 and 0x01b0.
26322         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26323         * wcsmbs/tst-mbsnrtowcs.c: New file.
26325 2012-03-29  David S. Miller  <davem@davemloft.net>
26327         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26328         small copies by hand.
26330 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26332         [BZ #13761]
26333         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26334         _nss_compat_initgroups_dyn): Fall back to malloc/free
26335         for large group memberships.
26337 2012-03-28  David S. Miller  <davem@davemloft.net>
26339         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26340         that branches into memcpy.
26341         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26344         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26346         bits.
26347         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26348         implementation too.
26349         * sysdeps/sparc/mempcpy.S: New file.
26351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26352         the IFUNC routine in the libc case.
26353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26355         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26356         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26357         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26358         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26359         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26360         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26361         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26362         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26364         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26365         loop to 256 bytes instead of 64 bytes and fix test signedness.
26367         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26368         * sysdeps/sparc/sparc32/Makefile: rather than here...
26369         * sysdeps/sparc/sparc64/Makefile: and here.
26371 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26373         * malloc/mallocbug.c: Avoid warnings about unused variables.
26375 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26377         [BZ #13760]
26378         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26379         in the right place. Discard and retry query if response is
26380         larger than input buffer size.
26382 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26384         [BZ #369]
26385         [BZ #2678]
26386         [BZ #3866]
26387         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26388         x for large integer exponent.
26389         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26390         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26391         sign of result as needed afterwards.
26392         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26393         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26394         result for underflowing pow the same as for overflow.
26395         (__kernel_standard_l): Handle powl overflow and underflow here
26396         rather than calling __kernel_standard.
26397         * math/libm-test.inc (pow_test): Add more tests.
26399         [BZ #3868]
26400         [BZ #13879]
26401         [BZ #13910]
26402         [BZ #13911]
26403         [BZ #13912]
26404         [BZ #13913]
26405         [BZ #13915]
26406         [BZ #13916]
26407         [BZ #13917]
26408         [BZ #13918]
26409         [BZ #13919]
26410         [BZ #13920]
26411         [BZ #13921]
26412         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26413         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26414         (__kernel_standard_l): New function.
26415         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26416         __kernel_standard.
26417         * math/w_acosl.c (__acosl): Likewise.
26418         * math/w_asinl.c (__asinl): Likewise.
26419         * math/w_atan2l.c (__atan2l): Likewise.
26420         * math/w_atanhl.c (__atanhl): Likewise.
26421         * math/w_coshl.c (__coshl): Likewise.
26422         * math/w_exp10l.c (__exp10l): Likewise.
26423         * math/w_exp2l.c (__exp2l): Likewise.
26424         * math/w_fmodl.c (__fmodl): Likewise.
26425         * math/w_hypotl.c (__hypotl): Likewise.
26426         * math/w_j0l.c (__j0l, __y0l): Likewise.
26427         * math/w_j1l.c (__j1l, __y1l): Likewise.
26428         * math/w_jnl.c (__jnl, __ynl): Likewise.
26429         * math/w_lgammal.c (__lgammal): Likewise.
26430         * math/w_log10l.c (__log10l): Likewise.
26431         * math/w_log2l.c (__log2l): Likewise.
26432         * math/w_logl.c (__logl): Likewise.
26433         * math/w_powl.c (__powl): Likewise.
26434         * math/w_remainderl.c (__remainderl): Likewise.
26435         * math/w_scalbl.c (sysv_scalbl): Likewise.
26436         * math/w_sinhl.c (__sinhl): Likewise.
26437         * math/w_sqrtl.c (__sqrtl): Likewise.
26438         * math/w_tgammal.c (__tgammal): Likewise.
26439         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26440         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26441         * math/libm-test.inc (acos_test): Add more tests.
26442         (acosh_test): Likewise.
26443         (asin_test): Likewise.
26444         (atanh_test): Likewise.
26445         (exp_test): Likewise.
26446         (exp10_test): Likewise.
26447         (exp2_test): Likewise.
26448         (expm1_test): Likewise.
26449         (lgamma_test): Likewise.
26450         (log_test): Likewise.
26451         (log10_test): Likewise.
26452         (log1p_test): Likewise.
26453         (log2_test): Likewise.
26454         (pow_test): Do not allow some spurious overflow exceptions.
26455         (sqrt_test): Add more tests.
26456         (tgamma_test): Likewise.
26457         (y0_test): Likewise.
26458         (y1_test): Likewise.
26459         (yn_test): Likewise.
26461 2012-03-27  Anton Blanchard  <anton@samba.org>
26463         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26464         MAP_HUGETLB.
26465         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26466         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26467         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26469 2012-03-27  David S. Miller  <davem@davemloft.net>
26471         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26473         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26474         have-as-vis3 check.
26476 2012-03-27  Andreas Jaeger  <aj@suse.de>
26478         * sysdeps/x86_64/elf/configure.in: Moved to ...
26479         * sysdeps/x86_64/configure.in: ... here.
26480         * sysdeps/x86_64/elf/start.S: Moved to ...
26481         * sysdeps/x86_64/start.S: ... here.
26482         * sysdeps/x86_64/elf/configure: Delete.
26484         * sysdeps/x86_64/configure.in: Merge contents from
26485         sysdeps/i386/configure.in (without i686 check).
26487         * sysdeps/i386/elf/Versions: Merge into ...
26488         * sysdeps/i386/Versions: ... this.
26489         * sysdeps/i386/elf/Versions: Delete file.
26490         * sysdeps/i386/elf/start.S: Moved to ...
26491         * sysdeps/i386/start.S: ...here.
26492         * sysdeps/i386/elf/configure.in: Merge into...
26493         * sysdeps/i386/configure.in: ...here.
26494         * sysdeps/i386/elf/configure.in: Delete file.
26495         * sysdeps/i386/elf/configure: Delete file.
26497         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26498         * debug/backtracesyms.c: ... here.
26499         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26500         * debug/backtracesymsfd.c: ... here.
26501         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26502         * sysdeps/generic/ifunc-sel.h: ... here.
26504         * sysdeps/unix/i386/start.c: Delete file.
26505         * sysdeps/unix/sparc/start.c: Delete file.
26506         * sysdeps/unix/start.c: Delete file.
26508         * sysdeps/sh/elf/configure.in: Moved to ...
26509         * sysdeps/sh/configure.in: ... here.
26510         * sysdeps/sh/elf/start.S: Moved to ...
26511         * sysdeps/sh/start.S: ... here.
26512         * sysdeps/sh/elf/configure: Delete file.
26514         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26515         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26516         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26517         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26518         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26519         * sysdeps/powerpc/powerpc64/start.S: here.
26520         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26521         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26522         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26523         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26524         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26526         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26527         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26528         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26529         * sysdeps/powerpc/powerpc32/start.S: ... here.
26530         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26531         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26532         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26534         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26535         * sysdeps/powerpc/ifunc-sel.h: ... here.
26536         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26537         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26539         * sysdeps/sparc/elf/configure.in: Moved to ...
26540         * sysdeps/sparc/configure.in: ... here.
26541         * sysdeps/sparc/elf/configure: Delete file.
26542         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26543         * sysdeps/sparc/sparc32/start.S: ... here.
26544         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26545         * sysdeps/sparc/sparc64/start.S: ... here.
26546         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26547         * sysdeps/sparc/sparc32/Makefile: ... this.
26548         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26549         * sysdeps/sparc/sparc64/Makefile: ... this.
26551         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26552         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26553         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26554         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26555         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26556         * sysdeps/s390/s390-32/setjmp.S: ... here.
26557         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26558         * sysdeps/s390/s390-32/configure.in: ... here.
26559         * sysdeps/s390/s390-32/elf/configure: Delete file.
26560         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26561         * sysdeps/s390/s390-32/start.S: ... here.
26563         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26564         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26565         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26566         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26567         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26568         * sysdeps/s390/s390-64/setjmp.S: ... here.
26569         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26570         * sysdeps/s390/s390-64/configure.in: ... here
26571         * sysdeps/s390/s390-64/elf/configure: Delete file.
26572         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26573         * sysdeps/s390/s390-64/start.S: ... here.
26574         * sysdeps/s390/s390-64/elf/configure: Delete.
26576         * configure.in: Remove support for elf directories in sysdeps.
26578         * configure: Regenerated.
26579         * sysdeps/i386/configure: Regenerated.
26580         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26581         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26582         * sysdeps/s390/s390-32/configure: Regenerated.
26583         * sysdeps/s390/s390-64/configure: Regenerated.
26584         * sysdeps/sh/configure: Regenerated.
26585         * sysdeps/sparc/configure: Regenerated.
26586         * sysdeps/x86_64/configure: Regenerated.
26588 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26593         denormal result into account.
26595 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26597         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26598         Reported by Allan McRae <allan@archlinux.org>.
26600 2012-03-23  Jeff Law  <law@redhat.com>
26602         * nss/getnssent.c (__nss_getent): Fix typo.
26604 2012-03-23  David S. Miller  <davem@davemloft.net>
26606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26608 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26610         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26611         to pad to uint64_t for each field.
26612         (dl_tls_index): Replace unsigned long with uint64_t.
26614 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26615         Paul Pluzhnikov  <ppluzhnikov@google.com>
26617         [BZ #6528]
26618         * grp/Makefile (otherlibs): Don't set it.
26619         * inet/Makefile (otherlibs): Likewise.
26620         * login/Makefile (otherlibs): Likewise.
26621         * nscd/Makefile (otherlibs): Likewise.
26622         * posix/Makefile (otherlibs): Likewise.
26623         * pwd/Makefile (otherlibs): Likewise.
26624         * rt/Makefile (otherlibs): Likewise.
26625         * sunrpc/Makefile (otherlibs): Likewise.
26626         * nss/Makefile (otherlibs): Likewise.
26627         Add libnss_files to routines and static-only-routines.
26628         ($(objpfx)getent): Remove rule.
26629         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26630         static-only-routines.
26632 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26634         [BZ #13892]
26635         * math/s_cexp.c: Include <float.h>.
26636         (__cexp): Handle exp result overflowing not necessarily
26637         overflowing both real and imaginary parts of result.
26638         * math/s_cexpf.c: Likewise.
26639         * math/s_cexpl.c: Likewise.
26640         * math/libm-test.inc (cexp_test): Add more tests.
26641         * sysdeps/i386/fpu/libm-test-ulps: Update.
26642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26644 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26646         * include/link.h (ELFW): New macro.
26647         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26648         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26650 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26652         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26653         with uint64_t.
26655 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26657         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26658         declaration.
26659         (struct La_x32_retval): Likewise.
26661 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26663         * sysdeps/x86_64/preconfigure.in: New file.
26664         * sysdeps/x86_64/preconfigure: New generated file.
26666 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26668         [BZ #13824]
26669         * math/e_exp2l.c: Include <float.h>.
26670         (__ieee754_exp2l): Handle overflow and underflow cases
26671         separately.  Only pass fractional part of argument to
26672         __ieee754_expl.
26673         * math/libm-test.inc (exp2_test): Add more tests.
26675         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26676         negating x to take absolute value.
26677         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26678         Likewise.
26679         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26680         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26681         Likewise.
26682         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26683         computing low part if x was negated.
26684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26688         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26689         la_x32_gnu_pltexit.
26690         (pltexit): Cast int_retval to ptrdiff_t.
26691         * elf/tst-auditmod3b.c: Likewise.
26692         * elf/tst-auditmod4b.c: Likewise.
26693         * elf/tst-auditmod5b.c: Likewise.
26694         * elf/tst-auditmod6b.c: Likewise.
26695         * elf/tst-auditmod6c.c: Likewise.
26696         * elf/tst-auditmod7b.c: Likewise.
26698         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26699         and x32_gnu_pltexit.
26701         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26702         __ELF_NATIVE_CLASS.
26703         (La_x32_regs): New macro.
26704         (La_x32_retval): Likewise.
26705         (la_x32_gnu_pltenter): New function prototype.
26706         (la_x32_gnu_pltexit): Likewise.
26708 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26710         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26711         exponent.
26713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26715         * configure.in (libc_cv_cc_nofma): Check for option to disable
26716         generation of FMA instructions.
26717         * configure: Regenerate.
26718         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26719         * sysdeps/ieee754/dbl-64/Makefile: New file.
26720         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26721         Remove brandred-fma4.
26722         (CFLAGS-brandred-fma4.c): Remove.
26723         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26724         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26725         define.
26726         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26727         define.
26729 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26731         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26732         LLONG_MAX != LONG_MAX.
26733         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26734         (_fitoa_word): Likewise.
26735         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26736         LLONG_MAX != LONG_MAX.
26737         * stdio-common/_itowa.h: Include <_itoa.h>.
26738         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26739         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26740         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26741         only if not defined.
26742         (_ITOA_WORD_TYPE): Likewise.
26743         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26744         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26746 2012-03-21  David S. Miller  <davem@davemloft.net>
26748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26750 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26752         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26753         of x86_64 when setting libc_cv_slibdir, libdir and
26754         libc_cv_localedir.
26755         * sysdeps/unix/sysv/linux/configure: Regenerated.
26757 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26759         * manual/lang.texi (Old Varargs): Remove section.
26760         (How Variadic): Update menu.
26761         (va_start): Do not mention varargs.h.
26763 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26764             Joseph Myers  <joseph@codesourcery.com>
26766         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26767         link test.
26768         * configure: Regenerated.
26770 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26772         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26773         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26774         conformtest.pl
26776 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26778         * NOTES: Remove.
26779         * Makefile (files-for-dist): Remove NOTES.
26780         (NOTES): Remove rule.
26781         * README: Don't refer to NOTES.
26782         * manual/creature.texi: Don't include macros.texi.
26783         * manual/intro.texi (creature.texi): Remove comment referring to
26784         NOTES.
26786         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26787         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26788         * configure: Regenerated.
26789         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26790         LIBC_TRY_CC_OPTION.
26791         (libc_cv_as_i686): Likewise.
26792         (libc_cv_cc_avx): Likewise.
26793         (libc_cv_cc_sse2avx): Likewise.
26794         (libc_cv_cc_fma4): Likewise.
26795         (libc_cv_cc_novzeroupper): Likewise.
26796         * sysdeps/i386/configure: Regenerated.
26798         [BZ #13883]
26799         * sysdeps/i386/fpu/s_cexp.S: Remove.
26800         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26801         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26802         * math/libm-test.inc (cexp_test): Add more tests.
26803         * sysdeps/i386/fpu/libm-test-ulps: Update.
26804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26806 2012-03-21  Allan McRae  <allan@archlinux.org>
26808         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26810 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26812         [BZ #13871]
26813         * math/w_exp2.c: Do not include <float.h>.
26814         (o_threshold, u_threshold): Remove.
26815         (__exp2): Calculate result before checking finiteness and calling
26816         __kernel_standard.
26817         * math/w_exp2f.c: Likewise.
26818         * math/w_exp2l.c: Likewise.
26819         * math/libm-test.inc (exp2_test): Require overflow exception for
26820         1e6 input.
26822         [BZ #3866]
26823         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26824         range of signed 64-bit integers before using fistpll.  Remove
26825         checks for whether integers fit in mantissa bits.
26826         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26827         the range of signed 32-bit integers before using fistpl.  Remove
26828         checks for whether integers fit in mantissa bits.
26829         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26830         (__ieee754_powl): Test for y outside the range of signed 64-bit
26831         integers before using fistpll.  Reduce 64-bit values to 63-bit
26832         ones as needed.
26833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26834         divide-by-zero is raised for zero to large negative powers.
26835         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26836         (__ieee754_powl): Test for y outside the range of signed 64-bit
26837         integers before using fistpll.  Reduce 64-bit values to 63-bit
26838         ones as needed.
26839         * math/libm-test.inc (pow_test): Add more tests.
26841 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26843         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26844         <stdio-common/_itoa.h>.
26845         * debug/segfault.c: Likewise.
26846         * elf/dl-cache.c: Likewise.
26847         * elf/dl-minimal.c: Likewise.
26848         * elf/dl-misc.c: Likewise.
26849         * elf/dl-sysdep.c: Likewise.
26850         * elf/dl-version.c: Likewise.
26851         * elf/rtld.c: Likewise.
26852         * hurd/hurdsock.c: Likewise.
26853         * hurd/lookup-retry.c: Likewise.
26854         * malloc/malloc.c: Likewise.
26855         * malloc/mtrace.c: Likewise.
26856         * nscd/nscd_getgr_r.c: Likewise.
26857         * nscd/nscd_getpw_r.c: Likewise.
26858         * nscd/nscd_getserv_r.c: Likewise.
26859         * posix/getopt_init.c: Likewise.
26860         * posix/wordexp.c: Likewise.
26861         * stdio-common/_itoa.c: Likewise.
26862         * stdio-common/printf_fphex.c: Likewise.
26863         * stdio-common/vfprintf.c: Likewise.
26864         * string/_strerror.c: Likewise.
26865         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26866         * sysdeps/i386/i686/hp-timing.h: Likewise.
26867         * sysdeps/mach/_strerror.c: Likewise.
26868         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26869         * sysdeps/mach/hurd/sethostid.c: Likewise.
26870         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26871         * sysdeps/mach/xpg-strerror.c: Likewise.
26872         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26873         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26874         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26875         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26876         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26877         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26878         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26879         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26880         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26881         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26882         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26883         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26884         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26885         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26886         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26887         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26888         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26889         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26890         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26891         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26892         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26894         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26896         * stdio-common/_itoa.h: Moved to ...
26897         * sysdeps/generic/_itoa.h: Here.
26899         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26901         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26902         instead of "_itoa.h" and "_itowa.h".
26903         * stdio-common/vfprintf.: Likewise.
26905 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26907         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26908         <bits/wordsize.h>.
26909         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26910         (__signbit): Likwise.
26911         (llrintf): Likwise.
26912         (llrint): Likwise.
26914 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26916         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26917         __WORDSIZE != 64.
26919 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26921         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26922         OVERFLOW_EXCEPTION_OK.
26923         * math/libm-test.inc ("Philosophy"): Update comment about
26924         exception testing.
26925         (OVERFLOW_EXCEPTION): Define.
26926         (OVERFLOW_EXCEPTION_OK): Likewise.
26927         (INVALID_EXCEPTION_OK): Renumber.
26928         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26929         (IGNORE_ZERO_INF_SIGN): Likewise.
26930         (test_exceptions): Handle FE_OVERFLOW.
26931         (exp10_test): Expect overflow exceptions.
26932         (exp2_test): Likewise.
26933         (expm1_test): Likewise.
26934         (nextafter_test): Likewise.
26935         (pow_test): Likewise.
26936         (scalbn_test): Likewise.
26937         (scalbln_test): Likewise.
26939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26941         * sysdeps/x86_64/bits/atomic.h
26942         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26943         64bit integer.
26944         (atomic_exchange_acq): Likewise.
26945         (__arch_exchange_and_add_body): Likewise.
26946         (__arch_add_body): Likewise.
26947         (atomic_add_negative): Likewise.
26948         (atomic_add_zero): Likewise.
26950 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26952         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26953         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26958         Check __x86_64__ instead of __WORDSIZE.
26960 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26962         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26964 2012-03-19  David S. Miller  <davem@davemloft.net>
26966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26968         * sysdeps/sparc/fpu/fenv_private.h: New file.
26969         * sysdeps/sparc/fpu/math_private.h: Use it.
26970         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26971         Remove.
26972         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26973         (libc_feholdexcept_setroundl): Remove.
26974         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26975         Remove.
26976         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26977         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26981         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26982         int64_t instead of long int.
26983         (INSERT_WORDS64): Likwise.
26985 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26987         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26988         _Unwind_GetCFA return to _Unwind_Ptr first.
26990 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26992         [BZ #13629]
26993         * math/s_clog.c: Include <float.h>.
26994         (__clog): Scale large or subnormal inputs.
26995         * math/s_clogf.c: Likewise.
26996         * math/s_clogl.c: Likewise.
26997         * math/s_clog10.c: Include <float.h>.
26998         (M_LOG10_2): Define.
26999         (__clog10): Scale large or subnormal inputs.
27000         * math/s_clog10f.c: Likewise.
27001         * math/s_clog10l.c: Likewise.
27002         * math/libm-test.inc (clog_test): Add more tests.
27003         (clog10_test): Likewise.
27004         * sysdeps/i386/fpu/libm-test-ulps: Update.
27005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27007         [BZ #11451]
27008         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27009         x and y.
27010         * math/libm-test.inc (atan2_test): Add another test.
27012         * Makerules (common-objdir-compile): Remove.
27013         * sysdeps/unix/Makefile (config-generated): Do not add
27014         $(unix-generated) to variable.
27015         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27016         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27017         Remove rule.
27018         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27019         Likewise.
27020         [generic bits/local_lim.h] (before-compile): Do not append to
27021         variable.
27022         [generic bits/local_lim.h] (common-generated): Likewise.
27023         [generic sys/param.h] (before-compile): Do not append to variable.
27024         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27025         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27026         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27027         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27028         include.
27029         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27030         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27031         [generic sys/param.h] ($(addprefix
27032         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27033         [generic sys/param.h] (common-generated): Do not append to
27034         variable.
27035         [generic sys/param.h] (sysdep_headers): Likewise.
27036         [generic bits/errno.h] (before-compile): Do not append to
27037         variable.
27038         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27039         rule.
27040         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27041         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27042         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27043         [generic bits/errno.h] (common-generated): Do not append to
27044         variable.
27045         [generic bits/ioctls.h] (before-compile): Do not append to
27046         variable.
27047         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27048         rule.
27049         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27050         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27051         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27052         rule.
27053         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27054         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27055         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27056         [generic bits/ioctls.h] (common-generated): Do not append to
27057         variable.
27058         [generic sys/syscall.h] (syscall.h): Remove variable.
27059         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27060         rule.
27061         [generic sys/syscall.h] (before-compile): Do not append to
27062         variable.
27063         [generic sys/syscall.h] (common-generated): Likewise.
27064         * sysdeps/unix/errnos-tmpl.c: Remove file.
27065         * sysdeps/unix/errnos.awk: Likewise.
27066         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27067         * sysdeps/unix/ioctls.awk: Likewise.
27068         * sysdeps/unix/mk-local_lim.c: Likewise.
27069         * sysdeps/unix/snarf-ioctls: Likewise.
27071 2012-03-19  Richard Henderson  <rth@twiddle.net>
27073         * sysdeps/i386/fpu/fenv_private.h: New file.
27074         * sysdeps/i386/fpu/math_private.h: Use it.
27075         (math_opt_barrier, math_force_eval): Remove.
27076         (libc_feholdexcept_setround_53bit): Remove.
27077         (libc_feupdateenv_53bit): Remove.
27078         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27079         (math_opt_barrier, math_force_eval): Remove.
27080         (libc_feholdexcept): Remove.
27081         (libc_feholdexcept_setround): Remove.
27082         (libc_fetestexcept, libc_fesetenv): Remove.
27083         (libc_feupdateenv_test): Remove.
27084         (libc_feupdateenv, libc_feholdsetround): Remove.
27085         (libc_feresetround): Remove.
27087         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27088         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27090         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27091         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27092         (libc_feupdateenv_testl): New.
27093         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27094         (libc_feupdateenv_testf): New.
27095         (libc_feupdateenv): Use libc_feupdateenv_test.
27096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27097         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27099         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27100         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27101         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27102         (libc_feresetround_noex): New.
27103         (libc_feresetround_noexf): New.
27104         (libc_feresetround_noexl): New.
27105         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27106         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27107         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27108         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27109         SET_RESTORE_ROUND.
27110         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27112         (__cos): Likewise.
27113         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27114         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27115         SET_RESTORE_ROUND_NOEX.
27116         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27117         SET_RESTORE_ROUND_NOEXF.
27118         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27119         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27120         (libc_feholdsetroundf): New.
27121         (libc_feresetround, libc_feresetroundf): New.
27123         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27124         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27125         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27127         * sysdeps/generic/math_private.h: Include <fenv.h>.
27128         (default_libc_feholdexcept): New.
27129         (default_libc_feholdexcept_setround): New.
27130         (default_libc_fesetenv, default_libc_feupdateenv): New.
27131         (libc_feholdexcept): Only define if undefined.
27132         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27133         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27134         (libc_feholdexcept_setroundl): Likewise.
27135         (libc_feholdexcept_setround_53bit): Likewise.
27136         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27137         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27138         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27139         (libc_feupdateenv_53bit): Likewise.
27140         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27141         (libc_feholdexcept): Convert from macro to inline function.
27142         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27143         (libc_fesetenv, libc_feupdateenv): Likewise.
27145         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27146         not previously defined.
27147         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27148         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27149         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27150         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27151         * sysdeps/ieee754/flt-32/math_private.h: New file.
27152         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27153         math_private.h below SET_FLOAT_WORD.
27154         (__isnan, __isinf_ns, __finite): Remove.
27155         (__isnanf, __isinf_nsf, __finitef): Remove.
27157 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27161 2012-03-17  David S. Miller  <davem@davemloft.net>
27163         [BZ #6471]
27164         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27165         for 2.16.
27167 2012-03-16  David S. Miller  <davem@davemloft.net>
27169         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27170         warnings.
27172         [BZ #6471]
27173         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27174         properly.
27175         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27176         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27177         sysdep_routines when subdir is sysvipc.
27178         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27179         __getshmlba helper.
27181         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27185         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27186         [__LP64__].
27188 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27190         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27191         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27192         (__lround): Renamed to ...
27193         (__llround): This.  Replace long int with long long int.
27194         Define lround functions as aliases of llround functions.
27195         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27197 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27199         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27200         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27201         adresses to uintptr_t.  Replace "long int" and "unsigned long
27202         int" with "greg_t" on va_arg.
27204 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27206         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27207         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27209         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27210         Move e_machine check before EI_CLASS check.  Handle x32
27211         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27212         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27213         SKIP_EM_IA_64 and include
27214         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27216         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27217         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27218         (add_system_dir): New macro.
27220         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27221         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27223 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27225         [BZ #2551]
27226         [BZ #2552]
27227         [BZ #2553]
27228         [BZ #2554]
27229         [BZ #2562]
27230         [BZ #2563]
27231         [BZ #2565]
27232         [BZ #2566]
27233         [BZ #2576]
27234         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27235         (y0): Likewise.
27236         * math/w_j0f.c (j0f): Likewise.
27237         (y0f): Likewise.
27238         * math/w_j0l.c (__j0l): Likewise.
27239         (__y0l): Likewise.
27240         * math/w_j1.c (j1): Likewise.
27241         (y1): Likewise.
27242         * math/w_j1f.c (j1f): Likewise.
27243         (y1f): Likewise.
27244         * math/w_j1l.c (__j1l): Likewise.
27245         (__y1l): Likewise.
27246         * math/w_jn.c (jn): Likewise.
27247         (yn): Likewise.
27248         * math/w_jnf.c (jnf): Likewise.
27249         (ynf): Likewise.
27250         * math/w_jnl.c (__jnl): Likewise.
27251         (__ynl): Likewise.
27252         * math/libm-test.inc (j0_test): Add more tests.
27253         (j1_test): Likewise.
27254         (jn_test): Likewise.  Add trailing semicolon to existing test.
27255         (y0_test): Likewise.
27256         (y1_test): Likewise.
27257         * sysdeps/i386/fpu/libm-test-ulps: Update.
27258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27260         [BZ #13851]
27261         [BZ #13854]
27262         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27263         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27264         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27265         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27266         (__tanl): Set errno for infinite argument.
27267         * sysdeps/i386/fpu/mptan.c: Remove.
27268         * sysdeps/i386/fpu/s_tan.S: Likewise.
27269         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27270         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27271         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27272         * math/libm-test.inc (tan_test): Add more tests and enable more
27273         tests for double and long double.
27274         * sysdeps/i386/fpu/libm-test-ulps: Update.
27275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27277 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27279         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27280         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27282 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27284         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27285         * configure.in: Use it for both main tree and add-ons.
27286         * configure: Regenerated.
27288 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27290         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27292 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27294         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27295         in comment.
27297         [BZ #13851]
27298         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27299         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27300         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27301         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27302         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27303         infinite argument.
27304         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27305         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27306         != 0 for prec == 2.
27307         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27308         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27309         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27310         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27311         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27312         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27313         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27314         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27315         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27316         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27317         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27318         * math/libm-test.inc (cos_test): Add more tests and enable more
27319         tests for long double.
27320         (sin_test): Likewise.
27321         (sincos_test): Likewise.
27322         * sysdeps/i386/fpu/libm-test-ulps: Update.
27323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325 2012-03-16  David S. Miller  <davem@davemloft.net>
27327         * sysdeps/sparc/fpu/math_private.h: New file.
27329 2012-03-15  David S. Miller  <davem@davemloft.net>
27331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27332         file.
27333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27335         file.
27336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27342         sysdep routines.
27343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27345         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27346         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27348         * sysdeps/sparc/sparc-ifunc.h: New file.
27349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27350         sparc-ifunc.h
27351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27353         Likewise.
27354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27355         Likewise.
27356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27360         Likewise.
27361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27366         Likewise.
27367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27368         Likewise.
27369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27389         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27394 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27396         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27397         scaling.
27398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27400 2012-03-15  Andreas Jaeger  <aj@suse.de>
27402         [BZ #13852]
27403         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27404         ieee754/flt-32 implementation for sin, cos and sincos.
27405         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27406         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27407         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27408         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27409         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27410         ieee754/flt-32 implementation for tan.
27412         * math/libm-test.inc (cos_test): Enable some large input tests for
27413         float as well
27414         (sin_test): Likewise.
27415         (sincos_test): Likewise.
27416         (tan_test): Add tests for large input.
27418         * sysdeps/i386/fpu/libm-test-ulps: Update.
27420 2012-03-15  Andreas Jaeger  <aj@suse.de>
27422         [BZ #13658]
27423         * math/libm-test.inc (cos_test): Add more test cases.
27424         (sin_test): Likewise.
27425         (sincos_test): Likewise.
27427 2012-03-15  Andreas Jaeger  <aj@suse.de>
27429         [BZ #13837]
27430         * math/libm-test.inc (cos_test): Add a test case for large input
27431         value.
27432         (sin_test): Likewise.
27433         (sincos_test): Likewise.
27435 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27436         Joseph Myers  <joseph@codesourcery.com>
27438         [BZ #13658]
27439         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27440         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27441         * sysdeps/i386/fpu/branred.c: Likewise.
27442         * sysdeps/i386/fpu/dosincos.c: Likewise.
27443         * sysdeps/i386/fpu/mpa.c: Likewise.
27444         * sysdeps/i386/fpu/s_cos.S: Likewise.
27445         * sysdeps/i386/fpu/s_sin.S: Likewise.
27446         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27447         * sysdeps/i386/fpu/sincos32.c: Likewise.
27449         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27450         Define.
27451         (libc_feupdateenv_53bit): Define.
27452         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27453         Define.
27454         (libc_feupdateenv_53bit): Define.
27456         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27457         53 bit (without extend i386 double precision).
27459         * math/libm-test.inc (sincos_test): Add tests for large input.
27460         (sin): Likewise.
27461         (cos): Likewise.
27463         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27465 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27469 2012-03-15  David S. Miller  <davem@davemloft.net>
27471         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27472         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27473         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27474         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27487         file.
27488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27490         file.
27491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27493         file.
27494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27496         file.
27497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27498         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27499         fmin/fmax sysdep routines.
27500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27502 2012-03-14  David S. Miller  <davem@davemloft.net>
27504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27508         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27524         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27526         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27528         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27532         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27533         routines.
27534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27535         file.
27536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27538         file.
27539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27541         file.
27542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27544         file.
27545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27547         file.
27548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27550         file.
27551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27552         file.
27553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27554         file.
27555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27556         file.
27557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27558         New file.
27559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27560         file.
27561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27562         file.
27563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27565         file.
27566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27568         file.
27569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27571         file.
27572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27574         VIS3 routines.
27576         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27577         New file.
27579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27581         * sysdeps/sparc/configure.in: New file.
27582         * sysdeps/sparc/configure: Generate.
27583         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27584         * configure: Regenerate.
27585         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27586         * config.make.in (have-as-vis3): New.
27587         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27588         available use -Av9d instead of -Av9a.
27589         * sysdeps/sparc/sparc64/Makefile: Likewise.
27590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27592         New file.
27593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27594         file.
27595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27596         New file.
27597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27598         file.
27599         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27602         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27605         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27606         fzeros/fnegs to load 0x80000000 into a float register instead of
27607         using the stack.
27608         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27610 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27613         bits/syscall.h.
27614         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27615         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27616         ($(inst_includedir)/bits/syscall.h): Remove rule.
27617         ($(objpfx)bits/syscall.d): Include instead of
27618         $(objpfx)syscall-list.d.
27619         (generated): Change syscall-list.h and syscall-list.d to
27620         bits/syscall.h and bits/syscall.d.
27622 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27624         [BZ #13846]
27625         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27627 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27629         [BZ #13841]
27630         * math/s_csqrt.c: Include <float.h>.
27631         (__csqrt): Scale large or subnormal inputs.
27632         * math/s_csqrtf.c: Likewise.
27633         * math/s_csqrtl.c: Likewise.
27634         * math/libm-test.inc (csqrt_test): Add more tests.
27635         * sysdeps/i386/fpu/libm-test-ulps: Update.
27636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27638         [BZ #13840]
27639         * math/libm-test.inc (hypot_test): Add more tests.
27641 2012-03-13  David S. Miller  <davem@davemloft.net>
27643         [BZ #13840]
27644         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27645         double-precision for the calculation instead of scaling.
27647 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27649         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27650         manipulate bits before adding and subtracting TWO52[sx].
27651         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27652         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27653         Likewise.
27654         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27656 2012-03-13  David S. Miller  <davem@davemloft.net>
27658         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27659         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27660         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27661         rtld-global-offsets.h
27662         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27664         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27665         large parameters.
27667         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27669         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27670         'err' in the ifdef scope in which it is actually used.
27672         * nss/nss_db/db-init.c: Include string.h
27674 2012-03-12  David S. Miller  <davem@davemloft.net>
27676         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27677         masking out of the most significant byte of random value used.
27678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27679         Fix coding style in previous change.
27681         * sysdeps/unix/sysv/linux/kernel-features.h
27682         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27683         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27684         expression.
27685         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27686         later.
27688 2012-03-11  David S. Miller  <davem@davemloft.net>
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27691         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27692         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27693         for 'resultvar' otherwise things get truncated on 64-bit.
27695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27696         Fix masking out of the most significant byte of random value used.
27698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27700 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27704 2012-03-09  David S. Miller  <davem@davemloft.net>
27706         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27707         variables with appropriate CPP guards.
27708         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27709         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27710         on resulting framesize and the management of the outregs buffer for pltexit.
27711         Preserve floating point return values across _dl_call_pltexit call.
27712         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27713         framesize and the management of the outregs buffer for pltexit.
27714         Preserve floating point return values across _dl_call_pltexit
27715         call.
27716         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27717         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27718         (print_exit): Fix format string for return register value.
27720 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27722         * sunrpc/Makefile (others): Add rpcgen.
27723         ($(objpfx)rpcgen): Remove special build rule and dependency on
27724         libc.
27725         * sunrpc/rpcgen.c: New file.
27727 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27729         [BZ #13673]
27730         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27731         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27732         * sysdeps/i386/crti.S: Likewise.
27733         * sysdeps/i386/crtn.S: Likewise.
27734         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27735         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27736         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27737         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27738         * sysdeps/sh/crti.S: Likewise.
27739         * sysdeps/sh/crtn.S: Likewise.
27740         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27742         [BZ #13673]
27743         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27744         with URL.
27745         * locale/programs/locfile-kw.gperf: Likewise.
27746         * locale/programs/charmap-kw.h: Regenerated.
27747         * locale/programs/locfile-kw.h: Likewise.
27749         [BZ #13673]
27750         * intl/plural.y: Replace FSF snail mail address with URL.
27751         * intl/plural.c: Regenerated.
27753 2012-03-09  Richard Henderson  <rth@twiddle.net>
27755         * include/math_private.h: Remove file.
27756         * math/math_private.h: Move file ...
27757         * sysdeps/generic/math_private.h: ... here.
27759         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27760         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27761         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27763         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27764         and <math_private.h>.
27765         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27766         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27767         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27768         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27769         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27770         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27771         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27773         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27774         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27776         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27777         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27778         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27779         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27780         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27781         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27783         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27784         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27786         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27787         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27789         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27790         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27791         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27792         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27793         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27794         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27795         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27797         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27798         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27799         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27800         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27801         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27802         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27803         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27804         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27805         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27806         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27807         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27808         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27809         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27810         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27811         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27812         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27813         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27814         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27815         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27816         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27817         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27818         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27819         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27820         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27821         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27822         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27823         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27824         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27825         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27826         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27827         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27828         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27829         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27830         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27831         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27832         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27833         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27835         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27836         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27837         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27839         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27841         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27842         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27843         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27844         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27845         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27848         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27849         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27851         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27852         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27853         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27856         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27857         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27858         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27859         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27860         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27861         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27862         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27863         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27865         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27866         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27867         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27868         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27869         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27870         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27871         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27872         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27873         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27875         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27876         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27877         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27878         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27879         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27880         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27881         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27882         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27883         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27884         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27885         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27886         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27887         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27888         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27889         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27890         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27891         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27892         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27893         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27894         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27895         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27896         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27897         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27898         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27899         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27900         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27901         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27902         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27903         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27904         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27905         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27906         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27907         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27908         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27909         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27910         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27911         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27912         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27913         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27914         * sysdeps/ieee754/k_standard.c: Likewise.
27915         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27916         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27918         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27919         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27920         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27921         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27922         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27925         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27927         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27928         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27929         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27932         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27935         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27936         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27937         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27938         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27939         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27940         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27941         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27942         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27943         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27945         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27946         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27947         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27948         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27949         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27950         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27951         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27952         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27953         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27954         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27955         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27956         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27957         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27958         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27959         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27966         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27967         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27973         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27976         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27977         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27981         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27983         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27984         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27987         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27988         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27991         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27992         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27993         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27994         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27995         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27996         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27997         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27998         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27999         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28000         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28001         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28002         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28003         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28005         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28006         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28007         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28008         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28009         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28010         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28011         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28012         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28013         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28014         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28016         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28027         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28028         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28029         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28030         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28031         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28032         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28033         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28034         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28035         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28037         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28038         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28039         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28041         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28042         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28043         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28045         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28046         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28047         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28050         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28051         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28052         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28053         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28054         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28055         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28056         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28060         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28061         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28064         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28065         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28075         * sysdeps/ieee754/s_lib_version.c: Likewise.
28076         * sysdeps/ieee754/s_matherr.c: Likewise.
28077         * sysdeps/ieee754/s_signgam.c: Likewise.
28078         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28079         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28080         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28081         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28082         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28083         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28084         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28085         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28086         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28087         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28088         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28089         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28090         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28091         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28092         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28093         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28094         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28095         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28100 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28102         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28103         * sunrpc/rpc_main.c: Likewise.
28104         * sunrpc/rpc_svcout.c: Likewise.
28106 2012-03-09  David S. Miller  <davem@davemloft.net>
28108         * include/math_private.h: New file.
28110 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28112         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28113         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28114         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28115         from <bits/socket_type.h>.
28116         (enum __socket_type): Don't define here.
28117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28119         bits/socket_type.h.
28121         [BZ #13566]
28122         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28123         checking __USE_GNU.
28125         * Makerules ($(inst_includedir)/%.h): New rule.
28126         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28127         (install-others): Remove variable setting.
28128         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28130 2012-03-08  Richard Henderson  <rth@twiddle.net>
28132         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28133         from macro to inline function; merge with the
28134         !__LIBC_INTERNAL_MATH_INLINES version.
28135         (__ieee754_sqrtf): Likewise.
28137         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28138         to inline function.
28139         (__rintf, __floor, __floorf): Likewise.
28141         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28142         macro to inline function.
28143         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28145         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28146         not <math/math_private.h>.
28148 2012-03-08  David S. Miller  <davem@davemloft.net>
28150         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28151         copyright year.
28152         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28154 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28156         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28157         normalization.
28158         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28159         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28161 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28163         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28164         be defined individually, they must be defined as a block.  Define
28165         S for printing a string instead of hidint the different by using a
28166         macro for adding the 'l'.
28167         * stdio-common/tst-fphex-wide.c: Adjust.
28169 2012-03-07  Marek Polacek  <polacek@redhat.com>
28171         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28173 2012-03-08  Marek Polacek  <polacek@redhat.com>
28175         [BZ #13806]
28176         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28177         * stdio-common/tst-fphex.c: Define a few macros to make the
28178         test reusable.  Use them.
28179         * stdio-common/tst-fphex-wide.c: New file.
28181 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28183         [BZ #6911]
28184         * manual/macros.texi (gnusystems): New macro.
28185         (nongnusystems): Likewise.
28186         (gnulinuxhurdsystems): Likewise.
28187         (gnuhurdsystems): Likewise..
28188         (gnulinuxsystems): Likewise.
28189         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28190         variants of the GNU system, not "GNU system".
28191         * manual/conf.texi: Likewise.
28192         * manual/errno.texi: Likewise.  Update example of errno macro
28193         expansion.
28194         * manual/filesys.texi: Likewise.
28195         (getumask): Document as specific to GNU/Hurd.
28196         * manual/install.texi: Likewise.  Reword some references to
28197         GNU/Linux.
28198         * manual/intro.texi: Likewise.
28199         * manual/io.texi: Likewise.
28200         (File Name Portability): Detail which constraints are inapplicable
28201         to all GNU systems and which are only inapplicable to GNU/Hurd.
28202         * manual/job.texi: Likewise.
28203         * manual/llio.texi: Likewise.
28204         (O_NOCTTY): Document as present on GNU/Linux.
28205         * manual/maint.texi: Likewise.
28206         * manual/memory.texi: Likewise.
28207         * manual/pattern.texi: Likewise.
28208         * manual/pipe.texi: Likewise.
28209         * manual/process.texi: Likewise.
28210         * manual/resource.texi: Likewise.
28211         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28212         child on GNU/Hurd.
28213         * manual/setjmp.texi: Likewise.
28214         * manual/signal.texi: Likewise.
28215         * manual/startup.texi: Likewise.
28216         * manual/stdio.texi: Likewise.
28217         * manual/terminal.texi: Likewise.
28218         (ONLCR): Document as POSIX.
28219         (OXTABS): Document availability on GNU/Linux as XTABS.
28220         (ONOEOT): Document availability separately from other bits.
28221         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28222         * manual/time.texi: Likewise.
28223         * manual/users.texi: Likewise.
28224         * INSTALL: Regenerated.
28225         * sysdeps/gnu/errlist.c: Regenerated.
28227         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28228         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28229         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28230         puts.
28231         * configure: Regenerated.
28233 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28235         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28236         default includes instead of AC_HEADER_CHECK.
28237         * sysdeps/i386/configure: Regenerated.
28239         [BZ #10716]
28240         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28241         * math/s_cacoshf.c (__cacoshf): Likewise.
28242         * math/s_cacoshl.c (__cacoshl): Likewise.
28243         * math/s_casinh.c (__casinh): Set signs of result from argument.
28244         * math/s_casinhf.c (__casinhf): Likewise.
28245         * math/s_casinhl.c (__casinhl): Likewise.
28246         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28247         (casinh_test): Add more tests.
28248         * sysdeps/i386/fpu/libm-test-ulps: Update.
28249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28251 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28253         * po/zh_TW.po: Update from translation team.
28255         * login/Makefile (distribute): Remove variable.
28256         * catgets/Makefile: Likewise.
28257         * mach/Makefile: Likewise.
28258         * malloc/Makefile: Likewise.
28259         * misc/Makefile: Likewise.
28260         * iconv/Makefile: Likewise.
28261         * nscd/Makefile: Likewise.
28262         * hurd/Makefile: Likewise.
28263         * manual/Makefile: Likewise.
28264         * locale/Makefile: Likewise.
28265         * intl/Makefile: Likewise.
28266         * conform/Makefile: Likewise.
28267         * nss/Makefile: Likewise.
28268         * time/Makefile: Likewise.
28269         * soft-fp/Makefile: Likewise.
28270         * dirent/Makefile: Likewise.
28271         * gmon/Makefile: Likewise.
28272         * po/Makefile: Likewise.
28273         * rt/Makefile: Likewise.
28274         * socket/Makefile: Likewise.
28275         * math/Makefile: Likewise.
28276         * signal/Makefile: Likewise.
28277         * debug/Makefile: Likewise.
28278         * elf/Makefile: Likewise.
28279         * timezone/Makefile: Likewise.
28280         * stdlib/Makefile: Likewise.
28281         * iconvdata/Makefile: Likewise.
28282         * sunrpc/Makefile: Likewise.
28283         * io/Makefile: Likewise.
28284         * argp/Makefile: Likewise.
28285         * inet/Makefile: Likewise.
28286         * hesiod/Makefile: Likewise.
28287         * grp/Makefile: Likewise.
28288         * csu/Makefile: Likewise.
28289         * wctype/Makefile: Likewise.
28290         * crypt/Makefile: Likewise.
28291         * libio/Makefile: Likewise.
28292         * string/Makefile: Likewise.
28293         * nis/Makefile: Likewise.
28294         * resolv/Makefile: Likewise.
28295         * stdio-common/Makefile: Likewise.
28296         * wcsmbs/Makefile: Likewise.
28297         * dlfcn/Makefile: Likewise.
28298         * posix/Makefile: Likewise.
28300         [BZ #6959]
28301         * timezone/Makefile: Don't install timezone files, just the programs
28302         and scripts.
28304 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28306         * nss/databases.def: Add missing gshadow entry.
28308         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28310 2012-03-06  Marek Polacek  <polacek@redhat.com>
28312         [BZ #13726]
28313         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28314         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28315         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28316         * stdio-common/tst-long-dbl-fphex.c: New file.
28318 2012-03-06  David S. Miller  <davem@davemloft.net>
28320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28321         (set_obp_int): New function.
28322         (get_obp_int): New function.
28323         (__get_clockfreq_via_dev_openprom): Likewise.
28324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28325         Avoid unused variable warnings on 'val' and use builtin_expect.
28326         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28327         __builtin_expect.
28328         (INLINE_CLONE_SYSCALL): Likewise.
28330 2012-03-05  David S. Miller  <davem@davemloft.net>
28332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28334 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28339         only for |x| >= 40.
28340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28342 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28344         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28345         Replace gettimeofday with __vdso_gettimeofday.
28347         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28348         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28349         __vdso_clock_gettime and __vdso_getcpu.
28351         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28352         time with __vdso_time.
28354 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28356         * manual/lang.texi (size_t): Note types to which size_t may be
28357         equivalent with the GNU C Library, but do not describe when
28358         differences between them are significant.
28360 2012-03-05  Andreas Jaeger  <aj@suse.de>
28362         * sysdeps/i386/fpu/libm-test-ulps: Update.
28364 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28366         [BZ #3976]
28367         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28368         (__ieee754_pow): Save and restore rounding mode and use
28369         round-to-nearest for main computations.
28370         * math/libm-test.inc (pow_test_tonearest): New function.
28371         (pow_test_towardzero): Likewise.
28372         (pow_test_downward): Likewise.
28373         (pow_test_upward): Likewise.
28374         (main): Call the new functions.
28375         * sysdeps/i386/fpu/libm-test-ulps: Update.
28376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28378         [BZ #3976]
28379         * math/libm-test.inc (cosh_test_tonearest): New function.
28380         (cosh_test_towardzero): Likewise.
28381         (cosh_test_downward): Likewise.
28382         (cosh_test_upward): Likewise.
28383         (sinh_test_tonearest): Likewise.
28384         (sinh_test_towardzero): Likewise.
28385         (sinh_test_downward): Likewise.
28386         (sinh_test_upward): Likewise.
28387         (main): Call the new functions.
28388         * sysdeps/i386/fpu/libm-test-ulps: Update.
28389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28391 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28393         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28394         default stack guard is set in last bytes.
28395         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28397 2012-03-05  Kees Cook  <keescook@chromium.org>
28399         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28401         [BZ #13656]
28402         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28403         possibly allocate from heap instead of stack.
28404         * stdio-common/bug-vfprintf-nargs.c: New file.
28405         * stdio-common/Makefile (tests): Add nargs overflow test.
28407 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28411 2012-03-03  Marek Polacek  <polacek@redhat.com>
28413         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28414         * math/math_private.h: Likewise.
28415         * stdlib/tst-strtod.c: Likewise.
28416         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28417         * sysdeps/x86_64/bits/atomic.h: Likewise.
28419 2012-03-02  David S. Miller  <davem@davemloft.net>
28421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28425         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28426         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28427         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28428         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28430 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28432         [BZ #13792]
28433         * manual/examples/README: New file, says the example source files
28434         can be used under GPL>=2.
28435         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28436         line containing just "*/".
28437         * manual/examples/add.c: Add copyright header (GPL>=2).
28438         * manual/examples/argp-ex1.c: Likewise.
28439         * manual/examples/argp-ex2.c: Likewise.
28440         * manual/examples/argp-ex3.c: Likewise.
28441         * manual/examples/argp-ex4.c: Likewise.
28442         * manual/examples/atexit.c: Likewise.
28443         * manual/examples/db.c: Likewise.
28444         * manual/examples/dir.c: Likewise.
28445         * manual/examples/dir2.c: Likewise.
28446         * manual/examples/execinfo.c: Likewise.
28447         * manual/examples/filecli.c: Likewise.
28448         * manual/examples/filesrv.c: Likewise.
28449         * manual/examples/fmtmsgexpl.c: Likewise.
28450         * manual/examples/genpass.c: Likewise.
28451         * manual/examples/inetcli.c: Likewise.
28452         * manual/examples/inetsrv.c: Likewise.
28453         * manual/examples/isockad.c: Likewise.
28454         * manual/examples/longopt.c: Likewise.
28455         * manual/examples/memopen.c: Likewise.
28456         * manual/examples/memstrm.c: Likewise.
28457         * manual/examples/mkfsock.c: Likewise.
28458         * manual/examples/mkisock.c: Likewise.
28459         * manual/examples/mygetpass.c: Likewise.
28460         * manual/examples/pipe.c: Likewise.
28461         * manual/examples/popen.c: Likewise.
28462         * manual/examples/rprintf.c: Likewise.
28463         * manual/examples/search.c: Likewise.
28464         * manual/examples/select.c: Likewise.
28465         * manual/examples/setjmp.c: Likewise.
28466         * manual/examples/sigh1.c: Likewise.
28467         * manual/examples/sigusr.c: Likewise.
28468         * manual/examples/stpcpy.c: Likewise.
28469         * manual/examples/strdupa.c: Likewise.
28470         * manual/examples/strftim.c: Likewise.
28471         * manual/examples/strncat.c: Likewise.
28472         * manual/examples/subopt.c: Likewise.
28473         * manual/examples/swapcontext.c: Likewise.
28474         * manual/examples/termios.c: Likewise.
28475         * manual/examples/testopt.c: Likewise.
28476         * manual/examples/testpass.c: Likewise.
28477         * manual/examples/timeval_subtract.c: Likewise.
28479         [BZ #13792]
28480         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28481         function to ...
28482         * manual/timeval_subtract.c.texi: ... here, new file.
28484 2012-03-02  David S. Miller  <davem@davemloft.net>
28486         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28488 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28490         [BZ #3976]
28491         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28492         (__sin): Save and restore rounding mode and use round-to-nearest
28493         for all computations.
28494         (__cos): Save and restore rounding mode and use round-to-nearest
28495         for all computations.
28496         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28497         <fenv.h>.
28498         (tan): Save and restore rounding mode and use round-to-nearest for
28499         all computations.
28500         * math/libm-test.inc (cos_test_tonearest): New function.
28501         (cos_test_towardzero): Likewise.
28502         (cos_test_downward): Likewise.
28503         (cos_test_upward): Likewise.
28504         (sin_test_tonearest): Likewise.
28505         (sin_test_towardzero): Likewise.
28506         (sin_test_downward): Likewise.
28507         (sin_test_upward): Likewise.
28508         (tan_test_tonearest): Likewise.
28509         (tan_test_towardzero): Likewise.
28510         (tan_test_downward): Likewise.
28511         (tan_test_upward): Likewise.
28512         (main): Call the new functions.
28513         * sysdeps/i386/fpu/libm-test-ulps: Update.
28514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28516         [BZ #10135]
28517         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28518         small n, then large n, before computing and testing k+n.
28519         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28521         Likewise.
28522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28523         Likewise.
28524         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28525         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28527         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28528         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28529         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28530         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28531         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28532         * math/libm-test.inc (scalbn_test): Add more tests.
28533         (scalbln_test): Likewise.
28535         * manual/filesys.texi (mode_t): Describe constraints on size and
28536         signedness, not exact equivalence to a particular type.
28537         (ino_t): Likewise.
28538         (ino64_t): Likewise.
28539         (dev_t): Likewise.
28540         (nlink_t): Likewise.
28541         (blkcnt_t): Likewise.
28542         (blkcnt64_t): Likewise.
28543         * manual/llio.texi (off_t): Likewise.
28545         [BZ #3976]
28546         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28547         (__ieee754_exp): Save and restore rounding mode and use
28548         round-to-nearest for all computations.
28549         * math/libm-test.inc (exp_test_tonearest): New function.
28550         (exp_test_towardzero): Likewise.
28551         (exp_test_downward): Likewise.
28552         (exp_test_upward): Likewise.
28553         (main): Call the new functions.
28554         * sysdeps/i386/fpu/libm-test-ulps: Update.
28555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28557 2012-03-01  Chris Demetriou  <cgd@google.com>
28559         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28560         have predictable order.
28562 2012-03-01  David S. Miller  <davem@davemloft.net>
28564         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28566         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28567         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28568         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28569         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28571         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28572         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28573         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28575         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28576         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28577         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28578         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28579         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28583         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28584         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28585         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28587         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28588         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28589         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28590         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28591         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28592         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28593         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28594         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28595         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28596         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28597         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28601         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28603         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28604         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28605         * sysdeps/sparc/elf/configure: Regenerated.
28607 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28609         * configure.in (AS, LD): Require binutils 2.20 or later.
28610         * configure: Regenerated.
28611         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28612         as required minimum version.
28613         * INSTALL: Regenerated.
28615         [BZ #2541]
28616         [BZ #4108]
28617         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28618         before squaring exponent.
28619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28620         bottom long double and 27 bits of top long double before squaring
28621         exponent.
28622         * math/libm-test.inc (erfc_test): Add more tests.
28623         * sysdeps/i386/fpu/libm-test-ulps: Update.
28624         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28627 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28629         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28630         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28631         containing bit-fields.
28632         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28633         * soft-fp/single.h (_FP_UNION_S): Likewise.
28634         * soft-fp/double.h (_FP_UNION_D): Likewise.
28636 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28638         [BZ #13786]
28639         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28640         not include ../strcmp.S.
28641         [USE_AS_STRNCASECMP_L]: Likewise.
28642         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28643         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28644         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28645         (__strncasecmp_l_ia32): Define as alias to
28646         __strncasecmp_l_nonascii.
28648         [BZ #5794]
28649         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28650         * sysdeps/i386/fpu/libm-test-ulps: Update.
28651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28653         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28656 2012-02-29  Jeff Law  <law@redhat.com>
28658         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28659         out of bounds read.
28661 2012-02-29  Marek Polacek  <polacek@redhat.com>
28663         [BZ #13706]
28664         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28665         * elf/Makefile: Add rules to run tst-unused-dep.out.
28667 2012-02-28  David S. Miller  <davem@davemloft.net>
28669         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28670         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28673         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28674         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28676 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28678         * math/libm-test.inc (llround_test): Move one test from
28679         lround_test.  Use TEST_f_L in moved test.
28680         (lround_test): Move misplaced test to llround_test.  Add testcase
28681         from bug 2561.
28683 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28685         * sysdeps/x86_64/fpu/e_expf.S: New file.
28686         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28688 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28690         [BZ #13637]
28691         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28692         of remain_len that may cause incomplete multi-byte character and
28693         false match.
28694         * posix/bug-regex33.c: New file.
28695         * posix/Makefile (tests): Add bug-regex33.
28697 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28699         * manual/macros.texi: New file.
28700         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28701         * manual/libc.texinfo: Include macros.texi.
28702         * manual/creatute.texi: Likewise.
28703         * manual/install.texi: Likewise.
28704         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28705         @glibcadj{} in references to the GNU C Library.
28706         * manual/charset.texi: Likewise.
28707         * manual/conf.texi: Likewise.
28708         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28709         when not using those macros.
28710         * manual/creature.texi: Likewise.
28711         * manual/crypt.texi: Likewise.
28712         * manual/errno.texi: Likewise.
28713         * manual/filesys.texi: Likewise.
28714         * manual/header.texi: Likewise.
28715         * manual/install.texi: Likewise.
28716         * manual/intro.texi: Likewise.
28717         * manual/io.texi: Likewise.
28718         * manual/job.texi: Likewise.
28719         * manual/lang.texi: Likewise.
28720         * manual/libc.texiinfo: Likewise.
28721         * manual/llio.texi: Likewise.
28722         * manual/locale.texi: Likewise.
28723         * manual/maint.texi: Likewise.
28724         * manual/math.texi: Likewise.
28725         * manual/memory.texi: Likewise.
28726         * manual/message.texi: Likewise.
28727         * manual/nss.texi: Likewise.
28728         * manual/pattern.texi: Likewise.
28729         * manual/process.texi: Likewise.
28730         * manual/resource.texi: Likewise.
28731         * manual/search.texi: Likewise.
28732         * manual/setjmp.texi: Likewise.
28733         * manual/signal.texi: Likewise.
28734         * manual/socket.texi: Likewise.
28735         * manual/startup.texi: Likewise.
28736         * manual/stdio.texi: Likewise.
28737         * manual/string.texi: Likewise.
28738         * manual/sysinfo.texi: Likewise.
28739         * manual/syslog.texi: Likewise.
28740         * manual/terminal.texi: Likewise.
28741         * manual/time.texi: Likewise.
28742         * manual/users.texi: Likewise.
28743         * INSTALL: Regenerated.
28744         * NOTES: Regenerated.
28745         * sysdeps/gnu/errlist.c: Regenerated.
28747 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28749         * include/dirent.h: Include <dirstream.h> before
28750         <dirent/dirent.h>.
28752 2012-02-28  David S. Miller  <davem@davemloft.net>
28754         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28755         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28756         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28757         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28759 2012-02-27  David S. Miller  <davem@davemloft.net>
28761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28763         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28764         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28767         frame pointer instead of stack pointer relative arg slot.
28768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28769         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28770         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28772 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28774         [BZ #3992]
28775         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28777 2012-02-27  David S. Miller  <davem@davemloft.net>
28779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28783         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28784         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28785         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28786         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28788 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28790         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28791         later.  Allow versions 5-9.
28792         * configure: Regenerated.
28793         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28794         required minimum version and 4.6 as recommended version.  Do not
28795         mention bugs in GCC 2.7 and 2.8.
28796         * INSTALL: Regenerated.
28798 2012-02-27  David S. Miller  <davem@davemloft.net>
28800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28804         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28805         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28806         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28807         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28810         manipulate bits before adding and subtracting TWO112[sx].
28811         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28813 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28815         [BZ #13775]
28816         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28817         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28818         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28819         being in POSIX, because they are in 1003.1-2008.
28821         * rt/tst-aio.c: Include <fcntl.h>.
28822         * rt/tst-aio7.c: Likewise.
28823         * rt/tst-aio64.c: Likewise.
28825         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28827 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28829         * manual/install.texi (--with-headers): Describe headers as
28830         interface headers, not private headers.
28831         (Specific advice for GNU/Linux systems): Describe use of headers
28832         from "make headers_install", not private headers from older
28833         kernels.
28834         * INSTALL: Regenerated.
28835         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28836         Change to 2.6.19.
28837         * sysdeps/unix/sysv/linux/configure: Regenerated.
28839         * manual/llio.texi (fclean): Remove documentation.
28841         * manual/Makefile (libc-texi-generated): New variable.  Include
28842         version.texi.
28843         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28844         $(libc-texi-generated), not duplicated list of files.
28845         (version.texi, stamp-version): New rules.
28846         (realclean): Remove $(libc-texi-generated), not individual files
28847         from that list.  Do not remove dir-add.texinfo.
28848         * manual/libc.texinfo: Comment out uses of edition numbers and
28849         references to printed manual.  Remove last-updated dates.
28850         (EDITION): Comment out.
28851         (ISBN): Likewise.
28852         (VERSION, UPDATED): Remove.
28853         (version.texi): Include.
28855 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28857         * sysdeps/posix/spawni.c: Include <signal.h>.
28858         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28859         * sysdeps/pthread/aio_fsync.c: Likewise.
28861 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28863         * conform/Makefile (tests): Run only when not cross-compiling and
28864         when fast-check is not defined.
28866         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28867         * conform/data/limits.h-data: Fixes for POSIX2008.
28868         * conform/run-conformtest.sh: Run all tests.
28869         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28870         headers.
28871         * include/bits/dlfcn.h: Likewise.
28872         * include/langinfo.h: Likewise.
28873         * include/monetary.h: Likewise.
28874         * include/sys/poll.h: Likewise.
28876         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28877         for __USE_GNU.
28878         * posix/spawn.h: Define __need_sigset_t.
28879         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28880         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28881         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28882         to get sigevent_t only.
28883         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28884         only for __USE_GNU.
28885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28886         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28887         process_vm_writev only for __USE_GNU.
28888         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28890         * conform/Makefile: For now ignore errors from run-conformtest.
28891         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28892         POSIX to avoid namespace pollution.  Don't prepend headers.
28893         * conform/data/aio.h-data: Fixes for POSIX testing.
28894         * conform/data/fcntl.h-data: Likewise.
28895         * conform/data/glob.h-data: Likewise.
28896         * conform/data/grp.h-data: Likewise.
28897         * conform/data/pthread.h-data: Likewise.
28898         * conform/data/pwd.h-data: Likewise.
28899         * conform/data/signal.h-data: Likewise.
28900         * conform/data/spawn.h-data: Likewise.
28901         * conform/data/stdio.h-data: Likewise.
28902         * conform/data/stdlib.h-data: Likewise.
28903         * conform/data/stropts.h-data: Likewise.
28904         * conform/data/sys/mman.h-data: Likewise.
28905         * conform/data/sys/stat.h-data: Likewise.
28906         * conform/data/sys/types.h-data: Likewise.
28907         * conform/data/sys/wait.h-data: Likewise.
28908         * conform/data/time.h-data: Likewise.
28909         * conform/data/unistd.h-data: Likewise.
28910         * conform/data/utime.h-data: Likewise.
28912         * io/sys/stat.h: fchmod was always in POSIX.
28913         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28914         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28915         * rt/aio.h: Define __need_timespec before including <time.h>.
28916         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28917         struct.  Add forward declaration of pthread_attr_t and use it in
28918         sigevent.
28919         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28920         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28921         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28922         always remove CLK_TCK definition.
28924 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28926         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28928 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28930         * conform/run-conformtest.sh: New file.
28931         * conform/Makefile: Run run-conformtest for tests.
28932         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28933         support.
28935         * conform/data/uchar.h-data: New file.
28936         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28937         * conform/data/arpa/inet.h-data: Likewise.
28938         * conform/data/assert.h-data: Likewise.
28939         * conform/data/complex.h-data: Likewise.
28940         * conform/data/cpio.h-data: Likewise.
28941         * conform/data/ctype.h-data: Likewise.
28942         * conform/data/dirent.h-data: Likewise.
28943         * conform/data/dlfcn.h-data: Likewise.
28944         * conform/data/errno.h-data: Likewise.
28945         * conform/data/fcntl.h-data: Likewise.
28946         * conform/data/float.h-data: Likewise.
28947         * conform/data/fmtmsg.h-data: Likewise.
28948         * conform/data/fnmatch.h-data: Likewise.
28949         * conform/data/ftw.h-data: Likewise.
28950         * conform/data/glob.h-data: Likewise.
28951         * conform/data/grp.h-data: Likewise.
28952         * conform/data/iconv.h-data: Likewise.
28953         * conform/data/inttypes.h-data: Likewise.
28954         * conform/data/langinfo.h-data: Likewise.
28955         * conform/data/libgen.h-data: Likewise.
28956         * conform/data/limits.h-data: Likewise.
28957         * conform/data/locale.h-data: Likewise.
28958         * conform/data/math.h-data: Likewise.
28959         * conform/data/monetary.h-data: Likewise.
28960         * conform/data/mqueue.h-data: Likewise.
28961         * conform/data/ndbm.h-data: Likewise.
28962         * conform/data/net/if.h-data: Likewise.
28963         * conform/data/netdb.h-data: Likewise.
28964         * conform/data/netinet/in.h-data: Likewise.
28965         * conform/data/nl_types.h-data: Likewise.
28966         * conform/data/poll.h-data: Likewise.
28967         * conform/data/pthread.h-data: Likewise.
28968         * conform/data/pwd.h-data: Likewise.
28969         * conform/data/regex.h-data: Likewise.
28970         * conform/data/sched.h-data: Likewise.
28971         * conform/data/search.h-data: Likewise.
28972         * conform/data/semaphore.h-data: Likewise.
28973         * conform/data/setjmp.h-data: Likewise.
28974         * conform/data/signal.h-data: Likewise.
28975         * conform/data/spawn.h-data: Likewise.
28976         * conform/data/stdarg.h-data: Likewise.
28977         * conform/data/stdio.h-data: Likewise.
28978         * conform/data/stdlib.h-data: Likewise.
28979         * conform/data/string.h-data: Likewise.
28980         * conform/data/strings.h-data: Likewise.
28981         * conform/data/stropts.h-data: Likewise.
28982         * conform/data/sys/ipc.h-data: Likewise.
28983         * conform/data/sys/mman.h-data: Likewise.
28984         * conform/data/sys/msg.h-data: Likewise.
28985         * conform/data/sys/resource.h-data: Likewise.
28986         * conform/data/sys/select.h-data: Likewise.
28987         * conform/data/sys/sem.h-data: Likewise.
28988         * conform/data/sys/shm.h-data: Likewise.
28989         * conform/data/sys/socket.h-data: Likewise.
28990         * conform/data/sys/stat.h-data: Likewise.
28991         * conform/data/sys/statvfs.h-data: Likewise.
28992         * conform/data/sys/time.h-data: Likewise.
28993         * conform/data/sys/timeb.h-data: Likewise.
28994         * conform/data/sys/times.h-data: Likewise.
28995         * conform/data/sys/types.h-data: Likewise.
28996         * conform/data/sys/uio.h-data: Likewise.
28997         * conform/data/sys/un.h-data: Likewise.
28998         * conform/data/sys/utsname.h-data: Likewise.
28999         * conform/data/sys/wait.h-data: Likewise.
29000         * conform/data/syslog.h-data: Likewise.
29001         * conform/data/tar.h-data: Likewise.
29002         * conform/data/termios.h-data: Likewise.
29003         * conform/data/utime.h-data: Likewise.
29004         * conform/data/utmpx.h-data: Likewise.
29005         * conform/data/varargs.h-data: Likewise.
29006         * conform/data/wchar.h-data: Likewise.
29007         * conform/data/wctype.h-data: Likewise.
29008         * conform/data/wordexp.h-data: Likewise.
29010         * include/stropts.h: New file.
29011         * include/uchar.h: New file.
29012         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29013         * include/assert.h: Likewise.
29014         * include/ctype.h: Likewise.
29015         * include/dirent.h: Likewise.
29016         * include/dlfcn.h: Likewise.
29017         * include/fcntl.h: Likewise.
29018         * include/fnmatch.h: Likewise.
29019         * include/glob.h: Likewise.
29020         * include/grp.h: Likewise.
29021         * include/libio.h: Likewise.
29022         * include/locale.h: Likewise.
29023         * include/math.h: Likewise.
29024         * include/net/if.h: Likewise.
29025         * include/netdb.h: Likewise.
29026         * include/netinet/in.h: Likewise.
29027         * include/pthread.h: Likewise.
29028         * include/pwd.h: Likewise.
29029         * include/regex.h: Likewise.
29030         * include/sched.h: Likewise.
29031         * include/search.h: Likewise.
29032         * include/setjmp.h: Likewise.
29033         * include/signal.h: Likewise.
29034         * include/stdio.h: Likewise.
29035         * include/stdlib.h: Likewise.
29036         * include/string.h: Likewise.
29037         * include/sys/cdefs.h: Likewise.
29038         * include/sys/mman.h: Likewise.
29039         * include/sys/msg.h: Likewise.
29040         * include/sys/resource.h: Likewise.
29041         * include/sys/select.h: Likewise.
29042         * include/sys/socket.h: Likewise.
29043         * include/sys/stat.h: Likewise.
29044         * include/sys/statvfs.h: Likewise.
29045         * include/sys/time.h: Likewise.
29046         * include/sys/times.h: Likewise.
29047         * include/sys/uio.h: Likewise.
29048         * include/sys/utsname.h: Likewise.
29049         * include/sys/wait.h: Likewise.
29050         * include/termios.h: Likewise.
29051         * include/time.h: Likewise.
29052         * include/ulimit.h: Likewise.
29053         * include/unistd.h: Likewise.
29054         * include/utime.h: Likewise.
29055         * include/wchar.h: Likewise.
29056         * include/wctype.h: Likewise.
29057         * include/wordexp.h: Likewise.
29059         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29061         * time/time.h: TIME_UTC must be a macro.
29062         Make timespec_get available for ISO C11 only as well.
29064 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29066         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29067         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29069 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29071         * configure.in: Use -o not -a in test for unsupported multi-arch.
29073 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29075         * manual/texinfo.tex: Update to version 2012-01-19.16.
29077 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29079         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29081 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29083         [BZ #13738]
29084         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29085         * manual/fdl-1.3.texi: New file.
29086         * manual/fdl-1.1.texi: File removed.
29088         [BZ #13738]
29089         * manual/libc.texinfo (FDL_VERSION): New @set.
29090         Use it for mention of FDL in cover text.
29091         (Documentation License): Use it in @include file name.
29093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29094             Roland McGrath  <roland@hack.frob.com>
29096         [BZ #5461]
29097         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29098         not LONG_LONG_MAX and LONG_LONG_MIN.
29099         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29100         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29101         name.
29102         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29104 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #2547]
29107         [BZ #11365]
29108         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29109         manipulate bits before adding and subtracting TWO23[sx].
29110         * math/libm-test.inc (nearbyint_test): Add more tests.
29112 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29114         [BZ #2548]
29115         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29116         bits before adding and subtracting TWO23[sx].
29117         * math/libm-test.inc (rint_test): Add more tests.
29118         (rint_test_tonearest): Likewise.
29119         (rint_test_towardzero): Likewise.
29120         (rint_test_downward): Likewise.
29121         (rint_test_upward: Likewise.
29123 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29125         [BZ #10110]
29126         * include/stdc-predef.h: New file.  Extracted from features.h.
29127         * include/features.h: Include stdc-predef.h.
29128         * Makefile (headers): Add stdc-predef.h.
29129         * CONFORMANCE (Compiler limitations): Update.
29131 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29133         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29135 2012-02-21  David S. Miller  <davem@davemloft.net>
29137         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29138         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29140 2012-02-20  David S. Miller  <davem@davemloft.net>
29142         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29143         using a normal save/restore sequence, rather than allocating a
29144         dummy stack frame just to store a frame pointer and restore.
29145         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29147 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29149         * manual/install.texi: Fix stray word in line-wrapped comment.
29151 2012-02-20  David S. Miller  <davem@davemloft.net>
29153         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29154         both binutils and gcc support GOTDATA.
29156         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29157         "rd %pc" in the PIC register setup sequences.
29159         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29160         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29161         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29162         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29163         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29165         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29166         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29168         (SYSCALL_ERROR_HANDLER): Likewise.
29169         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29170         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29172         (SYSCALL_ERROR_HANDLER): Likewise.
29174         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29175         (HAVE_GCC_GOTDATA): New.
29176         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29177         relocation support in both binutils and gcc.
29178         * sysdeps/sparc/elf/configure: Regenerate.
29180         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29181         * sysdeps/sparc/sparc32/elf/configure: Delete.
29182         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29183         * sysdeps/sparc/sparc64/elf/configure: Delete.
29184         * sysdeps/sparc/elf/configure.in: New file.
29185         * sysdeps/sparc/elf/configure: Generate.
29187         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29188         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29189         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29190         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29191         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29193 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29195         * manual/install.texi: Do not mention specific glibc version
29196         numbers.
29197         * manual/libc.texinfo (VERSION, UPDATED): Update.
29198         (@copying): Use @copyright{} and range of years.
29200 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29202         [BZ #13695]
29203         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29204         [crti.S not in sysdirs] (generated): Do not append.
29205         [crti.S not in sysdirs] (omit-deps): Likewise.
29206         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29207         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29208         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29209         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29210         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29211         Likewise.
29212         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29213         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29214         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29215         * csu/defs.awk: Remove file.
29216         * sysdeps/generic/initfini.c: Likewise.
29217         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29218         variable.
29219         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29220         Likewise.
29222 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29224         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29225         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29226         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29227         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29229         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29230         <bits/epoll.h>.
29231         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29232         (__EPOLL_PACKED): Define to empty if not defined by
29233         <bits/epoll.h>.
29234         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29236         bits/epoll.h.
29238 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29240         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29241         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29242         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29243         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29244         <bits/timerfd.h>.
29245         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29247         bits/timerfd.h.
29249 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29251         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29252         in C locale.
29253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29254         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29255         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29258 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29261         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29263 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29265         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29266         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29267         defined.
29268         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29269         Likewise.
29270         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29271         entry for 2.16.
29273 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29275         * math/w_acos.c: Use non-signaling floating-point comparisons.
29276         * math/w_acosf.c: Likewise.
29277         * math/w_acosh.c: Likewise.
29278         * math/w_acoshf.c: Likewise.
29279         * math/w_acoshl.c: Likewise.
29280         * math/w_acosl.c: Likewise.
29281         * math/w_asin.c: Likewise.
29282         * math/w_asinf.c: Likewise.
29283         * math/w_asinl.c: Likewise.
29284         * math/w_atanh.c: Likewise.
29285         * math/w_atanhf.c: Likewise.
29286         * math/w_atanhl.c: Likewise.
29287         * math/w_exp2.c: Likewise.
29288         * math/w_exp2f.c: Likewise.
29289         * math/w_exp2l.c: Likewise.
29290         * math/w_j0.c: Likewise.
29291         * math/w_j0f.c: Likewise.
29292         * math/w_j0l.c: Likewise.
29293         * math/w_j1.c: Likewise.
29294         * math/w_j1f.c: Likewise.
29295         * math/w_j1l.c: Likewise.
29296         * math/w_jn.c: Likewise.
29297         * math/w_jnf.c: Likewise.
29298         * math/w_log.c: Likewise.
29299         * math/w_log10.c: Likewise.
29300         * math/w_log10f.c: Likewise.
29301         * math/w_log10l.c: Likewise.
29302         * math/w_log2.c: Likewise.
29303         * math/w_log2f.c: Likewise.
29304         * math/w_log2l.c: Likewise.
29305         * math/w_logf.c: Likewise.
29306         * math/w_logl.c: Likewise.
29307         * math/w_sqrt.c: Likewise.
29308         * math/w_sqrtf.c: Likewise.
29309         * math/w_sqrtl.c: Likewise.
29310         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29311         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29312         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29313         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29314         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29316 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #9739]
29319         * manual/string.texi (strnlen): Use correct parameter name in
29320         equivalent expression.
29322 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29324         [BZ #11174]
29325         * manual/users.texi (seteuid): Consistently use neweuid for
29326         argument name.
29328 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29330         [BZ #13704]
29331         * manual/nss.texi (Services in the NSS configuration): Correct
29332         list of services in example configuration file.
29334 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29336         [BZ #11322]
29337         * manual/arith.texi: Remove statements about negative zero
29338         behaving identically to zero.
29340 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29342         [BZ #5993]
29343         * manual/install.texi: Do not document upgrading from libc5.
29345 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29347         [BZ #4596]
29348         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29350 2012-02-18  David S. Miller  <davem@davemloft.net>
29352         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29353         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29354         %o7 across the call.
29355         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29356         instead.
29357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29358         SETUP_PIC_REG_LEAF.
29359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29360         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29361         * sysdeps/sparc/crtn.S: Likewise.
29363 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29365         * aout/Makefile: Remove.
29367 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29369         [BZ #13058]
29370         * manual/examples/argp-ex1.c (main): Format definition in GNU
29371         style.
29372         * manual/examples/argp-ex2.c (main): Likewise.
29373         * manual/examples/argp-ex3.c (main): Likewise.
29374         * manual/examples/argp-ex4.c (main): Likewise.
29375         * manual/examples/longopt.c (main): Use new-style prototype
29376         definition.
29377         * manual/examples/strncat.c (main): Specify return type and use
29378         (void) for arguments.
29379         * manual/examples/subopt.c (main): Use char **argv argument.
29381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29383         [BZ #5077]
29384         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29385         rounding modes.
29387 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29389         [BZ #6907]
29390         * manual/string.texi (strchr): Change when strchrnul is
29391         recommended.
29393 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29395         [BZ #174]
29396         * manual/locale.texi (setlocale): Document LOCPATH.
29398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #10210]
29401         * manual/process.texi (execle): Move @dots{} before last argument.
29403 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29405         [BZ #12047]
29406         * manual/charset.texi (Generic Charset Conversion): Fix typo
29407         (LC_TYPE -> LC_CTYPE).
29409 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29411         [BZ #5805]
29412         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29413         (scalbnf): Likewise.
29414         (scalbnl): Likewise.
29415         (scalbln): Likewise.
29416         (scalblnf): Likewise.
29417         (scalblnl): Likewise.
29418         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29419         (vwarnx): Likewise.
29420         (verr): Likewise.
29421         (verrx): Likewise.
29422         * manual/filesys.texi (telldir): Use braces around return type.
29423         * manual/llio.texi (mmap): Add space after comma.
29424         (mmap64): Likewise.
29425         * manual/math.texi (jn): Use @var{} on parameter names.
29426         (jnf): Likewise.
29427         (jnl): Likewise.
29428         (yn): Likewise.
29429         (ynf): Likewise.
29430         (ynl): Likewise.
29431         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29432         line.
29433         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29434         "...".
29435         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29436         (sched_get_priority_max): Likewise.
29437         * manual/signal.texi (sigvec): Add space after comma.
29438         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29439         names.
29440         (if_indextoname): Likewise.
29441         (if_freenameindex): Likewise.
29442         (sendto): Use ',' instead of '.' in prototype.
29443         * manual/startup.texi (syscall): Use @dots{} instead of literal
29444         "...".
29445         * manual/stdio.texi (__fpending): Separate initial words of
29446         paragraph from @deftypefun line.
29447         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29448         "...".
29449         (vsyslog): Use @var{} on parameter names.
29450         * manual/terminal.texi (stty): Use @var{} on parameter names.
29451         * manual/users.texi (getutmp): Use @var{} on parameter names.
29452         (getutmpx): Likewise.
29454 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29456         [BZ #6884]
29457         * manual/stdio.texi (fopen): Fix typos in description of
29458         ",ccs=STRING".
29460 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29462         [BZ #4026]
29463         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29464         get clock_id definition.
29466 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29468         [BZ #4822]
29469         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29470         (madvise): Cast every argument to void on its own.
29472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29474         [BZ #9902]
29475         * manual/startup.texi (Exit Status): Fix typo.
29477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29479         [BZ #10140]
29480         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29481         * manual/examples/argp-ex2.c: Likewise.
29482         * manual/examples/argp-ex3.c: Likewise.
29484 2012-02-16  Richard Henderson  <rth@redhat.com>
29486         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29487         * sysdeps/s390/s390-32/initfini.c: Remove.
29488         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29489         * sysdeps/s390/s390-64/initfini.c: Remove.
29491 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29493         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29494         compiler output for sysdeps/generic/initfini.c.
29495         * sysdeps/sh/elf/initfini.c: Remove file.
29497 2012-02-16  David S. Miller  <davem@davemloft.net>
29499         [BZ #11494]
29500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29502         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29503         * sysdeps/sparc/crti.S: New file.
29504         * sysdeps/sparc/crtn.S: New file.
29505         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29506         * sysdeps/sparc/sparc64/Makefile: Likewise.
29508 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29510         [BZ #3335]
29511         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29513 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29515         [BZ #4822]
29516         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29518         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29519         (write, read, close): Likewise.
29520         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29522 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29524         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29525         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29526         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29527         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29528         <bits/signalfd.h>.
29529         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29531         bits/signalfd.h.
29533 2012-02-14  Marek Polacek  <polacek@redhat.com>
29535         * sysdeps/x86_64/crti.S: New file.
29536         * sysdeps/x86_64/crtn.S: New file.
29537         * sysdeps/x86_64/elf/initfini.c: Remove file.
29539 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29541         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29542         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29543         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29544         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29545         <bits/inotify.h>.
29546         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29548         bits/inotify.h.
29550 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29552         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29553         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29554         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29555         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29556         <bits/eventfd.h>.
29557         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29559         bits/eventfd.h.
29561 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29563         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29564         __feraiseexcept instead of feraiseexcept.
29566         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29567         nanosleep invocations.
29568         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29569         strings, and add error checking for a nanosleep invocations.
29571 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29573         Replace FSF snail mail address with URLs, as per GNU coding standards.
29574         Most of the snail mail addresses were wrong anyway, and omitting
29575         them makes the source code easier to maintain.  Almost all of the
29576         changes are to license notices and to locale LC_IDENTIFICATION
29577         addresses, except for this one:
29578         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29579         not its snail mail address.
29581 2012-02-09  Richard Henderson  <rth@twiddle.net>
29583         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29584         of kernel-features.h.
29586         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29588 2012-02-08  Marek Polacek  <polacek@redhat.com>
29590         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29591         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29592         * sysdeps/gnu/_G_config.h: Likewise.
29593         * sysdeps/generic/_G_config.h: Likewise.
29595 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29597         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29598         tests.
29599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29601         * sysdeps/powerpc/powerpc32/crti.S: New file.
29602         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29603         * sysdeps/powerpc/powerpc64/crti.S: New file.
29604         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29606         * Makeconfig (have-initfini): Don't set.
29607         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29608         * configure.in (nopic_initfini): Don't substitute.
29609         * config.h.in (HAVE_INITFINI): Don't #undef.
29610         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29611         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29613 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29615         Support crti.S and crtn.S provided directly by architectures.
29616         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29617         [crti.S in sysdirs] (omit-deps): Likewise.
29618         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29619         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29620         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29621         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29622         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29623         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29624         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29625         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29626         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29627         compiler output for sysdeps/generic/initfini.c.
29628         * sysdeps/i386/elf/Makefile: Remove file.
29629         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29631 2012-02-07  Marek Polacek  <polacek@redhat.com>
29633         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29634         * sysdeps/gnu/_G_config.h: Likewise.
29635         * sysdeps/mach/hurd/_G_config.h: Likewise.
29637 2012-02-07  Marek Polacek  <polacek@redhat.com>
29639         * math/Makefile (tests): Add tst-CMPLX2.
29640         * math/tst-CMPLX2.c: New file.
29642 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29644         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29646         * math/libm-test.inc (jn_test): Add missing L suffix.
29648 2012-02-06  Marek Polacek  <polacek@redhat.com>
29650         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29651         * sysdeps/i386/fpu/e_powf.S: Likewise.
29652         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29653         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29654         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29655         * sysdeps/i386/fpu/e_pow.S: Likewise.
29656         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29657         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29658         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29659         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29660         * sysdeps/i386/fpu/e_log2.S: Likewise.
29661         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29662         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29663         * sysdeps/i386/fpu/e_powl.S: Likewise.
29664         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29665         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29666         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29667         * sysdeps/i386/fpu/e_logl.S: Likewise.
29668         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29669         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29670         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29671         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29672         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29673         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29674         * sysdeps/i386/fpu/e_log.S: Likewise.
29675         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29676         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29677         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29678         * sysdeps/i386/fpu/e_logf.S: Likewise.
29679         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29680         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29681         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29682         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29683         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29684         * sysdeps/i386/fpu/e_log10.S: Likewise.
29685         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29686         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29687         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29688         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29689         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29690         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29691         * sysdeps/i386/asm-syntax.h: Likewise.
29692         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29693         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29694         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29695         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29696         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29697         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29698         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29699         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29700         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29701         * sysdeps/powerpc/sysdep.h: Likewise.
29702         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29703         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29705 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29707         [BZ #411]
29708         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29710 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29712         * sysdeps/i386/sysdep.h: Include <features.h>.
29713         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29714         version.
29716 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29718         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29719         Define.
29720         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29721         LOAD_PIC_REG_STR.
29723 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29725         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29726         (SETUP_PIC_REG): Use GET_PC_THUNK.
29727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29728         macro.
29730 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29732         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29733         for non-PIC compilation.
29734         (SETUP_PIC_REG): Add .p2align directive.
29735         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29736         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29737         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29738         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29739         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29740         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29741         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29742         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29743         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29744         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29745         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29746         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29747         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29749         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29750         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29751         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29752         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29753         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29754         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29755         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29757         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29758         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29759         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29760         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29761         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29762         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29763         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29764         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29765         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29766         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29767         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29768         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29769         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29770         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29771         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29772         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29773         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29774         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29775         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29777 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29779         * math/tst-CMPLX.c: Include <stdio.h>.
29781 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29783         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29784         float.
29785         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29786         * sysdeps/sparc/bits/mathdef.h: Likewise.
29788 2012-01-31  Marek Polacek  <polacek@redhat.com>
29790         * libio/libio.h: Don't define _PARAMS.
29791         * locale/programs/config.h: Don't define PARAMS.
29792         * stdlib/strtol_l.c: Likewise.
29793         (__strtol_l): Remove PARAMS from the prototype.
29795 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29797         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29798         names.  Just use the correct names.  Remove unnecessary wrapper
29799         functions.
29800         * malloc/arena.c: Likewise.
29801         * malloc/hooks.c: Likewise.
29803         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29804         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29805         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29807 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29809         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29810         into tail calls.
29811         (update_get_addr): New function.
29812         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29813         GET_ADDR_MODULE parameter.
29815 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29817         * crypt/cert.c: Remove __STDC__ conditionals.
29818         * crypt/crypt-entry.c: Likewise.
29819         * crypt/crypt_util.c: Likewise.
29820         * libio/filedoalloc.c: Likewise.
29821         * libio/fileops.c: Likewise.
29822         * libio/genops.c: Likewise.
29823         * libio/iofclose.c: Likewise.
29824         * libio/iofdopen.c: Likewise.
29825         * libio/iofopen.c: Likewise.
29826         * libio/iofopen64.c: Likewise.
29827         * libio/iogetdelim.c: Likewise.
29828         * libio/iopopen.c: Likewise.
29829         * libio/obprintf.c: Likewise.
29830         * libio/oldfileops.c: Likewise.
29831         * libio/oldiofclose.c: Likewise.
29832         * libio/oldiofdopen.c: Likewise.
29833         * libio/oldiofopen.c: Likewise.
29834         * libio/oldiopopen.c: Likewise.
29835         * libio/wfiledoalloc.c: Likewise.
29836         * libio/wgenops.c: Likewise.
29837         * locale/programs/xmalloc.c: Likewise.
29838         * misc/syslog.c: Likewise.
29839         * stdio-common/xbug.c: Likewise.
29840         * string/memchr.c: Likewise.
29841         * string/memcmp.c: Likewise.
29842         * string/memrchr.c: Likewise.
29843         * string/rawmemchr.c: Likewise.
29844         * sysdeps/posix/getcwd.c: Likewise.
29845         * time/strftime_l.c: Likewise.
29847 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29849         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29850         * config.make.in (config-cflags-sse2avx): Define.
29851         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29852         Fix typo.
29854 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29856         * scripts/config.guess: Update from upstream config git repository.
29857         * scripts/config.sub: Likewise.
29859 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29861         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29862         (EM_NUM): Update.
29863         (R_TILEPRO_*, R_TILEGX_*): New macros.
29865         * scripts/firstversions.awk: Fix bug in version range handling.
29867         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29869         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29871         * include/sys/epoll.h: New file.
29872         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29873         libc_hidden_def.
29875 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29877         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29878         Avoid unnecessary __WORDSIZE == 64 test.
29879         (fmaxf): Use VEX format if possible.
29880         (fmax): Likewise.
29881         (fminf): Likewise.
29882         (fmin): Likewise.
29884         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29885         * math/math_private.h: Remove libc_fegetround* and
29886         libc_fesetround*.
29887         * sysdeps/i386/configure.in: Check for -msse2avx.
29888         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29889         also if SSE2AVX is defined.
29890         Remove libc_fegetround* and libc_fesetround*.
29891         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29892         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29893         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29894         of HAS_YMM_USABLE.
29895         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29896         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29897         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29898         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29899         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29901         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29903 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29905         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29906         size is not set.
29907         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29909 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29911         [BZ #13618]
29912         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29913         relocation.
29914         * Makeconfig (libm): Define.
29915         * elf/Makefile: Add rules to build and run tst-relsort1.
29916         * elf/tst-relsort1.c: New file.
29917         * elf/tst-relsort1mod1.c: New file.
29918         * elf/tst-relsort1mod2.c: New file.
29920 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29922         * math/s_ldexp.c: Remove __STDC__ conditionals.
29923         * math/s_ldexpf.c: Likewise.
29924         * math/s_ldexpl.c: Likewise.
29925         * math/s_nextafter.c: Likewise.
29926         * math/s_nexttowardf.c: Likewise.
29927         * math/s_significand.c: Likewise.
29928         * math/s_significandf.c: Likewise.
29929         * math/s_significandl.c: Likewise.
29930         * math/w_jnl.c: Likewise.
29931         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29932         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29933         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29934         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29935         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29939         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29943         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29945         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29946         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29948         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29950         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29951         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29952         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29953         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29954         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29955         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29956         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29957         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29958         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29959         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29960         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29961         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29962         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29963         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29964         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29965         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29966         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29967         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29968         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29969         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29970         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29971         * sysdeps/ieee754/k_standard.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29985         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29987         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29988         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29989         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29990         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29991         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29992         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29993         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29994         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29995         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29996         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29997         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30001         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30003         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30005         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30006         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30008         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30012         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30014         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30015         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30021         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30022         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30032         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30033         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30034         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30038         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30043         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30046         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30047         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30051         * sysdeps/ieee754/s_matherr.c: Likewise.
30052         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30053         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30055         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30057 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30059         * crypt/md5.h: Remove __STDC__ conditionals.
30060         * libio/libioP.h: Likewise.
30061         * locale/programs/config.h: Likewise.
30062         * sysdeps/generic/sysdep.h: Likewise.
30063         * sysdeps/i386/asm-syntax.h: Likewise.
30064         * sysdeps/s390/asm-syntax.h: Likewise.
30065         * sysdeps/unix/sysdep.h: Likewise.
30066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30069 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30071         * libio/libio.h: Remove __STDC__ conditionals.
30072         * malloc/obstack.h: Likewise.
30073         * math/complex.h: Likewise.
30074         * math/math.h: Likewise.
30075         * sysdeps/generic/_G_config.h: Likewise.
30076         * sysdeps/gnu/_G_config.h: Likewise.
30077         * sysdeps/mach/hurd/_G_config.h: Likewise.
30078         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30079         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30080         * sysdeps/sparc/bits/mathdef.h: Likewise.
30082 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30084         [BZ #13583]
30085         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30086         Clean up HAS_* macros.
30087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30088         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30089         possible.
30090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30091         HAS_AVX.
30092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30093         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30094         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30096         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30098 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30100         * elf/tst-unique3.cc (gets): Remove declaration.
30101         * elf/tst-unique3lib.cc (gets): Likewise.
30102         * elf/tst-unique3lib2.cc (gets): Likewise.
30103         * elf/tst-unique4.cc (gets): Likewise.
30105 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30107         * include/stdio.h: Add C++ protection.  Add gets declarations and
30108         definitions.
30109         * debug/tst-chk1.c: Don't declare gets here.
30110         * stdio-common/tst-gets.c: Likewise.
30112 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30114         * posix/glob: Remove directory.
30116 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30118         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30120 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30122         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30123         of the non-standard EPFNOSUPPORT.
30125 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30127         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30128         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30129         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30131 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30133         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30135 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30137         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30138         transient errors.
30139         * nscd/grpcache.c (cache_addgr): Likewise.
30140         * nscd/hstcache.c (cache_addhst): Likewise.
30141         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30142         * nscd/pwdcache.c (cache_addpw): Likewise.
30143         * nscd/servicescache.c (cache_addserv): Likewise.
30145 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30147         * malloc/malloc.c: Various cleanups.
30148         * malloc/hooks.c: Likewise.
30150         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30151         * stdlib/bug-fmtmsg1.c: New file.
30153         * stdlib/fmtmsg.c (init): Add missing unlock.
30154         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30156 2012-01-12  Marek Polacek  <polacek@redhat.com>
30158         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30159         and _GNU_SOURCE.
30161 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30163         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30164         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30165         macro to ensure uniqueness of label name.
30166         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30167         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30169 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30171         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30173         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30174         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30175         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30178 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30180         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30182         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30183         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30184         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30186         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30188         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30189         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30190         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30193         * math/bits/math-finite.h: Add ldexp support.
30195 2012-01-10  Marek Polacek  <polacek@redhat.com>
30197         * locale/programs/localedef.h (show_archive_content): Add noreturn
30198         attribute.
30200 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30202         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30204 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30206         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30208         * io/Makefile (headers): Add bits/poll2.h.
30210 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30213         typo #include statement.
30215 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30217         * include/sys/cdefs.h: Define __attribute_alloc_size.
30218         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30219         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30220         * elf/pldd.c: Likewise.
30221         * iconv/iconv_charmap.c: Likewise.
30222         * iconv/iconvconfig.c: Likewise.
30223         * iconv/strtab.c: Likewise.
30224         * locale/programs/locale.c: Likewise.
30225         * locale/programs/localedef.h: Likewise.
30226         * locale/programs/simple-hash.c: Likewise.
30227         * nscd/nscd.h: Likewise.
30228         * nss/makedb.c: Likewise.
30229         * sysdeps/generic/ldconfig.h: Likewise.
30230         * locale/programs/localedef.c: Remove xmalloc prototype.
30231         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30233 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30235         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30236         appropriate.
30238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30240         * math/Makefile (tests): Add tst-CMPLX.
30241         * math/tst-CMPLX.c: New file.
30243         * math/complex.h (CMPLXL): Fix typo.
30245         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30246         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30247         GLIBC_2.16.
30248         * debug/tst-chk1.c: Add poll and ppoll tests.
30249         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30250         * include/sys/poll.h: Add hidden proto for ppoll.
30251         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30252         * sysdeps/mach/hurd/ppoll.c: Likewise.
30253         * io/ppoll.c: Likewise.
30254         * debug/poll_chk.c: New file.
30255         * debug/ppoll_chk.c: New file.
30256         * include/bits/poll2.h: New file.
30257         * io/bits/poll2.h: New file.
30259         [BZ #1350]
30260         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30262         * configure.in: static is always set to yes.  Remove.
30263         * config.make.in: Don't set build-static.
30264         * Makeconfig: Remove use of build-static.
30265         * dlfcn/Makefile: Likewise.
30266         * elf/Makefile: Likewise.
30267         * math/Makefile: Likewise.
30268         * misc/Makefile: Likewise.
30269         * nptl/Makefile: Likewise.
30270         * sysdeps/mach/hurd/Makefile: Likewise.
30272         * configure.in: PWD_P is not used anymore.
30273         * config.make.in: Remove PWD_P entry.
30275         * configure.in: Remove last remnants of RANLIB.
30276         No need to check for signed size_t anymore.
30277         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30278         and IA-64.
30279         Remove __builtin_expect test because we require at least gcc 3.4.
30280         * aclocal.m4: Likewise.
30282         * wcsmbs/mbrtoc16.c: Implement using towc function.
30283         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30284         * wcsmbs/wcsmbsload.c: Likewise.
30285         * iconv/gconv_simple.c: Likewise.
30286         * iconv/gconv_int.h: Likewise.
30287         * iconv/gconv_builtin.h: Likewise.
30288         * iconv/iconv_prog.c: Remove CHAR16 handling.
30290         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30292         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30294         * configure.in: Remove --with-elf and --enable-bounded options.
30295         Dont set base_machine for ia64.  More non-ELF conditions removed.
30296         Remove testing and setting of leading underscore information.
30297         * config.make.in (build-bounded): Set to no.
30298         * config.h.in: Remove NO_UNDERSCORES entry.
30299         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30300         them.
30301         * csu/start.c: Remove !NO_UNDERSCORE code.
30302         * locale/localeinfo.h: Likewise.
30303         * sysdeps/generic/machine-gmon.h: Likewise.
30304         * sysdeps/generic/sysdep.h: Likewise.
30305         * sysdeps/i386/sysdep.h: Likewise.
30306         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30307         * sysdeps/mach/sysdep.h: Likewise.
30308         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30309         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30310         * sysdeps/sh/sysdep.h: Likewise.
30311         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30312         * sysdeps/unix/i386/sysdep.S: Likewise.
30313         * sysdeps/unix/sparc/start.c: Likewise.
30314         * sysdeps/unix/sparc/sysdep.S: Likewise.
30315         * sysdeps/unix/sparc/sysdep.h: Likewise.
30316         * sysdeps/unix/start.c: Likewise.
30317         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30318         * sysdeps/x86_64/sysdep.h: Likewise.
30320 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30322         [BZ #13553]
30323         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30324         for non-gcc.
30325         * argp/argp-fmtstream.h: Use const instead __const.
30326         * argp/argp.h: Likewise.
30327         * assert/assert.h: Likewise.
30328         * bits/fenv.h: Likewise.
30329         * bits/sched.h: Likewise.
30330         * bits/sigset.h: Likewise.
30331         * bits/sigthread.h: Likewise.
30332         * catgets/nl_types.h: Likewise.
30333         * conform/data/pthread.h-data: Likewise.
30334         * crypt/crypt-private.h: Likewise.
30335         * crypt/crypt.h: Likewise.
30336         * crypt/crypt_util.c: Likewise.
30337         * ctype/ctype.h: Likewise.
30338         * debug/execinfo.h: Likewise.
30339         * debug/mbsnrtowcs_chk.c: Likewise.
30340         * debug/mbsrtowcs_chk.c: Likewise.
30341         * debug/wcsnrtombs_chk.c: Likewise.
30342         * debug/wcsrtombs_chk.c: Likewise.
30343         * debug/wcstombs_chk.c: Likewise.
30344         * dirent/dirent.h: Likewise.
30345         * dlfcn/dlfcn.h: Likewise.
30346         * elf/neededtest4.c: Likewise.
30347         * grp/grp.h: Likewise.
30348         * gshadow/gshadow.h: Likewise.
30349         * iconv/gconv.h: Likewise.
30350         * iconv/gconv_int.h: Likewise.
30351         * iconv/gconv_simple.c: Likewise.
30352         * iconv/iconv.h: Likewise.
30353         * iconv/loop.c: Likewise.
30354         * iconv/skeleton.c: Likewise.
30355         * include/aio.h: Likewise.
30356         * include/aliases.h: Likewise.
30357         * include/argz.h: Likewise.
30358         * include/arpa/inet.h: Likewise.
30359         * include/assert.h: Likewise.
30360         * include/dirent.h: Likewise.
30361         * include/dlfcn.h: Likewise.
30362         * include/execinfo.h: Likewise.
30363         * include/fcntl.h: Likewise.
30364         * include/fenv.h: Likewise.
30365         * include/glob.h: Likewise.
30366         * include/grp.h: Likewise.
30367         * include/libintl.h: Likewise.
30368         * include/mntent.h: Likewise.
30369         * include/netdb.h: Likewise.
30370         * include/pwd.h: Likewise.
30371         * include/rpc/netdb.h: Likewise.
30372         * include/sched.h: Likewise.
30373         * include/search.h: Likewise.
30374         * include/shadow.h: Likewise.
30375         * include/signal.h: Likewise.
30376         * include/stdio.h: Likewise.
30377         * include/stdlib.h: Likewise.
30378         * include/string.h: Likewise.
30379         * include/sys/socket.h: Likewise.
30380         * include/sys/stat.h: Likewise.
30381         * include/sys/statfs.h: Likewise.
30382         * include/sys/statvfs.h: Likewise.
30383         * include/sys/syslog.h: Likewise.
30384         * include/sys/time.h: Likewise.
30385         * include/sys/uio.h: Likewise.
30386         * include/time.h: Likewise.
30387         * include/unistd.h: Likewise.
30388         * include/utmp.h: Likewise.
30389         * include/wchar.h: Likewise.
30390         * include/wctype.h: Likewise.
30391         * inet/aliases.h: Likewise.
30392         * inet/arpa/inet.h: Likewise.
30393         * inet/netinet/ether.h: Likewise.
30394         * inet/netinet/in.h: Likewise.
30395         * intl/libintl.h: Likewise.
30396         * io/bits/fcntl2.h: Likewise.
30397         * io/fcntl.h: Likewise.
30398         * io/ftw.h: Likewise.
30399         * io/sys/poll.h: Likewise.
30400         * io/sys/stat.h: Likewise.
30401         * io/sys/statfs.h: Likewise.
30402         * io/sys/statvfs.h: Likewise.
30403         * io/utime.h: Likewise.
30404         * libio/bits/stdio.h: Likewise.
30405         * libio/bits/stdio2.h: Likewise.
30406         * libio/libio.h: Likewise.
30407         * libio/libioP.h: Likewise.
30408         * libio/stdio.h: Likewise.
30409         * locale/lc-ctype.c: Likewise.
30410         * locale/locale.h: Likewise.
30411         * login/utmp.h: Likewise.
30412         * malloc/arena.c: Likewise.
30413         * malloc/malloc.c: Likewise.
30414         * malloc/malloc.h: Likewise.
30415         * malloc/mcheck.c: Likewise.
30416         * malloc/mtrace.c: Likewise.
30417         * math/bits/mathcalls.h: Likewise.
30418         * math/fenv.h: Likewise.
30419         * math/math_private.h: Likewise.
30420         * misc/bits/error.h: Likewise.
30421         * misc/bits/syslog.h: Likewise.
30422         * misc/err.h: Likewise.
30423         * misc/error.h: Likewise.
30424         * misc/fstab.h: Likewise.
30425         * misc/mntent.h: Likewise.
30426         * misc/regexp.h: Likewise.
30427         * misc/search.h: Likewise.
30428         * misc/sgtty.h: Likewise.
30429         * misc/sys/mman.h: Likewise.
30430         * misc/sys/syslog.h: Likewise.
30431         * misc/sys/uio.h: Likewise.
30432         * misc/sys/xattr.h: Likewise.
30433         * misc/ttyent.h: Likewise.
30434         * nis/rpcsvc/ypclnt.h: Likewise.
30435         * nss/nss.h: Likewise.
30436         * posix/bits/unistd.h: Likewise.
30437         * posix/fnmatch.h: Likewise.
30438         * posix/glob.h: Likewise.
30439         * posix/sched.h: Likewise.
30440         * posix/spawn.h: Likewise.
30441         * posix/sys/wait.h: Likewise.
30442         * posix/unistd.h: Likewise.
30443         * posix/wordexp.h: Likewise.
30444         * pwd/pwd.h: Likewise.
30445         * resolv/netdb.h: Likewise.
30446         * resource/sys/resource.h: Likewise.
30447         * rt/aio.h: Likewise.
30448         * rt/bits/mqueue2.h: Likewise.
30449         * rt/mqueue.h: Likewise.
30450         * shadow/shadow.h: Likewise.
30451         * signal/signal.h: Likewise.
30452         * socket/send.c: Likewise.
30453         * socket/sendto.c: Likewise.
30454         * socket/sys/socket.h: Likewise.
30455         * stdio-common/printf.h: Likewise.
30456         * stdlib/bits/stdlib.h: Likewise.
30457         * stdlib/fmtmsg.h: Likewise.
30458         * stdlib/monetary.h: Likewise.
30459         * stdlib/stdlib.h: Likewise.
30460         * stdlib/ucontext.h: Likewise.
30461         * streams/stropts.h: Likewise.
30462         * string/argz.h: Likewise.
30463         * string/bits/string2.h: Likewise.
30464         * string/string.h: Likewise.
30465         * string/strings.h: Likewise.
30466         * sunrpc/rpc/auth.h: Likewise.
30467         * sunrpc/rpc/auth_des.h: Likewise.
30468         * sunrpc/rpc/clnt.h: Likewise.
30469         * sunrpc/rpc/netdb.h: Likewise.
30470         * sunrpc/rpc/pmap_clnt.h: Likewise.
30471         * sunrpc/rpc/xdr.h: Likewise.
30472         * sysdeps/generic/inttypes.h: Likewise.
30473         * sysdeps/generic/net/if.h: Likewise.
30474         * sysdeps/generic/sys/swap.h: Likewise.
30475         * sysdeps/gnu/net/if.h: Likewise.
30476         * sysdeps/gnu/utmpx.h: Likewise.
30477         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30478         * sysdeps/i386/i486/bits/string.h: Likewise.
30479         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30480         * sysdeps/s390/bits/string.h: Likewise.
30481         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30482         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30483         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30484         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30485         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30486         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30487         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30488         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30489         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30490         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30491         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30492         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30493         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30494         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30495         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30496         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30497         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30501         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30502         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30503         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30504         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30505         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30506         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30507         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30508         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30509         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30510         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30511         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30512         * sysvipc/sys/ipc.h: Likewise.
30513         * sysvipc/sys/msg.h: Likewise.
30514         * sysvipc/sys/sem.h: Likewise.
30515         * sysvipc/sys/shm.h: Likewise.
30516         * termios/termios.h: Likewise.
30517         * time/sys/time.h: Likewise.
30518         * time/time.h: Likewise.
30519         * wcsmbs/bits/wchar2.h: Likewise.
30520         * wcsmbs/uchar.h: Likewise.
30521         * wcsmbs/wchar.h: Likewise.
30522         * wctype/wctype.h: Likewise.
30524         [BZ #13551]
30525         * Makeconfig: Remove all but ELF support including AIX support.
30526         * Makerules: Likewise.
30527         * config.h.in: Likewise.
30528         * config.make.in: Likewise.
30529         * configure: Likewise.
30530         * configure.in: Likewise.
30531         * csu/Makefile: Likewise.
30532         * csu/version.c: Likewise.
30533         * debug/Makefile: Likewise.
30534         * dlfcn/Makefile: Likewise.
30535         * elf/Makefile: Likewise.
30536         * extra-lib.mk: Likewise.
30537         * iconv/Makefile: Likewise.
30538         * include/libc-symbols.h: Likewise.
30539         * include/shlib-compat.h: Likewise.
30540         * resolv/Makefile: Likewise.
30541         * resolv/res_libc.c: Likewise.
30542         * rt/Makefile: Likewise.
30543         * sysdeps/i386/asm-syntax.h: Likewise.
30544         * sysdeps/i386/sysdep.h: Likewise.
30545         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30546         * sysdeps/mach/sysdep.h: Likewise.
30547         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30548         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30549         * sysdeps/s390/asm-syntax.h: Likewise.
30550         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30551         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30552         * sysdeps/sh/sysdep.h: Likewise.
30553         * sysdeps/unix/sparc/sysdep.h: Likewise.
30554         * sysdeps/wordsize-32/divdi3.c: Likewise.
30555         * sysdeps/x86_64/sysdep.h: Likewise.
30557         * argp/Versions: Remove _argp_unlock_xxx.
30559         [BZ #13559]
30560         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30561         * abilist/libBrokenLocale.abilist: Likewise.
30562         * abilist/libanl.abilist: Likewise.
30563         * abilist/libc.abilist: Likewise.
30564         * abilist/libcrypt.abilist: Likewise.
30565         * abilist/libdl.abilist: Likewise.
30566         * abilist/libm.abilist: Likewise.
30567         * abilist/libnsl.abilist: Likewise.
30568         * abilist/libpthread.abilist: Likewise.
30569         * abilist/libresolv.abilist: Likewise.
30570         * abilist/librt.abilist: Likewise.
30571         * abilist/libthread_db.abilist: Likewise.
30572         * abilist/libutil.abilist: Likewise.
30573         * abilist/libnss_db.abilist: New file.
30575         * scripts/abilist.awk: Add support for indirect functions.
30577         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30579         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30581         * shlib-versions: Remove entries for ports architectures.
30583         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30584         files in ports.
30585         * elf/stackguard-macros.h: Remove support for IA-64.
30586         * elf/tst-auditmod1.c: Likewise.
30587         * sysdeps/generic/ldsodefs.h: Likewise.
30589         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30590         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30591         configure files.
30593         [BZ #13552]
30594         * configure.in: Remove --enable-omitfp support.
30595         * FAQ.in: Adjust.
30596         * config.make.in: Likewise.
30597         * Makeconfig: Likewise.
30598         * manual/install.texi: Likewise.
30600         In case anyone cares, the IA-64 architecture could move to ports.
30601         * sysdeps/ia64/*: Removed.
30602         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30603         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30605         [BZ #13555]
30606         * configure.in: Remove entries for unsupported architectures.
30608         [BZ #13533]
30609         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30610         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30611         routines.
30612         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30613         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30614         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30615         fall back to using wcrtomb.
30616         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30617         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30618         renaming.
30619         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30620         * wcsmbs/tst-c16c32-1.c: New file.
30622         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30623         local variable.
30625         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30627         * elf/tst-unique3.cc: Add explicit declaration of gets.
30628         * elf/tst-unique3lib.cc: Likewise.
30629         * elf/tst-unique3lib2.cc: Likewise.
30630         * elf/tst-unique4.cc: Likewise.
30632         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30634 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30636         [BZ #13566]
30637         * assert/assert.h (static_assert): Don't define for C++.
30638         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30639         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30641 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30643         * iconv/loop.c (single loop): Fix assertion in storing of
30644         remaining bytes.
30646         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30648 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30650         * posix/getconf.c: Update copyright year.
30651         * nss/getent.c: Likewise.
30652         * nss/makedb.c: Likewise.
30653         * iconv/iconvconfig.c: Likewise.
30654         * iconv/iconv_prog.c: Likewise.
30655         * elf/ldconfig.c: Likewise.
30656         * elf/pldd.c: Likewise.
30657         * elf/sotruss.ksh: Likewise.
30658         * catgets/gencat.c: Likewise.
30659         * csu/version.c: Likewise.
30660         * elf/ldd.bash.in: Likewise.
30661         * elf/sprof.c (print_version): Likewise.
30662         * locale/programs/locale.c: Likewise.
30663         * locale/programs/localedef.c: Likewise.
30664         * login/programs/pt_chown.c: Likewise.
30665         * nscd/nscd.c (print_version): Likewise.
30666         * debug/xtrace.sh: Likewise.
30667         * malloc/memusage.sh: Likewise.
30668         * malloc/mtrace.pl: Likewise.
30669         * debug/catchsegv.sh: Likewise.
30671 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30673         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30674         pure attribute.
30676 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30678         [BZ #13533]
30679         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30680         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30681         transformations.
30682         * iconv/gconv_int.h: Likewise.
30683         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30684         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30685         from libc for GLIBC_2.16.
30686         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30687         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30688         * wcsmbs/uchar.h: Really define mbstate_t.
30689         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30690         * wcsmbs/c16rtomb.c: New file.
30691         * wcsmbs/mbrtoc16.c: New file.
30692         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30693         for C/POSIX locale.
30694         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30695         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30697         * wcsmbs/wchar.h: Add missing __restrict.
30699 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30701         [BZ #13532]
30702         * time/Makefile (routines): Add timespec_get.
30703         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30704         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30705         timespec for ISO C11.
30706         * time/timespec_get.c: New file.
30707         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30708         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30710         [BZ #13531]
30711         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30712         * stdlib/stdlib.h: Declare aligned_alloc.
30713         * Versions.def: Add GLIBC_2.16 for libc.
30714         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30716         [BZ 13527]
30717         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30718         ISO C11.
30720         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30721         code.
30723         [BZ #13528]
30724         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30726         [BZ #13529]
30727         * assert/assert.h (static_assert): Define.
30729         * version.h: Update for 2.16 development version.
30731         [BZ #13526]
30732         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30733         _ISOC11_SOURCE.
30735         * version.h (RELEASE): Bump for 2.15 release.
30736         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30738         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30739         Patch by Marek Polacek <mpolacek@redhat.com>.
30741         * bits/byteswap.h: Protect long long constants with __extension__.
30742         * sysdeps/i386/bits/byteswap.h: Likewise.
30743         * sysdeps/ia64/bits/byteswap.h: Likewise.
30744         * sysdeps/s390/bits/byteswap.h: Likewise.
30745         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30747 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30749         [BZ #13540]
30750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30751         destination buffer.
30752         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30754 2011-12-23  Marek Polacek  <polacek@redhat.com>
30756         * elf/dl-addr.c (determine_info): Add inline keyword.
30757         * elf/tst-auditmod4b.c (check_avx): Likewise.
30758         * elf/tst-auditmod6b.c (check_avx): Likewise.
30759         * elf/tst-auditmod6c.c (check_avx): Likewise.
30760         * elf/tst-auditmod7b.c (check_avx): Likewise.
30762 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30764         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30765         !__SSE_MATH__.
30767 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30769         [BZ #13540]
30770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30771         processing for last bytes.
30773 2011-08-06  Bruno Haible  <bruno@clisp.org>
30775         [BZ #13061]
30776         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30777         U+0385, not to U+1FEE.
30779         [BZ #13062]
30780         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30781         entry for U+00A5 U+0301.
30783 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30785         [BZ #13166]
30786         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30787         buffer for the output is too small.
30789         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30790         optimization.
30792         [BZ #13185]
30793         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30794         SSE flags if possible.
30796 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30798         [BZ #13540]
30799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30800         processing for last bytes.
30802 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30804         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30805         (syscall-list-default-options, syscall-list-default-condition)
30806         (syscall-list-includes): Define.
30807         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30808         list of ABIs and options and #if conditions for each ABI.  Do not
30809         handle common syscalls between ABIs specially.
30810         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30811         Remove.
30812         (syscall-list-variants, syscall-list-32bit-options)
30813         (syscall-list-32bit-condition, syscall-list-64bit-options)
30814         (syscall-list-64bit-condition): Define.
30815         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30816         (syscall-list-variants, syscall-list-32bit-options)
30817         (syscall-list-32bit-condition, syscall-list-64bit-options)
30818         (syscall-list-64bit-condition): Define.
30819         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30820         Remove.
30821         (syscall-list-variants, syscall-list-32bit-options)
30822         (syscall-list-32bit-condition, syscall-list-64bit-options)
30823         (syscall-list-64bit-condition): Define.
30824         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30825         Remove.
30826         (syscall-list-variants, syscall-list-32bit-options)
30827         (syscall-list-32bit-condition, syscall-list-64bit-options)
30828         (syscall-list-64bit-condition): Define.
30830 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30832         * locale/iso-639.def: Add brx entry.
30834         [BZ #13328]
30835         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30836         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30838         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30839         __feraiseexcept_renamed.
30841 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30843         [BZ #13538]
30844         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30845         EPOLLET with unsigned values.
30846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30849         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30850         to large cancellation.
30851         * math/s_cacoshf.c: Likewise.
30852         * math/s_cacoshl.c: Likewise.
30854 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30856         [BZ #13305]
30857         [BZ #12786]
30858         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30859         * math/s_cacoshf.c: Likewise.
30860         * math/s_cacoshl.c: Likewise.
30862 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30864         [BZ #13439]
30865         * iconv/gconv.h: Define __GCONV_SWAP.
30866         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30867         * iconvdata/utf-16.c: Likewise.
30868         * iconvdata/utf-32.c: Likewise.
30870 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30872         [BZ #13524]
30873         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30874         numerator after shifting it by one limb.
30876 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30878         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30879         under [__USE_EXTERN_INLINES].
30881 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30883         [BZ #13446]
30884         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30886 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30888         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30889         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30890         optimized code.
30891         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30892         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30893         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30894         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30895         for strncasecmp/strncasecmp_l compilation.
30896         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30897         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30899 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30901         [BZ #13484]
30902         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30903         of __asm__.
30905 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30907         [BZ #13506]
30908         * time/tzfile.c (__tzfile_read): Check values from file header.
30910 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30912         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30913         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30914         * powerpc/powerpc32/dl-start.S: Likewise.
30915         * powerpc/powerpc32/elf/start.S: Likewise.
30916         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30917         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30918         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30919         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30920         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30921         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30922         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30923         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30924         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30925         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30926         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30927         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30928         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30929         * powerpc/powerpc32/memset.S: Likewise.
30930         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30931         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30932         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30933         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30934         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30935         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30936         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30937         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30938         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30939         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30940         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30941         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30942         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30944 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30946         * math/libm-test.inc: Added more nearbyint tests.
30947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30952 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30954         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30955         FD_CLOEXEC.
30957 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30959         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30960         Add wcscpy-ssse3 wcscpy-c.
30961         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30962         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30963         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30964         * sysdeps/x86_64/wcschr.S: New file.
30965         * sysdeps/x86_64/wcsrchr.S: New file.
30966         * string/test-strcmp.c: Remove checking of wcscmp function for
30967         wrong alignments.
30968         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30969         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30970         wcsrchr-sse2 wcsrchr-c.
30971         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30972         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30973         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30974         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30975         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30976         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30977         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30978         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30979         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30980         * wcsmbc/wcschr.c (WCSCHR): New macro.
30982 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30984         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30985         * wcsmbs/test-wcsrchr.c: New file.
30986         * string/test-strrchr.c: Add wcsrchr support.
30987         (WIDE): New macro.
30988         * wcsmbs/test-wcscpy.c: New file.
30989         * string/test-strcpy.c: Add wcscpy support.
30990         (WIDE): New macro.
30992 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30994         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30995         the inner loop.
30997 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30999         [BZ #13472]
31000         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31002 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31004         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31005         Minor optimizations.
31007         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31008         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31009         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31011 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31013         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31014         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31015         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31016         for gcc to avoid warnings.
31017         * inet/Makefile (tests): Add tst-checks.
31018         * inet/tst-checks.c: New file.
31020         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31021         warning.
31023         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31024         __wmemcmp_sse2.
31026         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31027         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31029         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31031 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31033         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31034         problem.
31036         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31038 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31040         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31041         conditional on GCC version.
31042         (__arch_compare_and_exchange_val_8_acq)
31043         (__arch_compare_and_exchange_val_16_acq)
31044         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31045         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31046         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31048 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31050         * sysdeps/sh/backtrace.c: New file.
31052 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31054         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31055         parenthesis.
31057 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31059         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31060         falling back to utime.
31062 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31064         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31065         expectations for float.
31067 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31069         * locale/weight.h (findidx): Add parameter len.
31070         * locale/weightwc.h (findidx): Likewise.
31071         * posix/fnmatch_loop.c (FCT): Adjust caller.
31072         * posix/regcomp.c (build_equiv_class): Likewise.
31073         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31074         * posix/regexec.c (check_node_accept_bytes): Likewise.
31075         * string/strcoll_l.c (STRCOLL): Likewise.
31076         * string/strxfrm_l.c (STRXFRM): Likewise.
31078 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31080         * Makefile.in: Remove CVSOPT handling.
31081         * configure.in: Remove use of AC_REVISION.
31082         * iconvdata/Makefile (distribute): No need to filter out CVS.
31083         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31084         handling.
31086 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31088         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31089         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31090         [USE_AS_STRNCASECMP_L]: Likewise.
31091         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31092         NO_TLS_DIRECT_SEG_REFS.
31093         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31094         Fix argument offsets for non-PIC.
31095         [USE_AS_STRNCASECMP_L]: Likewise.
31096         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31097         NO_TLS_DIRECT_SEG_REFS.
31099 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31101         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31102         O_CLOEXEC.
31103         * locale/loadlocale.c (_nl_load_locale): Likewise.
31105 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31107         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31108         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31109         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31110         (SYSCALL_GETTIME): Set errno on error.
31112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31113         count references to noai6ai_cached.
31115 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31117         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31119         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31120         FD_CLOEXEC for /proc/self/maps.
31122         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31123         FD_CLOEXEC for /proc/meminfo.
31125         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31126         gai.conf.
31128         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31129         FD_CLOEXEC for given file.
31131         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31133         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31134         FD_CLOEXEC for /etc/hosts.
31135         (_gethtent): Likewise.
31137         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31139         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31140         cancellation and set FD_CLOEXEC for /etc/netgroup.
31142         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31143         reading /etc/publickey.
31145         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31146         allow cancellation when reading /etc/group.
31148         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31149         cancellation.
31150         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31152         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31153         when using data file.
31155         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31157         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31158         (write_nis_obj): Use "c" and "e" in fopen.
31160         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31162         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31164         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31166         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31168         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31169         locale.alias.
31171         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31173         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31175         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31177         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31178         file parsing and set FD_CLOEXEC.
31180 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31182         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31184 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31186         * malloc/arena.c (arena_get2): Don't call reused_arena when
31187         _int_new_arena failed.
31189 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31191         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31192         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31193         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31194         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31195         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31197         to compile strcasecmp and strncasecmp.
31198         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31199         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31201         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31203 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31205         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31206         locale-defines.sym to gen-as-const-headers.
31207         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31208         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31210         to compile strcasecmp and strncasecmp.
31211         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31212         strcasecmp_l and strncasecmp_l.
31213         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31214         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31215         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31216         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31217         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31218         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31219         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31220         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31221         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31222         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31223         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31225 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31227         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31228         result of SYSDEP_GETTIME_CPU to retval.
31229         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31230         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31232         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31233         variable.
31235         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31236         mantissa words.
31237         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31239         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31240         from unused variable.
31242         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31243         DWARF definitions.
31244         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31245         for assembling.
31247         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31248         over namespaces.
31250         * sunrpc/rpc_prot.c (rejected): Fix case value.
31252         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31253         unsigned long long int to avoid warnings in shift.
31255         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31256         of use of trans.
31257         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31258         variable tmp.
31260         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31261         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31262         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31264         * nis/nis_table.c (nis_list): Use variable of correct type for
31265         result of __follow_path call.
31267 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31269         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31270         of math functions ceil, trunc, floor, round, and sqrt, when
31271         avaliable on the platform.
31272         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31273         name clash.
31274         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31275         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31276         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31278 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31280         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31281         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31283 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31285         * include/unistd.h: Fix __readlink return type.
31286         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31288 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31290         * stdlib/ucontext.h: Undo last change for makecontext.
31292 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31294         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31296         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31297         * setjmp/setjmp.h: Mark functions as non-leaf.
31298         * setjmp/bits/setjmp2.h: Likewise.
31299         * stdlib/ucontext.h: Likewise.
31301 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31303         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31304         (reused_arena): Don't check arena limit.
31305         (arena_get2): Atomically check arena limit.
31307 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31309         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31310         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31313         instructions.
31315 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31317         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31318         handler when locking.
31320         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31321         Fix size of allocated buffer.
31323 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31325         [BZ #10103]
31326         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31327         declarations for long double functions.
31328         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31330         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31332 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31334         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31335         installed.
31337         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31338         is disabled.
31340 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31342         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31344 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31346         * include/alloca.h (stackinfo_alloca_round): Define.
31347         (extend_alloca): Use it.
31348         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31349         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31350         here.
31352         * scripts/check-local-headers.sh: Ignore libaudit.h.
31354         * nscd/Makefile (extra-objs): Make recursively expanded.
31356 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31358         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31359         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31361         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31362         * posix/tst-rfc3484-2.c: Likewise.
31363         * posix/tst-rfc3484-3.c: Likewise.
31365         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31366         process_vm_writev.
31367         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31368         process_vm_writev.
31369         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31370         process_vm_writev from libc using GLIBC_2.15 version.
31372         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31374 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31376         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31377         stack usage.
31379 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31381         [BZ #13367]
31382         * nss/getent.c (initgroups_keys): Show error message in case no group
31383         names are given.
31385         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31386         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31387         __bump_nl_timestamp.
31388         * nscd/connections (nscd_init): When host database is served open
31389         netlink socket and request notification about configuration changes.
31390         (main_loop_poll): Track netlink file descriptor and bump timestamp
31391         in case data becomes available.
31392         (main_loop_epoll): Likewise.
31393         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31394         (database_pers_head): Add extra_data fileds.
31395         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31396         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31397         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31398         Adjust caller.
31399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31400         in6ai data, call __free_in6ai.
31401         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31402         Add -DHAVE_NETLINK.
31403         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31404         interface information.  Reuse previous data if netlink timestamp
31405         is not changed.
31406         (__bump_nl_timestamp): New function.
31407         (__free_in6ai): New function.
31409 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31412         close_not_cancel_no_status here.
31413         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31415 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31417         [BZ #13276]
31418         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31419         return value.
31421         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31422         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31423         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31425 2011-07-03  Andreas Jaeger  <aj@suse.de>
31427         [BZ #10709]
31428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31429         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31430         * math/libm-test.inc (sin_test): Add test case.
31432 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31434         [BZ #13337]
31435         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31436         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31438         * elf/chroot_canon.c (chroot_canon): Cleanups.
31440         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31442         [BZ #13335]
31443         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31444         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31446         * string/test-strchr.c: Make usable for strchrnul testing.
31447         * string/test-strchrnul.c: New file.
31448         * string/Makefile (strop-tests): Add strchrnul.
31450         * po/it.po: Update from translation team.
31451         * po/es.po: Likewise.
31453 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31455         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31456         the three constants needed as parameters.  Drop the others.
31457         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31458         __m128i_strloadu_tolower.
31459         Create and initialize variable zero and use it in all the places
31460         where _mm_setzero_si128 was used.
31462         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31463         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31464         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31465         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31466         anymore.
31467         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31468         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31469         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31470         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31471         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31472         __mpranred, __mptan.
31473         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31474         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31475         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31476         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31477         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31478         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31479         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31480         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31481         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31483 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31485         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31486         redefine if SHARED.
31487         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31490         wide char related routines to wcsmbs subdir.
31492 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31494         [BZ #13344]
31495         * misc/sys/cdefs.h (__THROWNL): Define.
31496         * posix/unistd.h: Use __THREADNL instead of __THREAD
31497         for memory synchronization functions.
31499 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31501         [BZ #13349]
31502         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31503         doesn't exist.
31504         * manual/stdio.texi (Obstack Streams): Node removed.
31506 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31508         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31509         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31510         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31512         * math/math_private.h (math_force_eval): Allow non-addressable
31513         arguments.
31514         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31516 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31518         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31519         file is not needed.
31521         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31522         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31523         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31524         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31525         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31526         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31528         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31529         Add AVX variants.
31530         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31531         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31532         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31533         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31534         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31535         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31536         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31537         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31538         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31539         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31540         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31541         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31542         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31543         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31544         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31545         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31546         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31547         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31548         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31550         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31551         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31553         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31554         place.  Use VEX encoding when compiling for AVX.
31556 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31558         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31559         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31561         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31563 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31565         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31566         useless if() expression.
31567         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31569         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31570         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31571         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31572         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31573         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31574         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31575         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31576         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31577         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31578         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31579         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31580         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31581         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31582         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31583         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31584         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31585         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31587         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31589 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31591         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31592         condition.
31593         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31595 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31597         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31598         .text section.  Avoid duplicate constants.
31599         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31601         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31603         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31604         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31608         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31609         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31610         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31611         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31612         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31613         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31615         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31616         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31617         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31619         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31620         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31621         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31622         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31623         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31624         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31625         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31626         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31627         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31628         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31629         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31630         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31631         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31632         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31633         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31634         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31635         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31636         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31637         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31638         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31641         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31642         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31643         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31645 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31647         * sysdeps/x86_64/dla.h: Move to ...
31648         * sysdeps/x86_64/fpu/dla.h: ...here.
31649         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31650         situations.  Use __builtin_fma only for gcc 4.6 and up.
31652         * config.make.in: Add have-mfma4 entry.
31653         * configure.in: Substitute libc_cv_cc_fma4.
31654         * math/Makefile (dbl-only-routines): Add sincostab.
31655         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31656         Use __sincostab not sincos.
31657         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31658         name is a macro.
31659         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31663         using __copysign.
31664         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31665         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31666         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31667         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31668         and __inv.
31669         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31670         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31671         __copysign.
31672         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31673         define aliases when function name is a macro.
31674         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31675         sysdeps/ieee754/dbl-64/sincos.tbl.
31676         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31677         fma4-enabled routines.
31678         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31679         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31680         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31681         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31682         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31683         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31685         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31687         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31688         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31689         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31690         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31691         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31692         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31693         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31694         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31695         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31696         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31698         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31699         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31700         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31701         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31702         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31703         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31705         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31706         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31707         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31709         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31710         rename.
31711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31717         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31718         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31720 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31722         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31724 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31726         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31728         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31729         prediction.
31730         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31732         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31733         Remove unused variable magic_bits.
31734         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31736         * string/strnlen.c: Define and use STRNLEN macro.
31737         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31738         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31740         * wcsmbs/wcslen.c: Define and use WCSLEN.
31741         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31742         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31743         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31744         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31745         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31746         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31747         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31749 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31752         strnlen-sse2-no-bsf.
31753         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31754         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31755         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31756         Add strnlen support.
31757         (USE_AS_STRNLEN): New macro.
31758         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31759         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31760         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31761         * sysdeps/x86_64/wcslen.S: New file.
31763 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31765         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31766         XMM-moves are used for copying on small sizes.
31768 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31770         * wcsmbs/Makefile (strop-tests): Add wcschr.
31771         * wcsmbs/test-wcschr.c: New file.
31772         * string/test-strchr.c: Update.
31773         Add wcschr support.
31774         (WIDE): New macro.
31776 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31778         * wcsmbs/Makefile (strop-tests): Add wcslen.
31779         * wcsmbs/test-wcslen.c: New file.
31780         * string/test-strlen.c: Update.
31781         Add wcslen support.
31782         (WIDE): New macro.
31784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31786         * po/it.po: Update from translation team.
31788 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31790         * sysdeps/x86_64/wcscmp.S: Update.
31791         Fix wrong comparison semantics.
31792         wcscmp shall use signed comparison not unsigned.
31793         Don't use substraction to avoid overflow bug.
31794         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31795         * wcsmbc/wcscmp.c: Likewise.
31796         * string/test-strcmp.c: Likewise.
31797         Add new tests to check cases with negative values.
31799 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31801         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31802         * sysdeps/x86_64/dla.h: ...here.  New file.
31803         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31808         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31813 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31816         __ynl_finite aliases.
31818 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31822         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31823         define DLA_FMA.
31824         [DLA_FMA] (EMULV): Use DLA_FMA.
31825         [DLA_FMA] (MUL12): Use EMULV.
31826         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31827         that are not needed.
31828         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31829         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31833         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31836 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31838         * math/s_nan.c: Undef __nan.
31839         * math/s_nanf.c: Undef __nanf.
31840         * math/s_nanl.c: Undef __nanl.
31841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31842         "math_private.h".
31844 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31846         * math/s_catan.c: Add branch predictions.
31847         * math/s_catanf.c: Likewise.
31848         * math/s_catanh.c: Likewise.
31849         * math/s_catanhf.c: Likewise.
31850         * math/s_catanhl.c: Likewise.
31851         * math/s_catanl.c: Likewise.
31852         * math/s_cexp.c: Likewise.
31853         * math/s_cexpf.c: Likewise.
31854         * math/s_cexpl.c: Likewise.
31855         * math/s_clog.c: Likewise.
31856         * math/s_clog10.c: Likewise.
31857         * math/s_clog10f.c: Likewise.
31858         * math/s_clog10l.c: Likewise.
31859         * math/s_clogf.c: Likewise.
31860         * math/s_clogl.c: Likewise.
31861         * math/s_csqrt.c: Likewise.
31862         * math/s_csqrtf.c: Likewise.
31863         * math/s_csqrtl.c: Likewise.
31864         * math/s_ctanf.c: Likewise.
31865         * math/s_ctanh.c: Likewise.
31866         * math/s_ctanhf.c: Likewise.
31867         * math/s_ctanhl.c: Likewise.
31868         * math/s_ctanl.c: Likewise.
31870         * math/math_private.h: Define __nan, __nanf, __nanl.
31871         * math/s_cacosh.c: Include <math_private.h>.
31872         * math/s_cacoshl.c: Likewise.
31873         * math/s_casinh.c: Likewise.
31874         * math/s_casinhf.c: Likewise.
31875         * math/s_casinhl.c: Likewise.
31876         * math/s_ccos.c: Rely entire on ccosh.
31877         * math/s_ccosf.c: Rely entire on ccoshf.
31878         * math/s_ccosl.c: Rely entirely on ccoshl.
31879         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31880         Remove tests for FE_INVALID.
31881         * math/s_ccoshf.c: Likewise.
31882         * math/s_ccoshl.c: Likewise.
31883         * math/s_csin.c: Likewise.
31884         * math/s_csinf.c: Likewise.
31885         * math/s_csinh.c Likewise.
31886         * math/s_csinhf.c: Likewise.
31887         * math/s_csinhl.c: Likewise.
31888         * math/s_csinl.c: Likewise.
31889         * math/s_ctan.c: Likewise.
31890         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31891         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31892         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31894 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31897         compilation problems.
31899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31900         __builtin_expect.
31902 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31904         * sysdeps/i386/configure.in: Test for -mfma4 option.
31905         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31906         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31907         COMMON_CPUID_INDEX_80000001.
31908         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31909         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31910         use it if FMA3 is not supported.
31911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31913         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31914         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31916 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31918         [BZ #12892]
31919         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31920         it would create a cycle with a link time dependency.
31922 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31924         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31925         instruction.
31926         * string/Makefile (strop-tests): Add rawmemchr.
31927         * string/test-rawmemchr.c: New file.
31929         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31930         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31931         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31932         when compiling str{,n}casecmp and when AVX is available.  Hook up
31933         new optimized code in initializers.
31935 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31937         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31938         __feraiseexcept instead of feraiseexcept.
31940 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31942         * math/math_private.h: Define defaults for libc_fetestexcept and
31943         libc_feupdateenv.
31944         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31945         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31946         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31947         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31948         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31949         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31950         libc_fetestexcept and libc_feupdateenv.
31952         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31953         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31954         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31955         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31956         libc_feholdexcept_setround.
31958         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31959         Add s_nearbyint-c and s_nearbyintf-c.
31960         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31961         nearbyintf inlines.
31962         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31963         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31964         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31965         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31967         * math/math_private.h: Define defaults for libc_fegetround,
31968         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31969         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31970         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31971         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31972         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31973         standard functions.
31974         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31975         Remove comments and hacks for old compiler versions.
31976         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31977         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31978         libc_feholdexceptl.
31980 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31982         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31983         (__feraiseexcept_renamed): Add __NTH.
31984         (feraiseexcept): Add __NTH.  Rename local variables to fix
31985         namespace violations.
31987 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31989         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31991         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31993         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31994         recently added interfaces.
31995         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31997         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31998         about macro parameter expansion.
32000         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32001         __NO_MATH_INLINES is defined.  Cleanups.
32003         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32004         and __floorf is target has SSE4.1.
32005         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32006         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32007         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32008         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32010         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32011         name.
32012         (floorf): Likewise.
32014         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32016 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32018         * misc/sys/cdefs.h: Fix last change.
32020         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32021         database lookup.
32023 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32025         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32027         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32028         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32029         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32030         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32031         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32032         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32033         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32034         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32035         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32036         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32037         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32038         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32039         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32040         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32041         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32042         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32043         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32044         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32045         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32046         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32047         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32048         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32050         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32051         ceil, ceilf, floor, floorf.
32053         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32054         Perform IRELATIVE relocations last.
32056         * elf/do-rel.h: Add another parameter nrelative, replacing the
32057         local variable with the same name.  Change name of the function
32058         to end in Rel or Rela (uppercase).
32059         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32060         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32061         elf_dynamic_do_##reloc function.
32063 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32065         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32066         is sufficient, at least on modern CPUs.
32068         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32070         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32071         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32073         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32074         __expl_finite.
32075         * math/bits/math-finite.h: Add entries for exp.
32076         * math/e_expl.c: Add __*_finite alias.
32077         * sysdeps/i386/fpu/e_exp.S: Likewise.
32078         * sysdeps/i386/fpu/e_expf.S: Likewise.
32079         * sysdeps/i386/fpu/e_expl.c: Likewise.
32080         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32081         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32082         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32084         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32085         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32086         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32088         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32089         is sufficient, at least on modern CPUs.
32091         * ctype/ctype-info.c (__ctype_init): Define.
32092         * include/ctype.h (__ctype_init): Declare.
32093         (__ctype_b_loc): The variable is always initialized.
32094         (__ctype_toupper_loc): Likewise.
32095         (__ctype_tolower_loc): Likewise.
32096         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32097         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32099 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32101         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32103         * configure.in: Also look in $cxxmachine/include for C++ system
32104         headers.
32106 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32108         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32109         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32110         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32111         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32112         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32113         (USE_AS_WMEMCMP): New macro.
32114         Fixing indents.
32115         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32116         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32117         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32118         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32120         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32121         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32122         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32123         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32124         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32125         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32126         (USE_AS_WMEMCMP): New macro.
32127         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32128         * sysdeps/string/test-memcmp.c: Update.
32129         Fix simple_wmemcmp.
32130         Add new tests.
32131         * wcsmbs/wmemcmp.c: Update.
32132         (WMEMCMP): New macro.
32133         Fix overflow bug.
32135 2011-10-12  Andreas Jaeger  <aj@suse.de>
32137         [BZ #13268]
32138         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32140 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32142         * libio/iofwide.c (do_length): Avoid warning.
32144         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32146 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32148         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32150         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32151         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32152         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32153         * sysdeps/i386/i686/fpu/e_log.S: New file.
32154         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32155         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32157         * ctype/ctype.h: Add support for inlined isXXX functions when
32158         compiling C++ code.
32160 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32162         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32164         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32166 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32168         [BZ #13291]
32169         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32171 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32173         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32174         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32175         feraiseexcept.
32177         * sysdeps/x86_64/memrchr.S: Check for zero size.
32179         * string/stratcliff.c: Add memrchr tests.
32181 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32184         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32185         rawmemchr-sse2 rawmemchr-sse2-bsf.
32186         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32187         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32188         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32189         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32190         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32191         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32192         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32193         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32194         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32195         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32196         * string/memrchr.c (MEMRCHR): New macro.
32198 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32200         Add integration with gcc's -ffinite-math-only and optimize wrapper
32201         functions in libm.
32202         * Versions.def: Define GLIBC_2.15 version for libm.
32203         * math/Makefile (headers): Add bits/math-finite.h.
32204         * math/bits/math-finite.h: New file.
32205         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32206         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32207         * math/e_acoshl.c: Add __*_finite alias.
32208         * math/e_acosl.c: Likewise.
32209         * math/e_asinl.c: Likewise.
32210         * math/e_atan2l.c: Likewise.
32211         * math/e_atanhl.c: Likewise.
32212         * math/e_coshl.c: Likewise.
32213         * math/e_exp10.c: Likewise.
32214         * math/e_exp10f.c: Likewise.
32215         * math/e_exp10l.c: Likewise.
32216         * math/e_exp2l.c: Likewise.
32217         * math/e_fmodl.c: Likewise.
32218         * math/e_gammal_r.c: Likewise.
32219         * math/e_hypotl.c: Likewise.
32220         * math/e_j0l.c: Likewise.
32221         * math/e_j1l.c: Likewise.
32222         * math/e_jnl.c: Likewise.
32223         * math/e_lgammal_r.c: Likewise.
32224         * math/e_log10l.c: Likewise.
32225         * math/e_log2l.c: Likewise.
32226         * math/e_logl.c: Likewise.
32227         * math/e_powl.c: Likewise.
32228         * math/e_sinhl.c: Likewise.
32229         * math/e_sqrtl.c: Likewise.
32230         * math/e_scalb.c: Completely rewritten and optimized.
32231         * math/e_scalbf.c: Likewise.
32232         * math/e_scalbl.c: Likewise.
32233         * math/w_acos.c: Likewise.
32234         * math/w_acosf.c: Likewise.
32235         * math/w_acosl.c: Likewise.
32236         * math/w_acosh.c: Likewise.
32237         * math/w_acoshf.c: Likewise.
32238         * math/w_acoshl.c: Likewise.
32239         * math/w_asin.c: Likewise.
32240         * math/w_asinf.c: Likewise.
32241         * math/w_asinl.c: Likewise.
32242         * math/w_atan2.c: Likewise.
32243         * math/w_atan2f.c: Likewise.
32244         * math/w_atan2l.c: Likewise.
32245         * math/w_atanh.c: Likewise.
32246         * math/w_atanhf.c: Likewise.
32247         * math/w_atanhl.c: Likewise.
32248         * math/w_exp10.c: Likewise.
32249         * math/w_exp10f.c: Likewise.
32250         * math/w_exp10l.c: Likewise.
32251         * math/w_fmod.c: Likewise.
32252         * math/w_fmodf.c: Likewise.
32253         * math/w_fmodl.c: Likewise.
32254         * math/w_j0.c: Likewise.
32255         * math/w_j0f.c: Likewise.
32256         * math/w_j0l.c: Likewise.
32257         * math/w_j1.c: Likewise.
32258         * math/w_j1f.c: Likewise.
32259         * math/w_j1l.c: Likewise.
32260         * math/w_jn.c: Likewise.
32261         * math/w_jnf.c: Likewise.
32262         * math/w_log.c: Likewise.
32263         * math/w_logf.c: Likewise.
32264         * math/w_logl.c: Likewise.
32265         * math/w_log10.c: Likewise.
32266         * math/w_log10f.c: Likewise.
32267         * math/w_log10l.c: Likewise.
32268         * math/w_log2.c: Likewise.
32269         * math/w_log2f.c: Likewise.
32270         * math/w_log2l.c: Likewise.
32271         * math/w_pow.c: Likewise.
32272         * math/w_powf.c: Likewise.
32273         * math/w_powl.c: Likewise.
32274         * math/w_remainder.c: Likewise.
32275         * math/w_remainderf.c: Likewise.
32276         * math/w_remainderl.c: Likewise.
32277         * math/w_scalb.c: Likewise.
32278         * math/w_scalbf.c: Likewise.
32279         * math/w_scalbl.c: Likewise.
32280         * math/w_sqrt.c: Likewise.
32281         * math/w_sqrtf.c: Likewise.
32282         * math/w_sqrtl.c: Likewise.
32283         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32284         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32285         used.
32286         * math/math_private.h: Declare __kernel_standard_f.
32287         * math/w_cosh.c: Remove cruft and optimize a bit.
32288         * math/w_coshf.c: Likewise.
32289         * math/w_coshl.c: Likewise.
32290         * math/w_exp2.c: Likewise.
32291         * math/w_exp2f.c: Likewise.
32292         * math/w_exp2l.c: Likewise.
32293         * math/w_hypot.c: Likewise.
32294         * math/w_hypotf.c: Likewise.
32295         * math/w_hypotl.c: Likewise.
32296         * math/w_lgamma.c: Likewise.
32297         * math/w_lgamma_r.c: Likewise.
32298         * math/w_lgammaf.c: Likewise.
32299         * math/w_lgammaf_r.c: Likewise.
32300         * math/w_lgammal.c: Likewise.
32301         * math/w_lgammal_r.c: Likewise.
32302         * math/w_sinh.c: Likewise.
32303         * math/w_sinhf.c: Likewise.
32304         * math/w_sinhl.c: Likewise.
32305         * math/w_tgamma.c: Likewise.
32306         * math/w_tgammaf.c: Likewise.
32307         * math/w_tgammal.c: Likewise.
32308         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32309         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32310         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32311         Minor optimizations.  Pretty printing.  Remove cruft.
32312         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32313         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32314         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32315         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32316         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32317         * sysdeps/i386/fpu/e_asin.S: Likewise.
32318         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32319         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32320         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32321         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32322         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32323         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32324         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32325         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32326         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32327         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32328         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32329         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32330         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32331         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32332         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32333         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32334         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32335         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32336         * sysdeps/i386/fpu/e_log.S: Likewise.
32337         * sysdeps/i386/fpu/e_log10.S: Likewise.
32338         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32339         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32340         * sysdeps/i386/fpu/e_log2.S: Likewise.
32341         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32342         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32343         * sysdeps/i386/fpu/e_logf.S: Likewise.
32344         * sysdeps/i386/fpu/e_logl.S: Likewise.
32345         * sysdeps/i386/fpu/e_pow.S: Likewise.
32346         * sysdeps/i386/fpu/e_powf.S: Likewise.
32347         * sysdeps/i386/fpu/e_powl.S: Likewise.
32348         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32349         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32350         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32351         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32353         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32354         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32355         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32356         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32357         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32358         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32360         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32361         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32362         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32363         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32364         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32365         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32367         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32368         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32375         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32377         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32378         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32379         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32380         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32381         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32382         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32383         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32384         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32385         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32386         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32387         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32388         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32389         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32391         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32392         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32393         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32394         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32395         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32396         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32397         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32398         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32399         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32400         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32401         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32402         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32403         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32404         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32405         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32406         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32407         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32408         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32409         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32410         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32412         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32413         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32414         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32415         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32416         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32417         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32418         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32419         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32422         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32423         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32424         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32425         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32427         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32428         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32429         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32430         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32431         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32433         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32434         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32435         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32436         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32437         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32438         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32439         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32440         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32441         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32442         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32444         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32445         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32446         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32447         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32448         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32449         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32450         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32451         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32452         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32453         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32454         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32455         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32456         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32457         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32458         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32459         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32460         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32461         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32463         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32465         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32466         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32467         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32468         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32469         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32470         (__isnanf): Likewise.
32471         (__isinf_ns): Likewise.
32472         (__isinf_nsf): Likewise.
32473         (__finite): Likewise.
32474         (__finitef): Likewise.
32475         (__ieee754_sqrt): Define as macro.
32476         (__ieee754_sqrtf): Define as macro.
32477         (__ieee754_sqrtl): Define as macro.
32478         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32479         inlined copy.
32480         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32481         __FINITE_MATH_ONLY__ consistent.
32482         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32484 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32486         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32487         of rawmemchr.
32489         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32491 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32493         * po/ja.po: Update from translation team.
32495 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32497         * locale/programs/locarchive.c (prepare_address_space): New function.
32498         (create_archive, enlarge_archive, open_archive): Use it.
32500         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32501         inside [SHARED], where it is used.
32503         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32505         * nss/getent.c (netgroup_keys): Remove unused variable.
32506         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32508 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32510         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32511         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32513         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32514         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32515         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32516         * math/Makefile (libm-calls): Add s_isinf_ns.
32517         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32518         * math/multc3.c: Likewise.
32519         * math/s_casin.c: Likewise.
32520         * math/s_casinf.c: Likewise.
32521         * math/s_casinl.c: Likewise.
32522         * math/s_ccos.c: Likewise.
32523         * math/s_ccosf.c: Likewise.
32524         * math/s_ccosl.c: Likewise.
32525         * math/s_ctan.c: Likewise.
32526         * math/s_ctanf.c: Likewise.
32527         * math/s_ctanh.c: Likewise.
32528         * math/s_ctanhf.c: Likewise.
32529         * math/s_ctanhl.c: Likewise.
32530         * math/s_ctanl.c: Likewise.
32531         * math/w_fmod.c: Likewise.
32532         * math/w_fmodf.c: Likewise.
32533         * math/w_fmodl.c: Likewise.
32534         * math/w_remainder.c: Likewise.
32535         * math/w_remainderf.c: Likewise.
32536         * math/w_remainderl.c: Likewise.
32537         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32538         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32541         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32542         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32543         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32544         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32546         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32547         of the number.
32548         * stdio-common/printf_fphex.c: Likewise.
32549         * stdio-common/printf_size.c: Likewise.
32551         * math/e_exp10.c: Include math_private.h using <...> not "...".
32552         * math/e_exp10f.c: Likewise.
32553         * math/e_exp10l.c: Likewise.
32554         * math/e_exp2l.c: Likewise.
32555         * math/e_j0l.c: Likewise.
32556         * math/e_j1l.c: Likewise.
32557         * math/e_jnl.c: Likewise.
32558         * math/e_lgammal_r.c: Likewise.
32559         * math/e_rem_pio2l.c: Likewise.
32560         * math/e_scalb.c: Likewise.
32561         * math/e_scalbf.c: Likewise.
32562         * math/e_scalbl.c: Likewise.
32563         * math/k_cosl.c: Likewise.
32564         * math/k_sinl.c: Likewise.
32565         * math/k_tanl.c: Likewise.
32566         * math/s_cacoshf.c: Likewise.
32567         * math/s_catan.c: Likewise.
32568         * math/s_catanf.c: Likewise.
32569         * math/s_catanh.c: Likewise.
32570         * math/s_catanhf.c: Likewise.
32571         * math/s_catanhl.c: Likewise.
32572         * math/s_catanl.c: Likewise.
32573         * math/s_ccosh.c: Likewise.
32574         * math/s_ccoshf.c: Likewise.
32575         * math/s_ccoshl.c: Likewise.
32576         * math/s_cexp.c: Likewise.
32577         * math/s_cexpf.c: Likewise.
32578         * math/s_cexpl.c: Likewise.
32579         * math/s_clog.c: Likewise.
32580         * math/s_clog10.c: Likewise.
32581         * math/s_clog10f.c: Likewise.
32582         * math/s_clog10l.c: Likewise.
32583         * math/s_clogf.c: Likewise.
32584         * math/s_clogl.c: Likewise.
32585         * math/s_csin.c: Likewise.
32586         * math/s_csinf.c: Likewise.
32587         * math/s_csinh.c: Likewise.
32588         * math/s_csinhf.c: Likewise.
32589         * math/s_csinhl.c: Likewise.
32590         * math/s_csinl.c: Likewise.
32591         * math/s_csqrt.c: Likewise.
32592         * math/s_csqrtf.c: Likewise.
32593         * math/s_csqrtl.c: Likewise.
32594         * math/s_ctan.c: Likewise.
32595         * math/s_ctanf.c: Likewise.
32596         * math/s_ctanh.c: Likewise.
32597         * math/s_ctanhf.c: Likewise.
32598         * math/s_ctanhl.c: Likewise.
32599         * math/s_ctanl.c: Likewise.
32600         * math/s_ldexp.c: Likewise.
32601         * math/s_ldexpf.c: Likewise.
32602         * math/s_ldexpl.c: Likewise.
32603         * math/s_significand.c: Likewise.
32604         * math/s_significandf.c: Likewise.
32605         * math/s_significandl.c: Likewise.
32606         * math/w_acos.c: Likewise.
32607         * math/w_acosf.c: Likewise.
32608         * math/w_acosh.c: Likewise.
32609         * math/w_acoshf.c: Likewise.
32610         * math/w_acoshl.c: Likewise.
32611         * math/w_acosl.c: Likewise.
32612         * math/w_asin.c: Likewise.
32613         * math/w_asinf.c: Likewise.
32614         * math/w_asinl.c: Likewise.
32615         * math/w_atan2.c: Likewise.
32616         * math/w_atan2f.c: Likewise.
32617         * math/w_atan2l.c: Likewise.
32618         * math/w_atanh.c: Likewise.
32619         * math/w_atanhf.c: Likewise.
32620         * math/w_atanhl.c: Likewise.
32621         * math/w_cosh.c: Likewise.
32622         * math/w_coshf.c: Likewise.
32623         * math/w_coshl.c: Likewise.
32624         * math/w_dremf.c: Likewise.
32625         * math/w_exp10.c: Likewise.
32626         * math/w_exp10f.c: Likewise.
32627         * math/w_exp10l.c: Likewise.
32628         * math/w_exp2.c: Likewise.
32629         * math/w_exp2f.c: Likewise.
32630         * math/w_fmod.c: Likewise.
32631         * math/w_fmodf.c: Likewise.
32632         * math/w_fmodl.c: Likewise.
32633         * math/w_hypot.c: Likewise.
32634         * math/w_hypotf.c: Likewise.
32635         * math/w_hypotl.c: Likewise.
32636         * math/w_j0.c: Likewise.
32637         * math/w_j0f.c: Likewise.
32638         * math/w_j0l.c: Likewise.
32639         * math/w_j1.c: Likewise.
32640         * math/w_j1f.c: Likewise.
32641         * math/w_j1l.c: Likewise.
32642         * math/w_jn.c: Likewise.
32643         * math/w_jnf.c: Likewise.
32644         * math/w_jnl.c: Likewise.
32645         * math/w_lgamma.c: Likewise.
32646         * math/w_lgamma_r.c: Likewise.
32647         * math/w_lgammaf.c: Likewise.
32648         * math/w_lgammaf_r.c: Likewise.
32649         * math/w_lgammal.c: Likewise.
32650         * math/w_lgammal_r.c: Likewise.
32651         * math/w_log.c: Likewise.
32652         * math/w_log10.c: Likewise.
32653         * math/w_log10f.c: Likewise.
32654         * math/w_log10l.c: Likewise.
32655         * math/w_log2.c: Likewise.
32656         * math/w_log2f.c: Likewise.
32657         * math/w_log2l.c: Likewise.
32658         * math/w_logf.c: Likewise.
32659         * math/w_logl.c: Likewise.
32660         * math/w_pow.c: Likewise.
32661         * math/w_powf.c: Likewise.
32662         * math/w_powl.c: Likewise.
32663         * math/w_remainder.c: Likewise.
32664         * math/w_remainderf.c: Likewise.
32665         * math/w_remainderl.c: Likewise.
32666         * math/w_scalb.c: Likewise.
32667         * math/w_scalbf.c: Likewise.
32668         * math/w_scalbl.c: Likewise.
32669         * math/w_sinh.c: Likewise.
32670         * math/w_sinhf.c: Likewise.
32671         * math/w_sinhl.c: Likewise.
32672         * math/w_sqrt.c: Likewise.
32673         * math/w_sqrtf.c: Likewise.
32674         * math/w_sqrtl.c: Likewise.
32675         * math/w_tgamma.c: Likewise.
32676         * math/w_tgammaf.c: Likewise.
32677         * math/w_tgammal.c: Likewise.
32679         * po/ja.po: Update from translation team.
32681 2011-09-29  Andreas Jaeger  <aj@suse.de>
32683         [BZ #13179]
32684         * sunrpc/netname.c (netname2host): Fix logic.
32686         [BZ #6779]
32687         [BZ #6783]
32688         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32689         correctly.
32690         * math/w_remainder.c (__remainder): Likewise.
32691         * math/w_remainderf.c (__remainderf): Likewise.
32692         * math/libm-test.inc (remainder_test): Add test cases.
32694 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32696         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32697         sdiv_qrnnd.
32699 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32701         * string/test-memcmp.c: Avoid unncessary #defines.
32702         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32704 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32706         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32707         Use new sse2 version for core i3 - i7 as it's faster
32708         than sse42 version.
32709         (bit_Prefer_PMINUB_for_stringop): New.
32710         * sysdeps/x86_64/rawmemchr.S: Update.
32711         Replace with faster SSE2 version.
32712         * sysdeps/x86_64/memrchr.S: New file.
32713         * sysdeps/x86_64/memchr.S: Update.
32714         Replace with faster SSE2 version.
32716 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32718         * elf/dl-load.c (lose): Add cast to avoid warning.
32720 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32722         * po/ca.po: Update from translation team.
32724         * inet/getnetgrent_r.c: Hook up nscd.
32725         * nscd/Makefile (routines): Add nscd_netgroup.
32726         (nscd-modules): Add netgroupcache.
32727         (CFLAGS-netgroupcache.c): Define.
32728         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32729         (cache_search): Add const to second parameter.
32730         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32731         INNETGR.
32732         (dbs): Add netgrdb entry.
32733         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32734         (verify_persistent_db): Handle netgrdb.
32735         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32736         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32737         GETFDNETGR.
32738         (netgroup_response_header): Define.
32739         (innetgroup_response_header): Define.
32740         (datahead): Add netgroup_response_header and innetgroup_response_header
32741         elements.
32742         * nscd/nscd.conf: Add entries for netgroup cache.
32743         * nscd/nscd.h (dbtype): Add netgrdb.
32744         (_PATH_NSCD_NETGROUP_DB): Define.
32745         (netgroup_iov_disabled): Declare.
32746         (xmalloc, xcalloc, xrealloc): Move declarations here.
32747         (cache_search): Adjust prototype.
32748         Add netgroup-related prototypes.
32749         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32750         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32751         (__nscd_innetgr): Declare.
32752         * nscd/selinux.c (perms): Use access_vector_t as element type and
32753         add netgroup-related initializers.
32754         * nscd/netgroupcache.c: New file.
32755         * nscd/nscd_netgroup.c: New file.
32756         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32757         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32758         For four parameters use innetgr.
32759         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32760         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32761         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32762         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32764         * nscd/connections.c (register_traced_file): Don't register file
32765         for disabled databases.
32767 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32769         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32771         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32772         from tree and freeing node.
32774 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32776         * nss/nsswitch.c (__nss_database_lookup): Handle
32777         nss_parse_service_list out of memory case.
32779 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32781         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32782         out of memory case.
32784 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32786         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32787         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32788         pass it down.
32789         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32790         elf_machine_rela, elf_machine_lazy_rel.
32791         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32792         (ELF_DYNAMIC_DO_REL): Likewise.
32793         (ELF_DYNAMIC_DO_RELA): Likewise.
32794         (ELF_DYNAMIC_RELOCATE): Likewise.
32795         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32796         to ELF_DYNAMIC_DO_REL.
32797         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32798         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32799         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32800         elf_machine_rela.
32801         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32802         skip_ifunc, don't call ifunc function if non-zero.
32803         (elf_machine_rela): Likewise.
32804         (elf_machine_lazy_rel): Likewise.
32805         (elf_machine_lazy_rela): Likewise.
32806         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32807         (elf_machine_lazy_rel): Likewise.
32808         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32809         Likewise.
32810         (elf_machine_lazy_rel): Likewise.
32811         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32812         Likewise.
32813         (elf_machine_lazy_rel): Likewise.
32814         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32815         (elf_machine_lazy_rel): Likewise.
32816         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32817         (elf_machine_lazy_rel): Likewise.
32818         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32819         (elf_machine_lazy_rel): Likewise.
32820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32821         (elf_machine_lazy_rel): Likewise.
32822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32823         (elf_machine_lazy_rel): Likewise.
32824         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32825         (elf_machine_lazy_rel): Likewise.
32827 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32829         * nss/nss_files/files-init.c (_nss_files_init): Use static
32830         initialization for all the *_traced_file variables.
32832 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32834         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32836 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32838         [BZ #13226]
32839         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32841 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32843         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32844         Reread the line before reparsing it.
32846 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32848         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32850 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32851             Maxim Kuvyrkov  <maxim@codesourcery.com>
32852             Joseph Myers  <joseph@codesourcery.com>
32854         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32855         if needed for __stack_chk_guard.
32857 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32859         * sysdeps/posix/spawni.c (script_execute): Always define it.
32860         It will be optimized away if unused.
32861         (maybe_script_execute): New function.
32862         (__spawni): Call it.
32864         * Makerules: Don't include tls.make.
32865         (config-tls): Always set to thread.
32866         * tls.make.c: File removed.
32868 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32870         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32871         * config.make.in (CPPFLAGS-config): New substituted variable.
32873 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32875         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32877         [BZ #13192]
32878         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32879         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32881 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32883         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32884         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32886         (CALL_FAIL): Likewise.
32887         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32888         (CALL_FAIL): Macro removed.
32889         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32891 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32893         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32894         for __FINITE_MATH_ONLY__ == 1.
32896 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32898         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32899         __ieee754_sqrt instead of sqrt.
32900         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32901         __ieee754_sqrtf instead of sqrtf.
32902         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32903         __floorf instead of floorf.
32904         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32905         __floorf, __truncf instead of floorf, truncf.
32907 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32909         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32911         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32912         __extern_always_inline.
32913         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32914         32-bit.
32916 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32918         * elf/rtld.c (dl_main): Also relocate in dependency order when
32919         doing symbol dependency testing.
32921 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32924         Always define `refsym'.
32926 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32928         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32929         (__FD_ELT): Renamed from __FDELT.
32930         * misc/bits/select2.h (__FD_ELT): Likewise.
32931         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32932         __FD_MASK instead of __FDELT, __FDMASK.
32933         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32934         Likewise.
32935         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32936         Likewise.
32938         * elf/Makefile (gen-ldd): Fix pattern.
32940         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32941         (init_tls): Likewise.
32943 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32945         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32947 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32949         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32950         `struct cmsghdr *' instead of `void *'.
32951         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32952         Likewise.
32954 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32956         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32957         if non-absolute.
32958         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32959         ldd_rewrite_script.
32961 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32963         * configure.in: Remove --with-tls option.
32964         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32965         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32966         out in case it is missing.
32967         * sysdeps/ia64/elf/configure.in: Likewise.
32968         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32969         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32970         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32971         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32972         * sysdeps/sh/elf/configure.in: Likewise.
32973         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32974         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32975         * sysdeps/x86_64/elf/configure.in: Likewise.
32976         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32977         * sysdeps/mach/hurd/tls.h: Likewise.
32979         [BZ #13067]
32980         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32982         [BZ #13090]
32983         * configure.in: Fix use of AC_INIT.
32985         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32987 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32989         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32990         __set_errno.
32991         * malloc/hooks.c: Likewise.
32993         [BZ #11929]
32994         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32995         variables statically.
32996         (narenas): Initialize.
32997         (list_lock): Initialize.
32998         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32999         initializtion of main_arena and list_lock.  Small cleanups.
33000         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33001         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33002         Add initializers to main_arena and mp_.
33003         (malloc_state): Remove pagesize member.  Change all users to use
33004         GLRO(dl_pagesize).
33006         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33007         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33008         is always initialized.
33010         * malloc/malloc.c: Removed unused configurations and dead code.
33011         * malloc/arena.c: Likewise.
33012         * malloc/hooks.c: Likewise.
33013         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33015         * include/tls.h: Removed.  USE___THREAD must always be defined.
33016         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33017         * elf/dl-libc.c: Likewise.
33018         * elf/dl-tsd.c: Likewise.
33019         * include/errno.h: Likewise.
33020         * include/netdb.h: Likewise.
33021         * include/resolv.h: Likewise.
33022         * inet/herrno-loc.c: Likewise.
33023         * inet/herrno.c: Likewise.
33024         * malloc/arena.c: Likewise.
33025         * malloc/hooks.c: Likewise.
33026         * malloc/malloc.c: Likewise.
33027         * resolv/res-state.c: Likewise.
33028         * resolv/res_libc.c: Likewise.
33029         * sysdeps/i386/dl-machine.h: Likewise.
33030         * sysdeps/ia64/dl-machine.h: Likewise.
33031         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33032         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33033         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33034         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33035         * sysdeps/sh/dl-machine.h: Likewise.
33036         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33037         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33038         * sysdeps/unix/i386/sysdep.S: Likewise.
33039         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33040         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33045         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33049         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33050         * sysdeps/x86_64/dl-machine.h: Likewise.
33051         * tls.make.c: Likewise.
33053         * configure.in: Remove --with-__thread option.  Make tests for
33054         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33055         tls_model attribute fail if no support is available.  Remove
33056         USE_IN_LIBIO.
33057         * Makeconfig: Adjust for dropped configure option.  All features are
33058         now mandatory.
33059         * Makerules: Likewise.
33060         * Versions.def: Likewise.
33061         * argp/argp-fmtstream.c: Likewise.
33062         * argp/argp-fmtstream.h: Likewise.
33063         * argp/argp-help.c: Likewise.
33064         * assert/assert.c: Likewise.
33065         * config.h.in: Likewise.
33066         * config.make.in: Likewise.
33067         * configure: Likewise.
33068         * configure.in: Likewise.
33069         * csu/Versions: Likewise.
33070         * csu/init.c: Likewise.
33071         * elf/tst-audit2.c: Likewise.
33072         * elf/tst-tls10.c: Likewise.
33073         * elf/tst-tls10.h: Likewise.
33074         * elf/tst-tls11.c: Likewise.
33075         * elf/tst-tls12.c: Likewise.
33076         * elf/tst-tls14.c: Likewise.
33077         * elf/tst-tlsmod11.c: Likewise.
33078         * elf/tst-tlsmod12.c: Likewise.
33079         * elf/tst-tlsmod13.c: Likewise.
33080         * elf/tst-tlsmod13a.c: Likewise.
33081         * elf/tst-tlsmod14a.c: Likewise.
33082         * elf/tst-tlsmod15b.c: Likewise.
33083         * elf/tst-tlsmod16a.c: Likewise.
33084         * elf/tst-tlsmod16b.c: Likewise.
33085         * elf/tst-tlsmod7.c: Likewise.
33086         * elf/tst-tlsmod8.c: Likewise.
33087         * elf/tst-tlsmod9.c: Likewise.
33088         * gmon/gmon.c: Likewise.
33089         * grp/fgetgrent_r.c: Likewise.
33090         * grp/putgrent.c: Likewise.
33091         * hurd/fopenport.c: Likewise.
33092         * include/libc-symbols.h: Likewise.
33093         * include/tls.h: Likewise.
33094         * intl/gettextP.h: Likewise.
33095         * intl/loadinfo.h: Likewise.
33096         * locale/global-locale.c: Likewise.
33097         * locale/localeinfo.h: Likewise.
33098         * mach/devstream.c: Likewise.
33099         * malloc/arena.c: Likewise.
33100         * malloc/set-freeres.c: Likewise.
33101         * misc/err.c: Likewise.
33102         * misc/getttyent.c: Likewise.
33103         * misc/mntent_r.c: Likewise.
33104         * posix/getopt.c: Likewise.
33105         * posix/wordexp.c: Likewise.
33106         * pwd/fgetpwent_r.c: Likewise.
33107         * resolv/Versions: Likewise.
33108         * resolv/res_hconf.c: Likewise.
33109         * shadow/fgetspent_r.c: Likewise.
33110         * shadow/putspent.c: Likewise.
33111         * stdio-common/printf_fphex.c: Likewise.
33112         * stdio-common/tmpfile.c: Likewise.
33113         * stdlib/abort.c: Likewise.
33114         * stdlib/fmtmsg.c: Likewise.
33115         * sunrpc/auth_unix.c: Likewise.
33116         * sunrpc/clnt_perr.c: Likewise.
33117         * sunrpc/clnt_tcp.c: Likewise.
33118         * sunrpc/clnt_udp.c: Likewise.
33119         * sunrpc/clnt_unix.c: Likewise.
33120         * sunrpc/openchild.c: Likewise.
33121         * sunrpc/svc_simple.c: Likewise.
33122         * sunrpc/svc_tcp.c: Likewise.
33123         * sunrpc/svc_udp.c: Likewise.
33124         * sunrpc/svc_unix.c: Likewise.
33125         * sunrpc/xdr.c: Likewise.
33126         * sunrpc/xdr_array.c: Likewise.
33127         * sunrpc/xdr_rec.c: Likewise.
33128         * sunrpc/xdr_ref.c: Likewise.
33129         * sunrpc/xdr_stdio.c: Likewise.
33131 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33133         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33135 2011-07-03  Andreas Jaeger  <aj@suse.de>
33137         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33138         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33139         regenerate with gen-libm-tests.pl.
33141 2010-05-12  Petr Baudis  <pasky@suse.cz>
33143         [BZ #11589]
33144         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33145         around j0() zero points by switching to j1().
33146         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33147         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33148         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33149         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33151 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33153         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33154         instead of 0.
33155         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33156         instead of 0.
33157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33158         Patch in part by Pavel Roskin <proski@gnu.org>.
33160         [BZ #13138]
33161         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33162         realloc.
33163         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33164         Free memory block if necessary.
33166         [BZ #12847]
33167         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33168         be NULL.  Don't lock in this case.
33170 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33172         * elf/elf.h (ELFOSABI_GNU): New macro.
33173         (ELFOSABI_LINUX): Define to that.
33175 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33177         * string/strncat.c (strncat): Undef the symbol in case it has been
33178         defined in bits/string.h.
33180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33182         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33184         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33185         link map.
33187 2011-08-17  Andreas Jaeger  <aj@suse.de>
33189         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33191 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33192             Ian Lance Taylor  <iant@google.com>
33194         * math/libm-test.inc (lround_test): New testcase.
33195         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33197 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33199         * Makefile: Remove support for automatic cvs check-ins.
33200         * Makerules: Likewise.
33201         * config.make.in: Likewise.
33202         * configure.in: Likewise.
33203         * intl/Makefile: Likewise.
33204         * locale/Makefile: Likewise.
33205         * po/Makefile: Likewise.
33206         * posix/Makefile: Likewise.
33207         * sysdeps/gnu/Makefile: Likewise.
33208         * sysdeps/mach/hurd/Makefile: Likewise.
33209         * sysdeps/sparc/sparc32/Makefile: Likewise.
33211         [BZ #13118]
33212         * posix/Makefile (bug-regex32-ENV): Define.
33213         Patch by John Stanley <jpsinthemix@verizon.net>.
33215         * misc/Makefile (headers): Add bits/select2.h.
33216         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33217         * misc/bits/select2.h: New file.
33218         * include/bits/select2.h: New file.
33219         * debug/Makefile (routines): Add fdelt_chk.
33220         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33221         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33222         FD_ISSET.
33223         * debug/fdelt_chk.c: New file.
33225         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33226         * wcsmbs/test-wmemcmp.c: Likewise.
33227         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33228         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33230 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33232         * string/Makefile (strop-tests): Add memcmp.
33233         * string/test-wmemcmp.c: New file.
33234         * string/test-memcmp.c: Add wmemcmp support.
33236 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33238         [BZ #13153]
33239         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33240         2011-07-19 change.
33242         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33243         garbage value in a __mach_port_mod_refs call in the cases of the
33244         task-self and thread-self ports.
33246 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33248         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33250 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33252         * elf/dl-load.c (lose): Check for non-null L.
33254 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33256         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33258         * elf/dl-libc.c (dlerror_run): Pass back error code from
33259         dl_catch_error.
33261         [BZ #13123]
33262         * elf/dl-load.c (lose): Free l_origin if it is valid.
33264         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33265         names.
33266         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33267         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33268         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33269         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33270         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33271         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33273 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33275         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33276         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33277         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33278         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33279         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33280         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33281         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33282         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33283         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33284         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33286 2011-08-15  Alan Modra  <amodra@gmail.com>
33288         [BZ #13092]
33289         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33290         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33291         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33292         ppc_mcount to static-only-routines.
33293         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33294         __mcount_internal.
33295         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33296         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33298 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33300         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33301         for finite and infinity parameters.
33303 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33306         and add nop instructions for throughput optimization.
33307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33309 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33311         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33312         aligned copy for power7 with vector-scalar instructions.
33313         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33315 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33318         AVX check.
33320 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33322         [BZ #13144]
33323         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33324         last change.
33326 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33328         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33329         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33330         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33331         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33332         clock_gettime.
33334 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33336         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33337         Forgot to demangle the pointer.
33339         * sysdeps/i386/sysdep.h: Define atom_text_section.
33340         * sysdeps/x86_64/sysdep.h: Likewise.
33341         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33342         section with atom_text_section.
33343         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33344         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33345         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33347         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33349         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33350         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33351         already be defined.  Change to take two parameters and don't assign
33352         result to variable.  Adjust all users.
33353         Define INTERNAL_GETTIME if not already defined.
33354         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33355         call.
33356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33357         HAVE_CLOCK_GETTIME_VSYSCALL.
33358         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33361         gettimeofday vsyscall, just use time.
33363 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33366         <errno.h>.
33368 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33370         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33371         syscall on x86-64.
33372         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33373         syscall.
33374         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33375         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33376         syscall if possible.
33378 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33380         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33381         e_ident.  Don't pass to find_mapsXX.
33382         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33384 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33387         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33388         * sysdeps/x86_64/multiarch/strchr.S: Update.
33389         Check bit_slow_BSF bit.
33390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33391         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33392         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33394 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33396         [BZ #13134]
33397         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33398         before glibc 2.15.
33399         (tryshell): Define.
33400         (__spawni): Change last parameter to be flag.  Test
33401         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33402         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33403         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33404         * posix/spawni.c: Likewise.
33405         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33406         * posix/spawnp.c: Likewise.  Change normal version to use
33407         SPAWN_XFLAGS_USE_PATH.
33408         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33409         SPAWN_XFLAGS_TRY_SHELL.
33411         [BZ #13150]
33412         * posix/glob.h: Remove gcc 1.x support.
33414         [BZ #13068]
33415         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33417 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33420         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33421         strrchr-sse2-bsf
33422         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33423         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33424         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33425         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33426         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33427         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33429 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33431         * sysdeps/x86_64/wcscmp.S: New file.
33433         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33434         wcscmp-c wcscmp-sse2
33435         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33436         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33437         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33438         * wcsmbs/wcscmp.c: Allow renaming.
33440 2011-09-05  David S. Miller  <davem@davemloft.net>
33442         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33443         stack slot, rather than the struct return pointer slot.
33444         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33445         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33447         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33449 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33451         * po/ja.po: Update from translation team.
33453         [BZ #13144]
33454         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33455         kernel in 64-bit binaries.
33457 2011-09-01  David S. Miller  <davem@davemloft.net>
33459         * elf/elf.h (HWCAP_SPARC_*): Move to..
33460         * sysdeps/sparc/sysdep.h: this new file and add new values.
33461         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33462         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33463         _DL_HWCAP_COUNT to 24.
33464         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33465         entries.
33466         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33467         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33468         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33469         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33470         instead of magic constants.
33471         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33473 2011-08-31  David S. Miller  <davem@davemloft.net>
33475         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33477         Reimplement to do errno handling inline.
33478         (SYSCALL_ERROR_HANDLER): New macro.
33479         (__SYSCALL_STRING): Do not do errno handling in asm.
33480         (__CLONE_SYSCALL_STRING): Delete.
33481         (__INTERNAL_SYSCALL_STRING): Delete.
33482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33483         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33484         (PSEUDO): Reimplement to do errno handling inline.
33485         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33486         (SYSCALL_ERROR_HANDLER): New macro.
33487         (__SYSCALL_STRING): Do not do errno handling in asm.
33488         (__CLONE_SYSCALL_STRING): Delete.
33489         (__INTERNAL_SYSCALL_STRING): Delete.
33490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33491         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33492         i386.
33493         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33494         (inline_syscall*): Add 'err' argument.
33495         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33496         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33497         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33498         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33500         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33501         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33503 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33505         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33507 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33509         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33510         directive.
33512 2011-08-24  David S. Miller  <davem@davemloft.net>
33514         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33516 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33518         * elf/Makefile: Add rules to build and run unload8 test.
33519         * elf/unload8.c: New file.
33520         * elf/unload8mod1.c: New file.
33521         * elf/unload8mod1x.c: New file.
33522         * elf/unload8mod2.c: New file.
33523         * elf/unload8mod3.c: New file.
33525         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33526         it wasn't used.
33528 2011-08-23  David S. Miller  <davem@davemloft.net>
33530         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33531         subtract stack bias.
33532         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33533         %sp not %fp in calculations.
33534         (_JMPBUF_UNWINDS_ADJ): Likewise.
33536         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33537         (aio_suspend): Call it to force an exception region around the
33538         AIO_MISC_WAIT() invocation.
33540 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33542         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33543         backslash.
33545 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33547         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33548         protection macro.
33549         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33550         and <dl-machine.h>.
33551         (Elf64_FuncDesc): Remove.
33553 2011-08-22  David S. Miller  <davem@davemloft.net>
33555         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33556         sigaltstack check, add missing cfi directives.
33557         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33558         missing cfi directives, and sigaltstack handling.
33560 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33562         [BZ #11724]
33563         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33564         object is seen twice.
33565         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33567         * elf/Makefile (distribute): Add tst-initorder2.c.
33568         (tests): Add tst-initorder2.
33569         (modules-names): Add tst-initorder2a tst-initorder2b
33570         tst-initorder2c tst-initorder2d.  Add rules to build them.
33571         ($(objpfx)tst-initorder2.out): New rule.
33572         * elf/tst-initorder2.c: New file.
33573         * elf/tst-initorder2.exp: New file.
33575 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33577         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33579         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33580         dependencies back to end of function.
33582         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33583         $(elfobjdir)/ld.so.
33585 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33588         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33589         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33590         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33591         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33592         of __vdso_gettimeofday.
33593         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33594         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33595         attribute_hidden.
33596         (_libc_vdso_platform_setup): Remove initialization of
33597         __vdso_gettimeofday and __vdso_time.
33599 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33601         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33602         and fgetc_unlocked.
33603         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33604         getc_unlocked.
33606         * elf/dl-open.c (add_to_global): Report additions to the global scope
33607         for LD_DEBUG=scopes.
33608         (dl_open_worker): Also print scope of newly loaded dependencies.
33609         (_dl_show_scope): Indicate if there is no scope.
33611         [BZ #13114]
33612         * stdio-common/Makefile (tests): Add bug24.
33613         * stdio-common/bug24.c: New file.
33615 2011-08-19  Andreas Jaeger  <aj@suse.de>
33617         [BZ #13114]
33618         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33619         non-existant file when using close-on-exec mode.
33621 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33624         the very first instruction.
33626         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33627         the CFI state in the end.
33628         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33629         inclusion of dl-trampoline.h.
33630         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33632 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33634         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33635         expectations for long double.
33637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33638         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33640 2011-08-14  David S. Miller  <davem@davemloft.net>
33642         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33643         artificual limit depends upon the system page size.
33645 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33647         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33648         * resolv/Makefile: Define CFLAGS-libresolv.
33650 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33652         * nss/makedb.c (compute_tables): Make variables used in nested
33653         function static.
33655 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33657         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33658         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33659         if buffer was too small.
33661         * elf/pldd.c (main): Attach to all threads in the process.
33662         Rewrite /proc handling to use *at functions.
33664 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33666         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33667         specifies first scope to show.
33668         (dl_open_worker): Update callers.  Move printing scope of new
33669         object to before the relocation.
33670         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33671         * sysdeps/generic/ldsodefs.h: Update declaration.
33673         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33674         string for the scope number.
33676 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33678         * nscd/servicescache.c (cache_addserv): Make sure written is always
33679         initialized.
33681 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33683         * sysdeps/i386/i486/bits/atomic.h
33684         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33685         statement expression, so as to suppress "set but not used" warning.
33686         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33688         * string/strncat.c (STRNCAT): Use prototype definition.
33690         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33691         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33692         -Iprograms here.
33693         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33694         (localedef-modules): Add localedef.
33695         (locale-modules): Add locale.
33697         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33698         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33699         to avoid a warning.
33701 2011-08-14  David S. Miller  <davem@davemloft.net>
33703         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33704         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33706 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33708         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33709         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33710         * elf/rtld.c (dl_main): Set l_name of vDSO.
33711         Call _dl_show_scope when DL_DEBUG_SCOPES.
33712         (process_dl_debug): Recognize scopes flag and also set it for all.
33713         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33714         Declare _dl_show_scope.
33716         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33717         (do_dlopen): Pass caller_dlopen to dl_open.
33718         (__libc_dlopen_mode): Initialize caller_dlopen.
33720         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33721         of libc.  Make tolower call locale-independent.  Optimize a bit by
33722         using isdigit instead of isalnum.
33723         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33725 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33727         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33728         was a dependency or dynamically loaded.
33730 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33732         * intl/l10nflist.c: Allow architecture-specific pop function.
33733         * sysdeps/x86_64/l10nflist.c: New file.
33735         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33736         classification.
33738 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33740         * include/dirent.h: Add libc_hidden_proto for scandirat and
33741         scandirat64.  Don't declare __scandirat64.
33742         * dirent/scandirat.c: Add libc_hidden_def.
33743         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33744         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33746 2011-08-10  David S. Miller  <davem@davemloft.net>
33748         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33749         enum.
33750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33754 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33756         * Versions.def [libc]: Add GLIBC_2.15.
33757         * dirent/Makefile (routines): Add scandirat and scandirat64.
33758         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33759         GLIBC_2.15.
33760         * dirent/dirent.h: Declare scandirat and scandirat64.
33761         * dirent/scandirat.c: New file.
33762         * dirent/scandirat64.c: New file.
33763         * sysdeps/wordsize-64/scandirat.c: New file.
33764         * sysdeps/wordsize-64/scandirat64.c: New file.
33765         * dirent/opendir.c: Define opendirat.
33766         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33767         using scandirat.
33768         * dirent/scandir64.c: Adjust for scandir.c change.
33769         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33770         __scandirat64, and __scandir_cancel_handler.
33771         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33772         additional parameter and use openat instead of open (outside of ld.so).
33773         Add new __opendir as wrapper around __opendirat.
33774         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33775         here without requiring old scandirat implementation.
33777 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33779         * dirent/scandir.c (cancel_handler): Renamed to
33780         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33781         defined.  Adjust users.
33782         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33783         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33785 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33787         * string/test-string.h (IMPL): Use __STRING to expand name and then
33788         stringify it.
33790         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33791         of cleanups.
33793 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33795         * string/Makefile: Update.
33796         (strop-tests): Append strncat.
33797         * string/test-wcscmp.c: New file.
33798         New comprehensive test for wcscmp.
33799         * string/test-strcmp.c: Update.
33800         (WIDE): New define.
33802 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33804         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33805         line.
33807 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33810         encoding to ACE if AI_IDN.
33812 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33814         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33815         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33817 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33819         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33820         Fix overflow bug in strncat.
33821         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33823         * string/test-strncat.c: Update.
33824         Add new tests for checking overflow bugs.
33826 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33829         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33830         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33831         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33832         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33833         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33834         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33835         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33836         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33839         (USE_AS_STRCAT): Define.
33840         Add strcat and strncat support.
33841         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33843 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33845         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33846         __n bigger than INT_MAX+1.
33847         (__strncmp_g): Likewise.
33849 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33851         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33852         * libio/stido.h: Likewise.
33854         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33855         (AF_NFC): Define.
33856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33857         (AF_NFC): Define.
33859         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33860         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33861         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33862         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33865         [BZ #13021]
33866         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33867         installed.
33869         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33870         typo.
33871         (_dl_x86_64_save_sse): Likewise.
33873 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33876         OSXSAVE.
33877         (_dl_x86_64_save_sse): Likewise.
33879         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33881         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33883 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33886         change.
33887         (_dl_x86_64_save_sse): Use correct AVX check.
33889 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33891         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33892         bug in strncpy/strncat.
33893         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33895 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33897         * string/tester.c (test_strcat): Add tests for different alignments
33898         of source and destination.
33899         (test_strncat): Likewise.
33901 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33903         [BZ #12852]
33904         * posix/glob.c (glob): Check passed in values before using them in
33905         expressions to avoid some overflows.
33906         (glob_in_dir): Likewise.
33908         [BZ #13007]
33909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33910         check for AVX enablement so that we don't crash with old kernels and
33911         new hardware.
33912         * elf/tst-audit4.c: Add same checks here.
33913         * elf/tst-audit6.c: Likewise.
33915         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33917 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33919         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33921 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33923         * po/cs.po: Update from translation team.
33924         * po/bg.po: Likewise.
33926 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33928         * misc/sys/cdefs.h: Add support for const attribute.
33929         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33930         to gnu_dev_{major,minor,makedev} functions.
33932 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33934         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33936 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33938         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33939         strlen results.
33941 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33944         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33945         register in order to avoid conflicts with the soft frame pointer
33946         being held in r11 when necessary.
33947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33948         (INTERNAL_VSYSCALL_NCS): Likewise.
33950 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33952         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33953         * elf/dl-fini.c (_dl_fini): Adjust caller.
33954         * elf/dl-close.c (_dl_close_worker): Likewise.
33955         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33957 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33959         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33960         "aux_cache->nlibs < 0".
33962         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33963         in the reload-count case.
33965 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33968         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33969         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33970         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33971         * sysdeps/x86_64/multiarch/strcat.S: New file.
33972         * sysdeps/x86_64/multiarch/strncat.S: New file.
33973         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33974         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33975         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33976         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33978         (USE_AS_STRCAT): Define.
33979         Add strcat and strncat support.
33980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33981         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33982         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33983         * string/strncat.c: Update.
33984         (USE_AS_STRNCAT): Define.
33985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33986         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33987         and i7.
33988         * sysdeps/x86_64/multiarch/init-arch.h
33989         (bit_Prefer_PMINUB_for_stringop): New.
33990         (index_Prefer_PMINUB_for_stringop): Likewise.
33991         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33992         bit_Prefer_PMINUB_for_stringop.
33994 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33996         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33997         buffer64.
33998         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33999         of casting of buffer.
34000         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34001         buffer32 and buffer64.
34002         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34003         writes instead of casting of buffer.
34004         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34005         buffer32.
34006         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34007         casting of buffer.
34009 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34011         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34013 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34015         * nscd/nscd.c (termination_handler): Don't do anything for a database
34016         if it has not yet been initialized.
34018 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34020         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34022 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34024         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34026 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34028         * po/nl.po: Update from translation team.
34029         * po/sv.po: Likewise.
34031 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34033         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34034         now disallowed by GCC.
34036         * configure.in (use-default-link): Default to yes if a test -shared
34037         link meets our qualifications.
34038         * configure: Regenerated.
34040         * config.make.in (output-format): New variable.
34041         * configure.in: Check for ld --print-output-format support.
34042         * configure: Regenerated.
34043         * Makerules ($(common-objpfx)format.lds)
34044         [$(output-format) != unknown]: Just use $(output-format),
34045         instead of the linker-script munging.
34047 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34049         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34050         of $(common-objpfx)shlib.lds.
34051         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34053         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34054         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34056         * configure.in (-z relro check): Adjust test code to add a large
34057         writable data section after it.
34058         * configure: Regenerated.
34060 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34062         * configure.in (-z relro check): Fix test code to make the variable
34063         truly const.
34064         * configure: Regenerated.
34066 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34068         * nscd/nscd.h (struct traced_file): Define.
34069         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34070         elements.  Add traced_files.
34071         (inotify_fd): Declare.
34072         (register_traced_file): Declare.
34073         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34074         (inotify_fd): Export.
34075         (resolv_conf_descr): Remove.
34076         (nscd_init): Move inotify descriptor creation to main.
34077         Don't register files for notification here.
34078         (register_traced_file): New function.
34079         (invalidate_cache): Don't use reset_res to determine whether to call
34080         res_init, go through the list of registered files.
34081         (main_loop_poll): The inotify descriptors are now stored in the
34082         structures for the traced files.
34083         (main_loop_epoll): Likewise
34084         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34085         to __nss_disable_nscd.
34086         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34087         for a database anymore.  Check the records for all the registered
34088         files instead.
34089         * nss/Makefile (libnss_files-routines): Add files-init.
34090         (libnss_db-routines): Add db-init.
34091         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34092         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34093         * nss/nss_db/db-init.c: New file.
34094         * nss/nss_files/files-init.c: New file.
34095         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34096         __nss_lookup_function.
34097         (__nss_lookup_function): Call nss_load_library.
34098         (nss_load_all_libraries): New function.
34099         (__nss_disable_nscd): Take parameter with callback function for files
34100         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34101         used for the cached services.
34102         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34103         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34104         options for features to all the files in nscd.
34106         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34108 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34110         * csu/elf-init.c (__libc_csu_init): Comment typo.
34112 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34114         * po/pl.po: Update from translation team.
34115         * po/ja.po: Likewise.
34116         * po/ru.po: Likewise.
34117         * po/ko.po: Likewise.
34118         * po/fr.po: Likewise.
34120 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34122         * configure.in (.ctors/.dtors header and trailer check):
34123         Use an empirical test on a built program.
34124         * configure: Regenerated.
34126         * configure.in (-z relro check): Use an empirical test on a built DSO.
34127         Detect, but do not require, on ia64.
34128         * configure: Regenerated.
34130         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34131         Update tests that use readelf to use $READELF instead.
34132         * configure: Regenerated.
34134 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34136         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34137         if the result is not used.
34139 2011-07-05  Andreas Jaeger  <aj@suse.de>
34141         [BZ#9696]
34142         * stdlib/tst-strtod.c: Add testcase.
34144 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34146         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34147         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34148         The latter has a higher limit.  Take additional parameter to pass to
34149         the new function.
34150         (__pathconf): Pass file to __statfs_link_max.
34151         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34152         __statfs_link_max.
34153         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34154         __statfs_link_max.
34156         [BZ #12868]
34157         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34158         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34159         Handle Lustre.
34160         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34161         (__statfs_filesize_max): Likewise.
34162         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34164 2011-07-05  Andreas Jaeger  <aj@suse.de>
34166         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34168 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34170         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34171         `status' variable.
34172         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34173         Likewise.
34175 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34177         * Makefile (strop-tests): Add strncat.
34178         * string/test-strncat.c: New file.
34180 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34182         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34184 2011-06-21  Andreas Jaeger  <aj@suse.de>
34186         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34187         Copy rule from iconvdata/Makefile.
34189 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34191         [BZ #12922]
34192         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34193         but no long options are defined, just return 'W'.
34195 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34197         [BZ #9696]
34198         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34200 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34202         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34203         netgroups to read.
34204         (innetgr): Likewise.
34206 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34208         * config.make.in (install_root): Default to $(DESTDIR).
34210 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34214 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34216         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34218         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34219         containing directory rather than embedding absolute directory names.
34221         * scripts/check-local-headers.sh: Rewritten using awk.
34222         Match by word, not by line.  Print error messages for matches.
34223         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34225         * Makerules [shlib-lds-flags empty]:
34226         ($(common-objpfx)libc_pic.opts): New target.
34227         ($(common-objpfx)libc_pic.os.clean): New target.
34228         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34230         * config.make.in (OBJCOPY): New variable.
34231         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34232         * configure: Regenerated.
34234         * config.make.in (use-default-link): New variable.
34235         * configure.in (use_default_link): Grok --with-default-link to set it.
34236         * configure: Regenerated.
34237         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34238         (shlib-lds, shlib-lds-flags): Define to empty.
34240         * Makerules (shlib-lds): New variable.
34241         (shlib-lds-flags): New variable.
34242         (build-shlib, build-moduile, build-module-asneeded): Use it.
34243         ($(common-objpfx)libc.so): Use $(shlib-lds).
34244         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34245         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34247         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34248         DT_FLAGS/DT_FLAGS_1 with zero flags.
34250         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34251         linker script munging.
34253 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34255         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34256         as 128-bit value.
34257         * crypt/sha512.c (sha512_process_block): Perform total addition using
34258         128-bit if possible.
34259         (__sha512_finish_ctx): Likewise.
34260         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34261         as 64-bit value.
34262         * crypt/sha256.c (SWAP64): Define.
34263         (sha256_process_block): Perform total addition using 64-bit if
34264         possible.
34265         (__sha256_finish_ctx): Likewise.
34267 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34269         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34271         * nscd/hstcache.c (cache_addhst): Likewise.
34272         * nscd/grpcache.c (cache_addgr): Likewise.
34273         * nscd/aicache.c (addhstaiX): Likewise
34274         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34276 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34278         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34280         * nscd/hstcache.c (cache_addhst): Likewise.
34281         * nscd/grpcache.c (cache_addgr): Likewise.
34282         * nscd/aicache.c (addhstaiX): Likewise
34284 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34286         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34287         domain only when needed.
34289 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34292         is always restored.
34294 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34296         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34297         are re-adding the entry.
34298         * nscd/servicescache.c (cache_addserv): Likewise.
34300 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34302         * sysdeps/generic/dl-irel.h: fix protection against multiple
34303         inclusions.
34304         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34306 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34308         [BZ #12935]
34309         * malloc/memusage.sh: Fix quoting in message.
34310         * debug/xtrace.sh: Likewise.
34312         * configure.in: Remove support for --experimental-malloc option, make
34313         it the default.
34314         * config.make.in: Likewise.
34315         * malloc/Makefile: Likewise.
34317 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34319         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34320         two-byte characters.
34322 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34324         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34325         AC_CACHE_CHECK invocation.
34326         * configure: Regenerated.
34328         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34330 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34332         [BZ #12350]
34333         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34334         bit from old_res_options.
34336         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34338         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34339         value type for setfct.
34341 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34344         __gettimeofday instead of gettimeofday.
34346 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34348         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34350 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34355         info.
34357 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34360         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34361         strcpy-sse2-unaligned strncpy-sse2-unaligned
34362         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34363         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34364         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34365         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34366         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34367         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34368         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34369         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34370         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34371         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34372         (STRCPY): Support SSE2 and SSSE3 versions.
34374 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34376         [BZ #12874]
34377         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34378         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34379         kernels which artificially limit size of requests.
34381 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34384         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34385         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34386         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34387         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34388         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34389         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34390         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34391         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34392         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34393         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34394         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34395         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34396         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34397         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34399         Enable unaligned load optimization for Intel Core i3, i5 and i7
34400         processors.
34401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34402         Define.
34403         (index_Fast_Unaligned_Load): Define.
34404         (HAS_FAST_UNALIGNED_LOAD): Define.
34406 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34408         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34410 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34412         [BZ #12907]
34413         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34414         until it is clear that the information is realy needed.
34415         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34417 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34421 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34424         /sys/devices/system/cpu/online if it is usable.
34426         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34427         reading the information from the /proc filesystem to once a second.
34429 2011-06-21  Andreas Jaeger  <aj@suse.de>
34431         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34432         NULL after inclusion of kernel headers.
34434 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34436         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34437         calls to internal_setent.
34439         [BZ #12885]
34440         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34441         addresses using gethostbyname4_r ignore IPv4 addresses.
34443         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34444         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34446         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34448 2011-06-20  David S. Miller  <davem@davemloft.net>
34450         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34451         inclusions.
34452         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34454         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34455         (elf_irel): Use it.
34456         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34457         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34458         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34459         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34460         * sysdeps/x86_64/dl-irel.h: Likewise.
34462         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34463         * elf/dl-sym.c: Likewise.
34465 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34467         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34468         need to dereference resplen2.
34470 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34472         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34474 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34476         * Makeconfig: Define vardbdir and inst_vardbdir.
34477         * nss/Makefile: Add rules to install db-Makefile.
34479         * nss/nss_db/db-XXX.c: Cleanup.
34481         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34482         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34483         GLIBC_PRIVATE.
34484         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34485         * nss/makedb.c: Implement -g option to specify that value strings
34486         are generated and should not be added to table iterated over for
34487         get*ent calls.
34488         * nss/nss_db/db-initgroups.c: New file.
34490         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34491         interface.
34493         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34494         (internal_getgrouplist): Adjust to name change.
34495         Update use_initgroups_entry if this is not the first call.
34496         * nss/databases.def: Add initgroups entry.
34498         * nss/makedb.c (compute_tables): Check result of multiple hash table
34499         sizes to minimize maximum chain length.
34501 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34503         * Versions.def: Add entry for libnss_db.
34504         * shlib-versions: Likewise.
34505         * nss/Makefile: Add rules to build libnss_db.
34506         * nss/Versions: Add libnss_db information.  Organize libnss_files
34507         entries better.
34508         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34509         makedb progra.  Some minor improvements to generate smaller files.
34510         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34511         here from...
34512         * nss/makedb.c: ...here.
34513         Improve database format to be smaller and require less memory at
34514         runtime.
34515         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34516         db anymore.
34517         * nss/nss_db/db-netgrp.c: Likewise.
34518         * nss/nss_db/db-open.c: Likewise.
34519         * nss/nss_files/flies-XXX.x: Adjust comments.
34520         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34521         * nss/nss_files/files-grp.c: Likewise.
34522         * nss/nss_files/files-hosts.c: Likewise.
34523         * nss/nss_files/files-network.c: Likewise.
34524         * nss/nss_files/files-proto.c: Likewise.
34525         * nss/nss_files/files-pwd.c: Likewise.
34526         * nss/nss_files/files-rpc.c: Likewise.
34527         * nss/nss_files/files-service.c: Likewise.
34528         * nss/nss_files/files-sgrp.c: Likewise.
34529         * nss/nss_files/files-spwd.c: Likewise.
34530         * nss/nss_db/db-alias.c: Removed.
34531         * nss/nss_db/dummy-db.h: Removed.
34533 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34535         * nss/makedb.c: Rewritten to not use database library.
34536         * nss/Makefile: Update to build new makedb program.
34538 2011-06-14  Andreas Jaeger  <aj@suse.de>
34540         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34541         memset declaration.
34543 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34546         tmpbuf.
34548 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34550         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34551         * elf/Makefile ($(objpfx)ld.so): Likewise.
34553         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34554         Don't list ld.so twice in dependencies.
34556         * posix/bug-regex31.c: Include <stdlib.h>.
34558         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34560         * nis/nss_compat/compat-spwd.c
34561         (getspent_next_nss_netgr): Remove unused variable.
34562         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34564         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34565         nonmembers" output to use the right array.
34567         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34569         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34571         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34572         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34573         * catgets/gencat.c (read_input_file): Likewise.
34574         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34576         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34577         variable definition inside #if's controlling its use.
34579         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34581         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34583         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34585         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34586         unreachable code.
34588         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34590         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34591         * configure: Regenerated.
34593         * Makerules: Revert last change.
34594         * elf/Makefile: Likewise.
34596 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34598         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34599         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34600         (reloc-link): Likewise.
34602 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34604         * elf/Makefile: Add rules to build pldd.
34605         * elf/pldd.c: New file.
34606         * elf/pldd-xx.c: New file.
34608 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34610         * version.h: Update for 2.15 development version.
34612 2011-06-07  David S. Miller  <davem@davemloft.net>
34614         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34615         ifuncs.
34616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34617         elf_machine_lazy_rel): Likewise.
34618         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34620         elf_machine_lazy_rel): Likewise.
34621         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34622         dl_hwcap via passed in argument.
34623         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34624         Likewise.
34626 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34628         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34630 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34632         [BZ #12849]
34633         * manual/fdl-1.1.texi: New file, verbatim from:
34634         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34635         * manual/lgpl-2.1.texi: New file, verbatim from:
34636         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34637         * manual/Makefile (licenses): New variable, list those new file names.
34638         (texis): Use it.
34639         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34641         * manual/fdl.texi: File removed.
34642         * manual/lesser.texi: File removed.
34643         * manual/libc.texinfo (Copying, Documentation License):
34644         Use new @include file names, put @appendix directive before @include.
34646 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34648         [BZ #12841]
34649         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34650         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34651         (mq_open): Add __NTH.
34653 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34656         Assume Intel Core i3/i5/i7 processor if AVX is available.
34658 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34661         typo.
34663 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34665         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34666         memory.  Use alloca_account.  Fix memory leak when retrying.
34668 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34670         * version.h (RELEASE): Bump for 2.14 release.
34671         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34673         * config.make.in (RANLIB): Remove entry.
34675 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34677         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34678         (libc.pot): Work around missing support for .ksh extension in xgettext.
34680         [BZ #12684]
34681         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34682         if both request failed.
34683         (send_dg): In case of server errors clear resplen or *resplen2.
34685         [BZ #12454]
34686         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34687         when there are multiple maps.
34688         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34689         (_dl_fini): Remove test here.
34691         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34693 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34695         [BZ #12350]
34696         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34697         bit from old_res_options.
34698         (gaih_inet): Likewise.
34700         [BZ #11099]
34701         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34702         as signed.
34704         * resolv/res_init.c (res_setoptions): Make the code more compact.
34706         [BZ #11558]
34707         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34708         set RES_USEVC.
34710         [BZ #11634]
34711         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34713         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34715         [BZ #11781]
34716         * malloc/malloc.h: Declare malloc hook variables as volatile.
34718         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34719         in last patch.
34721         [BZ #11799]
34722         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34723         raise in the comment.
34724         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34725         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34726         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34728 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34730         [BZ #12811]
34731         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34732         grow the buffers more if it already has to be sufficient.
34733         (build_wcs_upper_buffer): Likewise.
34734         * posix/regexec.c (check_matching): Likewise.
34735         (clean_state_log_if_needed): Likewise.
34736         (extend_buffers): Don't enlarge buffers beyond size of the input
34737         buffer.
34738         Patches mostly by Emil Wojak <emil@wojak.eu>.
34739         * posix/bug-regex32.c: New file.
34740         * posix/Makefile (tests): Add bug-regex32.
34742         * locale/findlocale.c (_nl_find_locale): Return right away if
34743         _nl_explode_name failed.
34744         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34746         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34748         * debug/xtrace.sh: Unify messages.
34749         * malloc/memusage.sh: Likewise.
34751         [BZ #12813]
34752         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34753         time symbol from vDSO.  Substitute with vsyscall if not available.
34754         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34755         __vdso_time.
34757         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34758         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34759         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34760         Add sendmmsg and internal_sendmmsg.
34761         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34762         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34763         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34765         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34766         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34767         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34769 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34771         [BZ #12813]
34772         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34773         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34774         available.
34775         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34776         __vdso_getcpu.
34778         [BZ #12814]
34779         * iconvdata/Makefile (tests): Add bug-iconv9.
34780         * iconvdata/bug-iconv9.c: New file.
34782 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34784         [BZ #12814]
34785         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34787 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34789         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34790         (struct user_regs_struct): Change intcs field back to cs.
34792 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34794         * po/ja.po: Update from translation team.
34796 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34798         [BZ #12795]
34799         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34802 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34804         * stdlib/longlong.h: Update from GCC.
34806 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34808         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34809         parameter name.
34810         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34811         Add parameter name.
34812         (__sysconf): Pass it down.
34814 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34816         [BZ #12671]
34817         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34818         some situations.
34819         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34820         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34821         add in in __libc_use_alloca calls.  Adjust callers.
34822         (glob): Use malloc in some situations.
34824         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34825         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34826         pltexit.
34828 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34830         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34831         and CLOCK_BOOTTIME_ALARM.
34833         [BZ #12782]
34834         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34835         is returned.
34837         * string/_strerror.c (__strerror_r): Print negative errors as signed
34838         numbers.
34840         [BZ #12777]
34841         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34842         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34843         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34845         * configure.in: Fix typo in redirection and correct removal of test
34846         files in two cases.
34848         [BZ #12788]
34849         * locale/setlocale.c (new_composite_name): Fix test to check for
34850         identical name of all categories.
34852         [BZ #12792]
34853         * libio/filedoalloc.c (local_isatty): New function.
34854         (_IO_file_doallocate): Use local_isatty.
34855         * stdio-common/perror.c (perror): In case a new stream is used
34856         forward the stream error.
34857         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34858         error flag.
34860 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34862         [BZ #11869]
34863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34864         alloca.
34865         * include/alloca.h (extend_alloca_account): Define.
34867         [BZ #11857]
34868         * posix/regex.h: Fix comments with documentation of user-accessible
34869         fields after compilation and describe correct free'ing of pattern
34870         after re_compile_pattern.
34871         Patch by Reuben Thomas <rrt@sc3d.org>.
34873 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34875         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34876         and -mno-altivec to prevent the compiler from using Altivec and/or
34877         VSX instructions when the corresponding registers are not available.
34879 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34881         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34883 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34885         * libio/freopen.c (freopen): Use __dup2, not dup2.
34886         * libio/freopen64.c (freopen64): Likewise.
34888 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34890         [BZ #12775]
34891         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34892         * math/Makefile (tests): Add test-powl.
34893         (CFLAGS-test-powl.c): Define.
34894         * math/test-powl.c: New file.
34896 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34898         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34900 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34902         [BZ #11837]
34903         * iconvdata/gb18030.c: Update to GB18020-2005.
34905 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34907         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34908         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34909         Patch by Aharon Robbins <arnold@skeeve.com>.
34911         [BZ #11892]
34912         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34913         on the stack.
34915         [BZ #11895]
34916         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34917         through underflows.
34919         [BZ #12766]
34920         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34921         point to strings before performing equality test for error_one_per_line
34922         mode.
34924         [BZ #11697]
34925         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34927         [BZ #11820]
34928         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34929         (struct user_fpregs_struct): Avoid __uint*_t types.
34931         [BZ #6420]
34932         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34933         symbol info.  Use it instead of calling _dl_addr locally.
34934         (lock_and_info): New function.
34935         (tr_freehook): Call lock_and_info and pass symbol info as additional
34936         parameter to tr_where.
34937         (tr_mallochook): Likewise.
34938         (tr_reallochook): Likewise.
34939         (tr_memalignhook): Likewise.
34941         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34942         used and couldn't be at all thread-safe.
34944 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34946         * libio/freopen.c (freopen): Don't close old file descriptor
34947         before the new one is opened.  Instead dup the new file descriptor
34948         to the old one after the new stream is created.
34949         * libio/freopen64.c (freopen64): Likewise.
34950         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34951         * libio/fileops.c (_IO_new_file_close_it): Handle new
34952         _IO_FLAGS2_NOCLOSE flag.
34953         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34954         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34955         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34956         _IO_FLAGS2_NOCLOSE flag.
34957         * include/unistd.h: Add hidden_proto for dup3.
34958         Define __have_dup3.
34959         * io/dup3.c: Define hidden symbol.
34960         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34962         [BZ #7101]
34963         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34964         when an incomplete long option is used.
34965         * posix/tst-getopt_long1.c: New file.
34966         * posix/Makefile (tests): Add tst-getopt_long1.
34968         [BZ #10138]
34969         * scripts/config.guess: Update from autoconf-2.68.
34970         * scripts/config.sub: Likewise.
34972         [BZ #10157]
34973         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34974         tests into ...
34975         (has_cpuclock): ...this.  New function.
34976         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34977         macro here based on has_cpuclock code.
34979         [BZ #10149]
34980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34981         First byte (not low byte) is now always NUL.
34982         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34984         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34985         Use non-cancelable interfaces.
34987         [BZ #9809]
34988         * locale/iso-639.def: Add entry for Sorani.
34990         [BZ #11901]
34991         * include/stdlib.h: Move include protection to the right place.
34992         Define abort_msg_s.  Declare __abort_msg with it.
34993         * stdlib/abort.c (__abort_msg): Adjust type.
34994         * assert/assert.c (__assert_fail_base): New function.  Majority
34995         of code from __assert_fail.  Allocate memory for __abort_msg with
34996         mmap.
34997         (__assert_fail): Now call __assert_fail_base.
34998         * assert/assert-perr.c: Remove bulk of implementation.  Use
34999         __assert_fail_base.
35000         * include/assert.hL Declare __assert_fail_base.
35001         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35002         mmap.
35003         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35005 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35007         [BZ #11952]
35008         [BZ #12453]
35009         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35010         until all modules are registered in the DTV.
35011         * elf/Makefile: Add rules to build and run tst-tls19.
35012         * elf/tst-tls19.c: New file.
35013         * elf/tst-tls19mod1.c: New file.
35014         * elf/tst-tls19mod2.c: New file.
35015         * elf/tst-tls19mod3.c: New file.
35016         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35018         [BZ #12083]
35019         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35020         correctly.
35022         [BZ #12601]
35023         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35024         two-byte sequence errors.
35025         * iconvdata/Makefile (tests): Add bug-iconv8.
35026         * iconvdata/bug-iconv8.c: New file.
35028         [BZ #12626]
35029         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35030         buf2 definition.
35032         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35034         [BZ #12432]
35035         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35036         (dummy_getcfa): New function.
35037         (init): Get _Unwind_GetCFA address, use dummy if not found.
35038         (backtrace_helper): In recursion check, also check whether CFA changes.
35039         (__backtrace): Completely initialize arg.
35041         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35042         storing incomplete byte sequence in state object.  Avoid testing for
35043         guaranteed too small input if we know there is enough data available.
35045 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35047         * Makeconfig (+link-pie): Indent.
35048         * Rules (binaries-pie): Define if $(have-fpie) and
35049         $(build-shared).
35050         (binaries-shared): Also filter out $(binaries-pie).
35051         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35052         * nscd/Makefile (others-pie): Add nscd.
35053         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35054         ($(objpfx)nscd): Remove command override.
35055         * login/Makefile (others-pie): Add pt_chown.
35056         ($(objpfx)pt_chown): Remove command override.
35057         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35058         remove command overrides.
35060 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35062         * libio/tst_putwc.c: Fix error messages.
35064         [BZ #12724]
35065         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35066         currently writing and seek to current position when not.
35067         * libio/Makefile (tests): Add bug-fclose1.
35068         * libio/bug-fclose1.c: New file.
35070 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35072         [BZ #12511]
35073         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35074         don't set DF_1_NODELETE here.
35075         (do_lookup_x): When entering new entry test for copy relocation
35076         and if necessary set DF_1_NODELETE flag.
35077         * elf/tst-unique4.cc: New file.
35078         * elf/tst-unique4.h: New file.
35079         * elf/tst-unique4lib.cc: New file.
35080         * elf/Makefile: Add rules to build and run tst-unique4.
35081         Patch by Piotr Bury <pbury@goahead.com>.
35083 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35085         [BZ #12052]
35086         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35088         [BZ #12625]
35089         * misc/mntent_r.c (addmntent): Flush the stream after the output
35091         [BZ #12393]
35092         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35093         (is_trusted_path_normalize): Skip initial colon.  Append slash
35094         to empty buffer.  Duplicate is_trusted_path code but allow
35095         constructed patch to be prefix.
35096         (is_dst): Allow $ORIGIN followed by /.
35097         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35098         Correct testing of result of is_trusted_path_normalize
35099         (decompose_rpath): Fix warning.
35101 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35103         [BZ #11257]
35104         * grp/initgroups.c (internal_getgrouplist): When we found the service
35105         list through the initgroups entry in nsswitch.conf do not always
35106         continue on a successful lookup.  Don't always use the
35107         __nss_group_database value if it is set.
35108         * nss/nsswitch.conf (initgroups): Change action for successful db
35109         lookup to continue for compatibility.
35111 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35113         [BZ #11532]
35114         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35115         and CP774 modules.
35116         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35117         and CP774 modules.
35118         * iconvdata/tst-tables.sh: Likewise.
35119         * iconvdata/cp770.c: New file.
35120         * iconvdata/cp771.c: New file.
35121         * iconvdata/cp772.c: New file.
35122         * iconvdata/cp773.c: New file.
35123         * iconvdata/cp774.c: New file.
35124         * iconvdata/testdata/CP770: New file.
35125         * iconvdata/testdata/CP770..UTF8: New file.
35126         * iconvdata/testdata/CP771: New file.
35127         * iconvdata/testdata/CP771..UTF8: New file.
35128         * iconvdata/testdata/CP772: New file.
35129         * iconvdata/testdata/CP772..UTF8: New file.
35130         * iconvdata/testdata/CP773: New file.
35131         * iconvdata/testdata/CP773..UTF8: New file.
35132         * iconvdata/testdata/CP774: New file.
35133         * iconvdata/testdata/CP774..UTF8: New file.
35135         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35136         END CHARMAP line.
35137         * iconvdata/gen-8bit-gap.sh: Likewise.
35138         * iconvdata/gen-8bit.sh: Likewise.
35140         * locale/iso-639.def: Add ary entry.
35142         [BZ #11258]
35143         * locale/C-translit.h.in: Add U20A1 transliteration.
35145         [BZ #12178]
35146         * locale/iso-639.def: Add wae entry.
35147         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35149         [BZ #12545]
35150         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35151         for n.
35153         [BZ #12711]
35154         * locale/C-translit.h.in: Add entry for U20B9.
35155         Patch by pravin.d.s@gmail.com.
35157 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35159         [BZ #12713]
35160         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35161         ENAMETOOLONG use generic getcwd.
35162         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35163         in rtld.  Use *stat64.
35164         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35165         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35166         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35167         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35168         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35169         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35170         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35171         __fstatat64 macros.
35172         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35173         * dirent/rewinddir.c: Add libc_hidden_def.
35174         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35175         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35177         * include/dirent.h (__alloc_dir): Add flags parameter.
35178         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35179         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35180         __alloc_dir.
35181         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35182         from fdopendir if O_CLOEXEC is already set.
35184 2011-03-15  Alan Modra  <amodra@gmail.com>
35186         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35187         l_tls_firstbyte_offset non-zero.  Save padding offset in
35188         l_tls_firstbyte_offset for later use.
35189         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35190         freeing static tls block.
35192 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35194         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35195         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35196         being defined by the kernel headers.
35198 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35200         [BZ #12734]
35201         * resolv/resolv.h: Define RES_NOTLDQUERY.
35202         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35203         no-tld-query and set RES_NOTLDQUERY.
35204         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35205         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35206         modern BIND to search name as TLD unless forbidden.
35208 2011-05-07  Petr Baudis  <pasky@suse.cz>
35209             Ulrich Drepper  <drepper@gmail.com>
35211         [BZ #12393]
35212         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35213         (is_trusted_path): ...to here.
35214         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35215         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35216         using is_trusted_path_normalize() in setuid scripts.
35218 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35220         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35221         __BEGIN/__END_DECLS.
35223 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35226         NSS_STATUS_NOTFOUND if no record was found.
35228 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35230         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35231         (headers-not-in-tirpc): Remove rpc/netdb.h
35232         * resolv/netdb.h: Revert last change.
35234 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35236         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35237         circular dependency between libgcc.a and libc.a.
35239 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35241         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35242         * nis/Makefile: Don't install rpcsvc/*.
35243         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35244         instead of <rpc/types.h>.
35245         (MAXHOSTNAMELEN): Define.
35247 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35249         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35251 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35253         [BZ #12714]
35254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35255         gethostbyname4_r when IPv6 results are possible.
35257 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35259         [BZ #12723]
35260         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35261         _PC_PIPE_BUF handling.
35263 2011-04-30  Bruno Haible  <bruno@clisp.org>
35265         [BZ #12717]
35266         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35267         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35268         to 'int'.
35269         * inet/getnameinfo.c (getnameinfo): Likewise.
35271 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35273         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35274         to groups setting in database lookup.
35275         * nss/nsswitch.conf: Add initgroups entry.
35277 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35279         [BZ #12685]
35280         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35281         mode string.
35282         Patch by Eric Blake <eblake@redhat.com>.
35284 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35286         * sunrpc/Makefile (need-export-routines): Add svc_run.
35287         (routines): Remove svc_run.
35288         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35289         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35290         * sunrpc/svc_run.c (svc_run): Likewise.
35291         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35293 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35296         problem in reallocation in last patch.
35298 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35300         * sunrpc/Makefile: Move inclusion of Rules.
35302 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35304         * nss/nss_files/files-initgroups.c: New file.
35305         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35306         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35307         _nss_files_initgroups_dyn.
35309 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35311         * elf/elf.h (R_ARM_IRELATIVE): Define.
35313 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35315         * po/ru.po: Update from translation team.
35317 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35319         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35320         dependencies.
35322 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35324         [BZ #12653]
35325         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35326         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35327         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35329         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35331 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35333         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35334         differing bytes.
35335         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35336         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35337         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35339 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35341         [BZ #12420]
35342         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35343         storing it.
35344         * stdlib/bug-getcontext.c: New file.
35345         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35347 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35349         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35350         instructions into .machine "z9-109".
35351         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35352         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35354 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35356         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35357         between environment variables and auxiliary vector.
35359 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35361         * Makefile: Add rules to build linkobj/libc.so.
35362         * include/libc-symbols.h: Define libc_hidden_nolink.
35363         * include/rpc/auth.h: Mark functions which are to be hidden.
35364         * include/rpc/auth_des.h: Likewise.
35365         * include/rpc/auth_unix.h: Likewise.
35366         * include/rpc/clnt.h: Likewise.
35367         * include/rpc/des_crypt.h: Likewise.
35368         * include/rpc/key_prot.h: Likewise.
35369         * include/rpc/pmap_clnt.h: Likewise.
35370         * include/rpc/pmap_prot.h: Likewise.
35371         * include/rpc/pmap_rmt.h: Likewise.
35372         * include/rpc/rpc_msg.h: Likewise.
35373         * include/rpc/svc.h: Likewise.
35374         * include/rpc/svc_auth.h: Likewise.
35375         * include/rpc/xdr.h: Likewise.
35376         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35377         * nss/Makefile: Likewise.
35378         * sunrpc/Makefile: Don't install headers.  Build library with normal
35379         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35380         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35381         for the compat linking library.  Remove use of INTDEF/INTUSE.
35382         * sunrpc/auth_none.c: Likewise.
35383         * sunrpc/auth_unix.c: Likewise.
35384         * sunrpc/authdes_prot.c: Likewise.
35385         * sunrpc/authuxprot.c: Likewise.
35386         * sunrpc/clnt_gen.c: Likewise.
35387         * sunrpc/clnt_perr.c: Likewise.
35388         * sunrpc/clnt_raw.c: Likewise.
35389         * sunrpc/clnt_simp.c: Likewise.
35390         * sunrpc/clnt_tcp.c: Likewise.
35391         * sunrpc/clnt_udp.c: Likewise.
35392         * sunrpc/clnt_unix.c: Likewise.
35393         * sunrpc/des_crypt.c: Likewise.
35394         * sunrpc/des_soft.c: Likewise.
35395         * sunrpc/get_myaddr.c: Likewise.
35396         * sunrpc/key_call.c: Likewise.
35397         * sunrpc/key_prot.c: Likewise.
35398         * sunrpc/netname.c: Likewise.
35399         * sunrpc/pm_getmaps.c: Likewise.
35400         * sunrpc/pm_getport.c: Likewise.
35401         * sunrpc/pmap_clnt.c: Likewise.
35402         * sunrpc/pmap_prot.c: Likewise.
35403         * sunrpc/pmap_prot2.c: Likewise.
35404         * sunrpc/pmap_rmt.c: Likewise.
35405         * sunrpc/publickey.c: Likewise.
35406         * sunrpc/rpc_cmsg.c: Likewise.
35407         * sunrpc/rpc_common.c: Likewise.
35408         * sunrpc/rpc_dtable.c: Likewise.
35409         * sunrpc/rpc_prot.c: Likewise.
35410         * sunrpc/rpc_thread.c: Likewise.
35411         * sunrpc/rtime.c: Likewise.
35412         * sunrpc/svc.c: Likewise.
35413         * sunrpc/svc_auth.c: Likewise.
35414         * sunrpc/svc_authux.c: Likewise.
35415         * sunrpc/svc_raw.c: Likewise.
35416         * sunrpc/svc_run.c: Likewise.
35417         * sunrpc/svc_simple.c: Likewise.
35418         * sunrpc/svc_tcp.c: Likewise.
35419         * sunrpc/svc_udp.c: Likewise.
35420         * sunrpc/svc_unix.c: Likewise.
35421         * sunrpc/svcauth_des.c: Likewise.
35422         * sunrpc/xcrypt.c: Likewise.
35423         * sunrpc/xdr.c: Likewise.
35424         * sunrpc/xdr_array.c: Likewise.
35425         * sunrpc/xdr_float.c: Likewise.
35426         * sunrpc/xdr_intXX_t.c: Likewise.
35427         * sunrpc/xdr_mem.c: Likewise.
35428         * sunrpc/xdr_rec.c: Likewise.
35429         * sunrpc/xdr_ref.c: Likewise.
35430         * sunrpc/xdr_sizeof.c: Likewise.
35431         * sunrpc/xdr_stdio.c: Likewise.
35433 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35435         [BZ #12650]
35436         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35437         * sysdeps/ia64/dl-tls.h: Likewise.
35438         * sysdeps/powerpc/dl-tls.h: Likewise.
35439         * sysdeps/s390/dl-tls.h: Likewise.
35440         * sysdeps/sh/dl-tls.h: Likewise.
35441         * sysdeps/sparc/dl-tls.h: Likewise.
35442         * sysdeps/x86_64/dl-tls.h: Likewise.
35443         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35445 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35447         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35448         rpath element also skip the following colon.
35449         (expand_dynamic_string_token): Add is_path parameter and pass
35450         down to DL_DST_REQUIRED and _dl_dst_substitute.
35451         (decompose_rpath): Call expand_dynamic_string_token with
35452         non-zero is_path.  Ignore empty rpaths.
35453         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35454         with zero is_path.
35456 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35459         Make cancelable.
35461 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35463         [BZ #12655]
35464         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35465         Patch by Filipe David Manana <fdmanana@apache.org>.
35467 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35470         Maintain aligned stack.
35471         (CHECK_RSP): Remove unused macro.
35473 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35475         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35476         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35478 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35480         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35482         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35484 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35486         [BZ #12518]
35487         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35488         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35489         * sysdeps/x86_64/memmove.c: New file.
35490         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35491         (memcpy): Renamed to ...
35492         (__new_memcpy): This.
35493         (memcpy): Provide GLIBC_2_14 memcpy.
35494         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35495         (memcpy): Provide GLIBC_2_2_5 memcpy.
35497 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35499         [BZ #12631]
35500         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35502 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35504         * misc/syncfs.c: New file.
35505         * misc/Makefile (routines): Add syncfs.
35506         * posix/unistd.h: Declare syncfs.
35507         * sysdeps/unix/syscalls.list: Add syncfs.
35509 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35511         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35512         open_by_handle_at.
35513         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35514         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35516         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35518         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35519         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35521 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35523         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35524         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35525         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35527         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35529         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35531         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35532         sync_file_range.c with -fexceptions.
35533         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35534         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35535         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35536         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35537         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35538         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35539         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35540         sync_file_range as cancellation point
35541         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35542         now a wrapper around __call_sync_file_range with cancellation handling.
35543         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35544         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35545         function name to __call_sync_file_range.
35546         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35547         Add call_sync_file_range.
35549 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35552         bits/timex.h.
35554 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35556         * iconv/iconv.h: Fix typo in comment.
35557         * io/fcntl.h: Likewise.
35558         * libio/stdio.h: Likewise.
35559         * posix/spawn.h: Likewise.
35560         * posix/unistd.h: Likewise.
35561         * stdlib/stdlib.h: Likewise.
35562         * time/time.h: Likewise.
35563         * wcsmbs/wchar.h: Likewise.
35565         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35566         open_by_handle): Add.
35567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35568         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35569         Augment a few comments.
35570         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35572         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35574         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35575         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35576         open_by_handle.
35578         * io/fcntl.h (AT_EMPTY_PATH): Define.
35580 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35582         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35583         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35584         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35585         to...
35586         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35587         * Versions.def: Add GLIBC_2.14.
35588         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35589         Export.
35591 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35593         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35594         round counter.
35595         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35597 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35599         [BZ #12597]
35600         * string/test-strncmp.c (do_page_test): New function.
35601         (check2): Likewise.
35602         (test_main): Call check2.
35603         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35605 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35607         [BZ #12587]
35608         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35609         Handle cache information in CPU leaf 4.
35610         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35612 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35614         [BZ #12583]
35615         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35616         character representation.
35617         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35619 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35621         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35622         END(__isnan) to END(__isnanf) to match function entry point/label
35623         EALIGN(__isnanf,...).
35625 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35627         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35629 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35631         [BZ #12510]
35632         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35633         copy from the symbol referenced in the relocation to initialize the
35634         used variable.
35635         Patch by Piotr Bury <pbury@goahead.com>.
35636         * elf/Makefile: Add rules to build and tst-unique3.
35637         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35638         * elf/tst-unique3.cc: New file.
35639         * elf/tst-unique3.h: New file.
35640         * elf/tst-unique3lib.cc: New file.
35641         * elf/tst-unique3lib2.cc: New file.
35643         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35645 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35647         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35648         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35649         to _start.
35651 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35653         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35654         to-be-loaded object along a path to loader is ld.so.
35656 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35657             Ulrich Drepper  <drepper@gmail.com>
35659         * sysdeps/x86_64/memset.S: After aligning destination, code
35660         branches to different locations depending on the value of
35661         misalignment, when multiarch is enabled. Fix this.
35663 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35665         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35666         Set _x86_64_preferred_memory_instruction for AMD processsors.
35667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35668         Set bit_Prefer_SSE_for_memop for AMD processors.
35670 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35672         * libio/fmemopen.c (fmemopen): Optimize a bit.
35674 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35676         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35678 2011-03-03  Roland McGrath  <roland@redhat.com>
35680         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35682 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35684         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35685         __bzero_ultra1 instead of __memset_ultra1.
35687 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35688             Ulrich Drepper  <drepper@gmail.com>
35690         [BZ #12509]
35691         * include/link.h (struct link_map): Add l_orig_initfini.
35692         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35693         returning unsuccessfully.
35694         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35695         close of a file loaded at startup, restore the original l_initfini
35696         list.
35697         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35698         list, store the pointer.
35699         * elf/Makefile ($(objpfx)noload-mem): New rule.
35700         (noload-ENV): Define.
35701         (tests): Add $(objpfx)noload-mem.
35702         * elf/noload.c: Include <memcheck.h>.
35703         (main): Call mtrace.  Close all opened handles.
35705 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35707         [BZ #12454]
35708         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35709         dependencies are missing.
35711 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35713         Fix __if_freereq crash: Unlike the generic version which uses free,
35714         Hurd needs munmap.
35715         * sysdeps/mach/hurd/ifreq.h: New file.
35717 2011-01-27  Petr Baudis  <pasky@suse.cz>
35718             Ulrich Drepper  <drepper@gmail.com>
35720         [BZ 12445]#
35721         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35722         to extend_alloca().
35723         * stdio-common/bug23.c: New file.
35724         * stdio-common/Makefile (tests): Add bug23.
35726 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35727             Ulrich Drepper  <drepper@gmail.com>
35729         [BZ #12489]
35730         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35731         before performing relro protection.  At old place add assertion
35732         to make sure nothing changed.
35734 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35735             Glauber de Oliveira Costa  <glommer@gmail.com>
35737         * elf/elf.h: Add new ARM TLS relocs.
35739 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35742         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35743         cast from r3.
35744         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35745         'tests' variable.
35746         * sysdeps/wordsize-64/tst-writev.c: New file.
35748 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35750         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35751         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35752         insns in _dl_start to prevent a TOC reference before relocs are
35753         resolved.
35755 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35757         [BZ #12469]
35758         * Makeconfig: Remove RANLIB definition.
35759         * Makerules: Don't use RANLIB.
35760         * aclocal.m4: Remove ranlib test.
35761         * configure.in: No need to check for ranlib.
35762         * elf/rtld-Rules: Don't use RANLIB.
35764 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35766         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35767         protection macro.
35768         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35769         inclusion protection macro.
35771         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35772         SIGRTMIN and SIGRTMAX and print information in that case only when
35773         SIGRTMIN is defined.
35775 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35777         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35778         arginfo fn returning -1.
35780         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35781         and thousands string is zero terminated.
35783 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35786         sysdeps/unix/sysv/linux/bits/socket.h.
35788 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35790         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35791         (__CPU_COUNT): Remove old macros.
35792         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35793         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35794         (__CPU_ALLOC, __CPU_FREE): Add macros.
35795         (__sched_cpualloc, __sched_cpufree): Add declarations.
35797 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35799         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35800         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35801         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35802         (readdhstai): Return value of addhstaiX call.
35803         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35804         (addgrbyX): Return value returned by cache_addgr.
35805         (readdgrbyname): Return value returned by addgrbyX.
35806         (readdgrbygid): Likewise.
35807         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35808         (addpwbyX): Return value returned by cache_addpw.
35809         (readdpwbyname): Return value returned by addhstbyX.
35810         (readdpwbyuid): Likewise.
35811         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35812         (addservbyX): Return value returned by cache_addserv.
35813         (readdservbyname): Return value returned by addservbyX:
35814         (readdservbyport): Likewise.
35815         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35816         (addhstbyX): Return value returned by cache_addhst.
35817         (readdhstbyname): Return value returned by addhstbyX.
35818         (readdhstbyaddr): Likewise.
35819         (readdhstbynamev6): Likewise.
35820         (readdhstbyaddrv6): Likewise.
35821         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35822         (readdinitgroups): Return value returned by addinitgroupsX.
35823         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35824         (prune_cache): Keep track of timeout value of re-added entries.
35825         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35826         * nscd/nscd.h: Adjust prototypes of readd* functions.
35828 2011-02-04  Roland McGrath  <roland@redhat.com>
35830         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35831         (nis_stats): Likewise.
35832         * nis/nis_modify.c (nis_modify): Likewise.
35833         * nis/nis_remove.c (nis_remove): Likewise.
35834         * nis/nis_add.c (nis_add): Likewise.
35836         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35838         * posix/fnmatch_loop.c: Add some consts.
35840         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35842 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35844         [BZ #12460]
35845         * config.make.in (config-cflags-novzeroupper): Define.
35846         * configure.in: Substitute libc_cv_cc_novzeroupper.
35847         * elf/Makefile (AVX-CFLAGS): Define.
35848         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35849         (CFLAGS-tst-auditmod4a.c): Likewise.
35850         (CFLAGS-tst-auditmod4b.c): Likewise.
35851         (CFLAGS-tst-auditmod6b.c): Likewise.
35852         (CFLAGS-tst-auditmod6c.c): Likewise.
35853         (CFLAGS-tst-auditmod7b.c): Likewise.
35854         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35856 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35858         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35859         function to the callback.
35860         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35862 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35864         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35865         of errno.
35867 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35869         [BZ #11724]
35870         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35871         of constructors.
35872         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35873         of destructors.
35874         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35876         [BZ #11724]
35877         * elf/Makefile: Add rules to build and run new test.
35878         * elf/tst-initorder.c: New file.
35879         * elf/tst-initorder.exp: New file.
35880         * elf/tst-initordera1.c: New file.
35881         * elf/tst-initordera2.c: New file.
35882         * elf/tst-initordera3.c: New file.
35883         * elf/tst-initordera4.c: New file.
35884         * elf/tst-initorderb1.c: New file.
35885         * elf/tst-initorderb2.c: New file.
35886         * elf/tst-order-a1.c: New file.
35887         * elf/tst-order-a2.c: New file.
35888         * elf/tst-order-a3.c: New file.
35889         * elf/tst-order-a4.c: New file.
35890         * elf/tst-order-b1.c: New file.
35891         * elf/tst-order-b2.c: New file.
35892         * elf/tst-order-main.c: New file.
35893         New test case by George Gensure <werkt0@gmail.com>.
35895 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35898         decoding ACE if AI_CANONIDN.
35900 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35902         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35904 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35906         * version.h (RELEASE): Bump for 2.13 release.
35907         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35909         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35912         MADV_NOHUGEPAGE.
35913         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35914         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35915         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35916         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35917         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35918         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35920         * posix/getconf.c: Update copyright year.
35921         * catgets/gencat.c: Likewise.
35922         * csu/version.c: Likewise.
35923         * debug/catchsegv.sh: Likewise.
35924         * debug/xtrace.sh: Likewise.
35925         * elf/ldconfig.c: Likewise.
35926         * elf/ldd.bash.in: Likewise.
35927         * elf/sprof.c (print_version): Likewise.
35928         * iconv/iconv_prog.c: Likewise.
35929         * iconv/iconvconfig.c: Likewise.
35930         * locale/programs/locale.c: Likewise.
35931         * locale/programs/localedef.c: Likewise.
35932         * malloc/memusage.sh: Likewise.
35933         * malloc/mtrace.pl: Likewise.
35934         * nscd/nscd.c (print_version): Likewise.
35935         * nss/getent.c: Likewise.
35937         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35938         PF_CAIF, and PF_ALG.
35939         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35941 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35943         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35944         (modules-names): Use them.
35945         (ifunc-test-modules, ifunc-pie-tests): Define.
35946         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35947         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35948         (test-extras): Likewise.
35949         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35950         $(compile-command.c).
35951         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35952         (all-built-dso): Define.
35953         (check-textrel.out, check-execstack.out): Depend on it.
35955         * configure.in: Don't override --enable-multi-arch.
35957 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35959         [BZ #6812]
35960         * nscd/hstcache.c (tryagain): Define.
35961         (cache_addhst): Return tryagain not notfound for temporary errors.
35962         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35963         failed.
35965 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35967         [BZ #10563]
35968         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35969         to make the syscall.
35970         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35972         [BZ #12378]
35973         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35974         and fall back to matching as normal character if the string ends before
35975         the matching ']' is found.  This is what POSIX requires.
35976         * posix/testfnm.c: Adjust test result.
35977         * posix/globtest.sh: Adjust test result.  Add new test.
35978         * posix/tst-fnmatch.input: Likewise.
35979         * posix/tst-fnmatch2.c: Add new test.
35981 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35983         * elf/Makefile (check-execstack): Revert last change.  Depend on
35984         check-execstack.h.
35985         (check-execstack.h): New target.
35986         (generated): Add check-execstack.h.
35987         * elf/check-execstack.c: Include "check-execstack.h".
35988         (main): Revert last change.
35989         (handle_file): Return zero if GNU_STACK is absent and
35990         DEFAULT_STACK_PERMS doesn't include PF_X.
35992 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35994         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35995         in child fails because the descriptor is already closed.
35996         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35997         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35998         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36000         [BZ #12397]
36001         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36002         syscall.
36004         [BZ #10484]
36005         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36006         temporary buffer used to handle multi lookups locally.
36007         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36009 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36011         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36012         loader is ld.so.
36014 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36016         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36017         alignment for SSE2.
36019 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36021         [BZ #12394]
36022         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36023         characters.  When rounding increased number of integer digits recompute
36024         number of groups.
36025         * stdio-common/tst-grouping.c: New file.
36026         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36028 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36030         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36031         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36033         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36034         void.
36035         * bits/select.h: Likewise.
36037 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36039         * po/ja.po: Update from translation team.
36041 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36043         [BZ #11155]
36044         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36045         implementation just like for lxstat, fxstatat, et al.
36047 2010-12-27  Jim Meyering  <meyering@redhat.com>
36049         [BZ #12348]
36050         * posix/regexec.c (build_trtable): Return failure indication upon
36051         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36053 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36055         [BZ #12201]
36056         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36057         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36058         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36059         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36061         [BZ #12207]
36062         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36064         [BZ #12204]
36065         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36066         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36068 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36070         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36071         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36072         script has SORT_BY_INIT_PRIORITY.
36073         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36074         NO_CTORS_DTORS_SECTIONS is defined.
36075         * elf/soinit.c: Likewise.
36076         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36077         NO_CTORS_DTORS_SECTIONS is defined.
36078         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36079         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36080         * sysdeps/sh/init-first.c: Likewise.
36081         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36083 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36085         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36086         always use the slow path.
36088 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36090         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36091         similar rule which adds the sysdep directories to the header search in
36092         order to pick up the correct platform stackinfo.h.
36093         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36094         perform test if it is, otherwise return successfully without testing.
36095         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36096         DEFAULT_STACK_PERMS define in stackinfo.h.
36097         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36098         defined in stackinfo.h.
36099         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36100         DEFAULT_STACK_PERMS defined in stackinfo.h.
36101         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36102         * sysdeps/ia64/stackinfo.h: Likewise.
36103         * sysdeps/s390/stackinfo.h: Likewise.
36104         * sysdeps/sh/stackinfo.h: Likewise.
36105         * sysdeps/sparc/stackinfo.h: Likewise.
36106         * sysdeps/x86_64/stackinfo.h: Likewise.
36107         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36108         PF_X for powerpc64.  Retain PF_X for powerpc32.
36110 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36112         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36113         accurately.
36114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36115         GETDENTS_64BIT_ALIGNED.
36117 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36119         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36121 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36123         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36124         _GNU_SOURCE.
36126         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36127         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36128         Remove __restrict.
36129         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36130         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36132 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36134         [BZ #11655]
36135         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36136         are initialized.
36138 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36140         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36142 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36144         * po/it.po: Update from translation team.
36146 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36149         unused codes.
36151 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36153         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36155 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36157         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36158         specially.
36159         (gaih_getanswer_slice): Likewise.
36161 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36165 2010-05-31  Petr Baudis  <pasky@suse.cz>
36167         [BZ #11149]
36168         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36169         silently even in the chroot mode.
36171 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36173         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36174         last patch a bit.  Pretty printing
36176 2010-05-31  Petr Baudis <pasky@suse.cz>
36178         [BZ #10085]
36179         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36180         initialization of skip_initgroups_dyn.
36182 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36184         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36187 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36189         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36191 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36193         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36194         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36195         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36196         ($(objpfx)tst-fnmatch-mem): New rule.
36197         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36198         * posix/tst-fnmatch.c (main): Call mtrace.
36200 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36203         Support Intel processor model 6 and model 0x2c.
36205 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36207         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36208           signed comparison.
36210 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36212         [BZ #12205]
36213         * string/test-strncasecmp.c (check_result): New function.
36214         (do_one_test): Use it.
36215         (check1): New function.
36216         (test_main): Use it.
36217         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36218         Support strcasecmp and strncasecmp.
36220 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36222         [BZ #12194]
36223         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36224         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36226 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36228         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36229         IFUNC support.
36230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36231         memset-x86-64.
36232         * sysdeps/x86_64/multiarch/bzero.S: New file.
36233         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36234         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36235         * sysdeps/x86_64/multiarch/memset.S: New file.
36236         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36238         Set bit_Prefer_SSE_for_memop for Intel processors.
36239         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36240         Define.
36241         (index_Prefer_SSE_for_memop): Define.
36242         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36244 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36246         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36247         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36249 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36251         [BZ #12191]
36252         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36253         (__x86_64_raw_data_cache_size_half): Likewise.
36254         (__x86_64_raw_shared_cache_size): Likewise.
36255         (__x86_64_raw_shared_cache_size_half): Likewise.
36257         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36258         (__x86_64_raw_data_cache_size_half): Likewise.
36259         (__x86_64_raw_shared_cache_size): Likewise.
36260         (__x86_64_raw_shared_cache_size_half): Likewise.
36261         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36262         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36263         and __x86_64_raw_shared_cache_size_half.  Round
36264         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36265         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36266         to multiple of 256 bytes.
36268 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36270         [BZ #12167]
36271         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36272         of inacessible symlinks.  Verify result of symlink before returning it.
36273         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36274         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36276 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36278         * math/math.h (isinf): Fix typo in comment.
36280 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36282         * po/da.po: Update from translation team.
36284 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36286         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36287         is added to the list.
36289 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36290             Ulrich Drepper  <drepper@gmail.com>
36292         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36293         the global list here.  Move code to...
36294         (_dl_add_to_namespace_list): ...here.  New function.
36295         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36296         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36297         * elf/dl-load.c (lose): Don't remove the element from the list.
36298         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36299         (_dl_map_object): Likewise.
36301 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36303         [BZ #12159]
36304         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36305         into all bytes of SSE register.
36306         Patch by Richard Li <richardpku@gmail.com>.
36308 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36310         [BZ #12140]
36311         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36312         perturbing.
36314 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36316         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36317         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36319         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36321         submachine.
36322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36324 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36326         * include/dlfcn.h (__RTLD_SECURE): Define.
36327         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36328         mode & __RTLD_SECURE instead.
36329         (open_path): Rename preloaded parameter to secure.
36330         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36331         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36332         * elf/dl-deps.c (openaux): Likewise.
36333         * elf/rtld.c (struct map_args): Remove is_preloaded.
36334         (map_doit): Don't use it.
36335         (dl_main): Likewise.
36336         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36337         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36339 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36341         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36342         (sysd-rules-targets): Remove duplicates.
36343         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36344         rtld-%.$o dependency.
36346 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36348         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36349         _dl_map_object do it.
36351 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36353         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36354         fast fma builtins, define the macros in the C99 standard.
36355         (FP_FAST_FMAF): Likewise.
36356         (FP_FAST_FMAL): Likewise.
36357         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36359         * bits/mathdef.h: Update copyright year.
36360         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36362 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36364         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36365         builtins, define the macros in the C99 standard.
36366         (FP_FAST_FMAF): Likewise.
36367         (FP_FAST_FMAL): Likewise.
36368         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36369         multiply/add.
36370         (FP_FAST_FMAF): Likewise.
36372 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36374         [BZ #3268]
36375         * math/libm-test.inc (fma_test): Some new testcases.
36376         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36377         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36378         y and infinite z.  Do multiplication by C already in long double.
36379         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36381         y and infinite z.  Do bitwise or of inexact bit into u.d.
36382         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36383         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36384         * sysdeps/i386/fpu/s_fma.S: Removed.
36385         * sysdeps/i386/fpu/s_fmal.S: Removed.
36387 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36389         [BZ #3268]
36390         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36392         computation is not scheduled after fetestexcept.  Fix value
36393         of minimum denormal long double.
36395 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36397         [BZ #3268]
36398         * math/libm-test.inc (fma_test): Add some more tests.
36399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36400         correctly.
36402 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36404         * scripts/data/localplt-s390-linux-gnu.data: New file.
36405         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36407 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36409         [BZ #3268]
36410         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36411         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36412         instead of dbl-64.
36413         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36414         inlines.
36415         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36417         if one of x and y is very large and the other is subnormal.
36418         * sysdeps/s390/fpu/s_fmaf.c: New file.
36419         * sysdeps/s390/fpu/s_fma.c: New file.
36420         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36421         * sysdeps/powerpc/fpu/s_fma.S: New file.
36422         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36423         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36424         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36426 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36428         [BZ #3268]
36429         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36430         fma tests.
36431         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36432         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36433         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36434         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36435         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36436         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36437         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36439 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36441         [BZ #12078]
36442         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36443         * posix/bug-regex31.input: Add test case.
36445 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36447         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36448         * posix/bug-regex31.input: New file.
36450         [BZ #12078]
36451         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36452         (parse_sub_exp): Fix last change, use postorder.
36454         * posix/bug-regex31.c: New file.
36455         * posix/Makefile: Add rules to build and run bug-regex31.
36457         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36459         [BZ #12078]
36460         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36462         [BZ #12108]
36463         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36464         to have entries in sys_siglist.
36466         [BZ #12093]
36467         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36468         be NULL.
36470 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36472         [BZ #3268]
36473         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36474         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36475         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36476         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36477         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36478         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36479         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36480         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36481         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36482         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36483         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36484         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36485         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36486         * math/ftestexcept.c (fetestexcept): Likewise.
36487         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36488         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36489         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36490         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36491         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36492         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36493         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36495 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36497         [BZ #12107]
36498         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36499         newline.
36501 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36503         * string/bug-strstr1.c: New file.
36504         * string/Makefile: Add rules to build and run bug-strstr1.
36506 2010-10-05  Eric Blake  <eblake@redhat.com>
36508         [BZ #12092]
36509         * string/str-two-way.h (two_way_long_needle): Always clear memory
36510         when skipping input due to the shift table.
36512 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36514         [BZ #12005]
36515         * malloc/mcheck.c: Handle large requests.
36517         [BZ #12077]
36518         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36519         for strncmp and strncasecmp.
36520         * string/stratcliff.c: Add tests for strcmp and strncmp.
36521         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36523 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36525         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36526         __set_fpscr.
36528 2010-09-30  Andreas Jaeger  <aj@suse.de>
36530         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36531         (CGROUP_SUPER_MAGIC): Define.
36532         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36533         Handle btrfs and cgroup file systems.
36534         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36535         Likewise.
36537 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36539         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36540         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36542 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36544         [BZ #12067]
36545         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36546         trying to locate the ELF header.
36548 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36550         [BZ #11611]
36551         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36552         Mask out sign-bit copies when constructing f_fsid.
36554 2010-09-24  Petr Baudis <pasky@suse.cz>
36556         * debug/stack_chk_fail_local.c: Add missing licence exception.
36557         * debug/warning-nop.c: Likewise.
36559 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36561         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36562         implementing getdents64 using getdents syscall, set d_type if
36563         __ASSUME_GETDENTS32_D_TYPE.
36565 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36567         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36568         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36570 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36572         [BZ #12037]
36573         * posix/unistd.h: Undo change of feature selection for ftruncate from
36574         2010-01-11.
36576 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36578         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36579         detection.
36581 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36583         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36584         fanotify_mark.
36585         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36587 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36589         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36590         variables after CHECK_SP call.
36591         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36593 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36594             Ulrich Drepper  <drepper@redhat.com>
36596         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36597         re-relocationg ld.so.
36598         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36599         _dl_init_paths call.
36600         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36601         here anymore.
36603 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36605         * resolv/res_init.c (__res_vinit): Count the default server we added.
36607 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36608             Ulrich Drepper  <drepper@redhat.com>
36610         [BZ #11968]
36611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36612         (____longjmp_chk): Use %ebx for saving value across system call.
36613         Add unwind info.
36615 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36617         * manual/Makefile: Don't mix pattern rules with normal rules.
36619 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36621         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36622         operation.
36623         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36624         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36625         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36626         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36628         Likewise.
36630 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36632         [BZ #11979]
36633         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36634         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36636 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36638         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36639         * sysdeps/x86_64/addmul_1.S: Likewise.
36640         * sysdeps/x86_64/lshift.S: Likewise.
36641         * sysdeps/x86_64/mul_1.S: Likewise.
36642         * sysdeps/x86_64/rshift.S: Likewise.
36643         * sysdeps/x86_64/sub_n.S: Likewise.
36644         * sysdeps/x86_64/submul_1.S: Likewise.
36646 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36648         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36649         Define __sched_param instead of SCHED_* and sched_param when
36650         <bits/sched.h> is included with __need_schedparam defined.
36651         * bits/sched.h [__need_schedparam]
36652         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36653         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36654         (__defined_schedparam): Define to 1.
36655         (__sched_param): New structure, identical to sched_param.
36656         (__need_schedparam): Undefine.
36658 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36660         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36661         (epoll_create1): Declare.
36663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36665 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36667         [BZ #7066]
36668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36669         shifting retval into place.
36671 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36673         * nis/rpcsvc/nis.h: Update copyright notice.
36674         * nis/rpcsvc/nis.x: Likewise.
36675         * nis/rpcsvc/nis_callback.h: Likewise.
36676         * nis/rpcsvc/nis_callback.x: Likewise.
36677         * nis/rpcsvc/nis_object.x: Likewise.
36678         * nis/rpcsvc/nis_tags.h: Likewise.
36679         * nis/rpcsvc/yp.h: Likewise.
36680         * nis/rpcsvc/yp.x: Likewise.
36681         * nis/rpcsvc/ypupd.h: Likewise.
36682         * nis/yp_xdr.c: Likewise.
36683         * nis/ypupdate_xdr.c: Likewise.
36685         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36686         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36687         (pmap_getport): Use __libc_rpc_getport.
36688         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36689         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36690         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36692 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36695         fanotify_mark.
36697 2010-08-27  Roland McGrath  <roland@redhat.com>
36699         * sysdeps/i386/i686/multiarch/Makefile
36700         (CFLAGS-varshift.c): New variable.
36702 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36704         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36705         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36709         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36711 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36713         * sysdeps/x86_64/strlen.S: Unroll the loop.
36714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36715         strlen-sse2 strlen-sse2-bsf.
36716         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36717         __strlen_no_bsf if bit_Slow_BSF is set.
36718         (__strlen_sse42): Removed.
36719         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36720         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36722 2010-08-25  Roland McGrath  <roland@redhat.com>
36724         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36725         * sysdeps/x86_64/multiarch/varshift.c: New file.
36726         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36727         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36728         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36729         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36731 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36733         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36734         strlen-sse2 strlen-sse2-bsf.
36735         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36736         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36737         (__strlen_sse2): Removed.
36738         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36741         bit_Slow_BSF for Atom.
36742         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36743         (index_Slow_BSF): Define.
36744         (HAS_SLOW_BSF): Define.
36746 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36748         [BZ #10851]
36749         * resolv/res_init.c (__res_vinit): When no server address at all
36750         is given default to loopback.
36752 2010-08-24  Roland McGrath  <roland@redhat.com>
36754         * configure.in: Remove config-name.h generation.
36755         * configure: Regenerated.
36756         * config-name.in: File removed.
36757         * scripts/config-uname.sh: New file.
36758         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36759         ($(objdir)config-name.h): New target.
36761         * sunrpc/rpc_parse.h: Avoid nested comment.
36763 2010-08-24  Richard Henderson  <rth@redhat.com>
36764             Ulrich Drepper  <drepper@redhat.com>
36765             H.J. Lu  <hongjiu.lu@intel.com>
36767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36769         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36770         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36771         _mm_alignr_epi8 with _mm_loadu_si128.
36772         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36773         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36774         (__m128i_shift_right): Removed.
36775         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36776         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36777         * sysdeps/x86_64/multiarch/varshift.h: New file.
36778         * sysdeps/x86_64/multiarch/varshift.S: New file.
36780 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36782         * configure.in: Move assembler checks to before sysdep dir checking.
36784 2010-08-20  Petr Baudis  <pasky@suse.cz>
36786         * LICENSES: Sync the sunrpc license.
36788 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36790         * sunrpc/auth_des.c: Update copyright notice once again.
36791         * sunrpc/auth_none.c: Likewise.
36792         * sunrpc/auth_unix.c: Likewise.
36793         * sunrpc/authdes_prot.c: Likewise.
36794         * sunrpc/authuxprot.c: Likewise.
36795         * sunrpc/bindrsvprt.c: Likewise.
36796         * sunrpc/clnt_gen.c: Likewise.
36797         * sunrpc/clnt_perr.c: Likewise.
36798         * sunrpc/clnt_raw.c: Likewise.
36799         * sunrpc/clnt_simp.c: Likewise.
36800         * sunrpc/clnt_tcp.c: Likewise.
36801         * sunrpc/clnt_udp.c: Likewise.
36802         * sunrpc/clnt_unix.c: Likewise.
36803         * sunrpc/des_crypt.c: Likewise.
36804         * sunrpc/des_soft.c: Likewise.
36805         * sunrpc/get_myaddr.c: Likewise.
36806         * sunrpc/getrpcport.c: Likewise.
36807         * sunrpc/key_call.c: Likewise.
36808         * sunrpc/key_prot.c: Likewise.
36809         * sunrpc/openchild.c: Likewise.
36810         * sunrpc/pm_getmaps.c: Likewise.
36811         * sunrpc/pm_getport.c: Likewise.
36812         * sunrpc/pmap_clnt.c: Likewise.
36813         * sunrpc/pmap_prot.c: Likewise.
36814         * sunrpc/pmap_prot2.c: Likewise.
36815         * sunrpc/pmap_rmt.c: Likewise.
36816         * sunrpc/rpc/auth.h: Likewise.
36817         * sunrpc/rpc/auth_unix.h: Likewise.
36818         * sunrpc/rpc/clnt.h: Likewise.
36819         * sunrpc/rpc/des_crypt.h: Likewise.
36820         * sunrpc/rpc/key_prot.h: Likewise.
36821         * sunrpc/rpc/netdb.h: Likewise.
36822         * sunrpc/rpc/pmap_clnt.h: Likewise.
36823         * sunrpc/rpc/pmap_prot.h: Likewise.
36824         * sunrpc/rpc/pmap_rmt.h: Likewise.
36825         * sunrpc/rpc/rpc.h: Likewise.
36826         * sunrpc/rpc/rpc_des.h: Likewise.
36827         * sunrpc/rpc/rpc_msg.h: Likewise.
36828         * sunrpc/rpc/svc.h: Likewise.
36829         * sunrpc/rpc/svc_auth.h: Likewise.
36830         * sunrpc/rpc/types.h: Likewise.
36831         * sunrpc/rpc/xdr.h: Likewise.
36832         * sunrpc/rpc_clntout.c: Likewise.
36833         * sunrpc/rpc_cmsg.c: Likewise.
36834         * sunrpc/rpc_common.c: Likewise.
36835         * sunrpc/rpc_cout.c: Likewise.
36836         * sunrpc/rpc_dtable.c: Likewise.
36837         * sunrpc/rpc_hout.c: Likewise.
36838         * sunrpc/rpc_main.c: Likewise.
36839         * sunrpc/rpc_parse.c: Likewise.
36840         * sunrpc/rpc_parse.h: Likewise.
36841         * sunrpc/rpc_prot.c: Likewise.
36842         * sunrpc/rpc_sample.c: Likewise.
36843         * sunrpc/rpc_scan.c: Likewise.
36844         * sunrpc/rpc_scan.h: Likewise.
36845         * sunrpc/rpc_svcout.c: Likewise.
36846         * sunrpc/rpc_tblout.c: Likewise.
36847         * sunrpc/rpc_util.c: Likewise.
36848         * sunrpc/rpc_util.h: Likewise.
36849         * sunrpc/rpcinfo.c: Likewise.
36850         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36851         * sunrpc/rpcsvc/key_prot.x: Likewise.
36852         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36853         * sunrpc/rpcsvc/mount.x: Likewise.
36854         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36855         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36856         * sunrpc/rpcsvc/rex.x: Likewise.
36857         * sunrpc/rpcsvc/rstat.x: Likewise.
36858         * sunrpc/rpcsvc/rusers.x: Likewise.
36859         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36860         * sunrpc/rpcsvc/spray.x: Likewise.
36861         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36862         * sunrpc/rtime.c: Likewise.
36863         * sunrpc/svc.c: Likewise.
36864         * sunrpc/svc_auth.c: Likewise.
36865         * sunrpc/svc_authux.c: Likewise.
36866         * sunrpc/svc_raw.c: Likewise.
36867         * sunrpc/svc_run.c: Likewise.
36868         * sunrpc/svc_simple.c: Likewise.
36869         * sunrpc/svc_tcp.c: Likewise.
36870         * sunrpc/svc_udp.c: Likewise.
36871         * sunrpc/svc_unix.c: Likewise.
36872         * sunrpc/svcauth_des.c: Likewise.
36873         * sunrpc/xcrypt.c: Likewise.
36874         * sunrpc/xdr.c: Likewise.
36875         * sunrpc/xdr_array.c: Likewise.
36876         * sunrpc/xdr_float.c: Likewise.
36877         * sunrpc/xdr_mem.c: Likewise.
36878         * sunrpc/xdr_rec.c: Likewise.
36879         * sunrpc/xdr_ref.c: Likewise.
36880         * sunrpc/xdr_sizeof.c: Likewise.
36881         * sunrpc/xdr_stdio.c: Likewise.
36883         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36884         handling.
36886 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36888         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36890 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36892         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36893         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36894         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36895         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36896         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36897         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36898         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36899         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36900         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36901         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36902         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36903         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36904         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36905         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36907 2010-07-26  Anton Blanchard  <anton@samba.org>
36909         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36910         * malloc/arena.c (heap_trim): Likewise.
36912 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36914         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36915         here.  Not...
36916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36917         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36919 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36921         * sysdeps/i386/elf/Makefile: New file.
36923 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36925         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36926         from fanotify_init.
36927         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36928         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36930 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36932         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36933         of strncasecmp_l.
36934         * sysdeps/multiarch/strcmp.S: Likewise.
36936 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36938         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36939         strncase_l-nonascii.
36940         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36941         Add strncase_l-ssse3.
36942         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36943         * sysdeps/x86_64/strcmp.S: Likewise.
36944         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36945         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36946         * sysdeps/x86_64/strncase.S: New file.
36947         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36948         * sysdeps/x86_64/strncase_l.S: New file.
36949         * string/Makefile (strop-tests): Add strncasecmp.
36950         * string/test-strncasecmp.c: New file.
36952         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36953         warning.
36955         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36956         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36958 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36960         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36962 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36964         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36966         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36968 2010-05-01  Alan Modra  <amodra@gmail.com>
36970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36971         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36972         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36973         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36974         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36975         tidying.  Don't tail-call __sigjmp_save for static lib.
36976         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36977         save location.
36978         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36979         (CALL_MCOUNT): Add eh info, and nop after bl.
36980         (TAIL_CALL_SYSCALL_ERROR): New macro.
36981         (PSEUDO_RET): Use it.
36982         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36983         Correct save location of integer regs and cr.
36984         (_dl_profile_resolve): Correct cr save location.  Delete nops
36985         after bl when SHARED.  Reduce cfi size a little by better
36986         placement of cfi directives.
36987         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36988         make a stack frame.  Instead use parm save area as a temp.
36989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36990         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36992         Don't make a stack frame for parent, use parm save area.
36993         Increase child stack frame to 112 bytes.  Don't save unused reg,
36994         and adjust reg usage.  Set up cfi on error recovery and
36995         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36997         (__makecontext): Add dummy nop after jump to exit.
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36999         Use correct parm save area and cr save, reduce stack frame.
37000         Correct cfi for possible PSEUDO_RET frame setup.
37001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37002         Branch to local label emitted by PSEUDO_RET rather than
37003         __syscall_error.
37005 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37007         [BZ #11904]
37008         * locale/programs/locale.c (print_assignment): New function.
37009         (show_locale_vars): Use it.
37011 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37013         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37014         field.
37015         (struct statfs64): Likewise.
37016         (_STATFS_F_FLAGS): Define.
37017         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37018         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37019         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37020         (ST_VALID): Define locally.
37021         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37022         __statvfs_getflags, use the provided value.
37023         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37024         __ASSUME_STATFS_F_FLAGS.
37026         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37028         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37029         Add sys/fanotify.h.
37030         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37031         fanotify_mask for GLIBC_2.13.
37032         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37033         fanotify_init and fanotify_mark.
37034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37035         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37037         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37038         Add prlimit.
37039         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37040         prlimit64 for GLIBC_2.13.
37041         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37042         prlimit64.
37043         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37044         syscall.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37047         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37048         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37050         add prlimit alias.
37051         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37053         [BZ #11903]
37054         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37055         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37057         * nss/Makefile: Add rules to build and run tst-nss-test1.
37058         * shlib-versions: Add entry for libnss_test1.
37059         * nss/nss_test1.c: New file.
37060         * nss/tst-nss-test1.c: New file.
37062         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37063         (__nss_configure_lookup): Set appropriate entry in
37064         __nss_configure_lookup to true.
37065         * nss/nsswitch.h: Define enum with indeces of databases in
37066         databases and __nss_database_custom arrays.  Declare
37067         __nss_database_custom.
37068         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37069         to avoid using nscd when custom rules are installed.
37070         * nss/getXXbyYY_r.c: Likewise.
37071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37073         * nss/nss_files/files-parse.c: Whitespace fixes.
37075 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37077         [BZ #11883]
37078         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37079         * posix/fnmatch_loop.c: Likewise.
37081 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37083         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37084         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37085         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37086         * Versions.def [GLIBC_2.13]: Add.
37088 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37090         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37091         Also fail if tpwd after pwuid call is NULL.
37093 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37095         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37096         when converting to ms.
37098 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37100         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37101         EOPNOTSUPP errors with ENOTTY.
37102         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37103         EOPNOTSUPP errors with ENOTTY.
37105 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37107         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37108         Add strcasecmp_l-ssse3.
37109         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37110         strcasecmp.
37111         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37112         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37113         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37115 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37117         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37119         * string/Makefile (strop-tests): Add strcasecmp.
37120         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37121         strcasecmp_l-nonascii.
37122         (gen-as-const-headers): Add locale-defines.sym.
37123         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37124         * sysdeps/x86_64/strcasecmp.S: New file.
37125         * sysdeps/x86_64/strcasecmp_l.S: New file.
37126         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37127         * sysdeps/x86_64/locale-defines.sym: New file.
37128         * string/test-strcasecmp.c: New file.
37130         * string/test-strcasestr.c: Test both ends of the range of characters.
37131         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37133 2010-07-29  Roland McGrath  <roland@redhat.com>
37135         [BZ #11856]
37136         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37138 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37140         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37141         for ld.so.
37143 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37145         * manual/memory.texi (Malloc Tunable Parameters): Document
37146         M_PERTURB.
37148 2010-07-26  Roland McGrath  <roland@redhat.com>
37150         [BZ #11840]
37151         * configure.in (-fgnu89-inline check): Set and substitute
37152         gnu89_inline, not libc_cv_gnu89_inline.
37153         * configure: Regenerated.
37154         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37156 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37158         * string/test-strnlen.c: New file.
37159         * string/Makefile (strop-tests): Add strnlen.
37160         * string/tester.c (test_strnlen): Add a few more test cases.
37161         * string/tst-strlen.c: Better error reporting.
37163         * sysdeps/x86_64/strnlen.S: New file.
37165 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37167         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37168         lower-latency instructions.
37170 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37172         * string/test-strcasestr.c: New file.
37173         * string/test-strstr.c: New file.
37174         * string/Makefile (strop-tests): Add strstr and strcasestr.
37175         * string/str-two-way.h: Don't undefine MAX.
37176         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37178 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37181         strcasestr-nonascii.
37182         (CFLAGS-strcasestr-nonascii.c): Define.
37183         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37185         Remove unused attribute.
37187 2010-07-20  Roland McGrath  <roland@redhat.com>
37189         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37190         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37191         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37192         like LD_HWCAP_MASK can disable hwcaps.
37194 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37196         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37198 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37200         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37201         call in strcasestr.
37202         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37203         __strcasestr_sse42_nonascii.
37204         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37205         strcasestr-nonascii.c.
37206         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37208 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37210         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37211         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37213         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37215 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37217         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37218         fcntl.
37220 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37222         [BZ #11577]
37223         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37224         dl_signal_cerror.
37226 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37228         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37229         _PC_PIPE_BUF using F_GETPIPE_SZ.
37231 2010-07-05  Roland McGrath  <roland@redhat.com>
37233         * manual/arith.texi (Rounding Functions): Fix rint description
37234         implicit in round description.
37236 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37238         * elf/Makefile: Fix linking for a few tests to make recent linker
37239         happy.
37241 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37243         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37244         $(common-objpfx)libc_nonshared.a.
37246 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37248         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37249         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37250         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37251         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37252         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37253         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37254         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37255         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37270         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37271         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37272         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37273         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37274         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37275         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37276         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37277         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37278         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37279         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37280         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37281         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37297 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37299         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37300         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37301         * string/memmove.c (memmove): Renamed to ...
37302         (MEMMOVE): ...this.  Default to memmove.
37303         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37304         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37305         (END_CHK): Define.
37306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37307         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37308         mempcpy-ssse3-back memmove-ssse3-back.
37309         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37312         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37313         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37314         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37315         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37316         * sysdeps/x86_64/multiarch/memmove.c: New file.
37317         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37318         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37319         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37320         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37321         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37322         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37323         Define.
37324         (index_Fast_Copy_Backward): Define.
37325         (HAS_ARCH_FEATURE): Define.
37326         (HAS_FAST_REP_STRING): Define.
37327         (HAS_FAST_COPY_BACKWARD): Define.
37329 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37331         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37332         Restore proper fallback handling.
37334 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37336         [BZ #11701]
37337         * posix/group_member.c (__group_member): Correct checking loop.
37339         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37340         OOM in getpwuid_r correctly.  Return error number when the caller
37341         should return, otherwise -1.
37342         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37343         call returning > 0 value.
37344         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37346 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37348         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37349         libc_nonshared.a from targets in modules-names.
37351 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37353         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37354         requires it.
37356 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37359         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37361         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37363 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37365         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37367 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37369         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37370         and F_GETPIPE_SZ.
37371         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37372         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37375         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37376         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37378 2010-06-14  Roland McGrath  <roland@redhat.com>
37380         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37382 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37384         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37385         __REDIRECT followed by __THROW.
37386         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37387         * posix/getopt.h (getopt): Likewise.
37389 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37391         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37392         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37393         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37394         in AT_FLAGS.
37395         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37396         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37398 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37400         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37402 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37404         [BZ #11640]
37405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37406         Properly check family and model.
37408 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37410         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37412 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37414         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37416 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37418         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37419         symbol reference.
37421 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37423         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37424         symbol reference.
37426 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37428         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37429         and internal_recvmmsg.
37430         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37431         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37432         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37433         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37435         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37436         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37437         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37439 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37441         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37443 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37445         POWER7 optimizations.
37446         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37447         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37449 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37451         * version.h: Update for 2.13 development version.
37453 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37455         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37456         exceptions.  Return 0.
37458 2010-05-07  Roland McGrath  <roland@redhat.com>
37460         * elf/ldconfig.c (main): Add a const.
37462 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37464         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37465         (args_options): Add no-idn option.
37466         (ahosts_keys_int): Add idn_flags to ai_flags.
37467         (parse_option): Handle 'i' option to clear idn_flags.
37469         * malloc/malloc.c (_int_free): Possible race in the most recently
37470         added check.  Only act on the data if no current modification
37471         happened.
37473 See ChangeLog.17 for earlier changes.