PowerPC: multiarch llround/lround for PowerPC64
[glibc.git] / ChangeLog
blob6ea64e99b182acc3e29c6361a7271432ed2637d4
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4         multiarch implementation.
5         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6         file.
7         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8         file.
9         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10         file.
11         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12         multiarch llround for PPC64.
13         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14         multiarch lround for PPC64.
16 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19         multiarch implementation.
20         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23         file.
24         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27         multiarch isnan for PPC64.
28         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29         multiarch isnanf for PPC64.
31 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
35         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50         multiarch implementations.
51         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52         (__libc_ifunc_impl_list): Likewise.
53         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
54         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56         multiarch stpcpy for PPC64.
58 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
61         multiarch implementations.
62         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
63         (__libc_ifunc_impl_list): Likewise.
64         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
65         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
66         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
67         multiarch strcpy for PPC64.
69 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
72         redefine function name.
73         (_wordcopy_fwd_dest_aligned): Likewise.
74         (_wordcopy_bwd_aligned): Likewise.
75         (_wordcopy_bwd_dest_aligned): Likewise.
76         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
77         multiarch implementations.
78         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
79         (__libc_ifunc_impl_list): Likewise.
80         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
81         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
82         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
83         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
84         multiarch wcscpy for PPC64.
86 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
89         multiarch implementations.
90         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
91         (__libc_ifunc_impl_list): Likewise.
92         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
93         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
94         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
95         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
96         multiarch wcscpy for PPC64.
98 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
101         multiarch implementations.
102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
103         (__libc_ifunc_impl_list): Likewise.
104         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
105         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
106         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
107         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
108         multiarch wcsrchr for PPC64.
110 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
113         multiarch implementations.
114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
115         (__libc_ifunc_impl_list): Likewise.
116         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
117         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
118         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
119         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
120         multiarch wcschr for PPC64.
122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
125         multiarch implementations.
126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
127         (__libc_ifunc_impl_list): Likewise.
128         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
129         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
130         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
131         multiarch strchrnul for PPC64.
133 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
136         implementations.
137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
138         (__libc_ifunc_impl_list): Likewise.
139         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
140         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
141         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
142         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
143         strchr for PPC64.
145 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
148         implementations.
149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
150         (__libc_ifunc_impl_list): Likewise.
151         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
152         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
153         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
154         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
155         strncmp for PPC64.
157 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
160         multiarch implementations.
161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
162         (__libc_ifunc_impl_list): Likewise.
163         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
164         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
165         strncasecmp for PPC64.
166         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
167         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
168         multiarch strncasecmp_l for PPC64.
170 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
173         multiarch implementations.
174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
175         (__libc_ifunc_impl_list): Likewise.
176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
178         multiarch strcasecmp for PPC64.
179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
180         file.
181         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
182         multiarch strcasecmp_l for PPC64.
184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
187         implementations.
188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
189         (__libc_ifunc_impl_list): Likewise.
190         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
191         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
192         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
193         strnlen for PPC64.
195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
198         implementations.
199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
200         (__libc_ifunc_impl_list): Likewise.
201         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
202         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
203         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
204         strlen for PPC64.
206 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
209         implementations.
210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
211         (__libc_ifunc_impl_list): Likewise.
212         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
213         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
214         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
215         rawmemrchr for PPC64.
217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
220         implementation.
221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
222         (__libc_ifunc_impl_list): Likewise.
223         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
224         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
225         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
226         memrchr for PPC64.
228 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
231         implementation.
232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
233         (__libc_ifunc_impl_list): Likewise.
234         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
235         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
236         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
237         memchr for PPC64.
239 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
242         implementation.
243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
244         (__libc_ifunc_impl_list): Likewise.
245         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
246         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
247         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
248         mempcpy for PPC64.
250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
252         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
253         avoid cretion of __bzero symbol.
254         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
255         Likewise.
256         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
257         Likewise.
258         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
259         Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
261         multiarch implementations.
262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
263         (__libc_ifunc_impl_list): Likewise.
264         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
265         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
267         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
268         bzero for PPC32.
269         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
270         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
271         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
272         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
273         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
274         memset for PPC64.
275         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
277 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
279         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
281         implementations.
282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
283         (__libc_ifunc_impl_list): Likewise.
284         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
285         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
286         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
287         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
288         memcmp for PPC64.
290 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
293         multiarch for POWER/PPC64.
294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
295         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
297         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
302         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
303         memcpy for PPC64.
305 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
307         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
308         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
309         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
310         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
311         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
312         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
313         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
314         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
315         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
316         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
317         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
318         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
319         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
320         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
321         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
330 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
332         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
334 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
336         * benchtests/Makefile (bench): Add exp2 and log2.
337         (LDLIBS-bench-exp2): Add -lm.
338         (LDLIBS-bench-log2): Likewise.
339         * benchtests/exp2-inputs: New inputs file.
340         * benchtests/log2-inputs: New inputs file.
341         * benchtests/log-inputs: Add new inputs.
342         * benchtests/tan-inputs: Likewise.
344 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
346         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
347         definition...
348         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
349         csloww1, csloww2): ... from here.
351         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
352         instead of structures.
353         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
354         (POLYNOMIAL): Likewise.
355         (TAYLOR_SLOW): Likewise.
356         (__sin): Likewise.
357         (__cos): Likewise.
358         (slow1): Likewise.
359         (slow2): Likewise.
360         (sloww): Likewise.
361         (sloww1); Likewise.
362         (sloww2): Likewise.
363         (bsloww1): Likewise.
364         (bsloww2): Likewise.
365         (cslow2): Likewise.
366         (csloww): Likewise.
367         (csloww1): Likewise.
368         (csloww2): Likewise.
370 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
372         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
373         (__malloc_assert, __libc_realloc, __libc_calloc,
374         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
375         memcpy and memset.
376         * malloc/hooks.c (realloc_check): Likewise.
378 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
380         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
381         * malloc/arena.c: Remove PER_THREAD conditional.
382         [!PER_THREAD]: Remove code.
383         (ptmalloc_unlock_all2): Likewise.
384         (ptmalloc_init): Likewise.
385         (_int_new_arena): Likewise.
386         (arena_get2): Likewise.
387         * malloc/hooks.c (__malloc_get_state): Likewise.
388         (__malloc_set_state): Likewise.
389         * malloc/malloc.c: Likewise.
390         (struct malloc_state): Likewise.
391         (struct malloc_par): Likewise.
392         (__libc_realloc): Likewise.
393         (__libc_mallopt): Likewise.
395 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
397         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
399 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
401         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
402         macro to a function.  Check for zero perturb_byte.
403         (_int_malloc, _int_free): Remove zero perturb_byte checks.
405 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
407         * malloc/malloc.c: (force_reg): Remove.
408         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
409         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
410         force_reg by atomic_forced_read.
411         * malloc/arena.c (ptmalloc_init): Likewise.
412         * malloc/hooks.c (top_check): Likewise.
414 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
418 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
424         * math/auto-libm-test-in: Add tests of lgamma.
425         * math/auto-libm-test-out: Regenerated.
426         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
427         (M_LOG_2_SQRT_PIl): Likewise.
428         (lgamma_test_data): Use AUTO_TESTS_f_f1.
429         * math/gen-auto-libm-tests.c (func_calc_method): Add value
430         mpfr_f_f1.
431         (func_calc_desc): Add mpfr_f_f1 union field.
432         (ARGS1): New macro.
433         (ARGS2): Likewise.
434         (ARGS3): Likewise.
435         (ARGS4): Likewise.
436         (RET1): Likewise.
437         (RET2): Likewise.
438         (CALC): Likewise.
439         (FUNC): Likewise.
440         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
441         (test_functions): Add lgamma.
442         (calc_generic_results): Handle mpfr_f_f1.
443         * sysdeps/i386/fpu/libm-test-ulps: Update.
444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
448         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
449         __mpn_add_n for PowerPC64/POWER7.
450         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
451         __mpn_sub_n for PowerPC64/POWER7.
453 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
455         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
456         __mpn_addmul_1 for PowerPC64.
457         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
458         __mpn_submul_1 for PowerPC64.
459         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
460         for PowerPC64.
461         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
462         for PowerPC64.
464 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
466         [BZ #15089]
467         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
469 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
471         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
475         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
476         add multiarch folders.
477         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
478         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
479         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
480         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
481         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
482         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
483         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
484         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
485         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
486         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
487         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
495 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
498         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
500         New file.
501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
502         New file.
503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
504         multiarch __ieee754_hypot for PowerPC32.
505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
506         New file.
507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
508         New file.
509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
510         multiarch __ieee754_hypotf for PowerPC32.
512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
515         long_double_symbol only if __logbl is defined.
516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
517         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
519         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
521         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
523         path for implementation.
524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
527         logb, and logbl multiarch implementations for PowerPC32.
528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
529         file.
530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
531         file.
532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
533         multiarch logb for PowerPC32.
534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
535         file.
536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
537         file.
538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
539         multiarch logbf for PowerPC32.
540         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
542         file.
543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
544         multiarch logbl implementation for PowerPC32.
546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
549         and modff multiarch implementations.
550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
551         New file.
552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
553         New file.
554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
555         multiarch modf for PowerPC32.
556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
557         New file.
558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
559         New file.
560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
561         multiarch modff for PowerPC32.
563 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
566         and lrintf multiarch implementations.
567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
568         New file.
569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
570         New file.
571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
572         multiarch lrint for PowerPC32.
573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
574         file: multiarch lrintf for PowerPC32.
576 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
579         and lroundf multiarch implementations.
580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
581         New file.
582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
583         New file.
584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
585         New file.
586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
587         multiarch lround for PowerPC32.
588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
589         file: multiarch lroundf for PowerPC32.
591 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
594         copysign and copysignf multiarch implementations.
595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
596         New file.
597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
598         New file.
599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
600         file: multiarch copysign for PowerPC32.
601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
602         file: multiarch copysignf for PowerPC32.
604 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
607         and truncf multiarch implementations.
608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
609         New file.
610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
611         file.
612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
613         multiarch trunc for PowerPC32.
614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
615         New file.
616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
617         New file.
618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
619         multiarch truncf for PowerPC32.
621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
624         and roundf multiarch implementations.
625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
626         New file.
627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
628         file.
629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
630         multiarch round for PowerPC32.
631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
632         New file.
633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
634         New file.
635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
636         multiarch roundf for PowerPC32.
638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
641         and floorf multiarch implementations.
642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
643         New file.
644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
645         file.
646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
647         multiarch floor for PowerPC32.
648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
649         New file.
650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
651         New file.
652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
653         multiarch floorf for PowerPC32.
655 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
658         and ceilf multiarch implementations.
659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
660         New file.
661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
662         file.
663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
664         multiarch ceil for PowerPC32.
665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
666         New file.
667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
668         file.
669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
670         multiarch ceilf for PowerPC32.
672 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
674         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
675         is defined.
676         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
677         FINITEF is defined.
678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
679         and finitef multiarch implementations.
680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
681         New file.
682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
683         file.
684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
685         multiarch finite for PowerPC32.
686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
687         New file.
688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
689         file: multiarch finitef for PowerPC32.
691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
694         and isinff multiarch implementations.
695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
696         file.
697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
698         file.
699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
700         multiarch isinf for PowerPC32.
701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
702         New file.
703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
704         multiarch isinff for PowerPC32.
706 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
708         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
709         alias when __isnan is defined.
710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
711         and isnanf multiarch implementations.
712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
713         file.
714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
715         file.
716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
717         file.
718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
719         file.
720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
721         multiarch isnan for PowerPC32.
722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
723         New file.
724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
725         New file.
726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
727         multiarch isnanf for PowerPC32.
729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
732         and sqrtf multiarch implementations.
733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
734         file.
735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
736         file.
737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
738         multiarch sqrt for PowerPC32.
739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
740         file.
741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
742         file.
743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
744         multiarch sqrtf for PowerPC32.
746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
749         and llroundf multiarch implementations.
750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
751         New file.
752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
753         New file.
754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
755         New file.
756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
757         file: multiarch llround for PowerPC32.
758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
759         file: multiarch llroundf for PowerPC32.
761 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
764         multiarch PowerPC32 fpu implementations.
765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
766         New file.
767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
768         New file.
769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
770         multiarch llrint for PowerPC32.
771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
772         New file.
773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
774         New file.
775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
776         file.
778 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
785         file.
786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
787         file.
788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
789         file.
790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
791         multiarch wordcopy for PPC32.
792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
793         wordcopy objects.
794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
795         (__libc_ifunc_impl_list): Likewise.
796         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
797         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
798         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
799         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
801         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
803 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
805         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
807         file.
808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
809         file.
810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
811         file.
812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
813         multiarch wcscpy for PPC32.
814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
815         multiarch objects.
816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
817         (__libc_ifunc_impl_list): Likewise.
818         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
819         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
820         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
821         sysdeps/powerpc/power6/wcscpy.c.
823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
825         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
827         file.
828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
829         file.
830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
831         file.
832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
833         multiarch wcsrchr for PPC32.
834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
835         multiarch objects.
836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
837         (__libc_ifunc_impl_list): Likewise.
838         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
839         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
840         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
841         sysdeps/powerpc/power6/wcsrchr.c.
843 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
846         file.
847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
848         file.
849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
851         multiarch wcschr for PPc32.
852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
853         multiarch objects.
854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
855         (__libc_ifunc_impl_list): Likewise.
856         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
857         * sysdeps/powerpc/power6/wcschr.c: ... to here.
858         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
859         sysdeps/powerpc/power6/wcschr.c.
861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
864         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
865         file.
866         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
867         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
868         file: multiarch strchr for PPC32.
869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
870         multiarch objects.
871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
872         (__libc_ifunc_impl_list): Likewise.
874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
877         name.
878         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
879         file.
880         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
881         file.
882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
883         multiarch strchrnul for PPC32.
884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
885         multiarch objects.
886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
887         (__libc_ifunc_impl_list): Likewise.
889 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
892         file.
893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
894         multiarch strncasecmp for PPC32.
895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
896         file.
897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
898         multiarch strncasecmp_l for PPC32.
899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
900         strncasecmp multiarch objects.
901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
902         (__libc_ifunc_impl_list): Likewise.
904 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
907         file.
908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
909         multiarch strncasecmp for PPC32.
910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
911         New file.
912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
913         multiarch strcasecmp_l for PPC32.
914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
915         multiarch objects.
916         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
917         (__libc_ifunc_impl_list): Likewise.
919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
922         file.
923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
924         file.
925         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
926         multiarch strncmp for PPC32.
927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
928         multiarch objects.
929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
930         (__libc_ifunc_impl_list): Likewise.
932 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
934         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
935         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
936         file.
937         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
938         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
940         multiarch objects.
941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
942         (__libc_ifunc_impl_list): Likewise.
944 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
946         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
947         file.
948         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
949         file.
950         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
952         multiarch objects.
953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
954         (__libc_ifunc_impl_list): Likewise.
956 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
958         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
959         file.
960         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
961         file.
962         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
963         multiarch rawmemchr for PPC32.
964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
965         multiarch objects.
966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
967         (__libc_ifunc_impl_list): Likewise.
969 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
971         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
972         file.
973         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
974         file.
975         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
976         file: memrchr multiarch for PPC32.
977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
978         multiarch objects.
979         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
980         (__libc_ifunc_impl_list): Likewise.
982 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
984         * string/memchr.c (__memchr): Using macro to redefine symbol name.
985         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
986         file.
987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
989         multiarch memchr for PPC32.
990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
991         multiarch objects.
992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
993         (__libc_ifunc_impl_list): Likewise.
995 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
997         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
998         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
999         file.
1000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1001         file.
1002         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1003         file: multiarch mempcpy for PPC32.
1004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1005         multiarch objects.
1006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1007         (__libc_ifunc_impl_list): Likewise.
1009 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1011         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1012         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1013         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1015         multiarch bzero for PPC32.
1016         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1017         file.
1018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1019         file.
1020         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1021         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1022         file: multiarch memset for PPC32.
1023         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1025         memset multiarch objects.
1026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1027         (__libc_ifunc_impl_list): Likewise.
1029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1032         file.
1033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1035         memcmp for PPC32.
1036         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1038         multiarch objects.
1039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1040         (__libc_ifunc_impl_list): Likewise.
1042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1045         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1047         file.
1048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1049         file.
1050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1051         file.
1052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1053         multiarch memcpy for PPC32.
1054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1055         multiarch objects.
1056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1057         (__libc_ifunc_impl_list): Likewise.
1059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1062         support multiarch for POWER/PPC32.
1063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1064         Likewise.
1065         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1067         Implies file to make multiarch folder appers before the fpu and
1068         default folder for power4 configuration.
1070 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1072         * scripts/bench.pl: Append volatile keyword to type.
1074 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1076         * sysdeps/sh/sotruss-lib.c: New file.
1077         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1079 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1083 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1085         [BZ #6810]
1086         * math/w_tgamma.c: Include <errno.h>.
1087         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1088         * math/w_tgammaf.c: Include <errno.h>.
1089         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1090         * math/w_tgammal.c: Include <errno.h>.
1091         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1092         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1093         underflow.  Add more tgamma tests.
1094         * math/auto-libm-test-out: Regenerated.
1095         * sysdeps/i386/fpu/libm-test-ulps: Update.
1096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1098         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1099         sin, sinh, tan, tanh, tgamma, y0 and y1.
1100         * math/auto-libm-test-out: Regenerated.
1101         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1102         (TEST_COND_x86): Likewise.
1103         (M_E2l): Remove macro.
1104         (M_E3l): Likewise.
1105         (M_2_SQRT_PIl): Likewise.
1106         (M_SQRT_PIl): Likewise.
1107         (M_1_DIV_El): Likewise.
1108         (log_test_data): Use AUTO_TESTS_f_f.
1109         (log10_test_data): Likewise.
1110         (log1p_test_data): Likewise.
1111         (log2_test_data): Likewise.
1112         (sin_test_data): Likewise.
1113         (sin_tonearest_test_data): Likewise.
1114         (sin_towardzero_test_data): Likewise.
1115         (sin_downward_test_data): Likewise.
1116         (sin_upward_test_data): Likewise.
1117         (sinh_test_data): Likewise.
1118         (sinh_tonearest_test_data): Likewise.
1119         (sinh_towardzero_test_data): Likewise.
1120         (sinh_downward_test_data): Likewise.
1121         (sinh_upward_test_data): Likewise.
1122         (tan_test_data): Likewise.
1123         (tan_tonearest_test_data): Likewise.
1124         (tan_towardzero_test_data): Likewise.
1125         (tan_downward_test_data): Likewise.
1126         (tan_upward_test_data): Likewise.
1127         (tanh_test_data): Likewise.
1128         (tgamma_test_data): Likewise.
1129         (y0_test_data): Likewise.
1130         (y1_test_data): Likewise.
1131         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1132         (special_real_inputs): Add pi/4.
1133         * sysdeps/i386/fpu/libm-test-ulps: Update.
1134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1136 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1138         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1139         "longjmp_target" static probes.
1140         (__longjmp): Rename to __longjmp_symbol.
1141         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1142         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1143         on which longjmp to generate.
1144         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1146         probe.
1147         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1148         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1149         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1150         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1151         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1152         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1154         __longjmp_symbol based on which __longjmp to generate.
1155         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1156         probe.
1157         (setjmp): Rename to setjmp_symbol.
1158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1159         (_setjmp): Rename to _setjmp_symbol.
1160         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1161         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1162         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1163         which setjmp to generate.
1164         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1165         "longjmp_target" static probes.
1167 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1169         * benchtests/README: Add note about output arguments.
1170         * benchtests/bench-sincos.c: Remove file.
1171         * benchtests/sincos-inputs: New file.
1172         * scripts/bench.pl: Identify output arguments and define
1173         static variables for them.
1175         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1177         [BZ #15941]
1178         * Makefile (INSTALL): Add install-plain.texi as the primary
1179         dependency.
1180         * manual/install-plain.texi: New file.
1181         * manual/install.texi: Include node directive only for
1182         non-plaintext output.
1184 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1186         * stdlib/longlong.h: Update from GCC.
1188         [BZ #6807]
1189         [BZ #15901]
1190         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1191         * math/w_j0f.c (y0f): Likewise.
1192         * math/w_j0l.c (__y0l): Likewise.
1193         * math/w_j1.c (y1): Likewise.
1194         * math/w_j1f.c (y1f): Likewise.
1195         * math/w_j1l.c (__y1l): Likewise
1196         * math/w_jn.c (yn): Likewise.
1197         * math/w_jnf.c (ynf): Likewise.
1198         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1199         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1200         value for Bessel function domain errors outside _SVID_ mode.
1201         Adjust sign of return value for yn (negative integer, 0).
1202         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1203         by zero in return for negative x and set sign appropriately for
1204         negative n.
1205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1206         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1207         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1208         expectations in error cases.
1209         (y1_test_data): Likewise.
1210         (yn_test_data): Likewise.
1211         * sysdeps/i386/fpu/libm-test-ulps: Update.
1212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1216         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1217         "64" to "64-v1".  Add "64-v2".
1218         (abi-64-options): Rename to ...
1219         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1220         (abi-64-condition): Rename to ...
1221         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1222         (abi-64-ld-soname): Rename to ...
1223         (abi-64-v1-ld-soname): ... this.
1224         (abi-64-v2-options): Define.
1225         (abi-64-v2-condition): Likewise.
1226         (abi-64-v2-ld-soname): Likewise.
1227         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1228         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1233 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1234             Alan Modra  <amodra@gmail.com>
1236         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1237         New versions for use with the ELFv2 ABI.
1238         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1239         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1240         declaration.
1241         (struct La_ppc64v2_retval): Likewise.
1242         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1243         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1244         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1245         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1246         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1248         Do not save or restore CR.
1249         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1250         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1251         return values for ELFv2 ABI.  Fix location of FPR return registers.
1252         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1253         updated values for _CALL_ELF == 2.
1254         (La_regs, La_retval, int_retval): Likewise.
1256 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1258         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1259         (FRAME_MIN_SIZE_PARM): Likewise.
1260         (FRAME_BACKCHAIN): Likewise.
1261         (FRAME_CR_SAVE): Likewise.
1262         (FRAME_LR_SAVE): Likewise.
1263         (FRAME_TOC_SAVE): Likewise.
1264         (FRAME_PARM_SAVE): Likewise.
1265         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1266         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1267         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1268         (call_mcount_parm_offset): New macro.
1269         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1270         (PROF): Use symbolic stack frame offsets.
1271         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1273         Redefine in terms of FRAME_MIN_SIZE.
1274         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1275         (_dl_profile_resolve): Likewise.  Update comment.
1276         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1277         symbols stack frame offsets.
1278         (__sigsetjmp): Likewise.
1279         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1280         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1281         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1282         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1285         (FRAME_BACKCHAIN): Remove.
1286         (FRAME_CR_SAVE): Likewise.
1287         (FRAME_LR_SAVE): Likewise.
1288         (FRAME_COMPILER_DW): Likewise.
1289         (FRAME_LINKER_DW): Likewise.
1290         (FRAME_TOC_SAVE): Likewise.
1291         (FRAME_PARM_SAVE): Likewise.
1292         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1293         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1294         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1296         (CHECK_SP): Use symbolic stack frame offsets.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1298         zone" instead of caller's parameter save area for temp storage.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1300         Likewise.  Also, use symbolic stack frame offsets.
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1302         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1303         our own stack frame instead of the caller's.
1304         (__socket): Use symbolic stack frame offsets.
1306 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1307             Alan Modra  <amodra@gmail.com>
1309         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1310         Define.
1311         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1312         PPC64_LOCAL_ENTRY_OFFSET): Define.
1313         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1314         New function.
1315         (elf_machine_fixup_plt): Call it.
1316         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1317         reloc arguments.
1318         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1319         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1320         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1321         r2 before calling target.
1323 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1324             Alan Modra  <amodra@gmail.com>
1326         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1327         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1328         versions of macros to support ELFv2 ABI.
1329         (LOCALENTRY): New macro.
1330         (ENTRY, EALIGN): Use it.
1331         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1332         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1333         fall through into ENTRY entry point.
1334         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1335         Only define if _CALL_ELF != 2.
1337         (elf_machine_matches_host): Verify ABI version matches.
1338         (RTLD_START): Use LOCALENTRY.
1339         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1340         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1341         (PLT_ENTRY_WORDS): New macro.
1342         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1343         (elf_machine_runtime_setup): Support ELFv2 ABI.
1344         (elf_machine_fixup_plt): Likewise.
1345         (elf_machine_plt_conflict): Likewise.
1346         (resolve_ifunc): Likewise.
1347         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1351         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1353         (makecontext): Support ELFv2 ABI.
1354         * elf/elf.h (EF_PPC64_ABI): Define.
1356 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1358         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1359         New assembler macro.
1360         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1361         [ASSEMBLER] (ENTRY): ... but instead here ...
1362         [ASSEMBLER] (EALIGN): ... and here.
1363         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1364         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1365         [!ASSEMBLER] (ENTRY_2): Use it.
1366         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1367         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1368         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1369         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1370         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1372         Use PPC64_LOAD_FUNCPTR.
1374 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1376         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1378 2013-12-04  Alan Modra  <amodra@gmail.com>
1380         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1381         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1382         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1383         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1385         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1386         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1387         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1388         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1389         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1390         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1392 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1395         (__makecontext): Fix incorrect CFI when backtracing out of
1396         context created via makecontext.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1398         (__setcontext): Fix incorrect CFI during switch to new context.
1399         (__novec_setcontext): Likewise.
1401 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1403         [BZ #4772]
1404         * time/strptime_l.c (__strptime_internal): Allow modifiers
1405         in strptime.
1406         * time/tst-strptime.c (day_tests): Add testcase.
1409 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411         * scripts/bench.pl: Skip over blank lines.
1413 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1415         [BZ #926]
1416         * manual/time.texi (Calendar Time): Clarify what timezone functions
1417         use.
1419 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1423 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1425         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1426         implementation.
1427         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1428         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1429         * debug/memset_chk.c (__memset_chk): Likewise.
1430         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1431         * debug/strncpy_chk.c: Likewise.
1433 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1435         [BZ #15268]
1436         [BZ #15425]
1437         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1438         (__ieee754_exp): For possibly underflowing results, check size of
1439         result and force underflow exception if required.
1440         * math/auto-libm-test-in: Add more tests of exp.
1441         * math/auto-libm-test-out: Regenerated.
1442         * sysdeps/i386/fpu/libm-test-ulps: Update.
1443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445         [BZ #16283]
1446         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1447         * math/w_exp2f.c (__exp2f): Likewise.
1448         * math/w_exp2l.c (__exp2l): Likewise.
1449         * math/auto-libm-test-in: Do not allow missing errno on exp2
1450         underflow.
1451         * math/auto-libm-test-out: Regenerated.
1453 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1455         [BZ #16274]
1456         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1457         handle filename validation.
1458         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1459         (do_open): Delete.
1461 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1463         [BZ #6786]
1464         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1465         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1466         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1467         <float.h>.
1468         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1469         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1470         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1472         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1473         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1474         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1475         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1476         Add more erfc tests.
1477         * math/auto-libm-test-out: Regenerated.
1478         * sysdeps/i386/fpu/libm-test-ulps: Update.
1479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1481         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1482         exp2, expm1, j0 and j1.
1483         * math/auto-libm-test-out: Regenerated.
1484         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1485         (erfc_test_data): Likewise.
1486         (exp_test_data): Likewise.
1487         (exp_tonearest_test_data): Likewise.
1488         (exp_towardzero_test_data): Likewise.
1489         (exp_downward_test_data): Likewise.
1490         (exp_upward_test_data): Likewise.
1491         (exp10_test_data): Likewise.
1492         (exp2_test_data): Likewise.
1493         (expm1_test_data): Likewise.
1494         (j0_test_data): Likewise.
1495         (j1_test_data): Likewise.
1496         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1497         (input_flag_type): Add flag_xfail_rounding.
1498         (input_flags): Add xfail-rounding.
1499         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1500         (output_for_one_input_case): Handle flag_xfail_rounding.
1501         * sysdeps/i386/fpu/libm-test-ulps: Update.
1502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1504 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1506         [BZ #16289]
1507         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1508         division by 0.
1510 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1512         [BZ #16195]
1513         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1514         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1515         (STAP_PROBE0): New macro.
1516         (STAP_PROBE1): Likewise.
1517         (STAP_PROBE2): Likewise.
1518         (STAP_PROBE3): Likewise.
1519         (STAP_PROBE4): Likewise.
1521 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1523         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1525 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1527         * benchtests/Makefile (bench): Add sqrt.
1528         (LDLIBS-bench-sqrt): New.
1529         * benchtests/sqrt-input: New.
1531 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1533         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1534         (GAIH_EAI): Likewise.
1535         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1536         (gaih_inet): Likewise.
1537         (getaddrinfo): Don't use GAIH_EAI.
1539         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1540         (struct gaih): Remove definition.
1542 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1544         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1545         Use HERRNOP directly.
1547 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1551 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1553         * math/gen-auto-libm-tests.c (test_functions): Add more
1554         single-argument functions.
1555         (special_fill_pi_2): New function.
1556         (special_fill_minus_pi_2): Likewise.
1557         (special_fill_pi_6): Likewise.
1558         (special_fill_minus_pi_6): Likewise.
1559         (special_fill_pi_3): Likewise.
1560         (special_fill_2pi_3): Likewise.
1561         (special_fill_e): Likewise.
1562         (special_fill_1_e): Likewise.
1563         (special_fill_e_minus_1): Likewise.
1564         (special_real_inputs): Add more special inputs.
1565         (output_for_one_input_case): Do not require ERANGE on underflow to
1566         zero if round-to-nearest result does not underflow to zero, unless
1567         exact results required.
1568         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1569         atan, atanh, cbrt, cos and cosh.
1570         * math/auto-libm-test-out: Regenerated.
1571         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1572         (acos_tonearest_test_data): Likewise.
1573         (acos_towardzero_test_data): Likewise.
1574         (acos_downward_test_data): Likewise.
1575         (acos_upward_test_data): Likewise.
1576         (acosh_test_data): Likewise.
1577         (asin_test_data): Likewise.
1578         (asin_tonearest_test_data): Likewise.
1579         (asin_towardzero_test_data): Likewise.
1580         (asin_upward_test_data): Likewise.
1581         (asinh_test_data): Likewise.
1582         (atan_test_data): Likewise.
1583         (atanh_test_data): Likewise.
1584         (cbrt_test_data): Likewise.
1585         (cos_test_data): Likewise.
1586         (cos_tonearest_test_data): Likewise.
1587         (cos_towardzero_test_data): Likewise.
1588         (cos_downward_test_data): Likewise.
1589         (cos_upward_test_data): Likewise.
1590         (cosh_test_data): Likewise.
1591         (cosh_tonearest_test_data): Likewise.
1592         (cosh_towardzero_test_data): Likewise.
1593         (cosh_downward_test_data): Likewise.
1594         (cosh_upward_test_data): Likewise.
1595         * sysdeps/i386/fpu/libm-test-ulps: Update.
1596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1598 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1600         [BZ #6787]
1601         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1602         * math/w_exp10f.c (__exp10f): Likewise.
1603         * math/w_exp10l.c (__exp10l): Likewise.
1604         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1605         errno settings in existing tests.
1607         [BZ #14032]
1608         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1609         precision control set to double precision.
1610         * sysdeps/i386/fpu/w_sqrt.c: New file.
1611         * math/auto-libm-test-in: Add more tests.
1612         * math/auto-libm-test-out: Update.
1614         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1615         (sqrt_test_tonearest): New function.
1616         (sqrt_towardzero_test_data): New variable.
1617         (sqrt_test_towardzero): New function.
1618         (sqrt_downward_test_data): New variable.
1619         (sqrt_test_downward): New function.
1620         (sqrt_upward_test_data): New variable.
1621         (sqrt_test_upward): New function.
1622         (main): Call the new functions.
1624         * math/gen-auto-libm-tests.c: New file.
1625         * math/auto-libm-test-in: Likewise.
1626         * math/auto-libm-test-out: New generated file.
1627         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1628         variables.
1629         (%beautify): Add generated representations of zero.
1630         (top level): Set $auto_input and call parse_auto_input.
1631         (beautify): Remove trailing "f" from hex float constants.
1632         (parse_args): Handle XFAIL_TEST.
1633         (convert_condition): New function.
1634         (or_value): Likewise.
1635         (or_cond_value): Likewise.
1636         (generate_testfile): Handle AUTO_TESTS_* lines.
1637         (parse_auto_input): New function.
1638         * math/libm-test.inc (XFAIL_TEST): New macro.
1639         (ERRNO_UNCHANGED): Update value.
1640         (ERRNO_EDOM): Likewise.
1641         (ERRNO_ERANGE): Likewise.
1642         (IGNORE_RESULT): Likewise.
1643         (TEST_COND_flt_32): New macro.
1644         (TEST_COND_dbl_64): Likewise.
1645         (TEST_COND_ldbl_96_intel): Likewise.
1646         (TEST_COND_ldbl_96_m68k): Likewise.
1647         (TEST_COND_ldbl_128): Likewise.
1648         (TEST_COND_ldbl_128ibm): Likewise.
1649         (TEST_COND_long32): Likewise.
1650         (TEST_COND_long64): Likewise.
1651         (TEST_COND_before_rounding): Likewise.
1652         (TEST_COND_after_rounding): Likewise.
1653         (enable_test): Handle XFAIL_TEST flag.
1654         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1655         with finite results.
1656         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1657         auto-libm-test-out.
1659 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1660             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1662         [BZ #16214]
1663         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1664         __tls_get_addr_internal instead of __tls_get_offset in order to
1665         avoid GOT pointer dependency.  Make rtld export
1666         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1667         __tls_get_addr since we are a __tls_get_offset platform.
1668         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1669         GOT pointer being set up before.
1670         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1672 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1674         * manual/math.texi (Errors in Math Functions): Document accuracy
1675         goals.
1677         [BZ #15004]
1678         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1679         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1680         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1681         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1682         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1683         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1684         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1685         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1686         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1687         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1688         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1689         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1690         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1691         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1692         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1693         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1695         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1696         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1697         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1698         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1699         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1700         Likewise.
1701         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1702         Likewise.
1703         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1704         Likewise.
1705         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1706         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1707         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1708         atomic-feupdateenv and flt-rounds.
1709         * sysdeps/powerpc/nofpu/Versions (libc): Add
1710         __atomic_feholdexcept, __atomic_feclearexcept,
1711         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1712         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1713         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1714         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1715         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1716         here.
1717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1718         Update.
1720         * manual/arith.texi (FP Exceptions): Document that exceptions may
1721         not be raised when matherr is used.
1722         (Math Error Reporting): Document overflow in directed rounding
1723         modes.  Document that errno may not be set when finite values are
1724         returned on overflow.  Document intent to set errno on underflow
1725         only for underflow to zero.
1727         [BZ #16271]
1728         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1729         round-to-nearest then adjust result for other rounding modes.
1730         * include/fenv.h (fegetround): Use libm_hidden_proto.
1731         * math/fegetround.c (fegetround): Use libm_hidden_def.
1732         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1733         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1734         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1736         Likewise.
1737         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1738         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1739         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1740         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1742 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1744         [BZ #16077]
1745         * nss/Versions (libnss_files): Add
1746         _nss_files_gethostbyname3_r.
1747         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1748         New function.
1749         (HOST_DB_LOOKUP): Remove macro.
1750         (_nss_files_gethostbyname_r): Implement function without the
1751         HOST_DB_LOOKUP macro.
1752         (_nss_files_gethostbyname2_r): Likewise.
1754 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1756         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1758 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1760         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1761         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1762         warning.
1764 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1766         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1767         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1768         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1769         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1770         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1771         __fe_nomask_env_priv and attribute_hidden.
1772         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1773         (libc_feupdateenv_test_ppc): Likewise.
1774         (libc_feresetround_ppc): Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1776         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1777         compat_symbol macro.
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1779         (__fe_nomask_env): Likewise.
1780         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1782 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1784         * string/Makefile: Remove ifunc tests.
1785         * string/test-string.h: Define TEST_IFUNC.
1786         * string/test-bcopy-ifunc.c: Remove.
1787         * string/test-bzero-ifunc.c: Likewise.
1788         * string/test-memccpy-ifunc.c: Likewise.
1789         * string/test-memchr-ifunc.c: Likewise.
1790         * string/test-memcmp-ifunc.c: Likewise.
1791         * string/test-memcpy-ifunc.c: Likewise.
1792         * string/test-memmem-ifunc.c: Likewise.
1793         * string/test-memmove-ifunc.c: Likewise.
1794         * string/test-mempcpy-ifunc.c: Likewise.
1795         * string/test-memrchr-ifunc.c: Likewise.
1796         * string/test-memset-ifunc.c: Likewise.
1797         * string/test-rawmemchr-ifunc.c: Likewise.
1798         * string/test-stpcpy-ifunc.c: Likewise.
1799         * string/test-stpncpy-ifunc.c: Likewise.
1800         * string/test-strcasecmp-ifunc.c: Likewise.
1801         * string/test-strcasestr-ifunc.c: Likewise.
1802         * string/test-strcat-ifunc.c: Likewise.
1803         * string/test-strchr-ifunc.c: Likewise.
1804         * string/test-strchrnul-ifunc.c: Likewise.
1805         * string/test-strcmp-ifunc.c: Likewise.
1806         * string/test-strcpy-ifunc.c: Likewise.
1807         * string/test-strcspn-ifunc.c: Likewise.
1808         * string/test-strlen-ifunc.c: Likewise.
1809         * string/test-strncasecmp-ifunc.c: Likewise.
1810         * string/test-strncat-ifunc.c: Likewise.
1811         * string/test-strncmp-ifunc.c: Likewise.
1812         * string/test-strncpy-ifunc.c: Likewise.
1813         * string/test-strnlen-ifunc.c: Likewise.
1814         * string/test-strpbrk-ifunc.c: Likewise.
1815         * string/test-strrchr-ifunc.c: Likewise.
1816         * string/test-strspn-ifunc.c: Likewise.
1817         * string/test-strstr-ifunc.c: Likewise.
1819 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1821         * benchtests/Makefile: Remove ifunc tests.
1822         * benchtests/bench-string.h: Define TEST_IFUNC.
1823         * benchtests/bench-bcopy-ifunc.c: Remove.
1824         * benchtests/bench-bzero-ifunc.c: Likewise.
1825         * benchtests/bench-memccpy-ifunc.c: Likewise.
1826         * benchtests/bench-memchr-ifunc.c: Likewise.
1827         * benchtests/bench-memcmp-ifunc.c: Likewise.
1828         * benchtests/bench-memcpy-ifunc.c: Likewise.
1829         * benchtests/bench-memmem-ifunc.c: Likewise.
1830         * benchtests/bench-memmove-ifunc.c: Likewise.
1831         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1832         * benchtests/bench-memrchr-ifunc.c: Likewise.
1833         * benchtests/bench-memset-ifunc.c: Likewise.
1834         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1835         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1836         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1837         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1838         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1839         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1840         * benchtests/bench-strcat-ifunc.c: Likewise.
1841         * benchtests/bench-strchr-ifunc.c: Likewise.
1842         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1843         * benchtests/bench-strcmp-ifunc.c: Likewise.
1844         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1845         * benchtests/bench-strcpy-ifunc.c: Likewise.
1846         * benchtests/bench-strcspn-ifunc.c: Likewise.
1847         * benchtests/bench-strlen-ifunc.c: Likewise.
1848         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1849         * benchtests/bench-strncat-ifunc.c: Likewise.
1850         * benchtests/bench-strncmp-ifunc.c: Likewise.
1851         * benchtests/bench-strncpy-ifunc.c: Likewise.
1852         * benchtests/bench-strnlen-ifunc.c: Likewise.
1853         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1854         * benchtests/bench-strrchr-ifunc.c: Likewise.
1855         * benchtests/bench-strsep-ifunc.c: Likewise.
1856         * benchtests/bench-strspn-ifunc.c: Likewise.
1857         * benchtests/bench-strstr-ifunc.c: Likewise.
1859 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1861         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1863 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1865         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1866         * rt/aio.h: Likewise.
1867         * sysdeps/gnu/bits/utmp.h: Likewise.
1868         * sysdeps/gnu/bits/utmpx.h: Likewise.
1869         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1870         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1871         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1872         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1873         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1874         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1875         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1876         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1879         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1884         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1885         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1886         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1887         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1890         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1891         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1892         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1893         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1894         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1895         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1896         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1897         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1898         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1899         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1900         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1901         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1902         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1903         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1904         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1905         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1906         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1907         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1908         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1909         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1910         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1912 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1914         [BZ #16245]
1915         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1916         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1918 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1920         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1921         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1922         Likewise.
1924 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1927         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1928         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1929         (__fesetround): Remove define.
1930         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1931         rounding and exceptions handling.
1932         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1933         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1934         (__fe_nomask_env): Likewise.
1935         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1936         __fegetround instead of fegetround.
1937         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1938         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1940 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1942         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1943         it's there.
1945         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1947 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1949         [BZ #11157]
1950         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1951         (encrypt_r): Likewise.
1952         * malloc/obstack.h (obstack_free): Likewise.
1953         * posix/unistd.h (encrypt): Likewise.
1955 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1957         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1958         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1959         DL_CALL_DT_FINI() that call the functions directly.
1960         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1961         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1962         * elf/dl-fini.c: Likewise.
1964 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1966         * malloc/hooks.c (memalign_check): Add alignment rounding.
1967         * malloc/malloc.c (_mid_memalign): New function.
1968         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1969         Implement by calling _mid_memalign.
1970         * manual/probes.texi (Memory Allocation Probes): Remove
1971         memory_valloc_retry and memory_pvalloc_retry.
1973 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1975         * locale/programs/locarchive.c (open_archive): Add const
1976         qualifier to ARCHIVEFNAME and copy default fname to
1977         DEFAULT_FNAME.
1979         [BZ #15601]
1980         * libio/tst-widetext.input: Rename Oriya to Odia.
1981         * locale/iso-639.def: Likewise.
1983         * manual/probes.texi (Mathematical Function Probes): Add
1984         documentation for sin, cos, asin and acos probes.
1985         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1986         (__sin32): Add slowasin probe.
1987         (__cos32): Add slowacos probe.
1988         (__mpsin): Add slowsin probe.
1989         (__mpcos): Add slowcos probe.
1991 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1993         [BZ #15483]
1994         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1995         thread-local __sim_exceptions_thread and global
1996         __sim_exceptions_global.
1997         (__sim_disabled_exceptions): Change to thread-local
1998         __sim_disabled_exceptions_thread and global
1999         __sim_disabled_exceptions_global.
2000         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2001         and global __sim_round_mode_global.
2002         (__simulate_exceptions): Use thread-local floating-point state and
2003         set global state from it as needed.
2004         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2005         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2006         __sim_round_mode_thread.
2007         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2008         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2009         and global __sim_exceptions_global.
2010         (__sim_disabled_exceptions): Change to thread-local
2011         __sim_disabled_exceptions_thread and global
2012         __sim_disabled_exceptions_global.
2013         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2014         and global __sim_round_mode_global.
2015         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2016         (SIM_SET_GLOBAL): Likewise.
2017         * sysdeps/powerpc/soft-fp/sfp-machine.h
2018         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2019         __sim_round_mode_thread.
2020         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2021         __sim_disabled_exceptions_thread.
2022         (__sim_exceptions): Change to __sim_exceptions_thread.
2023         (__sim_disabled_exceptions): Change to
2024         __sim_disabled_exceptions_thread.
2025         (__sim_round_mode): Change to __sim_round_mode_thread.
2026         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2027         thread-local floating-point state and set global state from it as
2028         needed.
2029         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2030         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2031         (__sim_disabled_exceptions): Remove extern declaration.
2032         (feenableexcept): Use thread-local floating-point state and set
2033         global state from it as needed.
2034         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2035         extern declaration.
2036         (__sim_disabled_exceptions): Likewise.
2037         (__sim_round_mode): Likewise.
2038         (__fegetenv): Use thread-local floating-point state.
2039         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2040         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2041         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2042         floating-point state and set global state from it as needed.
2043         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2044         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2045         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2046         Likewise.
2047         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2048         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2049         Likewise.
2050         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2051         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2052         Use __sim_round_mode_thread.
2053         * math/test-fenv-tls.c: New file.
2054         * math/Makefile (tests): Add test-fenv-tls.
2055         ($(objpfx)test-fenv-tls): Depend on
2056         $(common-objpfx)nptl/libpthread.so.
2058 2013-11-19  Andreas Schwab  <schwab@suse.de>
2060         * locale/programs/locale.c (show_info): Decode wordarray elements.
2061         * locale/categories.def (LC_MONETARY): Add element for
2062         _NL_MONETARY_CRNCYSTR.
2063         * locale/C-monetary.c (conversion_rate): New variable.
2064         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2065         element.
2067 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2069         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2070         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2072 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2074         * elf/Makefile (tst-auxv): New test.
2075         * elf/tst-auxv.c: New
2076         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2078 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2080         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2081         (hidden_proto): Caller changed.
2082         (hidden_tls_proto): New macro.
2083         (libc_hidden_tls_proto): Likewise.
2084         (rtld_hidden_tls_proto): Likewise.
2085         (libm_hidden_tls_proto): Likewise.
2086         (libresolv_hidden_tls_proto): Likewise.
2087         (librt_hidden_tls_proto): Likewise.
2088         (libdl_hidden_tls_proto): Likewise.
2089         (libnss_files_hidden_tls_proto): Likewise.
2090         (libnsl_hidden_tls_proto): Likewise.
2091         (libnss_nisplus_hidden_tls_proto): Likewise.
2092         (libutil_hidden_tls_proto): Likewise.
2094 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2096         [BZ #10253]
2097         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2098         (decompose_rpath): Defer expansion to fillin_rpath.
2099         (_dl_init_paths): Pass linkmap to fillin_rpath.
2101 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2103         * benchtests/Makefile: Add strsep.
2104         * benchtests/bench-strsep.c: New file: strsep benchtest.
2105         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2107 2013-11-18  Andreas Schwab  <schwab@suse.de>
2109         * locale/programs/locale.c (show_info) [case byte]: Check for
2110         '\377' instead of '\177'.
2111         * locale/C-monetary.c (not_available): Always use "\377".
2112         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2113         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2114         detect unavailable sign_posn locale elements.
2115         * locale/localeconv.c (__localeconv): For grouping and
2116         mon_grouping handle "\177" and "\377" like no grouping.
2117         (INT_ELEM): New macro.  Use it to set all numeric members.
2118         * locale/programs/ld-monetary.c (monetary_read)
2119         <tok_mon_grouping>: Normalize single -1 to the empty string.
2120         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2121         Likewise.
2123 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2125         [BZ #16055]
2126         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2127         when we match (nil).
2128         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2130 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2132         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2133         (NO_TEST_INLINE): Update value.
2134         (ERRNO_UNCHANGED): Likewise.
2135         (ERRNO_EDOM): Likewise.
2136         (ERRNO_ERANGE): Likewise.
2137         (IGNORE_RESULT): Likewise.
2138         (check_float_internal): Check signs of NaN results if
2139         TEST_NAN_SIGN used.
2140         (check_complex): Pass TEST_NAN_SIGN flag through to second
2141         check_float_internal call.
2142         (copysign_test_data): Add tests with quiet NaNs as second
2143         argument.  Use TEST_NAN_SIGN.
2144         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2145         TEST_NAN_SIGN.
2146         (signbit_test_data): Add tests of quiet NaN argument.
2147         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2149         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2150         $ignore_result.
2151         (parse_args): Handle function results specified as IGNORE.
2152         * math/libm-test.inc (IGNORE_RESULT): New macro.
2153         (check_float_internal): Do not check numerical result if flag
2154         IGNORE_RESULT set.
2155         (check_complex): Pass through IGNORE_RESULT to second
2156         check_float_internal call.
2157         (check_int): Do not check numerical result if flag IGNORE_RESULT
2158         set.
2159         (check_long): Likewise.
2160         (check_bool): Likewise.
2161         (check_longlong): Likewise.
2162         (lrint_test_data): Add tests of infinite and NaN arguments.
2163         (lrint_tonearest_test_data): Likewise.
2164         (lrint_towardzero_test_data): Likewise.
2165         (lrint_downward_test_data): Likewise.
2166         (lrint_upward_test_data): Likewise.
2167         (llrint_test_data): Likewise.
2168         (llrint_tonearest_test_data): Likewise.
2169         (llrint_towardzero_test_data): Likewise.
2170         (llrint_downward_test_data): Likewise.
2171         (llrint_upward_test_data): Likewise.
2172         (lround_test_data): Likewise.
2173         (llround_test_data): Likewise.
2175         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2176         (ERRNO_UNCHANGED): Update value.
2177         (ERRNO_EDOM): Likewise.
2178         (ERRNO_ERANGE): Likewise.
2179         (NO_TEST_INLINE_FLOAT): New macro.
2180         (NO_TEST_INLINE_DOUBLE): Likewise.
2181         (enable_test): New function.
2182         (RUN_TEST_f_f): Check enable_test before running test.
2183         (RUN_TEST_2_f): Likewise.
2184         (RUN_TEST_fff_f): Likewise.
2185         (RUN_TEST_c_f): Likewise.
2186         (RUN_TEST_f_f1): Likewise.
2187         (RUN_TEST_fF_f1): Likewise.
2188         (RUN_TEST_fI_f1): Likewise.
2189         (RUN_TEST_ffI_f1): Likewise.
2190         (RUN_TEST_c_c): Likewise.
2191         (RUN_TEST_cc_c): Likewise.
2192         (RUN_TEST_f_i): Likewise.
2193         (RUN_TEST_f_i_tg): Likewise.
2194         (RUN_TEST_ff_i_tg): Likewise.
2195         (RUN_TEST_f_b): Likewise.
2196         (RUN_TEST_f_b_tg): Likewise.
2197         (RUN_TEST_f_l): Likewise.
2198         (RUN_TEST_f_L): Likewise.
2199         (RUN_TEST_fFF_11): Likewise.
2200         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2201         conditionals.
2202         (cosh_test_data): Likewise.
2203         (exp_test_data): Likewise.
2204         (expm1_test_data): Likewise.
2205         (hypot_test_data): Likewise.
2206         (pow_test_data): Likewise.
2207         (sinh_test_data): Likewise.
2208         (tanh_test_data): Likewise.
2209         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2210         flags argument.
2212         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2213         tests with quiet NaN input and output.
2214         (acosh_test_data): Likewise.
2215         (asin_test_data): Likewise.
2216         (asinh_test_data): Likewise.
2217         (atan_test_data): Likewise.
2218         (atanh_test_data): Likewise.
2219         (atan2_test_data): Likewise.
2220         (cbrt_test_data): Likewise.
2221         (cos_test_data): Likewise.
2222         (cosh_test_data): Likewise.
2223         (erf_test_data): Likewise.
2224         (erfc_test_data): Likewise.
2225         (exp_test_data): Likewise.
2226         (exp10_test_data): Likewise.
2227         (exp2_test_data): Likewise.
2228         (expm1_test_data): Likewise.
2229         (hypot_test_data): Likewise.
2230         (j0_test_data): Likewise.
2231         (j1_test_data): Likewise.
2232         (jn_test_data): Likewise.
2233         (lgamma_test_data): Likewise.
2234         (log_test_data): Likewise.
2235         (log10_test_data): Likewise.
2236         (log1p_test_data): Likewise.
2237         (log2_test_data): Likewise.
2238         (pow_test_data): Likewise.
2239         (scalb_test_data): Likewise.
2240         (sin_test_data): Likewise.
2241         (sincos_test_data): Likewise.
2242         (sinh_test_data): Likewise.
2243         (tan_test_data): Likewise.
2244         (tanh_test_data): Likewise.
2245         (tgamma_test_data): Likewise.
2246         (y0_test_data): Likewise.
2247         (y1_test_data): Likewise.
2248         (yn_test_data): Likewise.
2250         [BZ #16167]
2251         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2252         argument being NaN and avoid computations with second argument in
2253         that case.
2254         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2255         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2256         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2258 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2260         * locale/iso-639.def: Add Chitwani Tharu (the).
2262 2013-11-14  Andreas Schwab  <schwab@suse.de>
2264         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2265         word instead of empty string.
2267 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2270         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2272         (__fe_nomask_env): Likewise.
2274 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2276         * benchtests/bench-timing.h: Include time.h.
2278 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2280         [BZ #15997]
2281         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2282         to 3.4.0 for x32.
2283         * sysdeps/unix/sysv/linux/configure: Regenerated.
2285 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2287         [BZ #16151]
2288         * stdlib/strtod_l.c (round_and_return): Do not consider
2289         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2290         exponent one less than half the least subnormal exponent.
2291         * stdlib/test-strtod-round-data: Add more tests.
2292         * stdlib/tst-strtod-round.c (tests): Regenerated.
2294 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2296         [BZ #14143]
2297         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2298         (__fe_mask_env): Likewise.
2299         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2300         libm_hidden_proto and add function prototype.
2301         (__fe_mask_env): Add function prototype.
2302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2303         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2305         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2307         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2309 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2311         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2312         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2314 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2316         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2317         of htab_find_slot().
2319 2013-11-11  David S. Miller  <davem@davemloft.net>
2321         [BZ #16150]
2322         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2323         symbol in the non-vis3 case in static builds.
2324         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2325         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2326         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2327         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2329 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2331         [BZ #387]
2332         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2333         it is empty.
2335 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2337         * benchtests/Makefile: Add bench-strtod.
2338         * benchtests/bench-strtod.c: New file: strtod benchtest
2340 2013-11-11  Andreas Schwab  <schwab@suse.de>
2342         [BZ #16153]
2343         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2344         terminating NUL in key length.
2346 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2349         Add artificial ODP entry for vDSO symbol for PPC64.
2350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2351         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2353 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2355         [BZ #15374]
2356         * nss/getent.c (services_keys): Recognize services starting with digit.
2358 2013-11-06  David S. Miller  <davem@davemloft.net>
2360         [BZ #15985]
2361         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2362         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2364 2013-11-06  Will Newton  <will.newton@linaro.org>
2366         * manual/memory.texi (Malloc Examples): Remove register
2367         keyword from examples.
2369 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2371         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2373 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2375         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2376         depending on [__GCC_IEC_559 > 0].
2377         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2378         depending on [__GCC_IEC_559_COMPLEX > 0].
2380 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2382         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2383         to iso-639.def.
2385 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2387         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2389 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2391         [BZ #16112]
2392         * malloc/malloc (malloc_info): Do not handle first bin as
2393         special case.
2395 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2397         * locale/iso-639.def: Add Central Nahuatl (nhn).
2399 2013-11-01  Bruno Haible  <bruno@clisp.org>
2401         [BZ #7003]
2402         * manual/math.texi (BSD Random): Specify range upper bound as
2403         in POSIX.
2405 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2407         * locale/iso-639.def: Add Meadow Mari (mhr).
2409 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2411         [BZ #14752], [BZ #15763]
2412         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2413         Validate name.
2414         * rt/tst_shm.c: Add test for escaping directory.
2416 2013-10-31  Andreas Schwab  <schwab@suse.de>
2418         [BZ #15917]
2419         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2420         followed by 'x' as part of digit sequence.
2421         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2423 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2425         [BZ #16037]
2426         * configure.ac: allow GNU Make 4.0 and greater.
2427         * configure: Regenerated.
2429 2013-10-30  Will Newton  <will.newton@linaro.org>
2431         [BZ #16038]
2432         * malloc/hooks.c (memalign_check): Limit alignment to the
2433         maximum representable power of two.
2434         * malloc/malloc.c (__libc_memalign): Likewise.
2435         * malloc/tst-memalign.c (do_test): Add test for very
2436         large alignment values.
2437         * malloc/tst-posix_memalign.c (do_test): Likewise.
2439 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2441         [BZ #11087]
2442         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2443         (munmap_chunk): Likewise.
2444         (mremap_chunk): Likewise.
2446 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2448         [BZ #15799]
2449         * stdlib/div.c (div): Remove obsolete code.
2450         * stdlib/ldiv.c (ldiv): Likewise.
2451         * stdlib/lldiv.c (lldiv): Likewise.
2453 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2455         [BZ #16071]
2456         * nss/nss_files/files-XXX.c (get_contents_ret): New
2457         enumerator.
2458         (get_contents): New function.
2459         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2461 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2463         * configure.in: Moved to ...
2464         * configure.ac: ... here. Change reference to configure.in
2465         to configure.ac.
2466         * sysdeps/arm/preconfigure.ac: ... here.
2467         configure.in to configure.ac.
2468         * sysdeps/gnu/configure.in: Moved to ...
2469         * sysdeps/gnu/configure.ac: ... here.
2470         * sysdeps/i386/configure.in: Moved to ...
2471         * sysdeps/i386/configure.ac: ... here.
2472         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2473         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2474         * sysdeps/mach/configure.in: Moved to ...
2475         * sysdeps/mach/configure.ac: ... here.
2476         * sysdeps/mach/hurd/configure.in: Moved to ...
2477         * sysdeps/mach/hurd/configure.ac: ... here.
2478         * sysdeps/powerpc/configure.in: Moved to ...
2479         * sysdeps/powerpc/configure.ac: ... here.
2480         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2481         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2482         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2483         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2484         * sysdeps/s390/s390-32/configure.in: Moved to ...
2485         * sysdeps/s390/s390-32/configure.ac: ... here.
2486         * sysdeps/s390/s390-64/configure.in: Moved to ...
2487         * sysdeps/s390/s390-64/configure.ac: ... here.
2488         * sysdeps/sh/configure.in: Moved to ...
2489         * sysdeps/sh/configure.ac: ... here.
2490         * sysdeps/sparc/configure.in: Moved to ...
2491         * sysdeps/sparc/configure.ac: ... here.
2492         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2493         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2494         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2495         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2496         * sysdeps/x86_64/configure.in: Moved to ...
2497         * sysdeps/x86_64/configure.ac: ... here.
2498         * sysdeps/x86_64/preconfigure.in: Moved to ...
2499         * sysdeps/x86_64/preconfigure.ac: ... here.
2500         * aclocal.m4: Change reference to configure.in to configure.ac.
2501         * config.h.in: Likewise.
2502         * manual/install.texi: Likewise.
2503         * manual/maint.texi: Likewise.
2504         * Makefile: Likewise.
2505         * malloc/Makefile: Likewise.
2506         * nscd/Makefile: Likewise.
2507         * Makeconfig: Change reference to configure.in and
2508         preconfigure.in to configure.ac and preconfigure.ac
2509         respectively.
2510         * INSTALL: Regenerated.
2511         * configure: Likewise.
2512         * sysdeps/gnu/configure: Likewise.
2513         * sysdeps/i386/configure: Likewise.
2514         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2515         * sysdeps/mach/configure: Likewise.
2516         * sysdeps/mach/hurd/configure: Likewise.
2517         * sysdeps/powerpc/configure: Likewise.
2518         * sysdeps/powerpc/powerpc32/configure: Likewise.
2519         * sysdeps/powerpc/powerpc64/configure: Likewise.
2520         * sysdeps/s390/s390-32/configure: Likewise.
2521         * sysdeps/s390/s390-64/configure: Likewise.
2522         * sysdeps/sh/configure: Likewise.
2523         * sysdeps/sparc/configure: Likewise.
2524         * sysdeps/unix/sysv/linux/configure: Likewise.
2525         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2526         * sysdeps/x86_64/configure: Likewise.
2527         * sysdeps/x86_64/preconfigure: Likewise.
2529 2013-10-29  Andreas Schwab  <schwab@suse.de>
2531         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2533 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535         * benchtests/pow-inputs: Add new inputs.
2537         * benchtests/exp-inputs: Add new inputs.
2539         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2540         conditional check for return value.
2541         (__cos32): Likewise.
2543 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2545         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2546         to provide a boost for large inputs with word alignment.
2547         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2548         implementation based on optimized PPC64 strcpy.
2549         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2550         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2551         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2552         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2554 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2556         [BZ #2801]
2557         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2559 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2561         [BZ #14876]
2562         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2563         * time/tst-strptime.c (day_tests): Add testcase.
2565 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2567         [BZ #14029]
2568         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2570 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2572         [BZ #16074]
2573         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2574         MAP_FAILED on error.
2576 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2578         [BZ #16072]
2579         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2580         heap for large requests.
2582 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2584         [BZ #9954]
2585         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2586         result if the result has no associated interface.
2587         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2588         interface for all 127.X.Y.Z addresses.
2590 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2592         * locale/iso-639.def: Add Ligurian (lij)
2594 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2596         [BZ #15825]
2597         * sunrpc/rpc_main.c: Document rpcgen -5.
2599 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2601         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2603 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2605         [BZ #10278]
2606         * posix/glob.c: Match only directories when trailing slash is present.
2607         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2608         (main): Add testcase.
2610 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2612         [BZ #15670]
2613         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2615 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2617         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2618         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2619         AUTH_DES and cindex for FIPS 140-2.
2620         (DES Encryption): Add cindex FIPS 46-3.
2622         * locale/locarchive.h (struct locarhandle): Add fname.
2623         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2624         if an optional argument was specified to --list-archive,
2625         otherwise NULL.
2626         * locale/programs/locarchive.c (show_archive_content): Take new
2627         argument fname and pass it via ah.fname to open_archive.
2628         * locale/programs/localedef.h: Update decl.
2629         (open_archive): If AH->fname is non-null, open that file
2630         rather than the default file name, and don't ignore ENOENT.
2631         (create_archive): Set AH.fname to NULL.
2632         (delete_locales_from_archive): Likewise.
2633         (add_locales_to_archive): Likewise.
2634         * locale/programs/locfile.c (write_all_categories): Likewise.
2636 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2637             Aldy Hernandez  <aldyh@redhat.com>
2639         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2640         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2641         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2642         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2643         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2646         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2647         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2648         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2649         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2650         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2651         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2652         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2653         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2654         Likewise.
2655         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2656         Likewise.
2657         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2658         Likewise.
2659         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2660         Likewise.
2661         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2662         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2663         Likewise.
2664         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2665         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2666         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2667         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2668         Likewise.
2669         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2670         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2671         * sysdeps/powerpc/preconfigure: Likewise.
2672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2673         Likewise.
2674         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2675         Replace contents of file by #include of <fenv_libc.h>.
2676         * sysdeps/powerpc/soft-fp/sfp-machine.h
2677         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2678         and <sys/prctl.h>.
2679         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2688         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2692         Allow copysignl PLT reference to be missing.
2694 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2695             Joseph Myers  <joseph@codesourcery.com
2697         [BZ #15948]
2698         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2699         single character.
2700         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2702 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2704         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2705         * elf/tst-tls1.c: Likewise.
2706         * elf/tst-tls10.h: Likewise.
2707         * elf/tst-tls14.c: Likewise.
2708         * elf/tst-tls2.c: Likewise.
2709         * elf/tst-tls3.c: Likewise.
2710         * elf/tst-tls4.c: Likewise.
2711         * elf/tst-tls5.c: Likewise.
2712         * elf/tst-tls6.c: Likewise.
2713         * elf/tst-tls7.c: Likewise.
2714         * elf/tst-tls8.c: Likewise.
2715         * elf/tst-tls9.c: Likewise.
2716         * elf/tst-tlsmod1.c: Likewise.
2717         * elf/tst-tlsmod13.c: Likewise.
2718         * elf/tst-tlsmod13a.c: Likewise.
2719         * elf/tst-tlsmod14a.c: Likewise.
2720         * elf/tst-tlsmod16a.c: Likewise.
2721         * elf/tst-tlsmod16b.c: Likewise.
2722         * elf/tst-tlsmod2.c: Likewise.
2723         * elf/tst-tlsmod3.c: Likewise.
2724         * elf/tst-tlsmod4.c: Likewise.
2725         * elf/tst-tlsmod5.c: Likewise.
2726         * elf/tst-tlsmod6.c: Likewise.
2728 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2730         [BZ #12486]
2731         * malloc/malloc.c: remove checks for statistics.
2733 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2735         [BZ #15277]
2736         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2737         * inet/tst-network.c: Add testcase.
2739 2013-10-17  Andreas Schwab  <schwab@suse.de>
2741         [BZ #15218]
2742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2743         to determine canonical name.
2745 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2747         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2748         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2749         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2751         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2752         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2753         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2754         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2755         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2756         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2757         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2758         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2771         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2772         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2777         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2783         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2784         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2785         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2786         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2787         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2788         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2789         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2790         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2791         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2792         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2793         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2794         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2795         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2796         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2797         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2798         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2799         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2800         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2801         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2802         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2804         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2806 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2808         [BZ #16041]
2809         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2810         make result into a quiet NaN.
2812 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2814         * soft-fp/adddf3.c: Fix horizontal whitespace.
2815         * soft-fp/addsf3.c: Likewise.
2816         * soft-fp/addtf3.c: Likewise.
2817         * soft-fp/divdf3.c: Likewise.
2818         * soft-fp/divsf3.c: Likewise.
2819         * soft-fp/divtf3.c: Likewise.
2820         * soft-fp/double.h: Likewise.
2821         * soft-fp/eqdf2.c: Likewise.
2822         * soft-fp/eqsf2.c: Likewise.
2823         * soft-fp/eqtf2.c: Likewise.
2824         * soft-fp/extenddftf2.c: Likewise.
2825         * soft-fp/extended.h: Likewise.
2826         * soft-fp/extendsfdf2.c: Likewise.
2827         * soft-fp/extendsftf2.c: Likewise.
2828         * soft-fp/extendxftf2.c: Likewise.
2829         * soft-fp/fixdfdi.c: Likewise.
2830         * soft-fp/fixdfsi.c: Likewise.
2831         * soft-fp/fixdfti.c: Likewise.
2832         * soft-fp/fixsfdi.c: Likewise.
2833         * soft-fp/fixsfsi.c: Likewise.
2834         * soft-fp/fixsfti.c: Likewise.
2835         * soft-fp/fixtfdi.c: Likewise.
2836         * soft-fp/fixtfsi.c: Likewise.
2837         * soft-fp/fixtfti.c: Likewise.
2838         * soft-fp/fixunsdfdi.c: Likewise.
2839         * soft-fp/fixunsdfsi.c: Likewise.
2840         * soft-fp/fixunsdfti.c: Likewise.
2841         * soft-fp/fixunssfdi.c: Likewise.
2842         * soft-fp/fixunssfsi.c: Likewise.
2843         * soft-fp/fixunssfti.c: Likewise.
2844         * soft-fp/fixunstfdi.c: Likewise.
2845         * soft-fp/fixunstfsi.c: Likewise.
2846         * soft-fp/fixunstfti.c: Likewise.
2847         * soft-fp/floatdidf.c: Likewise.
2848         * soft-fp/floatdisf.c: Likewise.
2849         * soft-fp/floatditf.c: Likewise.
2850         * soft-fp/floatsidf.c: Likewise.
2851         * soft-fp/floatsisf.c: Likewise.
2852         * soft-fp/floatsitf.c: Likewise.
2853         * soft-fp/floattidf.c: Likewise.
2854         * soft-fp/floattisf.c: Likewise.
2855         * soft-fp/floattitf.c: Likewise.
2856         * soft-fp/floatundidf.c: Likewise.
2857         * soft-fp/floatundisf.c: Likewise.
2858         * soft-fp/floatunditf.c: Likewise.
2859         * soft-fp/floatunsidf.c: Likewise.
2860         * soft-fp/floatunsisf.c: Likewise.
2861         * soft-fp/floatunsitf.c: Likewise.
2862         * soft-fp/floatuntidf.c: Likewise.
2863         * soft-fp/floatuntisf.c: Likewise.
2864         * soft-fp/floatuntitf.c: Likewise.
2865         * soft-fp/fmadf4.c: Likewise.
2866         * soft-fp/fmasf4.c: Likewise.
2867         * soft-fp/fmatf4.c: Likewise.
2868         * soft-fp/gedf2.c: Likewise.
2869         * soft-fp/gesf2.c: Likewise.
2870         * soft-fp/getf2.c: Likewise.
2871         * soft-fp/ledf2.c: Likewise.
2872         * soft-fp/lesf2.c: Likewise.
2873         * soft-fp/letf2.c: Likewise.
2874         * soft-fp/muldf3.c: Likewise.
2875         * soft-fp/mulsf3.c: Likewise.
2876         * soft-fp/multf3.c: Likewise.
2877         * soft-fp/negdf2.c: Likewise.
2878         * soft-fp/negsf2.c: Likewise.
2879         * soft-fp/negtf2.c: Likewise.
2880         * soft-fp/op-1.h: Likewise.
2881         * soft-fp/op-2.h: Likewise.
2882         * soft-fp/op-4.h: Likewise.
2883         * soft-fp/op-8.h: Likewise.
2884         * soft-fp/op-common.h: Likewise.
2885         * soft-fp/quad.h: Likewise.
2886         * soft-fp/single.h: Likewise.
2887         * soft-fp/soft-fp.h: Likewise.
2888         * soft-fp/sqrtdf2.c: Likewise.
2889         * soft-fp/sqrtsf2.c: Likewise.
2890         * soft-fp/sqrttf2.c: Likewise.
2891         * soft-fp/subdf3.c: Likewise.
2892         * soft-fp/subsf3.c: Likewise.
2893         * soft-fp/subtf3.c: Likewise.
2894         * soft-fp/truncdfsf2.c: Likewise.
2895         * soft-fp/trunctfdf2.c: Likewise.
2896         * soft-fp/trunctfsf2.c: Likewise.
2897         * soft-fp/trunctfxf2.c: Likewise.
2898         * soft-fp/unorddf2.c: Likewise.
2899         * soft-fp/unordsf2.c: Likewise.
2900         * soft-fp/unordtf2.c: Likewise.
2902 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2904         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2905         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2907 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2909         * elf/dl-libc.c: Clear initfini list after freeing.
2911 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2913         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2914         * soft-fp/addsf3.c: Likewise.
2915         * soft-fp/addtf3.c: Likewise.
2916         * soft-fp/divdf3.c: Likewise.
2917         * soft-fp/divsf3.c: Likewise.
2918         * soft-fp/divtf3.c: Likewise.
2919         * soft-fp/double.h: Likewise.
2920         * soft-fp/eqdf2.c: Likewise.
2921         * soft-fp/eqsf2.c: Likewise.
2922         * soft-fp/eqtf2.c: Likewise.
2923         * soft-fp/extenddftf2.c: Likewise.
2924         * soft-fp/extended.h: Likewise.
2925         * soft-fp/extendsfdf2.c: Likewise.
2926         * soft-fp/extendsftf2.c: Likewise.
2927         * soft-fp/extendxftf2.c: Likewise.
2928         * soft-fp/fixdfdi.c: Likewise.
2929         * soft-fp/fixdfsi.c: Likewise.
2930         * soft-fp/fixdfti.c: Likewise.
2931         * soft-fp/fixsfdi.c: Likewise.
2932         * soft-fp/fixsfsi.c: Likewise.
2933         * soft-fp/fixsfti.c: Likewise.
2934         * soft-fp/fixtfdi.c: Likewise.
2935         * soft-fp/fixtfsi.c: Likewise.
2936         * soft-fp/fixtfti.c: Likewise.
2937         * soft-fp/fixunsdfdi.c: Likewise.
2938         * soft-fp/fixunsdfsi.c: Likewise.
2939         * soft-fp/fixunsdfti.c: Likewise.
2940         * soft-fp/fixunssfdi.c: Likewise.
2941         * soft-fp/fixunssfsi.c: Likewise.
2942         * soft-fp/fixunssfti.c: Likewise.
2943         * soft-fp/fixunstfdi.c: Likewise.
2944         * soft-fp/fixunstfsi.c: Likewise.
2945         * soft-fp/fixunstfti.c: Likewise.
2946         * soft-fp/floatdidf.c: Likewise.
2947         * soft-fp/floatdisf.c: Likewise.
2948         * soft-fp/floatditf.c: Likewise.
2949         * soft-fp/floatsidf.c: Likewise.
2950         * soft-fp/floatsisf.c: Likewise.
2951         * soft-fp/floatsitf.c: Likewise.
2952         * soft-fp/floattidf.c: Likewise.
2953         * soft-fp/floattisf.c: Likewise.
2954         * soft-fp/floattitf.c: Likewise.
2955         * soft-fp/floatundidf.c: Likewise.
2956         * soft-fp/floatundisf.c: Likewise.
2957         * soft-fp/floatunsidf.c: Likewise.
2958         * soft-fp/floatunsisf.c: Likewise.
2959         * soft-fp/floatuntidf.c: Likewise.
2960         * soft-fp/floatuntisf.c: Likewise.
2961         * soft-fp/floatuntitf.c: Likewise.
2962         * soft-fp/fmadf4.c: Likewise.
2963         * soft-fp/fmasf4.c: Likewise.
2964         * soft-fp/fmatf4.c: Likewise.
2965         * soft-fp/gedf2.c: Likewise.
2966         * soft-fp/gesf2.c: Likewise.
2967         * soft-fp/getf2.c: Likewise.
2968         * soft-fp/ledf2.c: Likewise.
2969         * soft-fp/lesf2.c: Likewise.
2970         * soft-fp/letf2.c: Likewise.
2971         * soft-fp/muldf3.c: Likewise.
2972         * soft-fp/mulsf3.c: Likewise.
2973         * soft-fp/multf3.c: Likewise.
2974         * soft-fp/negdf2.c: Likewise.
2975         * soft-fp/negsf2.c: Likewise.
2976         * soft-fp/negtf2.c: Likewise.
2977         * soft-fp/op-1.h: Likewise.
2978         * soft-fp/op-2.h: Likewise.
2979         * soft-fp/op-4.h: Likewise.
2980         * soft-fp/op-8.h: Likewise.
2981         * soft-fp/op-common.h: Likewise.
2982         * soft-fp/quad.h: Likewise.
2983         * soft-fp/single.h: Likewise.
2984         * soft-fp/soft-fp.h: Likewise.
2985         * soft-fp/sqrtdf2.c: Likewise.
2986         * soft-fp/sqrtsf2.c: Likewise.
2987         * soft-fp/sqrttf2.c: Likewise.
2988         * soft-fp/subdf3.c: Likewise.
2989         * soft-fp/subsf3.c: Likewise.
2990         * soft-fp/subtf3.c: Likewise.
2991         * soft-fp/truncdfsf2.c: Likewise.
2992         * soft-fp/trunctfdf2.c: Likewise.
2993         * soft-fp/trunctfsf2.c: Likewise.
2994         * soft-fp/trunctfxf2.c: Likewise.
2995         * soft-fp/unorddf2.c: Likewise.
2996         * soft-fp/unordsf2.c: Likewise.
2997         * soft-fp/unordtf2.c: Likewise.
2999 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3001         [BZ #15672]
3002         * misc/error.c (error_tail): Fix possible buffer overflow.
3004 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3006         [BZ #13028]
3007         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3008         address.
3010 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3012         [BZ #832]
3013         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3014         testing pipefail option.
3016 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3018         * soft-fp/double.h: Indent preprocessor directives inside #if.
3019         * soft-fp/extended.h: Likewise.
3020         * soft-fp/op-2.h: Likewise.
3021         * soft-fp/op-4.h: Likewise.
3022         * soft-fp/op-common.h: Likewise.
3023         * soft-fp/quad.h: Likewise.
3024         * soft-fp/single.h: Likewise.
3025         * soft-fp/soft-fp.h: Likewise.
3027 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3029         * iconv/iconv_prog.c: Fix typos.
3030         * stdio-common/psiginfo-data.h: Likewise.
3032 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3034         [BZ #15764]
3035         * locale/setlocale.c: Fix typo.
3037 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #16036]
3040         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3041         signaling NaN arguments.
3042         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3043         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3045         [BZ #14910]
3046         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3047         unordered operands.
3048         * soft-fp/gesf2.c (__gesf2): Likewise.
3049         * soft-fp/getf2.c (__getf2): Likewise.
3050         * soft-fp/ledf2.c (__ledf2): Likewise.
3051         * soft-fp/lesf2.c (__lesf2): Likewise.
3052         * soft-fp/letf2.c (__letf2): Likewise.
3054         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3055         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3056         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3057         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3058         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3059         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3060         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3061         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3062         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3063         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3064         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3065         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3066         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3067         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3068         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3069         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3070         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3071         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3072         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3073         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3074         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3075         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3076         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3077         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3078         * soft-fp/floattidf.c (__floattidf): Likewise.
3079         * soft-fp/floattisf.c (__floattisf): Likewise.
3080         * soft-fp/floattitf.c (__floattitf): Likewise.
3081         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3082         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3083         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3084         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3085         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3086         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3087         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3088         * soft-fp/gesf2.c (__gesf2): Likewise.
3089         * soft-fp/getf2.c (__getf2): Likewise.
3090         * soft-fp/ledf2.c (__ledf2): Likewise.
3091         * soft-fp/lesf2.c (__lesf2): Likewise.
3092         * soft-fp/letf2.c (__letf2): Likewise.
3094         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3095         Undefine and redefine.
3096         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3097         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3098         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3099         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3100         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3101         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3102         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3103         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3104         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3105         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3106         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3107         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3108         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3109         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3110         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3112         [BZ #16032]
3113         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3114         without decrementing exponent if mantissa >= that for the
3115         denominator, not >.
3116         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3117         denominator, not >.  Decrement exponent in < case instead of
3118         incrementing in >= case.
3119         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3120         without decrementing exponent if mantissa >= that for the
3121         denominator, not >.
3123         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3124         computing saturated result for unsigned overflow.
3126 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3127             Jeff Law  <law@redhat.com>
3129         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3130         (atan2Mp): Add systemtap probe marker.
3131         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3132         (__ieee754_log): Add systemtap probe marker.
3133         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3134         (atanMp): Add systemtap probe marker.
3135         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3136         (tanMp): Add systemtap probe marker.
3137         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3138         (__slowexp): Add systemtap probe marker.
3139         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3140         (__slowpow): Add systemtap probe marker.
3141         * manual/probes.texi: Document probes.
3143 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3145         [BZ #15362]
3146         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3147         written.
3148         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3149         written.
3150         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3151         written to buffer but not flushed.
3152         * libio/iofwrite_u.c:  Likewise.
3153         * libio/iopadn.c:  Return bytes returned even if EOF was
3154         encountered.
3155         * libio/iowpadn.c:  Likewise.
3156         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3157         if _IO_padn does not write the whole buffer.
3158         [!COMPILE_WPRINTF] (PAD): Likewise.
3160 2013-10-10  David S. Miller  <davem@davemloft.net>
3162         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3163         directory block.
3165 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3167         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3168         instead of FSF address.
3169         * soft-fp/fixdfti.c: Likewise.
3170         * soft-fp/fixsfti.c: Likewise.
3171         * soft-fp/fixtfti.c: Likewise.
3172         * soft-fp/fixunsdfti.c: Likewise.
3173         * soft-fp/fixunssfti.c: Likewise.
3174         * soft-fp/fixunstfti.c: Likewise.
3175         * soft-fp/floattidf.c: Likewise.
3176         * soft-fp/floattisf.c: Likewise.
3177         * soft-fp/floattitf.c: Likewise.
3178         * soft-fp/floatuntidf.c: Likewise.
3179         * soft-fp/floatuntisf.c: Likewise.
3180         * soft-fp/floatuntitf.c: Likewise.
3181         * soft-fp/trunctfxf2.c: Likewise.
3183         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3184         * soft-fp/fixdfti.c: Likewise.
3185         * soft-fp/fixsfti.c: Likewise.
3186         * soft-fp/fixtfti.c: Likewise.
3187         * soft-fp/fixunsdfti.c: Likewise.
3188         * soft-fp/fixunssfti.c: Likewise.
3189         * soft-fp/fixunstfti.c: Likewise.
3190         * soft-fp/floattidf.c: Likewise.
3191         * soft-fp/floattisf.c: Likewise.
3192         * soft-fp/floattitf.c: Likewise.
3193         * soft-fp/floatuntidf.c: Likewise.
3194         * soft-fp/floatuntisf.c: Likewise.
3195         * soft-fp/floatuntitf.c: Likewise.
3196         * soft-fp/trunctfxf2.c: Likewise.
3198 2013-10-10  David S. Miller  <davem@davemloft.net>
3200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3202 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3204         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3205         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3206         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3207         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3208         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3209         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3210         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3213         for NaNs before doing comparisons on argument.
3214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3215         Likewise.
3217 2013-10-10  Will Newton  <will.newton@linaro.org>
3219         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3220         passed to _int_memalign does not overflow.
3222 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3224         * scripts/bench.pl: Add include-sources directive.
3225         * benchtests/README: Update documentation.
3227 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3229         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3230         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3231         instead of FP_INIT_ROUNDMODE.
3232         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3233         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3235         [BZ #16034]
3236         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3237         copy class of input value.
3238         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3239         not handle exceptions.
3240         * soft-fp/negsf2.c (__negsf2): Likewise.
3241         * soft-fp/negtf2.c (__negtf2): Likewise.
3242         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3244 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3246         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3247         semicolon.  From Linux kernel.
3249 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3251         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3253 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3255         [BZ #156]
3256         * manual/socket.texi: Added statement about buffer
3257         for gethostbyname2_r.
3259 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3261         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3262         Use .p2align directive instead, throughout.
3263         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3264         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3265         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3267         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3268         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3269         * sysdeps/x86_64/strchr.S: Likewise.
3270         * sysdeps/x86_64/strrchr.S: Likewise.
3272 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3274         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3276         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3278         * sysdeps/generic/math_private.h (__mpsin1): Remove
3279         declaration.
3280         (__mpcos1): Likewise.
3281         (__mpsin): New argument __range_reduce.
3282         (__mpcos): Likewise.
3283         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3284         (slow): Use __mpsin and __mpcos.
3285         (slow1): Likewise.
3286         (slow2): Likewise.
3287         (sloww): Likewise.
3288         (sloww1): Likewise.
3289         (sloww2): Likewise.
3290         (bsloww): Likewise.
3291         (bsloww1): Likewise.
3292         (bsloww2): Likewise.
3293         (cslow2): Likewise.
3294         (csloww): Likewise.
3295         (csloww1): Likewise.
3296         (csloww2): Likewise.
3297         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3298         range_reduce.  Merge in __mpsin1.
3299         (__mpcos): Likewise.
3300         (__mpsin1): Remove.
3301         (__mpcos1): Likewise.
3303 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3305         * locale/loadlocale.c (_nl_intern_locale_data): Use
3306         LOCFILE_ALIGNED_P.
3307         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3308         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3309         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3310         obstack data is appropriately aligned.
3311         (obstack_int32_grow_fast): Likewise.
3312         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3313         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3314         (add_locale_uint32_array): Likewise.
3316 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3318         * benchtests/Makefile: Remove ARGLIST and RET variables.
3319         ($(objpfx)bench-%.c): Pass only function name to the script.
3320         * benchtests/README: Update documentation.
3321         * benchtests/acos-inputs: Add new directives.
3322         * benchtests/acosh-inputs: Likewise.
3323         * benchtests/asin-inputs: Likewise.
3324         * benchtests/asinh-inputs: Likewise.
3325         * benchtests/atan-inputs: Likewise.
3326         * benchtests/atanh-inputs: Likewise.
3327         * benchtests/cos-inputs: Likewise.
3328         * benchtests/cosh-inputs: Likewise.
3329         * benchtests/exp-inputs: Likewise.
3330         * benchtests/log-inputs: Likewise.
3331         * benchtests/pow-inputs: Likewise.
3332         * benchtests/rint-inputs: Likewise.
3333         * benchtests/sin-inputs: Likewise.
3334         * benchtests/sinh-inputs: Likewise.
3335         * benchtests/tan-inputs: Likewise.
3336         * benchtests/tanh-inputs: Likewise.
3337         * scripts/bench.pl: Add support for new directives.
3339 2013-10-07  Alan Modra  <amodra@gmail.com>
3341         * README: Fix careless merge.
3343 2013-10-05  Alan Modra  <amodra@gmail.com>
3345         * NEWS: Mention powerpc64le support and bugs fixed.
3346         * README: Both big-endian and little-endian powerpc64 supported.
3348 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3350         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3351         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3352         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3353         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3355 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3357         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3358         match prototype.
3360 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3362         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3363         Move -mhard-float appending from
3364         ports/sysdeps/powerpc/powerpc32/Makefile.
3365         [$(with-fp) = yes] (ASFLAGS): Likewise.
3366         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3367         * sysdeps/powerpc/nofpu: Move directory from
3368         ports/sysdeps/powerpc/nofpu.
3369         * sysdeps/powerpc/soft-fp: Move directory from
3370         ports/sysdeps/powerpc/soft-fp.
3371         * sysdeps/powerpc/powerpc32/405: Move directory from
3372         ports/sysdeps/powerpc/powerpc32/405.
3373         * sysdeps/powerpc/powerpc32/440: Move directory from
3374         ports/sysdeps/powerpc/powerpc32/440.
3375         * sysdeps/powerpc/powerpc32/464: Move directory from
3376         ports/sysdeps/powerpc/powerpc32/464.
3377         * sysdeps/powerpc/powerpc32/476: Move directory from
3378         ports/sysdeps/powerpc/powerpc32/476.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3380         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3382         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3384         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3386         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3388         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3389         * README: Update for powerpc-*-linux-gnu software floating point
3390         support in libc.
3392         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3393         case to powerpc/powerpc32*.
3394         * sysdeps/unix/sysv/linux/configure: Regenerated.
3396         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3397         (_FPU_MASK_OM): Define as 0x04.
3398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3400         0x00c10080.
3401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3402         0x0000003c.
3403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3406         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3407         getcontext_e500.
3408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3409         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3410         setcontext_e500.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3412         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3413         and setcontext_e500.
3415 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3417         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3419 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3421         * manual/threads.texi (Default Thread Attributes): Fix typo.
3423 2013-10-04  Will Newton  <will.newton@linaro.org>
3425         * malloc/Makefile: Add tst-memalign.
3426         * malloc/tst-memalign.c: New file.
3428         * malloc/tst-posix_memalign.c: Add comments.
3429         (do_test): Add comments and call free on all potentially
3430         allocated pointers. Add space after cast.
3432         * malloc/tst-pvalloc.c: Add comments.
3433         (do_test): Add comments and call free on all potentially
3434         allocated pointers. Remove duplicate check for NULL pointer.
3435         Add space after cast.
3437         * malloc/tst-valloc.c: Add comments.
3438         (do_test): Add comments and call free on all potentially
3439         allocated pointers. Remove duplicate check for NULL pointer.
3440         Add space after cast.
3442 2013-10-04  Alan Modra  <amodra@gmail.com>
3444         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3445         Use stdint types in rather than __attribute__((mode())).
3446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3448 2013-10-04  Alan Modra  <amodra@gmail.com>
3450         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3451         Correct handling of unaligned relocs for little-endian.
3452         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3454 2013-10-04  Alan Modra  <amodra@gmail.com>
3456         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3457         * configure: Regenerate.
3458         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3459         * shlib-versions: Likewise.
3461 2013-10-04  Alan Modra  <amodra@gmail.com>
3463         * string/tester.c (test_memrchr): Increment reported test cycle.
3465 2013-10-04  Alan Modra  <amodra@gmail.com>
3467         * string/test-memcpy.c (do_one_test): When reporting errors, print
3468         string address and don't overrun end of string.
3470 2013-10-04  Alan Modra  <amodra@gmail.com>
3472         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3473         insrdi.  Make better use of reg selection to speed exit slightly.
3474         Schedule entry path a little better.  Remove useless "are we done"
3475         checks on entry to main loop.  Handle wrapping around zero address.
3476         Correct main loop count.  Handle single left-over word from main
3477         loop inline rather than by using loop_small.  Remove extra word
3478         case in loop_small caused by wrong loop count.  Add little-endian
3479         support.
3480         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3481         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3482         cache hint.
3483         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3484         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3485         support.  Avoid rlwimi.
3486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3488 2013-10-04  Alan Modra  <amodra@gmail.com>
3490         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3491         insrdi.  Formatting.
3492         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3493         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3494         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3495         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3496         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3497         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3499 2013-10-04  Alan Modra  <amodra@gmail.com>
3501         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3502         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3504         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3505         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3506         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3507         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3508         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3509         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3510         use of regs.  Use power7 mtocrf.  Tidy function tails.
3512 2013-10-04  Alan Modra  <amodra@gmail.com>
3514         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3515         Formatting.  Consistently use rXXX register defines or rN defines.
3516         Use early exit labels that avoid restoring unused non-volatile regs.
3517         Make cr field use more consistent with rWORDn compares.  Rename
3518         regs used as shift registers for unaligned loop, using rN defines
3519         for short lifetime/multiple use regs.
3520         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3522         addi 1,1,64 to pop stack frame.  Simplify return value code.
3523         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3525 2013-10-04  Alan Modra  <amodra@gmail.com>
3527         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3528         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3529         rather than rlwimi.
3530         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3531         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3532         little-endian support.  Correct typos.
3533         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3534         rather than rlwimi.
3535         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3536         in loop and entry code to keep "and." results.
3537         (strchr): Add little-endian support.  Comment.  Move cntlzd
3538         earlier in tail.
3539         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3541 2013-10-04  Alan Modra  <amodra@gmail.com>
3543         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3544         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3545         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3546         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3548 2013-10-04  Alan Modra  <amodra@gmail.com>
3550         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3551         (rTMP): Define as r11.
3552         (strcmp): Add little-endian support.  Optimise tail.
3553         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3554         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3555         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3556         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3557         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3558         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3559         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3561 2013-10-04  Alan Modra  <amodra@gmail.com>
3563         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3564         little-endian support.  Remove unnecessary "are we done" tests.
3565         Handle "s" wrapping around zero and extremely large "size".
3566         Correct main loop count.  Handle single left-over word from main
3567         loop inline rather than by using small_loop.  Correct comments.
3568         Delete "zero" tail, use "end_max" instead.
3569         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3571 2013-10-04  Alan Modra  <amodra@gmail.com>
3573         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3574         support.  Don't branch over align.
3575         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3576         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3577         support.  Rearrange tmp reg use to suit.  Comment.
3578         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3580 2013-10-04  Alan Modra  <amodra@gmail.com>
3582         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3584 2013-10-04  Alan Modra  <amodra@gmail.com>
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3587         conditional form of branch and link when obtaining pc.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3590 2013-10-04  Alan Modra  <amodra@gmail.com>
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3593         HIWORD/LOWORD.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3597 2013-10-04  Alan Modra  <amodra@gmail.com>
3599         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3600         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3601         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3602         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3603         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3604         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3605         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3606         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3607         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3608         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3610 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3611             Alistair Popple <alistair@ozlabs.au.ibm.com>
3612             Alan Modra <amodra@gmail.com>
3614         [BZ #15723]
3615         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3616         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3617         _dl_hwcap access for little-endian.
3618         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3619         destroy vmx regs when saving unaligned.
3620         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3621         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3622         destroy vmx regs when saving unaligned.
3624 2013-10-04  Alan Modra  <amodra@gmail.com>
3626         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3627         Don't use a union to pack hi/low value.
3629 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3631         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3632         for little-endian.
3633         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3634         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3635         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3636         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3637         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3639 2013-10-04  Alan Modra  <amodra@gmail.com>
3641         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3642         constants to usual value for .cst8 section, and remove redundant
3643         high address load.
3644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3645         constant for 0x1p52.  Load little-endian words of double from
3646         correct stack offsets.
3648 2013-10-04  Alan Modra  <amodra@gmail.com>
3650         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3651         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3652         words of double from correct stack offsets.
3653         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3654         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3655         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3657         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3658         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3659         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3660         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3661         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3664         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3665         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3666         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3667         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3668         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3669         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3671 2013-10-04  Alan Modra  <amodra@gmail.com>
3673         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3674         64-bit int/double union.
3675         (_FPU_SETCW): Likewise.
3676         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3677         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3679 2013-10-04  Alan Modra  <amodra@gmail.com>
3681         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3682         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3684 2013-10-04  Alan Modra  <amodra@gmail.com>
3686         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3687         use vector int constants.
3688         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3690 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3692         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3693         array with long long.
3694         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3695         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3696         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3697         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3698         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3699         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3700         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3701         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3702         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3703         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3704         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3705         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3706         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3708 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3710         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3711         (__signbit): Likewise.  Correct for little-endian.
3712         (__signbitl): Call __signbit.
3713         (lrint): Correct for little-endian.
3714         (lrintf): Call lrint.
3716 2013-10-04  Alan Modra  <amodra@gmail.com>
3718         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3719         union 32-bit int array member with 64-bit int array.
3720         (t515, tm256): Double rather than long double.
3721         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3723 2013-10-04  Alan Modra  <amodra@gmail.com>
3725         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3726         Delete.
3727         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3728         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3729         version of math_ldbl.h.
3731 2013-10-04  Alan Modra  <amodra@gmail.com>
3733         [BZ #15734], [BZ #15735]
3734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3735         all uses of ieee875 long double macros and unions.  Simplify test
3736         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3737         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3738         normalize after ldbl_extract_mantissa, and don't add hidden bit
3739         already handled.  Don't treat low word of ieee854 mantissa like
3740         low word of IBM long double and mask off bit when testing for
3741         zero.
3742         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3743         all uses of ieee875 long double macros and unions.  Simplify tests
3744         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3745         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3746         two1022, instead use their values.  Recognise that tests for large
3747         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3748         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3749         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3750         test for 0.0L and nan.  Correct negation.
3751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3752         ieee875 long double macros and unions.  Correct output for large
3753         magnitude x.  Correct absolute value calculation.
3754         (__erfcl): Likewise.
3755         * math/libm-test.inc: Add tests for errors discovered in IBM long
3756         double versions of fmodl, remainderl, erfl and erfcl.
3758 2013-10-04  Alan Modra  <amodra@gmail.com>
3760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3761         all uses of ieee854 long double macros and unions.  Simplify tests
3762         for long doubles that are fully specified by the high double.
3763         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3764         Likewise.
3765         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3766         Remove dead code too.
3767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3768         (__ieee754_ynl): Likewise.
3769         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3770         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3771         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3772         Remove dead code too.
3773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3774         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3776         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3777         Simplify.
3778         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3779         Simplify.
3780         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3781         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3783         Comment on variable precision.
3784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3786         Likewise.
3787         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3788         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3790         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3791         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3793 2013-10-04  Alan Modra  <amodra@gmail.com>
3795         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3796         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3797         all uses of ieee854 long double macros and unions.
3798         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3799         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3800         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3801         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3802         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3804         Likewise.
3805         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3809         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3810         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3811         Simplify sign and nan test too.
3812         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3813         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3814         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3815         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3816         Likewise.
3817         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3818         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3819         Likewise.
3820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3821         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3822         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3823         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3824         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3827 2013-10-04  Alan Modra  <amodra@gmail.com>
3829         * stdio-common/printf_size.c (__printf_size): Don't use
3830         union ieee854_long_double in fpnum union.
3831         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3832         signbit macro to retrieve sign from long double.
3833         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3834         retrieve sign from long double.
3835         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3836         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3837         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3838         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3839         * math/test-misc.c (main): Don't use union ieee854_long_double.
3841 2013-10-04  Alan Modra  <amodra@gmail.com>
3843         [BZ #15680]
3844         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3845         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3846         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3847         calculation.  Remove unnecessary test for denormal exponent.
3848         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3849         Correct handling of denormals.  Avoid undefined shift behaviour.
3850         Correct normalisation of low mantissa when low double is denormal.
3851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3852         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3853         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3854         Correct normalisation of low mantissa.  Test for overflow of high
3855         mantissa and normalise.
3856         (ldbl_nearbyint): Use more readable constant for two52.
3857         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3858         (__mpn_construct_long_double): Fix test for overflow of high
3859         mantissa and correct normalisation.  Avoid undefined shift.
3861 2013-10-04  Alan Modra  <amodra@gmail.com>
3863         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3864         (union ibm_extended_long_double): Define as an array of ieee754_double.
3865         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3866         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3867         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3868         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3870         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3871         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3872         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3873         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3874         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3875         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3877 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3879         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3880         page size instead of calling getpagesize.
3882         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3883         (LOCFILE_ALIGN_MASK): Likewise.
3884         (LOCFILE_ALIGN_UP): Likewise.
3885         (LOCFILE_ALIGNED_P): Likewise.
3886         * locale/programs/ld-collate.c (collate_output): Use the new
3887         macros instead of __alignof__ (int32_t).
3888         * locale/weight.h (findidx): Likewise.
3890 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3892         [BZ #431]
3893         * manual/string.texi: Fix strncat and wcsncat.
3895 2013-10-03  Brooks Moses  <bmoses@google.com>
3897         [BZ #15915]
3898         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3899         * Makerules: ...here, and adjust associated comments.
3901 2013-10-02  Will Newton  <will.newton@linaro.org>
3903         * malloc/Makefile: Add tst-pvalloc.
3904         * malloc/tst-pvalloc.c: New file.
3906 2013-10-02  Will Newton  <will.newton@linaro.org>
3908         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3909         improve test coverage.
3911 2013-10-02  Will Newton  <will.newton@linaro.org>
3913         * malloc/Makefile: Add tst-posix_memalign.
3914         * malloc/tst-posix_memalign.c: New file.
3916 2013-10-01  Eric Blake  <eblake@redhat.com>
3918         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3919         Use __THROWNL rather than __THROW on static functions.
3921 2013-09-30  Petr Machata  <pmachata@redhat.com>
3923         * elf/elf.h (R_AARCH64_ABS16): New macro.
3924         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3925         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3926         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3927         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3928         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3929         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3930         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3931         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3932         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3933         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3934         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3935         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3936         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3937         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3938         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3939         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3940         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3941         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3942         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3943         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3944         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3945         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3946         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3947         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3948         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3949         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3950         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3951         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3952         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3953         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3954         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3955         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3956         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3957         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3958         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3959         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3960         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3961         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3962         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3963         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3964         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3965         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3966         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3967         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3968         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3969         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3970         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3971         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3972         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3973         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3974         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3975         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3976         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3977         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3978         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3979         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3980         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3981         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3982         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3983         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3984         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3985         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3986         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3987         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3988         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3989         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3990         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3991         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3992         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3993         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3994         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3995         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3996         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3997         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3998         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3999         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4000         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4001         (R_AARCH64_TLSDESC_LDR): Likewise.
4002         (R_AARCH64_TLSDESC_ADD): Likewise.
4003         (R_AARCH64_TLSDESC_CALL): Likewise.
4005 2013-09-30  Andreas Schwab  <schwab@suse.de>
4007         [BZ #15048]
4008         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4009         the nss database lookup.
4010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4013 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4015         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4017 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4020         ${Bash-specific parameter/pattern/string} parameter expansion.
4021         * sysdeps/unix/make-syscalls.sh: Likewise.
4023 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4025         * sysdeps/sh/stackguard-macros.h: New file.
4027 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4031         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4032         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4034         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4036 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4038         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4039         Fix thread ID register.
4041 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4043         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4044         [POSIX || UNIX98]: Require rather than permitting all symbols from
4045         <time.h>.
4046         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4047         element of struct sched_param.
4048         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4049         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4050         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4051         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4052         constant.
4054 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4056         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4057         argument calculation.
4059 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4061         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4062         Expect macro.
4063         [POSIX] (pthread_attr_t): Do not require type.
4064         [POSIX] (pthread_cond_t): Likewise.
4065         [POSIX] (pthread_condattr_t): Likewise.
4066         [POSIX] (pthread_key_t): Likewise.
4067         [POSIX] (pthread_mutex_t): Likewise.
4068         [POSIX] (pthread_mutexattr_t): Likewise.
4069         [POSIX] (pthread_once_t): Likewise.
4070         [POSIX] (pthread_t): Likewise.
4071         [POSIX-based standards] (pthread_atfork): Expect function.
4073 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4074             Richard Sandiford  <richard@codesourcery.com>
4076         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4077         (swap_endianness_p): New extern variable.
4078         (set_big_endian): New inline function.
4079         (maybe_swap_uint32): Likewise.
4080         (maybe_swap_uint32_array): Likewise.
4081         (maybe_swap_uint32_obstack): Likewise.
4082         * locale/programs/locfile.c: Include <stdbool.h>.
4083         (swap_endianness_p): New variable.
4084         (add_locale_uint32): Call maybe_swap_uint32.
4085         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4086         (write_locale_data): Call maybe_swap_uint32_array.
4087         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4088         maybe_swap_uint32.
4089         (obstack_int32_grow_fast): Likewise.
4090         (output_weightwc): Call maybe_swap_uint32_obstack.
4091         (collate_output): Likewise.
4092         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4093         (OPT_LITTLE_ENDIAN): Likewise.
4094         (options): Add --little-endian and --big-endian options.
4095         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4096         * locale/programs/locarchive.c: Include "locfile.h".
4097         (GET): New macro.
4098         (SET): Likewise.
4099         (INC): Likewise.
4100         (create_archive): Use the new macros to access fields of
4101         structures directly mapped from or written to locale archives.
4102         (oldlocrecentcmp): Likewise.
4103         (enlarge_archive): Likewise.
4104         (insert_name): Likewise.
4105         (add_alias): Likewise.
4106         (add_locale): Likewise.
4107         (delete_locales_from_archive): Likewise.
4108         (show_archive_content): Likewise.
4109         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4110         locale data.
4112 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4114         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4115         http://www.gnu.org/doc/freemanuals.texi.
4116         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4118 2013-09-24  Will Newton  <will.newton@linaro.org>
4120         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4121         macro.
4123 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4125         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4126         unsigned char.
4128 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4130         * manual/threads.texi (POSIX Threads): Fix a typo.
4132 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4134         [BZ #14547]
4135         * string/tst-strcoll-overflow.c: New test case.
4136         * string/Makefile (xtests): Add tst-strcoll-overflow.
4137         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4138         cache if string sizes may cause integer overflow.
4140         [BZ #14547]
4141         * string/strcoll_l.c (coll_seq): New members rule, idx,
4142         save_idx and back_us.
4143         (get_next_seq_nocache): New function.
4144         (do_compare_nocache): New function.
4145         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4146         when malloc fails.
4148 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4150         [BZ #15754]
4151         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4152         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4153         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4155         [BZ #15754]
4156         * elf/Makefile (tests): Add tst-ptrguard1.
4157         (tests-static): Add tst-ptrguard1-static.
4158         (tst-ptrguard1-ARGS): Define.
4159         (tst-ptrguard1-static-ARGS): Define.
4160         * elf/tst-ptrguard1.c: New file.
4161         * elf/tst-ptrguard1-static.c: New file.
4162         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4163         * sysdeps/i386/stackguard-macros.h: Likewise.
4164         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4165         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4166         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4167         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4168         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4169         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4171 2013-09-23  Hector Marco  <hecmargi@upv.es>
4172             Ismael Ripoll  <iripoll@disca.upv.es>
4173             Carlos O'Donell  <carlos@redhat.com>
4175         [BZ #15754]
4176         * sysdeps/generic/stackguard-macros.h: Define
4177         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4178         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4179         Define __pointer_chk_guard_local.
4180         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4181         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4183 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4185         [BZ #15859]
4186         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4188 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4190         * include/string.h (__ffs): Declare as hidden.
4191         * string/ffs.c (__ffs): Define as hidden.
4192         * sysdeps/i386/ffs.c (__ffs): Likewise.
4193         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4194         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4195         * sysdeps/s390/ffs.c (__ffs): Likewise.
4196         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4198 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4200         * NEWS: Mention malloc probes.
4202         * malloc/arena.c (new_heap): New memory_heap_new probe.
4203         (grow_heap): New memory_heap_more probe.
4204         (shrink_heap): New memory_heap_less probe.
4205         (heap_trim): New memory_heap_free probe.
4206         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4207         (systrim): New memory_sbrk_less probe.
4208         * manual/probes.texi: Document them.
4210         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4211         * manual/probes.texi: Document it.
4213         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4214         (__libc_realloc): Add memory_realloc_retry probe.
4215         (__libc_memalign): Add memory_memalign_retry probe.
4216         (__libc_valloc): Add memory_valloc_retry probe.
4217         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4218         (__libc_calloc): Add memory_calloc_retry probe.
4219         * manual/probes.texi: Document them.
4221         * malloc/arena.c (get_free_list): Add probe
4222         memory_arena_reuse_free_list.
4223         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4224         and memory_arena_reuse.
4225         (arena_get2) [!PER_THREAD]: Likewise.
4226         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4227         memory_arena_reuse_realloc.
4228         * manual/probes.texi: Document them.
4230         * malloc/malloc.c (__libc_free): Add
4231         memory_mallopt_free_dyn_thresholds probe.
4232         (__libc_mallopt): Add multiple memory_mallopt probes.
4233         * manual/probes.texi: Document them.
4235         * malloc/malloc.c: Include stap-probe.h.
4236         (__libc_mallopt): Add memory_mallopt probe.
4237         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4238         * manual/probes.texi: New.
4239         * manual/Makefile (chapters): Add probes.
4240         * manual/threads.texi: Set next node.
4242 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4244         [BZ #15963, #13985]
4245         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4246         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4247         Add `Chinese' to `nan' entry name.
4249 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4251         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4252         (POLYNOMIAL): Likewise.
4253         (TAYLOR_SINCOS): Likewise.
4254         (TAYLOR_SLOW): Likewise.
4255         (__sin): Use TAYLOR_SINCOS.
4256         (__cos): Likewise.
4257         (slow): Use TAYLOR_SLOW.
4258         (sloww): Likewise.
4259         (bsloww): Likewise.
4260         (csloww): Likewise.
4262 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4264         * stdlib/strtod_l.c: Fix buffer overrun.
4266 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4268         * benchtests/Makefile (bench): Add sincos.
4269         * benchtests/bench-sincos.c: New file.
4271         * math/libm-test.inc (cos_test_data): New test inputs.
4272         (sin_test_data): Likewise.
4274         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4275         macro.
4276         (__sin): Use it.
4277         (__cos): Likewise.
4278         (slow1): Likewise.
4279         (slow2): Likewise.
4280         (sloww1): Likewise.
4281         (sloww2): Likewise.
4282         (bsloww1): Likewise.
4283         (bsloww2): Likewise.
4284         (cslow2): Likewise.
4285         (csloww1): Likewise.
4286         (csloww2): Likewise.
4288         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4289         function.
4290         (__sin): Use it.
4291         (__cos): Likewise.
4293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4294         gotos.
4295         (__cos): Likewise.
4297 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4299         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4300         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4301         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4302         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4303         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4304         * elf/cache.c (print_entry): Handle the new cache flags.
4306 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4307             Aldy Hernandez  <aldyh@redhat.com>
4309         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4310         Change condition to [_SOFT_FLOAT].
4311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4323         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4326         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4327         declaration.
4329 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4331         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4332         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4333         (__longjmp): Use LOAD_GP to load saved GPRs.
4334         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4335         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4336         (__sigsetjmp): Use SAVE_GP to save GPRs.
4338         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4339         Do not append -msoft-float.
4340         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4342 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4344         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4346 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4348         [BZ #15966]
4349         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4350         (_FPU_GETCW): Use initial "__" on variable and field names but not
4351         on macro parameter name.
4352         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4353         parentheses around reference to macro parameter.
4355 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4357         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4358         prototype.
4359         (ctype_startup): Use uint32_t in cast and sizeof for
4360         ctype->charnames.
4362 2013-09-11  Jia Liu  <proljc@gmail.com>
4364         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4365         __daddr_t_defined.
4366         [__FreeBSD__]: Likewise.
4368 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4371         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4372         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4373         (strchr): Remove __strchr_sse42 ifunc selection.
4374         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4375         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4377 2013-09-11  Will Newton  <will.newton@linaro.org>
4379         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4380         parameter to RES. Remove hardcoded 1000 value.
4381         * benchtests/bench-skeleton.c (main): Pass RES parameter
4382         to TIMING_INIT and multiply result by 1000.
4384 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4388 2013-09-11  Andreas Schwab  <schwab@suse.de>
4390         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4391         if not defined.
4392         (O_TMPFILE) [__USE_GNU]: Define.
4393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4394         Define.
4396 2013-09-11  Will Newton  <will.newton@linaro.org>
4398         [BZ #15857]
4399         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4400         does not overflow.
4402 2013-09-11  Will Newton  <will.newton@linaro.org>
4404         [BZ #15856]
4405         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4406         does not overflow.
4408 2013-09-11  Will Newton  <will.newton@linaro.org>
4410         [BZ #15855]
4411         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4412         does not overflow.
4414 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4416         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4417         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4418         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4419         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4420         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4422 2013-09-10  Allan McRae  <allan@archlinux.org>
4424         [BZ #15748]
4425         * manual/arith.texi (Parsing of Floats): Clarify
4426         cross-reference.
4428         [BZ #15849]
4429         * manual/install.texi (Running make install): Mention
4430         --enable-pt-chown.
4431         * INSTALL: Regenerated.
4433 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4435         * csu/init-first.c (_init): Remove the !SHARED condition around
4436         FPU control word initialization.
4437         * elf/dl-support.c (_dl_fpu_control): New variable.
4438         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4439         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4440         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4441         * math/test-fpucw-static.c: New file.
4442         * math/test-fpucw-ieee.c: New file.
4443         * math/test-fpucw-ieee-static.c: New file.
4444         * math/Makefile (tests): Add `test-fpucw-ieee' and
4445         `$(tests-static)'.
4446         (tests-static): New variable.
4447         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4448         dependency to...
4449         [($(build-shared),yes)]
4450         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4451         ... this.
4452         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4453         New dependency.
4455 2013-09-09  Allan McRae  <allan@archlinux.org>
4457         [BZ #15939]
4458         * manual/string.texi (Collation Functions): Fix typo in
4459         strcoll example.
4460         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4462         [BZ #15893]
4463         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4465         [BZ #15892]
4466         * libio/memstream.c (open_memstream): Fix memory leak.
4467         * libio/wmemstream.c (open_wmemstream): Likewise.
4469         [BZ #15895]
4470         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4472 2013-09-09  Will Newton  <will.newton@linaro.org>
4474         * malloc/Makefile: Add tst-realloc to tests.
4475         * malloc/tst-realloc.c: New file.
4477 2013-09-09  Allan McRae  <allan@archlinux.org>
4479         [BZ #15844]
4480         * COPYING: Update from GNU website to fix FSF address.
4481         * COPYING.LIB: Likewise.
4483 2013-09-06  David S. Miller  <davem@davemloft.net>
4485         * po/zh_TW.po: Update Chinese (traditional) translation from
4486         translation project.
4488 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4489             Joseph Myers  <joseph@codesourcery.com>
4491         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4492         "localeinfo.h".
4493         (obstack_chunk_alloc): New macro.
4494         (obstack_chunk_free): Likewise.
4495         (record_offset): New function.
4496         (init_locale_data): Likewise.
4497         (align_locale_data): Likewise.
4498         (add_locale_empty): Likewise.
4499         (add_locale_raw_data): Likewise.
4500         (add_locale_raw_obstack): Likewise.
4501         (add_locale_string): Likewise.
4502         (add_locale_wstring): Likewise.
4503         (add_locale_uint32): Likewise.
4504         (add_locale_uint32_array): Likewise.
4505         (add_locale_char): Likewise.
4506         (start_locale_structure): Likewise.
4507         (end_locale_structure): Likewise.
4508         (start_locale_prelude): Likewise.
4509         (end_locale_prelude): Likewise.
4510         (write_locale_data): Take locale_file structure rather than an
4511         iovec.
4512         * locale/programs/locfile.h: Include "obstack.h".
4513         (struct locale_file): Change to store locale file contents instead
4514         of header.
4515         (init_locale_data): New prototype.
4516         (align_locale_data): Likewise.
4517         (add_locale_empty): Likewise.
4518         (add_locale_raw_data): Likewise.
4519         (add_locale_raw_obstack): Likewise.
4520         (add_locale_string): Likewise.
4521         (add_locale_wstring): Likewise.
4522         (add_locale_uint32): Likewise.
4523         (add_locale_uint32_array): Likewise.
4524         (add_locale_char): Likewise.
4525         (start_locale_structure): Likewise.
4526         (end_locale_structure): Likewise.
4527         (start_locale_prelude): Likewise.
4528         (end_locale_prelude): Likewise.
4529         (write_locale_data): Update prototype.
4530         * locale/programs/3level.h (struct TABLE): Remove result field.
4531         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4532         Use new locale_file interface.
4533         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4534         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4535         * locale/programs/ld-address.c (address_output): Use new
4536         locale_file interface.
4537         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4538         NO_ADD_LOCALE.
4539         (collate_finish): Don't call collseq_table_finalize.
4540         (collate_output): Use new locale_file interface.
4541         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4542         in file.
4543         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4544         (TABLE): Move defines earlier in file.
4545         (ELEMENT): Likewise.
4546         (DEFAULT): Likewise.
4547         (wctrans_table_add): Move macro and inline function earlier in
4548         file.
4549         (struct wctype_table): Move type earlier in file.
4550         (add_locale_wctype_table): New static prototype.
4551         (struct locale_ctype_t): Use logical types instead of struct iovec
4552         pointers for members.
4553         (ctype_output): Use new locale_file interface.
4554         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4555         new locale_file interface.
4556         (allocate_arrays): Update for use of new locale_file interface.
4557         * locale/programs/ld-identification.c (identification_output): Use
4558         new locale_file interface.
4559         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4560         * locale/programs/ld-messages.c (messages_output): Likewise.
4561         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4562         * locale/programs/ld-name.c (name_output): Likewise.
4563         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4564         * locale/programs/ld-paper.c (paper_output): Likewise.
4565         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4566         * locale/programs/ld-time.c (time_output): Likewise.
4568 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         * benchtests/Makefile: Add memrchr benchmark.
4571         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4572         benchmark as memrchr.
4573         * benchtests/bench-memrchr-ifunc.c: New file.
4574         * benchtests/bench-memrchr.c: New file.
4576 2013-09-06   Will Newton  <will.newton@linaro.org>
4578         * benchtests/Makefile (string-bench): Add memcpy.
4580 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4581             Cong Wang  <amwang@redhat.com>
4583         * sysdeps/unix/sysv/linux/bits/in.h
4584         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4585         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4586         before __USE_KERNEL_IPV6_DEFS uses.
4587         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4588         IPPROTO_BEETPH.
4589         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4590         sockaddr_in6, or ipv6_mreq.
4592 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4595         memory access for final bytes in some large inputs.
4596         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4598 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4600         * string/test-memrchr.c: New file.
4601         * string/test-memrchr-ifunc.c: New file.
4602         * string/Makefile: Add new memrchr testcase.
4604 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4606         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4607         fanotify_init returns EPERM.
4609 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4611         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4612         errors.
4613         (top level): Treat second token from macro or constant entries for
4614         allowed headers as allowed.
4615         * include/complex.h: Condition internal declarations on
4616         [!_ISOMAC].
4617         * include/fenv.h: Condition include of <stdbool.h> and internal
4618         declarations on [!_ISOMAC].
4620 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4622         [BZ #15923]
4623         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4625 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4627         * configure.in (--enable-versioning): Remove configure option.
4628         (libc_cv_asm_symver_directive): Remove configure test.
4629         (libc_cv_ld_version_script_option): Likewise.
4630         (VERSIONING): Remove variable and AC_SUBST.
4631         (DO_VERSIONING): Remove AC_DEFINE.
4632         * configure: Regenerated.
4633         * config.h.in (DO_VERSIONING): Remove macro.
4634         * Makerules [$(versioning) = yes]: Change conditionals to
4635         [$(build-shared) = yes].
4636         * config.make.in (versioning): Remove variable.
4637         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4638         [$(build-shared) = yes].
4639         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4640         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4641         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4642         [$(build-shared) = yes].
4643         * extra-lib.mk [$(versioning) = yes]: Likewise.
4644         * hurd/Makefile [$(versioning) = yes]: Likewise.
4645         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4646         [SHARED].
4647         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4648         [SHARED].
4649         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4650         [SHARED && !NO_HIDDEN].
4651         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4652         [SHARED].
4653         [SHARED && DO_VERSIONING]: Likewise..
4654         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4655         [$(build-shared) = yes].
4656         * manual/install.texi (--disable-versioning): Remove
4657         documentation.
4658         * INSTALL: Regenerated.
4659         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4660         to [SHARED].
4661         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4662         [$(build-shared) = yes].
4663         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4664         * sysdeps/i386/i686/multiarch/strstr-c.c
4665         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4666         [SHARED && !NO_HIDDEN].
4667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4668         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4669         * sysdeps/powerpc/powerpc32/dl-machine.c
4670         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4671         * sysdeps/powerpc/powerpc32/sysdep.h
4672         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4673         to [SHARED && PIC && !NO_HIDDEN].
4674         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4675         conditional to [SHARED].
4677 2013-09-04   Will Newton  <will.newton@linaro.org>
4679         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4680         * benchtests/bench-string.h: Include bench-timing.h instead
4681         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4682         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4683         call to HP_TIMING_DIFF_INIT.
4684         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4685         instead of hp-timing.h macros.
4686         * benchtests/bench-memchr.c: Likewise.
4687         * benchtests/bench-memcmp.c: Likewise.
4688         * benchtests/bench-memcpy.c: Likewise.
4689         * benchtests/bench-memmem.c: Likewise.
4690         * benchtests/bench-memmove.c: Likewise.
4691         * benchtests/bench-memset.c: Likewise.
4692         * benchtests/bench-rawmemchr.c: Likewise.
4693         * benchtests/bench-strcasecmp.c: Likewise.
4694         * benchtests/bench-strcasestr.c: Likewise.
4695         * benchtests/bench-strcat.c: Likewise.
4696         * benchtests/bench-strchr.c: Likewise.
4697         * benchtests/bench-strcmp.c: Likewise.
4698         * benchtests/bench-strcpy.c: Likewise.
4699         * benchtests/bench-strcpy_chk.c: Likewise.
4700         * benchtests/bench-strlen.c: Likewise.
4701         * benchtests/bench-strncasecmp.c: Likewise.
4702         * benchtests/bench-strncat.c: Likewise.
4703         * benchtests/bench-strncmp.c: Likewise.
4704         * benchtests/bench-strncpy.c: Likewise.
4705         * benchtests/bench-strnlen.c: Likewise.
4706         * benchtests/bench-strpbrk.c: Likewise.
4707         * benchtests/bench-strrchr.c: Likewise.
4708         * benchtests/bench-strspn.c: Likewise.
4709         * benchtests/bench-strstr.c: Likewise.
4711 2013-09-04  Will Newton  <will.newton@linaro.org>
4713         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4715 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4717         [BZ #15427]
4718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4719         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4720         * math/libm-test.inc (lgamma_test_data): Add more tests.
4721         * sysdeps/i386/fpu/libm-test-ulps: Update.
4722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4724 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4726         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4728         Add ifunc.
4729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4730         Add strcmp-sse2-unaligned
4731         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4733 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4735         * Versions.def (libc): Add GLIBC_2.19.
4737 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4739         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4740         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4742 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4744         [BZ #14155]
4745         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4746         intermediate calculations in recurrence.
4747         (__ieee754_ynf): Likewise.
4748         * math/libm-test.inc (jn_test_data): Do not allow spurious
4749         underflow exception.  Add more tests.
4750         (yn_test_data): Add more tests.
4751         * sysdeps/i386/fpu/libm-test-ulps: Update.
4752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4756         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4758 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4760         * csu/init-first.c: Fix then/than typos.
4761         * locale/programs/ld-collate.c: Likewise.
4762         * locale/programs/linereader.h: Likewise.
4763         * manual/charset.texi: Likewise.
4764         * manual/filesys.texi: Likewise.
4765         * manual/stdio.texi: Likewise.
4766         * manual/string.texi: Likewise.
4767         * stdlib/fmtmsg.c: Likewise.
4768         * sysdeps/i386/stpncpy.S: Likewise.
4769         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4770         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4771         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4772         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4774 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4776         * elf/dl-open.c: Fix typos.
4777         * iconvdata/gbbig5.c: Likewise.
4778         * iconvdata/iso-2022-jp.c: Likewise.
4779         * iconv/gconv_int.h: Likewise.
4780         * iconv/loop.c: Likewise.
4781         * nis/rpcsvc/nis.h: Likewise.
4782         * resolv/ns_name.c: Likewise.
4783         * stdio-common/vfscanf.c: Likewise.
4784         * streams/stropts.h: Likewise.
4785         * sunrpc/rpc_thread.c: Likewise.
4786         * sysdeps/i386/strpbrk.S: Likewise.
4787         * sysdeps/ieee754/k_standard.c: Likewise.
4788         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4790         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4791         * sysdeps/mach/hurd/profil.c: Likewise.
4792         * sysdeps/s390/dl-procinfo.h: Likewise.
4793         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4794         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4795         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4796         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4797         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4799 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4801         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4804 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4806         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4807         aix specific files.
4808         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4809         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4810         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4811         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4812         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4814         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4815         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4817 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4818             Roland McGrath  <roland@hack.frob.com>
4820         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4821         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4823 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4825         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4826         __executable_start symbol instead of _start.
4828 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4830         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4831         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4832         Move macros to...
4833         * sysdeps/gnu/ldsodefs.h: ... this new file.
4835         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4836         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4837         instead of ELFOSABI_LINUX.
4839         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4840         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4841         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4842         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4843         Likewise.
4844         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4845         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4846         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4847         Likewise.
4848         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4849         (ibm_extended_long_double): Add ieee_nan member.
4850         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4851         (do_test): New function.
4853         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4854         TEST_TRUNC.
4855         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4856         functions, renamed from truncdfsf_test, trunctfsf_test,
4857         trunctfdf_test.
4858         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4859         functions.
4860         (do_test): Run all these.
4862 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4864         * argp/argp-help.c: Fix typos.
4865         * argp/argp-parse.c: Likewise.
4866         * debug/backtracesyms.c: Likewise.
4867         * elf/elf.h: Likewise.
4868         * malloc/malloc.c: Likewise.
4869         * nis/nis_print.c: Likewise.
4870         * resolv/res_comp.c: Likewise.
4871         * stdlib/stdlib.h: Likewise.
4872         * sunrpc/clnt_tcp.c: Likewise.
4873         * sunrpc/clnt_udp.c: Likewise.
4874         * sunrpc/clnt_unix.c: Likewise.
4875         * sysdeps/unix/bsd/ptsname.c: Likewise.
4876         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4877         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4879         Likewise.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4883         Likewise.
4884         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4886 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4888         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4891 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4893         [BZ #15897]
4894         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4895         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4896         ($(objpfx)bug-dl-leaf): New rule.
4897         ($(objpfx)bug-dl-leaf.so): Likewise.
4898         ($(objpfx)bug-dl-leaf.out): Likewise.
4899         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4900         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4901         * dlfcn/bug-dl-leaf.c: New test.
4902         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4903         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4904         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4905         (dlclose): Likewise.
4906         (dlmopen): Likewise.
4908 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4910         * include/netdb.h [!_ISOMAC]:
4911         Don't include <tls.h>.
4912         (h_errno, __libc_h_errno): Move declaration and macros out of
4913         [_LIBC_REENTRANT].
4915         * include/resolv.h [_RESOLV_H_]:
4916         Don't include <tls.h>.
4917         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4918         * resolv/res_libc.c: Don't include <tls.h>.
4919         (_res): Use __attribute__ ((nocommon)) in place of
4920         __attribute__ ((section (".bss"))).
4922         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4923         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4925         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4927         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4928         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4930         * resolv/res_mkquery.c: Include <sys/time.h>.
4932         * inet/ifreq.c: Moved to ...
4933         * sysdeps/unix/ifreq.c: ... here.
4934         * inet/ifreq.c: New file, true stub version.
4936         * socket/sa_len.c: New file.
4937         * socket/Makefile (aux): Add it.
4938         * sysdeps/unix/sysv/linux/Makefile
4939         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4940         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4941         and #include <socket/sa_len.c>.
4942         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4943         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4945         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4946         * bits/socket.h: ... here.
4948         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4949         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4950         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4952 2013-08-27  Andreas Schwab  <schwab@suse.de>
4954         [BZ #15736]
4955         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4956         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4957         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4958         * string/test-strcasecmp.c (test_main): Run tests in several
4959         locales.
4960         * string/test-strncasecmp.c (test_main): Likewise.
4962         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4963         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4964         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4966         (__strncasecmp_ssse3) [PIC]: Likewise.
4968 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4970         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4972         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4973         instead of explicitly declaring xdecrypt.
4974         * nis/nss_nis/nis-publickey.c: Likewise.
4976 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4978         [BZ #15890]
4979         * nscd/aicache.c: Include res_hconf.h.
4980         (addhstaiX): Initialize res_hconf.
4982 2013-08-26  Andreas Schwab  <schwab@suse.de>
4984         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4985         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4987 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4989         * nscd/aicache.c (addhstaiX): Fix indentation.
4991 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4993         * configure.ac: Quote $build_pt_chown test.
4994         * configure: Regenerated.
4996 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4998         [BZ #15532]
4999         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5000         * math/s_cexpf.c (__cexpf): Likewise.
5001         * math/s_cexpl.c (__cexpl): Likewise.
5002         * math/libm-test.inc (cexp_test_data): Correct expected return
5003         value for NaN + i0.  Add another test.
5005 2013-08-22  David S. Miller  <davem@davemloft.net>
5007         * po/ca.po: Update Catalan translation from translation project.
5008         * po/uk.po: Add Ukrainian translations from translation project.
5010 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5012         [BZ #15797]
5013         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5014         is infinite, not alongside NaN test.
5015         * math/s_fdimf.c (__fdimf): Likewise.
5016         * math/s_fdiml.c (__fdiml): Likewise.
5017         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5018         errno is unchanged.
5020 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5022         * argp/argp-help.c: Fix typos.
5023         * crypt/speeds.c: Likewise.
5024         * csu/check_fds.c: Likewise.
5025         * elf/dl-load.c: Likewise.
5026         * elf/dl-open.c: Likewise.
5027         * elf/reldep3.c: Likewise.
5028         * elf/reldep.c: Likewise.
5029         * elf/sprof.c: Likewise.
5030         * iconv/iconv_charmap.c: Likewise.
5031         * iconv/skeleton.c: Likewise.
5032         * iconv/strtab.c: Likewise.
5033         * io/lockf64.c: Likewise.
5034         * libio/libioP.h: Likewise.
5035         * resolv/gai_notify.c: Likewise.
5036         * resolv/ns_name.c: Likewise.
5037         * resolv/ns_samedomain.c: Likewise.
5038         * resolv/res_send.c: Likewise.
5039         * stdlib/random.c: Likewise.
5040         * sunrpc/rpc/xdr.h: Likewise.
5041         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5042         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5043         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5044         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5045         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5048         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5049         * sysdeps/mach/hurd/check_fds.c: Likewise.
5050         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5051         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5053         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5054         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5055         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5056         * sysdeps/pthread/aio_notify.c: Likewise.
5057         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5058         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5059         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5060         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5061         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5063 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5065         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5066         version if bit_Slow_SSE4_2 is set.
5067         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5070 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5072         [BZ #15867]
5073         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5074         trampoline stack frame information.
5075         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5076         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5077         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5078         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5079         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5080         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5081         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5082         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5083         sa_flags value.
5084         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5085         interrupting a syscall and set with option SA_SIGINFO.
5087 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5089         [BZ #15531]
5090         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5091         argument is infinite.
5092         * math/s_cprojf.c (__cprojf): Likewise.
5093         * math/s_cprojl.c (__cprojl): Likewise.
5094         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5095         * math/libm-test.inc (cproj_test_data): Add more tests.
5097         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5099         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5100         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5101         size.  Use __ffs to determine corresponding shift.
5103 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5104             Roland McGrath  <roland@hack.frob.com>
5106         * Makefile (INSTALL): Remove trailing blank lines from output of
5107         makeinfo.
5109 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5111         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5112         Align 32 bit compat elf_greg to 8 bytes.
5114 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5116         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5118 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5120         * string/strcoll_l.c (coll_seq): New structure.
5121         (get_next_seq_cached): New function.
5122         (get_next_seq): New function.
5123         (do_compare): New function.
5124         (STRCOLL): Use GNU style definition.  Simplify implementation
5125         by using get_next_seq, get_next_seq_cached and do_compare.
5127 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5129         [BZ #14699]
5130         CVE-2013-4237
5131         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5132         member.
5133         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5134         member.
5135         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5136         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5137         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5138         conditional.
5139         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5140         GETDENTS_64BIT_ALIGNED.
5141         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5142         * manual/filesys.texi (Reading/Closing Directory): Document
5143         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5144         strongly.
5145         * manual/conf.texi (Limits for Files): Add portability note to
5146         NAME_MAX, PATH_MAX.
5147         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5149 2013-08-13  Andreas Schwab  <schwab@suse.de>
5151         [BZ #15749]
5152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5153         of fabs.
5154         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5155         LDBL_MAX_EXP >= 16384]: Add tests for it.
5157 2013-08-12  David S. Miller  <davem@davemloft.net>
5159         * version.h (RELEASE): Set to "development".
5160         (VERSION): Set to "2.18.90".
5161         * NEWS: Add 2.19 section.
5163 2013-08-03  David S. Miller  <davem@davemloft.net>
5165         * po/ko.po: Update Korean translation from translation project.
5167 2013-08-01  David S. Miller  <davem@davemloft.net>
5169         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5170         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5171         Bilka.
5173 2013-07-30  David S. Miller  <davem@davemloft.net>
5175         * po/fr.po: Update French translation from translation project.
5177 2013-07-28  David S. Miller  <davem@davemloft.net>
5179         * po/cs.po: Update Czech translation from translation project.
5181         * po/sv.po: Update Swedish translation from translation project.
5183 2013-07-27  David S. Miller  <davem@davemloft.net>
5185         * po/eo.po: Update Esperanto translation from translation project.
5187         * po/vi.po: Update Vietnamese translation from translation project.
5189         * po/de.po: Update German translation from translation project.
5191 2013-07-26  David S. Miller  <davem@davemloft.net>
5193         * po/bg.po: Update Bulgarian translation from translation project.
5195         * po/nl.po: Update Dutch translation from translation project.
5196         * po/pl.po: Update Polish translation from translation project.
5197         * po/ru.po: Update Russian translation from translation project.
5199 2013-07-24  David S. Miller  <davem@davemloft.net>
5201         * po/libc.pot: Update.
5203 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5205         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5206         variable page size.
5207         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5208         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5209         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5211 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5213         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5215 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5216             Andreas Schwab  <schwab@suse.de>
5217             Roland McGrath  <roland@hack.frob.com>
5218             Joseph Myers  <joseph@codesourcery.com>
5219             Carlos O'Donell  <carlos@redhat.com>
5221         [BZ #15755]
5222         * config.h.in: Define HAVE_PT_CHOWN.
5223         * config.make.in (build-pt-chown): New variable.
5224         * configure.in (--enable-pt_chown): New configure option.
5225         * configure: Regenerate.
5226         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5227         build-pt-chown is enabled.
5228         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5229         pt_chown to fix pty ownership.
5230         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5231         CLOSE_ALL_FDS.
5232         * manual/install.texi (Configuring and compiling): Mention
5233         --enable-pt_chown. Add @findex for grantpt.
5234         * INSTALL: Regenerate.
5236 2013-07-20  David S. Miller  <davem@davemloft.net>
5238         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5239         difference between 32-bit and 64-bit.
5241 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5243         [BZ #15711]
5244         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5245         Avoid system header dependency with -ffreestanding.
5246         ($(objpfx)bits/syscall%d): Likewise.
5248 2013-07-13  David S. Miller  <davem@davemloft.net>
5250         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5251         underflows from atanl/atan2l due to bug 15319.
5252         (casinh_test_data): Likewise.
5254 2013-07-07  David S. Miller  <davem@davemloft.net>
5256         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5258 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5260         * sysdeps/i386/fpu/libm-test-ulps: Update.
5261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5263 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5265         * configure.in (--enable-lock-elision): Fix message text.
5266         * INSTALL: Regenerate.
5267         * configure: Regenerate.
5269 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5273 2013-07-03  Andreas Jaeger  <aj@suse.de>
5275         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5276         define.
5277         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5278         (ptrace_peeksiginfo_args): Add.
5279         (__ptrace_peeksiginfo_flags): Add.
5280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5281         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5282         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5284 2013-07-03  Allan McRae  <allan@archlinux.org>
5286         * sysdeps/i386/fpu/libm-test-ulps: Update.
5288 2013-07-02  David S. Miller  <davem@davemloft.net>
5290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5296 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5298         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5301 2013-07-02  Andi Kleen <ak@linux.intel.com>
5303         * config.h.in (ENABLE_LOCK_ELISION): Add.
5304         * configure.in (--enable-lock-elision): Add option.
5305         * manual/install.texi: Document --enable lock elision.
5306         * configure: Regenerate
5307         * INSTALL: Regenerate.
5309 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5311         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5312         SSE4.2 strcasecmp for libc.a.
5313         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5315 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5317         [BZ #13304]
5318         * soft-fp/op-common.h (_FP_FMA): New macro.
5319         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5320         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5321         (_FP_MUL_MEAT_1_imm): ... here.
5322         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5323         (_FP_MUL_MEAT_1_wide): ... here.
5324         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5325         (_FP_MUL_MEAT_1_hard): ... here.
5326         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5327         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5328         (_FP_MUL_MEAT_2_wide): ... here.
5329         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5330         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5331         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5332         (_FP_MUL_MEAT_2_gmp): ... here.
5333         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5334         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5335         (_FP_MUL_MEAT_4_wide): ... here.
5336         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5337         (_FP_MUL_MEAT_4_gmp): ... here.
5338         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5339         (_FP_WFRACBITS_DW_S): Likewise.
5340         (_FP_WFRACXBITS_DW_S): Likewise.
5341         (_FP_HIGHBIT_DW_S): Likewise.
5342         (FP_FMA_S): Likewise.
5343         (_FP_FRAC_HIGH_DW_S): Likewise.
5344         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5345         (_FP_WFRACBITS_DW_D): Likewise.
5346         (_FP_WFRACXBITS_DW_D): Likewise.
5347         (_FP_HIGHBIT_DW_D): Likewise.
5348         (FP_FMA_D): Likewise.
5349         (_FP_FRAC_HIGH_DW_D): Likewise.
5350         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5351         (_FP_WFRACBITS_DW_E): Likewise.
5352         (_FP_WFRACXBITS_DW_E): Likewise.
5353         (_FP_HIGHBIT_DW_E): Likewise.
5354         (FP_FMA_E): Likewise.
5355         (_FP_FRAC_HIGH_DW_E): Likewise.
5356         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5357         (_FP_WFRACBITS_DW_Q): Likewise.
5358         (_FP_WFRACXBITS_DW_Q): Likewise.
5359         (_FP_HIGHBIT_DW_Q): Likewise.
5360         (FP_FMA_Q): Likewise.
5361         (_FP_FRAC_HIGH_DW_Q): Likewise.
5362         * soft-fp/fmasf4.c: New file.
5363         * soft-fp/fmadf4.c: Likewise.
5364         * soft-fp/fmatf4.c: Likewise.
5366 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5369         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5370         Silvermont.
5371         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5372         macro.
5373         (index_Slow_SSE4_2): Likewise.
5374         (index_Prefer_PMINUB_for_stringop): Likewise.
5375         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5376         bit_Slow_SSE4_2 is set.
5377         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5378         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5380 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5382         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5383         rtld_global._dl_hwcap2.
5384         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5385         POWER8.
5386         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5387         POWER8 feature descriptions defined in _dl_hwcap2.
5388         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5389         string handling for POWER8 feature bits.
5390         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5391         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5392         _dl_powerpc_cap_flags.
5393         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5394         * sysdeps/powerpc/rtld-global-offsets.sym
5395         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5396         _dl_hwcap2 in the rtld_global_ro structure.
5398 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5400         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5401         hardware capabilities in support of AT_HWCAP2.
5402         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5403         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5404         GLRO(dl_hwcap2).
5405         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5406         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5407         explicitly the unknown a_type display mechanism is used.
5408         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5409         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5410         struct member.
5411         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5412         to macro prototype for AT_HWCAP2 support.
5413         * sysdeps/i386/dl-procinfo.h: Likewise.
5414         * sysdeps/s390/dl-procinfo.h: Likewise.
5415         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5416         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5417         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5418         return -1 for unknown a_type display fallback.
5419         * sysdeps/sparc/dl-procinfo.h: Likewise.
5420         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5421         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5423 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5425         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5426         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5428 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5430         [BZ #12492]
5431         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5432         mprotect making __stack_prot writable.
5434 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5435             Joseph Myers  <joseph@codesourcery.com>
5437         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5438         as being properly aligned.
5440 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5442         * dlfcn/modstatic5.c: New file.
5443         * dlfcn/tststatic5.c: New file.
5444         * dlfcn/Makefile (tests): Add tststatic5.
5445         (tests-static): Likewise.
5446         (modules-names): Add modstatic5.
5447         (tststatic5-ENV): New variable.
5448         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5450         [BZ #15022]
5451         * elf/dl-support.c (_dl_main_map): New variable.
5452         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5453         (_dl_nns, _dl_load_adds): Set to 1.
5454         (_dl_initial_searchlist): Refer to _dl_main_map.
5455         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5456         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5457         call to _dl_get_origin.
5458         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5459         around call_map.
5460         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5461         * dlfcn/modstatic3.c: New file.
5462         * dlfcn/tststatic3.c: New file.
5463         * dlfcn/tststatic4.c: New file.
5464         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5465         (tests-static): Likewise.
5466         (modules-names): Add modstatic3.
5467         (tststatic3-ENV, tststatic4-ENV): New variables.
5468         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5469         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5471 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5473         * configure.in (CC): Require GCC version 4.4 or later.
5474         * configure: Regenerated.
5475         * manual/install.texi (Tools for Compilation): Update GCC version
5476         requirement.
5477         * INSTALL: Regenerated.
5479 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5481         [BZ #15674]
5482         * string/test-memcmp.c (check2): New.
5483         (main): Call check2.
5485         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5487 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5489         [BZ #15022]
5490         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5491         over to...
5492         (dl_open_worker) [!SHARED]: ... here.
5494 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5496         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5498 2013-06-25  Richard Henderson  <rth@redhat.com>
5500         * locale/programs/locarchive.c: Include <libc-internal.h>
5502 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5504         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5505         trailing whitespace removed.
5507 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5509         [BZ #10283]
5510         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5511         * locale/programs/locarchive.c: Include libc-mmap.h.
5512         (prepare_address_space): Take two new outputs (the mmap base and len).
5513         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5514         values.
5515         (create_archive): Declare new mmap base and len values for
5516         prepare_address_space, and store the result in ah.
5517         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5518         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5519         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5520         Declare new mmap base and len values for
5521         prepare_address_space, and store the result in new_ah.
5522         (open_archive): Declare new mmap base and len values for
5523         prepare_address_space, and store the result in ah.
5524         (close_archive): If ah->mmap_base is not NULL, use that and
5525         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5526         * sysdeps/generic/libc-mmap.h: New file.
5528 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5530         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5531         (ALIGN_UP): Likewise.
5532         (PTR_ALIGN_DOWN): Likewise.
5533         (PTR_ALIGN_UP): Likewise.
5535 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5537         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5538         entry mapped to PPC_PLATFORM_POWER8.
5539         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5540         POWER8.
5541         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5542         (_dl_string_platform): Add case for exporting platform position for
5543         POWER8.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5545         search path to sysdeps/powerpc/powerpc32/power8 directory.
5546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5547         search path to sysdeps/powerpc/powerpc64/power8 directory.
5548         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5549         power7 directories.
5550         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5551         power7 directories.
5553 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5555         * INSTALL: Regenerate.
5557         * nscd/connections.c (nscd_init): Fix comment.
5559 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5561         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5563         [BZ #15667]
5564         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5565         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5567 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5569         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5570         DL_DST_REQ_STATIC.
5571         (DL_DST_REQ_STATIC): Remove macro.
5573 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5575         [BZ #7006]
5576         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5577         with a shift of 0 bits.
5579 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5581         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5582         $(tststatic-ENV).
5584 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5586         [BZ #15655]
5587         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5589 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5591         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5592         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5593         accepts -fno-tree-loop-distribute-patterns.
5594         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5595         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5596         recursive call.
5597         * string/memset.c (memset): Likewise.
5598         * string/test-memmove.c (simple_memmove): Disable loop transformation
5599         to library calls.
5600         * string/test-memset.c (simple_memset): Likewise.
5601         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5602         * benchtests/bench-memset.c (simple_memset): Likewise.
5603         * configure: Regenerated.
5605 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5607         * math/test-misc.c (main): Ignore fesetround failure when failures
5608         of subsequent rounding tests would be ignored.
5610         [BZ #15654]
5611         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5612         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5613         * math/fegetenv.c (__fegetenv): Return 0.
5614         * math/fegetexcept.c (fegetexcept): Return 0.
5615         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5616         FE_TONEAREST.
5617         * math/feholdexcpt.c (feholdexcept): Return 0.
5618         * math/fesetenv.c (__fesetenv): Return 0.
5619         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5620         argument FE_TONEAREST.
5621         * math/feupdateenv.c (__feupdateenv): Return 0.
5622         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5624 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5626         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5627         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5628         ($(objpfx)rtld-%.os rules): Use them.
5630 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5632         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5633         fields.
5635 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5637         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5638         length of target pattern, then descending length of dependency pattern.
5639         * configure.in (AWK): Require gawk 3.1.2 or newer.
5640         * manual/install.texi (Tools for Compilation): Say that we do.
5641         * configure: Regenerated.
5643         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5644         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5645         * scripts/sysd-rules.awk: ... this new script.
5646         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5647         than a glob-style pattern.
5649 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5651         * math/test-misc.c (main): Do not treat incorrectly rounded
5652         conversions as failure unless ROUNDING_TESTS passes.
5654 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5656         [BZ #15631]
5657         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5658         restore exception state around main square root computation, then
5659         check for inexactness explicitly.
5661         * math/libm-test.inc (fma_test_data): Add another test.
5663 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5665         * manual/threads.texi (Non-POSIX Extensions): New document
5666         node.  Document pthread_getattr_default_np and
5667         pthread_setattr_default_np.
5669         * Versions.def (libpthread): Add GLIBC_2.18.
5670         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5672         Likewise.
5673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5674         Likewise.
5675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5676         Likewise.
5677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5678         Likewise.
5679         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5680         Likewise.
5681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5682         Likewise.
5683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5684         Likewise.
5685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5686         Likewise.
5687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5688         Likewise.
5690 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5693         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5695 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5696             H.J. Lu  <hjl.tools@gmail.com>
5698         [BZ #15627]
5699         * sysdeps/x86_64/rtld-memset.c: Remove file.
5700         * sysdeps/x86_64/rtld-memset.S: New file.
5702 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5704         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5705         (test_in_one_mode): Take arguments for whether the rounding mode
5706         is supported for each floating-point type.
5707         (do_test): Pass new arguments to test_in_one_mode using
5708         ROUNDING_TESTS.
5710 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5712         * posix/tst-waitid.c (do_test): Distinguish different instances of
5713         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5714         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5715         before entering the kernel for waitpid.
5717 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5719         * NEWS: Fix note on clock function precision.  Text by Roland
5720         McGrath.
5722 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5724         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5725         it into place only when and if the sanity check passes.
5727 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5729         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5730         output for whether conversion result is exact.  Take argument
5731         indicating whether type is IBM long double.
5732         (round_for_all): Change need_exact field to ibm_ld.
5733         * stdlib/tst-strtod-round.c (struct exactness): New type.
5734         (struct test): Change bool ld_ok field to struct exactness exact.
5735         (TEST): Update all definitions for change to field.
5736         (tests): Regenerate array contents.
5737         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5738         field value.  Check for IBM long double here.
5739         (do_test): Update calls to test_in_one_mode.
5741 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5743         [BZ #12515]
5744         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5745         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5747 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5749         [BZ #15605]
5750         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5751         generated by the compiler on loop optimizations.
5752         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5753         general definitions.
5755 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5757         * math/bug-nextafter.c: Include <math-tests.h>.
5758         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5759         the relevant type.
5760         * math/bug-nexttoward.c: Include <math-tests.h>.
5761         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5762         the relevant type.
5763         * math/test-misc.c: Include <math-tests.h>.
5764         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5765         the relevant type.
5767 2013-06-12  Andreas Jaeger  <aj@suse.de>
5769         * po/ia.po: Update Interlingua translation from translation
5770         project.
5772 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5774         * include/fenv.h: Include stdbool.h.
5775         (struct rm_ctx): New structure.
5776         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5777         Define macro.
5778         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5779         (SET_RESTORE_ROUNDF): Likewise.
5780         (SET_RESTORE_ROUNDL): Likewise.
5781         (SET_RESTORE_ROUND_NOEX): Likewise.
5782         (SET_RESTORE_ROUND_NOEXF): Likewise.
5783         (SET_RESTORE_ROUND_NOEXL): Likewise.
5784         (SET_RESTORE_ROUND_53BIT): Likewise.
5785         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5786         (libc_feresetround_noexf_ctx): Likewise.
5787         (libc_feresetround_noexl_ctx): Likewise.
5788         (libc_feholdsetround_53bit_ctx): Likewise.
5789         (libc_feresetround_53bit_ctx): Likewise.
5790         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5791         (libc_feholdexcept_setround_sse_ctx): New function.
5792         (libc_fesetenv_sse_ctx): Likewise.
5793         (libc_feupdateenv_sse_ctx): Likewise.
5794         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5795         (libc_feholdexcept_setround_387_ctx): Likewise.
5796         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5797         (libc_feholdsetround_387_prec_ctx): Likewise.
5798         (libc_feholdsetround_387_ctx): Likewise.
5799         (libc_feholdsetround_387_53bit_ctx): Likewise.
5800         (libc_feholdsetround_sse_ctx): Likewise.
5801         (libc_feresetround_sse_ctx): Likewise.
5802         (libc_feresetround_387_ctx): Likewise.
5803         (libc_feupdateenv_387_ctx): Likewise.
5804         (libc_feholdexcept_setroundf_ctx): Define macro.
5805         (libc_fesetenvf_ctx): Likewise.
5806         (libc_feupdateenvf_ctx): Likewise.
5807         (libc_feholdsetroundf_ctx): Likewise.
5808         (libc_feresetroundf_ctx): Likewise.
5809         (libc_feholdexcept_setround_ctx): Likewise.
5810         (libc_fesetenv_ctx): Likewise.
5811         (libc_feupdateenv_ctx): Likewise.
5812         (libc_feholdsetround_ctx): Likewise.
5813         (libc_feresetround_ctx): Likewise.
5814         (libc_feholdexcept_setroundl_ctx): Likewise.
5815         (libc_feupdateenvl_ctx): Likewise.
5816         (libc_feholdsetroundl_ctx): Likewise.
5817         (libc_feresetroundl_ctx): Likewise.
5818         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5819         (libc_feresetround_53bit_ctx): Likewise.
5821 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5823         * locale/iso-639.def: Convert to UTF-8.
5825 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5827         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5828         (EXCEPTION_TESTS_double): Likewise.
5829         (EXCEPTION_TESTS_long_double): Likewise.
5830         (EXCEPTION_TESTS): Likewise.
5831         * math/libm-test.inc (test_exceptions): Only test exceptions if
5832         EXCEPTION_TESTS (FLOAT).
5834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5836         * benchtests/Makefile (string-bench): Add strcpy_chk and
5837         stpcpy_chk.
5838         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5839         * benchtests/bench-stpcpy_chk.c: New file.
5840         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5841         * benchtests/bench-strcpy_chk.c: New file.
5842         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5843         code.
5844         (do_test): Likewise.
5846 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5848         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5849         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5850         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5851         with tabs where appropriate.
5852         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5853         dl-procinfo.h.
5854         [PPC_PLATFORM_PPC440]: Likewise.
5855         [PPC_PLATFORM_PPC464]: Likewise.
5856         [PPC_PLATFORM_PPC476]: Likewise.
5857         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5858         ppc464, and ppc476 platform strings merging from ports/
5859         dl-procinfo.h.
5861 2013-06-11  Andreas Schwab  <schwab@suse.de>
5863         [BZ #14991]
5864         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5865         (from_ucs4_idx): Regenerate.
5866         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5867         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5868         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5869         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5870         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5871         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5872         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5873         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5874         from FROM_LOOP and TO_LOOP specific macros.
5875         (BODY): Handle combining characters.
5876         * iconvdata/BIG5HKSCS.irreversible: Update.
5877         * iconvdata/BIG5HKSCS.precomposed: New file.
5878         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5879         characters.
5880         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5882 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5884         * include/sys/time.h: Fix indentation and add copyright header.
5886         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5887         (do_test): Likewise.
5888         * string/test-memchr.c (do_one_test): Likewise.
5889         (do_test): Likewise.
5890         * string/test-memcmp.c (do_one_test): Likewise.
5891         (do_test): Likewise.
5892         * string/test-memcpy.c (do_one_test): Likewise.
5893         (do_test): Likewise.
5894         * string/test-memmem.c (do_one_test): Likewise.
5895         (do_test): Likewise.
5896         (do_random_tests): Likewise.
5897         * string/test-memmove.c (do_one_test): Likewise.
5898         (do_test): Likewise.
5899         * string/test-memset.c (do_one_test): Likewise.
5900         (do_test): Likewise.
5901         * string/test-rawmemchr.c (do_one_test): Likewise.
5902         (do_test): Likewise.
5903         * string/test-strcasecmp.c (do_one_test): Likewise.
5904         (do_test): Likewise.
5905         * string/test-strcasestr.c (do_one_test): Likewise.
5906         (do_test): Likewise.
5907         * string/test-strcat.c (do_one_test): Likewise.
5908         (do_test): Likewise.
5909         * string/test-strchr.c (do_one_test): Likewise.
5910         (do_test): Likewise.
5911         * string/test-strcmp.c (do_one_test): Likewise.
5912         (do_test): Likewise.
5913         * string/test-strcpy.c (do_one_test): Likewise.
5914         (do_test): Likewise.
5915         * string/test-string.h: Likewise.
5916         (test_init): Likewise.
5917         * string/test-strlen.c (do_one_test): Likewise.
5918         (do_test): Likewise.
5919         * string/test-strncasecmp.c (do_one_test): Likewise.
5920         (do_test): Likewise.
5921         * string/test-strncat.c (do_one_test): Likewise.
5922         (do_test): Likewise.
5923         * string/test-strncmp.c (do_one_test): Likewise.
5924         (do_test_limit): Likewise.
5925         (do_test): Likewise.
5926         * string/test-strncpy.c (do_one_test): Likewise.
5927         (do_test): Likewise.
5928         * string/test-strnlen.c (do_one_test): Likewise.
5929         (do_test): Likewise.
5930         * string/test-strpbrk.c (do_one_test): Likewise.
5931         (do_test): Likewise.
5932         * string/test-strrchr.c (do_one_test): Likewise.
5933         (do_test): Likewise.
5934         * string/test-strspn.c (do_one_test): Likewise.
5935         (do_test): Likewise.
5936         * string/test-strstr.c (do_one_test): Likewise.
5937         (do_test): Likewise.
5939         * benchtests/Makefile (string-bench): Add string benchmarks.
5940         * benchtests/bench-bcopy-ifunc.c: New file.
5941         * benchtests/bench-bcopy.c: New file.
5942         * benchtests/bench-bzero-ifunc.c: New file.
5943         * benchtests/bench-bzero.c: New file.
5944         * benchtests/bench-memccpy-ifunc.c: New file.
5945         * benchtests/bench-memccpy.c: New file.
5946         * benchtests/bench-memchr-ifunc.c: New file.
5947         * benchtests/bench-memchr.c: New file.
5948         * benchtests/bench-memcmp-ifunc.c: New file.
5949         * benchtests/bench-memcmp.c: New file.
5950         * benchtests/bench-memmem-ifunc.c: New file.
5951         * benchtests/bench-memmem.c: New file.
5952         * benchtests/bench-memmove-ifunc.c: New file.
5953         * benchtests/bench-memmove.c: New file.
5954         * benchtests/bench-mempcpy-ifunc.c: New file.
5955         * benchtests/bench-mempcpy.c: New file.
5956         * benchtests/bench-memset-ifunc.c: New file.
5957         * benchtests/bench-memset.c: New file.
5958         * benchtests/bench-rawmemchr-ifunc.c: New file.
5959         * benchtests/bench-rawmemchr.c: New file.
5960         * benchtests/bench-stpcpy-ifunc.c: New file.
5961         * benchtests/bench-stpcpy.c: New file.
5962         * benchtests/bench-stpncpy-ifunc.c: New file.
5963         * benchtests/bench-stpncpy.c: New file.
5964         * benchtests/bench-strcasecmp-ifunc.c: New file.
5965         * benchtests/bench-strcasecmp.c: New file.
5966         * benchtests/bench-strcasestr-ifunc.c: New file.
5967         * benchtests/bench-strcasestr.c: New file.
5968         * benchtests/bench-strcat-ifunc.c: New file.
5969         * benchtests/bench-strcat.c: New file.
5970         * benchtests/bench-strchr-ifunc.c: New file.
5971         * benchtests/bench-strchr.c: New file.
5972         * benchtests/bench-strchrnul-ifunc.c: New file.
5973         * benchtests/bench-strchrnul.c: New file.
5974         * benchtests/bench-strcmp-ifunc.c: New file.
5975         * benchtests/bench-strcmp.c: New file.
5976         * benchtests/bench-strcpy-ifunc.c: New file.
5977         * benchtests/bench-strcpy.c: New file.
5978         * benchtests/bench-strcspn-ifunc.c: New file.
5979         * benchtests/bench-strcspn.c: New file.
5980         * benchtests/bench-strlen-ifunc.c: New file.
5981         * benchtests/bench-strlen.c: New file.
5982         * benchtests/bench-strncasecmp-ifunc.c: New file.
5983         * benchtests/bench-strncasecmp.c: New file.
5984         * benchtests/bench-strncat-ifunc.c: New file.
5985         * benchtests/bench-strncat.c: New file.
5986         * benchtests/bench-strncmp-ifunc.c: New file.
5987         * benchtests/bench-strncmp.c: New file.
5988         * benchtests/bench-strncpy-ifunc.c: New file.
5989         * benchtests/bench-strncpy.c: New file.
5990         * benchtests/bench-strnlen-ifunc.c: New file.
5991         * benchtests/bench-strnlen.c: New file.
5992         * benchtests/bench-strpbrk-ifunc.c: New file.
5993         * benchtests/bench-strpbrk.c: New file.
5994         * benchtests/bench-strrchr-ifunc.c: New file.
5995         * benchtests/bench-strrchr.c: New file.
5996         * benchtests/bench-strspn-ifunc.c: New file.
5997         * benchtests/bench-strspn.c: New file.
5998         * benchtests/bench-strstr-ifunc.c: New file.
5999         * benchtests/bench-strstr.c: New file.
6001         * benchtests/Makefile: Disable parallel execution of targets.
6002         (string-bench): Add memcpy.
6003         (benchset): New variable to store a list of benchmark sets.
6004         (bench-func): Renamed from bench.
6005         (bench-set): New target.
6006         (bench): Depend on bench-func and bench-set.
6007         * benchtests/README: Add section on benchmark sets.
6008         * benchtests/bench-memcpy-ifunc.c: New file.
6009         * benchtests/bench-memcpy.c: New file.
6010         * benchtests/bench-string.h: New file.
6012 2013-06-11  Andreas Schwab  <schwab@suse.de>
6014         [BZ #15577]
6015         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6016         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6017         values in the triple.
6018         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6019         terminator in the group key.
6021 2013-06-11  Andreas Jaeger  <aj@suse.de>
6023         * po/zh_TW.po: Update Chinese (traditional) translation from
6024         translation project.
6026 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6028         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6029         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6030         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6031         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6032         (clock_getcpuclockid): Likewise.
6033         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6034         Add weak_alias and libc_hidden_def.
6035         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6036         * rt/clock_gettime.c (clock_gettime): Rename to
6037         __clock_gettime.  Add weak_alias and libc_hidden_def.
6038         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6039         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6040         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6041         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6042         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6043         Likewise.
6044         * rt/clock_settime.c (clock_settime): Rename to
6045         __clock_settime.  Add weak_alias and libc_hidden_def.
6046         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6048 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6050         * mach/err_boot.sub: Remove trailing whitespace.
6051         * mach/err_ipc.sub: Likewise.
6052         * mach/err_mach.sub: Likewise.
6054         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6055         (ROUNDING_TESTS_double): Likewise.
6056         (ROUNDING_TESTS_long_double): Likewise.
6057         (ROUNDING_TESTS): Likewise.
6058         * math/libm-test.inc: Include <math-tests.h>.
6059         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6060         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6061         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6062         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6064 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6066         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6067         of assigning.
6069 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6071         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6072         otherwise empty TRANS lines.
6073         * sysdeps/gnu/errlist.c: Regenerated.
6075         * catgets/gencat.c (error_print): Use (void) in function
6076         definition.
6077         * crypt/crypt_util.c (__init_des): Likewise.
6078         * crypt/speeds.c (Stop): Likewise.
6079         (main): Likewise.
6080         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6081         * inet/ruserpass.c (token): Likewise.
6082         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6083         * intl/localealias.c (extend_alias_table): Likewise.
6084         * intl/plural-exp.c (init_germanic_plural): Likewise.
6085         * libio/fcloseall.c (__fcloseall): Likewise.
6086         * libio/genops.c (_IO_flush_all): Likewise.
6087         (_IO_flush_all_linebuffered): Likewise.
6088         (_IO_cleanup): Likewise.
6089         (_IO_iter_begin): Likewise.
6090         (_IO_iter_end): Likewise.
6091         (_IO_list_lock): Likewise.
6092         (_IO_list_unlock): Likewise.
6093         (_IO_list_resetlock): Likewise.
6094         * libio/getchar.c (getchar): Likewise.
6095         * libio/getchar_u.c (getchar_unlocked): Likewise.
6096         * libio/getwchar.c (getwchar): Likewise.
6097         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6098         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6099         * login/getpt.c (__getpt): Likewise.
6100         * login/tst-utmp.c (main): Likewise.
6101         * malloc/hooks.c (__malloc_check_init): Likewise.
6102         * malloc/malloc.c (__malloc_stats): Likewise.
6103         * malloc/mtrace.c (tr_break): Likewise.
6104         (mtrace): Likewise.
6105         (muntrace): Likewise.
6106         * misc/fstab.c (endfsent): Likewise.
6107         * misc/getclktck.c (__getclktck): Likewise.
6108         * misc/getdtsz.c (__getdtablesize): Likewise.
6109         * misc/gethostid.c (gethostid): Likewise.
6110         * misc/getpagesize.c (__getpagesize): Likewise.
6111         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6112         (__get_nprocs): Likewise.
6113         (__get_phys_pages): Likewise.
6114         (__get_avphys_pages): Likewise.
6115         * misc/getttyent.c (getttyent): Likewise.
6116         (setttyent): Likewise.
6117         (endttyent): Likewise.
6118         * misc/getusershell.c (getusershell): Likewise.
6119         (endusershell): Likewise.
6120         (setusershell): Likewise.
6121         (initshells): Likewise.
6122         * misc/hsearch.c (__hdestroy): Likewise.
6123         * misc/sync.c (sync): Likewise.
6124         * misc/syslog.c (closelog_internal): Likewise.
6125         (closelog): Likewise.
6126         * misc/ttyslot.c (ttyslot): Likewise.
6127         * misc/vhangup.c (vhangup): Likewise.
6128         * posix/fork.c (__fork): Likewise.
6129         * posix/getegid.c (__getegid): Likewise.
6130         * posix/geteuid.c (__geteuid): Likewise.
6131         * posix/getgid.c (__getgid): Likewise.
6132         * posix/getpid.c (__getpid): Likewise.
6133         * posix/getppid.c (__getppid): Likewise.
6134         * posix/getuid.c (__getuid): Likewise.
6135         * posix/pause.c (pause): Likewise.
6136         * posix/setpgrp.c (setpgrp): Likewise.
6137         * posix/setsid.c (__setsid): Likewise.
6138         * posix/test-vfork.c (noop): Likewise.
6139         * resolv/gethnamaddr.c (_endhtent): Likewise.
6140         (_gethtent): Likewise.
6141         (ht_endhostent): Likewise.
6142         (gethostent): Likewise.
6143         (dns_service): Likewise.
6144         * stdlib/drand48.c (drand48): Likewise.
6145         * stdlib/lrand48.c (lrand48): Likewise.
6146         * stdlib/mrand48.c (mrand48): Likewise.
6147         * stdlib/rand.c (rand): Likewise.
6148         * stdlib/random.c (__random): Likewise.
6149         * stdlib/setenv.c (clearenv): Likewise.
6150         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6151         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6152         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6153         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6154         (__get_nprocs): Likewise.
6155         (__get_phys_pages): Likewise.
6156         (__get_avphys_pages): Likewise.
6157         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6158         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6159         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6160         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6161         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6162         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6163         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6164         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6165         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6166         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6167         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6168         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6169         * sysdeps/posix/clock.c (clock): Likewise.
6170         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6171         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6172         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6173         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6174         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6176         (__get_nprocs_conf): Likewise.
6177         (__get_phys_pages): Likewise.
6178         (__get_avphys_pages): Likewise.
6179         * time/clock.c (clock): Likewise.
6180         * time/tzset.c (__tzname_max): Likewise.
6182 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6184         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6185         (__bswap_32): Do not use "register".
6186         * crypt/crypt.c (_ufc_doit_r): Likewise.
6187         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6188         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6189         * gmon/gmon.c (__monstartup): Likewise.
6190         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6191         * hurd/hurdmalloc.c (more_memory): Likewise.
6192         (malloc): Likewise.
6193         (free): Likewise.
6194         (realloc): Likewise.
6195         (malloc_fork_prepare): Likewise.
6196         (malloc_fork_parent): Likewise.
6197         (malloc_fork_child): Likewise.
6198         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6199         (_svcauth_des): Likewise.
6200         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6201         * inet/inet_net.c (inet_network): Likewise.
6202         * inet/inet_netof.c (inet_netof): Likewise.
6203         * inet/rcmd.c (__validuser2_sa): Likewise.
6204         * io/fts.c (fts_open): Likewise.
6205         (fts_load): Likewise.
6206         (fts_close): Likewise.
6207         (fts_read): Likewise.
6208         (fts_children): Likewise.
6209         (fts_build): Likewise.
6210         (fts_stat): Likewise.
6211         (fts_sort): Likewise.
6212         (fts_alloc): Likewise.
6213         (fts_lfree): Likewise.
6214         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6215         (_IO_file_xsgetn): Likewise.
6216         (_IO_file_xsgetn_mmap): Likewise.
6217         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6218         (_IO_cookie_write): Likewise.
6219         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6220         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6221         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6222         * malloc/obstack.c (_obstack_begin): Likewise.
6223         (_obstack_begin_1): Likewise.
6224         (_obstack_newchunk): Likewise.
6225         (_obstack_allocated_p): Likewise.
6226         (obstack_free): Likewise.
6227         (_obstack_memory_used): Likewise.
6228         * misc/getttyent.c (getttynam): Likewise.
6229         (getttyent): Likewise.
6230         (skip): Likewise.
6231         (value): Likewise.
6232         * misc/getusershell.c (initshells): Likewise.
6233         * misc/syslog.c (__vsyslog_chk): Likewise.
6234         * misc/ttyslot.c (ttyslot): Likewise.
6235         * nis/nis_hash.c (__nis_hash): Likewise.
6236         * posix/fnmatch_loop.c (FCT): Likewise.
6237         * posix/getconf.c (print_all): Likewise.
6238         (main): Likewise.
6239         * posix/getopt.c (exchange): Likewise.
6240         * posix/glob.c (globfree): Likewise.
6241         (prefix_array): Likewise.
6242         (__glob_pattern_type): Likewise.
6243         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6244         (NS_GET32): Likewise.
6245         (NS_PUT16): Likewise.
6246         (NS_PUT32): Likewise.
6247         * resolv/gethnamaddr.c (getanswer): Likewise.
6248         (gethostbyname2): Likewise.
6249         (gethostbyaddr): Likewise.
6250         (_gethtent): Likewise.
6251         (_gethtbyname2): Likewise.
6252         (_gethtbyaddr): Likewise.
6253         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6254         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6255         * resolv/res_init.c (__res_vinit): Likewise.
6256         (net_mask): Likewise.
6257         * resolv/res_mkquery.c (outchar): Likewise.
6258         (PRINT): Likewise.
6259         * stdio-common/printf_fp.c (outchar): Likewise.
6260         (PRINT): Likewise.
6261         * stdio-common/printf_fphex.c (outchar): Likewise.
6262         (PRINT): Likewise.
6263         * stdio-common/printf_size.c (outchar): Likewise.
6264         (PRINT): Likewise.
6265         * stdio-common/test_rdwr.c (main): Likewise.
6266         * stdio-common/tfformat.c (matches): Likewise.
6267         * stdio-common/vfprintf.c (outchar): Likewise.
6268         (printf_unknown): Likewise.
6269         (buffered_vfprintf): Likewise.
6270         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6271         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6272         (ReadFile): Likewise.
6273         * stdlib/qsort.c (SWAP): Likewise.
6274         (_quicksort): Likewise.
6275         * stdlib/setenv.c (__add_to_environ): Likewise.
6276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6277         * stdlib/strtol_l.c (__strtol_l): Likewise.
6278         * stdlib/tst-strtod.c (main): Likewise.
6279         * stdlib/tst-strtol.c (main): Likewise.
6280         * stdlib/tst-strtoll.c (main): Likewise.
6281         * string/bits/string2.h (__strcmp_cc): Likewise.
6282         (__strcmp_cg): Likewise.
6283         (__strcspn_c1): Likewise.
6284         (__strcspn_c2): Likewise.
6285         (__strcspn_c3): Likewise.
6286         (__strspn_c1): Likewise.
6287         (__strspn_c2): Likewise.
6288         (__strspn_c3): Likewise.
6289         (__strsep_1c): Likewise.
6290         (__strsep_2c): Likewise.
6291         (__strsep_3c): Likewise.
6292         * string/memccpy.c (__memccpy): Likewise.
6293         * string/stpcpy.c (__stpcpy): Likewise.
6294         * string/strcmp.c (strcmp): Likewise.
6295         * string/strrchr.c (strrchr): Likewise.
6296         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6297         Likewise.
6298         * sysdeps/mach/hurd/getcwd.c
6299         (_hurd_canonicalize_directory_name_internal): Likewise.
6300         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6301         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6302         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6303         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6304         Likewise, in both definitions.
6305         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6306         definitions.
6307         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6308         64] (__bswap_64): Likewise.
6309         * time/test_time.c (main): Likewise.
6310         * time/tzfile.c (__tzfile_read): Likewise.
6311         (__tzfile_compute): Likewise.
6312         * time/tzset.c (__tzset_parse_tz): Likewise.
6313         (tzset_internal): Likewise.
6314         (compute_change): Likewise.
6315         * wcsmbs/wcscat.c (__wcscat): Likewise.
6316         * wcsmbs/wcschr.c (wcschr): Likewise.
6317         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6318         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6319         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6320         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6321         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6322         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6323         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6324         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6325         * wcsmbs/wmemset.c (wmemset): Likewise.
6327 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6329         * scripts/config.guess: Update to version 2013-05-16.
6330         * scripts/config.sub: Update to version 2013-04-24.
6331         * scripts/install-sh: Update to version 2011-11-20.07.
6332         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6333         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6335 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6337         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6338         * elf/sln.c: Likewise.
6339         * hurd/hurd/ioctl.h: Likewise.
6340         * hurd/hurdmalloc.c: Likewise.
6341         * hurd/xattr.c: Likewise.
6342         * include/shlib-compat.h: Likewise.
6343         * inet/ruserpass.c: Likewise.
6344         * libio/iofgets_u.c: Likewise.
6345         * libio/iofgetws_u.c: Likewise.
6346         * locale/programs/ld-identification.c: Likewise.
6347         * locale/programs/ld-time.c: Likewise.
6348         * mach/msg-destroy.c: Likewise.
6349         * nss/nss_files/files-netgrp.c: Likewise.
6350         * resolv/res_data.c: Likewise.
6351         * soft-fp/op-1.h: Likewise.
6352         * soft-fp/op-2.h: Likewise.
6353         * soft-fp/op-4.h: Likewise.
6354         * soft-fp/op-common.h: Likewise.
6355         * stdio-common/printf_fphex.c: Likewise.
6356         * stdlib/strtod_l.c: Likewise.
6357         * sunrpc/rpc/clnt.h: Likewise.
6358         * sysdeps/generic/framestate.c: Likewise.
6359         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6360         * sysdeps/i386/bsd-setjmp.S: Likewise.
6361         * sysdeps/i386/__longjmp.S: Likewise.
6362         * sysdeps/i386/setjmp.S: Likewise.
6363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6364         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6365         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6381         * sysdeps/ieee754/support.c: Likewise.
6382         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6383         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6384         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6385         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6386         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6387         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6388         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6389         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6390         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6391         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6392         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6393         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6394         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6395         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6396         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6397         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6398         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6401 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6403         * posix/transbug.c: Remove executable mode.
6405 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6407         * crypt/speeds.c: Remove trailing whitespace.
6408         * dlfcn/default.c: Likewise.
6409         * elf/ifuncdep2.c: Likewise.
6410         * elf/ifuncmain1.c: Likewise.
6411         * elf/ifuncmain1vis.c: Likewise.
6412         * elf/testobj.h: Likewise.
6413         * elf/tst-stackguard1.c: Likewise.
6414         * gmon/sys/gmon.h: Likewise.
6415         * hurd/hurdmsg.c: Likewise.
6416         * hurd/new-fd.c: Likewise.
6417         * hurd/ports-get.c: Likewise.
6418         * iconvdata/ibm1008_420.c: Likewise.
6419         * inet/tst-getni1.c: Likewise.
6420         * inet/tst-getni2.c: Likewise.
6421         * libio/ioungetc.c: Likewise.
6422         * libio/wfiledoalloc.c: Likewise.
6423         * manual/libm-err-tab.pl: Likewise.
6424         * math/w_dremf.c: Likewise.
6425         * misc/ftruncate.c: Likewise.
6426         * posix/bug-glob2.c: Likewise.
6427         * posix/tst-pcre.c: Likewise.
6428         * posix/wait4.c: Likewise.
6429         * resolv/README: Likewise.
6430         * resolv/res_debug.h: Likewise.
6431         * resolv/tst-inet_ntop.c: Likewise.
6432         * setjmp/bug269-setjmp.c: Likewise.
6433         * soft-fp/extended.h: Likewise.
6434         * soft-fp/op-1.h: Likewise.
6435         * soft-fp/op-2.h: Likewise.
6436         * soft-fp/op-4.h: Likewise.
6437         * soft-fp/op-8.h: Likewise.
6438         * soft-fp/testit.c: Likewise.
6439         * stdio-common/bug16.c: Likewise.
6440         * stdlib/random.c: Likewise.
6441         * sunrpc/rpcsvc/rquota.x: Likewise.
6442         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6443         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6444         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6445         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6446         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6447         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6448         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6449         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6450         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6451         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6452         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6453         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6454         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6455         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6457         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6458         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6460         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6463         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6464         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6469         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6470         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6471         * sysdeps/ieee754/s_lib_version.c: Likewise.
6472         * sysdeps/mach/hurd/check_fds.c: Likewise.
6473         * sysdeps/mach/hurd/getsockname.c: Likewise.
6474         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6475         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6476         * sysdeps/powerpc/bits/link.h: Likewise.
6477         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6478         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6479         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6480         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6481         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6482         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6483         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6484         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6485         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6486         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6487         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6488         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6489         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6490         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6491         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6492         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6493         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6494         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6495         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6497         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6498         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6499         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6500         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6501         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6502         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6503         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6504         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6505         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6506         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6507         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6508         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6509         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6510         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6511         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6512         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6513         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6514         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6515         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6516         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6517         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6518         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6519         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6520         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6521         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6522         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6523         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6524         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6525         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6526         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6530         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6531         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6532         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6533         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6534         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6535         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6536         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6537         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6538         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6539         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6540         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6541         * sysdeps/powerpc/sysdep.h: Likewise.
6542         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6543         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6544         * sysdeps/sh/dl-trampoline.S: Likewise.
6545         * sysdeps/sh/memset.S: Likewise.
6546         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6547         * sysdeps/sh/strlen.S: Likewise.
6548         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6549         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6550         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6551         * sysdeps/sparc/sparc32/rem.S: Likewise.
6552         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6553         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6554         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6555         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6556         * sysdeps/sparc/sparc32/urem.S: Likewise.
6557         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6558         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6559         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6560         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6561         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6562         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6563         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6564         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6565         * sysdeps/unix/bsd/times.c: Likewise.
6566         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6567         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6571         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6573         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6575         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6576         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6577         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6578         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6579         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6580         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6581         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6582         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6583         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6584         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6585         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6586         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6587         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6588         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6589         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6590         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6591         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6592         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6593         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6594         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6595         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6596         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6597         * sysdeps/x86_64/strcspn.S: Likewise.
6599 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6601         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6602         generated file.  Regenerate properly from gen-translit.pl.
6603         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6604         locale/C-translit.h.
6606 2013-06-05  Andreas Schwab  <schwab@suse.de>
6608         [BZ #15100]
6609         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6610         week as 6 instead of -1.
6611         * time/tst-strptime.c (day_tests): Add test case.
6613 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6615         * sysdeps/generic/math_private.h
6616         (libc_feholdexcept_setround_53bit): Replace with
6617         libc_feholdsetround_53bit.
6618         (libc_feupdateenv_53bit): Replace with
6619         libc_feresetround_53bit.
6620         (SET_RESTORE_ROUND_53BIT): Adjust.
6622 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6624         * string/test-strchrnul.c: Add copyright header.
6626         * posix/tst-getaddrinfo4.c: Increase test timeout.
6628 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6630         [BZ #15536]
6631         * math/libm-test.inc (MAX_EXP): Remove
6632         (MIN_EXP): Define.
6633         (ulp): Use MIN_EXP - MANT_DIG.
6634         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6636 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6638         * po/be.po: Revert last change.
6639         * po/zh_CN.po: Likewise.
6640         * po/header.pot: Likewise.
6642 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6644         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6645         link-libc-deps to empty as target-specific variable.
6646         * Makerules (link-libc-args): New variable.
6647         (libc-for-link): Likewise.
6648         (link-libc-deps): Likewise.
6649         (lib%.so): Depend on $(link-libc-deps).  Link with
6650         $(link-libc-args).
6651         (build-module): Link with $(link-libc-args).
6652         (build-module-asneeded): Likewise.
6653         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6654         list of objects.
6655         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6656         target-specific variable.
6657         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6658         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6659         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6660         libc.
6661         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6662         libc and ld.so.
6663         ($(objpfx)libpcprofile.so): Likewise.
6664         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6665         libc_nonshared.a.
6666         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6667         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6668         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6669         $(link-libc-deps).
6670         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6671         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6672         * login/Makefile ($(objpfx)libutil.so): Likewise.
6673         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6674         * math/Makefile ($(objpfx)libm.so): Likewise.
6675         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6676         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6677         variable instead of depending directly on libc.
6678         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6679         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6680         $(link-libc-deps).
6681         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6682         libc.
6683         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6684         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6685         ($(objpfx)libanl.so): Likewise.
6686         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6687         ld.so.
6688         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6689         $(link-libc-deps).
6690         * sysdeps/i386/fpu/Makefile: Remove file.
6691         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6692         ($(objpfx)libm.so): Remove dependency on ld.so.
6694 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6696         [BZ # 15553]
6697         * nis/yp_xdr.c (XDRMAXNAME): Define.
6698         (XDRMAXRECORD): Define.
6699         (xdr_domainname): Use XDRMAXNAME.
6700         (xdr_mapname): Likewise.
6701         (xdr_peername): Likewise.
6702         (xdr_keydat): Use XDRMAXRECORD.
6703         (xdr_valdat): Likewise.
6705 2013-05-30  Jeff Law  <law@redhat.com>
6707         [BZ #14256]
6708         * manual/errno.texi (ESTALE): Update to account for more than
6709         just NFS file systems.
6710         * sysdeps/gnu/errlist.c: Regenerated.
6712 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6714         [BZ #15465]
6715         * elf/Makefile (tests): Add tst-null-argv.
6716         (modules-names):  Add tst-null-argv-lib.
6717         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6718         (tst-null-argv-ENV): Set environment for tst-null-argv.
6719         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6720         (RTLD_PROGNAME): New macro.
6721         * elf/tst-null-argv.c: New test case.
6722         * elf/tst-null-argv-lib.c: Library for test case.
6723         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6724         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6725         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6726         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6727         * elf/dl-init.c (call_init): Likewise.
6728         (_dl_init): Likewise.
6729         * elf/dl-load.c (print_search_path): Likewise.
6730         (_dl_map_object): Likewise.
6731         * elf/dl-lookup.c (do_lookup_x): Likewise.
6732         (add_dependency): Likewise.
6733         (_dl_lookup_symbol_x): Likewise.
6734         (_dl_debug_bindings): Likewise.
6735         * elf/dl-open.c (_dl_show_scope): Likewise.
6736         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6737         * elf/dl-version.c (match_symbol): Likewise.
6738         (_dl_check_map_versions): Likewise.
6739         * elf/rtld.c (dl_main): Likewise.
6740         (print_unresolved): Use RTLD_PROGNAME.
6741         (print_missing_version): Likewise.
6742         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6743         (elf_machine_rela): Likewise.
6744         * sysdeps/powerpc/powerpc32/dl-machine.c
6745         (__process_machine_rela): Likewise.
6746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6747         Likewise.
6748         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6749         Likewise.
6750         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6751         Likewise.
6752         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6753         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6754         Likewise.
6755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6756         Likewise.
6757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6759 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6761         * po/be.po: Add descriptive title.
6762         * po/zh_CN.po: Likewise.
6763         * po/header.pot: Likewise.
6765 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6767         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6768         error message.
6769         (enlarge_archive): Likewise.
6771 2013-05-28  Ben North  <ben@redfrontdoor.org>
6773         * manual/arith.texi (frexp): It is the magnitude of the return
6774         value which lies in [0.5, 1), not the return value itself.
6776 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6780 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6782         * stdio-common/bug26.c (main): Correct fscanf template.
6784         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6785         declare _dl_skip_args.
6787         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6788         Don't declare.
6790         * manual/platform.texi: Add missing @end deftypefun.
6792 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6794         [BZ #15529]
6795         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6796         bit of mantissa of 2^16382.
6797         * math/libm-test.inc (hypot_test_data): Add more tests.
6799         * math/libm-test.inc: Add drem and pow10 to list of tested
6800         functions.
6801         (pow10_test): New function.
6802         (drem_test): Likewise.
6803         (drem_test_tonearest): Likewise.
6804         (drem_test_towardzero): Likewise.
6805         (drem_test_downward): Likewise.
6806         (drem_test_upward): Likewise.
6807         (main): Call the new functions.
6809         * math/libm-test.inc (finite_test_data): Remove.
6810         (finite_test): Run tests from isfinite_test_data.
6811         (gamma_test_data): Remove.
6812         (gamma_test): Run tests from lgamma_test_data.
6813         * sysdeps/i386/fpu/libm-test-ulps: Update.
6814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6818         * manual/platform.texi: Add PowerPC PPR function set documentation.
6819         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6820         implementation.
6822 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6824         * math/libm-test.inc (MAX_EXP): Define.
6825         (ULPDIFF): Define.
6826         (ulp): New function.
6827         (check_float_internal): Use ULPDIFF.
6828         (cpow_test): Disable failing test.
6829         (check_ulp): Test ulp() implemetnation.
6830         (main): Call check_ulp before starting tests.
6832 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6834         * math/gen-libm-test.pl (generate_testfile): Do not handle
6835         START_DATA and END_DATA.
6836         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6837         END_DATA.
6838         (acos_tonearest_test_data): Likewise.
6839         (acos_towardzero_test_data): Likewise.
6840         (acos_downward_test_data): Likewise.
6841         (acos_upward_test_data): Likewise.
6842         (acosh_test_data): Likewise.
6843         (asin_test_data): Likewise.
6844         (asin_tonearest_test_data): Likewise.
6845         (asin_towardzero_test_data): Likewise.
6846         (asin_downward_test_data): Likewise.
6847         (asin_upward_test_data): Likewise.
6848         (asinh_test_data): Likewise.
6849         (atan_test_data): Likewise.
6850         (atanh_test_data): Likewise.
6851         (atan2_test_data): Likewise.
6852         (cabs_test_data): Likewise.
6853         (cacos_test_data): Likewise.
6854         (cacosh_test_data): Likewise.
6855         (carg_test_data): Likewise.
6856         (casin_test_data): Likewise.
6857         (casinh_test_data): Likewise.
6858         (catan_test_data): Likewise.
6859         (catanh_test_data): Likewise.
6860         (cbrt_test_data): Likewise.
6861         (ccos_test_data): Likewise.
6862         (ccosh_test_data): Likewise.
6863         (ceil_test_data): Likewise.
6864         (cexp_test_data): Likewise.
6865         (cimag_test_data): Likewise.
6866         (clog_test_data): Likewise.
6867         (clog10_test_data): Likewise.
6868         (conj_test_data): Likewise.
6869         (copysign_test_data): Likewise.
6870         (cos_test_data): Likewise.
6871         (cos_tonearest_test_data): Likewise.
6872         (cos_towardzero_test_data): Likewise.
6873         (cos_downward_test_data): Likewise.
6874         (cos_upward_test_data): Likewise.
6875         (cosh_test_data): Likewise.
6876         (cosh_tonearest_test_data): Likewise.
6877         (cosh_towardzero_test_data): Likewise.
6878         (cosh_downward_test_data): Likewise.
6879         (cosh_upward_test_data): Likewise.
6880         (cpow_test_data): Likewise.
6881         (cproj_test_data): Likewise.
6882         (creal_test_data): Likewise.
6883         (csin_test_data): Likewise.
6884         (csinh_test_data): Likewise.
6885         (csqrt_test_data): Likewise.
6886         (ctan_test_data): Likewise.
6887         (ctan_tonearest_test_data): Likewise.
6888         (ctan_towardzero_test_data): Likewise.
6889         (ctan_downward_test_data): Likewise.
6890         (ctan_upward_test_data): Likewise.
6891         (ctanh_test_data): Likewise.
6892         (ctanh_tonearest_test_data): Likewise.
6893         (ctanh_towardzero_test_data): Likewise.
6894         (ctanh_downward_test_data): Likewise.
6895         (ctanh_upward_test_data): Likewise.
6896         (erf_test_data): Likewise.
6897         (erfc_test_data): Likewise.
6898         (exp_test_data): Likewise.
6899         (exp_tonearest_test_data): Likewise.
6900         (exp_towardzero_test_data): Likewise.
6901         (exp_downward_test_data): Likewise.
6902         (exp_upward_test_data): Likewise.
6903         (exp10_test_data): Likewise.
6904         (exp2_test_data): Likewise.
6905         (expm1_test_data): Likewise.
6906         (fabs_test_data): Likewise.
6907         (fdim_test_data): Likewise.
6908         (finite_test_data): Likewise.
6909         (floor_test_data): Likewise.
6910         (fma_test_data): Likewise.
6911         (fma_towardzero_test_data): Likewise.
6912         (fma_downward_test_data): Likewise.
6913         (fma_upward_test_data): Likewise.
6914         (fmax_test_data): Likewise.
6915         (fmin_test_data): Likewise.
6916         (fmod_test_data): Likewise.
6917         (fpclassify_test_data): Likewise.
6918         (frexp_test_data): Likewise.
6919         (gamma_test_data): Likewise.
6920         (hypot_test_data): Likewise.
6921         (ilogb_test_data): Likewise.
6922         (isfinite_test_data): Likewise.
6923         (isgreater_test_data): Likewise.
6924         (isgreaterequal_test_data): Likewise.
6925         (isinf_test_data): Likewise.
6926         (isless_test_data): Likewise.
6927         (islessequal_test_data): Likewise.
6928         (islessgreater_test_data): Likewise.
6929         (isnan_test_data): Likewise.
6930         (isnormal_test_data): Likewise.
6931         (issignaling_test_data): Likewise.
6932         (isunordered_test_data): Likewise.
6933         (j0_test_data): Likewise.
6934         (j1_test_data): Likewise.
6935         (jn_test_data): Likewise.
6936         (ldexp_test_data): Likewise.
6937         (lgamma_test_data): Likewise.
6938         (lrint_test_data): Likewise.
6939         (lrint_tonearest_test_data): Likewise.
6940         (lrint_towardzero_test_data): Likewise.
6941         (lrint_downward_test_data): Likewise.
6942         (lrint_upward_test_data): Likewise.
6943         (llrint_test_data): Likewise.
6944         (llrint_tonearest_test_data): Likewise.
6945         (llrint_towardzero_test_data): Likewise.
6946         (llrint_downward_test_data): Likewise.
6947         (llrint_upward_test_data): Likewise.
6948         (log_test_data): Likewise.
6949         (log10_test_data): Likewise.
6950         (log1p_test_data): Likewise.
6951         (log2_test_data): Likewise.
6952         (logb_test_data): Likewise.
6953         (logb_downward_test_data): Likewise.
6954         (lround_test_data): Likewise.
6955         (llround_test_data): Likewise.
6956         (modf_test_data): Likewise.
6957         (nearbyint_test_data): Likewise.
6958         (nextafter_test_data): Likewise.
6959         (nexttoward_test_data): Likewise.
6960         (pow_test_data): Likewise.
6961         (pow_tonearest_test_data): Likewise.
6962         (pow_towardzero_test_data): Likewise.
6963         (pow_downward_test_data): Likewise.
6964         (pow_upward_test_data): Likewise.
6965         (remainder_test_data): Likewise.
6966         (remainder_tonearest_test_data): Likewise.
6967         (remainder_towardzero_test_data): Likewise.
6968         (remainder_downward_test_data): Likewise.
6969         (remainder_upward_test_data): Likewise.
6970         (remquo_test_data): Likewise.
6971         (rint_test_data): Likewise.
6972         (rint_tonearest_test_data): Likewise.
6973         (rint_towardzero_test_data): Likewise.
6974         (rint_downward_test_data): Likewise.
6975         (rint_upward_test_data): Likewise.
6976         (round_test_data): Likewise.
6977         (scalb_test_data): Likewise.
6978         (scalbn_test_data): Likewise.
6979         (scalbln_test_data): Likewise.
6980         (signbit_test_data): Likewise.
6981         (sin_test_data): Likewise.
6982         (sin_tonearest_test_data): Likewise.
6983         (sin_towardzero_test_data): Likewise.
6984         (sin_downward_test_data): Likewise.
6985         (sin_upward_test_data): Likewise.
6986         (sincos_test_data): Likewise.
6987         (sinh_test_data): Likewise.
6988         (sinh_tonearest_test_data): Likewise.
6989         (sinh_towardzero_test_data): Likewise.
6990         (sinh_downward_test_data): Likewise.
6991         (sinh_upward_test_data): Likewise.
6992         (sqrt_test_data): Likewise.
6993         (tan_test_data): Likewise.
6994         (tan_tonearest_test_data): Likewise.
6995         (tan_towardzero_test_data): Likewise.
6996         (tan_downward_test_data): Likewise.
6997         (tan_upward_test_data): Likewise.
6998         (tanh_test_data): Likewise.
6999         (tgamma_test_data): Likewise.
7000         (trunc_test_data): Likewise.
7001         (y0_test_data): Likewise.
7002         (y1_test_data): Likewise.
7003         (yn_test_data): Likewise.
7004         (significand_test_data): Likewise.
7006         * math/gen-libm-test.pl (@functions): Remove variable.
7007         (generate_testfile): Don't handle START and END lines.
7008         * math/libm-test.inc (START): New macro.
7009         (END): Likewise.
7010         (END_COMPLEX): Likewise.
7011         (acos_test): Use END macro without arguments.
7012         (acos_test_tonearest): Likewise.
7013         (acos_test_towardzero): Likewise.
7014         (acos_test_downward): Likewise.
7015         (acos_test_upward): Likewise.
7016         (acosh_test): Likewise.
7017         (asin_test): Likewise.
7018         (asin_test_tonearest): Likewise.
7019         (asin_test_towardzero): Likewise.
7020         (asin_test_downward): Likewise.
7021         (asin_test_upward): Likewise.
7022         (asinh_test): Likewise.
7023         (atan_test): Likewise.
7024         (atanh_test): Likewise.
7025         (atan2_test): Likewise.
7026         (cabs_test): Likewise.
7027         (cacos_test): Use END_COMPLEX macro without arguments.
7028         (cacosh_test): Likewise.
7029         (carg_test): Use END macro without arguments.
7030         (casin_test): Use END_COMPLEX macro without arguments.
7031         (casinh_test): Likewise.
7032         (catan_test): Likewise.
7033         (catanh_test): Likewise.
7034         (cbrt_test): Use END macro without arguments.
7035         (ccos_test): Use END_COMPLEX macro without arguments.
7036         (ccosh_test): Likewise.
7037         (ceil_test): Use END macro without arguments.
7038         (cexp_test): Use END_COMPLEX macro without arguments.
7039         (cimag_test): Use END macro without arguments.
7040         (clog_test): Use END_COMPLEX macro without arguments.
7041         (clog10_test): Likewise.
7042         (conj_test): Likewise.
7043         (copysign_test): Use END macro without arguments.
7044         (cos_test): Likewise.
7045         (cos_test_tonearest): Likewise.
7046         (cos_test_towardzero): Likewise.
7047         (cos_test_downward): Likewise.
7048         (cos_test_upward): Likewise.
7049         (cosh_test): Likewise.
7050         (cosh_test_tonearest): Likewise.
7051         (cosh_test_towardzero): Likewise.
7052         (cosh_test_downward): Likewise.
7053         (cosh_test_upward): Likewise.
7054         (cpow_test): Use END_COMPLEX macro without arguments.
7055         (cproj_test): Likewise.
7056         (creal_test): Use END macro without arguments.
7057         (csin_test): Use END_COMPLEX macro without arguments.
7058         (csinh_test): Likewise.
7059         (csqrt_test): Likewise.
7060         (ctan_test): Likewise.
7061         (ctan_test_tonearest): Likewise.
7062         (ctan_test_towardzero): Likewise.
7063         (ctan_test_downward): Likewise.
7064         (ctan_test_upward): Likewise.
7065         (ctanh_test): Likewise.
7066         (ctanh_test_tonearest): Likewise.
7067         (ctanh_test_towardzero): Likewise.
7068         (ctanh_test_downward): Likewise.
7069         (ctanh_test_upward): Likewise.
7070         (erf_test): Use END macro without arguments.
7071         (erfc_test): Likewise.
7072         (exp_test): Likewise.
7073         (exp_test_tonearest): Likewise.
7074         (exp_test_towardzero): Likewise.
7075         (exp_test_downward): Likewise.
7076         (exp_test_upward): Likewise.
7077         (exp10_test): Likewise.
7078         (exp2_test): Likewise.
7079         (expm1_test): Likewise.
7080         (fabs_test): Likewise.
7081         (fdim_test): Likewise.
7082         (finite_test): Likewise.
7083         (floor_test): Likewise.
7084         (fma_test): Likewise.
7085         (fma_test_towardzero): Likewise.
7086         (fma_test_downward): Likewise.
7087         (fma_test_upward): Likewise.
7088         (fmax_test): Likewise.
7089         (fmin_test): Likewise.
7090         (fmod_test): Likewise.
7091         (fpclassify_test): Likewise.
7092         (frexp_test): Likewise.
7093         (gamma_test): Likewise.
7094         (hypot_test): Likewise.
7095         (ilogb_test): Likewise.
7096         (isfinite_test): Likewise.
7097         (isgreater_test): Likewise.
7098         (isgreaterequal_test): Likewise.
7099         (isinf_test): Likewise.
7100         (isless_test): Likewise.
7101         (islessequal_test): Likewise.
7102         (islessgreater_test): Likewise.
7103         (isnan_test): Likewise.
7104         (isnormal_test): Likewise.
7105         (issignaling_test): Likewise.
7106         (isunordered_test): Likewise.
7107         (j0_test): Likewise.
7108         (j1_test): Likewise.
7109         (jn_test): Likewise.
7110         (ldexp_test): Likewise.
7111         (lgamma_test): Likewise.
7112         (lrint_test): Likewise.
7113         (lrint_test_tonearest): Likewise.
7114         (lrint_test_towardzero): Likewise.
7115         (lrint_test_downward): Likewise.
7116         (lrint_test_upward): Likewise.
7117         (llrint_test): Likewise.
7118         (llrint_test_tonearest): Likewise.
7119         (llrint_test_towardzero): Likewise.
7120         (llrint_test_downward): Likewise.
7121         (llrint_test_upward): Likewise.
7122         (log_test): Likewise.
7123         (log10_test): Likewise.
7124         (log1p_test): Likewise.
7125         (log2_test): Likewise.
7126         (logb_test): Likewise.
7127         (logb_test_downward): Likewise.
7128         (lround_test): Likewise.
7129         (llround_test): Likewise.
7130         (modf_test): Likewise.
7131         (nearbyint_test): Likewise.
7132         (nextafter_test): Likewise.
7133         (nexttoward_test): Likewise.
7134         (pow_test): Likewise.
7135         (pow_test_tonearest): Likewise.
7136         (pow_test_towardzero): Likewise.
7137         (pow_test_downward): Likewise.
7138         (pow_test_upward): Likewise.
7139         (remainder_test): Likewise.
7140         (remainder_test_tonearest): Likewise.
7141         (remainder_test_towardzero): Likewise.
7142         (remainder_test_downward): Likewise.
7143         (remainder_test_upward): Likewise.
7144         (remquo_test): Likewise.
7145         (rint_test): Likewise.
7146         (rint_test_tonearest): Likewise.
7147         (rint_test_towardzero): Likewise.
7148         (rint_test_downward): Likewise.
7149         (rint_test_upward): Likewise.
7150         (round_test): Likewise.
7151         (scalb_test): Likewise.
7152         (scalbn_test): Likewise.
7153         (scalbln_test): Likewise.
7154         (signbit_test): Likewise.
7155         (sin_test): Likewise.
7156         (sin_test_tonearest): Likewise.
7157         (sin_test_towardzero): Likewise.
7158         (sin_test_downward): Likewise.
7159         (sin_test_upward): Likewise.
7160         (sincos_test): Likewise.
7161         (sinh_test): Likewise.
7162         (sinh_test_tonearest): Likewise.
7163         (sinh_test_towardzero): Likewise.
7164         (sinh_test_downward): Likewise.
7165         (sinh_test_upward): Likewise.
7166         (sqrt_test): Likewise.
7167         (tan_test): Likewise.
7168         (tan_test_tonearest): Likewise.
7169         (tan_test_towardzero): Likewise.
7170         (tan_test_downward): Likewise.
7171         (tan_test_upward): Likewise.
7172         (tanh_test): Likewise.
7173         (tgamma_test): Likewise.
7174         (trunc_test): Likewise.
7175         (y0_test): Likewise.
7176         (y1_test): Likewise.
7177         (yn_test): Likewise.
7178         (significand_test): Likewise.
7180 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7182         [BZ #15381]
7183         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7185 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7187         [BZ #14894]
7188         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7189         __ppc_mdoio and __ppc_mdoom.
7190         * manual/platform.texi: Document new functions __ppc_yield,
7191         __ppc_mdoio and __ppc_mdoom.
7193 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7195         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7196         (main): Mention "tls" pseudo-hwcap is legacy.
7197         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7199 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7201         * math/gen-libm-test.pl (parse_args): Output only string of
7202         arguments as text for test name, not full call or descriptions of
7203         tests for extra outputs.
7204         (generate_testfile): Do not pass function name to parse_args.
7205         Generate this_func variable from START.
7206         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7207         field to arg_str.
7208         (struct test_ff_f_data): Likewise.
7209         (test_ff_f_data_nexttoward): Likewise.
7210         (struct test_fi_f_data): Likewise.
7211         (struct test_fl_f_data): Likewise.
7212         (struct test_if_f_data): Likewise.
7213         (struct test_fff_f_data): Likewise.
7214         (struct test_c_f_data): Likewise.
7215         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7216         (struct test_fF_f1_data): Likewise.
7217         (struct test_ffI_f1_data): Likewise.
7218         (struct test_c_c_data): Rename test_name field to arg_str.
7219         (struct test_cc_c_data): Likewise.
7220         (struct test_f_i_data): Likewise.
7221         (struct test_ff_i_data): Likewise.
7222         (struct test_f_l_data): Likewise.
7223         (struct test_f_L_data): Likewise.
7224         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7225         and extra2_name.
7226         (COMMON_TEST_SETUP): New macro.
7227         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7228         (COMMON_TEST_CLEANUP): Likewise.
7229         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7230         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7231         macros.
7232         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7233         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7234         macros.
7235         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7236         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7237         cleanup macros.
7238         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7239         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7240         macros.
7241         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7242         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7243         macros.
7244         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7245         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7246         cleanup macros.
7247         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7248         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7249         cleanup macros.
7250         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7251         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7252         cleanup macros.
7253         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7254         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7255         macros.
7256         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7257         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7258         macros.
7259         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7260         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7261         macros.
7262         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7263         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7264         cleanup macros.
7265         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7266         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7267         cleanup macros.
7268         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7269         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7270         macros.
7271         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7272         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7273         cleanup macros.
7274         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7275         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7276         macros.
7277         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7278         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7279         macros.
7280         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7281         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7282         cleanup macros.
7283         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7285 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7287         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7288         to _sifields.sigfault.
7289         (si_addr_lsb): Define new macro.
7290         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7291         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7294 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7296         [BZ #15441]
7297         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7298         returns -1.
7299         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7300         null return -1.
7301         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7302         loading the domain.
7304 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7306         * math/gen-libm-test.pl (parse_args): Do not include expected
7307         result in test name.
7308         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7310         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7311         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7312         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7317         * benchtests/Makefile: Sort function entries.
7319         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7320         tanh, asinh, acosh, atanh.
7321         * benchtests/acos-inputs: New file.
7322         * benchtests/acosh-inputs: New file.
7323         * benchtests/asin-inputs: New file.
7324         * benchtests/asinh-inputs: New file.
7325         * benchtests/atanh-inputs: New file.
7326         * benchtests/cosh-inputs: New file.
7327         * benchtests/log-inputs: New file.
7328         * benchtests/sinh-inputs: New file.
7329         * benchtests/tanh-inputs: New file.
7331 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7333         [BZ #15339]
7334         * posix/tst-getaddrinfo4.c: New test.
7335         * posix/Makefile (tests): Add it.
7337 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7339         [BZ #15339]
7340         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7341         when no services were used.
7342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7343         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7345 2013-05-21  Andreas Schwab  <schwab@suse.de>
7347         [BZ #15014]
7348         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7349         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7350         successful.
7351         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7352         redundant variable declarations and reallocation of buffer when
7353         parsing as IPv6 address.  Always set NSS status when called from
7354         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7355         buffer too small.  Correct computation of needed size.
7356         * nss/Makefile (tests): Add test-digits-dots.
7357         * nss/test-digits-dots.c: New test.
7359 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7361         * benchtests/Makefile: Remove instructions for adding
7362         benchmark tests.
7363         * benchtests/README: New file to explain how to execute and
7364         enhance the benchmark tests.
7366 2013-05-21  Andreas Schwab  <schwab@suse.de>
7368         [BZ #15493]
7369         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7370         * setjmp/tst-sigsetjmp.c: New test.
7372 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7374         * sysdeps/x86_64/memset.S (memset): New implementation.
7375         (__bzero): Likewise.
7376         (__memset_tail): New function.
7378 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7380         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7381         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7382         __memcpy_sse2_unaligned ifunc selection.
7383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7384         Add memcpy-sse2-unaligned.S.
7385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7386         Add: __memcpy_sse2_unaligned.
7388 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7390         [BZ #15490]
7391         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7392         math_force_eval before restoring floating-point envrionment.
7393         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7394         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7395         Likewise.
7396         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7397         <math_private.h>.
7398         (__nearbyintl): Use math_force_eval before restoring
7399         floating-point environment.
7400         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7402         * math/gen-libm-test.pl (special_functions): Remove.
7403         (parse_args): Don't handle TEST_extra.  Handle functions with no
7404         return value.
7405         * math/libm-test.inc (struct test_sincos_data): Replace with
7406         struct test_fFF_11_data.
7407         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7408         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7409         (sincos_test_data): Change element type to struct
7410         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7411         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7412         RUN_TEST_LOOP_sincos.
7413         * math/README.libm-test: Don't mention special handling of
7414         individual functions.
7415         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7418         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7422         * math/gen-libm-test.pl (get_variable): Remove function.
7423         (parse_args): Don't show pointer parameters to call in test
7424         names.  Use "extra output N" in test names for extra outputs
7425         rather than naming variables.
7427 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7429         [BZ #15488]
7430         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7431         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7432         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7433         double tests.
7434         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7435         disable.
7436         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7437         check_long_double.
7439         * math/gen-libm-test.pl (@tests): Remove variable.
7440         ($count): Likewise.
7441         (new_test): Remove function.
7442         (show_exceptions): New function.
7443         (special_functions): Use show_exceptions instead of new_test.
7444         (parse_args): Likewise.
7445         (generate_testfile): Pass only function name in generated call to
7446         print_max_error or print_complex_max_error.
7447         (get_ulps): Do not handle complex tests specially.
7448         (output_test): Rename to ...
7449         (get_all_ulps_for_test): ... this.  Return a string rather than
7450         printing to a file.  Require ulps to be present.
7451         (output_ulps): Generate arrays rather than #defines.
7452         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7453         (struct ulp_data): New type.
7454         (BUILD_COMPLEX_ULP): Remove macro.
7455         (compare_ulp_data): New function.
7456         (find_ulps): Likewise.
7457         (find_test_ulps): Likewise.
7458         (find_function_ulps): Likewise.
7459         (find_complex_function_ulps): Likewise.
7460         (print_max_error): Determine allowed ulps using
7461         find_function_ulps.
7462         (print_complex_max_error): Determine allowed ulps using
7463         find_complex_function_ulps.
7464         (check_float_internal): Determine max ulps using find_test_ulps.
7465         (check_float): Do not take max_ulp parameter.  Update call to
7466         check_float_internal.
7467         (check_complex): Likewise.
7468         (check_int): Do not take max_ulp parameter.
7469         (check_long): Likewise.
7470         (check_bool): Likewise.
7471         (check_longlong): Likewise.
7472         (struct test_f_f_data): Remove max_ulp field.
7473         (struct test_ff_f_data): Likewise.
7474         (struct test_ff_f_data_nexttoward): Likewise.
7475         (struct test_fi_f_data): Likewise.
7476         (struct test_fl_f_data): Likewise.
7477         (struct test_if_f_data): Likewise.
7478         (struct test_fff_f_data): Likewise.
7479         (struct test_c_f_data): Likewise.
7480         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7481         (struct test_fF_f1_data): Likewise.
7482         (struct test_ffI_f1_data): Likewise.
7483         (struct test_c_c_data): Remove max_ulp field.
7484         (struct test_cc_c_data): Likewise.
7485         (struct test_f_i_data): Likewise.
7486         (struct test_ff_i_data): Likewise.
7487         (struct test_f_l_data): Likewise.
7488         (struct test_f_L_data): Likewise.
7489         (struct test_sincos_data): Likewise.
7490         (RUN_TEST_f_f): Do not handle ulps.
7491         (RUN_TEST_LOOP_f_f): Likewise.
7492         (RUN_TEST_2_f): Likewise.
7493         (RUN_TEST_LOOP_2_f): Likewise.
7494         (RUN_TEST_fff_f): Likewise.
7495         (RUN_TEST_LOOP_fff_f): Likewise.
7496         (RUN_TEST_c_f): Likewise.
7497         (RUN_TEST_LOOP_c_f): Likewise.
7498         (RUN_TEST_f_f1): Likewise.
7499         (RUN_TEST_LOOP_f_f1): Likewise.
7500         (RUN_TEST_fF_f1): Likewise.
7501         (RUN_TEST_LOOP_fF_f1): Likewise.
7502         (RUN_TEST_fI_f1): Likewise.
7503         (RUN_TEST_LOOP_fI_f1): Likewise.
7504         (RUN_TEST_ffI_f1): Likewise.
7505         (RUN_TEST_LOOP_ffI_f1): Likewise.
7506         (RUN_TEST_c_c): Likewise.
7507         (RUN_TEST_LOOP_c_c): Likewise.
7508         (RUN_TEST_cc_c): Likewise.
7509         (RUN_TEST_LOOP_cc_c): Likewise.
7510         (RUN_TEST_f_i): Likewise.
7511         (RUN_TEST_LOOP_f_i): Likewise.
7512         (RUN_TEST_f_i_tg): Likewise.
7513         (RUN_TEST_LOOP_f_i_tg): Likewise.
7514         (RUN_TEST_ff_i_tg): Likewise.
7515         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7516         (RUN_TEST_f_b): Likewise.
7517         (RUN_TEST_LOOP_f_b): Likewise.
7518         (RUN_TEST_f_b_tg): Likewise.
7519         (RUN_TEST_LOOP_f_b_tg): Likewise.
7520         (RUN_TEST_f_l): Likewise.
7521         (RUN_TEST_LOOP_f_l): Likewise.
7522         (RUN_TEST_f_L): Likewise.
7523         (RUN_TEST_LOOP_f_L): Likewise.
7524         (RUN_TEST_sincos): Likewise.
7525         (RUN_TEST_LOOP_sincos): Likewise.
7527 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7529         [BZ #15480]
7530         [BZ #15485]
7531         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7532         main case of finite arguments, set rounding mode to FE_TONEAREST
7533         and discard exceptions.
7534         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7535         exceptions.
7536         (remainder_tonearest_test_data): New variable.
7537         (remainder_test_tonearest): New function.
7538         (remainder_towardzero_test_data): New variable.
7539         (remainder_test_towardzero): New function.
7540         (remainder_downward_test_data): New variable.
7541         (remainder_test_downward): New function.
7542         (remainder_upward_test_data): New variable.
7543         (remainder_test_upward): New function.
7544         (main): Call the new test functions.
7546         * math/libm-test.inc (struct test_f_f1_data): Remove field
7547         extra_init.
7548         (struct test_fF_f1_data): Likewise.
7549         (struct test_ffI_f1_data): Likewise.
7550         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7551         based on value of EXTRA_EXPECTED.
7552         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7553         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7554         EXTRA_VAR based on value of EXTRA_EXPECTED.
7555         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7556         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7557         EXTRA_VAR based on value of EXTRA_EXPECTED.
7558         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7559         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7560         EXTRA_VAR based on value of EXTRA_EXPECTED.
7561         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7562         * math/gen-libm-test.pl (parse_args): Don't output initializers
7563         for extra output values.
7565         * math/libm-test.inc (check_int): Expect result to be exactly
7566         equal to expected value and do not handle ulps.
7567         (check_long): Likewise.
7568         (check_longlong): Likewise.
7570         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7571         exceptions.
7572         (cimag_test_data): Likewise.
7573         (conj_test_data): Likewise.
7574         (copysign_test_data): Likewise.
7575         (cproj_test_data): Likewise.
7576         (creal_test_data): Likewise.
7577         (fabs_test_data): Likewise.
7578         (fdim_test_data): Likewise.
7579         (finite_test_data): Likewise.
7580         (floor_test_data): Likewise.
7581         (fmax_test_data): Likewise.
7582         (fmin_test_data): Likewise.
7583         (fmod_test_data): Likewise.
7584         (fpclassify_test_data): Likewise.
7585         (frexp_test_data): Likewise.
7586         (ilogb_test_data): Likewise.
7587         (isfinite_test_data): Likewise.
7588         (isgreater_test_data): Likewise.
7589         (isgreaterequal_test_data): Likewise.
7590         (isinf_test_data): Likewise.
7591         (isless_test_data): Likewise.
7592         (islessequal_test_data): Likewise.
7593         (islessgreater_test_data): Likewise.
7594         (isnan_test_data): Likewise.
7595         (isnormal_test_data): Likewise.
7596         (issignaling_test_data): Likewise.
7597         (isunordered_test_data): Likewise.
7598         (ldexp_test_data): Likewise.
7599         (lrint_test_data): Likewise.
7600         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7601         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7602         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7603         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7604         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7605         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7606         test input.
7607         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7608         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7609         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7610         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7611         that test input.
7612         (lrint_downward_test_data): Test for "inexact" exceptions.
7613         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7614         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7615         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7616         test input.
7617         (lrint_upward_test_data): Test for "inexact" exceptions.
7618         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7619         test input.
7620         (llrint_test_data): Test for "inexact" exceptions.
7621         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7622         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7623         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7624         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7625         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7626         (llrint_downward_test_data): Test for "inexact" exceptions.
7627         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7628         (llrint_upward_test_data): Test for "inexact" exceptions.
7629         (logb_test_data): Likewise.
7630         (logb_downward_test_data): Likewise.
7631         (nextafter_test_data): Likewise.
7632         (nexttoward_test_data): Likewise.
7633         (remainder_test_data): Likewise.
7634         (remquo_test_data): Likewise.
7635         (scalbn_test_data): Likewise.
7636         (scalbln_test_data): Likewise.
7637         (signbit_test_data): Likewise.
7638         (sqrt_test_data): Likewise.
7639         (significand_test_data): Likewise.
7641 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7643         [BZ #15424]
7644         * benchtests/bench-modf.c (struct args): Mark arg0 as
7645         volatile.
7646         * scripts/bench.pl: Mark members of struct args as volatile.
7648 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7650         [BZ # 15497]
7651         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7652         negative infinity on POWER6 or lower.
7653         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7655 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7657         [BZ #15442]
7658         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7659         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7660         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7661         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7662         (_FP_SETQNAN): New macro.
7663         (_FP_SETQNAN_SEMIRAW): Likewise.
7664         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7665         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7666         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7667         (FP_EXTEND): Use _FP_FRAC_SNANP.
7668         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7669         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7670         into account.
7671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7672         New macro.
7673         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7674         Likewise.
7676 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7678         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7679         with DIVIDE_BY_ZERO_EXCEPTION.
7680         (gamma_test_data): Likewise.
7681         (lgamma_test_data): Likewise.
7682         (log_test_data): Likewise.
7683         (log10_test_data): Likewise.
7684         (log2_test_data): Likewise.
7685         (tgamma_test_data): Likewise.
7687         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7688         (acos_test_tonearest): Likewise.
7689         (acos_test_towardzero): Likewise.
7690         (acos_test_downward): Likewise.
7691         (acos_test_upward): Likewise.
7692         (acosh_test): Likewise.
7693         (asin_test): Likewise.
7694         (asin_test_tonearest): Likewise.
7695         (asin_test_towardzero): Likewise.
7696         (asin_test_downward): Likewise.
7697         (asin_test_upward): Likewise.
7698         (asinh_test): Likewise.
7699         (atan_test): Likewise.
7700         (atanh_test): Likewise.
7701         (atan2_test): Likewise.
7702         (cabs_test): Likewise.
7703         (cacos_test): Likewise.
7704         (cacosh_test): Likewise.
7705         (casin_test): Likewise.
7706         (casinh_test): Likewise.
7707         (catan_test): Likewise.
7708         (catanh_test): Likewise.
7709         (cbrt_test): Likewise.
7710         (ccos_test): Likewise.
7711         (ccosh_test): Likewise.
7712         (cexp_test): Likewise.
7713         (clog_test): Likewise.
7714         (clog10_test): Likewise.
7715         (cos_test): Likewise.
7716         (cos_test_tonearest): Likewise.
7717         (cos_test_towardzero): Likewise.
7718         (cos_test_downward): Likewise.
7719         (cos_test_upward): Likewise.
7720         (cosh_test): Likewise.
7721         (cosh_test_tonearest): Likewise.
7722         (cosh_test_towardzero): Likewise.
7723         (cosh_test_downward): Likewise.
7724         (cosh_test_upward): Likewise.
7725         (cpow_test): Likewise.
7726         (csin_test): Likewise.
7727         (csinh_test): Likewise.
7728         (csqrt_test): Likewise.
7729         (ctan_test): Likewise.
7730         (ctan_test_tonearest): Likewise.
7731         (ctan_test_towardzero): Likewise.
7732         (ctan_test_downward): Likewise.
7733         (ctan_test_upward): Likewise.
7734         (ctanh_test): Likewise.
7735         (ctanh_test_tonearest): Likewise.
7736         (ctanh_test_towardzero): Likewise.
7737         (ctanh_test_downward): Likewise.
7738         (ctanh_test_upward): Likewise.
7739         (erf_test): Likewise.
7740         (erfc_test): Likewise.
7741         (exp_test): Likewise.
7742         (exp_test_tonearest): Likewise.
7743         (exp_test_towardzero): Likewise.
7744         (exp_test_downward): Likewise.
7745         (exp_test_upward): Likewise.
7746         (exp10_test): Likewise.
7747         (exp2_test): Likewise.
7748         (expm1_test): Likewise.
7749         (fmod_test): Likewise.
7750         (gamma_test): Likewise.
7751         (hypot_test): Likewise.
7752         (j0_test): Likewise.
7753         (j1_test): Likewise.
7754         (jn_test): Likewise.
7755         (lgamma_test): Likewise.
7756         (log_test): Likewise.
7757         (log10_test): Likewise.
7758         (log1p_test): Likewise.
7759         (log2_test): Likewise.
7760         (logb_test_downward): Likewise.
7761         (pow_test): Likewise.
7762         (pow_test_tonearest): Likewise.
7763         (pow_test_towardzero): Likewise.
7764         (pow_test_downward): Likewise.
7765         (pow_test_upward): Likewise.
7766         (remainder_test): Likewise.
7767         (remquo_test): Likewise.
7768         (sin_test): Likewise.
7769         (sin_test_tonearest): Likewise.
7770         (sin_test_towardzero): Likewise.
7771         (sin_test_downward): Likewise.
7772         (sin_test_upward): Likewise.
7773         (sincos_test): Likewise.
7774         (sinh_test): Likewise.
7775         (sinh_test_tonearest): Likewise.
7776         (sinh_test_towardzero): Likewise.
7777         (sinh_test_downward): Likewise.
7778         (sinh_test_upward): Likewise.
7779         (sqrt_test): Likewise.
7780         (tan_test): Likewise.
7781         (tan_test_tonearest): Likewise.
7782         (tan_test_towardzero): Likewise.
7783         (tan_test_downward): Likewise.
7784         (tan_test_upward): Likewise.
7785         (tanh_test): Likewise.
7786         (tgamma_test): Likewise.
7787         (y0_test): Likewise.
7788         (y1_test): Likewise.
7789         (yn_test): Likewise.
7791         * math/gen-libm-test.pl (adjust_arg): Remove function.
7792         (special_function): Remove argument $in_func.  Only handle
7793         generating output for tables of tests, not inside functions.
7794         (parse_args): Likewise.
7795         (generate_testfile): Remove variable $in_func.  Update call to
7796         parse_args.
7797         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7798         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7799         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7800         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7801         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7802         (MAX_VALUE_INIT): Rename macro to max_value.
7803         (MIN_VALUE_INIT): Rename macro to min_value.
7804         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7805         (plus_zero): Remove variable.
7806         (minus_zero): Likewise.
7807         (plus_infty): Likewise.
7808         (minus_infty): Likewise.
7809         (qnan_value): Likewise.
7810         (max_value): Likewise.
7811         (min_value): Likewise.
7812         (min_subnorm_value): Likewise.
7814 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7816         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7817         uint64_t or uint32_t usage.
7818         * crypt/sha256-block.c: Likewise.
7819         * crypt/sha256-crypt.c: Likewise.
7820         * crypt/sha256.c: Likewise.
7821         * crypt/sha512-block.c: Likewise.
7822         * crypt/sha512-crypt.c: Likewise.
7823         * crypt/sha512.c: Likewise.
7824         * debug/backtrace-tst.c: Likewise.
7825         * debug/pcprofiledump.c: Likewise.
7826         * elf/cache.c: Likewise.
7827         * elf/dl-cache.c: Likewise.
7828         * elf/dl-misc.c: Likewise.
7829         * elf/dl-profile.c: Likewise.
7830         * elf/dl-support.c: Likewise.
7831         * elf/ldconfig.c: Likewise.
7832         * elf/sprof.c: Likewise.
7833         * iconv/dummy-repertoire.c: Likewise.
7834         * iconv/iconv_charmap.c: Likewise.
7835         * iconv/skeleton.c: Likewise.
7836         * iconvdata/8bit-generic.c: Likewise.
7837         * iconvdata/cp737.h: Likewise.
7838         * iconvdata/cp775.h: Likewise.
7839         * iconvdata/ibm1008.h: Likewise.
7840         * iconvdata/ibm1025.h: Likewise.
7841         * iconvdata/ibm1046.h: Likewise.
7842         * iconvdata/ibm1097.h: Likewise.
7843         * iconvdata/ibm1112.h: Likewise.
7844         * iconvdata/ibm1122.h: Likewise.
7845         * iconvdata/ibm1123.h: Likewise.
7846         * iconvdata/ibm1124.h: Likewise.
7847         * iconvdata/ibm1129.h: Likewise.
7848         * iconvdata/ibm1130.h: Likewise.
7849         * iconvdata/ibm1132.h: Likewise.
7850         * iconvdata/ibm1133.h: Likewise.
7851         * iconvdata/ibm1137.h: Likewise.
7852         * iconvdata/ibm1140.h: Likewise.
7853         * iconvdata/ibm1141.h: Likewise.
7854         * iconvdata/ibm1142.h: Likewise.
7855         * iconvdata/ibm1143.h: Likewise.
7856         * iconvdata/ibm1144.h: Likewise.
7857         * iconvdata/ibm1145.h: Likewise.
7858         * iconvdata/ibm1146.h: Likewise.
7859         * iconvdata/ibm1147.h: Likewise.
7860         * iconvdata/ibm1148.h: Likewise.
7861         * iconvdata/ibm1149.h: Likewise.
7862         * iconvdata/ibm1153.h: Likewise.
7863         * iconvdata/ibm1154.h: Likewise.
7864         * iconvdata/ibm1155.h: Likewise.
7865         * iconvdata/ibm1156.h: Likewise.
7866         * iconvdata/ibm1157.h: Likewise.
7867         * iconvdata/ibm1158.h: Likewise.
7868         * iconvdata/ibm1160.h: Likewise.
7869         * iconvdata/ibm1161.h: Likewise.
7870         * iconvdata/ibm1162.h: Likewise.
7871         * iconvdata/ibm1163.h: Likewise.
7872         * iconvdata/ibm1164.h: Likewise.
7873         * iconvdata/ibm1166.h: Likewise.
7874         * iconvdata/ibm1167.h: Likewise.
7875         * iconvdata/ibm12712.h: Likewise.
7876         * iconvdata/ibm1390.h: Likewise.
7877         * iconvdata/ibm1399.h: Likewise.
7878         * iconvdata/ibm16804.h: Likewise.
7879         * iconvdata/ibm4517.h: Likewise.
7880         * iconvdata/ibm4899.h: Likewise.
7881         * iconvdata/ibm4909.h: Likewise.
7882         * iconvdata/ibm4971.h: Likewise.
7883         * iconvdata/ibm5347.h: Likewise.
7884         * iconvdata/ibm803.h: Likewise.
7885         * iconvdata/ibm856.h: Likewise.
7886         * iconvdata/ibm901.h: Likewise.
7887         * iconvdata/ibm902.h: Likewise.
7888         * iconvdata/ibm9030.h: Likewise.
7889         * iconvdata/ibm9066.h: Likewise.
7890         * iconvdata/ibm921.h: Likewise.
7891         * iconvdata/ibm922.h: Likewise.
7892         * iconvdata/ibm9448.h: Likewise.
7893         * iconvdata/isiri-3342.h: Likewise.
7894         * iconvdata/jis0201.h: Likewise.
7895         * include/link.h: Likewise.
7896         * include/netdb.h: Likewise.
7897         * inet/check_native.c: Likewise.
7898         * inet/check_pf.c: Likewise.
7899         * inet/getipv4sourcefilter.c: Likewise.
7900         * inet/getnameinfo.c: Likewise.
7901         * inet/getsourcefilter.c: Likewise.
7902         * inet/htonl.c: Likewise.
7903         * inet/setipv4sourcefilter.c: Likewise.
7904         * inet/setsourcefilter.c: Likewise.
7905         * inet/test-inet6_opt.c: Likewise.
7906         * inet/tst-network.c: Likewise.
7907         * locale/C-collate.c: Likewise.
7908         * locale/C-ctype.c: Likewise.
7909         * locale/C-time.c: Likewise.
7910         * locale/C-translit.h: Likewise.
7911         * locale/loadarchive.c: Likewise.
7912         * locale/programs/3level.h: Likewise.
7913         * locale/programs/charmap.c: Likewise.
7914         * locale/programs/charmap.h: Likewise.
7915         * locale/programs/ld-address.c: Likewise.
7916         * locale/programs/ld-collate.c: Likewise.
7917         * locale/programs/ld-ctype.c: Likewise.
7918         * locale/programs/ld-identification.c: Likewise.
7919         * locale/programs/ld-measurement.c: Likewise.
7920         * locale/programs/ld-messages.c: Likewise.
7921         * locale/programs/ld-monetary.c: Likewise.
7922         * locale/programs/ld-name.c: Likewise.
7923         * locale/programs/ld-numeric.c: Likewise.
7924         * locale/programs/ld-paper.c: Likewise.
7925         * locale/programs/ld-telephone.c: Likewise.
7926         * locale/programs/ld-time.c: Likewise.
7927         * locale/programs/linereader.c: Likewise.
7928         * locale/programs/locale.c: Likewise.
7929         * locale/programs/locarchive.c: Likewise.
7930         * locale/programs/locfile.h: Likewise.
7931         * locale/programs/repertoire.c: Likewise.
7932         * locale/programs/simple-hash.c: Likewise.
7933         * locale/programs/simple-hash.h: Likewise.
7934         * malloc/memusage.c: Likewise.
7935         * malloc/memusagestat.c: Likewise.
7936         * nis/nis_defaults.c: Likewise.
7937         * nis/nis_hash.c: Likewise.
7938         * nis/nis_print.c: Likewise.
7939         * nis/nis_xdr.c: Likewise.
7940         * nscd/connections.c: Likewise.
7941         * nscd/hstcache.c: Likewise.
7942         * nscd/nscd_gethst_r.c: Likewise.
7943         * nscd/nscd_getserv_r.c: Likewise.
7944         * nscd/nscd_helper.c: Likewise.
7945         * nscd/servicescache.c: Likewise.
7946         * nss/makedb.c: Likewise.
7947         * nss/nss_db/db-XXX.c: Likewise.
7948         * nss/nss_db/db-initgroups.c: Likewise.
7949         * nss/nss_db/db-netgrp.c: Likewise.
7950         * nss/nss_files/files-network.c: Likewise.
7951         * nss/nss_files/files-parse.c: Likewise.
7952         * posix/bug-regex5.c: Likewise.
7953         * posix/fnmatch_loop.c: Likewise.
7954         * posix/regcomp.c: Likewise.
7955         * posix/regexec.c: Likewise.
7956         * posix/tst-rfc3484-2.c: Likewise.
7957         * posix/tst-rfc3484-3.c: Likewise.
7958         * posix/tst-rfc3484.c: Likewise.
7959         * resolv/nss_dns/dns-canon.c: Likewise.
7960         * resolv/nss_dns/dns-network.c: Likewise.
7961         * resolv/res_init.c: Likewise.
7962         * resolv/res_mkquery.c: Likewise.
7963         * resolv/tst-aton.c: Likewise.
7964         * stdlib/cxa_atexit.c: Likewise.
7965         * stdlib/cxa_finalize.c: Likewise.
7966         * stdlib/gen-fpioconst.c: Likewise.
7967         * stdlib/strtol_l.c: Likewise.
7968         * string/tst-endian.c: Likewise.
7969         * sunrpc/auth_des.c: Likewise.
7970         * sunrpc/clnt_udp.c: Likewise.
7971         * sunrpc/rtime.c: Likewise.
7972         * sunrpc/svcauth_des.c: Likewise.
7973         * sunrpc/xdr.c: Likewise.
7974         * sunrpc/xdr_intXX_t.c: Likewise.
7975         * sunrpc/xdr_rec.c: Likewise.
7976         * sysdeps/generic/ldconfig.h: Likewise.
7977         * sysdeps/generic/ldsodefs.h: Likewise.
7978         * sysdeps/generic/memusage.h: Likewise.
7979         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7980         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7981         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7982         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7985         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7986         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7987         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7989         * sysdeps/posix/getaddrinfo.c: Likewise.
7990         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7991         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7992         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7993         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7994         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7995         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7996         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7997         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7998         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7999         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8000         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8001         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8002         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8003         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8004         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8005         * sysdeps/x86_64/dl-tls.h: Likewise.
8006         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8007         * time/alt_digit.c: Likewise.
8008         * time/era.c: Likewise.
8009         * wcsmbs/tst-c16c32-1.c: Likewise.
8011 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8013         * math/libm-test.inc (struct test_sincos_data): New type.
8014         (RUN_TEST_LOOP_sincos): New macro.
8015         (sincos_test_data): New variable.
8016         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8018 2013-05-16  Richard Henderson  <rth@redhat.com>
8020         * math/atest-exp2.c (LIMB64): New macro.
8021         (CONSTSZ): New macro.
8022         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8023         (hexdig): Move ...
8024         (print_mpn_fp): ... to function scope.
8025         (read_mpn_hex): Remove.
8026         (get_log2): Remove.
8027         (exp2_mpn): Use mp_log2.
8028         (main): Use mp_exp1.
8030 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8032         * math/libm-test.inc: Remove comment about not testing "inexact"
8033         exceptions.
8034         (INEXACT_EXCEPTION): New macro.
8035         (NO_INEXACT_EXCEPTION): Likewise.
8036         (INVALID_EXCEPTION_OK): Update value.
8037         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8038         (OVERFLOW_EXCEPTION_OK): Likewise.
8039         (UNDERFLOW_EXCEPTION_OK): Likewise.
8040         (IGNORE_ZERO_INF_SIGN): Likewise.
8041         (ERRNO_UNCHANGED): Likewise.
8042         (ERRNO_EDOM): Likewise.
8043         (ERRNO_ERANGE): Likewise.
8044         (test_exceptions): Handle testing "inexact" exceptions.
8045         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8046         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8047         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8048         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8049         INEXACT_EXCEPTION.
8050         (rint_towardzero_test_data): Likewise.
8051         (rint_downward_test_data): Likewise.
8052         (rint_upward_test_data): Likewise.
8054         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8055         with OVERFLOW_EXCEPTION.
8056         (exp10_test_data): Likewise.
8057         (exp2_test_data): Likewise.
8058         (expm1_test_data): Likewise.
8059         (lgamma_test_data): Likewise.
8060         (pow_test_data): Likewise.
8061         (tgamma_test_data): Likewise.
8062         (yn_test_data): Remove duplicate test of overflow.
8064         * math/libm-test.inc (struct test_cc_c_data): New type.
8065         (RUN_TEST_LOOP_cc_c): New macro.
8066         (cpow_test_data): New variable.
8067         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8069         * math/libm-test.inc (struct test_f_L_data): New type.
8070         (RUN_TEST_LOOP_f_L): New macro.
8071         (llrint_test_data): New variable.
8072         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8073         (llrint_tonearest_test_data): New variable.
8074         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8075         (llrint_towardzero_test_data): New variable.
8076         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8077         (llrint_downward_test_data): New variable.
8078         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8079         (llrint_upward_test_data): New variable.
8080         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8081         (llround_test_data): New variable.
8082         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8084 2013-05-13  Peter Collingbourne  <pcc@google.com>
8086         * math/atest-exp2.c (get_log2): Remove const attribute.
8088 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8090         * math/libm-test.inc (struct test_f_l_data): New type.
8091         (RUN_TEST_LOOP_f_l): New macro.
8092         (lrint_test_data): New variable.
8093         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8094         (lrint_tonearest_test_data): New variable.
8095         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8096         (lrint_towardzero_test_data): New variable.
8097         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8098         (lrint_downward_test_data): New variable.
8099         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8100         (lrint_upward_test_data): New variable.
8101         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8102         (lround_test_data): New variable.
8103         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8105 2013-05-15  Peter Collingbourne  <pcc@google.com>
8107         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8108         (EXTRACT_WORDS64) Use where appropriate.
8109         (INSERT_WORDS64) Likewise.
8111         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8112         constraints with x constraints.
8113         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8115         * malloc/obstack.c (_obstack_compat): Add initializer.
8117 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8119         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8120         si_trapno and add si_addr_lsb to _sifields.sigfault.
8121         (si_trapno): Remove macro.
8122         (si_addr_lsb): Define new macro.
8123         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8125 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8127         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8128         instead of TEST_f_l.
8129         (llrint_test_tonearest): Likewise.
8130         (llrint_test_towardzero): Likewise.
8131         (llrint_test_downward): Likewise.
8132         (llrint_test_upward): Likewise.
8133         (llround_test): Likewise.
8135         * math/libm-test.inc (struct test_f_i_data): Add comment.
8136         (RUN_TEST_LOOP_f_b): New macro.
8137         (RUN_TEST_LOOP_f_b_tg): Likewise.
8138         (finite_test_data): New variable.
8139         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8140         (isfinite_test_data): New variable.
8141         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8142         (isinf_test_data): New variable.
8143         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8144         (isnan_test_data): New variable.
8145         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8146         (isnormal_test_data): New variable.
8147         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8148         (issignaling_test_data): New variable.
8149         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8150         (signbit_test_data): New variable.
8151         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8153         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8154         with INVALID_EXCEPTION.
8155         (acosh_test_data): Likewise.
8156         (asin_test_data): Likewise.
8157         (atanh_test_data): Likewise.
8158         (fmod_test_data): Likewise.
8159         (log_test_data): Likewise.
8160         (log10_test_data): Likewise.
8161         (log2_test_data): Likewise.
8162         (pow_test_data): Likewise.
8163         (sqrt_test_data): Likewise.
8164         (y0_test_data): Likewise.
8165         (y1_test_data): Likewise.
8166         (yn_test_data): Likewise.
8168         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8169         function contents.
8171         * math/libm-test.inc (struct test_ff_i_data): New type.
8172         (RUN_TEST_LOOP_ff_i_tg): New macro.
8173         (isgreater_test_data): New variable.
8174         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8175         (isgreaterequal_test_data): New variable.
8176         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8177         (isless_test_data): New variable.
8178         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8179         (islessequal_test_data): New variable.
8180         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8181         (islessgreater_test_data): New variable.
8182         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8183         (isunordered_test_data): New variable.
8184         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8186 2013-05-14  David S. Miller  <davem@davemloft.net>
8188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8190 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8192         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8194         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8195         extra_test to int.
8196         (struct test_f_i_data): Change type of max_ulp to int.
8198         * math/libm-test.inc (test_ffI_f1_data): New type.
8199         (RUN_TEST_LOOP_ffI_f1): New macro.
8200         (remquo_test_data): New variable.
8201         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8203         * setjmp/tst-setjmp-fp.c: New file.
8204         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8205         (link-libm): New variable.
8206         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8208         * math/libm-test.inc (struct test_f_i_data): New type.
8209         (RUN_TEST_LOOP_f_i): New macro.
8210         (RUN_TEST_LOOP_f_i_tg): Likewise.
8211         (fpclassify_test_data): New variable.
8212         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8213         (ilogb_test_data): New variable.
8214         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8216         * math/libm-test.inc (scalbln_test): Correct function name in END
8217         call.
8219         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8220         (RUN_TEST_LOOP_fI_f1): New macro.
8221         (frexp_test_data): New variable.
8222         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8224         * math/libm-test.inc (struct test_fF_f1_data): New type.
8225         (RUN_TEST_LOOP_fF_f1): New macro.
8226         (modf_test_data): New variable.
8227         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8229         * math/libm-test.inc (struct test_f_f1_data): New type.
8230         (RUN_TEST_LOOP_f_f1): New macro.
8231         (gamma_test_data): New variable.
8232         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8233         (lgamma_test_data): New variable.
8234         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8236 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8238         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8239         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8240         (main): Comment "tls" pseudo-hwcap.
8242 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8244         * math/libm-test.inc (struct test_fl_f_data): New type.
8245         (RUN_TEST_LOOP_fl_f): New variable.
8246         (scalbln_test_data): New variable.
8247         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8249         * math/libm-test.inc (struct test_fi_f_data): New type.
8250         (RUN_TEST_LOOP_fi_f): New macro.
8251         (ldexp_test_data): New variable.
8252         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8253         (scalbn_test_data): New variable.
8254         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8256         * math/libm-test.inc (struct test_c_f_data): New type.
8257         (RUN_TEST_LOOP_c_f): New macro.
8258         (cabs_test_data): New variable.
8259         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8260         (carg_test_data): New variable.
8261         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8262         (cimag_test_data): New variable.
8263         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8264         (creal_test_data): New variable.
8265         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8267         * math/libm-test.inc (struct test_if_f_data): New type.
8268         (RUN_TEST_LOOP_if_f): New macro.
8269         (jn_test_data): New variable.
8270         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8271         (yn_test_data): New variable.
8272         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8274         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8276 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8278         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8279         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8281 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8283         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8284         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8285         (bench-deps): Add bench-timing.h.
8286         * benchtests-bench-skeleton.c: Include bench-timing.h.
8287         (main): Use TIMING_* macros instead of clock_gettime.
8288         * benchtests/bench-timing.h: New file.
8290         [BZ #14582]
8291         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8292         Renamed from _LIB_VERSION.
8293         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8295 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8297         * math/libm-test.inc (struct test_fff_f_data): New type.
8298         (RUN_TEST_LOOP_fff_f): New macro.
8299         (fma_test_data): New variable.
8300         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8301         (fma_towardzero_test_data): New variable.
8302         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8303         (fma_downward_test_data): New variable.
8304         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8305         (fma_upward_test_data): New variable.
8306         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8308         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8309         (struct test_c_c_data): New type.
8310         (RUN_TEST_LOOP_c_c): New macro.
8311         (cacos_test_data): New variable.
8312         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8313         (cacosh_test_data): New variable.
8314         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8315         (casin_test_data): New variable.
8316         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8317         (casinh_test_data): New variable.
8318         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8319         (catan_test_data): New variable.
8320         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8321         (catanh_test_data): New variable.
8322         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8323         (ccos_test_data): New variable.
8324         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8325         (ccosh_test_data): New variable.
8326         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8327         (cexp_test_data): New variable.
8328         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8329         (clog_test_data): New variable.
8330         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8331         (clog10_test_data): New variable.
8332         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8333         (conj_test_data): New variable.
8334         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8335         (cproj_test_data): New variable.
8336         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8337         (csin_test_data): New variable.
8338         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8339         (csinh_test_data): New variable.
8340         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8341         (csqrt_test_data): New variable.
8342         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8343         (ctan_test_data): New variable.
8344         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8345         (ctan_tonearest_test_data): New variable.
8346         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8347         (ctan_towardzero_test_data): New variable.
8348         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8349         (ctan_downward_test_data): New variable.
8350         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8351         (ctan_upward_test_data): New variable.
8352         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8353         (ctanh_test_data): New variable.
8354         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8355         (ctanh_tonearest_test_data): New variable.
8356         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8357         (ctanh_towardzero_test_data): New variable.
8358         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8359         (ctanh_downward_test_data): New variable.
8360         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8361         (ctanh_upward_test_data): New variable.
8362         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8363         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8364         of BUILD_COMPLEX.
8366         * math/libm-test.inc (struct test_ff_f_data): New type.
8367         (struct test_ff_f_data_nexttoward): Likewise.
8368         (RUN_TEST_LOOP_2_f): New macro.
8369         (RUN_TEST_LOOP_ff_f): Likewise.
8370         (atan2_test_data): New variable.
8371         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8372         (copysign_test_data): New variable.
8373         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8374         (fdim_test_data): New variable.
8375         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8376         (fmax_test_data): New variable.
8377         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8378         (fmin_test_data): New variable.
8379         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8380         (fmod_test_data): New variable.
8381         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8382         (hypot_test_data): New variable.
8383         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8384         (nextafter_test_data): New variable.
8385         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8386         (nexttoward_test_data): New variable.
8387         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8388         (pow_test_data): New variable.
8389         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8390         (pow_tonearest_test_data): New variable.
8391         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8392         (pow_towardzero_test_data): New variable.
8393         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8394         (pow_downward_test_data): New variable.
8395         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8396         (pow_upward_test_data): New variable.
8397         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8398         (remainder_test_data): New variable.
8399         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8400         (scalb_test_data): New variable.
8401         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8402         * sysdeps/i386/fpu/libm-test-ulps: Update.
8404 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8406         * math/libm-test.inc (fma_test): Use max_value instead of local
8407         variable fltmax.
8408         (nextafter_test): Likewise.
8410         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8411         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8412         (acos_downward_test_data): New variable.
8413         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8414         (acos_upward_test_data): New variable.
8415         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8416         (acosh_test_data): New variable.
8417         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8418         (asin_test_data): New variable.
8419         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8420         (asin_tonearest_test_data): New variable.
8421         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8422         (asin_towardzero_test_data): New variable.
8423         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8424         (asin_downward_test_data): New variable.
8425         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8426         (asin_upward_test_data): New variable.
8427         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8428         (asinh_test_data): New variable.
8429         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8430         (atan_test_data): New variable.
8431         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8432         (atanh_test_data): New variable.
8433         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8434         (cbrt_test_data): New variable.
8435         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8436         (ceil_test_data): New variable.
8437         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8438         (cos_test_data): New variable.
8439         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8440         (cos_tonearest_test_data): New variable.
8441         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8442         (cos_towardzero_test_data): New variable.
8443         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8444         (cos_downward_test_data): New variable.
8445         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8446         (cos_upward_test_data): New variable.
8447         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8448         (cosh_test_data): New variable.
8449         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8450         (cosh_tonearest_test_data): New variable.
8451         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8452         (cosh_towardzero_test_data): New variable.
8453         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8454         (cosh_downward_test_data): New variable.
8455         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8456         (cosh_upward_test_data): New variable.
8457         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8458         (erf_test_data): New variable.
8459         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8460         (erfc_test_data): New variable.
8461         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8462         (exp_test_data): New variable.
8463         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8464         (exp_tonearest_test_data): New variable.
8465         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8466         (exp_towardzero_test_data): New variable.
8467         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8468         (exp_downward_test_data): New variable.
8469         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8470         (exp_upward_test_data): New variable.
8471         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8472         (exp10_test_data): New variable.
8473         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8474         (exp2_test_data): New variable.
8475         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8476         (expm1_test_data): New variable.
8477         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8478         (fabs_test_data): New variable.
8479         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8480         (floor_test_data): New variable.
8481         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8482         (j0_test_data): New variable.
8483         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8484         (j1_test_data): New variable.
8485         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8486         (log_test_data): New variable.
8487         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8488         (log10_test_data): New variable.
8489         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8490         (log1p_test_data): New variable.
8491         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8492         (log2_test_data): New variable.
8493         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8494         (logb_test_data): New variable.
8495         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8496         (logb_downward_test_data): New variable.
8497         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8498         (nearbyint_test_data): New variable.
8499         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8500         (rint_test_data): New variable.
8501         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8502         (rint_tonearest_test_data): New variable.
8503         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8504         (rint_towardzero_test_data): New variable.
8505         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8506         (rint_downward_test_data): New variable.
8507         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8508         (rint_upward_test_data): New variable.
8509         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8510         (round_test_data): New variable.
8511         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8512         (sin_test_data): New variable.
8513         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8514         (sin_tonearest_test_data): New variable.
8515         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8516         (sin_towardzero_test_data): New variable.
8517         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8518         (sin_downward_test_data): New variable.
8519         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8520         (sin_upward_test_data): New variable.
8521         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8522         (sinh_test_data): New variable.
8523         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8524         (sinh_tonearest_test_data): New variable.
8525         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8526         (sinh_towardzero_test_data): New variable.
8527         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8528         (sinh_downward_test_data): New variable.
8529         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8530         (sinh_upward_test_data): New variable.
8531         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8532         (sqrt_test_data): New variable.
8533         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8534         (tan_test_data): New variable.
8535         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8536         (tan_tonearest_test_data): New variable.
8537         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8538         (tan_towardzero_test_data): New variable.
8539         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8540         (tan_downward_test_data): New variable.
8541         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8542         (tan_upward_test_data): New variable.
8543         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8544         (tanh_test_data): New variable.
8545         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8546         (tgamma_test_data): New variable.
8547         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8548         (trunc_test_data): New variable.
8549         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8550         (y0_test_data): New variable.
8551         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8552         (y1_test_data): New variable.
8553         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8554         (significand_test_data): New variable.
8555         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8557 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8559         [BZ #12387]
8560         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8562 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8564         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8566 2013-05-10  Andreas Jaeger  <aj@suse.de>
8568         [BZ #15448]
8569         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8570         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8572 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8574         * math/gen-libm-test.pl (adjust_arg): New function.
8575         (special_functions): Handle generating output in both functions
8576         and arrays.
8577         (parse_args): Likewise.
8578         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8579         $in_func argument to parse_args.
8580         * math/libm-test.inc (struct test_f_f_data): New type.
8581         (IF_ROUND_INIT_): New macro.
8582         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8583         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8584         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8585         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8586         (ROUND_RESTORE_): Likewise.
8587         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8588         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8589         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8590         (ROUND_RESTORE_FE_UPWARD): Likewise.
8591         (RUN_TEST_LOOP_f_f): New macro.
8592         (acos_test_data): New variable.
8593         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8594         (acos_tonearest_test_data): New variable.
8595         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8597 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8599         * benchtests/bench-skeleton.c (startup): Fix coding style.
8601 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8603         [BZ #6809]
8604         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8605         negative infinity argument.
8606         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8607         negative infinity argument.
8608         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8609         negative infinity argument.
8610         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8611         domain errors.
8613 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8615         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8616         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8617         * iconv/iconv_prog.c (main): Likewise.
8618         * locale/programs/charmap-dir.c (charmap_readdir)
8619         (fopen_uncompressed): Likewise.
8620         * locale/programs/locfile.c (siblings_uncached)
8621         (write_locale_data): Use lstat64 instead of lstat.
8622         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8623         stat.
8625 2013-05-10  Andreas Jaeger  <aj@suse.de>
8627         [BZ #15395]
8628         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8629         localization.
8630         Include <locale.h>.
8632 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8634         * elf/dl-close.c (_dl_close_worker): Add comments.
8636 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #15359]
8639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8640         high part of pi/2.
8641         (__ieee754_rem_pio2l): Update comments.
8643         [BZ #15429]
8644         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8645         high part of pi/2.
8646         (__ieee754_rem_pio2l): Update comments.
8648         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8649         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8651         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8652         M_PI_4l.
8654         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8655         (M_PI_34_LOG10El): Likewise.
8656         (M_PI2_LOG10El): Likewise.
8657         (M_PI4_LOG10El): Likewise.
8658         (M_PI_LOG10El): Likewise.
8660 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8664 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8666         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8667         (MINUS_ZERO_INIT): Likewise.
8668         (PLUS_INFTY_INIT): Likewise.
8669         (MINUS_INFTY_INIT): Likewise.
8670         (QNAN_VALUE_INIT): Likewise.
8671         (MAX_VALUE_INIT): Likewise.
8672         (MIN_VALUE_INIT): Likewise.
8673         (MIN_SUBNORM_VALUE_INIT): Likewise.
8674         (plus_zero): Initialize with PLUS_ZERO_INIT.
8675         (minus_zero): Initialize with MINUS_ZERO_INIT.
8676         (plus_infty): Initialize with PLUS_INFTY_INIT.
8677         (minus_infty): Initialize with MINUS_INFTY_INIT.
8678         (qnan_value): Initialize with QNAN_VALUE_INIT.
8679         (max_value): Initialize with MAX_VALUE_INIT.
8680         (min_value): Initialize with MIN_VALUE_INIT.
8681         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8683         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8684         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8685         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8686         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8688         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8689         (RUN_TEST_2_f): Likewise.
8690         (RUN_TEST_ff_f): Likewise.
8691         (RUN_TEST_fi_f): Likewise.
8692         (RUN_TEST_fl_f): Likewise.
8693         (RUN_TEST_fff_f): Likewise.
8694         (RUN_TEST_c_f): Likewise.
8695         (RUN_TEST_f_f1): Likewise.
8696         (RUN_TEST_fF_f1): Likewise.
8697         (RUN_TEST_fI_f1): Likewise.
8698         (RUN_TEST_ffI_f1): Likewise.
8699         (RUN_TEST_c_c): Likewise.
8700         (RUN_TEST_cc_c): Likewise.
8701         (RUN_TEST_f_i): Likewise.
8702         (RUN_TEST_f_i_tg): Likewise.
8703         (RUN_TEST_ff_i_tg): Likewise.
8704         (RUN_TEST_f_b): Likewise.
8705         (RUN_TEST_f_b_tg): Likewise.
8706         (RUN_TEST_f_l): Likewise.
8707         (RUN_TEST_f_L): Likewise.
8708         (RUN_TEST_sincos): Likewise.
8709         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8710         whether to show exceptions.  Do not include ");\n" in return
8711         value.
8712         (special_functions): Output call to RUN_TEST_sincos instead of
8713         check_float calls.  Update calls to new_test.
8714         (parse_args): Output call to single RUN_TEST_* macro instead of
8715         check_* calls and other assignments.  Update calls to new_test.
8717         [BZ #2546]
8718         [BZ #2560]
8719         [BZ #5159]
8720         [BZ #15426]
8721         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8722         input to result for tgamma overflow.
8723         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8724         (gamma_coeff): New variable.
8725         (NCOEFF): New macro.
8726         (gamma_positive): New function.
8727         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8728         underflow here.  Use gamma_positive instead of exp (lgamma) for
8729         other arguments.
8730         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8731         (gamma_coeff): New variable.
8732         (NCOEFF): New macro.
8733         (gammaf_positive): New function.
8734         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8735         underflow here.  Use gamma_positive instead of exp (lgamma) for
8736         other arguments.
8737         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8738         (gamma_coeff): New variable.
8739         (NCOEFF): New macro.
8740         (gammal_positive): New function.
8741         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8742         underflow here.  Use gamma_positive instead of exp (lgamma) for
8743         other arguments.
8744         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8745         (gamma_coeff): New variable.
8746         (NCOEFF): New macro.
8747         (gammal_positive): New function.
8748         (__ieee754_gammal_r): Handle positive infinity, overflow and
8749         underflow here.  Handle NaN the same as positive infinity.  Remove
8750         check x < 0xffffffff for negative integers.  Use gamma_positive
8751         instead of exp (lgamma) for other arguments.
8752         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8753         (gamma_coeff): New variable.
8754         (NCOEFF): New macro.
8755         (gammal_positive): New function.
8756         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8757         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8758         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8760         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8761         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8762         * sysdeps/generic/math_private.h (__gamma_productf): New
8763         prototype.
8764         (__gamma_product): Likewise.
8765         (__gamma_productl): Likewise.
8766         * math/Makefile (libm-calls): Add gamma_product.
8767         * math/libm-test.inc (tgamma_test): Add more tests.
8768         * sysdeps/i386/fpu/libm-test-ulps: Update.
8769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8771 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8773         * benchtests/bench-skeleton.c (main): Preheat CPU.
8775 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8777         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8779 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8781         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8782         and _dl_skip_args_internal.
8784 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8786         * manual/message.texi (Message Translation): Talk about users.
8787         Message to key mapping impacts design.
8789 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8791         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8793         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8795         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8796         * sysdeps/wordsize-64/glob64.c: ... here.
8798         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8799         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8800         New macros.
8802         * debug/getlogin_r_chk.c: Moved to ...
8803         * login/getlogin_r_chk.c: ... here.
8804         * debug/Makefile (routines): Move getlogin_r_chk to ...
8805         * login/Makefile (routines): ... here.
8806         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8807         * login/Versions (libc: GLIBC_2.4): ... here.
8809         * io/poll.c (__poll): Renamed from poll.
8810         Add libc_hidden_def.
8811         (poll): Define as weak alias.
8813         * debug/ptsname_r_chk.c: Moved to ...
8814         * login/ptsname_r_chk.c: ... here.
8815         * debug/Makefile (routines): Move ptsname_r_chk to ...
8816         * login/Makefile (routines): ... here.
8817         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8818         * login/Versions (libc: GLIBC_2.4): ... here.
8820         * posix/getlogin.c: Moved to ...
8821         * login/getlogin.c: ... here.
8822         * posix/getlogin_r.c: Moved to ...
8823         * login/getlogin_r.c: ... here.
8824         * posix/getlogin_r.c: Moved to ...
8825         * login/getlogin_r.c: ... here.
8826         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8827         * login/Makefile (routines): ... here.
8828         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8829         * login/Versions (libc: GLIBC_2.0): ... here.
8831         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8832         (setrlimit): Define as weak alias.
8834         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8835         Call __ names for open, ftruncate, and close.
8836         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8837         (truncate): Define as weak alias.
8839 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8841         * math/gen-libm-test.pl (parse_args): Initialize x before each
8842         test of frexp, modf and remquo.
8844         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8845         test signgam value.
8847 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8849         [BZ #15418]
8850         [BZ #15419]
8851         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8852         internal tests.
8853         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8855 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8857         * elf/dl-writev.h: New file.
8858         * elf/dl-misc.c: Include it.
8859         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8860         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8862 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8864         * math/libm-test.inc (noXFails): Remove variable.
8865         (noXPasses): Likewise.
8866         (BUILD_COMPLEX_INT): Remove macro.
8867         (print_screen): Remove xfail argument.
8868         (print_screen_max_error): Likewise.
8869         (update_stats): Likewise.
8870         (print_max_error): Likewise.  Update calls to other affected
8871         functions.
8872         (print_complex_max_error): Likewise.
8873         (test_single_exception): Update calls to print_screen.
8874         (test_single_errno): Likewise.
8875         (check_float_internal): Remove xfail argument.  Update calls to
8876         other affected functions.
8877         (check_float): Likewise.
8878         (check_complex): Likewise.
8879         (check_int): Likewise.
8880         (check_long): Likewise.
8881         (check_bool): Likewise.
8882         (check_longlong): Likewise.
8883         (main): Don't print noXFails and noXPasses.
8884         * math/gen-libm-test.pl (top level): Don't mention expected
8885         failure handling in comment.
8886         (new_test): Don't handle expected failures.
8887         (parse_args): Don't mention expected failure handling in comment.
8888         (generate_testfile): Don't handle expected failures.
8889         (parse_ulps): Likewise.
8890         (print_ulps_file): Likewise.
8891         (get_failure): Remove function.
8892         (output_test): Don't handle expected failures.
8893         * make/README.libm-test: Don't mention expected failure handling.
8895         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8896         (minus_zero): Likewise.
8897         (plus_infty): Likewise.
8898         (minus_infty): Likewise.
8899         (qnan_value): Likewise.
8900         (max_value): Likewise.
8901         (min_value): Likewise.
8902         (min_subnorm_value): Likewise.
8903         (initialize): Do not initialize those variables dynamically.
8905 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8907         * io/open.c (__open_2): Moved to ...
8908         * io/open_2.c: ... this new file.
8909         * io/open64.c (__open64_2): Moved to ...
8910         * io/open64_2.c: ... this new file.
8911         * io/openat.c (__openat_2): Moved to ...
8912         * io/openat_2.c: ... this new file.
8913         * io/openat64.c (__openat64_2): Moved to ...
8914         * io/openat64_2.c: ... this new file.
8915         * io/Makefile (routines): Add them.
8916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8917         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8918         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8919         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8920         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8921         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8922         (__openat64): Add hidden_ver.
8923         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8924         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8926         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8927         Separately conditionalize setting of GLRO(dl_sysinfo) so
8928         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8929         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8931 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8933         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8934         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8935         definition.
8936         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8937         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8938         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8939         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8940         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8942 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8944         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8945         test signgam value.
8947         * math/libm-test.inc (hypot_test): Do not use
8948         IGNORE_ZERO_INF_SIGN.
8950 2013-05-03  Andreas Jaeger  <aj@suse.de>
8952         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8953         Linux 3.9.
8954         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8955         (PF_MAX): Adjust for VSOCK change.
8957 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8961 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8963         [BZ #15264]
8964         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8965         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8966         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8968 2013-05-02  David S. Miller  <davem@davemloft.net>
8970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8972 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8974         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8976 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8978         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8980 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8982         [BZ #14952]
8983         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8984         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8985         Use __attribute__ ((__gnu_inline__)).
8986         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8987         Don't use __attribute__ ((__gnu_inline__)).
8989 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8991         [BZ #15423]
8992         * math/s_catan.c (__catan): Handle small real or imaginary part of
8993         input specially to avoid spurious underflow.
8994         * math/s_catanf.c (__catanf): Likewise.
8995         * math/s_catanh.c (__catanh): Likewise.
8996         * math/s_catanhf.c (__catanhf): Likewise.
8997         * math/s_catanhl.c (__catanhl): Likewise.
8998         * math/s_catanl.c (__catanl): Likewise.
8999         * math/libm-test.inc (catan_test): Add more tests.
9000         (catanh_test): Likewise.
9001         * sysdeps/i386/fpu/libm-test-ulps: Update.
9002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9004 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9008 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9010         [BZ #15416]
9011         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9012         accurately for denominator in atan2.
9013         * math/s_catanf.c (__catanf): Likewise.
9014         * math/s_catanh.c (__catanh): Likewise.
9015         * math/s_catanhf.c (__catanhf): Likewise.
9016         * math/s_catanhl.c (__catanhl): Likewise.
9017         * math/s_catanl.c (__catanl): Likewise.
9018         * math/libm-test.inc (catan_test): Add more tests.
9019         (catanh_test): Likewise.
9020         * sysdeps/i386/fpu/libm-test-ulps: Update.
9021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9023 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9025         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9027         * benchtests/Makefile (bench): Remove slow benchmarks.
9028         * benchtests/atan-inputs: Add slow benchmark inputs.
9029         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9030         (BENCH_FUNC): Accept variant offset.
9031         (VARIANT): Define.
9032         * benchtests/bench-skeleton.c (main): Run benchmark for each
9033         variant.
9034         * benchtests/cos-inputs: Add slow benchmark inputs.
9035         * benchtests/exp-inputs: Likewise.
9036         * benchtests/pow-inputs: Likewise.
9037         * benchtests/sin-inputs: Likewise.
9038         * benchtests/slowatan-inputs: Remove.
9039         * benchtests/slowatan.c: Remove.
9040         * benchtests/slowcos-inputs: Remove.
9041         * benchtests/slowcos.c: Remove.
9042         * benchtests/slowexp-inputs: Remove.
9043         * benchtests/slowexp.c: Remove.
9044         * benchtests/slowpow-inputs: Remove.
9045         * benchtests/slowpow.c: Remove.
9046         * benchtests/slowsin-inputs: Remove.
9047         * benchtests/slowsin.c: Remove.
9048         * benchtests/slowtan-inputs: Remove.
9049         * benchtests/slowtan.c: Remove.
9050         * benchtests/tan-inputs: Add slow benchmark inputs.
9051         * scripts/bench.pl: Parse comments and directives.
9053         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9054         in CPPFLAGS.
9055         ($(objpfx)bench-%.c): Remove *-ITER.
9056         * benchtests/bench-modf.c: Remove definition of ITER.
9057         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9058         (main): Loop for DURATION seconds instead of fixed number of
9059         iterations.
9060         * scripts/bench.pl: Don't expect iterations in parameters.
9062 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9064         * io/fchdir.c (__fchdir): Renamed from fchdir.
9065         (fchdir): Define as weak alias.
9067 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9069         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9070         (ERRNO_EDOM): Likewise.
9071         (ERRNO_ERANGE): Likewise.
9072         (noErrnoTests): New variable.
9073         (init_max_error): Set errno to 0.
9074         (test_single_errno): New function.
9075         (test_errno): Likewise.
9076         (check_float_internal): Call test_errno.  Set errno to 0.
9077         (check_complex): Refer to errno tests in comment.
9078         (check_int): Call test_errno.  Set errno to 0.
9079         (check_long): Likewise.
9080         (check_bool): Likewise.
9081         (check_longlong): Likewise.
9082         (cos_test): Use ERRNO_* flags for errno tests instead of
9083         check_int.
9084         (expm1_test): Likewise.
9085         (fmod_test): Likewise.
9086         (ilogb_test): Likewise.
9087         (lgamma_test): Likewise.
9088         (pow_test): Likewise.
9089         (remainder_test): Likewise.
9090         (sin_test): Likewise.
9091         (tan_test): Likewise.
9092         (yn_test): Likewise.
9093         (initialize): Set errno to 0.
9094         (main): Print number of errno tests.
9095         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9097 2013-04-29  Andreas Jaeger  <aj@suse.de>
9099         [BZ #15084]
9100         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9101         and RES_USEVC.
9103         [BZ #15085]
9104         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9105         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9106         unimplemented.
9108         [BZ #15380]
9109         * stdlib/random.c (__initstate): Return NULL if
9110         __initstate fails.
9112         [BZ #15086]
9113         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9114         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9115         RES_SNGLKUPREOP.
9117 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9121 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9123         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9124         of individual tests.
9125         (casin_test): Likewise.
9126         (casinh_test): Likewise.
9128 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9130         [BZ #15409]
9131         * math/s_catan.c (__catan): Handle arguments with large real or
9132         imaginary part separately without squaring.
9133         * math/s_catanf.c (__catanf): Likewise.
9134         * math/s_catanh.c (__catanh): Likewise.
9135         * math/s_catanhf.c (__catanhf): Likewise.
9136         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9137         and redefine.
9138         (__catanhl): Handle arguments with large real or imaginary part
9139         separately without squaring.
9140         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9141         and redefine.
9142         (__catanl): Handle arguments with large real or imaginary part
9143         separately without squaring.
9144         * math/libm-test.inc (catan_test): Add more tests.
9145         (catanh_test): Likewise.
9146         * sysdeps/i386/fpu/libm-test-ulps: Update.
9147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149 2013-04-27  Andreas Jaeger  <aj@suse.de>
9151         [BZ #15007]
9152         * stdlib/stdlib.h: Update guards for qecvt.
9153         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9154         <stdlib.h>.
9156 2013-04-27  Allan McRae  <allan@archlinux.org>
9158         * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9162         [BZ #15406]
9163         * math/s_catan.c: Include <float.h>.
9164         (__catan): Ensure underflow exception occurs for underflowed
9165         result.
9166         * math/s_catanf.c: Include <float.h>.
9167         (__catanf): Ensure underflow exception occurs for underflowed
9168         result.
9169         * math/s_catanh.c: Include <float.h>.
9170         (__catanh): Ensure underflow exception occurs for underflowed
9171         result.
9172         * math/s_catanhf.c: Include <float.h>.
9173         (__catanhf): Ensure underflow exception occurs for underflowed
9174         result.
9175         * math/s_catanhl.c: Include <float.h>.
9176         (__catanhl): Ensure underflow exception occurs for underflowed
9177         result.
9178         * math/s_catanl.c: Include <float.h>.
9179         (__catanl): Ensure underflow exception occurs for underflowed
9180         result.
9181         * math/libm-test.inc (catan_test): Add more tests.
9182         (catanh_test): Likewise.
9184         [BZ #15405]
9185         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9186         underflowed result.
9187         * math/s_ccoshf.c (__ccoshf): Likewise.
9188         * math/s_ccoshl.c (__ccoshl): Likewise.
9189         * math/s_csin.c (__csin): Likewise.
9190         * math/s_csinf.c (__csinf): Likewise.
9191         * math/s_csinh.c (__csinh): Likewise.
9192         * math/s_csinhf.c (__csinhf): Likewise.
9193         * math/s_csinhl.c (__csinhl): Likewise.
9194         * math/s_csinl.c (__csinl): Likewise.
9195         * math/libm-test.inc (ccos_test): Add more tests.
9196         (ccosh_test): Likewise.
9197         (csin_test): Likewise.
9198         (csinh_test): Likewise.
9200 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9202         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9203         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9204         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9205         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9206         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9207         powerpc/power5+/fpu folders.
9208         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9211 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9215 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9217         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9218         additions to variable.
9219         [$(config-machine) = x86_64] (modules-names): Likewise.
9220         ($(objpfx)tst-audit3): Remove dependency.
9221         ($(objpfx)tst-audit3.out): Likewise.
9222         ($(objpfx)tst-audit4): Likewise.
9223         ($(objpfx)tst-audit4.out): Likewise.
9224         ($(objpfx)tst-audit5): Likewise.
9225         ($(objpfx)tst-audit5.out): Likewise.
9226         ($(objpfx)tst-audit6): Likewise.
9227         ($(objpfx)tst-audit6.out): Likewise.
9228         ($(objpfx)tst-audit7): Likewise.
9229         ($(objpfx)tst-audit7.out): Likewise.
9230         (tst-audit3-ENV): Remove variable.
9231         (tst-audit4-ENV): Likewise.
9232         (tst-audit5-ENV): Likewise.
9233         (tst-audit6-ENV): Likewise.
9234         (tst-audit7-ENV): Likewise.
9235         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9236         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9237         addition to variable.
9238         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9239         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9240         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9241         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9242         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9243         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9244         tst-audit3, tst-audit4 and tst-audit5.
9245         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9246         tst-audit6 and tst-audit7.
9247         [$(subdir) = elf] (modules-names): Add audit modules for those
9248         tests.
9249         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9250         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9251         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9252         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9253         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9254         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9255         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9256         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9257         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9258         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9259         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9260         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9261         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9262         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9263         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9264         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9265         Likewise.
9266         [$(subdir) = elf && $(config-cflags-avx) = yes]
9267         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9268         [$(subdir) = elf && $(config-cflags-avx) = yes]
9269         (CFLAGS-tst-auditmod4a.c): Likewise.
9270         [$(subdir) = elf && $(config-cflags-avx) = yes]
9271         (CFLAGS-tst-auditmod4b.c): Likewise.
9272         [$(subdir) = elf && $(config-cflags-avx) = yes]
9273         (CFLAGS-tst-auditmod6b.c): Likewise.
9274         [$(subdir) = elf && $(config-cflags-avx) = yes]
9275         (CFLAGS-tst-auditmod6c.c): Likewise.
9276         [$(subdir) = elf && $(config-cflags-avx) = yes]
9277         (CFLAGS-tst-auditmod7b.c): Likewise.
9278         * elf/tst-audit3.c: Move to ...
9279         * sysdeps/x86_64/tst-audit3.c: ... here.
9280         * elf/tst-audit4.c: Move to ...
9281         * sysdeps/x86_64/tst-audit4.c: ... here.
9282         * elf/tst-audit5.c: Move to ...
9283         * sysdeps/x86_64/tst-audit5.c: ... here.
9284         * elf/tst-audit6.c: Move to ...
9285         * sysdeps/x86_64/tst-audit6.c: ... here.
9286         * elf/tst-audit7.c: Move to ...
9287         * sysdeps/x86_64/tst-audit7.c: ... here.
9288         * elf/tst-auditmod3a.c: Move to ...
9289         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9290         * elf/tst-auditmod3b.c: Move to ...
9291         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9292         * elf/tst-auditmod4a.c: Move to ...
9293         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9294         * elf/tst-auditmod4b.c: Move to ...
9295         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9296         * elf/tst-auditmod5a.c: Move to ...
9297         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9298         * elf/tst-auditmod5b.c: Move to ...
9299         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9300         * elf/tst-auditmod6a.c: Move to ...
9301         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9302         * elf/tst-auditmod6b.c: Move to ...
9303         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9304         * elf/tst-auditmod6c.c: Move to ...
9305         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9306         * elf/tst-auditmod7a.c: Move to ...
9307         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9308         * elf/tst-auditmod7b.c: Move to ...
9309         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9311 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9313         [BZ #15366]
9314         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9315         define unconditionally.
9316         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9317         define unconditionally.
9318         (INT8_C, INT16_C, etc.): Likewise.
9320 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9322         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9323         __ehdr_start with hidden visibility.
9325         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9327 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9329         * math/libm-test.inc (cos_test): Use accurate hex constants.
9330         (sincost_test): Likewise.
9332 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9334         * math/libm-test.inc (catan_test): Add more tests.
9335         (catanh_test): Likewise.
9337         * math/s_catanf.c (__catanf): Use suffixed floating-point
9338         constants.
9339         * math/s_catanhf.c (__catanhf): Likewise.
9340         * math/s_catanhl.c (__catanhl): Likewise.
9341         * math/s_catanl.c (__catanl): Likewise.
9343         [BZ #15394]
9344         * math/s_catan.c (__catan): Calculate imaginary part of result
9345         with log1p not log unless computing log of number close to 0.
9346         * math/s_catanf.c (__catanf): Likewise.
9347         * math/s_catanl.c (__catanl): Likewise.
9348         * math/s_catanh.c (__catanh): Calculate real part of result with
9349         log1p not log unless computing log of number close to 0.
9350         * math/s_catanhf.c (__catanhf): Likewise.
9351         * math/s_catanhl.c (__catanhl): Likewise.
9352         * math/libm-test.inc (catan_test): Add more tests.
9353         (catanh_test): Likewise.
9354         * sysdeps/i386/fpu/libm-test-ulps: Update.
9355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9357 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9359         * benchtests/Makefile: Mention files in which fast and slow
9360         paths of math functions are implemented.
9362 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9364         * sysdeps/posix/timespec_get.c: New file.
9366 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9368         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9369         POWER.
9370         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9371         for POWER.
9372         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9373         powerpc/power5/fpu folders.
9374         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9375         * benchtests/Makefile: Add modf testcase.
9376         * benchtests/bench-modf.c: New file: Benchmark test for mo
9378 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9380         [BZ #14888]
9381         * time/Makefile (tests): Add tst-strptime-whitespace.
9382         * time/strptime_l.c (get_number): Use ISSPACE.
9383         (__strptime_internal): Likewise.
9384         * time/tst-strptime-whitespace.c: New test case.
9386 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9388         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9389         member.
9390         (_nss_files_init): Set it here.
9392 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9394         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9395         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9396         unsigned.
9398 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9400         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9402 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9405         size just once.
9407 2013-04-21  David S. Miller  <davem@davemloft.net>
9409         * po/ru.po: Update Russion translation from translation project.
9411 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9413         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9414         and setfsgid.
9416 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9418         * configure.in: Remove i386 configure warning. Remove i386 case.
9419         * configure: Regenerate.
9420         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9421         Add example to error message.
9422         * sysdeps/i386/configure: Regenerate.
9424 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9426         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9427         slowtan.
9428         * benchtests/cos-inputs: New file.
9429         * benchtests/slowcos-inputs: New file.
9430         * benchtests/slowcos.c: New file.
9431         * benchtests/slowtan-inputs: New file.
9432         * benchtests/slowtan.c: New file.
9433         * benchtests/tan-inputs: New file.
9435 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9437         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9438         considered kosher.
9440 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9442         * benchtests/Makefile: Include cppflags-iterator.mk to add
9443         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9445         * Makefile.in (bench-clean): New target.
9446         * benchtests/Makefile (bench-clean): Likewise.
9448 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9450         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9452 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9454         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9456 2013-04-15  Andreas Schwab  <schwab@suse.de>
9458         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9459         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9460         * nscd/pwdcache.c (cache_addpw): Likewise.
9461         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9462         more than recsize.
9464 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9466         * benchtests/Makefile (bench): Write all output to
9467         bench-out.tmp together.
9469 2013-04-15  Andreas Schwab  <schwab@suse.de>
9471         * nscd/nscd.c (main): Don't fork again after closing files.
9473 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9475         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9477         * benchtests/Rules (bench-deps): Collect dependencies into a
9478         single variable.  Add Makefile to dependencies.
9479         ($(objpfx)bench-%.c): Depend on bench-deps.
9481 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9482             Xavier Roche  <roche+kml2@exalead.com>
9484         [BZ #15361]
9485         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9486         just that it's a file descriptor.
9487         * manual/llio.texi (Synchronizing AIO Operations): Update description
9488         for EBADF error from aio_fsync.
9490 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492         * Rules (bench): Move target definition...
9493         * benchtests/Makefile: ... here.
9495 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9497         * math/libm-test.inc (cos_test): Fix PI/2 test.
9498         (sincos_test): Likewise.
9499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9500         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9502 2013-04-11  Andreas Schwab  <schwab@suse.de>
9504         [BZ #13988]
9505         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9506         accept exponent character only when digits were seen.
9507         * stdio-common/Makefile (tests): Add bug26.
9508         * stdio-common/bug26.c: New file.
9510         [BZ #14293]
9511         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9512         non-freeable.
9514 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9516         * Makeconfig (rtld-prefix): Define built linker prefix.
9517         * Rules (run-bench): Use it.
9518         * math/Makefile (run-regen-ulps): Likewise.
9520         * Rules (bench): Remove eval.
9522 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9523             Roland McGrath  <roland@hack.frob.com>
9524             Ondrej Bilka  <neleai@seznam.cz>
9526         [BZ #15346]
9527         * time/getdate.c: Include ctype.h and alloca.h.
9528         (__getdate_r): Trim leading and trailing spaces of input.
9529         * time/tst-getdate.c (tests): Add tests with leading and
9530         trailing spaces.
9532 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9534         [BZ #14280]
9535         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9536         when computing value.
9538 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9540         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9541         Use testrun.sh to run libm tests.
9543         [BZ #15309]
9544         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9546 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9548         [BZ #15264]
9549         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9551 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9553         * Makefile.in (regen-ulps): New target.
9554         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9555         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9556         [ifneq (no,$(PERL)] (regen-ulps): New target.
9557         [ifeq (no,$(PERL)] (regen-ulps): New target.
9558         * math/libm-test.inc (ulps_file_name): Define.
9559         (output_dir): New variable.
9560         (options): Add "output-dir" option.
9561         (parse_opt): Handle 'o' case.
9562         (main): If output_dir is non-NULL use it as a prefix
9563         otherwise use "".
9564         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9568         [BZ #10060, #10062]
9569         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9570         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9571         fail configure if __sync_val_compare_and_swap is not inlined.
9572         * sysdeps/i386/configure: Regenerate.
9573         * configure.in: Build for i686 when configured for i386.
9574         * configure: Regenerate.
9575         * README: Remove i386 reference.
9577 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9579         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9582 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9584         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9585         (lmsnanval): New variables.
9586         (F): Add conversion tests.
9587         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9588         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9590         * stdio-common/tstdiomisc.c (F): Properly collect individual
9591         tests' results.
9593         [BZ #14686, #15336]
9594         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9595         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9596         Instead, use input NaN values or generate a qNaN by arithmetic
9597         operation.  Also fix bugs to comply with the standard.
9598         * math/libm-test.inc (remainder_test): Add more tests.
9600         [BZ #15335, #15342]
9601         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9603         input NaN values or generate a qNaN by arithmetic operation.
9605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9606         unreachable code.
9608         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9609         definitions.
9611 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #14478]
9614         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9615         underflowed result.
9616         * math/s_cexpf.c (__cexpf): Likewise.
9617         * math/s_cexpl.c (__cexpl): Likewise.
9618         * math/libm-test.inc (cexp_test): Add more tests.
9620 2013-04-03  Andreas Schwab  <schwab@suse.de>
9622         [BZ #15330]
9623         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9624         order arrays from heap if bigger than alloca cutoff.
9626 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9628         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9629         (SNAN_TESTS_double): Refer to GCC PR56831.
9630         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9631         GCC PR56828.
9633 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9635         * Rules (bench): Move bench.out after the run is complete.
9637         * Rules (bench): Echo currently running benchmark.
9639         * benchtests/Makefile (bench): Add atan and slowatan.
9640         * benchtests/atan-inputs: New file.
9641         * benchtests/slowatan-inputs: New file.
9642         * benchtests/slowatan.c: New file.
9644         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9646         its value.
9648         [BZ #15305]
9649         * sysdeps/unix/sysv/linux/kernel-features.h
9650         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9651         __ASSUME_XFS_RESTRICTED_CHOWN.
9652         * sysdeps/unix/sysv/linux/pathconf.c
9653         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9654         Save and restore errno.
9656 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9658         [BZ #15327]
9659         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9660         arguments using __kernel_casinh.
9661         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9662         arguments using __kernel_casinhf.
9663         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9664         arguments using __kernel_casinhl.
9665         * math/libm-test.inc (cacosh_test): Add more tests.
9666         * sysdeps/i386/fpu/libm-test-ulps: Update.
9667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9671         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9674         * bench/Makefile (bench): Add sin and slowsin.
9675         * benchtests/sin-inputs: New file.
9676         * benchtests/slowsin-inputs: New file.
9677         * benchtests/slowsin.c: New file.
9679         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9680         (bench): Add slowexp and slowpow.
9681         (exp-ITER): Increase iterations.
9682         (pow-ITER): Likewise.
9683         * benchtests/exp-inputs: Change input.
9684         * benchtests/pow-inputs: Likewise.
9685         * benchtests/slowexp-inputs: New file.
9686         * benchtests/slowexp.c: New file.
9687         * benchtests/slowpow-inputs: New file.
9688         * benchtests/slowpow.c: New file.
9690 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9692         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9693         instructions.
9694         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9695         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9696         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9697         * benchtests/Makefile: Add rint benchtest.
9698         * benchtests/rint-inputs: Input for rint benchtest.
9700 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9702         * Versions.def (libm): Add GLIBC_2.18.
9703         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9704         hidden libm prototypes.
9705         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9706         * math/Makefile (libm-calls): Add s_issignaling.
9707         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9708         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9709         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9710         declaration.
9711         * math/math.h [__USE_GNU] (issignaling): New macro.
9712         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9713         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9714         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9715         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9718         * manual/arith.texi (issignaling): New section.
9719         * manual/libm-err-tab.pl (@all_functions): Update comment.
9720         * math/gen-libm-test.pl (parse_args): Apply special handling for
9721         issignaling.
9722         * math/libm-test.inc (print_float, issignaling_test): New
9723         functions.
9724         (check_float_internal): Add issignaling checks.
9725         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9726         default definition.
9727         * sysdeps/powerpc/math-tests.h: New file.
9728         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9729         tests.
9730         * math/test-snan.c (TEST_FUNC): Likewise.
9732 2013-03-30  David S. Miller  <davem@davemloft.net>
9734         * po/de.po: Update from translation team.
9736 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9738         [BZ #10357]
9739         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9740         imaginary part less than 1.0 and real part less than 0.5
9741         specially.
9742         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9743         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9744         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9745         (cacos_test): Add more tests.
9746         (casin_test): Likewise.
9747         (casinh_test): Likewise.
9748         * sysdeps/i386/fpu/libm-test-ulps: Update.
9749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9751 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9753         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9754         ONE with its value.
9756         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9757         (__pow_mp): Replace ONE and MONE with their values.
9758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9759         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9761         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9762         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9763         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9765         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9767         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9768         (__pow_mp): Replace ZERO and MZERO with their values.
9769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9771         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9773         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9774         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9775         (__sqr): Likewise.
9777         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9779         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9781 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9783         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9784         Declare with __attribute__ ((weak)).
9785         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9786         Call __call_tls_dtors only if it's not NULL.
9788 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9790         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9791         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9792         magic __ehdr_start linker symbol if it's defined.
9793         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9794         them up here if it was already done.
9796         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9797         (_dl_aux_init): Use const in cast when setting it.
9798         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9799         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9800         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9802         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9803         Declare them here.
9804         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9805         * csu/libc-tls.c: Nor here.
9806         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9808         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9809         (__libc_message): Never call vsyslog.
9811 2013-03-28  Alan Modra  <amodra@gmail.com>
9813         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9814         Define as empty.
9815         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9816         Likewise.
9818 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9820         [BZ #15214]
9821         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9822         underflow.
9823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9825 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9827         [BZ #15304]
9828         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9829         Don't add gid passed as argument.
9831         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9833 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9835         [BZ #15307]
9836         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9837         imaginary part between 1.0 and 1.5 and real part less than 0.5
9838         specially.
9839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9841         * math/libm-test.inc (cacos_test): Add more tests.
9842         (casin_test): Likewise.
9843         (casinh_test): Likewise.
9844         * sysdeps/i386/fpu/libm-test-ulps: Update.
9845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9847 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9849         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9850         constants.
9851         (norm): Likewise.
9852         (denorm): Likewise.
9853         (__dbl_mp): Likewise.
9854         (add_magnitudes): Likewise.
9855         (sub_magnitudes): Likewise.
9856         (__add): Likewise.
9857         (__sub): Likewise.
9858         (__mul): Likewise.
9859         (__sqr): Likewise.
9860         (__inv): Likewise.
9861         (__dvd): Likewise.
9863         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9864         commented code.
9865         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9866         (__dubcos): Likewise.
9867         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9868         (__ieee754_acos): Likewise.
9869         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9870         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9871         (__exp1): Likewise.
9872         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9874         (log1): Likewise.
9875         (my_log2): Likewise.
9876         (checkint): Likewise.
9877         * sysdeps/ieee754/dbl-64/e_remainder.c
9878         (__ieee754_remainder): Likewise.
9879         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9881         (bsloww): Likewise.
9882         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9884         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9885         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9886         MANTISSA_STORE_T to store computations on mantissa.  Use
9887         macros for rounding and division.
9888         (denorm): Likewise.
9889         (__dbl_mp): Likewise.
9890         (add_magnitudes): Likewise.
9891         (sub_magnitudes): Likewise.
9892         (__mul): Likewise.
9893         (__sqr): Likewise.
9894         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9895         powers of two in terms of TWOPOW macro.
9896         (mp_no): Make type of mantissa as MANTISSA_T.
9897         [!RADIXI]: Define RADIXI.
9898         [!TWO52]: Define TWO52.
9899         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9901 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9903         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9904         llroundl symbol when building for PPC32.
9906 2013-03-24  Mark H Weaver  <mhw@netris.org>
9908         * manual/arith.texi (Normalization Functions): Fix prototypes for
9909         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9911 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9913         [BZ #13889]
9914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9915         high value to check if expl overflow.
9916         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9917         to check for underflow and overflow.
9918         * math/libm-test.inc: Add exp test.
9920 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9922         [BZ #11120]
9923         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9924         with NOT_IN_libc.
9926 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9928         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9929         symbol.
9931 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9933         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9934         wrap blocks consisting of several statements.
9936         * sysdeps/generic/math-tests.h: New file.
9937         * sysdeps/i386/fpu/math-tests.h: Likewise.
9938         * math/test-snan.c: Include it.
9939         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9941 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9943         [BZ #15285]
9944         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9945         (__ieee754_j0l): Do not improve calculations using cos of twice
9946         input for inputs above LDBL_MAX / 2.0L.
9947         (__ieee754_y0l): Likewise.
9948         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9949         (__ieee754_j1l): Do not improve calculations using cos of twice
9950         input for inputs above LDBL_MAX / 2.0L.
9951         (__ieee754_y1l): Likewise.
9952         * math/libm-test.inc (j0_test): Add another test.
9953         (j1_test): Likewise.
9954         (y0_test): Likewise.
9955         (y1_test): Likewise.
9956         * sysdeps/i386/fpu/libm-test-ulps: Update.
9958 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9960         * Rules ($(objpfx)bench-%.c): Include code from a C source
9961         file.
9963 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9965         [BZ #15287]
9966         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9967         imaginary part 1.0 and real part less than 0.5 specially.
9968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9970         * math/libm-test.inc (cacos_test): Add more tests.
9971         (casin_test): Likewise.
9972         (casinh_test): Likewise.
9973         * sysdeps/i386/fpu/libm-test-ulps: Update.
9974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9976 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9978         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9979         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9981 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9983         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9984         * config.make.in (config-cflags-sse4): Remove variable.
9985         (config-cflags-avx): Likewise.
9986         (config-cflags-sse2avx): Likewise.
9987         (config-cflags-novzeroupper): Likewise.
9988         (config-asflags-i686): Likewise.
9989         (have-mfma4): Likewise.
9990         (have-as-vis3): Likewise.
9991         (MIG): Likewise.
9992         * configure.in (MIG): Do not AC_SUBST.
9993         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9994         (libc_cv_cc_sse4): Do not AC_SUBST.
9995         (libc_cv_cc_avx): Likewise.
9996         (libc_cv_cc_sse2avx): Likewise.
9997         (libc_cv_cc_novzeroupper): Likewise.
9998         (libc_cv_cc_fma4): Likewise.
9999         (libc_cv_as_i686): Likewise.
10000         (libc_cv_sparc_as_vis3): Likewise.
10001         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10002         LIBC_CONFIG_VAR.
10003         (config-asflags-i686): Likewise.
10004         (config-cflags-avx): Likewise.
10005         (config-cflags-sse2avx): Likewise.
10006         (have-mfma4): Likewise.
10007         (config-cflags-novzeroupper): Likewise.
10008         * sysdeps/mach/configure.in (MIG): Likewise.
10009         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10010         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10011         LIBC_CONFIG_VAR.
10012         (config-cflags-avx): Likewise.
10013         (config-cflags-sse2avx): Likewise.
10014         (have-mfma4): Likewise.
10015         (config-cflags-novzeroupper): Likewise.
10016         * configure: Regenerated.
10017         * sysdeps/i386/configure: Likewise.
10018         * sysdeps/mach/configure: Likewise.
10019         * sysdeps/sparc/configure: Likewise.
10020         * sysdeps/x86_64/configure: Likewise.
10022 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10024         [BZ #14812]
10025         * locale/programs/localedef.c (options): Put N_ translation marker
10026         on argument names, not just descriptions.
10028 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10030         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10032 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10034         [BZ #14176]
10035         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10037 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10039         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10040         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10041         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10042         [!BEFORE_ABORT] (before_abort): New function.
10043         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10044         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10045         (writev_for_fatal): New function.
10046         (WRITEV_FOR_FATAL): New macro; call that.
10047         (backtrace_and_maps): New function.
10048         (BEFORE_ABORT): New macro; call that.
10049         (struct str_list): Type removed.
10050         (__libc_message, __libc_fatal): Functions removed.
10051         Include <sysdeps/posix/libc_fatal.c> instead.
10053 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10055         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10056         constants.
10057         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10058         double constants.
10060 2013-03-19  Andreas Schwab  <schwab@suse.de>
10062         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10063         * sysdeps/gnu/configure: Regenerate.
10065         * configure.in: Substitute libc_cv_rtlddir.
10066         * configure: Regenerate.
10067         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10068         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10069         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10070         * elf/Makefile (install-others, CFLAGS-interp.c)
10071         (ldso_install, common-ldd-rewrite): Likewise.
10072         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10073         $(inst_slibdir)/$(rtld-installed-name).
10074         * scripts/rellns-sh: Add -p option.
10075         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10076         for source.
10078 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10080         * manual/nptl.texi: Renamed to ...
10081         * manual/threads.texi: ... this.
10082         * manual/Makefile (chapters): Update.
10084 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10086         [BZ #14812]
10087         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10088         on argument names, not just descriptions.
10089         * malloc/memusagestat.c (options): Likewise.
10090         * nss/getent.c (options): Likewise.
10092 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10094         [BZ #14812]
10095         * iconv/iconv_prog.c (options): Put N_ translation marker
10096         on argument names, not just descriptions.
10097         * iconv/iconvconfig.c (options): Likewise.
10099 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10101         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10102         implementation which is faster on all x86_64 architectures.
10103         Tested on AMD, Intel Nehalem, SNB, IVB.
10104         * sysdeps/x86_64/strnlen.S: Likewise.
10106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10107         Remove all multiarch strlen and strnlen versions.
10108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10109         Remove strlen and strnlen related parts.
10111         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10112         Inline strlen part.
10113         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10115         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10116         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10117         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10118         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10119         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10120         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10122 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10124         * manual/memory.texi (Malloc Tunable Parameters):
10125         Sort parameters alphabetically. Add comments for missing entries.
10127 2013-03-17  David S. Miller  <davem@davemloft.net>
10129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10131 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10133         [BZ #15283]
10134         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10135         for arguments at most half maximum finite value.
10136         * math/libm-test.inc (j0_test): Add more tests.
10137         (j1_test): Likewise.
10138         (y0_test): Likewise.
10139         (y1_test): Likewise.
10140         * sysdeps/i386/fpu/libm-test-ulps: Update.
10141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10143         [BZ #14155]
10144         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10145         1 / x and functions P and Q for arguments above 0x1p256L.
10146         (__ieee754_y0l): Likewise.
10147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10148         (__ieee754_y1l): Likewise.
10149         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10150         (j1_test): Likewise.
10151         (y0_test): Likewise.
10152         (y1_test): Likewise.
10154 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10156         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10157         variable.
10159 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10161         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10162         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10163         zero since it's initialized to EXEC_PAGESIZE.
10165         * sysdeps/unix/sysv/linux/ldsodefs.h
10166         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10167         * sysdeps/generic/ldsodefs.h: ... here.
10169 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10171         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10173         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10174         math/test-snan.c.
10175         * math/test-snan.c: Renamed from
10176         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10177         * math/Makefile (tests): Add test-snan.
10178         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10179         test-powerpc-snan.
10181         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10182         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10183         functions.
10184         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10185         __builtin_nan family of functions.
10186         * math/libm-test.inc (initialize): Initialize qnan_value with
10187         __builtin_nan family of functions.
10188         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10189         Remove variables.
10190         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10191         Remove functions.
10192         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10193         storage class.  Initialize qNaN_var and sNaN_var with
10194         __builtin_nan and __builtin_nans families of functions,
10195         respectively.
10197         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10198         (sqrt_test): Remove duplicate test with qNaN input.
10199         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10200         (round_test, signbit_test, significand_test): Note missing +/-Inf
10201         as well as qNaN tests.
10203         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10204         qNaN_var.  Fix a few strings, too.
10205         * math/libm-test.inc (nan_value): Rename to qnan_value.
10206         * math/gen-libm-test.pl (%beautify): Adjust to that.
10207         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10208         * math/test-misc.c (main): Likewise.
10209         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10210         to __qnan_bytes, and __qnan_union, respectively.
10211         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10212         Likewise.
10213         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10214         and lqnanval, respectively.
10215         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10216         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10217         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10218         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10220         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10221         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10222         doubles.
10224         * math/test-misc.c (main): Fix copy'n'pastos.
10225         * misc/tst-efgcvt.c (special): Likewise.
10227         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10228         Remove declarations.
10230 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10232         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10233         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10234         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10235         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10237 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10240         macro to return vdso values correctly in IFUNC implementations.
10241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10242         Optimization by using IFUNC.
10244 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10245             Richard Henderson  <rth@redhat.com>
10246             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10248         * Makefile.in (bench): New target.
10249         * NEWS: Mention the benchmark framework.
10250         * Rules (bench): Likewise.
10251         (binaries-bench): Generate binaries for functions to
10252         benchmark.
10253         * benchtests/Makefile: New makefile for benchmark tests.
10254         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10255         programs.
10256         * benchtests/exp-inputs: New input file for EXP function.
10257         * benchtests/pow-inputs: New input file for POW function.
10258         * scripts/bench.pl: New script to generate source files for
10259         benchmark programs.
10261 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10263         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10264         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10265         computations on mantissa.  Use macros for rounding and
10266         division.
10267         (denorm): Likewise.
10268         (__dbl_mp): Likewise.
10269         (add_magnitudes): Likewise.
10270         (sub_magnitudes): Likewise.
10271         (__mul): Likewise.
10272         (__sqr): Likewise.
10273         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10274         powers of two in terms of TWOPOW macro.
10275         (mp_no): Make type of mantissa as MANTISSA_T.
10276         [!RADIXI]: Define RADIXI.
10277         [!TWO52]: Define TWO52.
10278         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10280         * manual/nptl.texi (cindex): Modify threads to pthreads.
10282 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10284         * sysdeps/x86_64/preconfigure: Regenerated.
10286 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #14155]
10289         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10290         0x1p28 and above.
10291         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10292         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10293         0x1p28 and above.
10294         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10295         * math/libm-test.inc (j0_test): Do not allow one spurious
10296         underflow exception.
10297         (y1_test): Likewise.
10299 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10301         * manual/Makefile (chapters): Add nptl.
10302         * manual/debug.texi (Debugging Support): Add link to Threads
10303         chapter.
10304         * manual/nptl.texi: New file.
10306         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10308 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10310         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10311         for non-NULL pointer before the memory validity test. Pointed
10312         out by Holger Brunck <holger.brunck@keymile.com>.
10314 2013-03-13  Andreas Schwab  <schwab@suse.de>
10316         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10317         instead of .os.
10319 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10321         * timezone/zic.c: Update from tzcode 2013b.
10323 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10325         * manual/install.texi (Configuring and compiling):
10326         Mention i686 and i586.
10327         * INSTALL: Regenerate.
10329 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10331         * sysdeps/init_array/elf-init.c: New file.
10332         * csu/elf-init.c
10333         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10334         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10336         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10337         __gmon_start__ as global, but as static with a .preinit_array pointer.
10338         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10339         * sysdeps/init_array/crti.S: New file, empty except for comments.
10340         * sysdeps/init_array/crtn.S: Likewise.
10342 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10344         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10345         definining bcopy.
10346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10347         Remove Prefer_SSE_for_memop.
10348         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10349         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10350         HAS_PREFER_SSE_FOR_MEMOP.
10351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10352         memset-x86-64.
10353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10354         Remove bzero, memset ifunc support.
10355         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10356         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10357         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10358         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10360 2013-03-11  Andreas Schwab  <schwab@suse.de>
10362         [BZ #15234]
10363         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10364         by SHLIB_COMPAT.
10365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10366         (GLIBC_2.16): Remove pthread_atfork.
10368 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10370         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10371         (ptestcases.h): Likewise.
10373 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10375         * Makeconfig ($(common-objpfx)config.status): Depend on
10376         sysdeps/*/preconfigure{,.in} too.
10378 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10380         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10381         (__free_hook): Use void * instead of __malloc_ptr_t.
10382         (__malloc_hook): Likewise.
10383         (__realloc_hook): Likewise.
10384         (__memalign_hook): Likewise.
10385         (__after_morecore_hook): Likewise.
10386         * malloc/arena.c (save_malloc_hook): Likewise.
10387         (save_free_hook): Likewise.
10388         * malloc/hooks.c (malloc_hook_ini): Likewise.
10389         (realloc_hook_ini): Likewise.
10390         (memalign_hook_ini): Likewise.
10391         * malloc/malloc.c (malloc_hook_ini): Likewise.
10392         (realloc_hook_ini): Likewise.
10393         (memalign_hook_ini): Likewise.
10394         (__free_hook): Likewise.
10395         (__malloc_hook): Likewise.
10396         (__realloc_hook): Likewise.
10397         (__memalign_hook): Likewise.
10398         (__libc_malloc): Likewise.
10399         (__libc_free): Likewise.
10400         (__libc_realloc): Likewise.
10401         (__libc_memalign): Likewise.
10402         (__libc_valloc): Likewise.
10403         (__libc_pvalloc): Likewise.
10404         (__libc_calloc): Likewise.
10405         (__posix_memalign): Likewise.
10406         * malloc/morecore.c (__sbrk): Likewise.
10407         (__default_morecore): Likewise.
10409         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10411         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10412         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10413         __malloc_ptrdiff_t.
10415         * malloc/malloc.h (__malloc_size_t): Remove macro.
10416         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10417         __malloc_size_t.
10418         (old_memalign_hook): Likewise.
10419         (old_realloc_hook): Likewise.
10420         (struct hdr): Likewise.
10421         (flood): Likewise.
10422         (mallochook): Likewise.
10423         (memalignhook): Likewise.
10424         (reallochook): Likewise.
10425         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10426         (tr_old_realloc_hook): Likewise.
10427         (tr_old_memalign_hook): Likewise.
10428         (tr_mallochook): Likewise.
10429         (tr_reallochook): Likewise.
10430         (tr_memalignhook): Likewise.
10432 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10434         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10435         default_ldbl_pack and using as default implementation.
10436         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10437         implementation.
10438         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10439         redundant definition.
10440         (ldbl_insert_mantissa): Likewise.
10441         (ldbl_canonicalize): Likewise.
10442         (ldbl_nearbyint): Likewise.
10443         (ldbl_pack): Rename to ldbl_pack_ppc.
10444         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10445         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10446         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10448 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10451         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10452         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10453         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10455         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10456         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10457         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10459 2013-03-07  Andreas Jaeger  <aj@suse.de>
10461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10462         bits/mman-linux.h.
10464 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10466         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10467         Include mpa.h and declare __MPEXP.
10468         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10469         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10470         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10471         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10472         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10473         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10474         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10476         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10477         (__slowpow): Use long double EXPL and LOGL functions to
10478         compute POW.
10479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10480         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10481         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10483         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10484         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10487         intermediate variable to calculate exponent.
10488         (__sqr): Likewise.
10489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10490         Likewise.
10491         (__sqr): Likewise.
10493         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10494         [!NO__SQR]: Define __sqr.
10495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10496         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10497         sysdeps/ieee754/dbl-64/mpa.c.
10498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10500         [BZ #12723]
10501         * posix/Makefile (tests): Add tst-pathconf.
10502         * posix/tst-pathconf.c: New test case.
10503         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10504         _PC_PIPE_BUF.
10505         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10507 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10509         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10511 2013-03-06  Andreas Jaeger  <aj@suse.de>
10513         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10514         definition via __MAP_ANONYMOUS.
10516         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10517         it's not part of Linux headers.
10519         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10520         (MAP_HUGE_MASK): Define.
10522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10523         Define.
10524         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10526         Define.
10527         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10528         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10529         Define.
10530         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10532         Define.
10533         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10535         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10536         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10537         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10538         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10539         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10540         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10543         Handle f2fs.
10545         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10546         Handle f2fs and efivarfs.
10548         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10549         f2fs.
10551         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10552         (EFIVARFS_MAGIC): Add.
10553         (F2FS_LINK_MAX): Add.
10555 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10557         * stdio-common/vfprintf.c: Replace __builtin_expect with
10558         __glibc_unlikely.
10560 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10562         [BZ #13550]
10563         * sysdeps/generic/bp-sym.h: Remove file.
10564         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10565         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10566         <bp-sym.h> and <bp-asm.h>.
10567         (__longjmp): Don't use BP_SYM.
10568         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10569         and <bp-asm.h>.
10570         (memcpy): Don't use BP_SYM.
10571         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10572         <bp-sym.h> and <bp-asm.h>.
10573         (memcpy): Don't use BP_SYM.
10574         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10575         <bp-asm.h>.
10576         (memcpy): Don't use BP_SYM.
10577         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10578         <bp-asm.h>.
10579         (memset): Don't use BP_SYM.
10580         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10581         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10582         (__bzero): Don't use BP_SYM.
10583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10585         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10586         <bp-sym.h> and <bp-asm.h>.
10587         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10588         pointers.
10589         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10590         <bp-sym.h> and <bp-asm.h>.
10591         (memcpy): Don't use BP_SYM.
10592         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10593         <bp-sym.h> and <bp-asm.h>.
10594         (memset): Don't use BP_SYM.
10595         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10596         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10597         (__bzero): Don't use BP_SYM.
10598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10601         <bp-sym.h> and <bp-asm.h>.
10602         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10603         pointers.
10604         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10605         <bp-sym.h> and <bp-asm.h>.
10606         (memcpy): Don't use BP_SYM.
10607         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10608         <bp-sym.h> and <bp-asm.h>.
10609         (memset): Don't use BP_SYM.
10610         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10611         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10612         (__bzero): Don't use BP_SYM.
10613         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10614         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10615         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10616         <bp-sym.h> and <bp-asm.h>.
10617         (__memchr): Don't use BP_SYM.
10618         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10619         <bp-sym.h> and <bp-asm.h>.
10620         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10621         pointers.
10622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10623         <bp-sym.h> and <bp-asm.h>.
10624         (memcpy): Don't use BP_SYM.
10625         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10626         <bp-sym.h> and <bp-asm.h>.
10627         (__mempcpy): Don't use BP_SYM.
10628         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10629         <bp-sym.h> and <bp-asm.h>.
10630         (__memrchr): Don't use BP_SYM.
10631         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10632         <bp-sym.h> and <bp-asm.h>.
10633         (memset): Don't use BP_SYM.
10634         (__bzero): Likewise.
10635         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10636         <bp-sym.h> and <bp-asm.h>.
10637         (__rawmemchr): Don't use BP_SYM.
10638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10639         <bp-sym.h> and <bp-asm.h>.
10640         (__STRCMP): Don't use BP_SYM.
10641         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10642         <bp-sym.h> and <bp-asm.h>.
10643         (strchr): Don't use BP_SYM.
10644         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10645         <bp-sym.h> and <bp-asm.h>.
10646         (__strchrnul): Don't use BP_SYM.
10647         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10648         <bp-sym.h> and <bp-asm.h>.
10649         (strlen): Don't use BP_SYM.
10650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10651         <bp-sym.h> and <bp-asm.h>.
10652         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10653         pointers.
10654         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10655         <bp-sym.h> and <bp-asm.h>.
10656         (__strnlen): Don't use BP_SYM.
10657         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10658         <bp-sym.h> and <bp-asm.h>.
10659         (__GI__setjmp): Don't use BP_SYM.
10660         (_setjmp): Likewise.
10661         (__sigsetjmp): Likewise.
10662         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10663         (L(start_addresses)): Don't use BP_SYM.
10664         (_start): Likewise.
10665         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10666         <bp-asm.h>.
10667         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10668         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10669         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10670         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10671         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10672         <bp-asm.h>.
10673         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10674         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10675         about bounded pointers.
10676         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10677         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10678         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10679         <bp-asm.h>.
10680         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10681         about bounded pointers.  Remove GKM FIXME comments.
10682         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10683         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10684         <bp-asm.h>.
10685         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10686         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10687         Remove GKM FIXME comments.
10688         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10689         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10690         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10691         <bp-asm.h>.
10692         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10693         about bounded pointers.  Remove GKM FIXME comment.
10694         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10695         and <bp-asm.h>.
10696         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10697         pointers.
10698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10699         <bp-sym.h> and <bp-asm.h>.
10700         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10702         <bp-sym.h> and <bp-asm.h>.
10703         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10704         comment.
10706 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10708         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10709         call free(NULL).
10711 2013-03-05  David S. Miller  <davem@davemloft.net>
10713         * po/es.po: Update from translation team.
10715 2013-03-05  Andreas Jaeger  <aj@suse.de>
10717         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10718         <bits/mman-linux.h>.
10719         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10720         is fine.
10721         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10722         <bits/mman-linux.h> to end of file.
10723         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10724         is fine.
10725         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10726         <bits/mman-linux.h> to end of file.
10727         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10728         is fine.
10729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10730         <bits/mman-linux.h> to end of file.
10732         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10733         (MCL_CURRENT, MCL_FUTURE): Define here.
10735 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10737         [BZ #15232]
10738         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10739         attribute_hidden.
10740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10742 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10744         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10745         fourth parameter needed for rt_sigprocmask syscall.
10746         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10748         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10749         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10750         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10751         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10753 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10755         [BZ #13550]
10756         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10757         comment about bounded pointers.
10758         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10759         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10761 2013-03-04  Andreas Jaeger  <aj@suse.de>
10763         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10764         common definitions.
10766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10767         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10768         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10770         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10773 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10775         [BZ #15055]
10776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10777         __ieee754_sqrl instead of __sqrl.
10779 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10781         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10782         * sysdeps/powerpc/fpu_control.h: ... here.
10783         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10784         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10785         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10786         * sysdeps/powerpc/bits/mathinline.h: ... here.
10788 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10790         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10791         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10792         to just [NEED_DL_SYSINFO_DSO].
10793         * elf/dl-support.c: Likewise.
10794         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10795         * elf/rtld.c (dl_main): Likewise.
10796         * elf/setup-vdso.h (setup_vdso): Likewise.
10797         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10798         * sysdeps/unix/sysv/linux/dl-sysdep.c
10799         (_dl_discover_osversion): Likewise.
10801 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10803         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10804         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10806 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808         * NEWS: Mention libm performance improvements and non-x86 PI
10809         futex support.
10811         * csu/libc-start.c (__pthread_initialize_minimal): Change
10812         function arguments.
10813         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10815 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10817         [BZ #13550]
10818         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10819         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10820         <bp-sym.h> and <bp-asm.h>.
10821         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10822         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10823         and <bp-asm.h>.
10824         (memcpy): Don't use BP_SYM.
10825         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10826         <bp-asm.h>.
10827         (__mpn_add_n): Don't use BP_SYM.
10828         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10829         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10830         and <bp-asm.h>.
10831         (__mpn_addmul_1): Don't use BP_SYM.
10832         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10833         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10834         <bp-sym.h>.
10835         (_setjmp): Don't use BP_SYM.
10836         (__novmx_setjmp): Likewise.
10837         (__GI__setjmp): Likewise.
10838         (__vmx_setjmp): Likewise.
10839         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10840         <bp-sym.h>.
10841         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10842         (__bzero): Don't use BP_SYM.
10843         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10844         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10845         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10846         <bp-sym.h> and <bp-asm.h>.
10847         (memcpy): Don't use BP_SYM.
10848         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10849         <bp-sym.h> and <bp-asm.h>.
10850         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10852         <bp-sym.h> and <bp-asm.h>.
10853         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10854         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10855         <bp-asm.h>.
10856         (__mpn_lshift): Don't use BP_SYM.
10857         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10858         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10859         <bp-asm.h>.
10860         (memset): Don't use BP_SYM.
10861         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10862         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10863         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10864         <bp-asm.h>.
10865         (__mpn_mul_1): Don't use BP_SYM.
10866         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10868         <bp-sym.h> and <bp-asm.h>.
10869         (memcmp): Don't use BP_SYM.
10870         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10871         <bp-sym.h> and <bp-asm.h>.
10872         (memcpy): Don't use BP_SYM.
10873         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10874         <bp-sym.h> and <bp-asm.h>.
10875         (memset): Don't use BP_SYM.
10876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10877         <bp-sym.h> and <bp-asm.h>.
10878         (strncmp): Don't use BP_SYM.
10879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10880         <bp-sym.h> and <bp-asm.h>.
10881         (memcpy): Don't use BP_SYM.
10882         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10883         <bp-sym.h> and <bp-asm.h>.
10884         (memset): Don't use BP_SYM.
10885         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10886         <bp-sym.h> and <bp-asm.h>.
10887         (__memchr): Don't use BP_SYM.
10888         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10889         <bp-sym.h> and <bp-asm.h>.
10890         (memcmp): Don't use BP_SYM.
10891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10892         <bp-sym.h> and <bp-asm.h>.
10893         (memcpy): Don't use BP_SYM.
10894         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10895         <bp-sym.h> and <bp-asm.h>.
10896         (__mempcpy): Don't use BP_SYM.
10897         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10898         <bp-sym.h> and <bp-asm.h>.
10899         (__memrchr): Don't use BP_SYM.
10900         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10901         <bp-sym.h> and <bp-asm.h>.
10902         (memset): Don't use BP_SYM.
10903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10904         <bp-sym.h> and <bp-asm.h>.
10905         (__rawmemchr): Don't use BP_SYM.
10906         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10907         <bp-sym.h> and <bp-asm.h>.
10908         (__STRCMP): Don't use BP_SYM.
10909         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10910         <bp-sym.h> and <bp-asm.h>.
10911         (strchr): Don't use BP_SYM.
10912         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10913         <bp-sym.h> and <bp-asm.h>.
10914         (__strchrnul): Don't use BP_SYM.
10915         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10916         <bp-sym.h> and <bp-asm.h>.
10917         (strlen): Don't use BP_SYM.
10918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10919         <bp-sym.h> and <bp-asm.h>.
10920         (strncmp): Don't use BP_SYM.
10921         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10922         <bp-sym.h> and <bp-asm.h>.
10923         (__strnlen): Don't use BP_SYM.
10924         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10925         <bp-asm.h>.
10926         (__mpn_rshift): Don't use BP_SYM.
10927         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10928         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10929         <bp-sym.h> and <bp-asm.h>.
10930         (__sigsetjmp): Don't use BP_SYM.
10931         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10932         (L(start_addresses)): Don't use BP_SYM.
10933         (_start): Likewise.
10934         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10935         <bp-asm.h>.
10936         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10937         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10938         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10939         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10940         <bp-asm.h>.
10941         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10942         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10943         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10944         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10945         <bp-asm.h>.
10946         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10947         comments.
10948         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10949         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10950         <bp-asm.h>.
10951         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10952         FIXME comments.
10953         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10954         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10955         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10956         <bp-asm.h>.
10957         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10958         comment.
10959         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10960         and <bp-asm.h>.
10961         (strncmp): Don't use BP_SYM,
10962         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10963         <bp-asm.h>.
10964         (__mpn_sub_n): Don't use BP_SYM.
10965         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10966         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10967         and <bp-asm.h>.
10968         (__mpn_submul_1): Don't use BP_SYM.
10969         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10971         <bp-sym.h> and <bp-asm.h>.
10972         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10974         <bp-sym.h> and <bp-asm.h>.
10975         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10976         comment.
10978 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10981         Use ZK to minimize writes to Z.
10982         (sub_magnitudes): Simplify code a bit.
10983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10984         Use ZK to minimize writes to Z.
10985         (sub_magnitudes): Simplify code a bit.
10987 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10989         * csu/gmon-start.c: Add special exception to license text.
10991 2013-02-27  Richard Henderson  <rth@redhat.com>
10993         * scripts/config.guess: Update from config.git.
10994         * scripts/config.sub: Likewise.
10996 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10998         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11000         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11002         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11004         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11006         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11008 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11010         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11011         [$(build-shared = yes].
11013 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11015         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11016         (__mul): Reduce iterations for calculating mantissa.
11018         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11019         MPTWO.
11020         (__mpranred): Likewise.
11022         [BZ #15160]
11023         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11024         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11026 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11028         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11029         Define __attribute__.
11031 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11033         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11034         unused.
11035         * posix/regex_internal.h (__attribute): Remove.
11036         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11037         (re_string_context_at): Likewise.
11038         (bitset_not): Use __attribute__ and mark function as possibly
11039         unused.
11040         (bitset_merge): Likewise.
11041         (bitset_mask): Likewise.
11042         (re_string_char_size_at): Likewise.
11043         (re_string_wchar_at): Likewise.
11044         (re_string_elem_size_at): Likewise.
11046 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11048         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11049         code.
11050         (cc32): Likewise.
11052         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11053         (__acr): Likewise.
11054         (__cpy): Likewise.
11055         (norm): Likewise.
11056         (denorm): Likewise.
11057         (__dbl_mp): Likewise.
11058         (add_magnitudes): Likewise.
11059         (sub_magnitudes): Likewise.
11060         (__mul): Likewise.
11061         (__inv): Likewise.
11063         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11064         style.
11066         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11067         style.
11069         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11070         code.
11072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11073         up changes with default code.
11074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11075         Likewise.
11077 2013-02-24  Allan McRae  <allan@archlinux.org>
11079         * manual/socket.texi (The Internet Namespace): Order menu items
11080         to match that in the file.
11082         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11083         node listing of the info page menu.
11085 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11087         [BZ #13550]
11088         * sysdeps/i386/bp-asm.h: Remove file.
11089         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11090         (PARMS): Do not use macros from bp-asm.h.
11091         (S1): Likewise.
11092         (S2): Likewise.
11093         (SIZE): Likewise.
11094         (__mpn_add_n): Do not use BP_SYM
11095         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11096         "bp-asm.h".
11097         (PARMS): Do not use macros from bp-asm.h.
11098         (S1): Likewise.
11099         (SIZE): Likewise.
11100         (__mpn_addmul_1): Do not use BP_SYM
11101         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11102         "bp-asm.h".
11103         (PARMS): Do not use macros from bp-asm.h.
11104         (SIGMSK): Likewise.
11105         (_setjmp): Likewise.  Do not use BP_SYM.
11106         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11107         "bp-asm.h".
11108         (PARMS): Do not use macros from bp-asm.h.
11109         (SIGMSK): Likewise.
11110         (setjmp): Likewise.  Do not use BP_SYM.
11111         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11112         "bp-asm.h".
11113         (PARMS): Do not use macros from bp-asm.h.
11114         (__frexp): Do not use BP_SYM.
11115         (frexp): Likewise.
11116         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11117         "bp-asm.h".
11118         (PARMS): Do not use macros from bp-asm.h.
11119         (__frexpf): Do not use BP_SYM.
11120         (frexpf): Likewise.
11121         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11122         "bp-asm.h".
11123         (PARMS): Do not use macros from bp-asm.h.
11124         (__frexpl): Do not use BP_SYM.
11125         (frexpl): Likewise.
11126         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11127         "bp-asm.h".
11128         (PARMS): Do not use macros from bp-asm.h.
11129         (__remquo): Do not use BP_SYM.
11130         (remquo): Likewise.
11131         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11132         "bp-asm.h".
11133         (PARMS): Do not use macros from bp-asm.h.
11134         (__remquof): Do not use BP_SYM.
11135         (remquof): Likewise.
11136         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11137         "bp-asm.h".
11138         (PARMS): Do not use macros from bp-asm.h.
11139         (__remquol): Do not use BP_SYM.
11140         (remquol): Likewise.
11141         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11142         "bp-asm.h".
11143         (PARMS): Do not use macros from bp-asm.h.
11144         (DEST): Likewise.
11145         (SRC): Likewise.
11146         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11147         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11148         "bp-asm.h".
11149         (PARMS): Do not use macros from bp-asm.h.
11150         (strlen): Do not use BP_SYM.
11151         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11152         "bp-asm.h".
11153         (PARMS): Do not use macros from bp-asm.h.
11154         (S1): Likewise.
11155         (S2): Likewise.
11156         (SIZE): Likewise.
11157         (__mpn_add_n): Do not use BP_SYM.
11158         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11159         "bp-asm.h".
11160         (PARMS): Do not use macros from bp-asm.h.
11161         (S1): Likewise.
11162         (SIZE): Likewise.
11163         (__mpn_addmul_1): Do not use BP_SYM.
11164         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11165         weak_alias.
11166         (bzero): Likewise.
11167         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11168         "bp-asm.h".
11169         (PARMS): Do not use macros from bp-asm.h.
11170         (S): Likewise.
11171         (SIZE): Likewise.
11172         (__mpn_lshift): Do not use BP_SYM.
11173         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11174         "bp-asm.h".
11175         (PARMS): Do not use macros from bp-asm.h.
11176         (DEST): Likewise.
11177         (SRC): Likewise.
11178         (LEN): Likewise.
11179         (memcpy): Likewise.  Do not use BP_SYM.
11180         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11181         libc_hidden_def and weak_alias.
11182         (mempcpy): Do not use BP_SYM in weak_alias.
11183         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11184         "bp-asm.h".
11185         (PARMS): Do not use macros from bp-asm.h.
11186         (DEST): Likewise.
11187         (LEN): Likewise.
11188         [!BZERO_P] (CHR): Likewise.
11189         (memset): Likewise.  Do not use BP_SYM.
11190         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11191         "bp-asm.h".
11192         (PARMS): Do not use macros from bp-asm.h.
11193         (S1): Likewise.
11194         (SIZE): Likewise.
11195         (__mpn_mul_1): Do not use BP_SYM.
11196         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11197         "bp-asm.h".
11198         (PARMS): Do not use macros from bp-asm.h.
11199         (S): Likewise.
11200         (SIZE): Likewise.
11201         (__mpn_rshift): Do not use BP_SYM.
11202         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11203         "bp-asm.h".
11204         (PARMS): Do not use macros from bp-asm.h.
11205         (STR): Likewise.
11206         (CHR): Likewise.
11207         (strchr): Likewise.  Do not use BP_SYM.
11208         (index): Do not use BP_SYM in weak_alias.
11209         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11210         "bp-asm.h".
11211         (PARMS): Do not use macros from bp-asm.h.
11212         (DEST): Likewise.
11213         (SRC): Likewise.
11214         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11215         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11216         "bp-asm.h".
11217         (PARMS): Do not use macros from bp-asm.h.
11218         (strlen): Do not use BP_SYM.
11219         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11220         "bp-asm.h".
11221         (PARMS): Do not use macros from bp-asm.h.
11222         (S1): Likewise.
11223         (S2): Likewise.
11224         (SIZE): Likewise.
11225         (__mpn_sub_n): Do not use BP_SYM.
11226         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11227         "bp-asm.h".
11228         (PARMS): Do not use macros from bp-asm.h.
11229         (S1): Likewise.
11230         (SIZE): Likewise.
11231         (__mpn_submul_1): Do not use BP_SYM.
11232         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11233         "bp-asm.h".
11234         (PARMS): Do not use macros from bp-asm.h.
11235         (S1): Likewise.
11236         (S2): Likewise.
11237         (SIZE): Likewise.
11238         (__mpn_add_n): Do not use BP_SYM.
11239         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11240         weak_alias.
11241         (bzero): Likewise.
11242         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11243         "bp-asm.h".
11244         (PARMS): Do not use macros from bp-asm.h.
11245         (BLK2): Likewise.
11246         (LEN): Likewise.
11247         (memcmp): Do not use BP_SYM.
11248         (bcmp): Do not use BP_SYM in weak_alias.
11249         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11250         "bp-asm.h".
11251         (PARMS): Do not use macros from bp-asm.h.
11252         (DEST): Likewise.
11253         (SRC): Likewise.
11254         (LEN): Likewise.
11255         (memcpy): Likewise.  Do not use BP_SYM.
11256         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11257         "bp-asm.h".
11258         (PARMS): Do not use macros from bp-asm.h.
11259         (DEST): Likewise.
11260         (SRC): Likewise.
11261         (LEN): Likewise.
11262         (memmove): Likewise.  Do not use BP_SYM.
11263         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11264         "bp-asm.h".
11265         (PARMS): Do not use macros from bp-asm.h.
11266         (DEST): Likewise.
11267         (SRC): Likewise.
11268         (LEN): Likewise.
11269         (__mempcpy): Likewise.  Do not use BP_SYM.
11270         (mempcpy): Do not use BP_SYM in weak_alias.
11271         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11272         "bp-asm.h".
11273         (PARMS): Do not use macros from bp-asm.h.
11274         (DEST): Likewise.
11275         (LEN): Likewise.
11276         [!BZERO_P] (CHR): Likewise.
11277         (memset): Likewise.  Do not use BP_SYM.
11278         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11279         "bp-asm.h".
11280         (PARMS): Do not use macros from bp-asm.h.
11281         (STR2): Likewise.
11282         (strcmp): Do not use BP_SYM.
11283         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11284         "bp-asm.h".
11285         (PARMS): Do not use macros from bp-asm.h.
11286         (STR): Likewise.
11287         (DELIM): Likewise.
11288         [USE_AS_STRTOK_R] (SAVE): Likewise.
11289         (FUNCTION): Likewise.  Do not use BP_SYM.
11290         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11291         aliases.
11292         (strtok_r): Likewise.
11293         (__GI___strtok_r): Likewise.
11294         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11295         (PARMS): Do not use macros from bp-asm.h.
11296         (S): Likewise.
11297         (SIZE): Likewise.
11298         (__mpn_lshift): Do not use BP_SYM.
11299         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11300         (PARMS): Do not use macros from bp-asm.h.
11301         (STR): Likewise.
11302         (CHR): Likewise.
11303         (__memchr): Do not use BP_SYM.
11304         (memchr): Do not use BP_SYM in weak_alias.
11305         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11306         (PARMS): Do not use macros from bp-asm.h.
11307         (BLK2): Likewise.
11308         (LEN): Likewise.
11309         (memcmp): Do not use BP_SYM.
11310         (bcmp): Do not use BP_SYM in weak_alias.
11311         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11312         (PARMS): Do not use macros from bp-asm.h.
11313         (S1): Likewise.
11314         (SIZE): Likewise.
11315         (__mpn_mul_1): Do not use BP_SYM.
11316         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11317         "bp-asm.h".
11318         (PARMS): Do not use macros from bp-asm.h.
11319         (STR): Likewise.
11320         (CHR): Likewise.
11321         (__rawmemchr): Do not use BP_SYM.
11322         (rawmemchr): Do not use BP_SYM in weak_alias.
11323         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11324         (PARMS): Do not use macros from bp-asm.h.
11325         (S): Likewise.
11326         (SIZE): Likewise.
11327         (__mpn_rshift): Do not use BP_SYM.
11328         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11329         (PARMS): Do not use macros from bp-asm.h.
11330         (SIGMSK): Likewise.
11331         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11332         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11333         (_start): Do not use BP_SYM.
11334         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11335         (PARMS): Do not use macros from bp-asm.h.
11336         (DEST): Likewise.
11337         (SRC): Likewise.
11338         (__stpcpy): Likewise.  Do not use BP_SYM.
11339         (stpcpy): Do not use BP_SYM in weak_alias.
11340         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11341         "bp-asm.h".
11342         (PARMS): Do not use macros from bp-asm.h.
11343         (DEST): Likewise.
11344         (SRC): Likewise.
11345         (LEN): Likewise.
11346         (__stpncpy): Likewise.  Do not use BP_SYM.
11347         (stpncpy): Do not use BP_SYM in weak_alias.
11348         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11349         (PARMS): Do not use macros from bp-asm.h.
11350         (STR): Likewise.
11351         (CHR): Likewise.
11352         (strchr): Likewise.  Do not use BP_SYM.
11353         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11354         "bp-asm.h".
11355         (PARMS): Do not use macros from bp-asm.h.
11356         (STR): Likewise.
11357         (CHR): Likewise.
11358         (__strchrnul): Likewise.  Do not use BP_SYM.
11359         (strchrnul): Do not use BP_SYM in weak_alias.
11360         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11361         "bp-asm.h".
11362         (PARMS): Do not use macros from bp-asm.h.
11363         (STOP): Likewise.
11364         (strcspn): Do not use BP_SYM.
11365         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11366         "bp-asm.h".
11367         (PARMS): Do not use macros from bp-asm.h.
11368         (STR): Likewise.
11369         (STOP): Likewise.
11370         (strpbrk): Likewise.  Do not use BP_SYM.
11371         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11372         "bp-asm.h".
11373         (PARMS): Do not use macros from bp-asm.h.
11374         (STR): Likewise.
11375         (CHR): Likewise.
11376         (strrchr): Likewise.  Do not use BP_SYM.
11377         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11378         (PARMS): Do not use macros from bp-asm.h.
11379         (SKIP): Likewise.
11380         (strspn): Do not use BP_SYM.
11381         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11382         (PARMS): Do not use macros from bp-asm.h.
11383         (STR): Likewise.
11384         (DELIM): Likewise.
11385         (SAVE): Likewise.
11386         (FUNCTION): Likewise.  Do not use BP_SYM.
11387         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11388         aliases.
11389         (strtok_r): Likewise.
11390         (__GI___strtok_r): Likewise.
11391         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11392         (PARMS): Do not use macros from bp-asm.h.
11393         (S1): Likewise.
11394         (S2): Likewise.
11395         (SIZE): Likewise.
11396         (__mpn_sub_n): Do not use BP_SYM.
11397         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11398         "bp-asm.h".
11399         (PARMS): Do not use macros from bp-asm.h.
11400         (S1): Likewise.
11401         (SIZE): Likewise.
11402         (__mpn_submul_1): Do not use BP_SYM.
11403         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11404         <bp-sym.h>.
11405         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11406         and <bp-asm.h>.
11407         (PARMS): Do not use macros from bp-asm.h.
11408         (FLAGS): Likewise.
11409         (PTID): Likewise.
11410         (TLS): Likewise.
11411         (CTID): Likewise.
11412         (__clone): Do not use BP_SYM.
11413         (clone): Do not use BP_SYM in weak_alias.
11414         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11415         and <bp-asm.h>.
11416         (PARMS): Do not use macros from bp-asm.h.
11417         (LEN): Likewise.
11418         (__mmap64): Do not use BP_SYM.
11419         (mmap64): Do not use BP_SYM in weak_alias.
11420         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11421         <bp-sym.h> and <bp-asm.h>.
11422         (PARMS): Do not use macros from bp-asm.h.
11423         (__posix_fadvise64_l64): Do not use BP_SYM.
11424         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11425         (PARMS): Do not use macros from bp-asm.h.
11426         (NSOPS): Likewise.
11427         (semtimedop): Do not use BP_SYM.
11428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11429         and <bp-asm.h>.
11431 2013-02-21  Allan McRae  <allan@archlinux.org>
11433         * manual/message.texi (Charset conversion in gettext):
11434         Move @end statement to beginning of line.
11436 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11439         static.
11440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11441         Likewise.
11443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11444         (denorm): Likewise.
11445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11448 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11450         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11451         tail-call to the resolved function if pltexit isn't needed.
11453 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11456         or Y being zero as being unlikely.
11457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11458         Likewise.
11460 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11462         * manual/nss.texi (System Databases and Name Service Switch):
11463         Remove frobnicate @pxref.
11465 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11467         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11468         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11470 2013-02-20  Petr Machata  <pmachata@redhat.com>
11472         * elf/elf.h (R_ARM_TARGET1): New macro.
11473         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11474         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11475         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11476         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11477         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11478         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11479         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11480         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11481         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11482         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11483         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11484         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11485         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11486         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11487         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11488         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11489         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11490         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11491         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11492         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11493         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11494         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11495         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11496         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11497         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11498         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11499         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11500         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11501         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11502         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11503         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11504         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11505         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11506         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11507         (R_ARM_THM_GOT_BREL12): Likewise.
11508         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11509         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11510         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11511         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11512         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11513         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11514         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11515         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11516         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11518 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11520         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11521         __attribute_used__ to __attribute__ ((unused)).
11523 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11525         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11526         powerpc mpa.c.
11527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11528         comment formatting.
11529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11531 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11533         [BZ #13550]
11534         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11535         Remove macro.
11536         (ENTER): Remove both macro definitions.
11537         (LEAVE): Likewise.
11538         (CHECK_BOUNDS_LOW): Likewise.
11539         (CHECK_BOUNDS_HIGH): Likewise.
11540         (CHECK_BOUNDS_BOTH): Likewise.
11541         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11542         (RETURN_BOUNDED_POINTER): Likewise.
11543         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11544         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11545         (POP_ERRNO_LOCATION_RETURN): Likewise.
11546         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11547         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11548         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11549         macros.
11550         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11551         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11552         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11553         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11554         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11555         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11556         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11557         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11558         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11559         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11560         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11561         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11563         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11564         removed macros.
11565         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11566         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11567         macros.
11568         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11569         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11570         * sysdeps/i386/i586/memset.S (memset): Likewise.
11571         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11572         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11573         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11574         macros.
11575         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11576         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11577         Change uses of L(2) to L(out).
11578         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11579         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11580         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11581         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11582         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11583         removed macros.
11584         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11585         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11586         macros.
11587         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11588         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11589         (RETURN): Do not use macro LEAVE.
11590         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11591         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11592         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11593         * sysdeps/i386/i686/memset.S (memset): Likewise.
11594         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11595         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11596         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11597         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11598         Likewise.
11599         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11600         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11601         L(1_2) and L(1_3) into L(1).
11602         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11603         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11604         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11605         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11606         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11607         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11608         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11609         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11610         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11611         macros.
11612         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11613         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11614         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11615         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11616         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11617         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11618         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11619         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11620         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11621         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11622         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11623         * sysdeps/i386/strspn.S (strspn): Likewise.
11624         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11625         conditional code.
11626         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11627         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11628         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11629         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11630         L(1_3) into L(1_1).
11631         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11632         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11633         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11634         macros.
11635         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11637 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11639         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11640         macro.
11642 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11644         * math/atest-exp.c (exp_mpn): Remove ROUND.
11645         * math/atest-exp2.c (exp_mpn): Likewise.
11646         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11648         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11649         * stdlib/tst-tls-atexit-lib.c: Likewise.
11650         * stdlib/tst-tls-atexit.c: Likewise.
11652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11654         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11655         and __attribute_alloc_size__.
11657 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11659         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11660         __attribute_alloc_size__.
11661         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11662         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11664 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11666         * include/programs/xmalloc.h: New file.
11667         * catgets/gencat.c: Include it.
11668         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11669         * elf/pldd.c: Likewise.
11670         * iconv/iconv_charmap.c: Likewise.
11671         * iconv/iconvconfig.c: Likewise.
11672         * iconv/strtab.c: Likewise.
11673         * locale/programs/locale.c: Likewise.
11674         * locale/programs/localedef.h: Likewise.
11675         * locale/programs/simple-hash.c: Likewise.
11676         * nscd/nscd.h: Likewise.
11677         * nss/makedb.c: Likewise.
11678         * sysdeps/generic/ldconfig.h: Likewise.
11680 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11682         * Versions.def: Add GLIBC_2.18.
11683         * include/link.h (struct link_map): New member l_tls_dtor_count.
11684         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11685         (__call_tls_dtors): Likewise.
11686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11687         __cxa_thread_atexit_impl.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11689         Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11695         Likewise.
11696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11700         Likewise.
11701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11703         Likewise.
11704         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11705         (tests): Add test case tst-tls-atexit.
11706         (modules-names): Add shared library for tst-tls-atexit.
11707         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11708         (GLIBC_PRIVATE): Add __call_tls_dtors.
11709         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11710         for libstdc++.
11711         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11712         * stdlib/tst-tls-atexit.c: New test case.
11713         * stdlib/tst-tls-atexit-lib.c: New test case.
11715         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11717         * elf/Versions (ld): Add _dl_find_dso_for_object.
11718         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11719         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11720         (dl_open_worker): Use _dl_find_dso_for_object.
11721         * elf/dl-sym.c (do_sym): Likewise.
11722         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11724 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11726         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11727         Syntactic changes only.
11728         (_dl_runtime_profile): Do a tail-call to the resolved function.
11730 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11732         [BZ #13550]
11733         * sysdeps/x86_64/bp-asm.h: Remove file.
11734         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11735         <bp-sym.h> and <bp-asm.h>.
11736         (__clone): Do not use BP_SYM.
11737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11738         <bp-sym.h> and <bp-asm.h>.
11739         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11740         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11741         "bp-asm.h".
11742         (_setjmp): Do not use BP_SYM.
11743         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11744         "bp-asm.h".
11745         (setjmp): Do not use BP_SYM.
11746         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11747         libc_hidden_def.
11748         (mempcpy): Do not use BP_SYM in weak_alias.
11749         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11750         "bp-asm.h".
11751         (strchr): Do not use BP_SYM.
11752         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11753         "bp-asm.h".
11754         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11755         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11756         (_start): Do not use BP_SYM.
11757         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11758         "bp-asm.h".
11759         (strcat): Do not use BP_SYM.
11760         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11761         "bp-asm.h".
11762         (STRCMP): Do not use BP_SYM.
11763         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11764         "bp-asm.h".
11765         (STRCPY): Do not use BP_SYM.
11766         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11767         "bp-asm.h".
11768         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11769         "bp-asm.h".
11770         (FUNCTION): Do not use BP_SYM.
11771         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11772         weak_alias.
11773         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11775 2013-02-17  Andreas Jaeger  <aj@suse.de>
11777         * time/Versions: Sort entries.
11778         * string/Versions: Likewise.
11779         * resolv/Versions: Likewise.
11780         * posix/Versions: Likewise.
11781         * iconv/Versions: Likewise.
11782         * elf/Versions: Likewise.
11783         * wcsmbs/Versions: Likewise.
11785 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11788         loop termination condition.
11790         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11791         variable to calculate EZ.
11792         (__sqr): Likewise.
11794         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11795         the lower precision input.
11797 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #13550]
11800         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11801         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11802         (run-via-rtld-prefix): Do not handle %-bp tests.
11803         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11804         (all-object-suffixes): Remove .ob.
11805         (bppfx): Remove variable.
11806         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11807         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11808         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11809         [$(build-bounded) = yes] (libtype.ob): Likewise.
11810         * Makerules (elide-routines.ob): Remove variable.
11811         (do-tests-clean): Do not handle *-bp.out.
11812         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11813         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11814         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11815         (tests): Do not include $(tests-bp.out).
11816         (xtests): Do not include $(xtests-bp.out).
11817         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11818         [$(build-bounded) = yes] ($(addprefix
11819         $(objpfx),$(binaries-bounded))): Remove rule.
11820         ($(objpfx)%-bp.out): Remove rule.
11821         * config.make.in (build-bounded): Remove variable.
11822         * crypt/Makefile [$(build-bounded) = yes]
11823         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11824         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11825         append to variable.
11826         [$(build-bounded) = yes] (install-lib): Likewise.
11827         [$(build-bounded) = yes] (generated): Likewise.
11828         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11829         Remove rule.
11830         * intl/Makefile [$(build-bounded) = yes]
11831         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11832         * math/Makefile [$(build-bounded) = yes]
11833         ($(tests:%=$(objpfx)%-bp): Likewise.
11834         * misc/Makefile [$(build-bounded) = yes]
11835         ($(objpfx)tst-tsearch-bp): Likewise.
11836         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11837         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11838         Remove dependency.
11839         * string/Makefile (o-objects.ob): Remove variable.
11840         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11841         (CFLAGS-.ob): Remove variable.
11842         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11843         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11844         both definitions of variable.
11845         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11846         (ASFLAGS-.ob): Remove variable.
11848 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11850         [BZ #13550]
11851         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11852         Remove __BOUNDED_POINTERS__ from condition.
11853         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11854         * string/bits/string2.h [!__NO_STRING_INLINES &&
11855         !__BOUNDED_POINTERS__]: Likewise.
11856         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11859         Remove conditional code.
11860         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11861         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11862         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11863         condition.
11865         [BZ #13550]
11866         * csu/libc-start.c: Do not include <bp-sym.h>.
11867         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11868         * elf/dl-open.c: Do not include <bp-sym.h>.
11869         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11870         * math/fegetenv.c: Do not include <bp-sym.h>.
11871         (fegetenv): Do not use BP_SYM in versioned symbols.
11872         * nptl/sysdeps/pthread/bits/libc-lockP.h
11873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11874         <bp-sym.h>.
11875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11876         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11878         (__pthread_mutex_destroy): Likewise.
11879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11880         (__pthread_mutex_lock): Likewise.
11881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11882         (__pthread_mutex_trylock): Likewise.
11883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11884         (__pthread_mutex_unlock): Likewise.
11885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11886         (__pthread_mutexattr_init): Likewise.
11887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11888         (__pthread_mutexattr_destroy): Likewise.
11889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11890         (__pthread_mutexattr_settype): Likewise.
11891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11892         (__pthread_rwlock_init): Likewise.
11893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11894         (__pthread_rwlock_destroy): Likewise.
11895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11896         (__pthread_rwlock_rdlock): Likewise.
11897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11898         (__pthread_rwlock_tryrdlock): Likewise.
11899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11900         (__pthread_rwlock_wrlock): Likewise.
11901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11902         (__pthread_rwlock_trywrlock): Likewise.
11903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11904         (__pthread_rwlock_unlock): Likewise.
11905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11906         (__pthread_key_create): Likewise.
11907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11908         (__pthread_setspecific): Likewise.
11909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11910         (__pthread_getspecific): Likewise.
11911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11912         Likewise.
11913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11914         (_pthread_cleanup_push_defer): Likewise.
11915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11916         (_pthread_cleanup_pop_restore): Likewise.
11917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11918         (pthread_setcancelstate): Likewise.
11919         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11920         <bp-sym.h>.
11921         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11922         (memchr): Do not use BP_SYM in weak_alias.
11923         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11924         (fegetenv): Do not use BP_SYM in versioned symbols.
11925         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11926         (fesetenv): Do not use BP_SYM in versioned symbols.
11927         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11928         (feupdateenv): Do not use BP_SYM in versioned symbols.
11929         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11930         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11931         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11932         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11933         (open64): Do not use BP_SYM in weak_alias.
11934         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11935         (fegetenv): Do not use BP_SYM in versioned symbols.
11936         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11937         (fesetenv): Do not use BP_SYM in versioned symbols.
11938         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11939         (feupdateenv): Do not use BP_SYM in versioned symbols.
11940         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11941         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11942         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11943         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11944         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11945         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11946         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11947         <bp-sym.h>.
11948         (__libc_start_main): Do not use BP_SYM.
11950 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11953         redundant return line.
11954         (norm): Likewise.
11955         (denorm): Likewise.
11956         (dbl_mp): Likewise.
11957         (sub_magnitudes): Likewise.
11958         (__add): Likewise.
11959         (__sub): Likewise.
11960         (__mul): Likewise.
11961         (__inv): Likewise.
11962         (__dvd): Likewise.
11963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11964         (norm): Likewise.
11965         (denorm): Likewise.
11966         (dbl_mp): Likewise.
11967         (sub_magnitudes): Likewise.
11968         (__add): Likewise.
11969         (__sub): Likewise.
11970         (__mul): Likewise.
11971         (__inv): Likewise.
11972         (__dvd): Likewise.
11974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11975         instead of __mul.
11976         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11977         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11978         (cc32): Likewise.
11980         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11981         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11983         of __mul for squares.
11984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11985         function
11986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11987         Likewise.
11988         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11989         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11991 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #13550]
11994         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11995         code.
11996         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11997         prototype or function definition.  Rename ubp_* variables and
11998         parameters.  Remove argv definitions conditional on
11999         [__BOUNDED_POINTERS__].
12000         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12001         * elf/dl-runtime.c (_dl_fixup): Likewise.
12002         * include/set-hooks.h (RUN_HOOK): Likewise.
12003         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12004         definition.
12005         * string/strcpy.c (strcpy): Do not use __unbounded.
12006         * sysdeps/generic/frame.h (struct layout): Likewise.
12007         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12008         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12009         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12010         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12011         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12012         (__backtrace): Likewise.
12013         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12014         use __ptrvalue.
12015         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12016         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12017         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12018         Likewise.
12019         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12020         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12021         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12022         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12023         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12024         Do not use __unbounded.
12025         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12026         Rename __unboundedrlimits parameter to rlimits in prototype.
12027         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12028         Do not use __unbounded.
12029         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12030         not use __ptrvalue.
12031         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12032         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12033         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12034         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12035         __ptrvalue or __unbounded.
12036         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12037         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12038         use __unbounded.
12039         (__new_msgctl): Do not use __ptrvalue.
12040         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12041         __unbounded.
12042         (__libc_msgrcv): Do not use __ptrvalue.
12043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12044         startup_info): Do not use __unbounded.
12045         (__libc_start_main): Likewise.  Rename ubp_* variables and
12046         parameters.  Remove argv definitions conditional on
12047         [__BOUNDED_POINTERS__].
12048         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12049         __ptrvalue.
12050         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12051         use __unbounded.
12052         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12053         or __ptrvalue.
12054         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12055         use __unbounded.
12056         (__new_shmctl): Do not use __ptrvalue.
12057         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12058         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12059         Likewise.
12060         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12061         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12062         (__libc_sigaction): Likewise.
12063         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12064         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12065         Likewise.
12066         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12068 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12070         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12072         * string/mempcpy.c: Implement by calling memcpy.
12074 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12079         evaluation.
12081         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12082         values in the mantissa.
12084         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12085         minimize writes to Z.
12086         (sub_magnitudes): Simplify code a bit.
12088 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12090         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12091         from the message.  The linker prefixes all warnings with that already.
12093 2013-02-12  Andreas Schwab  <schwab@suse.de>
12095         [BZ #15078]
12096         * posix/regexec.c (extend_buffers): Add parameter min_len.
12097         (check_matching): Pass minimum needed length.
12098         (clean_state_log_if_needed): Likewise.
12099         (get_subexp): Likewise.
12100         * posix/Makefile (tests): Add bug-regex34.
12101         (bug-regex34-ENV): Define.
12102         * posix/bug-regex34.c: New file.
12104         [BZ #11561]
12105         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12106         elements compare against the byte sequence of it, not its name.
12107         * posix/Makefile (tests): Add bug-regex35.
12108         (bug-regex35-ENV): Define.
12109         * posix/bug-regex35.c: New file.
12111 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12113         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12114         comment.
12115         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12116         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12117         (CHECK_EOL): Add undef.
12119 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12121         * bits/stdlib-bsearch.h: New file.
12122         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12123         * stdlib/stdlib.h: Likewise.
12125 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12127         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12128         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12129         declaration.
12130         * manual/search.texi (Array Search Function): Add missing const in
12131         lfind prototype.
12132         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12133         declaration to use rlim_t.
12134         (Basic Scheduling Functions): Remove erroneous const from
12135         sched_getparam prototype.  Remove erroneous * from
12136         sched_get_priority_max and sched_get_priority_min prototypes.
12137         (Resource Usage): Fix summary @comment on vtimes to refer to
12138         sys/vtimes.h rather than vtimes.h.
12139         Add missing *s in vtimes prototype.
12140         (Limits on Resources): Fix ulimit prototype to return long int.
12141         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12142         prototypes to use long int rather than double.
12143         (BSD Random): Fix initstate and setstate to use char *, not void *.
12144         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12145         prototype to make second argument 'struct aiocb64 *const[]'.
12146         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12147         (Status of AIO Operations): Remove erroneous const in aio_return and
12148         aio_return64 prototypes.
12149         (Synchronizing I/O): Fix sync prototype to return void.
12150         * manual/startup.texi (Suboptions): Remove an erroneous const in
12151         getsubopt prototype.
12152         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12153         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12154         use size_t rather than int.
12155         (Scanning All Users): Likewise for getpwent_r.
12156         (Setting Groups): Add missing const to setgroups prototype.
12157         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12158         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12159         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12160         'const void *' rather than 'const char *'.
12161         (Host Address Functions): Likewise for inet_ntop.
12162         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12163         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12164         ssize_t for return value.
12165         (Sending Data): Likewise for send, sendto, sendmsg.
12166         (Socket Option Functions): Add a missing const in setsockopt prototype.
12167         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12168         use wchar_t for the argument.
12169         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12170         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12171         take no arguments.
12172         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12173         double/float/long double for second argument.
12174         Fix return types of significand, significandf, significandl.
12175         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12176         argument in fchmod prototype.
12177         (File Owner): Use uid_t and gid_t in fchown prototype.
12178         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12179         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12180         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12181         use 'const struct dirent **' as argument types to CMP function pointer
12182         argument.
12183         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12184         (File Times): Fix summary magic @comment for struct utimbuf and utime
12185         to refer to utime.h, not time.h.
12186         * manual/string.texi (Argz Functions): Add missing const in
12187         argz_extract and argz_next prototypes.
12188         (Finding Tokens in a String): Likewise for basename.
12189         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12190         (Copying and Concatenation): Fix typo in wmemmove prototype.
12191         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12192         (Signal Stack): Remove erroneous const in sigstack prototype.
12193         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12194         prototype.
12195         (Simple Calendar Time): Likewise for stime.
12196         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12197         prototype.
12198         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12199         say sys/sysctl.h instead.
12200         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12201         and vsyslog prototypes.
12203 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12205         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12206         Remove.
12208 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12210         * misc/sys/mman.h: Fix typo in mremap comment.
12212 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12214         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12215         the '\0' terminator.
12217 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12219         [BZ #13550]
12220         * debug/segfault.c: Don't include <bp-checks.h>.
12221         * sysdeps/generic/bp-checks.h: Remove file.
12222         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12223         (__GETDENTS): Don't use CHECK_N.
12224         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12225         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12226         (__getgroups): Don't use CHECK_N.
12227         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12228         (setgroups): Don't use CHECK_N.
12229         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12230         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12231         (__libc_msgrcv): Don't use CHECK_N.
12232         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12233         (__libc_msgsnd): Don't use CHECK_N.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12235         <bp-checks.h>.
12236         (__libc_pread): Don't use CHECK_N.
12237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12238         include <bp-checks.h>.
12239         (__libc_pread64): Don't use CHECK_N.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12241         include <bp-checks.h>.
12242         (__libc_pwrite): Don't use CHECK_N.
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12244         include <bp-checks.h>.
12245         (__libc_pwrite64): Don't use CHECK_N.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12247         <bp-checks.h>.
12248         (__libc_pread): Don't use CHECK_N.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12250         include <bp-checks.h>.
12251         (__libc_pread64): Don't use CHECK_N.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12253         include <bp-checks.h>.
12254         (__libc_pwrite): Don't use CHECK_N.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12256         include <bp-checks.h>.
12257         (__libc_pwrite64): Don't use CHECK_N.
12258         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12259         (do_pread): Don't use CHECK_N.
12260         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12261         (do_pread64): Don't use CHECK_N.
12262         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12263         (do_pwrite): Don't use CHECK_N.
12264         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12265         (do_pwrite64): Don't use CHECK_N.
12266         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12267         (__libc_readv): Don't use CHECK_N.
12268         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12269         (semop): Don't use CHECK_N.
12270         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12271         <bp-checks.h>.
12272         (semtimedop): Don't use CHECK_N.
12273         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12274         (__libc_pread): Don't use CHECK_N.
12275         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12276         <bp-checks.h>.
12277         (__libc_pread64): Don't use CHECK_N.
12278         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12279         <bp-checks.h>.
12280         (__libc_pwrite): Don't use CHECK_N.
12281         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12282         <bp-checks.h>.
12283         (__libc_pwrite64): Don't use CHECK_N.
12284         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12285         <bp-checks.h>.
12286         (__libc_msgrcv): Don't use CHECK_N.
12287         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12288         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12289         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12290         (__libc_writev): Don't use CHECK_N.
12292 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12294         * string/strcpy.c: Removed unused variable.
12296         * Makeconfig (+sysdep-includes): Define with := rather than =.
12297         Use an existing include/ subdir of each sysdeps dir before it.
12299 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12301         * nscd/connection.c (register_traced_file): Comment function.
12302         [HAVE_INOTIFY] (union __inev): Define.
12303         [HAVE_INOTIFY] (inotify_check_files): New function.
12304         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12305         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12306         clear_db_cache.
12307         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12311         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12312         loaded if not already and that a failure is permanent.
12314 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12316         [BZ #15006]
12317         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12318         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12320 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12322         [BZ #13550]
12323         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12324         (CHECK_1_NULL_OK): Likewise.
12325         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12326         (__fxstat): Do not use CHECK_1.
12327         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12328         <bp-checks.h>.
12329         (___fxstat64): Do not use CHECK_1.
12330         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12331         <bp-checks.h>.
12332         (__fxstatat): Do not use CHECK_1.
12333         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12334         <bp-checks.h>.
12335         (__fxstatat64): Do not use CHECK_1.
12336         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12337         <bp-checks.h>.
12338         (__fxstat): Do not use CHECK_1.
12339         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12340         <bp-checks.h>.
12341         (__fxstatat): Do not use CHECK_1.
12342         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12343         <bp-checks.h>.
12344         (__getresgid): Do not use CHECK_1.
12345         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12346         <bp-checks.h>.
12347         (__getresuid): Do not use CHECK_1.
12348         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12349         <bp-checks.h>.
12350         (__lxstat): Do not use CHECK_1.
12351         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12352         <bp-checks.h>.
12353         (__old_msgctl): Do not use CHECK_1.
12354         (__new_msgctl): Likewise.
12355         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12356         <bp-checks.h>.
12357         (__new_setrlimit): Do not use CHECK_1.
12358         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12359         <bp-checks.h>.
12360         (__old_shmctl): Do not use CHECK_1.
12361         (__new_shmctl): Likewise.
12362         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12363         <bp-checks.h>.
12364         (__xstat): Do not use CHECK_1.
12365         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12366         (__lxstat): Do not use CHECK_1.
12367         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12368         <bp-checks.h>.
12369         (___lxstat64): Do not use CHECK_1.
12370         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12371         (__old_msgctl): Do not use CHECK_1.
12372         (__new_msgctl): Likewise.
12373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12374         <bp-checks.h>.
12375         (__gettimeofday): Do not use CHECK_1.
12376         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12377         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12378         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12379         <bp-checks.h>.
12380         (__gettimeofday): Do not use CHECK_1.
12381         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12382         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12383         (__new_shmctl): Do not use CHECK_1.
12384         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12385         <bp-checks.h>.
12386         (do_sigtimedwait): Do not use CHECK_1.
12387         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12388         <bp-checks.h>.
12389         (do_sigwaitinfo): Do not use CHECK_1.
12390         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12391         <bp-checks.h>.
12392         (msgctl): Do not use CHECK_1.
12393         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12394         <bp-checks.h>.
12395         (shmctl): Do not use CHECK_1.
12396         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12397         (ustat): Do not use CHECK_1.
12398         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12399         <bp-checks.h>.
12400         (__fxstat): Do not use CHECK_1.
12401         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12402         <bp-checks.h>.
12403         (__fxstatat): Do not use CHECK_1.
12404         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12405         <bp-checks.h>.
12406         (__lxstat): Do not use CHECK_1.
12407         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12408         <bp-checks.h>.
12409         (__xstat): Do not use CHECK_1.
12410         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12411         (__xstat): Do not use CHECK_1.
12412         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12413         (___xstat64): Do not use CHECK_1.
12415         [BZ #13550]
12416         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12417         definitions.
12418         (CHECK_BOUNDS_HIGH): Likewise.
12419         * string/strcpy.c: Do not include <bp-checks.h>.
12420         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12422 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12424         * nscd/nscd-client.h (__nscd_drop_map_ref):
12425         Add __attribute__ ((unused)).
12426         * nis/nss-nisplus.h (niserr2nss): Likewise.
12428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12429         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12431         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12432         Remove inline keyword.
12433         * include/rounding-mode.h (round_away): Likewise.
12434         * libio/wfileops.c (adjust_wide_data): Likewise.
12435         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12436         (__m128i_strloadu_tolower): Likewise.
12437         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12438         (__m128i_strloadu_tolower): Likewise.
12439         * time/mktime.c (ydhms_diff): Likewise.
12440         * locale/elem-hash.h (elem_hash): Likewise.
12441         * locale/setlocale.c (setdata): Likewise.
12442         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12443         (re_string_wchar_at): Likewise.
12444         (bitset_not, bitset_merge, bitset_mask): Likewise.
12445         [!(__GNUC__ > 3)] (inline): Remove macro.
12446         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12447         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12448         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12449         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12450         * string/memcmp.c (memcmp_bytes): Likewise.
12451         * locale/programs/locarchive.c (compute_hashval): Likewise.
12452         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12453         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12454         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12455         * nss/getent.c (print_rpc, print_protocols): Likewise.
12456         (print_passwd, print_group, print_aliases): Likewise.
12457         * nis/nss-nisplus.h (niserr2nss): Likewise.
12458         * nscd/connections.c (restart_p): Likewise.
12459         Change return type to bool.
12461 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12463         * Makeconfig (all-Depend-files): Add existing
12464         $(sorted-subdirs:=/Depend) files.
12465         (all-subdirs): Remove nss.
12466         * sysdeps/unix/inet/Subdirs: Add it here instead.
12467         * hesiod/Depend: New file.
12469         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12470         instead of calling alloca.
12472         * io/lseek.c (__lseek): Rename to __libc_lseek.
12473         Define __lseek as an alias.
12475         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12477 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12479         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12480         else clause and remove check for non-standard endianness.
12482 2013-02-04  David S. Miller  <davem@davemloft.net>
12484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12486 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12488         [BZ #13550]
12489         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12490         (__ubp_memchr): Remove prototype.
12491         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12492         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12493         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12494         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12495         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12496         Remove alias.
12497         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12498         (__ubp_memchr): Likewise.
12499         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12500         (__ubp_memchr): Likewise.
12501         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12502         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12503         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12504         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12505         CHECK_STRING.
12506         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12507         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12508         (__getcwd): Do not use CHECK_STRING.
12509         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12510         <bp-checks.h>.
12511         (__real_chown): Do not use CHECK_STRING.
12512         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12513         <bp-checks.h>.
12514         (fchownat): Do not use CHECK_STRING.
12515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12516         CHECK_STRING.
12517         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12518         <bp-checks.h>.
12519         (__lchown): Do not use CHECK_STRING.
12520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12521         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12522         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12523         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12525         include <bp-checks.h>.
12526         (truncate64): Do not use CHECK_STRING.
12527         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12528         <bp-checks.h>.
12529         (__real_chown): Do not use CHECK_STRING.
12530         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12531         <bp-checks.h>.
12532         (__lchown): Do not use CHECK_STRING.
12533         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12534         <bp-checks.h>.
12535         (__chown): Do not use CHECK_STRING.
12536         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12537         <bp-checks.h>.
12538         (truncate64): Do not use CHECK_STRING.
12539         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12542         (__xmknod): Do not use CHECK_STRING.
12543         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12544         <bp-checks.h>.
12545         (__xmknodat): Do not use CHECK_STRING.
12546         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12547         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12549 2013-02-04  Andreas Schwab  <schwab@suse.de>
12551         [BZ #14142]
12552         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12553         * include/netdb.h: Likewise for h_errno.
12554         * elf/tst-stackguard1.c: Include <tls.h>.
12556 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12558         * elf/link.h (struct link_map): Extend the l_addr comment.
12559         * include/link.h (struct link_map): Likewise.
12561 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12563         [BZ #13550]
12564         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12565         (BOUNDED_1): Remove macro.
12566         * debug/backtrace.c: Don't include <bp-checks.h>.
12567         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12568         (__backtrace): Likewise.
12569         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12570         <bp-checks.h>.
12571         (__backtrace): Don't use BOUNDED_1.
12572         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12573         <bp-checks.h>.
12574         (__backtrace): Don't use BOUNDED_1.
12575         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12576         (__backtrace): Don't use BOUNDED_1.
12577         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12578         (shmat): Don't use BOUNDED_N.
12580 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12582         [BZ #13550]
12583         * sysdeps/generic/bp-start.h: Remove file.
12584         * csu/libc-start.c: Don't include <bp-start.h>.
12585         (LIBC_START_MAIN): Set up __environ directly instead of using
12586         INIT_ARGV_and_ENVIRON.
12587         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12588         <bp-start.h>.
12590         [BZ #13550]
12591         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12592         definitions.
12593         (CHECK_FCNTL): Likewise.
12594         (CHECK_N_PAGES): Likewise.
12596         [BZ #13550]
12597         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12598         definitions.
12599         (CHECK_SIGSET_NULL_OK): Likewise.
12600         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12601         <bp-checks.h>.
12602         (sigpending): Don't use CHECK_SIGSET.
12603         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12604         <bp-checks.h>.
12605         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12606         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12607         <bp-checks.h>.
12608         (do_sigsuspend): Don't use CHECK_SIGSET.
12609         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12610         use CHECK_SIGSET.
12611         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12612         (do_sigwait): Don't use CHECK_SIGSET.
12613         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12614         use CHECK_SIGSET.
12615         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12616         include <bp-checks.h>.
12617         (sigpending): Don't use CHECK_SIGSET.
12618         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12619         include <bp-checks.h>.
12620         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12621         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12622         <bp-checks.h>.
12623         (sigpending): Don't use CHECK_SIGSET.
12624         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12625         <bp-checks.h>.
12626         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12628         [BZ #13550]
12629         * sysdeps/generic/bp-semctl.h: Remove file.
12630         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12631         <bp-checks.h> and <bp-semctl.h>.
12632         (__old_semctl): Don't use CHECK_SEMCTL.
12633         (__new_semctl): Likewise.
12634         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12635         and <bp-semctl.h>.
12636         (__old_semctl): Don't use CHECK_SEMCTL.
12637         (__new_semctl): Likewise.
12638         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12639         <bp-checks.h> and <bp-semctl.h>.
12640         (__old_semctl): Don't use CHECK_SEMCTL.
12641         (__new_semctl): Likewise.
12642         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12643         <bp-checks.h> and <bp-semctl.h>.
12644         (semctl): Don't use CHECK_SEMCTL.
12646         [BZ #13550]
12647         * Makerules (elide-bp-thunks): Remove variable.
12648         (elide-routines.oS): Don't use $(elide-bp-thunks).
12649         (elide-routines.os): Likewise.
12650         (elide-routines.o): Likewise.
12651         (elide-routines.op): Likewise.
12652         (elide-routines.og): Likewise.
12653         (objects): Don't use $(bp-thunks).
12654         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12655         include.
12656         (common-generated): Do not add s-proto-bp.d.
12657         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12658         (int): Likewise.
12659         (typ): Likewise.
12660         Do not generate makefile rules for bounded-pointer thunks.
12661         * sysdeps/generic/bp-thunks.h: Remove file.
12662         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12663         * sysdeps/unix/s-proto-bp.S: Likewise.
12665         [BZ #15062]
12666         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12667         parts of result separately when argument is not close to line from
12668         -i to i and one part of argument is small.
12669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12671         * math/libm-test.inc (cacos_test): Add more tests.
12672         (casin_test): Likewise.
12673         (casinh_test): Likewise.
12674         * sysdeps/i386/fpu/libm-test-ulps: Update.
12675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677 2013-01-31  David S. Miller  <davem@davemloft.net>
12679         * po/de.po: Update from translation team.
12681 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12683         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12685 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12687         * configure.in (_AC_PROG_CC_C89): New definition.
12688         * configure: Regenerate.
12690         * configure.in (AC_PROG_CPP): New definition.
12691         * configure: Regenerate.
12693 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12695         * debug/tst-backtrace.h: New file.
12696         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12697         (ret): Remove variable.
12698         (x): Likewise.
12699         (FAIL): Remove macro.
12700         (NO_INLINE): Likewise.
12701         (fn1): Use match function instead of strstr.
12702         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12703         (ret): Remove variable.
12704         (x): Likewise.
12705         (FAIL): Remove macro.
12706         (NO_INLINE): Likewise.
12707         (fn): Use match function instead of strstr.
12708         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12709         (ret): Remove variable.
12710         (x): Likewise.
12711         (FAIL): Remove macro.
12712         (NO_INLINE): Likewise.
12713         (handle_signal): Use match function instead of strstr.
12714         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12715         (ret): Remove variable.
12716         (x): Likewise.
12717         (FAIL): Remove macro.
12718         (NO_INLINE): Likewise.
12719         (handle_signal): Use match function instead of strstr.
12721 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12723         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12725 2013-01-23  David S. Miller  <davem@davemloft.net>
12727         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12728         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12729         argument of CAS if possible.
12730         * sysdeps/sparc/sparc64/bits/atomic.h
12731         (__arch_compare_and_exchange_val_32_acq): Likewise.
12732         (__arch_compare_and_exchange_val_64_acq): Likewise.
12734 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12736         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12737         * sysdeps/posix/ulimit.c: ... this.
12738         Include <limits.h>.
12739         * sysdeps/unix/bsd/ulimit.c: Remove file.
12741 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12743         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12744         (LDFLAGS-tst-array5): Likewise.
12746 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12748         [BZ #15036]
12749         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12750         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12751         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12752         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12754 2013-01-21  David S. Miller  <davem@davemloft.net>
12756         * sysdeps/sparc/backtrace.c: New file.
12757         * sysdeps/sparc/sparc32/backtrace.h: New file.
12758         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12759         * sysdeps/sparc/sparc64/backtrace.h: New file.
12760         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12761         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12762         -funwind-tables.
12764 2013-01-21  Andreas Schwab  <schwab@suse.de>
12766         [BZ #15020]
12767         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12768         closed its stdout.
12770 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12773         "mpa2.h".
12774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12776 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12777             Mark Mitchell  <mark@codesourcery.com>
12778             Tom de Vries  <tom@codesourcery.com>
12779             Paul Pluzhnikov  <ppluzhnikov@google.com>
12781         * debug/tst-backtrace2.c: New file.
12782         * debug/tst-backtrace3.c: Likewise.
12783         * debug/tst-backtrace4.c: Likewise.
12784         * debug/tst-backtrace5.c: Likewise.
12785         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12786         (CFLAGS-tst-backtrace3.c): Likewise.
12787         (CFLAGS-tst-backtrace4.c): Likewise.
12788         (CFLAGS-tst-backtrace5.c): Likewise.
12789         (LDFLAGS-tst-backtrace2): Likewise.
12790         (LDFLAGS-tst-backtrace3): Likewise.
12791         (LDFLAGS-tst-backtrace4): Likewise.
12792         (LDFLAGS-tst-backtrace5): Likewise.
12793         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12794         tst-backtrace4 and tst-backtrace5.
12796 2013-01-18  Anton Blanchard  <anton@samba.org>
12797             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12799         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12800         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12801         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12802         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12804         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12805         "+r" and remove output regs list as redundant.  Add explicit inline
12806         asm to specify register of return val to work around compiler codegen
12807         bug.  Remove (int) cast on return value.  Add return type parameter to
12808         use in macro so that this macro does not truncate return value for
12809         64-bit values.
12810         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12811         pass to INTERNAL_VSYSCALL_NCS.
12812         (INLINE_VSYSCALL): Add 'long int' as return type to
12813         INTERNAL_VSYSCALL_NCS macro invocation.
12814         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12815         INTERNAL_VSYSCALL_NCS macro invocation.
12816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12818 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12820         [BZ #14496]
12821         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12822         Fix application of SIMD FP exception mask.
12824         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12825         mp_no from a power of two.
12826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12827         __mpexp_twomm1.  Use __pow_mp.
12829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12830         multiplication.
12832 2013-01-17  David S. Miller  <davem@davemloft.net>
12834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12836 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12838         [BZ #15023]
12839         * include/complex.h: Condition contents on [!_COMPLEX_H].
12840         (__kernel_casinhf): New prototype.
12841         (__kernel_casinh): Likewise.
12842         (__kernel_casinhl): Likewise.
12843         * math/Makefile (libm_calls): Add k_casinh.
12844         * math/k_casinh.c: New file.
12845         * math/k_casinhf.c: Likewise.
12846         * math/k_casinhl.c: Likewise.
12847         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12848         finite nonzero arguments.
12849         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12850         finite nonzero arguments.
12851         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12852         finite nonzero arguments.
12853         * math/s_casinh.c: Do not include <float.h>.
12854         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12855         * math/s_casinhf.c: Do not include <float.h>.
12856         (__casinhf): Move code for finite nonzero arguments to
12857         k_casinhf.c.
12858         * math/s_casinhl.c: Do not include <float.h>.
12859         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12860         redefine.
12861         (__casinhl): Move code for finite nonzero arguments to
12862         k_casinhl.c.
12863         * math/libm-test.inc (cacos_test): Add more tests.
12864         * sysdeps/i386/fpu/libm-test-ulps: Update.
12865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12867 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12869         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12870         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12871         [!HAVE_MREMAP]: Remove [defined linux] case.
12872         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12874 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12876         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12878 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12880         * elf/elf.h (R_386_SIZE32): New relocation.
12881         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12882         R_386_SIZE32.
12883         (elf_machine_rela): Likewise.
12884         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12885         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12887 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12889         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12890         (FP_FAST_FMA): Do not define.
12891         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12892         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12893         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12894         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12895         !_SOFT_FLOAT]: Likewise.
12896         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12897         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12898         value.
12899         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12900         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12901         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12902         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12903         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12904         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12905         file.
12907 2013-01-16  Andreas Schwab  <schwab@suse.de>
12909         [BZ #14327]
12910         * include/stdlib.h (__mktemp): Add declaration.
12911         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12912         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12914 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12916         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12917         definitions.
12918         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12919         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12920         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12921         definitions here.
12922         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12923         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12924         definitions.
12925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12926         and ONE.
12927         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12928         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12929         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12930         definitions.
12931         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12932         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12933         definitions.
12934         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12936         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12938 2013-01-15  David S. Miller  <davem@davemloft.net>
12940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12941         trunc{,f} to libm-sysdep_routes.
12942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12944         file.
12945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12947         file.
12948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12949         file.
12950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12952         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12953         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12954         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12955         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12956         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12957         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12960         nearbyint{,f} to libm-sysdep_routes.
12961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12963         New file.
12964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12965         file.
12966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12967         New file.
12968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12969         file.
12970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12972         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12973         file.
12974         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12975         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12976         file.
12977         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12978         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12979         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12981         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12982         libc_feholdexcept and libc_fesetenv.
12984 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12986         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12988 2013-01-14  David S. Miller  <davem@davemloft.net>
12990         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12991         (SPARC_ASM_VIS2_IFUNC): Likewise.
12992         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12994         use of 'siam' instruction.
12995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12996         Likewise.
12997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12998         Likewise.
12999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13000         Likewise.
13001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13006         file.
13007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13008         file.
13009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13010         file.
13011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13012         file.
13013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13018         new VIS2 routines.
13019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13022         Likewise.
13023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13028         routines to libm-sysdep_routines.
13029         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13032         fdim/fdimf to libm-sysdep_routines.
13033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13034         file.
13035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13037         file.
13038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13041         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13042         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13043         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13044         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13046 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13048         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13049         to optimize copies.
13051         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13056         local variable MPTWO.
13057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13058         Likewise.
13060 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13062         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13063         GLOB_NOESCAPE.
13065 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13067         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13069 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13071         * manual/pattern.texi (glob_t): Document gl_flags.
13072         (glob64_t): Likewise.
13074 2013-01-11  David S. Miller  <davem@davemloft.net>
13076         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13077         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13078         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13079         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13080         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13081         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13082         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13083         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13084         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13085         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13086         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13087         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13088         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13091         sparc V9 rather than using V8 code.
13092         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13093         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13095         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13096         Move to...
13097         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13098         Here.
13100 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13102         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13103         not in the main loop.
13104         * configure: Regenerated.
13106 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13108         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13109         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13110         to just #else.
13111         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13112         [!__GLIBC_HAVE_LONG_LONG] case.
13113         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13114         condition to just #else.
13115         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13116         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13117         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13118         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13119         unconditional.
13120         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13121         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13122         #elif condition to just #else.
13123         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13124         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13125         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13126         #elif condition to just #else.
13128 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13130         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13131         (EF_MIPS_ARCH_64): Fix value.
13132         (EF_MIPS_ARCH_32R2): New.
13133         (EF_MIPS_ARCH_64R2): New.
13135 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13137         * Makeconfig (+link-pie-before-libc): New.
13138         (+link-pie-after-libc): Likewise.
13139         (+link-pie-tests): Likewise.
13140         (+link-pie): Rewritten.
13141         (link-before-libc): Remove $(config-LDFLAGS).
13142         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13143         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13144         (config-LDFLAGS): Renamed to ...
13145         (rtld-LDFLAGS): This.
13146         (rtld-tests-LDFLAGS): New macro.
13147         (link-libc-rpath-link): Likewise.
13148         (link-libc-tests-rpath-link): Likewise.
13149         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13150         (link-libc): Prepand $(link-libc-rpath-link).
13151         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13152         (test-program-prefix): New macro.
13153         (test-via-rtld-prefix): Likewise.
13154         (test-program-cmd): Likewise.
13155         (host-test-program-cmd): Likewise.
13156         * Makefile ($(common-objpfx)testrun.sh): Replace
13157         $(run-program-prefix) with $(test-program-prefix).
13158         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13159         $(rtld-LDFLAGS).
13160         ($(common-objpfx)shlib.lds): Likewise.
13161         (build-module-helper): Likewise.
13162         ($(common-objpfx)format.lds): Likewise.
13163         * Rules (binaries-pie-tests): New.
13164         (binaries-pie-notests): Likewise.
13165         (binaries-pie): Rewritten.
13166         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13167         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13168         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13169         (make-test-out): Replace $(host-built-program-cmd) with
13170         $(host-test-program-cmd).
13171         * config.make.in (build-hardcoded-path-in-tests): New variable.
13172         * configure.in (--enable-hardcoded-path-in-tests): New configure
13173         option.
13174         (hardcoded_path_in_tests): New AC_SUBST.
13175         * configure: Regenerated.
13176         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13177         $(built-program-cmd) with $(test-program-cmd).
13178         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13179         (test_program_cmd): This.
13180         * elf/Makefile ($(objpfx)order.out): Run test with
13181         $(test-program-prefix).
13182         ($(objpfx)order2.out): Likewise.
13183         ($(objpfx)tst-initorder.out): Likewise.
13184         ($(objpfx)tst-initorder2.out): Likewise.
13185         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13186         $(test-program-cmd).
13187         ($(objpfx)tst-array1-static.out): Likewise.
13188         ($(objpfx)tst-array2.out): Likewise.
13189         ($(objpfx)tst-array3.out): Likewise.
13190         ($(objpfx)tst-array4.out): Likewise.
13191         ($(objpfx)tst-array5.out): Likewise.
13192         ($(objpfx)tst-array5-static.out): Likewise.
13193         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13194         $(test-program-cmd).
13195         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13196         $(run-program-prefix) with $(test-program-prefix).
13197         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13198         (test_program_prefix): This.
13199         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13200         $(run-program-prefix) with $(test-program-prefix).
13201         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13202         (test_program_prefix): This.
13203         * iconvdata/tst-tables.sh: Likewise.
13204         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13205         $(run-program-prefix) with $(test-program-prefix).
13206         ($(objpfx)tst-translit.out): Likewise.
13207         ($(objpfx)tst-gettext2.out): Likewise.
13208         ($(objpfx)tst-gettext4.out): Likewise.
13209         ($(objpfx)tst-gettext6.out): Likewise.
13210         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13211         (test_program_prefix): This.
13212         * intl/tst-gettext2.sh: Likewise.
13213         * intl/tst-gettext4.sh  Likewise.
13214         * intl/tst-gettext6.sh: Likewise.
13215         * intl/tst-translit.sh: Likewise.
13216         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13217         with $(test-program-cmd).
13218         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13219         $(run-program-prefix) with $(test-program-prefix).
13220         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13221         (test_program_prefix): This.
13222         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13223         $(run-program-prefix) with $(test-program-prefix).
13224         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13225         (test_program_prefix): This.
13226         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13227         * posix/Makefile ($(objpfx)globtest.out): Replace
13228         $(run-via-rtld-prefix) and $(test-wrapper) with
13229         $(test-program-prefix) and $(test-via-rtld-prefix).
13230         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13231         $(test-program-prefix).
13232         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13233         $(host-test-program-cmd).
13234         (tst-spawn-ARGS): Likewise.
13235         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13236         $(test-program-prefix).
13237         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13238         (test_via_rtld_prefix): This.
13239         (test_wrapper): Renamed to ...
13240         (test_program_prefix): This.
13241         (run_program_prefix): Replaced by test_program_prefix.
13242         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13243         (test_program_prefix): This.
13244         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13245         with $(host-test-program-cmd).
13246         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13247         $(run-program-prefix) with $(test-program-prefix).
13248         ($(objpfx)tst-printf.out): Likewise.
13249         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13250         $(test-program-cmd).
13251         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13252         (test_program_prefix): This.
13253         * stdio-common/tst-unbputc.sh: Likewise.
13254         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13255         $(run-program-prefix) with $(test-program-prefix).
13256         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13257         (test_program_prefix): This.
13258         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13259         $(built-program-cmd) with $(test-program-cmd).
13261 2013-01-11  Andreas Jaeger  <aj@suse.de>
13263         [BZ #15003]
13264         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13265         value. Sync with Linux 3.7.
13267 2013-01-10  David S. Miller  <davem@davemloft.net>
13269         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13270         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13271         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13273 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13275         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13276         never set.
13277         * configure: Regenerated.
13279 2013-01-10  David S. Miller  <davem@davemloft.net>
13281         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13282         sparc V9 rather than using V8 code.
13283         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13284         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13286 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13288         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13289         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13290         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13291         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13292         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13293         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13294         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13295         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13296         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13297         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13298         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13299         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13300         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13301         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13302         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13303         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13304         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13305         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13306         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13307         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13308         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13309         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13310         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13311         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13312         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13313         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13314         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13316 2013-01-10  David S. Miller  <davem@davemloft.net>
13318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13320 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13322         * posix/Makefile (tests-static): New variable.
13323         (tests): Add $(tests-static).
13324         (tst-exec-static-ARGS): New variable.
13325         (tst-spawn-static-ARGS): Likewise.
13326         * posix/tst-exec-static.c: New file.
13327         * posix/tst-spawn-static.c: Likewise.
13328         * posix/tst-exec.c: Support run directly.
13329         * posix/tst-spawn.c: Likewise.
13331 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13333         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13334         long.
13335         * math/bits/mathcalls.h (llrint): Likewise.
13336         (llround): Likewise.
13337         * stdlib/stdlib.h (struct drand48_data): Likewise.
13338         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13339         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13340         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13341         Likewise.
13342         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13343         Likewise.
13344         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13345         (elf_greg_t): Likewise.
13346         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13347         (__jmp_buf): Likewise.
13348         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13349         definitions.
13350         (llrint): Likewise, for all definitions.
13351         (llrintl): Likewise.
13353         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13354         Remove [__GNUC__] condition.
13355         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13356         condition to just [__USE_ISOC99].
13357         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13359 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13361         [BZ #14200]
13362         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13363         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13364         defined.
13365         (_POSIX_V6_ILP32_OFF32): Likewise.
13366         (_XBS5_ILP32_OFF32): Likewise.
13367         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13368         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13370 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13372         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13375         doubles __mpexp_twomm1.  Adjust usage.
13376         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13377         Remove.
13379 2013-01-10  Andreas Schwab  <schwab@suse.de>
13381         [BZ #14964]
13382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13383         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13385 2013-01-09  David S. Miller  <davem@davemloft.net>
13387         [BZ #15003]
13388         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13389         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13390         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13391         TCP_FASTOPEN): Define.
13392         (tcp_repair_opt): New structure.
13393         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13394         enum values.
13395         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13396         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13397         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13398         (tcp_cookie_transactions): New structure.
13400 2013-01-09  Anton Blanchard  <anton@samba.org>
13402         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13403         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13404         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13405         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13407 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13409         * include/features.h (__USE_ANSI): Remove.
13411 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13413         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13415         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13417 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419         * sysdeps/s390/fpu/libm-test-ulps: Update.
13421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13423         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13424         (__acr): Likewise.
13425         (__cpy): Likewise.
13426         (norm): Likewise.
13427         (denorm): Likewise.
13428         (__mp_dbl): Likewise.
13429         (__dbl_mp): Likewise.
13430         (add_magnitudes): Likewise.
13431         (sub_magnitudes): Likewise.
13432         (__add): Likewise.
13433         (__sub): Likewise.
13434         (__mul): Likewise.
13435         (__inv): Likewise.
13436         (__dvd): Likewise.
13437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13438         (__acr): Likewise.
13439         (__cpy): Likewise.
13440         (norm): Likewise.
13441         (denorm): Likewise.
13442         (__mp_dbl): Likewise.
13443         (__dbl_mp): Likewise.
13444         (add_magnitudes): Likewise.
13445         (sub_magnitudes): Likewise.
13446         (__add): Likewise.
13447         (__sub): Likewise.
13448         (__mul): Likewise.
13449         (__inv): Likewise.
13450         (__dvd): Likewise.
13451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13452         (__acr): Likewise.
13453         (__cpy): Likewise.
13454         (norm): Likewise.
13455         (denorm): Likewise.
13456         (__mp_dbl): Likewise.
13457         (__dbl_mp): Likewise.
13458         (add_magnitudes): Likewise.
13459         (sub_magnitudes): Likewise.
13460         (__add): Likewise.
13461         (__sub): Likewise.
13462         (__mul): Likewise.
13463         (__inv): Likewise.
13464         (__dvd): Likewise.
13466 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13468         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13469         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13470         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13471         2 && __USE_EXTERN_INLINES]: Likewise.
13473 2013-01-08  Andreas Jaeger  <aj@suse.de>
13475         [BZ# 14985]
13476         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13477         Remove.
13478         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13479         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13481 2013-01-07  Anton Blanchard  <anton@samba.org>
13483         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13484         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13485         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13486         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13487         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13488         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13489         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13490         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13493         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13496         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13497         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13498         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13499         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13501         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13502         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13503         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13504         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13505         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13506         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13507         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13508         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13509         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13510         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13511         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13512         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13513         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13515         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13516         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13517         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13519         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13520         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13521         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13522         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13523         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13524         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13525         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13527 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13529         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13530         (__MALLOC_PMT): Likewise.
13531         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13532         [__GNUC__], only on [_LIBC].
13533         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13534         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13535         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13536         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13537         forward declaration.
13538         (realloc_hook_ini): Likewise.
13539         (memalign_hook_ini): Likewise.
13540         (__libc_memalign): Do not use __MALLOC_PMT in variable
13541         declaration.
13542         (__libc_valloc): Likewise.
13543         (__libc_pvalloc): Likewise.
13544         (__libc_calloc): Likewise.
13545         (__posix_memalign): Likewise.
13547         [BZ #14996]
13548         * math/s_casinh.c: Include <float.h>.
13549         (__casinh): Do not do computation with squaring and square root
13550         for large arguments.
13551         * math/s_casinhf.c: Include <float.h>.
13552         (__casinhf): Do not do computation with squaring and square root
13553         for large arguments.
13554         * math/s_casinhl.c: Include <float.h>.
13555         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13556         (__casinhl): Do not do computation with squaring and square root
13557         for large arguments.
13558         * math/libm-test.inc (casin_test): Add more tests.
13559         (casinh_test): Likewise.
13560         * sysdeps/i386/fpu/libm-test-ulps: Update.
13561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13563 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13565         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13566         (__x86_64_raw_data_cache_size): Likewise.
13567         (__x86_64_data_cache_size_half): Likewise.
13568         (__x86_64_raw_data_cache_size_half): Likewise.
13569         (__x86_64_shared_cache_size): Likewise.
13570         (__x86_64_raw_shared_cache_size): Likewise.
13571         (__x86_64_shared_cache_size_half): Likewise.
13572         (__x86_64_raw_shared_cache_size_half): Likewise.
13573         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13574         to ...
13575         (__x86_data_cache_size): This.
13576         (__x86_64_raw_data_cache_size): Renamed to ...
13577         (__x86_raw_data_cache_size): This.
13578         (__x86_64_data_cache_size_half): Renamed to ...
13579         (__x86_data_cache_size_half): This.
13580         (__x86_64_raw_data_cache_size_half): Renamed to ...
13581         (__x86_raw_data_cache_size_half): This.
13582         (__x86_64_shared_cache_size): Renamed to ...
13583         (__x86_shared_cache_size): This.
13584         (__x86_64_raw_shared_cache_size): Renamed to ...
13585         (__x86_raw_shared_cache_size): This.
13586         (__x86_64_shared_cache_size_half): Renamed to ...
13587         (__x86_shared_cache_size_half): This.
13588         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13589         (__x86_raw_shared_cache_size_half): This.
13590         * sysdeps/x86_64/memcpy.S: Updated.
13591         * sysdeps/x86_64/memset.S: Likewise.
13592         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13593         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13594         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13596 2013-01-04  David S. Miller  <davem@davemloft.net>
13598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13600 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13602         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13603         1 to avoid redefinition warning.
13604         (__USE_GNU): Don't define.
13605         (init_signaling_nan): Protoize.
13607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13609 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13611         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13613         (__cpymn): Likewise.
13614         (norm): Remove commented code.
13615         (denorm): Likewise.
13616         (__mp_dbl): Likewise.
13617         (__inv): Likewise.
13618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13619         (__cpymn): Likewise.
13620         (norm): Remove commented code.
13621         (denorm): Likewise.
13622         (__mp_dbl): Likewise.
13623         (__inv): Likewise.
13625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13626         mp_no value for 1.0 and 2.0.
13627         (norm): Use RADIXI instead of radixi.d.
13628         (denorm): Likewise.
13629         (__mul): Use 0.0 instead of zero.d.
13630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13631         mp_no value for 1.0 and 2.0.
13632         (norm): Use RADIXI instead of radixi.d.
13633         (denorm): Likewise.
13634         (__mul): Use 0.0 instead of zero.d.
13636 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13638         [BZ #14994]
13639         * math/s_casinh.c (__casinh): Reduce finite argument to first
13640         quadrant then set signs of results at the end.
13641         * math/s_casinhf.c (__casinhf): Likewise.
13642         * math/s_casinhl.c (__casinhl): Likewise.
13643         * math/libm-test.inc (casin_test): Add more tests.
13644         (casinh_test): Likewise.
13645         * sysdeps/i386/fpu/libm-test-ulps: Update.
13646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13648 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13650         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13652         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13654         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13655         declarations.
13656         (denorm): Likewise.
13657         (__mp_dbl): Likewise.
13658         (__inv): Likewise.
13660         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13661         and adjust the header comment.
13663         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13664         variable name from declaration.
13666 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13669         Initialize COMMON_CPUID_INDEX_7 element.
13670         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13671         (CPUID_RTM): Likewise.
13672         (HAS_RTM): Likewise.
13673         (COMMON_CPUID_INDEX_7): New enum.
13675 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13677         [BZ #14981]
13678         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13679         size is zero, record memory as freed.
13681 2013-01-03  Andreas Jaeger  <aj@suse.de>
13683         * po/ia.po: Add new Interlingua translation.
13685 2012-01-03  Allan McRae  <allan@archlinux.org>
13687         * locale/programs/localedef.c: Fix description of '--posix' flag.
13689 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13691         * NEWS: Update dates in second copyright notice.
13692         * README: Update copyright dates in example.
13693         * manual/libc.texinfo: Update copyright dates.
13694         * scripts/test-installation.pl: Update copyright date in --version
13695         output.
13697         * hurd/ctty-input.c: Fix copyright notice formatting.
13698         * hurd/ctty-output.c: Likewise.
13699         * hurd/dtable.c: Likewise.
13700         * hurd/hurd-raise.c: Likewise.
13701         * hurd/hurdprio.c: Likewise.
13702         * hurd/msgportdemux.c: Likewise.
13703         * misc/sys/file.h: Likewise.
13704         * misc/sys/ioctl.h: Likewise.
13705         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13706         * sysdeps/mach/hurd/chdir.c: Likewise.
13707         * sysdeps/mach/hurd/fchdir.c: Likewise.
13708         * sysdeps/mach/hurd/rename.c: Likewise.
13709         * sysdeps/mach/hurd/rmdir.c: Likewise.
13710         * sysdeps/mach/hurd/seekdir.c: Likewise.
13711         * sysdeps/mach/hurd/setsid.c: Likewise.
13712         * sysdeps/posix/wait3.c: Likewise.
13714         * All files with FSF copyright notices: Update copyright dates
13715         using scripts/update-copyrights.
13716         * intl/plural.c: Regenerated.
13717         * locale/programs/charmap-kw.h: Likewise.
13718         * locale/programs/locfile-kw.h: Likewise.
13720 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13722         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13723         four values.
13725         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13726         calculation loop and add branch prediction.
13728         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13729         check access beyond bounds of m1np.
13731         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13732         MPTWO.
13733         (__inv): Remove local variable MPTWO to use the global
13734         constant.
13735         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13737         variable MPTWO.
13738         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13739         MP3HALFS static const.
13741 2013-01-01  David S. Miller  <davem@davemloft.net>
13743         * po/ca.po: Update from translation team.
13745 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13747         * scripts/update-copyrights: New file.
13748         * Makeconfig: Reformat copyright notice.
13749         * ctype/ctype.h: Likewise.
13750         * debug/swprintf_chk.c: Likewise.
13751         * elf/dl-cache.c: Likewise.
13752         * elf/dl-debug.c: Likewise.
13753         * elf/dl-object.c: Likewise.
13754         * grp/initgroups.c: Likewise.
13755         * hurd/Makefile: Likewise.
13756         * hurd/hurd/signal.h: Likewise.
13757         * hurd/hurdfault.c: Likewise.
13758         * hurd/hurdioctl.c: Likewise.
13759         * hurd/hurdlookup.c: Likewise.
13760         * hurd/intr-msg.c: Likewise.
13761         * iconv/gconv_open.c: Likewise.
13762         * libio/swprintf.c: Likewise.
13763         * locale/lc-ctype.c: Likewise.
13764         * locale/nl_langinfo.c: Likewise.
13765         * mach/Machrules: Likewise.
13766         * mach/Makefile: Likewise.
13767         * malloc/obstack.h: Likewise.
13768         * manual/Makefile: Likewise.
13769         * manual/tsort.awk: Likewise.
13770         * misc/bits/stab.def: Likewise.
13771         * nis/nis_print_group_entry.c: Likewise.
13772         * nis/nis_table.c: Likewise.
13773         * nis/nss_compat/compat-pwd.c: Likewise.
13774         * nis/nss_compat/compat-spwd.c: Likewise.
13775         * po/Makefile: Likewise.
13776         * posix/fnmatch.c: Likewise.
13777         * posix/regex.h: Likewise.
13778         * resolv/Makefile: Likewise.
13779         * resolv/nss_dns/dns-network.c: Likewise.
13780         * resolv/res_hconf.c: Likewise.
13781         * scripts/gen-sorted.awk: Likewise.
13782         * soft-fp/soft-fp.h: Likewise.
13783         * stdio-common/printf.h: Likewise.
13784         * stdlib/monetary.h: Likewise.
13785         * stdlib/random.c: Likewise.
13786         * stdlib/random_r.c: Likewise.
13787         * sysdeps/generic/Makefile: Likewise.
13788         * sysdeps/gnu/Makefile: Likewise.
13789         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13791         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13793         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13796         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13797         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13799         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13800         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13801         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13802         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13803         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13804         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13805         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13806         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13807         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13809         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13810         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13811         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13812         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13813         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13814         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13815         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13817         * sysdeps/mach/hurd/errnos.awk: Likewise.
13818         * sysdeps/mach/hurd/fork.c: Likewise.
13819         * sysdeps/mach/hurd/getcwd.c: Likewise.
13820         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13821         * sysdeps/mach/hurd/mmap.c: Likewise.
13822         * sysdeps/mach/hurd/utimes.c: Likewise.
13823         * sysdeps/mach/hurd/xmknod.c: Likewise.
13824         * sysdeps/posix/profil.c: Likewise.
13825         * sysdeps/posix/readdir_r.c: Likewise.
13826         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13827         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13828         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13829         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13831         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13832         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13833         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13835         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13836         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13837         * sysdeps/pthread/lio_listio.c: Likewise.
13838         * sysdeps/sparc/dl-procinfo.h: Likewise.
13839         * sysdeps/unix/i386/sysdep.S: Likewise.
13840         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13841         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13842         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13843         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13845         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13846         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13847         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13848         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13849         * sysdeps/wordsize-32/divdi3.c: Likewise.
13850         * time/sys/time.h: Likewise.
13851         * wcsmbs/Makefile: Likewise.
13853 2013-01-01  David S. Miller  <davem@davemloft.net>
13855         * po/fr.po: Update from translation team.
13857         * catgets/gencat.c: Update copyright year.
13858         * csu/version.c: Likewise.
13859         * debug/catchsegv.sh: Likewise.
13860         * debug/pcprofiledump.c: Likewise.
13861         * debug/xtrace.sh: Likewise.
13862         * elf/ldconfig.c: Likewise.
13863         * elf/ldd.bash.in: Likewise.
13864         * elf/pldd.c: Likewise.
13865         * elf/sotruss.ksh: Likewise.
13866         * elf/sprof.c: Likewise.
13867         * iconv/iconv_prog.c: Likewise.
13868         * iconv/iconvconfig.c: Likewise.
13869         * locale/programs/locale.c: Likewise.
13870         * locale/programs/localedef.c: Likewise.
13871         * login/programs/pt_chown.c: Likewise.
13872         * malloc/memusage.sh: Likewise.
13873         * malloc/memusagestat.c: Likewise.
13874         * malloc/mtrace.pl: Likewise.
13875         * nscd/nscd.c: Likewise.
13876         * nss/getent.c: Likewise.
13877         * nss/makedb.c: Likewise.
13878         * posix/getconf.c: Likewise.
13880 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13882         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13883         numbers.
13885 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13887         * math/bits/mathcalls.h (modf): Use __nonnull.
13889 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13891         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13892         (split): Use macro CN instead of the bare value.
13893         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13894         could be used.
13895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13896         instead of the bare value.
13897         (power1): Likewise.
13899 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13902         __ATAN_TWOM.
13903         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13905         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13906         their values.
13907         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13908         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13909         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13910         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13912 2012-12-28  Andreas Jaeger  <aj@suse.de>
13914         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13915         values are from Linux 3.7.
13917         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13918         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13920 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13922         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13923         TRUE case.
13925         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13926         (norm): Likewise.
13927         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13928         variables with preprocessor constants.
13929         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13930         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13931         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13933 2012-12-27  Bruno Haible  <bruno@clisp.org>
13935         [BZ #14317]
13936         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13937         only if needed.
13939 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13942         and use variable directly.
13943         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13945         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13946         MPONE.
13947         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13948         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13949         variable MPONE.
13950         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13952         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13953         include directive.  Remove local variable MPONE.
13954         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13955         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13956         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13958 2012-12-25  David S. Miller  <davem@davemloft.net>
13960         * version.h (RELEASE): Set to "development".
13961         (VERSION): Set to "2.17.90".
13962         * NEWS: Add 2.18 section.
13964 2012-12-21  David S. Miller  <davem@davemloft.net>
13966         * po/hr.po: Update from translation team.
13968 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13970         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13972 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13974         * NEWS:  Mention new memcpy for MIPS.
13976 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13978         * manual/contrib.texi (Contributors): Spelling correction.
13980 2012-12-15  David S. Miller  <davem@davemloft.net>
13982         * po/ru.po: Update from translation team.
13984 2012-12-13  David S. Miller  <davem@davemloft.net>
13986         * NEWS: Mention IFUNC testsuite enhancements.
13988         * po/pl.po: Update from translation team.
13989         * po/bg.po: Likewise.
13991         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13992         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13994 2012-12-11  David S. Miller  <davem@davemloft.net>
13996         * po/sv.po: Update from translation team.
13998         * po/vi.po: Update from translation team.
14000         * po/cs.po: Update from translation team.
14002         * po/de.po: Update from translation team.
14003         * po/eo.po: Likewise.
14004         * po/nl.po: Likewise.
14006 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14008         [BZ #14246]
14009         * manual/argp.texi (Argp Helper Functions): Move node to follow
14010         Argp Parsing State.
14012         [BZ #14872]
14013         * manual/conf.texi (Limits on File System Capacity): Mention if
14014         terminating null is included in the max size.
14016 2012-12-10  Andreas Jaeger  <aj@suse.de>
14018         * po/cs.po: Update from translation team.
14020 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14022         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14023         void pointer and cast to uintptr_t.
14024         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14025         path.
14026         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14027         * sysdeps/s390/s390-64/memset.S: Likewise.
14029 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14031         [BZ #14833]
14032         * menual/message.texi (Message Translation): Fix typos.
14033         (Helper programs for gettext): Likewise.
14035 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14037         [BZ #14898]
14038         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14039         Change to -1.
14041 2012-12-07  David S. Miller  <davem@davemloft.net>
14043         * po/libc.pot: Update.
14045 2012-12-07  Richard Henderson  <rth@redhat.com>
14047         [BZ #10114]
14048         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14049         normal/normal case to before the switch.
14050         (_FP_DIV): Likewise.
14052 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14053             Mike Frysinger  <vapier@gentoo.org>
14055         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14056         check for __NR_fadvise64_64.
14058 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14060         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14061         0, not just to plain "0" as a statement.
14062         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14063         with cw.
14065 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14067         * NEWS: Use sourceware.org in Bugzilla URL.
14069 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14072         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14074         * stdio-common/tst-put-error.c (do_test): Add newline to the
14075         padded test to ensure flush.
14077 2012-12-05  Jeff Law  <law@redhat.com>
14079         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14081 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14083         * README: Don't refer to ports add-on as distributed separately.
14084         Mention AArch64 in list of systems supported in the ports add-on.
14086         * LICENSES: Add more non-FSF copyright and license notices.
14088         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14089         ((unused)).
14091         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14093         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14094         10000 as width of padded output.
14096 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14098         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14100         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14101         variable LX with __attribute__ ((unused)).
14102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14103         Likewise.
14104         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14106         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14107         with __attribute__ ((unused)).
14109 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14111         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14113 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14115         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14116         (CFLAGS-nldbl-acos.c): New variable.
14117         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14118         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14119         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14120         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14121         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14122         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14123         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14124         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14125         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14126         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14127         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14128         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14129         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14130         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14131         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14132         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14133         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14134         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14135         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14136         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14137         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14138         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14139         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14140         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14141         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14142         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14143         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14144         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14145         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14146         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14147         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14148         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14149         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14150         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14151         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14152         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14153         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14154         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14155         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14156         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14157         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14158         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14159         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14160         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14161         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14162         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14163         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14164         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14165         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14166         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14167         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14168         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14169         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14170         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14171         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14172         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14173         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14174         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14175         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14176         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14177         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14178         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14179         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14180         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14181         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14182         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14183         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14184         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14185         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14186         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14187         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14188         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14189         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14190         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14191         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14192         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14193         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14194         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14195         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14196         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14197         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14198         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14199         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14200         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14201         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14202         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14203         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14204         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14205         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14206         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14207         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14208         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14209         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14210         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14211         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14212         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14213         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14216         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14218         [BZ #14914]
14219         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14220         whole low double instead of just low 47 bits when splitting values
14221         into two parts.
14223 2012-12-03  Allan McRae  <allan@archlinux.org>
14225         * manual/stdio.texi (Predefined Printf Handlers): Remove
14226         @hsep and @vsep usage.
14228 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14230         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14231         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14233 2012-12-03  Jeff Law  <law@redhat.com>
14235         * time/sys/time.h (settimeofday): Do not mark TV argument
14236         as __nonnull.
14238 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14240         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14241         when currently writing and seek to current position when not.
14242         * libio/Makefile (tests): Remove bug-fclose1.
14243         * libio/bug-fclose1.c: Delete.
14245 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14247         * manual/arith.texi (feenableexcept): Fix typo.
14248         (fedisableexcept): Likewise.
14250 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14252         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14253         second, differently-typed declaration, rather than a cast.
14255 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14257         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14258         * include/rpc/svc.h: ... here.
14260 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14262         [BZ #13013]
14263         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14264         depending n and resplen2 to catch cases where answer
14265         equals answerp2.
14267 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14269         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14270         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14272 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14276 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14278         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14280 2012-11-28  Jeff Law  <law@redhat.com>
14282         [BZ #13761]
14283         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14284         dataset_temporary.  Track alloca usage into alloca_used.
14285         If dataset is large allocate and release it via malloc/free.
14287 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14289         [BZ #14197]
14290         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14292 2012-11-28  David S. Miller  <davem@davemloft.net>
14294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14298         [BZ #14803]
14299         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14300         of pi/2 rounded to nearest to 64 bits.
14301         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14302         nearest to 64 bits.
14303         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14304         bits.
14306 2012-11-28  Jeff Law <law@redhat.com>
14307             Martin Osvald <mosvald@redhat.com>
14309         [BZ #14889]
14310         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14311         * sunrpc/svc.c: Include time.h.
14312         (__svc_accept_failed): New function.
14313         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14314         any reason other than EINTR, call __svc_accept_failed.
14315         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14316         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14318 2012-11-28  Andreas Schwab  <schwab@suse.de>
14320         * scripts/abilist.awk: Also handle indirect functions in .opd
14321         section.
14323 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14325         [BZ #13881]
14326         * sysdeps/x86/fpu/powl_helper.c: New file.
14327         * sysdeps/x86/fpu/Makefile: Likewise.
14328         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14329         (p3): New object.
14330         (__ieee754_powl): Use __powl_helper for finite arguments except
14331         integer exponents below 8.
14332         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14333         (p3): New object.
14334         (__ieee754_powl): Use __powl_helper for finite arguments except
14335         integer exponents below 8.
14336         * math/libm-test.inc (pow_test): Add more tests and enable some
14337         previously disabled tests.
14338         * sysdeps/i386/fpu/libm-test-ulps: Update.
14339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14341 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14342             Carlos O'Donell  <carlos_odonell@mentor.com>
14344         * nss/makedb.c (is_prime): Assert that input is odd and greater
14345         than 4.  Note that fact in a comment too.
14346         (next_prime): Add 4 to input.
14348 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14350         [BZ #11741]
14351         * libio/Makefile (tests): Add test case tst-fwrite-error.
14352         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14353         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14354         * libio/tst-fwrite-error.c: New test case.
14356 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14358         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14359         before casting to void *.
14360         * include/libc-internal.h (__pointer_type): New macro.
14361         (__integer_if_pointer_type_sub): Likewise.
14362         (__integer_if_pointer_type): Likewise.
14363         (cast_to_integer): Likewise.
14364         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14365         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14366         before casting to atomic64_t.
14367         (atomic_exchange_acq): Likewise.
14368         (__arch_exchange_and_add_body): Likewise.
14369         (__arch_add_body): Likewise.
14370         (atomic_add_negative): Likewise.
14371         (atomic_add_zero): Likewise.
14373 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14375         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14376         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14377         (add_fdes): Likewise.
14378         (linear_search_fdes): Likewise.
14379         (binary_search_unencoded_fdes): Likewise.
14381 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14383         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14385 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14387         * configure.in: Autodetect C++ header directories.
14388         * configure: Regenerated.
14390 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14392         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14394 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14400         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14401         LDBL_MANT_DIG == 106]: Disable some tests.
14402         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14403         Likewise.
14404         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14405         Likewise.
14407         [BZ #14871]
14408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14409         input for small inputs.  Return +/- pi/2 for large inputs.
14410         * math/libm-test.inc (atan_test): Add more tests.
14412         * sysdeps/generic/unwind-dw2-fde-glibc.c
14413         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14414         __attribute__ ((unused)).
14416         [BZ #14645]
14417         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14418         x * y if x and y are nonzero and z is zero.
14420         [BZ #14811]
14421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14422         nonzero exponents with absolute value below 0x1p-117 to +/-
14423         0x1p-117.
14425         [BZ #14869]
14426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14427         up arguments below 2**-450, not just those below 2**-500.
14428         * math/libm-test.inc (hypot_test): Add another test.
14430         [BZ #14868]
14431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14432         Return a+b for ratio over 2**120, not 2**60.
14433         * math/libm-test.inc (hypot_test): Add another test.
14435         * math/libm-test.inc (clog_test): Use
14436         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14437         (clog10_test): Likewise.
14439         [BZ #6778]
14440         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14442 2012-11-22  Andreas Schwab  <schwab@suse.de>
14444         * sysdeps/i386/fpu/libm-test-ulps: Update.
14446 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14448         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14449         printf output with newline.
14451 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14453         [BZ #14865]
14454         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14455         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14456         -z nodlopen, -z initfirst and -z execstack support.
14457         * configure: Regenerated.
14459         * elf/elf.h (DF_1_NODIRECT): New macro.
14460         (DF_1_IGNMULDEF): Likewise.
14461         (DF_1_NOKSYMS): Likewise.
14462         (DF_1_NOHDR): Likewise.
14463         (DF_1_EDITED): Likewise.
14464         (DF_1_NORELOC): Likewise.
14465         (DF_1_SYMINTPOSE): Likewise.
14466         (DF_1_GLOBAUDIT): Likewise.
14467         (DF_1_SINGLETON): Likewise.
14468         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14469         DT_1_SUPPORTED_MASK bits.
14470         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14472 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14474         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14476 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14478         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14479         macro.
14481         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14482         (sendmmsg): Move declarations...
14483         * socket/sys/socket.h: ... here.
14484         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14485         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14486         include it from...
14487         * socket/recvmmsg.c: ... this new file.
14488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14489         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14490         definition of __sendmmsg hidden.
14491         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14492         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14493         Move ENOSYS stub into and include it from...
14494         * socket/sendmmsg.c: ... this new file.
14495         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14496         (sysdep_routines): Move recvmmsg and sendmmsg...
14497         * socket/Makefile (routines): ... here.
14498         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14499         (GLIBC_PRIVATE): Add __sendmmsg.
14500         * include/sys/socket.h (__sendmmsg): Add declarations.
14501         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14502         sendmmsg.
14504 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14506         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14507         variable I1 with __attribute__ ((unused)).
14508         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14510 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14512         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14513         DUMMY variables with __attribute__ ((unused)).
14515         * bits/byteswap.h: Include <bits/types.h>.
14516         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14518 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14520         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14521         string_t.  Do not manually set errno.
14522         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14523         length with __strnlen.  Make sure to both set errno and return it on
14524         failure.
14526 2012-11-19  David S. Miller  <davem@davemloft.net>
14528         With help from Joseph Myers.
14529         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14530         very large arguments properly.
14531         * math/libm-test.inc (atan_test): New tests.
14532         (atan2_test): New tests.
14533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14536 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14538         [BZ #14856]
14539         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14540         Define to 3.
14542         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14543         [POSIX] (EADDRNOTAVAIL): Likewise.
14544         [POSIX] (EAFNOSUPPORT): Likewise.
14545         [POSIX] (EALREADY): Likewise.
14546         [POSIX] (ECONNABORTED): Likewise.
14547         [POSIX] (ECONNREFUSED): Likewise.
14548         [POSIX] (ECONNRESET): Likewise.
14549         [POSIX] (EDESTADDRREQ): Likewise.
14550         [POSIX] (EDQUOT): Likewise.
14551         [POSIX] (EHOSTUNREACH): Likewise.
14552         [POSIX] (EIDRM): Likewise.
14553         [POSIX] (EISCONN): Likewise.
14554         [POSIX] (ELOOP): Likewise.
14555         [POSIX] (EMULTIHOP): Likewise.
14556         [POSIX] (ENETDOWN): Likewise.
14557         [POSIX] (ENETUNREACH): Likewise.
14558         [POSIX] (ENOBUFS): Likewise.
14559         [POSIX] (ENODATA): Likewise.
14560         [POSIX] (ENOLINK): Likewise.
14561         [POSIX] (ENOMSG): Likewise.
14562         [POSIX] (ENOPROTOOPT): Likewise.
14563         [POSIX] (ENOSR): Likewise.
14564         [POSIX] (ENOSTR): Likewise.
14565         [POSIX] (ENOTCONN): Likewise.
14566         [POSIX] (ENOTSOCK): Likewise.
14567         [POSIX] (EOPNOTSUPP): Likewise.
14568         [POSIX] (EOVERFLOW): Likewise.
14569         [POSIX] (EPROTO): Likewise.
14570         [POSIX] (EPROTONOSUPPORT): Likewise.
14571         [POSIX] (EPROTOTYPE): Likewise.
14572         [POSIX] (ESTALE): Likewise.
14573         [POSIX] (ETIME): Likewise.
14574         [POSIX] (ETXTBSY): Likewise.
14575         [POSIX] (EWOULDBLOCK): Likewise.
14576         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14577         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14578         [POSIX] (SEEK_CUR): Likewise.
14579         [POSIX] (SEEK_END): Likewise.
14580         [POSIX || UNIX98] (mode_t): Do not require.
14581         [POSIX] (off_t): Likewise.
14582         [POSIX] (pid_t): Likewise.
14583         [POSIX] (sys/stat.h): Do not allow header.
14584         [POSIX] (unistd.h): Likewise.
14585         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14586         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14587         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14588         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14589         require.
14590         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14591         sigevent): Specify elements.
14592         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14593         entry.
14594         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14595         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14597         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14598         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14599         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14600         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14601         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14602         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14603         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14604         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14605         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14606         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14607         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14608         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14609         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14610         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14611         Likewise.
14612         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14613         Likewise.
14614         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14615         Likewise.
14616         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14617         Likewise.
14618         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14619         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14620         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14621         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14622         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14623         Specify lower bound on value.
14624         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14625         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14626         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14627         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14628         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14629         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14630         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14631         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14632         value.
14633         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14634         as optional.
14635         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14636         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14637         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14638         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14639         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14640         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14641         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14642         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14643         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14644         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14645         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14646         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14648         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14649         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14650         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14651         entry.
14652         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14653         optional.
14654         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14655         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14656         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14657         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14658         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14659         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14660         Likewise.
14661         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14662         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14663         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14664         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14665         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14666         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14667         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14668         as optional.
14669         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14670         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14671         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14672         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14673         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14674         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14675         specify as optional.
14676         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14677         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14678         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14679         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14680         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14681         [XPG3] (NL_LANGMAX): Likewise.
14682         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14683         [POSIX || XPG3] (NL_NMAX): Likewise.
14684         [POSIX || XPG3] (NL_SETMAX): Likewise.
14685         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14686         [XPG3] (NZERO): Likewise.
14687         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14688         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14689         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14690         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14691         (REG_ERANGE): Expect.
14692         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14693         optional-constant.
14694         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14695         Use (void) in prototype.
14696         [POSIX] (*_t): Allow.
14697         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14698         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14699         (WRDE_BADVAL): Expect.
14701         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14702         expect.
14703         [XPG3 || XPG4] (O_RSYNC): Likewise.
14704         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14705         Likewise.
14706         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14707         [XPG3 || XPG4] (sigqueue): Likewise.
14708         [XPG3 || XPG4] (sigtimedwait): Likewise.
14709         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14710         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14711         [XPG3 || XPG4] (vsnprintf): Likewise.
14712         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14713         Likewise.
14714         [XPG3 || XPG4] (blksize_t): Likewise.
14715         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14716         Likewise.
14717         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14718         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14719         [XPG3 || XPG4] (struct itimerspec): Likewise.
14720         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14721         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14722         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14723         [XPG3 || XPG4] (clockid_t): Likewise.
14724         [XPG3 || XPG4] (timer_t): Likewise.
14725         [XPG3 || XPG4] (clock_getres): Likewise.
14726         [XPG3 || XPG4] (clock_gettime): Likewise.
14727         [XPG3 || XPG4] (clock_settime): Likewise.
14728         [XPG3 || XPG4] (nanosleep): Likewise.
14729         [XPG3 || XPG4] (timer_create): Likewise.
14730         [XPG3 || XPG4] (timer_delete): Likewise.
14731         [XPG3 || XPG4] (timer_gettime): Likewise.
14732         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14733         [XPG3 || XPG4] (timer_settime): Likewise.
14734         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14735         [XPG3 || XPG4] (getlogin_r): Likewise.
14736         [XPG3 || XPG4] (pread): Likewise.
14737         [XPG3 || XPG4] (pthread_atfork): Likewise.
14738         [XPG3 || XPG4] (pwrite): Likewise.
14740         [BZ #14835]
14741         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14742         <bits/siginfo.h>.
14744 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14746         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14747         finalizing MALLSTREAM.
14749         * sysdeps/mach/hurd/syncfs.c: New file.
14751 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         [BZ #14719]
14754         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14755         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14756         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14757         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14758         (_nss_dns_gethostbyname4_r): Likewise.
14759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14760         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14762 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14764         [BZ #13763]
14765         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14767 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14769         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14770         * elf/cache.c (print_entry): Print ",AArch64" for
14771         FLAG_AARCH64_LIB64
14773         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14774         * elf/cache.c (print_entry): Print ",hard-float" for
14775         FLAG_ARM_LIBHF.
14777 2012-11-18  David S. Miller  <davem@davemloft.net>
14779         With help from Joseph Myers.
14780         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14781         cutoff to 2**-13.
14782         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14783         cutoff to 2**-25.
14784         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14785         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14786         small.
14787         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14788         * math/libm-test.inc (y0_test): New tests.
14789         (y1_test): New tests.
14790         * sysdeps/i386/fpu/libm-test-ulps: Update.
14791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14794 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14796         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14797         64-bit targets.
14798         * configure: Regenerated.
14800 2012-11-17  David S. Miller  <davem@davemloft.net>
14802         [BZ #14811]
14803         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14804         nonzero exponents with absolute value below 0x1p-128 to +/-
14805         0x1p-128.
14807 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14809         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14811         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14813         * posix/getconf-speclist.c: New file.
14814         * posix/posix-envs.def: Likewise.
14815         * posix/confstr.c (START_ENV_GROUP): New macro.
14816         (END_ENV_GROUP): Likewise.
14817         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14818         (KNOWN_PRESENT_ENV_STRING): Likewise.
14819         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14820         (UNKNOWN_ENVIRONMENT): Likewise.
14821         (confstr): Include posix-envs.def instead of handling
14822         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14823         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14824         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14825         (END_ENV_GROUP): Likewise.
14826         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14827         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14828         (UNKNOWN_ENVIRONMENT): Likewise.
14829         (__sysconf): Include posix-envs.def instead of handling associated
14830         cases directly here.
14831         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14832         preprocessing getconf-speclist.c rather than running getconf or
14833         generating empty file.
14835 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14837         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14839 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14841         [BZ #14672]
14842         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14844 2012-11-16  David S. Miller  <davem@davemloft.net>
14846         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14847         smaller than LDBL_EPSILON/2.0L, just return xm1.
14849 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14851         * elf/tst-array1.c (init): Set constructor priority to 1000.
14852         (fini): Set destructor priority to 1000.
14853         * elf/tst-array2dep.c: Likewise.
14855 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14857         [BZ #11741]
14858         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14859         (_IO_new_file_xsputn): Also return EOF if none of the input
14860         data was written when overflow failed.
14861         * libio/iopadn.c (_IO_padn): Likewise.
14862         * libio/iowpadn.c (_IO_wpadn): Likewise.
14863         * stdio-common/tst-put-error.c: Add copyright notice.
14864         (do_test): Add case for printing padded string.
14865         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14866         _IO_padn returned error.
14867         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14868         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14869         return EOF.
14871 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14873         * libio/libioP.h: Add comment note that the references to C++
14874         bits are now obsolete.
14876 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14878         * math/libm-test.inc (check_complex): Use asprintf.
14880 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14882         * debug/pcprofiledump.c (print_version): Update copyright year.
14883         * malloc/memusagestat.c (print_version): Likewise.
14885 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14887         [BZ #14831]
14888         * elf/Makefile (tests): Add tst-audit8.
14889         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14890         ($(objpfx)tst-audit8.out): New target.
14891         (tst-audit8-ENV): New variable.
14892         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14893         audit if l_reloc_result is NULL.
14894         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14895         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14896         * elf/tst-audit8.c: New file.
14898 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14900         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14901         * misc/Makefile (CFLAGS-select.c): Define.
14902         * posix/Makefile (CFLAGS-pause.c): Define.
14904 2012-11-13  David S. Miller  <davem@davemloft.net>
14906         * crypt/Makefile: Move test targets after toplevel Rules
14907         inclusion.  Grab any necessary sysdep routines when linking.
14908         * crypt/md5.c (md5_process_block): Remove define, we will always
14909         name it __md5_process_block.
14910         (md5_finish_ctx): Update md5_process_block call.
14911         (md5_stream): Likewise.
14912         (md5_process_bytes): Likewise.
14913         (md5_process_block): Rename to __md5_process_block and move to ...
14914         * crypt/md5-block.c: ... here.
14915         * crypt/sha256.c (sha256_process_block): Move to ...
14916         * crypt/sha256-block.c: ... here.
14917         * crypt/sha512.c (sha512_process_block): Move to ...
14918         * crypt/sha512-block.c: ... here.
14919         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14920         path.
14921         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14922         * sysdeps/sparc/sparc64/multiarch/Makefile
14923         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14924         crypt subdir.
14925         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14926         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14927         multiarch changes.
14928         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14929         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14930         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14931         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14932         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14933         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14934         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14935         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14936         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14937         file.
14938         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14939         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14940         file.
14941         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14943 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14945         * timezone/tzselect.ksh: Update from tzcode git revision
14946         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14947         * timezone/zdump.c: Likewise.
14948         * timezone/zic.c: Likewise.
14949         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14950         in TZVERSION setting, not $(PKGVERSION).
14951         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14952         REPORT_BUGS_TO settings.
14954         [BZ #14838]
14955         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14956         macro.
14958 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14960         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14961         detection to immediately after _FP_ROUND().
14962         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14963         bits are 0.
14965 2012-11-11  David S. Miller  <davem@davemloft.net>
14967         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14968         inttypes.h
14969         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14970         __close rather than their public counterparts.
14972 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14974         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14975         file.
14976         [UNIX98] (sem_timedwait): Do not expect.
14977         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14978         [XPG4 || UNIX98] (sockatmark): Do not expect.
14979         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14980         (clock_getcpuclockid): Do not expect.
14981         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14982         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14983         Do not expect.
14984         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14985         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14986         [UNIX98] (vwscanf): Likewise.
14987         [UNIX98] (vswscanf): Likewise.
14989 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14991         * timezone/version.h: Remove file.
14992         * timezone/README: Do not refer to version.h.
14993         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14994         $(objpfx)version.h.
14995         ($(objpfx)zdump.o): Likewise.
14996         ($(objpfx)version.h): New target.
14998         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14999         2012i.
15000         * timezone/README: Don't mention modification to tzselect.ksh.
15001         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15002         work on unmodified tzselect.ksh.  Substitute version numbers in
15003         tzselect.ksh.
15005         * Makefile (format-me): Remove.
15006         (INSTALL): Adjust indentation.  Use commands directly instead of
15007         using $(format-me).
15009         * aclocal.m4 (ACX_PKGVERSION): New macro.
15010         (ACX_BUGURL): Likewise.
15011         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15012         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15013         (REPORT_BUGS_TO): Likewise.
15014         * configure: Regenerated.
15015         * config.h.in (PKGVERSION): New macro.
15016         (REPORT_BUGS_TO): Likewise.
15017         * config.make.in (PKGVERSION): New variable.
15018         (PKGVERSION_TEXI): Likewise.
15019         (REPORT_BUGS_TO): Likewise.
15020         (REPORT_BUGS_TEXI): Likewise.
15021         * Makefile (format-me): Use -I$(common-objpfx)manual.
15022         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15023         ($(common-objpfx)manual/%): New target.
15024         (manual/%): Remove target.
15025         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15026         (print_version): Use PKGVERSION.
15027         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15028         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15029         and REPORT_BUGS_TO.
15030         ($(objpfx)xtrace): Likewise.
15031         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15032         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15033         (print_version): Use PKGVERSION.
15034         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15035         (do_version): Use PKGVERSION.
15036         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15037         REPORT_BUGS_TO.
15038         (common-ldd-rewrite): Likewise.
15039         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15040         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15041         (print_version): Use PKGVERSION.
15042         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15043         * elf/pldd.c (argp_program_bug_address): Remove variable.
15044         (more_help): New function.
15045         (argp): Use more_help.
15046         (print_version): Use PKGVERSION.
15047         * elf/sln.c (main): Use PKGVERSION.
15048         (usage): Use REPORT_BUGS_TO.
15049         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15050         (top level): Use PKGVERSION.
15051         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15052         (print_version): Use PKGVERSION.
15053         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15054         (print_version): Use PKGVERSION.
15055         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15056         (print_version): Use PKGVERSION.
15057         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15058         (print_version): Use PKGVERSION.
15059         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15060         (print_version): Use PKGVERSION.
15061         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15062         (print_version): Use PKGVERSION.
15063         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15064         and BUGURL.
15065         ($(objpfx)memusage): Likewise.
15066         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15067         (do_version): Use PKGVERSION.
15068         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15069         (print_version): Use PKGVERSION.
15070         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15071         ($PKGVERSION): New variable.
15072         ($REPORT_BUGS_TO): Likewise.
15073         (usage): Use $REPORT_BUGS_TO.
15074         (top level): Use $PKGVERSION.
15075         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15076         ($(objpfx)pkgvers.texi): New rule.
15077         ($(objpfx)stamp-pkgvers): Likewise.
15078         * manual/install.texi: Include pkgvers.texi.
15079         (--with-pkgversion): Document new configure option.
15080         (--with-bugurl): Likewise.
15081         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15082         than necessarily for this particular distribution.  Use
15083         REPORT_BUGS_TO for where to report bugs.
15084         * INSTALL: Regenerated.
15085         * manual/libc.texinfo: Include pkgvers.texi.
15086         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15087         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15088         (print_version): Use PKGVERSION.
15089         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15090         (print_version): Use PKGVERSION.
15091         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15092         (print_version): Use PKGVERSION.
15093         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15094         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15095         macro.
15096         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15097         (print_version): Use PKGVERSION.
15098         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15099         (print_version): Use PKGVERSION.
15100         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15101         and PKGVERSION.
15103         * timezone/checktab.awk: Update from tzcode 2012i.
15104         * timezone/ialloc.c: Likewise.
15105         * timezone/private.h: Likewise.
15106         * timezone/scheck.c: Likewise.
15107         * timezone/tzfile.h: Likewise.
15108         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15109         (TZVERSION): Hardcode tzcode version number.
15110         * timezone/zdump.c: Update from tzcode 2012i.
15111         * timezone/zic.c: Likewise.
15112         * timezone/version.h: New file.
15113         * timezone/README: Describe version.h.  Update upstream location.
15115         [BZ #14824]
15116         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15117         (mktemp): Enable declaration.
15118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15122         Likewise.
15123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15124         Likewise.
15125         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15126         Likewise.
15127         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15128         Likewise.
15129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15130         Likewise.
15131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15132         Likewise.
15134         [BZ #14821]
15135         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15136         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15137         for copies of such integer values.
15138         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15139         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15141 2012-11-09  Andreas Jaeger  <aj@suse.de>
15143         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15144         definitions and declarations that are provided by
15145         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15147 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15149         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15150         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15151         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15152         definition.
15154 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15156         * elf/elf.h: Update comment before AArch64 relocations.
15158 2012-11-07  David S. Miller  <davem@davemloft.net>
15160         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15161         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15162         (__start_context): Declare.
15163         (__makecontext_ret): Delete.
15164         (__makecontext): Hook up __start_context instead of
15165         __makecontext_ret.
15166         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15167         (sysdep_routines): Add __start_context when in stdlib.
15169 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15171         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15172         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15173         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15174         hardcoded "nm".
15175         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15176         (READELF): New variable.  Use it instead of hardcoded "readelf".
15178 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15180         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15181         * sysdeps/x86/Makefile: Here.
15182         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15183         * sysdeps/x86/tst-xmmymm.sh: This.
15185 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15187         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15188         expectations.
15189         [UNIX98] (pthread_barrier_t): Do not expect.
15190         [UNIX98] (pthread_barrierattr_t): Likewise.
15191         [UNIX98] (pthread_spinlock_t): Likewise.
15192         [UNIX98] (pthread_barrier_destroy): Likewise.
15193         [UNIX98] (pthread_barrier_init): Likewise.
15194         [UNIX98] (pthread_barrier_wait): Likewise.
15195         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15196         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15197         [UNIX98] (pthread_barrierattr_init): Likewise.
15198         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15199         [UNIX98] (pthread_getcpuclockid): Likewise.
15200         [UNIX98] (pthread_mutex_timedlock): Likewise.
15201         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15202         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15203         [UNIX98] (pthread_sigmask): Likewise.
15204         [UNIX98] (pthread_spin_destroy): Likewise.
15205         [UNIX98] (pthread_spin_init): Likewise.
15206         [UNIX98] (pthread_spin_lock): Likewise.
15207         [UNIX98] (pthread_spin_trylock): Likewise.
15208         [UNIX98] (pthread_spin_unlock): Likewise.
15209         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15210         Do not expect.
15211         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15212         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15213         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15214         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15215         [XPG3 || XPG4] (pthread_key_t): Likewise.
15216         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15217         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15218         [XPG3 || XPG4] (pthread_once_t): Likewise.
15219         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15220         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15221         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15222         [XPG3 || XPG4] (pthread_t): Likewise.
15224         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15225         not expect.
15226         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15228         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15229         Change function return type to int.
15231         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15232         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15233         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15234         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15235         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15236         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15237         [!POSIX] (posix_madvise): Likewise.
15238         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15239         && !UNIX98].
15240         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15241         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15242         (mode_t): Likewise.
15243         (posix_mem_offset): Likewise.
15244         (posix_typed_mem_get_info): Likewise.
15245         (posix_typed_mem_open): Likewise.
15247         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15248         Change condition to [XOPEN2K8].
15250         * conform/conformtest.pl: Preprocess allow-header data with -x c
15251         instead of from stdin.
15252         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15253         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15254         [C99-based standards] (cerfc): Likewise.
15255         [C99-based standards] (cexp2): Likewise.
15256         [C99-based standards] (cexpm1): Likewise.
15257         [C99-based standards] (clog10): Likewise.
15258         [C99-based standards] (clog1p): Likewise.
15259         [C99-based standards] (clog2): Likewise.
15260         [C99-based standards] (clgamma): Likewise.
15261         [C99-based standards] (ctgamma): Likewise.
15262         [C99-based standards] (cerff): Likewise.
15263         [C99-based standards] (cerfcf): Likewise.
15264         [C99-based standards] (cexp2f): Likewise.
15265         [C99-based standards] (cexpm1f): Likewise.
15266         [C99-based standards] (clog10f): Likewise.
15267         [C99-based standards] (clog1pf): Likewise.
15268         [C99-based standards] (clog2f): Likewise.
15269         [C99-based standards] (clgammaf): Likewise.
15270         [C99-based standards] (ctgammaf): Likewise.
15271         [C99-based standards] (cerfl): Likewise.
15272         [C99-based standards] (cerfcl): Likewise.
15273         [C99-based standards] (cexp2l): Likewise.
15274         [C99-based standards] (cexpm1l): Likewise.
15275         [C99-based standards] (clog10l): Likewise.
15276         [C99-based standards] (clog1pl): Likewise.
15277         [C99-based standards] (clog2l): Likewise.
15278         [C99-based standards] (clgammal): Likewise.
15279         [C99-based standards] (ctgammal): Likewise.
15280         * conform/data/inttypes.h-data [C99-based standards]: Include
15281         stdint.h-data.  Remove all expectations for stdint.h contents.
15282         [C99-based standards] (PRI*): Do not allow.
15283         [C99-based standards] (SCN*): Likewise.
15284         [C99-based standards] (*_t): Likewise.
15285         [C99-based-standards] (PRId8): Expect macro.
15286         [C99-based-standards] (PRIi8): Likewise.
15287         [C99-based-standards] (PRIo8): Likewise.
15288         [C99-based-standards] (PRIu8): Likewise.
15289         [C99-based-standards] (PRIx8): Likewise.
15290         [C99-based-standards] (PRIX8): Likewise.
15291         [C99-based-standards] (SCNd8): Likewise.
15292         [C99-based-standards] (SCNi8): Likewise.
15293         [C99-based-standards] (SCNo8): Likewise.
15294         [C99-based-standards] (SCNu8): Likewise.
15295         [C99-based-standards] (SCNx8): Likewise.
15296         [C99-based-standards] (PRIdLEAST8): Likewise.
15297         [C99-based-standards] (PRIiLEAST8): Likewise.
15298         [C99-based-standards] (PRIoLEAST8): Likewise.
15299         [C99-based-standards] (PRIuLEAST8): Likewise.
15300         [C99-based-standards] (PRIxLEAST8): Likewise.
15301         [C99-based-standards] (PRIXLEAST8): Likewise.
15302         [C99-based-standards] (SCNdLEAST8): Likewise.
15303         [C99-based-standards] (SCNiLEAST8): Likewise.
15304         [C99-based-standards] (SCNoLEAST8): Likewise.
15305         [C99-based-standards] (SCNuLEAST8): Likewise.
15306         [C99-based-standards] (SCNxLEAST8): Likewise.
15307         [C99-based-standards] (PRIdFAST8): Likewise.
15308         [C99-based-standards] (PRIiFAST8): Likewise.
15309         [C99-based-standards] (PRIoFAST8): Likewise.
15310         [C99-based-standards] (PRIuFAST8): Likewise.
15311         [C99-based-standards] (PRIxFAST8): Likewise.
15312         [C99-based-standards] (PRIXFAST8): Likewise.
15313         [C99-based-standards] (SCNdFAST8): Likewise.
15314         [C99-based-standards] (SCNiFAST8): Likewise.
15315         [C99-based-standards] (SCNoFAST8): Likewise.
15316         [C99-based-standards] (SCNuFAST8): Likewise.
15317         [C99-based-standards] (SCNxFAST8): Likewise.
15318         [C99-based-standards] (PRId16): Likewise.
15319         [C99-based-standards] (PRIi16): Likewise.
15320         [C99-based-standards] (PRIo16): Likewise.
15321         [C99-based-standards] (PRIu16): Likewise.
15322         [C99-based-standards] (PRIx16): Likewise.
15323         [C99-based-standards] (PRIX16): Likewise.
15324         [C99-based-standards] (SCNd16): Likewise.
15325         [C99-based-standards] (SCNi16): Likewise.
15326         [C99-based-standards] (SCNo16): Likewise.
15327         [C99-based-standards] (SCNu16): Likewise.
15328         [C99-based-standards] (SCNx16): Likewise.
15329         [C99-based-standards] (PRIdLEAST16): Likewise.
15330         [C99-based-standards] (PRIiLEAST16): Likewise.
15331         [C99-based-standards] (PRIoLEAST16): Likewise.
15332         [C99-based-standards] (PRIuLEAST16): Likewise.
15333         [C99-based-standards] (PRIxLEAST16): Likewise.
15334         [C99-based-standards] (PRIXLEAST16): Likewise.
15335         [C99-based-standards] (SCNdLEAST16): Likewise.
15336         [C99-based-standards] (SCNiLEAST16): Likewise.
15337         [C99-based-standards] (SCNoLEAST16): Likewise.
15338         [C99-based-standards] (SCNuLEAST16): Likewise.
15339         [C99-based-standards] (SCNxLEAST16): Likewise.
15340         [C99-based-standards] (PRIdFAST16): Likewise.
15341         [C99-based-standards] (PRIiFAST16): Likewise.
15342         [C99-based-standards] (PRIoFAST16): Likewise.
15343         [C99-based-standards] (PRIuFAST16): Likewise.
15344         [C99-based-standards] (PRIxFAST16): Likewise.
15345         [C99-based-standards] (PRIXFAST16): Likewise.
15346         [C99-based-standards] (SCNdFAST16): Likewise.
15347         [C99-based-standards] (SCNiFAST16): Likewise.
15348         [C99-based-standards] (SCNoFAST16): Likewise.
15349         [C99-based-standards] (SCNuFAST16): Likewise.
15350         [C99-based-standards] (SCNxFAST16): Likewise.
15351         [C99-based-standards] (PRId32): Likewise.
15352         [C99-based-standards] (PRIi32): Likewise.
15353         [C99-based-standards] (PRIo32): Likewise.
15354         [C99-based-standards] (PRIu32): Likewise.
15355         [C99-based-standards] (PRIx32): Likewise.
15356         [C99-based-standards] (PRIX32): Likewise.
15357         [C99-based-standards] (SCNd32): Likewise.
15358         [C99-based-standards] (SCNi32): Likewise.
15359         [C99-based-standards] (SCNo32): Likewise.
15360         [C99-based-standards] (SCNu32): Likewise.
15361         [C99-based-standards] (SCNx32): Likewise.
15362         [C99-based-standards] (PRIdLEAST32): Likewise.
15363         [C99-based-standards] (PRIiLEAST32): Likewise.
15364         [C99-based-standards] (PRIoLEAST32): Likewise.
15365         [C99-based-standards] (PRIuLEAST32): Likewise.
15366         [C99-based-standards] (PRIxLEAST32): Likewise.
15367         [C99-based-standards] (PRIXLEAST32): Likewise.
15368         [C99-based-standards] (SCNdLEAST32): Likewise.
15369         [C99-based-standards] (SCNiLEAST32): Likewise.
15370         [C99-based-standards] (SCNoLEAST32): Likewise.
15371         [C99-based-standards] (SCNuLEAST32): Likewise.
15372         [C99-based-standards] (SCNxLEAST32): Likewise.
15373         [C99-based-standards] (PRIdFAST32): Likewise.
15374         [C99-based-standards] (PRIiFAST32): Likewise.
15375         [C99-based-standards] (PRIoFAST32): Likewise.
15376         [C99-based-standards] (PRIuFAST32): Likewise.
15377         [C99-based-standards] (PRIxFAST32): Likewise.
15378         [C99-based-standards] (PRIXFAST32): Likewise.
15379         [C99-based-standards] (SCNdFAST32): Likewise.
15380         [C99-based-standards] (SCNiFAST32): Likewise.
15381         [C99-based-standards] (SCNoFAST32): Likewise.
15382         [C99-based-standards] (SCNuFAST32): Likewise.
15383         [C99-based-standards] (SCNxFAST32): Likewise.
15384         [C99-based-standards] (PRId64): Likewise.
15385         [C99-based-standards] (PRIi64): Likewise.
15386         [C99-based-standards] (PRIo64): Likewise.
15387         [C99-based-standards] (PRIu64): Likewise.
15388         [C99-based-standards] (PRIx64): Likewise.
15389         [C99-based-standards] (PRIX64): Likewise.
15390         [C99-based-standards] (SCNd64): Likewise.
15391         [C99-based-standards] (SCNi64): Likewise.
15392         [C99-based-standards] (SCNo64): Likewise.
15393         [C99-based-standards] (SCNu64): Likewise.
15394         [C99-based-standards] (SCNx64): Likewise.
15395         [C99-based-standards] (PRIdLEAST64): Likewise.
15396         [C99-based-standards] (PRIiLEAST64): Likewise.
15397         [C99-based-standards] (PRIoLEAST64): Likewise.
15398         [C99-based-standards] (PRIuLEAST64): Likewise.
15399         [C99-based-standards] (PRIxLEAST64): Likewise.
15400         [C99-based-standards] (PRIXLEAST64): Likewise.
15401         [C99-based-standards] (SCNdLEAST64): Likewise.
15402         [C99-based-standards] (SCNiLEAST64): Likewise.
15403         [C99-based-standards] (SCNoLEAST64): Likewise.
15404         [C99-based-standards] (SCNuLEAST64): Likewise.
15405         [C99-based-standards] (SCNxLEAST64): Likewise.
15406         [C99-based-standards] (PRIdFAST64): Likewise.
15407         [C99-based-standards] (PRIiFAST64): Likewise.
15408         [C99-based-standards] (PRIoFAST64): Likewise.
15409         [C99-based-standards] (PRIuFAST64): Likewise.
15410         [C99-based-standards] (PRIxFAST64): Likewise.
15411         [C99-based-standards] (PRIXFAST64): Likewise.
15412         [C99-based-standards] (SCNdFAST64): Likewise.
15413         [C99-based-standards] (SCNiFAST64): Likewise.
15414         [C99-based-standards] (SCNoFAST64): Likewise.
15415         [C99-based-standards] (SCNuFAST64): Likewise.
15416         [C99-based-standards] (SCNxFAST64): Likewise.
15417         [C99-based-standards] (PRIdMAX): Likewise.
15418         [C99-based-standards] (PRIiMAX): Likewise.
15419         [C99-based-standards] (PRIoMAX): Likewise.
15420         [C99-based-standards] (PRIuMAX): Likewise.
15421         [C99-based-standards] (PRIxMAX): Likewise.
15422         [C99-based-standards] (PRIXMAX): Likewise.
15423         [C99-based-standards] (SCNdMAX): Likewise.
15424         [C99-based-standards] (SCNiMAX): Likewise.
15425         [C99-based-standards] (SCNoMAX): Likewise.
15426         [C99-based-standards] (SCNuMAX): Likewise.
15427         [C99-based-standards] (SCNxMAX): Likewise.
15428         [C99-based-standards] (PRIdPTR): Likewise.
15429         [C99-based-standards] (PRIiPTR): Likewise.
15430         [C99-based-standards] (PRIoPTR): Likewise.
15431         [C99-based-standards] (PRIuPTR): Likewise.
15432         [C99-based-standards] (PRIxPTR): Likewise.
15433         [C99-based-standards] (PRIXPTR): Likewise.
15434         [C99-based-standards] (SCNdPTR): Likewise.
15435         [C99-based-standards] (SCNiPTR): Likewise.
15436         [C99-based-standards] (SCNoPTR): Likewise.
15437         [C99-based-standards] (SCNuPTR): Likewise.
15438         [C99-based-standards] (SCNxPTR): Likewise.
15439         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15440         allow.
15441         * conform/data/stdint.h-data: Update comments to clarify
15442         requirements.
15443         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15444         type.
15445         [C99-based standards] (INT8_MAX): Likewise.
15446         [C99-based standards] (INT16_MIN): Likewise.
15447         [C99-based standards] (INT16_MAX): Likewise.
15448         [C99-based standards] (INT32_MIN): Likewise.
15449         [C99-based standards] (INT32_MAX): Likewise.
15450         [C99-based standards] (INT64_MIN): Likewise.
15451         [C99-based standards] (INT64_MAX): Likewise.
15452         [C99-based standards] (UINT8_MAX): Likewise.
15453         [C99-based standards] (UINT16_MAX): Likewise.
15454         [C99-based standards] (UINT32_MAX): Likewise.
15455         [C99-based standards] (UINT64_MAX): Likewise.
15456         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15457         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15458         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15459         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15460         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15461         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15462         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15463         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15464         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15465         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15466         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15467         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15468         [C99-based standards] (INT_FAST8_MIN): Likewise.
15469         [C99-based standards] (INT_FAST8_MAX): Likewise.
15470         [C99-based standards] (INT_FAST16_MIN): Likewise.
15471         [C99-based standards] (INT_FAST16_MAX): Likewise.
15472         [C99-based standards] (INT_FAST32_MIN): Likewise.
15473         [C99-based standards] (INT_FAST32_MAX): Likewise.
15474         [C99-based standards] (INT_FAST64_MIN): Likewise.
15475         [C99-based standards] (INT_FAST64_MAX): Likewise.
15476         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15477         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15478         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15479         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15480         [C99-based standards] (INTPTR_MIN): Likewise.
15481         [C99-based standards] (INTPTR_MAX): Likewise.
15482         [C99-based standards] (UINTPTR_MAX): Likewise.
15483         [C99-based standards] (INTMAX_MIN): Likewise.
15484         [C99-based standards] (INTMAX_MAX): Likewise.
15485         [C99-based standards] (UINTMAX_MAX): Likewise.
15486         [C99-based standards] (PTRDIFF_MIN): Likewise.
15487         [C99-based standards] (PTRDIFF_MAX): Likewise.
15488         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15489         [C99-based standards] (SIZE_MAX): Likewise.
15490         [C99-based standards] (WCHAR_MAX): Likewise.
15491         [C99-based standards] (WINT_MAX): Likewise.
15492         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15493         constraint on value.
15494         [C99-based standards] (WCHAR_MIN): Likewise.
15495         [C99-based standards] (WINT_MIN): Likewise.
15496         [C99-based standards] (*_t): Allow.
15497         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15498         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15499         Include math.h-data and complex.h-data.  Remove all expectations
15500         of math.h and complex.h contents.
15501         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15502         at end of line.
15503         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15504         (struct tm): Expect tag.
15505         [C99-based-standards] (wcstof): Expect function.
15506         [C99-based-standards] (wcstold): Likewise.
15507         [C99-based-standards] (wcstoll): Likewise.
15508         [C99-based-standards] (wcstoull): Likewise.
15509         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15510         macro-int-constant.  Specify type.
15511         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15512         constraint on value.
15513         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15514         Specify type.
15515         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15516         Specify value.
15517         [ISO C standards]: Do not allow headers.
15518         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15519         wcs[abcdefghijklmnopqrstuvwxyz]*.
15520         [ISO C standards] (*_t): Do not allow.
15521         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15522         Expect function.
15523         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15524         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15525         Specify type.
15526         [ISO C standards]: Do not allow headers.
15527         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15528         is[abcdefghijklmnopqrstuvwxyz]*.
15529         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15530         to[abcdefghijklmnopqrstuvwxyz]*.
15531         [ISO C standards] (*_t): Do not allow.
15532         * conform/data/stdalign.h-data: New file.
15533         * conform/data/stdbool.h-data: Likewise.
15534         * conform/data/stdnoreturn.h-data: Likewise.
15536 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15538         [BZ #14815]
15539         * manual/filesys.texi (Directory Entries): Typo fix.
15540         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15542 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15544         * elf/elf.h (EM_AARCH64): New macro.
15545         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15546         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15547         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15548         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15549         (R_AARCH64_TLSDESC): Likewise.
15550         (NT_ARM_TLS): Likewise.
15551         (NT_ARM_HW_BREAK): Likewise.
15552         (NT_ARM_HW_WATCH): Likewise.
15554 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15556         [BZ #14811]
15557         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15558         (__ieee754_powl): Saturate nonzero exponents with absolute value
15559         below 0x1p-79 to +/- 0x1p-79.
15560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15561         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15562         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15563         nonzero exponents with absolute value below 0x1p-32 to +/-
15564         0x1p-32.
15565         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15566         (__ieee754_powl): Saturate nonzero exponents with absolute value
15567         below 0x1p-79 to +/- 0x1p-79.
15568         * math/libm-test.inc (pow_test): Add more tests.
15570 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15572         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15573         _dl_s390_cap_flags with kernel. Increase string length.
15574         (_dl_s390_platforms): Add z196 and zEC12.
15576 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15578         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15579         Change XOPEN21K to XOPEN2K.
15581 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15583         * string/memmove.c: Use memcpy when possible.
15585 2012-11-06  Andreas Jaeger  <aj@suse.de>
15587         * po/eo.po: Update from translation team.
15589 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15591         [BZ #14793]
15592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15593         exponent and small x and y exponents, scale x or y up.  Increase
15594         by 2 the exponent used in scaling up.
15595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15597         * math/libm-test.inc (fma_test): Add more tests.
15598         (fma_test_towardzero): Likewise.
15599         (fma_test_downward): Likewise.
15600         (fma_test_upward): Likewise.
15602 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15604         [BZ #14805]
15605         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15606         fenv_t *.
15608         [BZ #14801]
15609         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15610         namespace for names of struct fields.
15611         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15612         fenv_t fields.
15613         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15614         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15616 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15618         [BZ #3665]
15619         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15621 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15623         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15624         PTR_DEMANGLE.
15626         [BZ #5246]
15627         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15628         PTR_DEMANGLE.
15630 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15632         [BZ #14797]
15633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15634         definitely overflow as x * y not x * y + z.
15635         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15637         * math/libm-test.inc (fma_test): Add more tests.
15638         (fma_test_towardzero): Likewise.
15639         (fma_test_downward): Likewise.
15640         (fma_test_upward): Likewise.
15642 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15644         [BZ #157]
15646         * include/stub-tag.h: Remove file.
15647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15648         '#include' of it.
15649         * manual/maint.texi (Porting): Don't reference it.
15650         * Makerules ($(objpfx)stubs): Likewise.
15651         * dirent/closedir.c: Don't include <stub-tag.h>.
15652         * dirent/dirfd.c: Likewise.
15653         * dirent/fdopendir.c: Likewise.
15654         * dirent/getdents.c: Likewise.
15655         * dirent/getdents64.c: Likewise.
15656         * dirent/opendir.c: Likewise.
15657         * dirent/readdir.c: Likewise.
15658         * dirent/readdir64.c: Likewise.
15659         * dirent/readdir64_r.c: Likewise.
15660         * dirent/readdir_r.c: Likewise.
15661         * dirent/rewinddir.c: Likewise.
15662         * dirent/seekdir.c: Likewise.
15663         * dirent/telldir.c: Likewise.
15664         * gmon/profil.c: Likewise.
15665         * grp/setgroups.c: Likewise.
15666         * inet/if_index.c: Likewise.
15667         * io/access.c: Likewise.
15668         * io/chdir.c: Likewise.
15669         * io/chmod.c: Likewise.
15670         * io/chown.c: Likewise.
15671         * io/close.c: Likewise.
15672         * io/dup.c: Likewise.
15673         * io/dup2.c: Likewise.
15674         * io/dup3.c: Likewise.
15675         * io/euidaccess.c: Likewise.
15676         * io/faccessat.c: Likewise.
15677         * io/fchdir.c: Likewise.
15678         * io/fchmod.c: Likewise.
15679         * io/fchmodat.c: Likewise.
15680         * io/fchown.c: Likewise.
15681         * io/fchownat.c: Likewise.
15682         * io/fcntl.c: Likewise.
15683         * io/flock.c: Likewise.
15684         * io/fstatfs.c: Likewise.
15685         * io/fstatfs64.c: Likewise.
15686         * io/fstatvfs.c: Likewise.
15687         * io/fstatvfs64.c: Likewise.
15688         * io/futimens.c: Likewise.
15689         * io/fxstat.c: Likewise.
15690         * io/fxstat64.c: Likewise.
15691         * io/fxstatat.c: Likewise.
15692         * io/fxstatat64.c: Likewise.
15693         * io/getcwd.c: Likewise.
15694         * io/isatty.c: Likewise.
15695         * io/lchmod.c: Likewise.
15696         * io/lchown.c: Likewise.
15697         * io/link.c: Likewise.
15698         * io/linkat.c: Likewise.
15699         * io/lseek.c: Likewise.
15700         * io/lseek64.c: Likewise.
15701         * io/lxstat64.c: Likewise.
15702         * io/mkdir.c: Likewise.
15703         * io/mkdirat.c: Likewise.
15704         * io/mkfifo.c: Likewise.
15705         * io/mkfifoat.c: Likewise.
15706         * io/open.c: Likewise.
15707         * io/open64.c: Likewise.
15708         * io/openat.c: Likewise.
15709         * io/openat64.c: Likewise.
15710         * io/pipe.c: Likewise.
15711         * io/pipe2.c: Likewise.
15712         * io/poll.c: Likewise.
15713         * io/posix_fadvise.c: Likewise.
15714         * io/posix_fadvise64.c: Likewise.
15715         * io/posix_fallocate.c: Likewise.
15716         * io/posix_fallocate64.c: Likewise.
15717         * io/read.c: Likewise.
15718         * io/readlink.c: Likewise.
15719         * io/readlinkat.c: Likewise.
15720         * io/rmdir.c: Likewise.
15721         * io/sendfile.c: Likewise.
15722         * io/sendfile64.c: Likewise.
15723         * io/statfs.c: Likewise.
15724         * io/statfs64.c: Likewise.
15725         * io/statvfs.c: Likewise.
15726         * io/statvfs64.c: Likewise.
15727         * io/symlink.c: Likewise.
15728         * io/symlinkat.c: Likewise.
15729         * io/ttyname.c: Likewise.
15730         * io/ttyname_r.c: Likewise.
15731         * io/umask.c: Likewise.
15732         * io/unlink.c: Likewise.
15733         * io/unlinkat.c: Likewise.
15734         * io/utime.c: Likewise.
15735         * io/utimensat.c: Likewise.
15736         * io/write.c: Likewise.
15737         * io/xmknod.c: Likewise.
15738         * io/xmknodat.c: Likewise.
15739         * io/xstat.c: Likewise.
15740         * io/xstat64.c: Likewise.
15741         * login/getpt.c: Likewise.
15742         * login/grantpt.c: Likewise.
15743         * login/unlockpt.c: Likewise.
15744         * math/e_acoshl.c: Likewise.
15745         * math/e_acosl.c: Likewise.
15746         * math/e_asinl.c: Likewise.
15747         * math/e_atan2l.c: Likewise.
15748         * math/e_atanhl.c: Likewise.
15749         * math/e_coshl.c: Likewise.
15750         * math/e_expl.c: Likewise.
15751         * math/e_fmodl.c: Likewise.
15752         * math/e_gammal_r.c: Likewise.
15753         * math/e_hypotl.c: Likewise.
15754         * math/e_j0l.c: Likewise.
15755         * math/e_j1l.c: Likewise.
15756         * math/e_jnl.c: Likewise.
15757         * math/e_lgammal_r.c: Likewise.
15758         * math/e_log10l.c: Likewise.
15759         * math/e_log2l.c: Likewise.
15760         * math/e_logl.c: Likewise.
15761         * math/e_powl.c: Likewise.
15762         * math/e_rem_pio2l.c: Likewise.
15763         * math/e_sinhl.c: Likewise.
15764         * math/e_sqrtl.c: Likewise.
15765         * math/fclrexcpt.c: Likewise.
15766         * math/fedisblxcpt.c: Likewise.
15767         * math/feenablxcpt.c: Likewise.
15768         * math/fegetenv.c: Likewise.
15769         * math/fegetexcept.c: Likewise.
15770         * math/fegetround.c: Likewise.
15771         * math/feholdexcpt.c: Likewise.
15772         * math/fesetenv.c: Likewise.
15773         * math/fesetround.c: Likewise.
15774         * math/feupdateenv.c: Likewise.
15775         * math/fgetexcptflg.c: Likewise.
15776         * math/fraiseexcpt.c: Likewise.
15777         * math/fsetexcptflg.c: Likewise.
15778         * math/ftestexcept.c: Likewise.
15779         * math/k_cosl.c: Likewise.
15780         * math/k_rem_pio2l.c: Likewise.
15781         * math/k_sinl.c: Likewise.
15782         * math/k_tanl.c: Likewise.
15783         * math/s_asinhl.c: Likewise.
15784         * math/s_atanl.c: Likewise.
15785         * math/s_cbrtl.c: Likewise.
15786         * math/s_erfl.c: Likewise.
15787         * math/s_expm1l.c: Likewise.
15788         * math/s_log1pl.c: Likewise.
15789         * math/s_tanhl.c: Likewise.
15790         * misc/acct.c: Likewise.
15791         * misc/brk.c: Likewise.
15792         * misc/chflags.c: Likewise.
15793         * misc/chroot.c: Likewise.
15794         * misc/fchflags.c: Likewise.
15795         * misc/fgetxattr.c: Likewise.
15796         * misc/flistxattr.c: Likewise.
15797         * misc/fremovexattr.c: Likewise.
15798         * misc/fsetxattr.c: Likewise.
15799         * misc/fsync.c: Likewise.
15800         * misc/ftruncate.c: Likewise.
15801         * misc/futimes.c: Likewise.
15802         * misc/futimesat.c: Likewise.
15803         * misc/getdomain.c: Likewise.
15804         * misc/getdtsz.c: Likewise.
15805         * misc/gethostid.c: Likewise.
15806         * misc/gethostname.c: Likewise.
15807         * misc/getloadavg.c: Likewise.
15808         * misc/getpagesize.c: Likewise.
15809         * misc/getsysstats.c: Likewise.
15810         * misc/getxattr.c: Likewise.
15811         * misc/gtty.c: Likewise.
15812         * misc/ioctl.c: Likewise.
15813         * misc/lgetxattr.c: Likewise.
15814         * misc/listxattr.c: Likewise.
15815         * misc/llistxattr.c: Likewise.
15816         * misc/lremovexattr.c: Likewise.
15817         * misc/lsetxattr.c: Likewise.
15818         * misc/lutimes.c: Likewise.
15819         * misc/madvise.c: Likewise.
15820         * misc/mincore.c: Likewise.
15821         * misc/mlock.c: Likewise.
15822         * misc/mlockall.c: Likewise.
15823         * misc/mmap.c: Likewise.
15824         * misc/mprotect.c: Likewise.
15825         * misc/msync.c: Likewise.
15826         * misc/munlock.c: Likewise.
15827         * misc/munlockall.c: Likewise.
15828         * misc/munmap.c: Likewise.
15829         * misc/preadv.c: Likewise.
15830         * misc/preadv64.c: Likewise.
15831         * misc/ptrace.c: Likewise.
15832         * misc/pwritev.c: Likewise.
15833         * misc/pwritev64.c: Likewise.
15834         * misc/readv.c: Likewise.
15835         * misc/reboot.c: Likewise.
15836         * misc/remap_file_pages.c: Likewise.
15837         * misc/removexattr.c: Likewise.
15838         * misc/revoke.c: Likewise.
15839         * misc/select.c: Likewise.
15840         * misc/setdomain.c: Likewise.
15841         * misc/setegid.c: Likewise.
15842         * misc/seteuid.c: Likewise.
15843         * misc/sethostid.c: Likewise.
15844         * misc/sethostname.c: Likewise.
15845         * misc/setregid.c: Likewise.
15846         * misc/setreuid.c: Likewise.
15847         * misc/setxattr.c: Likewise.
15848         * misc/sstk.c: Likewise.
15849         * misc/stty.c: Likewise.
15850         * misc/swapoff.c: Likewise.
15851         * misc/swapon.c: Likewise.
15852         * misc/sync.c: Likewise.
15853         * misc/syncfs.c: Likewise.
15854         * misc/syscall.c: Likewise.
15855         * misc/truncate.c: Likewise.
15856         * misc/ualarm.c: Likewise.
15857         * misc/usleep.c: Likewise.
15858         * misc/ustat.c: Likewise.
15859         * misc/utimes.c: Likewise.
15860         * misc/vhangup.c: Likewise.
15861         * misc/writev.c: Likewise.
15862         * posix/_exit.c: Likewise.
15863         * posix/alarm.c: Likewise.
15864         * posix/execve.c: Likewise.
15865         * posix/fexecve.c: Likewise.
15866         * posix/fork.c: Likewise.
15867         * posix/fpathconf.c: Likewise.
15868         * posix/getaddrinfo.c: Likewise.
15869         * posix/getegid.c: Likewise.
15870         * posix/geteuid.c: Likewise.
15871         * posix/getgid.c: Likewise.
15872         * posix/getgroups.c: Likewise.
15873         * posix/getlogin.c: Likewise.
15874         * posix/getlogin_r.c: Likewise.
15875         * posix/getpgid.c: Likewise.
15876         * posix/getpid.c: Likewise.
15877         * posix/getppid.c: Likewise.
15878         * posix/getresgid.c: Likewise.
15879         * posix/getresuid.c: Likewise.
15880         * posix/getsid.c: Likewise.
15881         * posix/getuid.c: Likewise.
15882         * posix/glob64.c: Likewise.
15883         * posix/nanosleep.c: Likewise.
15884         * posix/pathconf.c: Likewise.
15885         * posix/pause.c: Likewise.
15886         * posix/posix_madvise.c: Likewise.
15887         * posix/pread.c: Likewise.
15888         * posix/pread64.c: Likewise.
15889         * posix/pwrite.c: Likewise.
15890         * posix/pwrite64.c: Likewise.
15891         * posix/sched_getaffinity.c: Likewise.
15892         * posix/sched_getp.c: Likewise.
15893         * posix/sched_gets.c: Likewise.
15894         * posix/sched_primax.c: Likewise.
15895         * posix/sched_primin.c: Likewise.
15896         * posix/sched_rr_gi.c: Likewise.
15897         * posix/sched_setaffinity.c: Likewise.
15898         * posix/sched_setp.c: Likewise.
15899         * posix/sched_sets.c: Likewise.
15900         * posix/sched_yield.c: Likewise.
15901         * posix/setgid.c: Likewise.
15902         * posix/setlogin.c: Likewise.
15903         * posix/setpgid.c: Likewise.
15904         * posix/setresgid.c: Likewise.
15905         * posix/setresuid.c: Likewise.
15906         * posix/setsid.c: Likewise.
15907         * posix/setuid.c: Likewise.
15908         * posix/sleep.c: Likewise.
15909         * posix/spawni.c: Likewise.
15910         * posix/sysconf.c: Likewise.
15911         * posix/times.c: Likewise.
15912         * posix/wait.c: Likewise.
15913         * posix/wait3.c: Likewise.
15914         * posix/wait4.c: Likewise.
15915         * posix/waitpid.c: Likewise.
15916         * resolv/gai_sigqueue.c: Likewise.
15917         * resource/getpriority.c: Likewise.
15918         * resource/getrlimit.c: Likewise.
15919         * resource/getrusage.c: Likewise.
15920         * resource/nice.c: Likewise.
15921         * resource/setpriority.c: Likewise.
15922         * resource/setrlimit.c: Likewise.
15923         * resource/ulimit.c: Likewise.
15924         * rt/aio_cancel.c: Likewise.
15925         * rt/aio_fsync.c: Likewise.
15926         * rt/aio_read.c: Likewise.
15927         * rt/aio_sigqueue.c: Likewise.
15928         * rt/aio_suspend.c: Likewise.
15929         * rt/aio_write.c: Likewise.
15930         * rt/clock_getres.c: Likewise.
15931         * rt/clock_gettime.c: Likewise.
15932         * rt/clock_nanosleep.c: Likewise.
15933         * rt/clock_settime.c: Likewise.
15934         * rt/lio_listio.c: Likewise.
15935         * rt/mq_close.c: Likewise.
15936         * rt/mq_getattr.c: Likewise.
15937         * rt/mq_notify.c: Likewise.
15938         * rt/mq_open.c: Likewise.
15939         * rt/mq_receive.c: Likewise.
15940         * rt/mq_send.c: Likewise.
15941         * rt/mq_setattr.c: Likewise.
15942         * rt/mq_timedreceive.c: Likewise.
15943         * rt/mq_timedsend.c: Likewise.
15944         * rt/mq_unlink.c: Likewise.
15945         * rt/shm_open.c: Likewise.
15946         * rt/shm_unlink.c: Likewise.
15947         * rt/timer_create.c: Likewise.
15948         * rt/timer_delete.c: Likewise.
15949         * rt/timer_getoverr.c: Likewise.
15950         * rt/timer_gettime.c: Likewise.
15951         * rt/timer_settime.c: Likewise.
15952         * setjmp/__longjmp.c: Likewise.
15953         * setjmp/setjmp.c: Likewise.
15954         * signal/kill.c: Likewise.
15955         * signal/killpg.c: Likewise.
15956         * signal/raise.c: Likewise.
15957         * signal/sigaction.c: Likewise.
15958         * signal/sigaltstack.c: Likewise.
15959         * signal/sigblock.c: Likewise.
15960         * signal/sigignore.c: Likewise.
15961         * signal/sigintr.c: Likewise.
15962         * signal/signal.c: Likewise.
15963         * signal/sigpause.c: Likewise.
15964         * signal/sigpending.c: Likewise.
15965         * signal/sigqueue.c: Likewise.
15966         * signal/sigreturn.c: Likewise.
15967         * signal/sigset.c: Likewise.
15968         * signal/sigsetmask.c: Likewise.
15969         * signal/sigstack.c: Likewise.
15970         * signal/sigsuspend.c: Likewise.
15971         * signal/sigtimedwait.c: Likewise.
15972         * signal/sigvec.c: Likewise.
15973         * signal/sigwait.c: Likewise.
15974         * signal/sigwaitinfo.c: Likewise.
15975         * signal/sysv_signal.c: Likewise.
15976         * socket/accept.c: Likewise.
15977         * socket/accept4.c: Likewise.
15978         * socket/bind.c: Likewise.
15979         * socket/connect.c: Likewise.
15980         * socket/getpeername.c: Likewise.
15981         * socket/getsockname.c: Likewise.
15982         * socket/getsockopt.c: Likewise.
15983         * socket/isfdtype.c: Likewise.
15984         * socket/listen.c: Likewise.
15985         * socket/recv.c: Likewise.
15986         * socket/recvfrom.c: Likewise.
15987         * socket/recvmsg.c: Likewise.
15988         * socket/send.c: Likewise.
15989         * socket/sendmsg.c: Likewise.
15990         * socket/sendto.c: Likewise.
15991         * socket/setsockopt.c: Likewise.
15992         * socket/shutdown.c: Likewise.
15993         * socket/sockatmark.c: Likewise.
15994         * socket/socket.c: Likewise.
15995         * socket/socketpair.c: Likewise.
15996         * stdio-common/ctermid.c: Likewise.
15997         * stdio-common/cuserid.c: Likewise.
15998         * stdio-common/remove.c: Likewise.
15999         * stdio-common/rename.c: Likewise.
16000         * stdio-common/renameat.c: Likewise.
16001         * stdio-common/tempname.c: Likewise.
16002         * stdlib/getcontext.c: Likewise.
16003         * stdlib/makecontext.c: Likewise.
16004         * stdlib/setcontext.c: Likewise.
16005         * stdlib/swapcontext.c: Likewise.
16006         * stdlib/system.c: Likewise.
16007         * streams/fattach.c: Likewise.
16008         * streams/fdetach.c: Likewise.
16009         * streams/getmsg.c: Likewise.
16010         * streams/getpmsg.c: Likewise.
16011         * streams/putmsg.c: Likewise.
16012         * streams/putpmsg.c: Likewise.
16013         * sysdeps/unix/bsd/getpt.c: Likewise.
16014         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16015         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16016         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16018         Likewise.
16019         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16020         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16021         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16022         * sysvipc/msgctl.c: Likewise.
16023         * sysvipc/msgget.c: Likewise.
16024         * sysvipc/msgrcv.c: Likewise.
16025         * sysvipc/msgsnd.c: Likewise.
16026         * sysvipc/semctl.c: Likewise.
16027         * sysvipc/semget.c: Likewise.
16028         * sysvipc/semop.c: Likewise.
16029         * sysvipc/semtimedop.c: Likewise.
16030         * sysvipc/shmat.c: Likewise.
16031         * sysvipc/shmctl.c: Likewise.
16032         * sysvipc/shmdt.c: Likewise.
16033         * sysvipc/shmget.c: Likewise.
16034         * termios/tcdrain.c: Likewise.
16035         * termios/tcflow.c: Likewise.
16036         * termios/tcflush.c: Likewise.
16037         * termios/tcgetattr.c: Likewise.
16038         * termios/tcgetpgrp.c: Likewise.
16039         * termios/tcsendbrk.c: Likewise.
16040         * termios/tcsetattr.c: Likewise.
16041         * termios/tcsetpgrp.c: Likewise.
16042         * time/adjtime.c: Likewise.
16043         * time/clock.c: Likewise.
16044         * time/getitimer.c: Likewise.
16045         * time/gettimeofday.c: Likewise.
16046         * time/setitimer.c: Likewise.
16047         * time/settimeofday.c: Likewise.
16048         * time/stime.c: Likewise.
16049         * time/time.c: Likewise.
16051 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16053         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16054         /usr/old/bin.
16056         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16057         instead of spaces.
16058         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16060 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16062         [BZ #14796]
16063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16064         FE_TONEAREST before applying Dekker multiplication and Knuth
16065         addition.  Clear inexact exceptions and check for exact zero
16066         results afterwards.
16067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16068         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16070         * math/libm-test.inc (fma_test): Add more tests.
16071         (fma_test_towardzero): Likewise.
16072         (fma_test_downward): Likewise.
16073         (fma_test_upward): Likewise.
16074         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16075         function.
16076         (libc_fesetround): New macro.
16077         (libc_fesetroundf): Likewise.
16078         (libc_fesetroundl): Likewise.
16079         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16080         function.
16081         (libc_fesetround_387): Likewise.
16082         (libc_fesetroundf): New macro.
16083         (libc_fesetround): Likewise.
16084         (libc_fesetroundl): Likewise.
16085         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16086         function.
16087         (libc_fesetroundf): New macro.
16088         (libc_fesetround): Likewise.
16089         (libc_fesetroundl): Likewise.
16090         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16091         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16092         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16093         libm_hidden_ver.
16094         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16095         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16096         libm_hidden_def.
16097         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16098         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16099         libm_hidden_ver.
16100         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16101         libm_hidden_def.
16103         [BZ #3439]
16104         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16105         integer constant usable in #if and use that to give value to enum
16106         constant.
16107         (FE_DIVBYZERO): Likewise.
16108         (FE_UNDERFLOW): Likewise.
16109         (FE_OVERFLOW): Likewise.
16110         (FE_INVALID): Likewise.
16111         (FE_INVALID_SNAN): Likewise.
16112         (FE_INVALID_ISI): Likewise.
16113         (FE_INVALID_IDI): Likewise.
16114         (FE_INVALID_ZDZ): Likewise.
16115         (FE_INVALID_IMZ): Likewise.
16116         (FE_INVALID_COMPARE): Likewise.
16117         (FE_INVALID_SOFTWARE): Likewise.
16118         (FE_INVALID_SQRT): Likewise.
16119         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16120         (FE_TONEAREST): Likewise.
16121         (FE_TOWARDZERO): Likewise.
16122         (FE_UPWARD): Likewise.
16123         (FE_DOWNWARD): Likewise.
16124         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16125         (FE_DIVBYZERO): Likewise.
16126         (FE_OVERFLOW): Likewise.
16127         (FE_UNDERFLOW): Likewise.
16128         (FE_INEXACT): Likewise.
16129         (FE_TONEAREST): Likewise.
16130         (FE_DOWNWARD): Likewise.
16131         (FE_UPWARD): Likewise.
16132         (FE_TOWARDZERO): Likewise.
16133         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16134         (FE_UNDERFLOW): Likewise.
16135         (FE_OVERFLOW): Likewise.
16136         (FE_DIVBYZERO): Likewise.
16137         (FE_INVALID): Likewise.
16138         (FE_TONEAREST): Likewise.
16139         (FE_TOWARDZERO): Likewise.
16140         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16141         (FE_OVERFLOW): Likewise.
16142         (FE_UNDERFLOW): Likewise.
16143         (FE_DIVBYZERO): Likewise.
16144         (FE_INEXACT): Likewise.
16145         (FE_TONEAREST): Likewise.
16146         (FE_TOWARDZERO): Likewise.
16147         (FE_UPWARD): Likewise.
16148         (FE_DOWNWARD): Likewise.
16149         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16150         (FE_DIVBYZERO): Likewise.
16151         (FE_OVERFLOW): Likewise.
16152         (FE_UNDERFLOW): Likewise.
16153         (FE_INEXACT): Likewise.
16154         (FE_TONEAREST): Likewise.
16155         (FE_DOWNWARD): Likewise.
16156         (FE_UPWARD): Likewise.
16157         (FE_TOWARDZERO): Likewise.
16159 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16161         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16163 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16165         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16166         commands.  Quote $PWD.
16167         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16168         -x" by "export".
16169         (remove_newlines): Remove.
16171 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16173         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16174         * stdlib/stdlib.h (atof): Moved to ...
16175         * include/bits/stdlib-float.h: Here.  New file.
16176         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16177         * stdlib/bits/stdlib-float.h: New file.
16178         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16179         -mno-sse -mno-mmx.
16180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16181         <xmmintrin.h>.
16183 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16185         * conform/conformtest.pl (@headers): Add fenv.h.
16186         * conform/data/fenv.h-data: New file.
16187         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16188         include of <math/fenv.h>.
16190         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16191         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16192         && !UNIX98].  Enables tests for XOPEN2K8.
16193         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16194         POSIX2008]: Likewise.
16196         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16197         (struct rusage): Do not expect type or its members.
16199         [BZ #3439]
16200         * math/math.h (FP_NAN): Define macro to integer constant usable in
16201         #if and use that to give value to enum constant.
16202         (FP_INFINITE): Likewise.
16203         (FP_ZERO): Likewise.
16204         (FP_SUBNORMAL): Likewise.
16205         (FP_NORMAL): Likewise.
16207 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16209         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16210         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16211         arguments.
16213 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16215         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16216         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16217         autoconf-time if not.
16218         * configure.in: Remove AC_PREREQ.
16220 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16222         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16223         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16224         of the internal implementation.
16226 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16228         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16229         except include of <misc/sys/syslog.h>.
16231 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16234         function returns with a NULL context exit with zero.
16236 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16238         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16240 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16242         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16243         (run_program_cmd): This.
16244         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16245         (tst_langinfo): New variable.  Use it.
16247 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16249         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16250         floating point opcodes.
16252 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16254         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16255         variable.
16257         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16259         * sysdeps/mach/hurd/powerpc: Remove directory.
16260         * sysdeps/mach/powerpc: Likewise.
16262 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16264         * scripts/check-local-headers.sh: Ignore c++ headers.
16266 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16268         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16269         __libc_cleanup_region_start argument.
16271 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16273         [BZ #14784]
16274         [BZ #14785]
16275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16276         x * y using scaling, not as x * y + z.
16277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16279         * math/libm-test.inc (fma_test): Add more tests.
16280         (fma_test_towardzero): Likewise.
16281         (fma_test_downward): Likewise.
16282         (fma_test_upward): Likewise.
16284 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16286         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16288 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16290         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16291         New variable.
16293 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16295         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16297 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16300         Fix sort order.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16302         Likewise.
16304 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16307         Fix the order of the list for glibc 2.17.
16308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16309         Likewise.
16311 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16315 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16317         [BZ #14610]
16318         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16319         for low part of x being zero before using __atanl (y).
16320         * math/libm-test.inc (atan2_test): Add another test.
16322         * manual/install.texi (Configuring and compiling): Document
16323         general use of test-wrapper and test-wrapper-env.
16324         * INSTALL: Regenerated.
16326         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16327         (__fma): Do not extract and scale down low bits on after-rounding
16328         systems when result rounded to normal precision would have normal
16329         exponent.
16330         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16331         (__fmal): Do not extract and scale down low bits on after-rounding
16332         systems when result rounded to normal precision would have normal
16333         exponent.
16334         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16335         (__fmal): Do not extract and scale down low bits on after-rounding
16336         systems when result rounded to normal precision would have normal
16337         exponent.
16338         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16339         macro.
16340         (fma_test): Add more tests.
16341         (fma_test_towardzero): Likewise.
16342         (fma_test_downward): Likewise.
16343         (fma_test_upward): Likewise.
16345 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16347         * sysdeps/i386/tininess.h: Renamed to ...
16348         * sysdeps/x86/tininess.h: This.
16349         * sysdeps/x86_64/tininess.h: Removed.
16351 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16353         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16354         input.  Use $(build-program-cmd).
16355         ($(objpfx)tst-array1-static.out): Likewise.
16356         ($(objpfx)tst-array2.out): Likewise.
16357         ($(objpfx)tst-array3.out): Likewise.
16358         ($(objpfx)tst-array4.out): Likewise.
16359         ($(objpfx)tst-array5.out): Likewise.
16360         ($(objpfx)tst-array5-static.out): Likewise.
16362 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16364         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16365         if defined.
16367         * nss/nsswitch.h (nss_interface_function): Provide new
16368         macro for use with NSS functions.
16369         * grp/initgroups.c: Use new macro.
16370         * nss/getXXbyYY.c: Likewise.
16371         * nss/getXXbyYY_r.c: Likewise.
16372         * nss/getXXent.c: Likewise.
16373         * nss/getXXent_r.c: Likewise.
16374         * sysdeps/posix/getaddrinfo.c: Likewise.
16376 2012-10-30  Andreas Jaeger  <aj@suse.de>
16378         * po/ru.po: Update Russion translation from translation project.
16380 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16382         [BZ #14152]
16383         [BZ #14783]
16384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16385         result and shift together with sticky bit instead of replicating
16386         round-to-nearest rounding.
16387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16388         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16389         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16390         missing underflow exceptions.
16391         (fma_test_towardzero): Add more tests.
16392         (fma_test_downward): Likewise.
16393         (fma_test_upward): Likewise.
16395         [BZ #14047]
16396         * sysdeps/generic/tininess.h: New file.
16397         * sysdeps/i386/tininess.h: Likewise.
16398         * sysdeps/sh/tininess.h: Likewise.
16399         * sysdeps/x86_64/tininess.h: Likewise.
16400         * stdlib/tst-strtod-underflow.c: Likewise.
16401         * stdlib/tst-tininess.c: Likewise.
16402         * stdlib/strtod_l.c: Include <tininess.h>.
16403         (round_and_return): Do not set errno for exact underflow cases.
16404         Force an underflow exception when setting errno for underflow.
16405         Determine underflow based on rounding to normal precision if
16406         TININESS_AFTER_ROUNDING.
16407         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16408         ERANGE for exact underflow cases.
16409         * stdlib/Makefile (tests): Add tst-tininess and
16410         tst-strtod-underflow.
16411         ($(objpfx)tst-tininess): Use $(link-libm).
16412         ($(objpfx)tst-strtod-underflow): Likewise.
16414 2012-10-30  Andreas Jaeger  <aj@suse.de>
16416         [BZ#14767]
16417         * elf/Makefile (tests): Remove conditional for have-initfini-array
16418         since this is now always required and the variable does not exist
16419         anymore.
16420         (tests-static): Likewise.
16421         (modules-names): Likewise.
16423         * po/eo.po: Add Esperanto translation from translation project.
16425         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16426         merged with constructor/destructor.
16427         (init_array): Likewise.
16428         * elf/tst-array2dep.c (fini_array): Likewise.
16429         (init_array): Likewise.
16431 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16433         * manual/message.texi: Delete @cartouche tags.
16435 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16437         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16438         EOPNOTSUPP.
16439         * sysdeps/mach/hurd/fsync.c: Likewise.
16441         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16442         [_POSIX_REALTIME_SIGNALS]: Change condition to
16443         [_POSIX_REALTIME_SIGNALS > 0].
16445 2012-10-27  Andreas Jaeger  <aj@suse.de>
16447         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16448         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16449         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16450         [__WORDSIZE != 64]: Likewise.
16452 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16454         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16455         *  iconvdata/tst-tables.sh: Likewise.
16457 2012-10-25  David S. Miller  <davem@davemloft.net>
16459         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16460         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16461         of strtoull.
16463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16464         ifunc-impl-list.c
16465         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16466         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16467         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16468         file.
16470 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16472         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16473         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16474         __getdirentries.
16476 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16477             Jim Blandy  <jimb@codesourcery.com>
16479         * scripts/cross-test-ssh.sh: New file.
16480         * manual/install.texi (Configuring and compiling): Document use of
16481         cross-test-ssh.sh.
16482         * INSTALL: Regenerated.
16484 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16486         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16487         EOPNOTSUPP.
16489 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16491         * Makeconfig (run-program-prefix): Fix comment.
16493 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16494             Jim Blandy  <jimb@codesourcery.com>
16496         * Makeconfig (test-wrapper): New variable,
16497         (test-wrapper-env): Likewise.
16498         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16499         (run-built-tests): Define to yes.
16500         (run-program-prefix): Use $(test-wrapper).
16501         (built-program-cmd): Likewise.
16502         * Rules (make-test-out): Use $(test-wrapper-env) and
16503         $(host-built-program-cmd).
16504         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16505         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16506         tst-pathopt.sh.
16507         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16508         $(test-wrapper-env) to tst-rtld-load-self.sh.
16509         ($(objpfx)order2.out): Use $(test-wrapper).
16510         ($(objpfx)tst-initorder.out): Likewise.
16511         ($(objpfx)tst-initorder2.out): Likewise.
16512         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16513         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16514         (test_wrapper_env): New variable.  Use it to run ld.so.
16515         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16516         Use it to run ld.so.
16517         (test_wrapper_env): Likewise.
16518         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16519         $(test-wrapper) to run-iconv-test.sh.
16520         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16521         (ICONV): Use $test_wrapper.
16522         * posix/Makefile ($(objpfx)globtest.out): Pass
16523         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16524         globtest.sh, not $(run-program-prefix).
16525         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16526         (test_wrapper): Likewise.
16527         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16528         set together with run_via_rtld_prefix.
16529         (run_program_prefix): Define in terms of test_wrapper and
16530         run_via_rtld_prefix.
16532 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16534         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16535         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16536         Targets removed.
16538         [BZ #14743]
16539         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16540         Declare __clock_getres, __clock_gettime, __clock_settime,
16541         __clock_nanosleep, and __clock_getcpuclockid.
16542         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16543         Remove librt_hidden_def (clock_gettime).
16544         * sysdeps/unix/clock_gettime.c: Likewise.
16545         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16547         * rt/clock_getres.c: Define __clock_getres as an alias.
16548         * sysdeps/posix/clock_getres.c: Likewise.
16549         * rt/clock_settime.c: Define __clock_settime as an alias.
16550         * sysdeps/unix/clock_settime.c: Likewise.
16551         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16552         * sysdeps/unix/clock_nanosleep.c: Likewise.
16553         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16554         * rt/clock-compat.c: New file.
16555         * rt/Makefile (librt-routines): Add clock-compat and move
16556         $(clock-routines) to ...
16557         (routines): ... here, new variable.
16558         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16559         Don't add get_clockfreq here.
16560         * rt/Versions (libc: GLIBC_2.17): New version set.
16561         Add clock_* symbols here.
16562         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16563         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16564         (GLIBC_2.17): Add clock_* symbols.
16565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16567         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16569         Likewise.
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16571         Likewise.
16572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16576         * NEWS: Mention the move.
16578         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16579         Use __open, __read, __close rather than their public counterparts.
16580         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16581         (__get_clockfreq_via_cpuinfo): Likewise.
16582         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16583         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16585         * config.h.in (HAVE_IFUNC): New #undef.
16586         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16587         was successful.
16588         * configure: Regenerated.
16590 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16592         * configure.in: Move READELF check to start of file.
16593         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16594         libc_cv_asm_gnu_indirect_function in the process.
16595         * configure: Regenerated.
16597 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16599         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16600         send the output to /dev/null.
16601         (libc_cv_cc_with_libunwind): Likewise.
16602         (libc_cv_as_noexecstack): Likewise.
16603         * configure: Regenerate.
16605 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16607         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16609         * posix/globtest.sh (TMPDIR): Do not set.
16610         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16611         (testout): Likewise.
16613 2012-10-24  Andreas Jaeger  <aj@suse.de>
16615         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16616         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16617         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16618         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16619         posix_fadvise64, posix_fallocate64.
16621         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16622         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16623         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16624         Likewise.
16625         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16626         Likewise.
16627         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16630         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16631         <bits/fcntl-linux.h>.
16632         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16635         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16636         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16637         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16638         [__WORDSIZE != 64]: Likewise.
16640 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16642         * Makeconfig (run-built-tests): New variable.
16643         * Rules [$(cross-compiling) = yes]: Change condition to
16644         [$(run-built-tests) = no].
16645         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16646         to [$(run-built-tests) = yes].
16647         * elf/Makefile [$(cross-compiling) = no]: Likewise
16648         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16649         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16650         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16651         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16652         * io/Makefile [$(cross-compiling) = no]: Likewise.
16653         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16654         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16655         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16656         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16657         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16658         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16659         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16660         * string/Makefile [$(cross-compiling) = no]: Likewise.
16662         * posix/Makefile ($(objpfx)globtest.out): Pass
16663         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16664         $(rtld-installed-name).
16665         * posix/globtest.sh (elf_objpfx): Remove variable.
16666         (rtld_installed_name): Likewise.
16667         (library_path): Likewise.
16668         (run_program_prefix): New variable.  Use for running globtest
16669         binary.
16671 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16672             Joseph Myers  <joseph@codesourcery.com>
16674         * Makeconfig (host-built-program-cmd): New variable.
16675         * elf/Makefile (tst-stackguard1-ARGS): Use
16676         $(host-built-program-cmd).
16677         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16678         (tst-spawn-ARGS): Likewise.
16679         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16681 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16682             Jim Blandy  <jimb@codesourcery.com>
16684         * Makeconfig (run-via-rtld-prefix): New variable.
16685         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16686         (built-program-cmd): Likewise.
16688 2012-10-22  Andreas Jaeger  <aj@suse.de>
16690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16691         __O_RSYNC if it exists, otherwise to O_SYNC.
16693 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16694             Joseph Myers  <joseph@codesourcery.com>
16696         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16697         /dev/null.
16698         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16699         from /dev/null
16700         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16701         /dev/null.
16703 2012-10-22  Andreas Jaeger  <aj@suse.de>
16705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16706         Define always.
16707         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16710         bits/fcntl-linux.h.
16712         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16713         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16715         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16716         to __O_LARGEFILE.
16717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16718         to __O_LARGEFILE.
16720 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16721             Joseph Myers  <joseph@codesourcery.com>
16723         * config.make.in (NM): New variable.
16725 2012-10-21  Andreas Jaeger  <aj@suse.de>
16727         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16728         definitions and declarations that are provided by
16729         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16731 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16733         [BZ #14683]
16734         * elf/Makefile (tests-static): Add tst-leaks1-static.
16735         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16736         ($(objpfx)tst-leaks1-static): New rule.
16737         ($(objpfx)tst-leaks1-static-mem): Likewise.
16738         (tst-leaks1-static-ENV): New macro.
16739         * elf/dl-open.c (dl_open_worker): Check the main application
16740         only if SHARED is defined.
16741         * elf/tst-leaks1-static.c: New file.
16743 2012-10-20  Andreas Jaeger  <aj@suse.de>
16745         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16746         generic values for Linux.
16747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16748         and declarations that are provided by <bits/fcntl-linux.h> and
16749         include <bits/fcntl-linux.h>.
16750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16753 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16755         * io/fcntl.h: Move include of <bits/types.h> to the top and
16756         include it unconditionally.
16758 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16760         * wcsmbs/Makefile (tests-ifunc): New variable.
16761         (tests): Add $(tests-ifunc).
16762         * wcsmbs/test-wcschr-ifunc.c: New file.
16763         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16764         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16765         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16766         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16767         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16769         * string/Makefile (tests-ifunc): New variable.
16770         (tests): Add $(tests-ifunc).
16771         * string/test-memccpy.c (TEST_NAME): New macro.
16772         * string/test-memchr.c (TEST_NAME): Likewise.
16773         * string/test-memcmp.c (TEST_NAME): Likewise.
16774         * string/test-memcpy.c (TEST_NAME): Likewise.
16775         * string/test-memmem.c (TEST_NAME): Likewise.
16776         * string/test-memmove.c (TEST_NAME): Likewise.
16777         * string/test-memset.c (TEST_NAME): Likewise.
16778         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16779         * string/test-stpcpy.c (TEST_NAME): Likewise.
16780         * string/test-stpncpy.c (TEST_NAME): Likewise.
16781         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16782         * string/test-strcasestr.c (TEST_NAME): Likewise.
16783         * string/test-strcat.c (TEST_NAME): Likewise.
16784         * string/test-strchr.c (TEST_NAME): Likewise.
16785         * string/test-strcmp.c(TEST_NAME): Likewise.
16786         * string/test-strcpy.c (TEST_NAME): Likewise.
16787         * string/test-strcspn.c (TEST_NAME): Likewise.
16788         * string/test-strlen.c (TEST_NAME): Likewise.
16789         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16790         * string/test-strncmp.c (TEST_NAME): Likewise.
16791         * string/test-strncpy.c (TEST_NAME): Likewise.
16792         * string/test-strnlen.c (TEST_NAME): Likewise.
16793         * string/test-strpbrk.c (TEST_NAME): Likewise.
16794         * string/test-strrchr.c (TEST_NAME): Likewise.
16795         * string/test-strspn.c (TEST_NAME): Likewise.
16796         * string/test-strstr.c (TEST_NAME): Likewise.
16797         * string/test-bcopy-ifunc.c: New file.
16798         * string/test-bzero-ifunc.c: Likewise.
16799         * string/test-memccpy-ifunc.c: Likewise.
16800         * string/test-memchr-ifunc.c: Likewise.
16801         * string/test-memcmp-ifunc.c: Likewise.
16802         * string/test-memcpy-ifunc.c: Likewise.
16803         * string/test-memmem-ifunc.c: Likewise.
16804         * string/test-memmove-ifunc.c: Likewise.
16805         * string/test-mempcpy-ifunc.c: Likewise.
16806         * string/test-memset-ifunc.c: Likewise.
16807         * string/test-rawmemchr-ifunc.c: Likewise.
16808         * string/test-stpcpy-ifunc.c: Likewise.
16809         * string/test-stpncpy-ifunc.c: Likewise.
16810         * string/test-strcasecmp-ifunc.c: Likewise.
16811         * string/test-strcasestr-ifunc.c: Likewise.
16812         * string/test-strcat-ifunc.c: Likewise.
16813         * string/test-strchr-ifunc.c: Likewise.
16814         * string/test-strchrnul-ifunc.c: Likewise.
16815         * string/test-strcmp-ifunc.c: Likewise.
16816         * string/test-strcpy-ifunc.c: Likewise.
16817         * string/test-strcspn-ifunc.c: Likewise.
16818         * string/test-strlen-ifunc.c: Likewise.
16819         * string/test-strncasecmp-ifunc.c: Likewise.
16820         * string/test-strncat-ifunc.c: Likewise.
16821         * string/test-strncmp-ifunc.c: Likewise.
16822         * string/test-strncpy-ifunc.c: Likewise.
16823         * string/test-strnlen-ifunc.c: Likewise.
16824         * string/test-strpbrk-ifunc.c: Likewise.
16825         * string/test-strrchr-ifunc.c: Likewise.
16826         * string/test-strspn-ifunc.c: Likewise.
16827         * string/test-strstr-ifunc.c: Likewise.
16829         * debug/Makefile (tests-ifunc): New variable.
16830         (tests): Add $(tests-ifunc).
16831         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16832         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16833         * debug/test-stpcpy_chk-ifunc.c: New file.
16834         * debug/test-strcpy_chk-ifunc.c: Likewise.
16836 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16838         [BZ #13601]
16839         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16840         header is not read in.
16842 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16844         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16845         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16846         directly.  Pass built executable to script as
16847         $(built-program-cmd).
16848         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16849         $testprogram without using LD_LIBRARY_PATH and $ldso.
16851         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16852         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16853         $(rtld-installed-name).
16854         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16855         (rtld_installed_name): Likewise.
16856         (library_path): Likewise.
16857         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16858         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16859         $(run-program-prefix) to tst-tables.sh.
16860         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16861         it to run tst-table-from and tst-table-to.
16862         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16863         Pass it to tst-table.sh.
16864         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16865         $(run-program-prefix) to tst-gettext.sh.
16866         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16867         tst-translit.sh.
16868         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16869         tst-gettext2.sh.
16870         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16871         to run tst-gettext.
16872         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16873         to run tst-gettext2.
16874         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16875         to run tst-translit.
16876         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16877         $(run-program-prefix) to tst-mtrace.sh.
16878         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16879         to run tst-mtrace.
16880         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16881         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16882         $(rtld-installed-name).
16883         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16884         (rtld_installed_name): Likewise.
16885         (run_program_prefix): New variable.  Use it to run wordexp-test.
16887         * Makeconfig (ARCH): Remove all definitions.
16888         (machine): Likewise.
16889         [ARCH]: Remove conditional code.
16890         [!objdir]: Give error.
16891         [!objdir] (objpfx): Remove.
16892         [!objdir] (common-objpfx): Likewise.
16893         [!objdir] (common-objdir): Likewise.
16894         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16895         AC_CONFIG_FILES call.
16896         * configure: Regenerated.
16898         [BZ #13888]
16899         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16900         or TMPDIR.
16901         (testout): Likewise.
16903         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16904         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16905         $(rtld-installed-name).
16906         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16907         (rtld_installed_name): Likwise.
16908         (runit): Remove function.
16909         (run_getconf): New variable,  Use it for running getconf binary.
16911 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16913         [BZ #14716]
16914         * string/test-memmem.c (check_result): New function.
16915         (do_one_test): Use it.
16916         (check1): New function.
16917         (test_main): Use it.
16919 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16921         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16923 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16925         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16926         (_G_LSEEK64): Likewise.
16927         (_G_MMAP64): Likewise.
16928         (_G_FSTAT64): Likewise.
16929         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16930         (_G_LSEEK64): Likewise.
16931         (_G_MMAP64): Likewise.
16932         (_G_FSTAT64): Likewise.
16933         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16934         unconditional.  Call __mmap64 directly.
16935         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16936         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16937         __lseek64 directly.
16938         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16939         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16940         __mmap64 directly.
16941         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16942         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16943         __lseek64 directly.
16944         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16945         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16946         __lseek64 directly.
16947         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16948         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16949         __lseek64 directly.
16950         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16951         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16952         __fxstat64 directly.
16953         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16954         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16955         unconditional.
16956         (freopen64) [!_G_OPEN64]: Remove conditional code.
16957         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16958         unconditional.
16959         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16960         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16961         unconditional.
16962         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16963         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16964         unconditional.
16965         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16966         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16967         unconditional.
16968         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16969         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16970         unconditional.
16971         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16972         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16973         unconditional.
16974         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16975         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16976         unconditional.
16977         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16979 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16981         [BZ #12140]
16982         * manual/memory.texi (Malloc Tunable Parameters): Add note
16983         about free list pointers overwriting some perturb bytes.
16984         Wording suggested by Roland McGrath.
16986 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16988         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16989         (lgamma_test): Likewise.
16990         (tgamma_test): Likewise.
16992 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16994         [BZ #14700]
16995         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16996         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16998 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17000         * NEWS: Mention BZ #14716.
17001         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17002         when removing AVAILABLE1_USES_J macro.
17004 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17006         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17007         (__bswap_64): __uint64_t for unsigned 64-bit int.
17009 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17011         * include/string.h (memmem): Declare libc hidden alias.
17012         * string/memmem.c (memmem): Define libc hidden alias.
17013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17014         __read, __close instead of open, read, close.
17016 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17019         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17020         global and hidden.
17021         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17022         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17023         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17024         Likewise.
17025         (__rawmemchr_sse2): Likewise.
17026         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17027         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17028         (__strchr_sse2): Likewise.
17029         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17030         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17031         (__strcasecmp_sse2): Likewise.
17032         (__strncasecmp_sse2): Likewise.
17033         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17034         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17035         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17036         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17037         (__strrchr_sse2): Likewise.
17038         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17039         ifunc-impl-list.c.
17040         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17041         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17042         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17043         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17044         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17045         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17046         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17047         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17048         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17049         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17050         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17051         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17052         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17053         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17054         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17055         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17056         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17057         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17058         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17059         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17060         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17061         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17062         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17063         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17064         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17065         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17066         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17067         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17068         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17069         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17071         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17072         global and hidden.
17073         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17074         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17075         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17076         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17077         Likewise.
17078         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17079         Likewise.
17080         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17081         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17082         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17083         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17084         ifunc-impl-list.c.
17085         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17086         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17087         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17088         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17089         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17090         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17091         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17092         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17093         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17094         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17095         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17096         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17097         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17098         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17099         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17100         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17101         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17102         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17103         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17104         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17106         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17107         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17108         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17109         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17110         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17111         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17112         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17113         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17114         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17115         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17116         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17117         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17118         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17119         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17120         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17121         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17122         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17123         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17124         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17125         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17127         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17128         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17129         * include/ifunc-impl-list.h: New file.
17130         * misc/ifunc-impl-list.c: Likewise.
17131         * misc/Makefile (routines): Add ifunc-impl-list.
17132         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17133         * string/test-string.h: Include <ifunc-impl-list.h>.
17134         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17135         impl_array): New variables.
17136         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17137         are defined.
17138         (test_init): Call __libc_ifunc_impl_list to initialize
17139         func_list if TEST_IFUNC and TEST_NAME are defined.
17141         * string/Makefile (strop-tests): Add bcopy and bzero.
17142         * string/test-bcopy.c: New file.
17143         * string/test-bzero.c: Likewise.
17144         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17145         defined.
17146         * string/test-memset.c: Support bzero test if TEST_BZERO is
17147         defined.
17148         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17149         __libc_memmove.
17150         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17151         __libc_memset.
17152         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17153         of memset.
17155 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17157         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17158         * configure: Regenerated.
17160         * Makeconfig (+link-static-before-libc): Don't include
17161         $(link-static-libc).
17163         * libio/libio.h (_IO_pos_t): Remove.
17165 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17167         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17168         McGrath.
17170 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17172         * crypt/crypt-entry.c: Include fips-private.h.
17173         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17174         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17175         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17176         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17178 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17180         * crypt/crypt-private.h: Include stdbool.h.
17181         (_ufc_setup_salt_r): Return bool.
17182         * crypt/crypt-entry.c: Include errno.h.
17183         (__crypt_r): Return NULL with EINVAL for bad salt.
17184         * crypt/crypt_util.c (bad_for_salt): New.
17185         (_ufc_setup_salt_r): Check that salt is long enough and within
17186         the specified alphabet.
17187         * crypt/badsalttest.c: New file.
17188         * crypt/Makefile (tests): Add it.
17189         ($(objpfx)badsalttest): New.
17191 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17193         * NEWS: Add entry for BZ #14602.
17195 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17197         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17198         type-generic.
17199         * math/libm-test.inc: Update comment listing what functions and
17200         macros are tested.
17201         (isgreater_test): New function.
17202         (isgreaterequal_test): Likewise.
17203         (isless_test): Likewise.
17204         (islessequal_test): Likewise.
17205         (islessgreater_test): Likewise.
17206         (isunordered_test): Likewise.
17207         (main): Call the new functions.
17209 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17211         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17212         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17213         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17214         * sysdeps/i386/configure: Regenerated.
17215         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17216         * sysdeps/mach/configure: Regenerated.
17217         * sysdeps/mach/hurd/configure: Regenerated.
17218         * sysdeps/powerpc/configure: Regenerated.
17219         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17220         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17221         * sysdeps/s390/s390-32/configure: Regenerated.
17222         * sysdeps/s390/s390-64/configure: Regenerated.
17223         * sysdeps/sh/configure: Regenerated.
17224         * sysdeps/sparc/configure: Regenerated.
17225         * sysdeps/unix/sysv/linux/configure: Regenerated.
17226         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17227         * sysdeps/x86_64/configure: Regenerated.
17229         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17230         defined.  Don't check if MAP is NULL.
17232 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17234         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17235         (_G_stat64): Likewise.
17236         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17237         (_G_stat64): Likewise.
17238         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17239         instead of struct _G_stat64.
17240         * libio/fileops.c (mmap_remap_check): Likewise.
17241         (decide_maybe_mmap): Likewise.
17242         (_IO_new_file_seekoff): Likewise.
17243         (_IO_file_stat): Likewise.
17244         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17245         _G_off64_t.
17246         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17247         instead of struct _G_stat64.
17248         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17250 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17252         [BZ #14602]
17253         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17254         Replace with ...
17255         (CHECK_EOL): New macro.
17256         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17257         CHECK_EOL.
17258         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17259         Replace with CHECK_EOL.
17260         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17261         Replace with CHECK_EOL.
17263 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17265         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17266         type-generic.
17267         * math/libm-test.inc: Update comment listing what functions and
17268         macros are tested.
17269         (finite_test): New function.
17270         (isinf_test): Likewise.
17271         (isnan_test): Likewise.
17272         (fpclassify_test): Test subnormal input.
17273         (isfinite_test): Likewise.
17274         (isnormal_test): Likewise.
17275         (main): Call the new functions.
17277 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17279         [BZ #14660]
17280         * Makerules (%.dynsym): Force C locale when running
17281         $(OBJDUMP) --dynamic-syms.
17283 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17285         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17286         <stdint.h>.
17288 2012-10-06  David S. Miller  <davem@davemloft.net>
17290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17291         upper 32-bits of the length value in %o2 since we use branch-on-register
17292         tests which consider the entire 64-bit register.
17294 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17296         * string/test-strstr.c (check2): Add a test for page boundary.
17298 2012-10-05  David S. Miller  <davem@davemloft.net>
17300         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17301         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17302         file.
17303         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17304         sysdep_routines.
17305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17306         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17307         and bzero when HWCAP_SPARC_CRYPTO is present.
17309 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17311         [BZ #14602]
17312         * string/test-strstr.c (check2): New function.
17313         (test_main): Call check2.
17315         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17316         and bug-strchr1.
17317         * string/bug-strcasestr1.c (do_test): Moved to ...
17318         * string/test-strcasestr.c (check1): Here.  New function.
17319         (do_one_test): Break out result checking code into ...
17320         (check_result): This.  New function.
17321         (do_one_test): Call check_result.
17322         (test_main): Call check1.
17323         * string/bug-strchr1.c (do_test): Moved to ...
17324         * string/test-strchr.c (check1): Here.  New function.
17325         (do_one_test): Break out result checking code into ...
17326         (check_result): This.  New function.
17327         (do_one_test): Call check_result.
17328         (test_main): Call check1.
17329         * string/bug-strstr1.c (main): Moved to ...
17330         * string/test-strstr.c (check1): Here.  New function.
17331         (do_one_test): Break out result checking code into ...
17332         (check_result): This.  New function.
17333         (do_one_test): Call check_result.
17334         (test_main): Call check1.
17335         * string/bug-strcasestr1.c: Removed.
17336         * string/bug-strchr1.c: Likewise.
17337         * string/bug-strstr1.c: Likewise.
17339         * elf/Makefile (dl-routines): Add hwcaps.
17340         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17341         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17342         (_dl_important_hwcaps): Moved to ...
17343         * elf/dl-hwcaps.c: Here.  New file.
17344         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17346         [BZ #14557]
17347         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17348         if IS_IN_rtld isn't defined.
17350         * elf/dl-support.c (_dl_sysinfo_map): New.
17351         Include "get-dynamic-info.h" and "setup-vdso.h".
17352         (_dl_non_dynamic_init): Call setup_vdso.
17353         * elf/dynamic-link.h: Don't include <assert.h>.
17354         (elf_get_dynamic_info): Moved to ...
17355         * elf/get-dynamic-info.h: Here.  New file.
17356         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17357         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17358         * elf/setup-vdso.h: Here.  New file.
17359         * elf/rtld.c: Include "setup-vdso.h".
17360         (dl_main): Call setup_vdso.
17362 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17364         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17365         creal in comment listing functions tested.  List finite, isinf,
17366         isnan, isless, islessequal, isgreater, isgreaterequal,
17367         islessgreater, isunordered, lgamma_r and pow10 as functions and
17368         macros not tested.  Mention which functions not tested are aliases
17369         for other functions.  Fix typo.  Note that signs of NaNs are not
17370         tested.
17372         * scripts/config.guess: Update from config.git.
17373         * scripts/config.sub: Likewise.
17375 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17377         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17378         * misc/madvise.c (madvise): Renamed to __madvise.
17379         Make madvise a weak alias.
17380         * include/sys/mman.h: Declare __madvise.
17381         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17382         * sysdeps/unix/syscalls.list
17383         (madvise): Make __madvise the strong name, and madvise a weak alias.
17384         * sysdeps/unix/sysv/linux/syscalls.list
17385         (madvise, mmap): Remove redundant entries.
17386         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17387         * malloc/malloc.c (mtrim): Likewise.
17388         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17390 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17392         * sysdeps/mach/hurd/dl-cache.c: File removed.
17393         * config.h.in (USE_LDCONFIG): New #undef.
17394         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17395         * configure: Regenerated.
17396         * elf/Makefile (dl-routines): Add dl-cache only under
17397         [$(use-ldconfig) = yes].
17398         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17399         cache on [USE_LDCONFIG].
17400         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17401         [USE_LDCONFIG].
17402         * elf/rtld.c (dl_main): Likewise.
17404 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17406         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17407         _SC_LEVEL4_CACHE_LINESIZE.
17409 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17411         * sysdeps/unix/bsd/confstr.h: File removed.
17413 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17415         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17416         sys/sdt-config.h.
17418 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17420         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17421         Make 'mapoff' field ElfW(Off) rather than off_t.
17423 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17425         * nscd/Makefile: Remove nscd-cflags and all its users.
17426         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17427         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17429         [BZ #10631]
17430         * malloc.c (malloc_printerr): Clarify error message.
17432 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17434         [BZ #14648]
17435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17436         Set bit_FMA_Usable if FMA is supported.
17437         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17438         macro.
17439         (bit_FMA4_Usable): Updated.
17440         (index_FMA_Usable): New macro.
17441         (CPUID_FMA): Likewise
17442         (HAS_FMA): Defined with bit_FMA_Usable.
17444 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17446         * bits/types.h (__swblk_t): Type removed.
17447         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17448         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17450         (__SWBLK_T_TYPE): Likewise.
17451         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17452         (__SWBLK_T_TYPE): Likewise.
17453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17454         (__SWBLK_T_TYPE): Likewise.
17455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17456         (__SWBLK_T_TYPE): Likewise.
17458 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17459             Honza Horak <hhorak@redhat.com>
17461         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17462         (xdr_mapname): Use YPMAXMAP as maxsize.
17463         (xdr_peername): Use YPMAXPEER as maxsize.
17464         (xdr_keydat): Use YPAXRECORD as maxsize.
17465         (xdr_valdat): Use YPMAXRECORD as maxsize.
17467 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17469         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17471         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17472         * csu/init-first.c: ... here.
17473         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17474         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17475         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17476         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17477         * sysdeps/i386/init-first.c: File removed.
17478         * sysdeps/sh/init-first.c: File removed.
17480 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17482         [BZ #14645]
17483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17484         if x * y might underflow to zero and z is zero.
17485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17487         * math/libm-test.inc (min_subnorm_value): New variable.
17488         (fma_test): Add more tests.
17489         (fma_test_towardzero): Likewise.
17490         (fma_test_downward): Likewise
17491         (fma_test_upward): Likewise.
17492         (initialize): Set min_subnorm_value.
17494 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17496         [BZ #14638]
17497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17498         0 + 0.
17499         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17500         mode for addition resulting in exact zero.
17501         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17503         exact 0 + 0.
17504         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17506         * math/libm-test.inc (fma_test): Add more tests.
17507         (fma_test_towardzero): New function.
17508         (fma_test_downward): Likewise.
17509         (fma_test_upward): Likewise.
17510         (main): Call the new functions.
17512 2012-09-28  David S. Miller  <davem@davemloft.net>
17514         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17516 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17518         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17519         instead of SIGALRM.
17521         * sysdeps/gnu/_G_config.h: Moved to ...
17522         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17523         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17524         * sysdeps/generic/_G_config.h: ... here.
17526         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17528         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17530         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17531         Conditionalize target on [libnss_test1.so-version].
17533         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17535         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17536         (elfobjdir): Move out of conditionals.
17538         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17539         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17540         (__nss_lookup_function): Conditionalize label remove_from_tree on
17541         [!DO_STATIC_NSS || SHARED], matching its only use.
17543 2012-09-28  David S. Miller  <davem@davemloft.net>
17545         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17546         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17547         file.
17548         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17549         sysdep_routines.
17550         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17552         when HWCAP_SPARC_CRYPTO is present.
17554 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17556         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17558 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17560         [BZ #6530]
17561         * stdio-common/vfprintf.c (process_string_arg): Revert
17562         2000-07-22 change.
17564 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17566         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17567         for testcase.
17568         * stdio-common/tst-sprintf.c: Include <locale.h>
17569         (main): Test sprintf's handling of incomplete multibyte
17570         characters.
17572 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17574         * elf/dl-runtime.c (VERSYMIDX): Removed.
17575         * elf/dl-version.c (VERSYMIDX): Likewise.
17576         * elf/do-rel.h (VERSYMIDX): Likewise.
17577         (VALIDX): Likewise.
17578         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17579         * elf/rtld.c (VALIDX): Likewise.
17580         (ADDRIDX): Likewise.
17581         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17582         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17583         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17584         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17585         (VALIDX): Likewise.
17586         (ADDRIDX): Likewise.
17588 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17590         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17592 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17594         [BZ #11438]
17595         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17596         to global scope.
17597         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17598         addresses are in the same scope as 192.0.2/24.
17599         * posix/gai.conf: Document new scope table defaults.
17601 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17603         [BZ #5298]
17604         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17605         for ftell.  Compute offsets from write pointers instead.
17606         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17608 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17610         [BZ #14543]
17611         * libio/Makefile (tests): New test case tst-fseek.
17612         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17613         combination works in wide mode.
17614         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17615         state when the external buffer state changes.
17617 2012-09-27  David S. Miller  <davem@davemloft.net>
17619         [BZ #14376]
17620         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17621         pass reloc->r_addend in as the 'high' argument to
17622         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17626 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17628         * rt/tst-aio2.c: Include <pthread.h>.
17629         * rt/tst-aio3.c: Likewise.
17631 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17633         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17635 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17637         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17638         contents on [SHARED].
17640 2012-09-26  Marek Polacek  <polacek@redhat.com>
17642         [BZ #14530]
17643         [BZ #13741]
17644         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17645         for C++ and GCC <4.3 as well as for non GCC compilers.
17647 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17651 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17653         * Makefile.in (all, install): Declare with .PHONY.
17654         Reported by Michael Hope <michael.hope@linaro.org>.
17656 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17658         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17659         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17660         system header.
17661         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17662         Likewise.
17663         (sydep_routines): Add the new and the internal functions.
17664         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17665         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17667         (GLIBC_2.17): Add the new function.
17668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17669         (GLIBC_2.17): Likewise.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17671         (GLIBC_2.17): Likewise.
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17673         (GLIBC_2.17): Likewise.
17674         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17676 2012-09-25  Alan Modra  <amodra@gmail.com>
17678         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17679         Add release barrier before setting once_control to say
17680         initialisation is done.  Add hints on lwarx.  Use macro in
17681         place of isync.
17682         (clear_once_control): Add release barrier.
17684 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #13629]
17687         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17688         specially.
17689         * math/s_clog10.c (__clog10): Likewise.
17690         * math/s_clog10f.c (__clog10f): Likewise.
17691         * math/s_clog10l.c (__clog10l): Likewise.
17692         * math/s_clogf.c (__clogf): Likewise.
17693         * math/s_clogl.c (__clogl): Likewise.
17694         * math/Makefile (libm-calls): Add x2y2m1.
17695         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17696         (__x2y2m1): Likewise.
17697         (__x2y2m1l): Likewise.
17698         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17699         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17702         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17703         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17704         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17705         * sysdeps/i386/fpu/libm-test-ulps: Update.
17706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17708         [BZ #14621]
17709         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17710         int as type of variable DEPTH.
17711         (glob): Use size_t instead of int as type of variables NEWCOUNT
17712         and OLD_PATHC.
17714 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17716         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17717         Add s_sincosf-sse2.
17718         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17719         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17720         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17721         macros for using routine as __sincosf_ia32.
17722         Use macro for function declaration and weak_alias.
17723         * sysdeps/i386/fpu/libm-test-ulps: Update.
17725         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17728         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17729         subnormal argument.
17730         * math/s_cexpf.c (__cexpf): Likewise.
17731         * math/s_csinf.c (__csinf): Likewise.
17732         * math/s_csinhf.c (__csinhf): Likewise.
17733         * math/s_ctanf.c (__ctanf): Likewise.
17734         * math/s_ctanhf.c (__ctanhf): Likewise.
17735         * math/s_ccosh.c (__ccoshf): Likewise.
17736         * math/s_cexp.c (__cexpl): Likewise.
17737         * math/s_csin.c (__csin): Likewise.
17738         * math/s_csinh.c (__csinh): Likewise.
17739         * math/s_ctan.c (__ctan): Likewise.
17740         * math/s_ctanh.c (ctanh): Likewise.
17741         * math/s_ccoshl.c (__ccoshl): Likewise.
17742         * math/s_cexpl.c (__cexpl): Likewise.
17743         * math/s_csinl.c (__csinl): Likewise.
17744         * math/s_csinhl.c (__csinhl): Likewise.
17745         * math/s_ctanl.c (__ctanl): Likewise.
17746         * math/s_ctanhl.c (__ctanhl): Likewise.
17748 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17750         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17751         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17752         (_IO_off_t): Define to __off_t, not _G_off_t.
17753         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17754         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17755         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17756         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17757         type of __dummy and __dummy2 fields.
17758         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17759         (_G_ssize_t): Likewise.
17760         (_G_off_t): Likewise.
17761         (_G_pid_t): Likewise.
17762         (_G_uid_t): Likewise.
17763         (_G_wchar_t): Likewise.
17764         (_G_wint_t): Likewise.
17765         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17766         (_G_ssize_t): Likewise.
17767         (_G_off_t): Likewise.
17768         (_G_pid_t): Likewise.
17769         (_G_uid_t): Likewise.
17770         (_G_wchar_t): Likewise.
17771         (_G_wint_t): Likewise.
17772         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17773         (_G_ssize_t): Likewise.
17774         (_G_off_t): Likewise.
17775         (_G_pid_t): Likewise.
17776         (_G_uid_t): Likewise.
17777         (_G_wchar_t): Likewise.
17778         (_G_wint_t): Likewise.
17780 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17782         * malloc/arena.c: Include malloc-sysdep.h.
17783         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17784         is sufficient to shrink the heap or an unmap is needed.
17785         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17786         new function check_may_shrink_heap.
17787         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17788         new function check_may_shrink_heap.
17790 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17792         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17793         comments.
17795 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17797         * catgets/test-gencat.sh: Add "set -e".
17798         * elf/tst-pathopt.sh: Likewise.
17799         * grp/tst_fgetgrent.sh: Likewise.
17800         * iconvdata/run-iconv-test.sh: Likewise.
17801         * intl/tst-gettext.sh: Likewise.
17802         * intl/tst-gettext2.sh: Likewise.
17803         * intl/tst-gettext4.sh: Likewise.
17804         * intl/tst-gettext6.sh: Likewise.
17805         * intl/tst-translit.sh: Likewise.
17806         * io/ftwtest-sh: Likewise.
17807         * libio/test-freopen.sh: Likewise.
17808         * malloc/tst-mtrace.sh: Likewise.
17809         * posix/globtest.sh: Likewise.
17810         * posix/tst-getconf.sh: Likewise.
17811         * posix/wordexp-tst.sh: Likewise.
17812         * stdio-common/tst-printf.sh: Likewise.
17813         * stdio-common/tst-unbputc.sh: Likewise.
17814         * stdlib/tst-fmtmsg.sh: Likewise.
17815         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17816         * catgets/Makefile: Do not specify -e option when running
17817         testsuite shell scripts.
17818         * elf/Makefile: Likewise.
17819         * grp/Makefile: Likewise.
17820         * iconvdata/Makefile: Likewise.
17821         * intl/Makefile: Likewise.
17822         * io/Makefile: Likewise.
17823         * libio/Makefile: Likewise.
17824         * malloc/Makefile: Likewise.
17825         * posix/Makefile: Likewise.
17826         * stdio-common/Makefile: Likewise.
17827         * stdlib/Makefile: Likewise.
17828         * sysdeps/x86_64/Makefile: Likewise.
17830         * io/ftwtest-sh: Add copyright header.
17831         * posix/globtest.sh: Likewise.
17832         * posix/tst-getconf.sh: Likewise.
17833         * posix/wordexp-tst.sh: Likewise.
17834         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17836 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17838         [BZ #13679]
17839         * Makeconfig (+link): Defined as $(+link-static) if
17840         $(build-shared) isn't yes.
17841         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17842         isn't yes.
17843         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17845         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17847         [BZ #14562]
17848         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17849         new chunk size with MALLOC_ALIGN_MASK.
17851 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17853         [BZ #5044]
17854         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17855         <rounding-mode.h>.
17856         (__printf_fphex): Determine rounding using get_rounding_mode and
17857         round_away.
17858         * stdio-common/tst-printf-round.c (struct hex_test): New
17859         structure.
17860         (hex_tests): New variable.
17861         (test_hex_in_one_mode): New function.
17862         (do_test): Also run tests for hex float output.
17864 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17866         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17867         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17868         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17869         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17870         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17871         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17872         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17873         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17875 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17877         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17878         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17879         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17880         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17882 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17884         [BZ #14579]
17885         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17886         mode only.
17887         * elf/tst-rtld-load-self.sh: New test.
17888         * elf/Makefile: Run it.
17890 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17892         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17893         (tst-writev-ENV): Remove.
17894         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17896 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17898         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17900 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17902         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17903         unconditional.
17904         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17905         Likewise.
17906         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17907         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17908         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17909         Likewise.
17911 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17913         [BZ #14587]
17914         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17915         * config.make.in (have-cpp-asm-debuginfo): Removed.
17916         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17917         * configure: Regenerated.
17919 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17921         [BZ #5044]
17922         * stdio-common/printf_fp.c: Include <stdbool.h> and
17923         <rounding-mode.h>.
17924         (___printf_fp): Determine rounding using get_rounding_mode and
17925         round_away.
17926         * stdio-common/tst-printf-round.c: New file.
17927         * stdio-common/Makefile (tests): Add tst-printf-round.
17928         (link-libm): New variable.
17929         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17931 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17933         [BZ #14576]
17934         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17935         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17936         Likewise.
17937         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17938         Likewise.
17940 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17942         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17943         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17944         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17945         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17947 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17949         [BZ #14518]
17950         * include/rounding-mode.h: New file.
17951         * sysdeps/generic/get-rounding-mode.h: Likewise.
17952         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17953         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17954         (MAX_VALUE): New macro.
17955         (MIN_VALUE): Likewise.
17956         (overflow_value): New function.
17957         (underflow_value): Likewise.
17958         (round_and_return): Use overflow_value and underflow_value to
17959         determine return values in overflow and underflow cases.  Use
17960         round_away to determine rounding depending on rounding mode.
17961         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17962         determine return values in overflow and underflow cases.
17963         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17964         (struct test_results): New structure.
17965         (struct test): Use struct test_results to store expected results
17966         for all rounding modes.
17967         (TEST): Include expected results for all rounding modes.
17968         (test_in_one_mode): New function.
17969         (do_test): Use test_in_one_mode to compute and check results.
17970         Check results for all rounding modes.
17971         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17972         $(link-libm).
17974 2012-12-09  Allan McRae  <allan@archlinux.org>
17976         * sysdeps/i386/fpu/libm-test-ulps: Update
17978 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17980         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17981         (_G_int32_t): Likewise.
17982         (_G_uint16_t): Likewise.
17983         (_G_uint32_t): Likewise.
17984         (_G_HAVE_BOOL): Likewise.
17985         (_G_HAVE_ATEXIT): Likewise.
17986         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17987         (_G_HAVE_IO_FILE_OPEN): Likewise.
17988         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17989         (_G_int32_t): Likewise.
17990         (_G_uint16_t): Likewise.
17991         (_G_uint32_t): Likewise.
17992         (_G_HAVE_BOOL): Likewise.
17993         (_G_HAVE_ATEXIT): Likewise.
17994         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17995         (_G_HAVE_IO_FILE_OPEN): Likewise.
17996         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17997         (_G_int32_t): Likewise.
17998         (_G_uint16_t): Likewise.
17999         (_G_uint32_t): Likewise.
18000         (_G_HAVE_BOOL): Likewise.
18001         (_G_HAVE_ATEXIT): Likewise.
18002         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18003         (_G_HAVE_IO_FILE_OPEN): Likewise.
18005 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18007         * csu/libc-tls.c: Update copyright years.
18009 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18011         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18012         [!_G_USING_THUNKS]: Remove conditional code.
18013         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18014         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18016         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18017         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18018         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18019         (_G_VTABLE_LABEL_PREFIX): Likewise.
18020         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18021         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18022         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18023         (_G_VTABLE_LABEL_PREFIX): Likewise.
18024         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18025         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18026         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18027         (_G_VTABLE_LABEL_PREFIX): Likewise.
18028         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18030 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18032         * libio/Makefile: Include ../Makeconfig before tests.
18033         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18034         only if $(build-shared) is yes.
18036         * iconv/gconv_db.c: Update copyright years.
18038 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18040         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18041         unwind info if defined PIC. Fix special cases description.
18042         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18044         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18045         DP_HI_MASK entry.
18046         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18048 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18050         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18052         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18053         is NULL.
18055         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18056         (LDLIBS-tst-chk4): This.
18057         (LDFLAGS-tst-chk5): Renamed to ...
18058         (LDLIBS-tst-chk5): This.
18059         (LDFLAGS-tst-chk6): Renamed to ...
18060         (LDLIBS-tst-chk6): This.
18061         (LDFLAGS-tst-lfschk4): Renamed to ...
18062         (LDLIBS-tst-lfschk4): This.
18063         (LDFLAGS-tst-lfschk5): Renamed to ...
18064         (LDLIBS-tst-lfschk5): This.
18065         (LDFLAGS-tst-lfschk6): Renamed to ...
18066         (LDLIBS-tst-lfschk6): This.
18068         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18069         on $(common-objpfx)soversions.mk.
18071 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18073         [BZ #10014]
18074         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18075         example host name.
18077 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18079         * malloc/arena.c (arena_get_retry): New function that gets
18080         another arena for the caller to try its request on.
18081         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18082         current arena cannot fulfill the request.
18083         (__libc_memalign): Likewise.
18084         (__libc_memalign): Likewise.
18085         (__libc_pvalloc): Likewise.
18086         (__libc_calloc): Likewise.
18088 2012-09-05  John Tobey  <john.tobey@gmail.com>
18090         [BZ #13542]
18091         * manual/arith.texi (Operations on Complex): Fix description
18092         of carg branch cut.
18094 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18096         [BZ #10014]
18097         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18098         host name.
18100         [BZ #10038]
18101         * manual/memory.texi (Memory): Make order of menu items match
18102         order of sections.
18104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18106         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18107         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18108         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18110 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18112         * csu/libc-tls.c (static_dtv): Renamed to ...
18113         (_dl_static_dtv): This.  Make it global.
18114         (_dl_initial_dtv): Removed.
18115         (__libc_setup_tls): Updated.
18116         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18117         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18118         DL_INITIAL_DTV.
18120 2012-09-06  Petr Machata  <pmachata@redhat.com>
18122         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18123         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18124         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18125         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18127 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18129         [BZ #14545]
18130         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18131         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18132         freeing dtv[-1].
18134 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18136         [BZ #14544]
18137         * Makeconfig (link-static-before-libc): Replace $(+prector)
18138         with $(+prectorT).
18139         (link-static-after-libc): Replace $(+postctor) with
18140         $(+postctorT).
18141         (link-bounded): Replace $(+prector)/$(+postctor) with
18142         $(+prectorT)/$(+postctorT).
18143         (+prectorT): New macro.
18144         (+postctorT): Likewise.
18146 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18148         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18149         (round_str): Handle values above the maximum for IBM long double
18150         as inexact.
18151         * stdlib/tst-strtod-round.c (tests): Regenerated.
18153 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18155         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18156         assembler flag.
18157         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18158         zarch_nohighgprs around the zarch optimized routines.
18159         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18160         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18161         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18162         for zarch.
18164 2012-09-05  David S. Miller  <davem@davemloft.net>
18166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18168         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18169         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18170         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18171         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18172         entries.
18174 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18176         * malloc/arena.c: Fold copyright years.
18177         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18179 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18181         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18183 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18185         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18187 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18189         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18190         change internal state upon failure.
18192 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18194         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18195         * malloc/memusage.c (mmap): Likewise.
18196         (mmap64, mremap): Likewise.  Adjust name in comment.
18198 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18200         * libio/fileops.c: Fix typos in comments.
18201         * libio/oldfileops.c: Likewise.
18202         * libio/wfileops.c: Likewise.
18204 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18206         [BZ #1349]
18207         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18208         (tst-malloc-usable-ENV): Set environment for test case.
18209         * malloc/hooks.c (malloc_check_get_size): New function to get
18210         requested size.
18211         * malloc/malloc.c (musable): Use malloc_check_get_size.
18212         * malloc/tst-malloc-usable.c: New test case.
18214 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18216         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18218 2012-09-05  Allan McRae  <allan@archlinux.org>
18220         [BZ #13966]
18221         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18222         determine header location.
18223         * configure: Regenerated.
18225 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18227         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18228         float format.
18229         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18230         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18231         format.
18232         (test): Regenerate.
18234 2012-09-04  David S. Miller  <davem@davemloft.net>
18236         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18237         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18238         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18240 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18242         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18243         failures.
18245         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18247 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18249         [BZ #9914]
18250         * libio/iogetdelim.c: Include <limits.h>.
18251         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18252         + len + 1 would overflow.
18254 2012-09-03  Andreas Jaeger  <aj@suse.de>
18256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18257         * sysdeps/i386/fpu/libm-test-ulps: Update.
18259 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18261         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18262         Add s_sinf-sse2, s_conf-sse2.
18264         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18265         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18266         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18267         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18269         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18270         for using routine as __sinf_ia32.
18271         Use macro for function declaration and weak_alias.
18272         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18273         for using routine as __cosf_ia32.
18274         Use macro for function declaration and weak_alias.
18276         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18277         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18279         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18280         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18283         * math/libm-test.inc (cos_test): Add more test cases.
18284         (sin_test): Likewise.
18285         (sincos_test): Likewise.
18287 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18290         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18291         hidden.
18292         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18294 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18296         [BZ #14538]
18297         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18298         first element of the GOT.
18299         (elf_machine_load_address): Return the difference between
18300         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18302 2012-09-01  Allan McRae  <allan@archlinux.org>
18304         [BZ #13412]
18305         * configure.in (AWK): Require gawk version 3.0 or later.
18306         * configure: Regenerated.
18308 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18310         * sysdeps/unix/sysv/linux/kernel-features.h
18311         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18312         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18313         [__NR_clock_getres]: Make code unconditional.
18314         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18315         (clock_getcpuclockid): Remove code left unreachable by removal of
18316         conditionals.
18317         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18318         code unconditional.
18319         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18320         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18321         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18322         Make code unconditional.
18323         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18324         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18325         * sysdeps/unix/sysv/linux/clock_settime.c
18326         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18327         conditional code.
18328         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18329         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18331 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18333         [BZ #14476]
18334         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18335         scripts/test-installation.pl.
18337         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18338         and $ld_so_version if it is set.
18340 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18342         [BZ #14516]
18343         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18344         failure if reading from procfs failed.
18345         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18347 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18349         * sysdeps/unix/sysv/linux/kernel-features.h
18350         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18351         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18352         Remove conditional code.
18353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18354         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18355         Remove conditional code.
18356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18357         * sysdeps/unix/sysv/linux/i386/fxstat.c
18358         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18360         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18361         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18362         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18363         * sysdeps/unix/sysv/linux/i386/lxstat.c
18364         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18366         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18367         Remove conditional code.
18368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18369         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18370         Remove conditional code.
18371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18372         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18373         <kernel-features.h>.
18374         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18375         Remove.
18376         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18377         Remove conditional code.
18378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18379         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18380         Remove conditional.
18382 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18384         [BZ #5400]
18385         * NEWS: Add fixed bug number.
18387 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18389         [BZ #14519]
18390         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18391         underflowing exponent in case of negative sign.
18392         * stdlib/tst-strtod-round-data: Add more tests.
18393         * stdlib/tst-strtod-round.c (tests): Regenerated.
18395         [BZ #3479]
18396         * stdlib/strtod_l.c (NDIG): Remove.
18397         (HEXNDIG): Likewise.
18398         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18399         smallest representable value.
18400         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18401         lie within an exact representation of 1/2 ulp of the result.
18402         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18403         unconditionally.
18404         (TENS_P9_IDX): Define unconditionally.
18405         (TENS_P9_SIZE): Likewise.
18406         (TENS_P10_IDX): Likewise.
18407         (TENS_P10_SIZE): Likewise.
18408         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18409         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18410         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18411         entries for 10^2^13 and 10^2^14.
18412         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18413         (TENS_P13_IDX): Define.
18414         (TENS_P13_SIZE): Likewise.
18415         (TENS_P14_IDX): Likewise.
18416         (TENS_P14_SIZE): Likewise.
18417         (_fpioconst_pow10): Change array size to
18418         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18419         unconditional.
18420         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18421         1024]: Add entries for 10^2^13 and 10^2^14.
18422         [LAST_POW10 > _LAST_POW10]: Remove #error.
18423         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18424         (_fpioconst_pow10): Change array size to
18425         FPIOCONST_POW10_ARRAY_SIZE.
18426         * stdlib/gen-fpioconst.c: New file.
18427         * stdlib/gen-tst-strtod-round.c: Likewise.
18428         * stdlib/tst-strtod-round-data: Likewise.
18429         * stdlib/tst-strtod-round.c: Likewise.
18430         * stdlib/Makefile (tests): Add tst-strtod-round.
18432         [BZ #14459]
18433         * stdlib/strtod_l.c: Include <stdint.h>.
18434         (NDEBUG): Do not define.
18435         (round_and_return): Change EXPONENT parameter to type intmax_t.
18436         Rearrange calculations to avoid internal overflow possibilities.
18437         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18438         Rearrange calculations to avoid internal overflow possibilities.
18439         Assert that number fits inside MPNSIZE limbs.
18440         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18441         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18442         calculations and add assertions to avoid internal overflow
18443         possibilities.  Add casts to avoid signed/unsigned operations.
18444         * stdlib/tst-strtod-overflow.c: New file.
18445         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18447 2012-08-25  Marek Polacek  <polacek@redhat.com>
18449         * time/time.h: Fix some typos in comments.
18451 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18453         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18454         * posix/tst-rfc3484-2.c: Likewise.
18455         * posix/tst-rfc3484-3.c: Likewise.
18457 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18459         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18460         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18462 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18464         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18465         #include of fxstatat64.c.
18467 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18469         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18470         * shadow/getspent_r.c: Likewise.
18471         * shadow/getspnam.c: Likewise.
18472         * shadow/getspnam_r.c: Likewise.
18473         * gshadow/getsgent.c: Likewise.
18474         * gshadow/getsgent_r.c: Likewise.
18475         * gshadow/getsgnam.c: Likewise.
18476         * gshadow/getsgnam_r.c: Likewise.
18477         * inet/getnetbyad.c: Likewise.
18478         * inet/getnetbyad_r.c: Likewise.
18479         * inet/getnetbynm.c: Likewise.
18480         * inet/getnetbynm_r.c: Likewise.
18481         * inet/getnetent.c: Likewise.
18482         * inet/getnetent_r.c: Likewise.
18483         * inet/getproto.c: Likewise.
18484         * inet/getproto_r.c: Likewise.
18485         * inet/getprtent.c: Likewise.
18486         * inet/getprtent_r.c: Likewise.
18487         * inet/getprtname.c: Likewise.
18488         * inet/getprtname_r.c: Likewise.
18489         * inet/getrpcbyname.c: Likewise.
18490         * inet/getrpcbyname_r.c: Likewise.
18491         * inet/getrpcbynumber.c: Likewise.
18492         * inet/getrpcbynumber_r.c: Likewise.
18493         * inet/getrpcent.c: Likewise.
18494         * inet/getrpcent_r.c: Likewise.
18495         * inet/getaliasent.c: Likewise.
18496         * inet/getaliasent_r.c: Likewise.
18497         * inet/getaliasname.c: Likewise.
18498         * inet/getaliasname_r.c: Likewise.
18499         * nscd/getgrgid_r.c: Likewise.
18500         * nscd/getgrnam_r.c: Likewise.
18501         * nscd/gethstbyad_r.c: Likewise.
18502         * nscd/gethstbynm3_r.c: Likewise.
18503         * nscd/getpwnam_r.c: Likewise.
18504         * nscd/getpwuid_r.c: Likewise.
18505         * nscd/getsrvbynm_r.c: Likewise.
18506         * nscd/getsrvbypt_r.c: Likewise.
18507         * nscd/gai.c: Likewise.
18509         * configure.in (build_nscd): New substituted variable, set
18510         by --disable-build-nscd and defaults to $use_nscd.
18511         * configure: Regenerated.
18512         * config.make.in (build-nscd): New substituted variable.
18513         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18514         Change conditional to require [$(build-nscd) = yes] as well.
18515         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18517         [BZ# 13696]
18518         * configure.in (use_nscd): New substituted variable, set by
18519         --disable-nscd.  If enabled, define USE_NSCD.
18520         * configure: Regenerated.
18521         * config.h.in: Add USE_NSCD.
18522         * config.make.in (use-nscd): New substituted variable.
18523         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18524         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18525         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18526         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18527         (CFLAGS-getgrnam_r.c): Likewise.
18528         (CFLAGS-initgroups.c): Likewise.
18529         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18530         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18531         Variables removed.
18532         * inet/getnetgrent_r.c
18533         (nscd_setnetgrent): New function, broken out of ...
18534         (setnetgrent): ... here.  Call it.
18535         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18536         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18537         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18538         * nscd/Makefile (routines, aux): Move definitions after include of
18539         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18540         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18541         Conditionalize on [USE_NSCD].
18542         (is_nscd, nscd_init_cb): Likewise.
18543         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18544         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18545         * nss/nss_db/db-init.c: Likewise.
18546         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18547         [USE_NSCD].
18548         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18549         (make_request): Use it.
18550         (cache_valid_p): New function.
18551         (__check_pf): Use it.
18552         * NEWS: Add item for --disable-nscd.
18554 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18556         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18557         to support sed >= 4.2.1-20-ga9bf076.
18558         * configure: Regenerated.
18560 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18562         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18563         Conditionalize whole body on [IREL].
18565 2012-08-22  Jeff Law <law@redhat.com>
18567         [BZ #14505]
18568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18569         if the family is PF_UNSPEC.
18571 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18573         * Makerules (lib-version): Rename from V.
18574         (install-lib-nosubdir): Change V to lib-version.
18576 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18578         [BZ #14252]
18579         * powerpc32/power6/wcschr.c: New file.
18580         * powerpc32/power6/wcscpy.c: New file.
18581         * powerpc32/power6/wcsrchr.c: New file.
18582         * powerpc64/power6/wcschr.c: New file.
18583         * powerpc64/power6/wcscpy.c: New file.
18584         * powerpc64/power6/wcsrchr.c: New file.
18586 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18588         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18589         (two_way_short_needle): Use it.
18590         * string/strstr.c (AVAILABLE1_USES_J): Define.
18591         * string/strcasestr.c: Likewise.
18593         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18594         array references.
18595         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18597         [BZ #11607]
18598         * NEWS: Add an entry.
18599         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18600         define their defaults.
18601         (two_way_short_needle): Detect end-of-string on-the-fly.
18602         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18603         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18604         * string/bug-strcasestr1.c: New test.
18605         * string/Makefile: Run it.
18607 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18609         [BZ #11607]
18610         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18611         the first character.
18613 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18615         * csu/elf-init.c (__libc_csu_irel): Function removed.
18616         * csu/libc-start.c (apply_irel): New function.
18617         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18619 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18621         * sysdeps/unix/sysv/linux/kernel-features.h
18622         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18623         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18624         <kernel-features.h>.
18625         [__NR_fadvise64_64]: Make code unconditional.
18626         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18627         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18628         !__NR_fadvise64_64)]: Likewise.
18629         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18630         !__NR_fadvise64_64))]: Likewise.
18631         [__NR_fadvise64]: Make code unconditional.
18632         [!__NR_fadvise64]: Remove conditional code.
18633         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18634         <kernel-features.h>.
18635         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18636         unconditional.
18637         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18638         conditional code.
18639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18640         not include <kernel-features.h>.
18641         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18642         unconditional.
18643         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18644         conditional code.
18645         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18646         include <kernel-features.h>.
18647         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18648         unconditional.
18649         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18650         conditional code.
18652 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18654         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18655         slight instruction rearrangements per scrollpipe analysis.
18656         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18658 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18660         * manual/syslog.texi (syslog; vsyslog, closelog):
18661         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18662         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18664         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18665         DSOCAPS to match condition on defining it.
18667 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18669         * sysdeps/unix/sysv/linux/kernel-features.h
18670         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18672         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18673         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18675         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18676         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18678         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18679         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18681         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18682         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18684         * sysdeps/unix/sysv/linux/kernel-features.h
18685         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18686         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18687         unconditional.
18688         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18689         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18690         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18691         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18692         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18693         Make code unconditional.
18694         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18695         (__mmap64) [!__NR_mmap2]: Likewise.
18696         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18697         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18698         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18699         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18700         [__NR_mmap2]: Make code unconditional.
18701         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18702         (__mmap64) [!__NR_mmap2]: Likewise.
18704 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18706         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18708 2012-08-18  Andreas Jaeger  <aj@suse.de>
18710         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18712 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18714         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18715         * include/unistd.h (__have_sock_cloexec): Likewise.
18716         (__have_pipe2): Likewise.
18717         (__have_dup3): Likewise.
18719 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18721         [BZ #9685]
18722         * include/unistd.h (__have_pipe2): Change define into an extern int.
18723         (__have_dup3): Likewise.
18724         * socket/have_sock_cloexec.c: Include fcntl.h.
18725         (__have_pipe2): New variable.
18726         (__have_dup3): Likewise.
18728 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18730         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18732 2012-08-17  Marek Polacek  <polacek@redhat.com>
18734         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18735         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18737 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18739         * configure.in: Add AC_SUBST for sysheaders.
18740         * configure: Regenerated.
18741         * config.make.in (sysheaders): New substituted variable.
18743         * sysdeps/unix/mkfifo.c: Moved ...
18744         * sysdeps/posix/mkfifo.c: ... here.
18745         * sysdeps/unix/mkfifoat.c: Moved ...
18746         * sysdeps/posix/mkfifoat.c: ... here.
18748         * sysdeps/unix/utime.c: Moved ...
18749         * sysdeps/posix/utime.c: ... here.
18751         * sysdeps/unix/time.c: Moved ...
18752         * sysdeps/posix/time.c: ... here.
18753         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18754         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18756         * sysdeps/unix/nice.c: Moved ...
18757         * sysdeps/posix/nice.c: ... here.
18759         * sysdeps/unix/alarm.c: Moved ...
18760         * sysdeps/posix/alarm.c: ... here.
18762         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18764 2012-08-17  Jeff Law <law@redhat.com>
18766         * intl/Makefile (codeset_mo): New variable.
18767         ($(codeset_mo)): New target.
18768         (tst-codeset.out): Depend on that.  Remove explicit rule.
18769         (tst-gettext3.out, tst-gettext5.out): Likewise.
18770         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18771         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18772         * intl/tst-codeset.sh: Remove.
18773         * intl/tst-gettext3.sh: Likewise.
18774         * intl/tst-gettext5.sh: Likewise.
18776 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18778         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18779         * sysdeps/unix/syscalls.list: ... here.
18781         * sysdeps/posix/getaddrinfo.c
18782         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18783         (gaiconf_init, gaiconf_reload): Use them.
18784         [!_STATBUF_ST_NSEC]
18785         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18786         Define using time_t rather than struct timespec.
18788         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18789         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18790         Macros removed.
18791         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18792         [!NO_THREADS].
18793         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18794         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18795         Likewise.
18797         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18798         __libc_cleanup_push argument.
18800         * bits/param.h: New file.
18801         * misc/sys/param.h: New file.
18802         * include/sys/param.h: New file.
18803         * misc/Makefile (headers): Add bits/param.h.
18804         * sysdeps/generic/sys/param.h: File removed.
18805         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18806         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18807         * sysdeps/mach/hurd/bits/param.h: New file.
18808         * sysdeps/mach/hurd/sys/param.h: File removed.
18810         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18811         last change.
18813         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18814         [_IO_MTSAFE_IO].
18815         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18816         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18817         New macros.
18819         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18820         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18821         rather than -D_IO_MTSAFE_IO conditionally.
18822         * stdio-common/Makefile (CPPFLAGS): Likewise.
18823         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18824         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18825         Use $(libio-mtsafe).
18826         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18827         of -D_IO_MTSAFE_IO.
18828         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18829         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18830         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18831         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18832         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18833         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18834         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18835         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18836         (CFLAGS-fread_u_chk.c): Likewise.
18837         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18838         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18839         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18840         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18841         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18842         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18843         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18844         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18845         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18847         * libio/Makefile: Test [$(libc-reentrant) = yes]
18848         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18850         * Makeconfig
18851         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18852         * sysdeps/pthread/configure: File removed.
18853         * sysdeps/pthread/Makeconfig: New file.
18854         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18855         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18857 2012-08-16  Gary Benson  <gbenson@redhat.com>
18859         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18860         unmapping the first object in a namespace.
18862 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18864         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18865         (__internal_setnetgrent): ... this.  Add internal_function to
18866         definition.  Add libc_hidden_def.
18867         (setnetgrent): Update caller.
18868         (internal_endnetgrent): Renamed to ...
18869         (__internal_endnetgrent): ... this.  Add internal_function to
18870         definition.  Add libc_hidden_def.
18871         (endnetgrent): Update caller.
18872         (internal_getnetgrent_r): Renamed to ...
18873         (__internal_getnetgrent_r): ... this.  Add internal_function to
18874         definition.  Add libc_hidden_def.
18875         (__getnetgrent_r): Update caller.
18876         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18878 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18880         * stdlib/longlong.h: Update from GCC.
18882 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18884         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18885         on _QL, which is set by umul_ppmm but never used.
18886         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18887         variables, which are set by GMP macros but never used.
18888         * stdio-common/_itowa.c (_itowa): Likewise.
18889         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18890         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18892 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18894         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18895         struct La_sh_regs is not constant.
18896         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18897         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18898         and struct La_sparc64_regs are not constant.
18900 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18902         * sysdeps/unix/sysv/linux/kernel-features.h
18903         (__ASSUME_POSIX_TIMERS): Remove.
18904         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18905         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18906         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18907         Make code unconditional.
18908         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18909         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18910         Make code unconditional.
18911         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18912         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18913         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18914         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18915         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18916         Make code unconditional.
18917         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18918         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18919         (__libc_missing_posix_timers): Remove.
18921 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18923         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18924         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18926         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18928         * elf/dl-sym.c: Include <stdlib.h>.
18930         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18931         constants, which avoids warnings in 32-bit builds.
18933         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18934         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18936         * misc/lseek.c: File moved to ...
18937         * io/lseek.c: ... here.
18939         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18941         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18942         shifting LEN more than 31 bits at once.
18944 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18946         [BZ #14195]
18947         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18948         segmentation fault for a case of two empty input strings.
18949         * string/test-strncasecmp.c (check1): Renamed to...
18950         (bz12205): ...this.
18951         (bz14195): Add new testcase for two empty input strings and N > 0.
18952         (test_main): Call new testcase, adapt for renamed function.
18954 2012-08-15  Andreas Jaeger  <aj@suse.de>
18956         [BZ #14090]
18957         * crypt/md5test2.c: New test, based on test supplied by Serge
18958         Belyshev <belyshev@depni.sinp.msu.ru>.
18959         * crypt/Makefile (xtests): Add md5test-giant..
18960         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18962 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18964         [BZ #14090]
18965         * crypt/md5.c (md5_process_block): Don't assume the buffer
18966         length is less than 2**32.
18967         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18968         length is less than 2**64.
18970 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18972         * string/str-two-way.h: Include <sys/param.h>.
18973         (MAX): Macro removed.
18975         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18976         Move #define and #undef of memmove to just before and after
18977         including <string.h>.
18979         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18980         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18981         and after including <string.h>.  Move declarations of
18982         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18983         to before #include "string/memmove.c".
18985         * include/dirent.h: Declare __getdirentries.
18987         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18988         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18990 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18992         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18993         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18994         * sysdeps/i386/configure: Regenerated.
18995         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18996         STABS_CURRENT_FILE, and STABS_FUN.
18997         (END): Remove call to STABS_FUN_END.
18998         (STABS_CURRENT_FILE1): Delete.
18999         (STABS_CURRENT_FILE): Likewise.
19000         (STABS_FUN): Likewise.
19001         (STABS_FUN_END): Likewise.
19002         (STABS_FUN2): Likewise.
19003         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19004         * sysdeps/x86_64/configure: Regenerated.
19006 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19008         * elf/dl-open.c: Include <atomic.h>.
19009         * elf/dl-lookup.c: Likewise.
19011 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19013         * sysdeps/unix/sysv/linux/kernel-features.h
19014         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19015         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19016         unconditionally.
19017         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19018         unconditionally.
19019         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19020         condition on __ASSUME_CLONE_THREAD_FLAGS.
19022 2012-08-14  Andreas Jaeger  <aj@suse.de>
19024         * sysdeps/i386/fpu/libm-test-ulps: Update.
19026 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19028         * include/atomic.h (atomic_exchange_and_add): Split into ...
19029         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19030         New atomic macros.
19032 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19036 2012-08-13  Jeff Law <law@redhat.com>
19038         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19039         null byte in the output string.
19041 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19043         * sysdeps/unix/sysv/linux/kernel-features.h
19044         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19045         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19046         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19047         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19048         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19049         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19050         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19052 2012-08-09  Jeff Law <law@redhat.com>
19054         [BZ #13939]
19055         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19056         When avoid_arena is set, don't retry in the that arena.  Pick the
19057         next one, whatever it might be.
19058         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19059         (arena_lock): Pass in new parameter to arena_get2.
19060         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19061         arena_get2.
19062         (__libc_malloc): Unify retrying after main arena failure with
19063         __libc_memalign version.
19064         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19066 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19068         [BZ #14166]
19069         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19070         to __redirect_strstr.
19071         (__strstr_sse42): Use typeof __redirect_strstr.
19072         (__strstr_ia32): Likewise.
19073         (__libc_strstr): New prototype.
19074         (strstr): Renamed to ...
19075         (__libc_strstr): This.
19076         (strstr): New strong alias of __libc_strstr.
19077         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19078         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19079         __redirect_time.
19080         Include <time.h>.
19081         (__libc_time): New prototype.
19082         (time_ifunc): Replace time with __libc_time.
19083         (time): New strong alias and hidden definition of __libc_time.
19084         (__GI_time): Remove strong alias.
19085         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19086         Include <stddef.h>.
19087         (memmove): Redefined to __redirect_memmove.
19088         (__memmove_sse2): Use typeof __redirect_memmove.
19089         (__memmove_ssse3): Likewise.
19090         (__memmove_ssse3_back): Likewise.
19091         (__libc_memmove): New prototype.
19092         (memmove): Renamed to ...
19093         (__libc_memmove): This.
19094         (memmove): New strong alias of __libc_memmove.
19096 2012-08-08  Mark Salter  <msalter@redhat.com>
19098         * elf/elf.h
19099         (R_MN10300_TLS_GD): Define.
19100         (R_MN10300_TLS_LD): Likewise.
19101         (R_MN10300_TLS_LDO): Likewise.
19102         (R_MN10300_TLS_GOTIE): Likewise.
19103         (R_MN10300_TLS_IE): Likewise.
19104         (R_MN10300_TLS_LE): Likewise.
19105         (R_MN10300_TLS_DTPMOD): Likewise.
19106         (R_MN10300_TLS_DTPOFF): Likewise.
19107         (R_MN10300_TLS_TPOFF): Likewise.
19108         (R_MN10300_SYM_DIFF): Likewise.
19109         (R_MN10300_ALIGN): Likewise.
19110         (R_MN10300_NUM): Update.
19112 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19115         Remove.
19117 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19119         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19121         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19122         sysdeps/unix -> sysdeps/posix move.
19123         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19125 2012-08-07      Allan McRae     <allan@archlinux.org>
19127         [BZ #14303]
19128         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19129         (SUNOS_CPP): Likewise.
19130         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19131         not found.
19132         (open_input): Call CPP using execvp.
19134 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19136         * sysdeps/unix/sysv/linux/kernel-features.h
19137         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19138         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19139         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19140         (__ASSUME_WAITID_SYSCALL): Likewise.
19141         * sysdeps/unix/sysv/linux/dl-execstack.c
19142         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19143         code unconditional.
19144         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19145         conditional code.
19146         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19147         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19148         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19149         code.
19150         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19151         unconditional.
19152         [__ASSUME_WAITID_SYSCALL]: Likewise.
19153         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19155 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19157         * sysdeps/unix/closedir.c: Renamed to ...
19158         * sysdeps/posix/closedir.c: ... here.
19159         * sysdeps/unix/dirfd.c: Renamed to ...
19160         * sysdeps/posix/dirfd.c: ... here.
19161         * sysdeps/unix/dirstream.h: Renamed to ...
19162         * sysdeps/posix/dirstream.h: ... here.
19163         * sysdeps/unix/fdopendir.c: Renamed to ...
19164         * sysdeps/posix/fdopendir.c: ... here.
19165         * sysdeps/unix/opendir.c: Renamed to ...
19166         * sysdeps/posix/opendir.c: ... here.
19167         * sysdeps/unix/readdir.c: Renamed to ...
19168         * sysdeps/posix/readdir.c: ... here.
19169         * sysdeps/unix/readdir_r.c: Renamed to ...
19170         * sysdeps/posix/readdir_r.c: ... here.
19171         * sysdeps/unix/rewinddir.c: Renamed to ...
19172         * sysdeps/posix/rewinddir.c: ... here.
19173         * sysdeps/unix/seekdir.c: Renamed to ...
19174         * sysdeps/posix/seekdir.c: ... here.
19175         * sysdeps/unix/telldir.c: Renamed to ...
19176         * sysdeps/posix/telldir.c: ... here.
19177         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19178         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19179         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19180         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19182         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19183         * bits/fcntl.h: ... here.
19185         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19186         not 0.
19187         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19188         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19189         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19190         (struct flock): Move l_start, l_len to the beginning.
19191         Use __pid_t for l_pid.
19192         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19193         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19194         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19195         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19196         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19197         [__USE_LARGEFILE64] (struct flock64): New type.
19198         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19200         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19201         * bits/dirent.h: ... here.
19203         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19204         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19206 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19209         Change from 2.6.0 to 2.6.16.
19210         * sysdeps/unix/sysv/linux/configure: Regenerated.
19211         * sysdeps/unix/sysv/linux/kernel-features.h
19212         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19213         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19214         version.
19215         (__ASSUME_UTIMES): Likewise.
19216         (__ASSUME_CLONE_STOPPED): Remove.
19217         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19218         architectures, not kernel version.
19219         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19220         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19221         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19222         (__ASSUME_WAITID_SYSCALL): Likewise.
19223         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19224         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19225         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19226         refer to older versions.
19228 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19230         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19231         Define alphasort64 as an alias.
19232         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19233         Define versionsort64 as an alias.
19234         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19235         Define scandir64 as an alias.
19236         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19237         Define scandirat64 as an alias.
19238         * dirent/alphasort64.c (alphasort64):
19239         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19240         * dirent/versionsort64.c: Likewise.
19241         * dirent/scandir64.c: Likewise.
19242         * dirent/scandirat64.c: Likewise.
19243         * sysdeps/wordsize-64/alphasort.c: File removed.
19244         * sysdeps/wordsize-64/alphasort64.c: File removed.
19245         * sysdeps/wordsize-64/scandir.c: File removed.
19246         * sysdeps/wordsize-64/scandir64.c: File removed.
19247         * sysdeps/wordsize-64/scandirat.c: File removed.
19248         * sysdeps/wordsize-64/scandirat64.c: File removed.
19249         * sysdeps/wordsize-64/versionsort.c: File removed.
19250         * sysdeps/wordsize-64/versionsort64.c: File removed.
19251         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19252         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19253         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19254         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19255         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19256         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19257         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19258         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19260         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19262         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19264         [defined __arch64__ || defined __sparcv9]
19265         (__INO_T_MATCHES_INO64_T): New macro.
19266         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19267         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19268         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19269         * sysdeps/unix/sysv/linux/bits/dirent.h
19270         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19271         (_DIRENT_MATCHES_DIRENT64): New macro.
19273         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19274         Define lockf64 as an alias.
19275         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19276         Define fseeko64 as an alias.
19277         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19278         Define ftello64 as an alias.
19279         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19280         Define _IO_fgetpos64 and fgetpos64 as aliases.
19281         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19282         Define _IO_fsetpos64 and fsetpos64 as aliases.
19283         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19284         Conditionalize body on this.
19285         * libio/fseeko64.c: Likewise.
19286         * libio/ftello64.c: Likewise.
19287         * libio/iofgetpos64.c: Likewise.
19288         * libio/iofsetpos64.c: Likewise.
19289         * sysdeps/wordsize-64/lockf.c: File removed.
19290         * sysdeps/wordsize-64/lockf64.c: File removed.
19291         * sysdeps/wordsize-64/fseeko.c: File removed.
19292         * sysdeps/wordsize-64/fseeko64.c: File removed.
19293         * sysdeps/wordsize-64/ftello.c: File removed.
19294         * sysdeps/wordsize-64/ftello64.c: File removed.
19295         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19296         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19297         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19298         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19299         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19300         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19301         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19302         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19303         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19304         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19305         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19306         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19307         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19308         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19310         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19312         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19314         [defined __arch64__ || defined __sparcv9]
19315         (__OFF_T_MATCHES_OFF64_T): New macro.
19316         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19317         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19319         (__OFF_T_MATCHES_OFF64_T): New macro.
19321 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19323         * stdlib/secure-getenv.c (__secure_getenv): Replace
19324         GLIBC_2_16 with GLIBC_2_17.
19326 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19328         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19331 2012-08-03  David S. Miller  <davem@davemloft.net>
19333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19335 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19338         Remove.
19339         (__ASSUME_CORRECT_SI_PID): Likewise.
19340         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19341         (__ASSUME_TMPFS_NAME): Likewise.
19342         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19343         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19344         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19345         (HAVE_AUX_SECURE): Make definition unconditional.
19346         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19347         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19349 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19351         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19352         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19353         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19354         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19355         __eloop_threshold instead of SYMLOOP_MAX.
19357         * sysdeps/generic/eloop-threshold.h: New file.
19358         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19359         of MAXSYMLINKS.
19360         * elf/chroot_canon.c (chroot_canon): Likewise.
19362 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19364         [BZ #13717]
19365         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19366         Change to 2.6.0 everywhere.
19367         * sysdeps/unix/sysv/linux/configure: Regenerated.
19368         * sysdeps/unix/sysv/linux/kernel-features.h
19369         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19370         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19371         kernel versions.
19372         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19373         (__ASSUME_FUTEX_REQUEUE): Remove.
19374         (__ASSUME_STATFS64): Define unconditionally.
19375         (__ASSUME_AT_SECURE): Likewise.
19376         (__ASSUME_CORRECT_SI_PID): Likewise.
19377         (__ASSUME_TGKILL): Define without depending on kernel version for
19378         i386.
19379         (__ASSUME_UTIMES): Likewise.
19380         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19381         kernel version.
19382         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19383         (__ASSUME_TMPFS_NAME): Likewise.
19384         * README: Update reference to Linux kernel versions.
19386 2012-08-02  Marek Polacek  <polacek@redhat.com>
19388         [BZ# 14150]
19389         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19390         libc_cv_asm_type_prefix with %.
19391         * configure: Regenerated.
19392         * include/libc-symbols.h: Remove comment about
19393         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19394         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19395         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19396         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19397         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19398         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19399         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19400         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19401         * elf/tst-unique2mod1.c: Likewise.
19402         * elf/tst-unique1mod2.c: Likewise.
19403         * elf/tst-unique1mod1.c: Likewise.
19404         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19405         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19406         Replace ASM_TYPE_DIRECTIVE with .type.
19407         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19408         * sysdeps/i386/sysdep.h: Likewise.
19409         * sysdeps/x86_64/sysdep.h: Likewise.
19410         * sysdeps/sh/sysdep.h: Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19412         Do not define ASM_TYPE_DIRECTIVE.
19413         * sysdeps/powerpc/sysdep.h: Likewise.
19414         * sysdeps/powerpc/powerpc32/sysdep.h:
19415         Replace ASM_TYPE_DIRECTIVE with .type.
19416         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19417         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19418         * sysdeps/i386/fpu/e_powf.S: Likewise.
19419         * sysdeps/i386/fpu/e_expl.S: Likewise.
19420         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19421         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19422         * sysdeps/i386/fpu/e_pow.S: Likewise.
19423         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19424         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19425         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19426         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19427         * sysdeps/i386/fpu/e_log2.S: Likewise.
19428         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19429         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19430         * sysdeps/i386/fpu/e_powl.S: Likewise.
19431         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19432         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19433         * sysdeps/i386/fpu/e_logl.S: Likewise.
19434         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19435         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19436         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19437         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19438         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19439         * sysdeps/i386/fpu/e_log.S: Likewise.
19440         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19441         * sysdeps/i386/fpu/e_logf.S: Likewise.
19442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19444         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19445         * sysdeps/i386/fpu/e_log10.S: Likewise.
19446         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19447         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19448         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19449         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19450         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19451         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19452         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19453         * sysdeps/i386/i686/strtok.S: Likewise.
19454         * sysdeps/i386/i386-mcount.S: Likewise.
19455         * sysdeps/i386/strtok.S: Likewise.
19456         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19457         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19458         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19459         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19460         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19461         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19462         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19463         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19464         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19465         * sysdeps/x86_64/_mcount.S: Likewise.
19466         * sysdeps/x86_64/strtok.S: Likewise.
19467         * sysdeps/sh/_mcount.S: Likewise.
19469 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19471         * libio/iofopen.c: Include <fcntl.h>.
19472         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19473         (_IO_fopen64, fopen64): Define as aliases.
19474         * libio/iofopen64.c: Include <fcntl.h>.
19475         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19476         Conditionalize body on this.
19477         * sysdeps/wordsize-64/iofopen.c: File removed.
19478         * sysdeps/wordsize-64/iofopen64.c: File removed.
19480 2012-08-01  Marek Polacek  <polacek@redhat.com>
19482         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19483         Use dlfcn directly instead of a variable.
19484         (binfmt-subdir): Do not define.
19485         (dlfcn): Likewise.
19487 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19490         Remove all definitions.
19491         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19492         <kernel-features.h>.
19493         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19494         (miss_F_GETOWN_EX): Remove all definitions.
19495         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19496         macro definition.
19497         [!__ASSUME_FCNTL64]: Remove conditional code.
19498         [__ASSUME_FCNTL64]: Make code unconditional.
19499         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19500         <kernel-features.h>.
19501         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19502         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19503         (lockf64) [__NR_fcntl64]: Make code unconditional.
19504         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19506         * sysdeps/unix/sysv/linux/kernel-features.h
19507         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19508         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19509         Make code unconditional.
19510         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19511         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19513         [__NR_vfork]: Make code unconditional.
19514         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19515         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19517         [__NR_vfork]: Make code unconditional.
19518         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19519         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19521 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19523         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19524         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19526         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19527         Define mkstemp64 as an alias.
19528         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19529         Define mkstemps64 as an alias.
19530         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19531         Define mkostemp64 as an alias.
19532         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19533         Define mkostemps64 as an alias.
19534         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19535         Conditionalize body on this.
19536         * misc/mkostemp64.c: Likewise.
19537         * misc/mkostemps64.c: Likewise.
19538         * misc/mkstemps64.c: Likewise.
19539         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19540         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19541         * sysdeps/wordsize-64/mkostemp.c: File removed.
19542         * sysdeps/wordsize-64/mkstemp.c: File removed.
19543         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19544         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19545         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19546         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19548         [BZ #14138]
19549         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19550         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19551         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19552         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19554         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19555         compat_symbol macros from <shlib-compat.h> rather than the underlying
19556         default_symbol_version and symbol_version macros, so that DEFAULT
19557         lines in shlib-versions are respected.
19558         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19560 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19562         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19563         Declare with warn_unused_result.
19564         (setgid, setregid, setegid, setresgid): Likewise.
19565         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19566         Likewise.
19567         * WUR-REPORT: Remove set*id functions.
19569 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19571         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19573 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19575         [BZ #10191]
19576         * include/sys/socket.h (__libc_accept, __libc_accept4):
19577         Add attribute_hidden.
19578         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19580         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19581         use of PTR_MANGLE.
19582         * inet/getnetgrent_r.c (setup): Likewise.
19584         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19586 2012-07-31  David S. Miller  <davem@davemloft.net>
19588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19590 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19592         [BZ #13629]
19593         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19594         value between 1.0 and 2.0 and smaller part has absolute value less
19595         than 1.0.
19596         * math/s_clog10.c (__clog10): Likewise.
19597         * math/s_clog10f.c (__clog10f): Likewise.
19598         * math/s_clog10l.c (__clog10l): Likewise.
19599         * math/s_clogf.c (__clogf): Likewise.
19600         * math/s_clogl.c (__clogl): Likewise.
19601         * math/libm-test.inc (clog_test): Add more tests.
19602         (clog10_test): Likewise.
19603         * sysdeps/i386/fpu/libm-test-ulps: Update.
19604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19606 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19608         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19609         Exit with zero in case no suitable GID is found, and write a
19610         message to standard error.
19612 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19614         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19615         rather than to 1.
19616         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19617         (MAXPATHLEN): Removed.
19618         (NOGROUP, NODEV): New macros.
19619         (setbit, clrbit, isset, isclr): New macros.
19620         (howmany, roundup, powerof2): New macros.
19621         (DEV_BSIZE): New macro.
19623         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19624         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19626         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19627         definition on [!__NO_LONG_DOUBLE_MATH].
19629         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19630         PTR_MANGLE and PTR_DEMANGLE.
19632         * socket/accept4.c (accept4): Rename to __libc_accept4.
19633         Define accept4 as a weak alias.
19635         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19636         on [_DIRENT_HAVE_D_TYPE].
19637         * io/ftw.c (ftw_dir): Likewise.
19639         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19641         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19643         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19644         Use the BSD numbers rather than the arbitrary ones we had.
19645         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19646         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19647         (SIGXCPU, SIGXFSZ): New macros.
19648         (_NSIG): Now 32.
19650         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19651         initializer on [_LIBC_REENTRANT].
19653         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19654         definitions inside [_POSIX_MAPPED_FILES].
19656         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19658         * dirent/opendir.c: Include <fcntl.h>.
19660         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19661         (__libc_getspecific): Likewise.
19662         (__libc_key_create): Likewise.
19664         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19665         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19666         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19667         (tmpfile64): Define as alias.
19668         * sysdeps/wordsize-64/tmpfile.c: File removed.
19669         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19670         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19671         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19673         * stdio-common/vfscanf.c: Include <stdbool.h>.
19674         * nss/makedb.c: Likewise.
19675         * stdio-common/_i18n_number.h: Likewise.
19676         * argp/argp-help.c: Likewise.
19677         * posix/wordexp.c: Likewise.
19678         * sysdeps/posix/spawni.c: Likewise.
19679         * nss/nss_files/files-initgroups.c: Likewise.
19680         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19681         * nss/nss_files/files-initgroups.c: Likewise.
19682         * nss/nss_db/db-netgrp.c: Likewise.
19683         * nss/nss_db/db-initgroups.c: Likewise.
19684         * io/fchmodat.c: Include <sys/stat.h>.
19686         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19687         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19689         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19690         [HAVE_MMAP].
19692         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19693         Add multiple inclusion protection.
19695 2012-07-27  David S. Miller  <davem@davemloft.net>
19697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19699 2012-07-27  Gary Benson  <gbenson@redhat.com>
19701         [BZ #14298]
19702         * elf/rtld.c: Include <stap-probe.h>.
19703         (dl_main): Added static probes "init_start" and "init_complete".
19704         * elf/dl-load.c: Include <stap-probe.h>.
19705         (lose): Take new parameter "nsid".
19706         Added static probe "map_failed".
19707         (_dl_map_object_from_fd): Pass namespace id to lose.
19708         Added static probe "map_start".
19709         (open_verify): Pass namespace id to lose.
19710         * elf/dl-open.c: Include <stap-probe.h>.
19711         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19712         and "reloc_complete".
19713         * elf/dl-close.c: Include <stap-probe.h>.
19714         (_dl_close_worker): Added static probes "unmap_start" and
19715         "unmap_complete".
19716         * elf/rtld-debugger-interface.txt: New file documenting the above.
19718 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19720         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19721         rather than a string variable.
19722         * sunrpc/rpc_main.c (h_output): Likewise.
19723         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19725 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19727         * inet/check_native.c: New file.
19729 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19731         [BZ #13629]
19732         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19733         if larger part has absolute value 1.0.
19734         * math/s_clog10.c (__clog10): Likewise.
19735         * math/s_clog10f.c (__clog10f): Likewise.
19736         * math/s_clog10l.c (__clog10l): Likewise.
19737         * math/s_clogf.c (__clogf): Likewise.
19738         * math/s_clogl.c (__clogl): Likewise.
19739         * math/libm-test.inc (clog_test): Add more tests.
19740         (clog10_test): Likewise.
19741         * sysdeps/i386/fpu/libm-test-ulps: Update.
19742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19745         (pltexit): Likewise.
19746         (La_regs): Likewise.
19747         (La_retval): Likewise.
19748         (int_retval): Likewise.
19749         Update #error for removed macros to refer only to definitions in
19750         tst-audit.h.
19751         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19752         macro.
19753         (pltexit): Likewise.
19754         (La_regs): Likewise.
19755         (La_retval): Likewise.
19756         (int_retval): Likewise.
19757         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19758         macro.
19759         (pltexit): Likewise.
19760         (La_regs): Likewise.
19761         (La_retval): Likewise.
19762         (int_retval): Likewise.
19763         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19764         macro.
19765         (pltexit): Likewise.
19766         (La_regs): Likewise.
19767         (La_retval): Likewise.
19768         (int_retval): Likewise.
19769         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19770         macro.
19771         (pltexit): Likewise.
19772         (La_regs): Likewise.
19773         (La_retval): Likewise.
19774         (int_retval): Likewise.
19775         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19776         macro.
19777         (pltexit): Likewise.
19778         (La_regs): Likewise.
19779         (La_retval): Likewise.
19780         (int_retval): Likewise.
19781         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19782         macro.
19783         (pltexit): Likewise.
19784         (La_regs): Likewise.
19785         (La_retval): Likewise.
19786         (int_retval): Likewise.
19787         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19788         macro definitions in tst-audit.h.
19789         * sysdeps/i386/tst-audit.h: New file.
19790         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19791         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19792         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19793         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19794         * sysdeps/sh/tst-audit.h: Likewise.
19795         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19796         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19797         * sysdeps/x86_64/tst-audit.h: Likewise.
19799 2012-07-26  Andreas Jaeger  <aj@suse.de>
19801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19802         ptrace.
19804         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19805         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19806         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19807         PTRACE_O_MASK.
19808         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19809         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19810         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19812         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19813         value.
19815         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19816         _sigsys.
19817         (si_call_addr, si_syscall, si_arch): Define new macro.
19818         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19819         _sigsys.
19820         (si_call_addr, si_syscall, si_arch): Define new marcro.
19821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19822         _sigsys.
19823         (si_call_addr, si_syscall, si_arch): Define new macro.
19824         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19825         _sigsys.
19826         (si_call_addr, si_syscall, si_arch): Define new macro.
19828 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19830         [BZ #13717]
19831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19832         Change to 2.4.21 where previously 2.4.1.
19833         * sysdeps/unix/sysv/linux/configure: Regenerated.
19834         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19835         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19836         Linux kernel version.
19837         (__ASSUME_STD_AUXV): Remove.
19838         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19839         kernel version.
19840         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19841         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19842         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19843         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19844         (__ASSUME_NETLINK_SUPPORT): Likewise.
19845         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19846         (__no_netlink_support): Remove conditional definition.
19847         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19848         Remove.
19849         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19850         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19851         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19852         (if_nameindex_ioctl): Remove.
19853         (if_nameindex_netlink): Do not handle __no_netlink_support.
19854         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19855         code.
19856         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19857         Remove conditional code.
19858         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19859         code.
19860         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19861         unconditional.
19862         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19863         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19864         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19865         Remove.
19866         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19867         [!__ASSUME_STD_AUXV]: Remove conditional code.
19868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19869         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19870         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19872         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19873         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19874         code.
19875         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19877         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19878         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19879         conditional code.
19880         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19882         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19883         code.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19885         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19886         conditional code.
19887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19888         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19889         code unconditional.
19890         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19891         conditional code.
19892         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19893         unconditional.
19894         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19895         conditional code.
19896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19897         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19898         unconditional.
19899         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19900         conditional code.
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19902         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19903         code unconditional.
19904         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19905         conditional code.
19906         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19907         unconditional.
19908         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19909         conditional code.
19910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19911         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19912         code unconditional.
19913         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19914         conditional code.
19915         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19916         unconditional.
19917         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19918         conditional code.
19920 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19922         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19923         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19924         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19925         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19926         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19927         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19928         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19929         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19930         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19931         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19932         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19933         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19934         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19935         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19936         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19937         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19938         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19939         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19940         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19942         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19943         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19946 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19948         * Versions.def: Add GLIBC_2.17.
19949         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19950         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19951         Introduce __libc_secure_getenv.
19952         * stdlib/Versions (2.17): Add secure_getenv
19953         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19954         * stdlib/secure-getenv.c: Rename __secure_getenv to
19955         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19956         symbol __secure_getenv for GLIBC_2.0.
19957         * stdlib/tst-secure-getenv.c: New.
19958         * stdlib/Makefile (tests): Add testcase.
19959         * manual/startup.texi (Environment Access): Document
19960         secure_getenv.
19961         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19962         __libc_secure_getenv.
19963         * inet/ruserpass.c (ruserpass): Likewise.
19964         * malloc/mtrace.c (mtrace): Likewise.
19965         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19966         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19967         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19968         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19969         HAVE_SECURE_GETENV.
19970         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19971         __secure_getenv to __libc_secure_getenv.
19972         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19974         Likewise.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19976         Likewise.
19977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19979         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19985 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19987         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19988         (struct La_i86_retval): Likewise.
19989         (struct La_x86_64_regs): Likewise.
19990         (struct La_x86_64_retval): Likewise.
19991         (struct La_x32_regs): Likewise.
19992         (struct La_x32_retval): Likewise.
19993         (struct La_ppc32_regs): Likewise.
19994         (struct La_ppc32_retval): Likewise.
19995         (struct La_ppc64_regs): Likewise.
19996         (struct La_ppc64_retval): Likewise.
19997         (struct La_sh_regs): Likewise.
19998         (struct La_sh_retval): Likewise.
19999         (struct La_s390_32_regs): Likewise.
20000         (struct La_s390_32_retval): Likewise.
20001         (struct La_s390_64_regs): Likewise.
20002         (struct La_s390_64_retval): Likewise.
20003         (struct La_sparc32_regs): Likewise.
20004         (struct La_sparc32_retval): Likewise.
20005         (struct La_sparc64_regs): Likewise.
20006         (struct La_sparc64_retval): Likewise.
20007         (struct audit_ifaces): Remove architecture-specific pltenter and
20008         pltexit members.
20009         * sysdeps/i386/ldsodefs.h: New file.
20010         * sysdeps/powerpc/ldsodefs.h: Likewise.
20011         * sysdeps/s390/ldsodefs.h: Likewise.
20012         * sysdeps/sh/ldsodefs.h: Likewise.
20013         * sysdeps/sparc/ldsodefs.h: Likewise.
20014         * sysdeps/x86_64/ldsodefs.h: Likewise.
20016 2012-07-25  Marek Polacek  <polacek@redhat.com>
20018         [BZ #6808]
20019         * math/libm-test.inc (yn_test): Add another test.
20020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20021         to ERANGE when the result is +-Inf.
20022         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20023         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20024         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20025         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20027 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20029         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20030         equal to 0.
20031         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20032         clock_t.
20033         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20035 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20037         * configure.in <sysdeps resolving>: Correct printing
20038         Implies_before.
20039         * configure: Regenerate.
20041 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20043         * math/w_ilogb.c: Include <limits.h>.
20044         * math/w_ilogbl.c: Likewise.
20046 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20048         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20049         va_copy.  Document allowing for unavailable va_copy only as
20050         pre-C99 compatibility.
20051         * manual/string.texi (Copying and Concatenation): Use va_copy
20052         instead of __va_copy in concat example.
20054 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20056         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20057         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20058         it if not null.
20060         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20061         with O_NOLINK passed to __file_name_lookup.
20063         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20064         with O_NOLINK passed to __file_name_lookup.
20066         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20067         negative N or less than NGIDS.
20069         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20070         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20071         enough.  Use memcpy instead of strncpy.
20073 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20075         * elf/Makefile (check-data): Remove.
20076         (localplt.data): New vpath directive.
20077         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20078         instead of $(check-data).
20079         * scripts/data/localplt-generic.data: Move to ...
20080         * sysdeps/generic/localplt.data: ... here.
20081         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20082         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20083         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20085         ... here.
20086         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20088         ... here.
20089         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20091         ... here.
20092         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20094         ... here.
20095         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20097         ... here.
20098         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20100         ... here.
20102 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20105         PPC32 and PPC64 files.
20106         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20107         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20109 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20111         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20112         __makecontext_ret to ...
20113         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20114         ... here and call exit if uc_link is NULL.  New file.
20115         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20116         __makecontext_ret.S.
20117         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20118         __makecontext_ret to ...
20119         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20120         ... here and call exit if uc_link is NULL.  New file.
20121         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20122         __makecontext_ret.S.
20124 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20126         * elf/elf.h (R_390_IRELATIVE): New definition.
20127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20128         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20129         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20130         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20131         (elf_machine_lazy_rel): Likewise.
20132         * sysdeps/s390/dl-irel.h: New file.
20133         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20134         * sysdeps/s390/s390-64/memset.S: New asm code.
20135         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20136         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20137         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20138         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20139         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20140         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20141         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20142         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20143         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20144         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20145         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20146         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20147         * sysdeps/s390/s390-32/memset.S: New asm code.
20148         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20150 2012-07-17  Marek Polacek  <polacek@redhat.com>
20152         [BZ #14349]
20153         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20154         * sysdeps/s390/s390-64/configure.in: Likewise.
20155         * sysdeps/sparc/configure.in: Likewise.
20156         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20157         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20158         * sysdeps/i386/configure.in: Likewise.
20159         * sysdeps/x86_64/configure.in: Likewise.
20160         * sysdeps/sh/configure.in: Likewise.
20161         * sysdeps/s390/s390-32/configure: Regenerated.
20162         * sysdeps/s390/s390-64/configure: Likewise.
20163         * sysdeps/x86_64/configure: Likewise.
20164         * sysdeps/sh/configure: Likewise.
20165         * sysdeps/powerpc/powerpc64/configure: Likewise.
20166         * sysdeps/powerpc/powerpc32/configure: Likewise.
20167         * sysdeps/sparc/configure: Likwise.
20168         * sysdeps/i386/configure: Likewise.
20170         * elf/dl-open.c: Comment fixes.
20172 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20174         * Makefile [CXX] (check-data): Remove.
20175         [CXX] (c++-types.data): New vpath directive.
20176         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20177         vpath.  Do not allow for C++ type data being missing.
20178         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20179         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20180         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20181         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20182         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20183         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20184         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20186         ... here.
20187         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20189         ... here.
20190         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20192         ... here.
20193         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20195         ... here.
20196         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20198         ... here.
20199         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20201         ... here.
20202         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20204         ... here.
20205         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20208         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20209         definitions to architecture-specific files.
20210         (TLS_IE): Likewise.
20211         (TLS_LD): Likewise.
20212         (TLS_GD): Likewise.
20213         * sysdeps/i386/tls-macros.h: New file.
20214         * sysdeps/powerpc/tls-macros.h: Likewise.
20215         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20216         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20217         * sysdeps/sh/tls-macros.h: Likewise.
20218         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20219         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20220         * sysdeps/x86_64/tls-macros.h: Likewise.
20222 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20224         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20225         zero value for regular exit case.
20227         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20228         (__start_context): Preserve zero value for regular exit case.
20230 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20231             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20233         * manual/setjmp.texi (setcontext): Clarify normal process
20234         termination when uc_link is the null pointer.
20235         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20236         exit call.
20238 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20240         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20241         preprocessor.  Test for each exception mask separately.
20243 2012-07-16  Andreas Jaeger  <aj@suse.de>
20245         * po/ru.po: Update from translation team.
20247 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20249         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20250         equal to 0.
20251         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20252         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20253         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20254         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20257 2012-07-13  Andreas Jaeger  <aj@suse.de>
20259         * po/fr.po: Update from translation team.
20261 2012-07-12  Marek Polacek  <polacek@redhat.com>
20263         [BZ #14173]
20264         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20265         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20266         loop condition.
20268 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20270         [BZ #13717]
20271         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20272         Change to 2.4.1 where previously 2.4.0.
20273         * sysdeps/unix/sysv/linux/configure: Regenerated.
20274         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20275         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20276         version.
20277         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20278         (__ASSUME_AT_CLKTCK): Remove.
20279         (__ASSUME_AT_PAGESIZE): Likewise.
20280         (__ASSUME_AT_XID): Likewise.
20281         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20282         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20283         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20284         unconditionally.
20285         (HAVE_AUX_PAGESIZE): Likewise.
20286         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20287         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20288         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20290 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20292         [BZ #14307]
20293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20294         the temporary buffer used to invoke __gethostbyname2_r,
20295         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20296         host_data / struct gaih_addrtuple.
20297         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20298         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20299         header file nss/nsswitch.h.
20300         * nss/nsswitch.h (global scope): Add definition of implementation
20301         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20302         resolv/nss_dns/dns-host.c).
20304 2012-07-11  Andreas Jaeger  <aj@suse.de>
20306         * po/fr.po: Update from translation team.
20308         * po/sv.po: Update from translation team
20309         * po/fr.po: Another update from translation team.
20311 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20313         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20314         for subnormals or multiply small sinh result by itself.
20315         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20318 2012-07-11  David S. Miller  <davem@davemloft.net>
20320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20322 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20324         [BZ #14347]
20325         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20326         (INTERNAL_MARK): Shift it here.
20328 2012-07-10  Marek Polacek  <polacek@redhat.com>
20330         [BZ #14151]
20331         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20332         libc_cv_asm_global_directive with .globl.
20333         * configure: Regenerated.
20334         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20335         with .globl.
20336         * sysdeps/i386/configure: Regenerated.
20337         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20338         with .globl.
20339         * sysdeps/x86_64/configure: Regenerated.
20340         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20341         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20342         * elf/tst-unique2mod2.c: Likewise.
20343         * elf/tst-unique2mod1.c: Likewise.
20344         * elf/tst-unique1mod2.c: Likewise.
20345         * elf/tst-unique1mod1.c: Likewise.
20346         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20347         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20348         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20349         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20350         * sysdeps/mach/sysdep.h: Likewise.
20351         * sysdeps/i386/sysdep.h: Likewise.
20352         * sysdeps/i386/i386-mcount.S: Likewise.
20353         * sysdeps/x86_64/_mcount.S: Likewise.
20354         * sysdeps/x86_64/sysdep.h: Likewise.
20355         * sysdeps/sh/_mcount.S: Likewise.
20356         * sysdeps/sh/sysdep.h: Likewise.
20357         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20358         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20359         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20360         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20361         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20362         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20363         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20364         * locale/localeinfo.h: Likewise.
20365         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20366         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20368 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20370         [BZ #14336]
20371         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20372         system".
20373         * manual/message.texi (The Uniforum approach): Likewise.
20374         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20375         (glibc iconv Implementation): Likewise.
20377 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20379         [BZ #14337]
20380         * math/s_clog.c (__clog): Avoid scaling a value down where that
20381         could result in underflow.
20382         * math/s_clog10.c (__clog10): Likewise.
20383         * math/s_clog10f.c (__clog10f): Likewise.
20384         * math/s_clog10l.c (__clog10l): Likewise.
20385         * math/s_clogf.c (__clogf): Likewise.
20386         * math/s_clogl.c (__clogl): Likewise.
20387         * math/libm-test.inc (clog_test): Add more tests.
20388         (clog10_test): Likewise.
20389         * sysdeps/i386/fpu/libm-test-ulps: Update.
20390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20392 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20394         [BZ #14283]
20395         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20396         by 7 not 8 to examine high bit of fractional part.
20398         [BZ #14042]
20399         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20400         for call to __mcount_internal.
20401         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20402         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20403         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20405 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20407         [BZ #14154]
20408         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20409         approximation for values within 0x1p-13f of an odd multiple of
20410         pi/4.
20411         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20412         exception.  Add more tests.
20413         * sysdeps/i386/fpu/libm-test-ulps: Update.
20415         [BZ #6778]
20416         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20417         inputs and return -1 for them.  Do not check for +Inf in case not
20418         reachable for +Inf.
20419         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20420         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20421         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20422         and return -1 for them.  Do not check for +Inf in case not
20423         reachable for +Inf.
20424         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20425         define.
20426         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20427         and return -1 for them.  Do not check for +Inf in case not
20428         reachable for +Inf.
20429         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20430         spurious underflow.
20431         * sysdeps/i386/fpu/libm-test-ulps: Update.
20432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20436         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20438 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20440         [BZ #14157]
20441         [BZ #14331]
20442         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20443         could result in spurious underflow.  Scale down values above
20444         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20445         * math/s_csqrtf.c (__csqrtf): Likewise.
20446         * math/s_csqrtl.c (__csqrtl): Likewise.
20447         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20448         spurious underflow.
20449         * sysdeps/i386/fpu/libm-test-ulps: Update.
20450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20452 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20454         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20455         xopen-msg.sed.
20456         * catgets/xopen-msg.awk: New file.
20457         * catgets/xopen-msg.sed: Removed.
20459         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20460         po2text.sed.
20461         * intl/po2test.awk: New file.
20462         * intl/po2test.sed: Removed.
20464 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20466         [BZ #14328]
20467         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20468         or multiply small sinh result by itself.
20469         * math/s_ctanf.c (__ctanf): Likewise.
20470         * math/s_ctanh.c (__ctanh): Likewise.
20471         * math/s_ctanhf.c (__ctanhf): Likewise.
20472         * math/s_ctanhl.c (__ctanhl): Likewise.
20473         * math/s_ctanl.c (__ctanl): Likewise.
20474         * math/libm-test.inc (ctan_test_tonearest): New function.
20475         (ctan_test_towardzero): Likewise.
20476         (ctan_test_downward): Likewise.
20477         (ctan_test_upward): Likewise.
20478         (ctanh_test_tonearest): Likewise.
20479         (ctanh_test_towardzero): Likewise.
20480         (ctanh_test_downward): Likewise.
20481         (ctanh_test_upward): Likewise.
20482         (main): Call these new functions.
20483         * sysdeps/i386/fpu/libm-test-ulps: Update.
20484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20486 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20488         * .gitignore: Delete /ports entry.
20490 2012-07-03  Andreas Jaeger  <aj@suse.de>
20492         * po/bg.po: Update from translation team.
20493         * po/cs.po: Likewise.
20494         * po/de.po: Likewise.
20495         * po/hr.po: Likewise.
20496         * po/nl.pl: Likewise.
20497         * po/pl.po: Likewise.
20498         * po/vi.po: Likewise.
20500 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20502         * Makeconfig [!+link] (+link-before-libc): New variable.
20503         [!+link] (+link-after-libc): Likewise.
20504         [!+link] (+link-tests): Likewise.
20505         [!+link] (+link): Define in terms of $(+link-before-libc) and
20506         $(+link-after-libc).
20507         [!+link-static] (+link-static-before-libc): New variable.
20508         [!+link-static] (+link-static-after-libc): Likewise.
20509         [!+link-static] (+link-static-tests): Likewise.
20510         [!+link-static] (+link-static): Define in terms of
20511         $(+link-static-before-libc) and $(+link-static-after-libc).
20512         [build-shared] (link-libc-before-gnulib): New variable.
20513         [build-shared] (link-libc-tests): Likewise.
20514         [build-shared] (link-libc): Define in terms of
20515         $(link-libc-before-gnulib).
20516         [!build-shared] (link-libc-tests): New variable.
20517         (link-libc-static-tests): New variable.
20518         [!gnulib] (gnulib-arch): New variable.
20519         [!gnulib] (gnulib-tests): Likewise.
20520         [!gnulib] (static-gnulib-arch): Likewise.
20521         [!gnulib] (static-gnulib-tests): Likewise.
20522         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20523         Define with "=" instead of ":=".
20524         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20525         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20526         * Rules (binaries-all-notests): New variable.
20527         (binaries-all-tests): Likewise.
20528         (binaries-static-notests): Likewise.
20529         (binaries-static-tests): Likewise.
20530         (binaries-all): Define using $(binaries-all-notests) and
20531         $(binaries-all-tests).
20532         (binaries-static): Define using $(binaries-static-notests) and
20533         $(binaries-static-tests).
20534         (binaries-shared-tests): New variable.
20535         (binaries-shared-notests): Likewise.
20536         (binaries-shared): Remove variable.
20537         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20538         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20539         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20540         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20541         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20542         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20543         * elf/Makefile (sln-modules): New variable.
20544         (extra-objs): Add $(sln-modules:=.o).
20545         (ldconfig-modules): Add static-stubs.
20546         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20547         * elf/static-stubs.c: New file.
20549         [BZ #14283]
20550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20551         by 7 not 8 to examine high bit of fractional part.  Use volatile
20552         variables when splitting into final array of floats if
20553         __FLT_EVAL_METHOD__ != 0.
20554         * math/libm-test.inc (cos_test): Add another test.
20555         (sin_test): Likewise.
20556         * sysdeps/i386/fpu/libm-test-ulps: Update.
20558         [BZ #14273]
20559         * math/libm-test.inc (cosh_test): Add more tests.
20561         * version.h (RELEASE): Set to "development".
20562         (VERSION): Set to "2.16.90".
20564 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20566         * NEWS: Update copyright. Remove last-updated date.
20567         Mention math library bug fixes and timezone data changes.
20568         * README: Mention GNU/Hurd, x32, and HPPA support status.
20570 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20572         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20574 2012-06-27  Andreas Jaeger  <aj@suse.de>
20576         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20578 2012-06-25  Andreas Jaeger  <aj@suse.de>
20580         * sysdeps/s390/fpu/libm-test-ulps: Update.
20582 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20583             Thomas Schwinge  <thomas@codesourcery.com>
20585         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20586         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20587         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20588         fanotify_mark.
20590 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20592         * sysdeps/mach/start.c: Remove file.
20593         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20594         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20595         * sysdeps/sh/init-first.c: Likewise.
20597         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20598         registers for frame unwinding purposes, add CFI directives.
20599         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20600         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20601         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20602         Likewise.
20604         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20605         __fortify_fail returning.
20606         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20608         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20609         sysdeps/sh/____longjmp_chk.S.
20610         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20611         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20612         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20613         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20615         * sysdeps/sh/abort-instr.h: New file.
20616         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20617         process in case exit returns.
20619         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20620         initialize the GOT register before use.
20622         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20623         calculation of ARGC > 4.
20625         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20626         meaningful names to some local labels.
20628 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20629             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20631         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20632         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20633         (__arch_compare_and_exchange_val_16_acq): Likewise.
20634         (__arch_compare_and_exchange_val_32_acq): Likewise.
20635         (atomic_exchange_and_add): Fix gUSA sequence.
20636         (atomic_add): Likewise.
20637         (atomic_add_negative): Likewise.
20638         (atomic_add_zero): Likewise.
20639         (atomic_bit_test_set): Likewise.
20641 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20643         [BZ #13579]
20644         * include/link.h (struct link_map): Add l_free_initfini.
20645         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20646         l_initfini.
20647         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20648         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20649         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20650         set.
20652 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20654         * configure.in: Use AC_LANG_SOURCE.
20655         * configure: Regenerate.
20657 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20659         * configure.in (libc_cv_localstatedir): New substituted variable.
20660         * configure: Regenerated.
20661         * config.make.in (localstatedir): New variable, substituted from
20662         libc_cv_localstatedir.
20663         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20664         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20665         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20666         * sysdeps/gnu/configure: Regenerated.
20668 2012-06-21  Jeff Law  <law@redhat.com>
20670         [BZ #14277]
20671         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20672         free.  Simplify list management for _LIBC case.
20674 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20676         [BZ #14273]
20677         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20678         Clear sign bit of 64-bit integer value before comparing against
20679         overflow value.
20681         * sysdeps/mach/configure: Regenerated.
20683 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20685         [BZ #14278]
20686         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20688 2012-06-21  Jeff Law  <law@redhat.com>
20690         [BZ #13882]
20691         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20692         uint16_t for elements in the "seen" array to avoid char overflows.
20693         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20694         * elf/dl-open.c (dl_open_worker): Likewise.
20696 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20698         * scripts/list-sources.sh: Scan PORTS for translations.
20699         * po/libc.pot: Regenerated.
20701 2012-06-21  Andreas Jaeger  <aj@suse.de>
20703         [BZ #12194]
20704         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20705         warning.
20706         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20707         * bits/byteswap-16.h (__bswap_16): Likewise.
20708         * bits/byteswap.h (__bswap_constant_16): Likewise.
20710 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20712         [BZ #14117]
20713         * sysdeps/i386/fpu_control.h: Removed.
20714         * sysdeps/x86_64/fpu_control.h: Moved to ...
20715         * sysdeps/x86/fpu_control.h: Here.
20717         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20718         (_FPU_SETCW): Likewise.
20720 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20722         [BZ #14117]
20723         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20724         * sysdeps/x86/fpu/bits/mathinline.h: This.
20725         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20727         [BZ #14050]
20728         [BZ #14117]
20729         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20730         functions if __x86_64__ is defined.
20732 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20734         * string/endian.h: Add !__ASSEMBLER__ condition for including
20735         conversion interfaces.
20737 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20739         [BZ #14241]
20740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20741         of ABS(x) in calculating zero to negative powers other than odd
20742         integers.
20743         * math/libm-test.inc (pow_test): Add more tests.
20745 2012-06-15  Andreas Jaeger  <aj@suse.de>
20747         * manual/contrib.texi (Contributors): Update entry of Liubov
20748         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20749         Machado Filho.
20751 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20753         * string/string.h: Add __wur to GNU version of strerror_r.
20755 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20757         [BZ #14229]
20758         * string/Makefile (tests): Add tst-strtok_r.
20759         * string/tst-strtok_r.c: New file.
20760         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20761         RAX_LP/RDX_LP on SAVE_PTR.
20763 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20765         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20767 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20769         * libm_test.inc (csqrt_test): Allow more spurious underflow
20770         exceptions.
20771         (j0_test): Likewise.
20772         (j1_test): Likewise.
20773         (y0_test): Likewise.
20774         (y1_test): Likewise.
20776 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20778         * po/Makefile (libc.pot): Use UTF-8 charset.
20780 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20782         [BZ #14210]
20783         Suppress sign-conversion warning from FD_SET.
20784         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20785         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20786         not unsigned long int.
20787         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20789 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20791         [BZ #14050]
20792         [BZ #14117]
20793         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20794         __extern_always_inline instead of __extern_inline.
20795         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20796         (__signbit): Likewise.
20797         (__signbitl): Support C++ namespace.
20798         (lrintf): New inline function.
20799         (lrint): Likewise.
20800         (llrintf): Likewise.
20801         (llrint): Likewise.
20802         (fmaxf): Likewise.
20803         (fmax): Likewise.
20804         (fminf): Likewise.
20805         (fmin): Likewise.
20806         (rint): Likewise.
20807         (rintf): Likewise.
20808         (ceil): Likewise.
20809         (ceilf): Likewise.
20810         (floor): Likewise.
20811         (floorf): Likewise.
20812         (nearbyint): Likewise.
20813         (nearbyintf): Likewise.
20815 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20817         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20818         non-default versions.
20820 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20822         [BZ #14218]
20823         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20825 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20827         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20828         (FE_UPWARD, FE_DOWNWARD): Don't define.
20829         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20830         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20832         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20833         reading it.
20834         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20835         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20837 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20839         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20841         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20842         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20844 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20846         [BZ #14117]
20847         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20848         * sysdeps/i386/fpu/Implies: New file.
20849         * sysdeps/x86_64/fpu/Implies: Likewise.
20850         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20851         * sysdeps/x86/fpu/bits/fenv.h: This.
20853         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20854         __SSE_MATH__.
20856 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20858         [BZ #14134]
20859         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20860         character 0xffff that matches the last element of the
20861         conversion table.
20863 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20865         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20866         fmodl commit.
20868 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20871         values higher than 25.6283.
20873 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20875         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20876         subnormal exponent extraction and add some __builtin_expect.
20877         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20878         Fix for subnormal mantissa calculation.
20880 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20882         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20883         cpu2 is -1 and errno is not ENOSYS.
20885 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20887         [BZ #14117]
20888         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20889         * sysdeps/x86/bits/string.h: This.
20890         * sysdeps/x86_64/bits/string.h: Removed.
20892         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20893         if not compiling for x86-64, but compiling for >= i486.
20895         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20896         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20898         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20899         New macro from Linux kernel 3.4.0.
20900         (FP_XSTATE_MAGIC2): Likewise.
20901         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20902         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20903         (struct _fpx_sw_bytes): New struct.
20904         (struct _xsave_hdr): Likewise.
20905         (struct _ymmh_state): Likewise.
20906         (struct _xstate): Likewise.
20908         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20909         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20910         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20911         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20912         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20913         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20915         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20916         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20917         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20918         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20919         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20920         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20922 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20924         [BZ #13743]
20925         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20926         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20927         (sysdep_headers): Include sys/platform/ppc.h.
20928         * sysdeps/powerpc/test-gettimebase.c: Test for
20929         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20930         * manual/Makefile (appendices): Include platform.texi.
20931         * manual/contrib.texi (Contributors): Update @node pointers.
20932         * manual/maint.texi (Maintenance): Likewise.
20933         (Platform): New node.
20934         * manual/platform.texi: New file.  Document the new features.
20936 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20937             Jakub Jelinek  <jakub@redhat.com>
20939         [BZ #14188]
20940         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20941         where __builtin_expect is unavailable.
20943 2012-06-03  David S. Miller  <davem@davemloft.net>
20945         * stdlib/longlong.h: Updated from GCC.
20947 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20949         [BZ #14042]
20950         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20951         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20952         __mcount_internal.
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20954         (GLIBC_2.16): Likewise.
20956 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20958         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20960 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20963         (default-abi): New variable.
20964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20965         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20966         variable.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20968         Likewise.
20969         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20970         Likewise.
20971         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20972         Likewise.
20974         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20975         definition.  Document in comment.
20977 2012-06-01  David S. Miller  <davem@davemloft.net>
20979         * stdlib/longlong.h: Updated from GCC.
20981 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20983         [BZ #14117]
20984         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20985         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20986         sys/debugreg.h sys/io.h here.
20987         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20988         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20989         sys/io.h.
20990         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20991         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20992         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20993         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20994         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20995         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20997         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20998         Define only if __x86_64__ is defined.
21000 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21002         [BZ #14048]
21003         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21004         Use int64_t for variable i.
21005         * math/libm-test.inc (fmod_test): Add more tests.
21007         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21008         z computation is not scheduled after fetestexcept.
21009         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21010         Use math_force_eval instead of asm to ensure calculation scheduled
21011         before exception test.
21012         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21013         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21015 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21018         computation is not scheduled after fetestexcept.
21020 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21022         [BZ #14117]
21023         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21024         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21026 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21028         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21029         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21031 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21033         [BZ #14117]
21034         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21035         <bits/wordsize.h>.
21036         (__WCHAR_MIN): Support __WORDSIZE == 64.
21037         (__WCHAR_MAX): Likewise.
21039         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21040         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21042         [BZ #14183]
21043         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21044         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21046         [BZ #14117]
21047         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21048         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21050         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21051         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21053         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21054         Defined to 1 if __x86_64__ isn't defined.
21055         (_STAT_VER_LINUX_OLD): New.
21056         (st_atime): Remove duplicate.
21057         (st_mtime): Likewise.
21058         (st_ctime): Likewise.
21060 2012-05-31  David S. Miller  <davem@davemloft.net>
21062         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21063         entries.
21065 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21067         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21068         gen-libm-test.pl.
21070         [BZ #14132]
21071         * elf/dl-reloc.c: Include <_itoa.h>.
21072         (_dl_reloc_bad_type): Remove use of INTUSE.
21073         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21074         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21075         * stdio-common/psiginfo.c (psiginfo): Likewise.
21076         * stdio-common/psignal.c (psignal): Likewise.
21077         * string/strsignal.c (strsignal): Likewise.
21078         * include/signal.h (_sys_siglist): Declare hidden proto.
21079         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21080         INTVARDEF with libc_hidden_data_def.
21081         * stdio-common/itoa-udigits.c: Likewise.
21082         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21083         (_itoa_lower_digits_internal): Remove declaration.
21084         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21085         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21086         (_sys_sigabbrev_internal): Remove aliases.
21087         (_sys_siglist): Define hidden alias.
21089 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21092         bits/sysctl.h.
21094 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21096         [BZ #14117]
21097         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21098         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21100         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21101         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21102         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21103         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21104         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21105         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21107         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21108         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21109         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21111         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21112         with __addr.
21113         (insw): Likewise.
21114         (insl): Likewise.
21115         (outsb): Likewise.
21116         (outsw): Likewise.
21117         (outsl): Likewise.
21119         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21120         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21123         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21124         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21125         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21126         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21127         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21128         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21130         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21131         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21133         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21134         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21136         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21138         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21140         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21141         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21142         to ...
21143         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21145         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21146         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21147         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21149         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21150         for x86-64.
21151         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21153 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21155         * math/math.h (M_El): Use two more decimal places.
21156         (M_LOG2El): Likewise.
21157         (M_LOG10El): Likewise.
21158         (M_LN2l): Likewise.
21159         (M_LN10l): Likewise.
21160         (M_PIl): Likewise.
21161         (M_PI_2l): Likewise.
21162         (M_PI_4l): Likewise.
21163         (M_1_PIl): Likewise.
21164         (M_2_PIl): Likewise.
21165         (M_2_SQRTPIl): Likewise.
21166         (M_SQRT2l): Likewise.
21167         (M_SQRT1_2l): Likewise.
21169 2012-05-31  David S. Miller  <davem@davemloft.net>
21171         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21172         values between float registers.
21173         * sysdeps/sparc/sparc64/memset.S: Likewise.
21174         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21176 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21178         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21179         -D_FORTIFY_SOURCE=1.
21180         (CPPFLAGS-tst-longjmp_chk.c): Define.
21181         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21182         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21183         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21184         CFLAGS-tst-wchar-h.c.
21186 2012-05-31  Marek Polacek  <polacek@redhat.com>
21188         [BZ #14132]
21189         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21190         __endmntent_internal): Remove declaration.
21191         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21192         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21193         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21195 2012-05-30  David S. Miller  <davem@davemloft.net>
21197         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21198         (___Q_simulate_exceptions): Use real FP ops rather than writing
21199         into the %fsr.
21200         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21201         Likewise.
21203 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21205         [BZ #14117]
21206         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21207         * sysdeps/x86/bits/xtitypes.h: This.
21209         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21210         * sysdeps/x86/bits/wordsize.h: This.
21212         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21213         * sysdeps/x86/bits/huge_vall.h: This.
21215         * sysdeps/i386/bits/select.h: Removed.
21216         * sysdeps/x86_64/bits/select.h: Renamed to ...
21217         * sysdeps/x86/bits/select.h: This.
21219         * sysdeps/i386/bits/setjmp.h: Removed.
21220         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21221         * sysdeps/x86/bits/setjmp.h: This.
21223         * sysdeps/i386/bits/mathdef.h: Removed.
21224         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21225         * sysdeps/x86/bits/mathdef.h: This.
21227 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21229         [BZ #14132]
21230         * include/sys/socket.h (__connect_internal)
21231         (__libc_sa_len_internal): Remove declaration.
21232         (__connect, __libc_sa_len): Declare hidden_proto.
21233         (SA_LEN): Remove use of INTUSE.
21234         * socket/connect.c: Add libc_hidden_def.
21235         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21236         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21237         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21238         alias.
21239         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21241         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21242         of adding _internal alias.
21244 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21246         [BZ #14117]
21247         * sysdeps/i386/bits/link.h: Removed.
21248         * sysdeps/i386/bits/linkmap.h: Likewise.
21249         * sysdeps/x86_64/bits/link.h: Renamed to ...
21250         * sysdeps/x86/bits/link.h: This.
21251         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21252         * sysdeps/x86/bits/linkmap.h: This.
21254         * sysdeps/i386/bits/endian.h: Removed.
21255         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21256         * sysdeps/x86/bits/endian.h: This.
21258         * sysdeps/i386/bits/byteswap.h: Removed.
21259         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21260         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21261         * sysdeps/x86/bits/byteswap.h: This.
21262         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21263         * sysdeps/x86/bits/byteswap-16.h: This.
21264         * sysdeps/i386/Implies: Add x86.
21265         * sysdeps/x86_64/Implies: Likewise.
21267 2012-05-30  David S. Miller  <davem@davemloft.net>
21269         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21270         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21271         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21272         (FP_TRAPPING_EXCEPTIONS): Define.
21273         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21274         (FP_TRAPPING_EXCEPTIONS): Define.
21275         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21276         subnormals only when inexact has been signalled or underflow
21277         exceptions are enabled.
21278         (_FP_PACK_CANONICAL): Likewise.
21280 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21282         [BZ #14183]
21283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21284         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21286 2012-05-30  Richard Henderson  <rth@twiddle.net>
21288         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21289         with #ifndef NOT_IN_libc.
21291         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21292         marked to avoid plt entry.
21294 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21296         [BZ #14112]
21297         * Makeconfig (default-abi): New macro.
21298         (abi-includes): Likewise.
21299         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21300         $(abi-$(default-abi)-lib-soname) for soname if defined.
21301         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21302         abi-variants.
21303         * Makefile (installed-stubs): Likewise.
21304         * include/stubs-biarch.h: Removed.
21305         * scripts/lib-names.awk: Only handle one library at a time.
21306         * scripts/soversions.awk: Remove WORDSIZE support.
21307         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21308         entries.
21309         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21310         Removed.
21311         (syscall-list-default-condition): Likewise.
21312         (syscall-list-default-condition): Likewise.
21313         (syscall-list-includes): Likewise.
21314         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21315         syscall-list-* with abi-*.  Handle undefined abi-variants.
21316         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21317         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21318         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21319         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21320         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21321         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21322         Removed.
21323         (syscall-list-32-options): Likewise.
21324         (syscall-list-32-condition): Likewise.
21325         (syscall-list-64-options): Likewise.
21326         (syscall-list-64-condition): Likewise.
21327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21328         macro.
21329         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21330         Renamed to ...
21331         (abi-*): This.
21332         (abi-64-ld-soname): New macro.
21333         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21334         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21335         Renamed to ...
21336         (abi-*): This.
21337         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21338         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21340 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21342         * sysdeps/unix/sysv/linux/kernel-features.h
21343         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21344         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21345         include <kernel-features.h>.
21346         [!__NR_ftruncate64]: Remove conditional code.
21347         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21348         [__NR_ftruncate64]: Make code unconditional.
21349         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21350         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21351         include <kernel-features.h>.
21352         [!__NR_ftruncate64]: Remove conditional code.
21353         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21354         [__NR_ftruncate64]: Make code unconditional.
21355         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21357         include <kernel-features.h>.
21358         [!__NR_ftruncate64]: Remove conditional code.
21359         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21360         [__NR_ftruncate64]: Make code unconditional.
21361         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21363         include <kernel-features.h>.
21364         [!__NR_ftruncate64]: Remove conditional code.
21365         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21366         [__NR_ftruncate64]: Make code unconditional.
21367         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21369         * configure.in (libc_cv_fpie): Weaken to a compile test using
21370         LIBC_TRY_CC_OPTION.
21371         * configure: Regenerated.
21373 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21379         Refreshed.
21380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21386         Refreshed.
21388 2012-05-27  David S. Miller  <davem@davemloft.net>
21390         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21391         (___Q_zero): New.
21392         (__Q_simulate_exceptions): Return void.  Change to simulate
21393         exceptions by writing into the %fsr.
21394         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21395         (__Qp_handle_exceptions): Likewise.
21396         (numbers): Delete.
21397         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21398         __Qp_handle_exceptions.
21399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21400         __Qp_handle_exceptions.
21401         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21402         as unused and give dummy FP_RND_NEAREST initializer.
21403         (FP_INHIBIT_RESULTS): Define.
21404         (___Q_simulate_exceptions): Update declaration.
21405         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21406         formatting.
21407         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21408         as unused and give dummy FP_RND_NEAREST initializer.
21409         (__Qp_handle_exceptions): Update declaration.
21410         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21411         formatting.
21413 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21415         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21416         the temporary FPU control word.
21417         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21418         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21419         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21420         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21421         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21422         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21423         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21424         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21425         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21426         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21427         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21429 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21431         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21432         fields.
21434 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21436         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21437         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21438         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21439         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21442         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21443         Likewise.
21445 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21447         * po/h.po: Update from translation team.
21449 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21451         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21453         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21454         handling of denormals.
21455         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21456         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21457         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21458         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21460         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21461         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21462         Likewise.
21464 2012-05-26  Marek Polacek  <polacek@redhat.com>
21466         [BZ #14152]
21467         * math/libm-test.inc (fma_test): Don't always expect underflow
21468         exception.
21470 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21472         [BZ #12416]
21473         * elf/tst-execstack.c: Include stackinfo.h.
21474         (do_test): Adjust test case to ensure that pthread_getattr_np
21475         behaviour remains the same after marking stack executable.
21477 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21479         * sysdeps/unix/sysv/linux/kernel-features.h
21480         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21481         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21482         kernel-features.h.
21483         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21484         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21485         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21486         kernel-features.h.
21487         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21488         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21490 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21492         * configure.in: Define the default includes to being none.
21493         * configure: Regenerated.
21495 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21497         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21498         * sysdeps/x86_64/setjmp.S: Likewise.
21499         * sysdeps/i386/bsd-setjmp.S: Likewise.
21500         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21501         * sysdeps/i386/setjmp.S: Likewise.
21502         * sysdeps/i386/__longjmp.S: Likewise.
21503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21504         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21506         * include/stap-probe.h: New file.
21507         * configure.in: Handle --enable-systemtap.
21508         * configure: Regenerated.
21509         * config.h.in (USE_STAP_PROBE): New #undef.
21510         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21511         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21512         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21514 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21516         [BZ #13717]
21517         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21518         to 2.4.0 where earlier.
21519         * sysdeps/unix/sysv/linux/configure: Regenerated.
21520         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21521         <kernel-features.h>.
21522         [__ASSUME_32BITUIDS]: Make code unconditional.
21523         [!__ASSUME_32BITUIDS]: Remove conditional code.
21524         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21525         <kernel-features.h>.
21526         [__ASSUME_32BITUIDS]: Make code unconditional.
21527         [!__ASSUME_32BITUIDS]: Remove conditional code.
21528         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21529         [__ASSUME_32BITUIDS]: Make code unconditional.
21530         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21531         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21532         <kernel-features.h>.
21533         [__ASSUME_32BITUIDS]: Make code unconditional.
21534         [!__ASSUME_32BITUIDS]: Remove conditional code.
21535         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21536         <kernel-features.h>.
21537         [__ASSUME_32BITUIDS]: Make code unconditional.
21538         [!__ASSUME_32BITUIDS]: Remove conditional code.
21539         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21540         <kernel-features.h>.
21541         [__ASSUME_32BITUIDS]: Make code unconditional.
21542         [!__ASSUME_32BITUIDS]: Remove conditional code.
21543         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21544         <kernel-features.h>.
21545         [__ASSUME_32BITUIDS]: Make code unconditional.
21546         [!__ASSUME_32BITUIDS]: Remove conditional code.
21547         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21548         <kernel-features.h>.
21549         [__ASSUME_32BITUIDS]: Make code unconditional.
21550         [!__ASSUME_32BITUIDS]: Remove conditional code.
21551         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21552         <kernel-features.h>.
21553         [__ASSUME_32BITUIDS]: Make code unconditional.
21554         [!__ASSUME_32BITUIDS]: Remove conditional code.
21555         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21556         <kernel-features.h>.
21557         [__ASSUME_32BITUIDS]: Make code unconditional.
21558         [!__ASSUME_32BITUIDS]: Remove conditional code.
21559         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21560         <kernel-features.h>.
21561         [__ASSUME_32BITUIDS]: Make code unconditional.
21562         [!__ASSUME_32BITUIDS]: Remove conditional code.
21563         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21564         <kernel-features.h>.
21565         [__ASSUME_32BITUIDS]: Make code unconditional.
21566         [!__ASSUME_32BITUIDS]: Remove conditional code.
21567         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21568         <kernel-features.h>.
21569         [__ASSUME_32BITUIDS]: Make code unconditional.
21570         [!__ASSUME_32BITUIDS]: Remove conditional code.
21571         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21572         <kernel-features.h>.
21573         [__NR_setresgid] (__setresgid): Do not declare.
21574         [__ASSUME_32BITUIDS]: Make code unconditional.
21575         [!__ASSUME_32BITUIDS]: Remove conditional code.
21576         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21577         <kernel-features.h>.
21578         [__NR_setresuid] (__setresuid): Do not declare.
21579         [__ASSUME_32BITUIDS]: Make code unconditional.
21580         [!__ASSUME_32BITUIDS]: Remove conditional code.
21581         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21582         <kernel-features.h>.
21583         [__ASSUME_32BITUIDS]: Make code unconditional.
21584         [!__ASSUME_32BITUIDS]: Remove conditional code.
21585         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21586         <kernel-features.h>.
21587         [__ASSUME_32BITUIDS]: Make code unconditional.
21588         [!__ASSUME_32BITUIDS]: Remove conditional code.
21589         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21590         <kernel-features.h>.
21591         [__ASSUME_32BITUIDS]: Make code unconditional.
21592         [!__ASSUME_32BITUIDS]: Remove conditional code.
21593         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21594         <kernel-features.h>.
21595         [__ASSUME_32BITUIDS]: Make code unconditional.
21596         [!__ASSUME_32BITUIDS]: Remove conditional code.
21597         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21598         <kernel-features.h>.
21599         [__ASSUME_32BITUIDS]: Make code unconditional.
21600         [!__ASSUME_32BITUIDS]: Remove conditional code.
21601         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21602         <kernel-features.h>.
21603         [__ASSUME_32BITUIDS]: Make code unconditional.
21604         [!__ASSUME_32BITUIDS]: Remove conditional code.
21605         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21606         <kernel-features.h>.
21607         [__ASSUME_32BITUIDS]: Make code unconditional.
21608         [!__ASSUME_32BITUIDS]: Remove conditional code.
21609         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21610         <kernel-features.h>.
21611         [__ASSUME_32BITUIDS]: Make code unconditional.
21612         [!__ASSUME_32BITUIDS]: Remove conditional code.
21613         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21614         <kernel-features.h>.
21615         [__ASSUME_32BITUIDS]: Make code unconditional.
21616         [!__ASSUME_32BITUIDS]: Remove conditional code.
21617         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21618         <kernel-features.h>.
21619         [__ASSUME_32BITUIDS]: Make code unconditional.
21620         [!__ASSUME_32BITUIDS]: Remove conditional code.
21621         * sysdeps/unix/sysv/linux/kernel-features.h
21622         (__ASSUME_SETRESUID_SYSCALL): Remove.
21623         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21624         (__ASSUME_32BITUIDS): Likewise.
21625         (__ASSUME_LDT_WORKS): Likewise.
21626         (__ASSUME_O_DIRECTORY): Likewise.
21627         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21628         architecture but not kernel version.
21629         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21630         (__ASSUME_MMAP2_SYSCALL): Likewise.
21631         (__ASSUME_STAT64_SYSCALL): Likewise.
21632         (__ASSUME_IPC64): Likewise.
21633         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21634         <kernel-features.h>.
21635         [__ASSUME_32BITUIDS]: Make code unconditional.
21636         [!__ASSUME_32BITUIDS]: Remove conditional code.
21637         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21638         <kernel-features.h>.
21639         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21640         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21641         132096]: Remove conditional code.
21642         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21643         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21644         <kernel-features.h>.
21645         [__ASSUME_32BITUIDS]: Make code unconditional.
21646         [!__ASSUME_32BITUIDS]: Remove conditional code.
21647         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21648         <kernel-features.h>.
21649         [__ASSUME_32BITUIDS]: Make code unconditional.
21650         [!__ASSUME_32BITUIDS]: Remove conditional code.
21651         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21652         <kernel-features.h>.
21653         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21654         unconditional.
21655         (__setresgid): Do not declare.
21656         [__ASSUME_32BITUIDS]: Make code unconditional.
21657         [!__ASSUME_32BITUIDS]: Remove conditional code.
21658         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21659         <kernel-features.h>.
21660         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21661         unconditional.
21662         (__setresuid): Do not declare.
21663         [__ASSUME_32BITUIDS]: Make code unconditional.
21664         [!__ASSUME_32BITUIDS]: Remove conditional code.
21665         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21666         <kernel-features.h>.
21667         [__ASSUME_32BITUIDS]: Make code unconditional.
21668         [!__ASSUME_32BITUIDS]: Remove conditional code.
21669         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21670         <kernel-features.h>.
21671         [__ASSUME_32BITUIDS]: Make code unconditional.
21672         [!__ASSUME_32BITUIDS]: Remove conditional code.
21674 2012-05-25  Richard Henderson  <rth@twiddle.net>
21676         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21677         dl_hwcap to ifunc resolver.
21678         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21679         elf_ifunc_invoke.
21680         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21681         dl_hwcap to ifunc resolver.
21682         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21684 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21686         [BZ #14153]
21687         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21688         for |x| <= 2**-26, not 2**-57.
21689         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21690         exception.
21692 2012-05-24  Jeff Law  <law@redhat.com>
21694         * stdio-common/Makefile (tests): Add bug25.
21695         * stdio-common/bug25.c: New test.
21697 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21699         [BZ #13576]
21700         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21701         multiple of MALLOC_ALIGNMENT in size.
21702         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21704 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21706         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21707         Require >= 256.
21708         (FILENAME_MAX): Use macro-int-constant.
21709         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21710         (_IOFBF): Use macro-int-constant.
21711         (_IOLBF): Likewise.
21712         (_IONBF): Likewise.
21713         (SEEK_CUR): Likewise.
21714         (SEEK_END): Likewise.
21715         (SEEK_SET): Likewise.
21716         (TMP_MAX): Likewise.
21717         (EOF): Use macro-int-constant.  Require < 0.
21718         (NULL): Use macro-constant.  Require == 0.
21719         (stdin): Require type to be FILE *.
21720         (stdout): Likewise.
21721         (stderr): Likewise.
21722         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21723         macro-int-constant.
21724         (EXIT_SUCCESS): Likewise.
21725         (NULL): Use macro-constant.  Require == 0.
21726         (RAND_MAX): Use macro-int-constant.
21727         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21728         [C99-based standards] (strtof): Require function.
21729         [C99-based standards] (strtold): Likewise.
21730         [C99-based standards] (strtoll): Likewise.
21731         [C99-based standards] (strtoull): Likewise.
21732         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21733         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21734         [ISO || ISO99 || ISO11] (math.h): Likewise.
21735         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21736         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21739 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21741         [BZ #14132]
21742         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21743         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21744         * intl/dgettext.c (DCGETTEXT): Likewise.
21745         * intl/gettext.c (DCGETTEXT): Likewise.
21746         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21747         * posix/regex_internal.h (gettext): Likewise.
21748         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21749         Remove declaration.
21750         * include/argz.h (__argz_count_internal)
21751         (__argz_stringify_internal): Remove declaration.
21752         (__argz_count, __argz_stringify): Declare hidden proto.
21753         * intl/dcgettext.c: Remove use of INTDEF.
21754         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21755         * string/argz-stringify.c: Likewise.
21756         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21757         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21758         Declare hidden proto.
21759         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21760         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21761         Declare hidden proto.
21762         * include/stdio.h (__asprintf_internal): Don't declare.
21763         (__asprintf): Don't define as macro.  Declare hidden proto.
21764         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21765         (__fsetlocking): Declare hidden proto.
21766         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21767         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21768         hidden proto.
21769         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21770         (_IO_setlinebuf): Remove use of INTUSE.
21771         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21772         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21773         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21774         Remove declaration.
21775         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21776         (_IO_do_flush): Remove use of INTUSE.
21777         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21778         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21779         (_IO_adjust_column, _IO_least_wmarker)
21780         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21781         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21782         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21783         (_IO_default_doallocate, _IO_wdefault_doallocate)
21784         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21785         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21786         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21787         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21788         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21789         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21790         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21791         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21792         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21793         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21794         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21795         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21796         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21797         proto.
21798         (_IO_flush_all_internal, _IO_adjust_column_internal)
21799         (_IO_default_uflow_internal, _IO_default_finish_internal)
21800         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21801         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21802         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21803         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21804         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21805         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21806         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21807         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21808         (_IO_file_close_internal, _IO_file_close_it_internal)
21809         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21810         (_IO_file_init_internal, _IO_file_attach_internal)
21811         (_IO_file_fopen_internal, _IO_file_read_internal)
21812         (_IO_file_sync_internal, _IO_file_seek_internal)
21813         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21814         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21815         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21816         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21817         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21818         (_IO_list_all_internal, _IO_link_in_internal)
21819         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21820         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21821         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21822         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21823         (_IO_do_write_internal, _IO_padn_internal)
21824         (_IO_getline_info_internal, _IO_getline_internal)
21825         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21826         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21827         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21828         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21829         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21830         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21831         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21832         with libc_hidden_ver, remove use of INTUSE.
21833         * libio/genops.c: Likewise.
21834         * libio/freopen.c: Likewise.
21835         * libio/freopen64.c: Likewise.
21836         * libio/iofclose.c: Likewise.
21837         * libio/iofdopen.c: Likewise.
21838         * libio/iofflush.c: Likewise.
21839         * libio/iofflush_u.c: Likewise.
21840         * libio/iofgets.c: Likewise.
21841         * libio/iofgets_u.c: Likewise.
21842         * libio/iofopen.c: Likewise.
21843         * libio/iofopncook.c: Likewise.
21844         * libio/iofread.c: Likewise.
21845         * libio/iofread_u.c: Likewise.
21846         * libio/ioftell.c: Likewise.
21847         * libio/iofwrite.c: Likewise.
21848         * libio/iogetline.c: Likewise.
21849         * libio/iogets.c: Likewise.
21850         * libio/iogetwline.c: Likewise.
21851         * libio/iopadn.c: Likewise.
21852         * libio/iopopen.c: Likewise.
21853         * libio/ioseekoff.c: Likewise.
21854         * libio/ioseekpos.c: Likewise.
21855         * libio/iosetbuffer.c: Likewise.
21856         * libio/iosetvbuf.c: Likewise.
21857         * libio/ioungetc.c: Likewise.
21858         * libio/ioungetwc.c: Likewise.
21859         * libio/iovdprintf.c: Likewise.
21860         * libio/iovsprintf.c: Likewise.
21861         * libio/iovsscanf.c: Likewise.
21862         * libio/memstream.c: Likewise.
21863         * libio/obprintf.c: Likewise.
21864         * libio/oldfileops.c: Likewise.
21865         * libio/oldiofclose.c: Likewise.
21866         * libio/oldiofdopen.c: Likewise.
21867         * libio/oldiofopen.c: Likewise.
21868         * libio/oldiopopen.c: Likewise.
21869         * libio/oldstdfiles.c: Likewise.
21870         * libio/putc.c: Likewise.
21871         * libio/setbuf.c: Likewise.
21872         * libio/setlinebuf.c: Likewise.
21873         * libio/stdfiles.c: Likewise.
21874         * libio/strops.c: Likewise.
21875         * libio/vasprintf.c: Likewise.
21876         * libio/vscanf.c: Likewise.
21877         * libio/vsnprintf.c: Likewise.
21878         * libio/vswprintf.c: Likewise.
21879         * libio/wfiledoalloc.c: Likewise.
21880         * libio/wfileops.c: Likewise.
21881         * libio/wgenops.c: Likewise.
21882         * libio/wmemstream.c: Likewise.
21883         * libio/wstrops.c: Likewise.
21884         * libio/__fpurge.c: Likewise.
21885         * libio/__fsetlocking.c: Likewise.
21886         * assert/assert.c: Likewise.
21887         * debug/fgets_chk.c: Likewise.
21888         * debug/fgets_u_chk.c: Likewise.
21889         * debug/fread_chk.c: Likewise.
21890         * debug/fread_u_chk.c: Likewise.
21891         * debug/gets_chk.c: Likewise.
21892         * debug/obprintf_chk.c: Likewise.
21893         * debug/vasprintf_chk.c: Likewise.
21894         * debug/vdprintf_chk.c: Likewise.
21895         * debug/vsnprintf_chk.c: Likewise.
21896         * debug/vsprintf_chk.c: Likewise.
21897         * malloc/mtrace.c: Likewise.
21898         * misc/error.c: Likewise.
21899         * misc/syslog.c: Likewise.
21900         * stdio-common/asprintf.c: Likewise.
21901         * stdio-common/fxprintf.c: Likewise.
21902         * stdio-common/getw.c: Likewise.
21903         * stdio-common/isoc99_fscanf.c: Likewise.
21904         * stdio-common/isoc99_scanf.c: Likewise.
21905         * stdio-common/isoc99_vfscanf.c: Likewise.
21906         * stdio-common/isoc99_vscanf.c: Likewise.
21907         * stdio-common/isoc99_vsscanf.c: Likewise.
21908         * stdio-common/printf-prs.c: Likewise.
21909         * stdio-common/printf_fp.c: Likewise.
21910         * stdio-common/printf_fphex.c: Likewise.
21911         * stdio-common/printf_size.c: Likewise.
21912         * stdio-common/putw.c: Likewise.
21913         * stdio-common/scanf.c: Likewise.
21914         * stdio-common/sprintf.c: Likewise.
21915         * stdio-common/tmpfile.c: Likewise.
21916         * stdio-common/vfprintf.c: Likewise.
21917         * stdio-common/vfscanf.c: Likewise.
21918         * stdlib/strfmon_l.c: Likewise.
21919         * sunrpc/openchild.c: Likewise.
21920         * sunrpc/xdr_stdio.c: Likewise.
21921         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21922         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21924 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21926         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21928         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21929         in the third column, to generate for the shared library an IFUNC
21930         that uses _dl_vdso_vsym.
21931         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21932         * Makeconfig (object-suffixes-noshared): New variable.
21934         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21935         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21936         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21937         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21939         [BZ #14132]
21940         * include/sys/time.h (__gettimeofday): Remove macro.
21941         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21942         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21943         Remove INTDEF.
21944         (__gettimeofday): Add libc_hidden_def.
21945         (gettimeofday): Add libc_hidden_weak.
21946         * sysdeps/mach/gettimeofday.c: Likewise.
21947         * sysdeps/posix/gettimeofday.c: Likewise.
21948         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21949         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21951         (__gettimeofday_internal): Remove strong_alias.
21952         (__gettimeofday): Add libc_hidden_def.
21953         (gettimeofday): Add libc_hidden_weak.
21954         * sysdeps/unix/syscalls.list (gettimeofday):
21955         Remove __gettimeofday_internal alias.
21957 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21958             H.J. Lu  <hongjiu.lu@intel.com>
21960         [BZ #12495]
21961         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21962         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21963         (largebin_index_32_big): New.
21964         (largebin_index): Use it for 16-byte alignment.
21965         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21966         correction with front_misalign.
21968 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21972         Likewise.
21973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21974         Likewise.
21975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21976         Likewise.
21977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21978         Likewise.
21979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21980         Likewise.
21981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21982         Likewise.
21983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21984         Likewise.
21985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21986         Likewise.
21987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21988         Likewise.
21989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21990         Likewise.
21991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21992         Likewise.
21993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21994         Likewise.
21996         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21997         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21999 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22001         [BZ #10846]
22002         [BZ #14036]
22003         * math/libm-test.inc (exp_test): Add test from bug 14036.
22004         (pow_test): Add test from bug 10846.
22006         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22007         and other flags.
22008         (special_function): Do not include flags in test name.
22009         (parse_args): Likewise.
22010         * sysdeps/i386/fpu/libm-test-ulps: Update.
22011         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22012         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22013         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22016         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22017         exceptions.
22018         * math/libm-test.inc ("Philosophy"): Update comment about
22019         exception testing.
22020         (UNDERFLOW_EXCEPTION): New macro.
22021         (UNDERFLOW_EXCEPTION_OK): Likewise.
22022         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22023         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22024         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22025         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22026         (INVALID_EXCEPTION_OK): Update value.
22027         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22028         (OVERFLOW_EXCEPTION_OK): Likewise.
22029         (IGNORE_ZERO_INF_SIGN): Likewise.
22030         (test_exceptions): Handle underflow exceptions.
22031         (acos_test): Update for underflow exception expectations.
22032         (cexp_test): Likewise.
22033         (clog_test): Likewise.
22034         (clog10_test): Likewise.
22035         (csqrt_test): Likewise.
22036         (ctan_test): Likewise.
22037         (ctanh_test): Likewise.
22038         (exp_test): Likewise.
22039         (exp10_test): Likewise.
22040         (exp2_test): Likewise.
22041         (expm1_test): Likewise.
22042         (fma_test): Likewise.
22043         (j0_test): Likewise.
22044         (jn_test): Likewise.
22045         (nexttoward_test): Likewise.
22046         (pow_test): Likewise.
22047         (scalbn_test): Likewise.
22048         (scalbln_test): Likewise.
22049         (tan_test): Likewise.
22050         (y1_test): Likewise.
22051         * sysdeps/i386/fpu/libm-test-ulps: Update.
22052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22054 2012-05-23  David S. Miller  <davem@davemloft.net>
22056         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22057         (__libc_sigaction): Remove unused local variables.
22059 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22061         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22063 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22065         mktime: avoid signed integer overflow
22066         * time/mktime.c (__mktime_internal): Do not mishandle the case
22067         where diff == INT_MIN.
22069         mktime: simplify computation of average
22070         * time/mktime.c (ranged_convert): Use new time_t_avg function
22071         instead of rolling our own (probably-slower) code.
22073         mktime: do not assume signed right shift propagates sign bit
22074         * time/mktime.c (isdst_differ): New static function.
22075         (__mktime_internal): No need to normalize tm_isdst now.
22076         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22077         tm_isdst values.
22079         mktime: merge another wrapv change from gnulib
22080         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22081         from some compilers.
22083         mktime: remove incorrect attempt at unusual arithmetics
22084         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22085         The code didn't really work on such machines anyway.
22086         (TYPE_MINIMUM): Assume two's complement.
22087         (twos_complement_arithmetic): Verify that long_int and time_t
22088         are two's complement (or unsigned, in the latter case).
22090         mktime: check signed shifts on long_int and time_t, too
22091         * time/mktime.c (SHR): Check that shifts work as desired
22092         on the types long_int and time_t too, as SHR is used on
22093         such types.
22095         mktime: do not assume 'long' is wide enough
22096         * time/mktime.c (verify): Move decl up.
22097         (long_int): New type.
22098         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22099         to remove assumption in the code that 'long' is wide enough to
22100         store year values.  This assumption is not true on x32 and on
22101         some non-glibc platforms.
22103         mktime: merge wrapv change from gnulib
22104         * time/mktime.c (WRAPV): New macro.
22105         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22106         (guess_time_tm, __mktime_internal): Do not assume that signed
22107         integer overflow wraps around; modern compilers generate code
22108         where this assumption is no longer valid.
22110 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22112         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22113         Replace "jmp L(pseudo_end)" with "ret".
22114         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22115         Likewise.
22117 2012-05-23  Andreas Jaeger  <aj@suse.de>
22119         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22120         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22122 2012-05-23  Andreas Jaeger  <aj@suse.de>
22123             Maximilian Attems  <max@stro.at>
22125         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22126         New macros.
22128 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22130         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22131         code so that pseudo_end is just ret and the stack pointer is
22132         correct also for static library in error case.
22134 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22136         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22137         move to syscalls.list.
22138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22143         * manual/install.texi (Running make install): Do not mention Linux
22144         kernel version for which pt_chown is not needed.
22145         (Linux): Do not mention problems with nscd with 2.0 kernels.
22146         * INSTALL: Regenerated.
22148 2012-05-23  Andreas Jaeger  <aj@suse.de>
22150         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22151         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22152         macro.
22153         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22154         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22155         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22156         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22157         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22158         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22160         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22161         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22162         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22163         * sysdeps/unix/sysv/linux/bits/in.h
22164         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22166 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22168         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22169         (PREPARE_VERSION): Just use assert instead, it will be elided
22170         under [NDEBUG] anyway.
22172 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22174         * sysdeps/unix/sysv/linux/Makefile: Include
22175         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22176         (sysdep_routines): Remove sysctl.
22177         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22178         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22179         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22180         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22181         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22183 2012-05-22  Andreas Jaeger  <aj@suse.de>
22185         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22186         that pseudo_end is just ret and the stack pointer is correct also
22187         for static library in error case.
22189 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22191         [BZ #14122]
22192         * nss/nsswitch.c (defconfig_entries): New variable.
22193         (__nss_database_lookup): Don't leak defconfig entries.
22194         (nss_parse_service_list): Don't leak on error paths.
22195         (free_database_entries): New function.
22196         (free_defconfig): New function.
22197         (free_mem): Move common code to free_database_entries.
22199 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22201         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22202         Add arch_prctl.
22203         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22205         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22206         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22208         New macro.
22209         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22210         (INTERNAL_SYSCALL_TYPES): Likewise.
22211         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22212         (LOAD_REGS_TYPES_[1-6]): Likewise.
22213         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22214         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22216 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22218         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22219         copysignl for GLIBC_2_0.
22220         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22221         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22223         logbl for GLIBC_2_0.
22224         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22225         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22229         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22230         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22232         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22233         Use "neg %eax".
22235         * time/mktime.c: Update copyright years.
22237 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22239         mktime: merge comment-quoting-style change from gnulib
22240         * time/mktime.c: Quote 'like this' in comments.
22241         The GNU coding standards suggest that we no longer quote `like this',
22242         as "`" and "'" are typically rendered asymmetrically nowadays.
22243         The typical gnulib style is to quote 'like this' when quoting
22244         code, and "like this" when quoting English.
22246         * time/mktime.c (compile-command): Add "-I.".
22248         mktime: merge mktime-internal.h change from gnulib
22249         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22251         mktime: merge time_r change from gnulib
22252         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22254         mktime: merge DEBUG change from gnulib
22255         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22256         case system <time.h> has a #define.
22258         mktime: merge <sys/types.h> change from gnulib
22259         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22260         since <time.t> is now guaranteed to define time_t.
22262         mktime: merge HAVE_CONFIG_H change from gnulib
22263         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22265 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22268         Use "neg %eax".
22270         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22271         __rlim_t cast.
22272         (struct rusage): Use anonymous union to pad each field to
22273         __syscall_slong_t.
22275 2012-05-21  David S. Miller  <davem@davemloft.net>
22277         * Makefules (o-iterator): Remove .s cases.
22278         (compile-command.s): Delete.
22279         (COMPILE.s): Delete.
22280         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22282 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22284         * configure.in (libc_cv_predef_stack_protector): Only consider
22285         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22286         * configure: Regenerated.
22288 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22291         New macro.  Use R*LP on int and pointer.
22292         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22293         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22294         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22295         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22297         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22298         [__WORDSIZE_TIME64_COMPAT32] instead of
22299         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22300         (struct utmp): Likewise.
22301         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22302         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22303         Renamed to ...
22304         (__WORDSIZE_TIME64_COMPAT32): This.
22305         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22306         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22307         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22308         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22309         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22310         (__WORDSIZE_TIME64_COMPAT32): New macro.
22312 2012-05-21  Andreas Jaeger  <aj@suse.de>
22314         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22315         only if [SHARED]. Add prototype for __wcschr_ia32.
22317 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22319         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22320         of %rbp unmolested in the jmp_buf while mangling the low bits.
22321         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22322         unmolested high bits of %rbp while demangling the low bits.
22323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22325 2012-05-21  Andreas Jaeger  <aj@suse.de>
22327         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22328         * sunrpc/svc_simple.c: Use it for registerrpc.
22329         * sunrpc/xcrypt.c: Use it for passwd2des.
22331         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22333 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22335         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22336         Don't define if [__SYSCALL_WORDSIZE != 32].
22337         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22338         New macro.
22340 2012-05-21  Bruno Haible  <bruno@clisp.org>
22341             Andreas Jaeger  <aj@suse.de>
22343         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22344         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22345         inptr and inend for must_buffer_ch.
22346         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22347         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22348         * stdio-common/Makefile (tests): Remove bug15.
22349         (bug15-ENV): Remove macro.
22350         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22351         anymore.
22353 2012-05-19  Andreas Jaeger  <aj@suse.de>
22354             Roland McGrath  <roland@hack.frob.com>
22356         * manual/contrib.texi: Completely rewritten. It contains now an
22357         alphabetical list of contributors and their contributions.
22359 2012-05-21  Richard Henderson  <rth@twiddle.net>
22361         * misc/getauxval.c (__getauxval): Use unsigned long int.
22362         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22363         (getauxval): Use unsigned long int.
22365 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22367         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22369 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22371         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22372         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22373         __alignof__ (long double).
22375 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22379 2012-05-20  Richard Henderson  <rth@twiddle.net>
22381         * misc/getauxval.c: New file.
22382         * misc/sys/auxv.h: New file.
22383         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22384         (routines): Add getauxval.
22385         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22386         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22387         * elf/dl-sysdep.c (_dl_auxv): Remove.
22388         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22389         * elf/dl-support.c (_dl_auxv): New variable.
22390         (_dl_aux_init): Initialize it.
22391         * manual/startup.texi (Auxiliary Vector): New node.
22392         * sysdeps/generic/bits/hwcap.h: New file.
22393         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22394         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22395         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22396         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22397         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22398         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22400         Update.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22410 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22414 2012-05-19  David S. Miller  <davem@davemloft.net>
22416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22418 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22420         [BZ #14123]
22421         * math/s_ccosh.c: Include <float.h>
22422         (__ccosh): Avoid internal overflow calculating sinh and cosh
22423         values before multiplying by sin and cos values.
22424         * math/s_ccoshf.c: Likewise.
22425         * math/s_ccoshl.c: Likewise.
22426         * math/s_csin.c: Likewise.
22427         * math/s_csinf.c: Likewise.
22428         * math/s_csinl.c: Likewise.
22429         * math/s_csinh.c: Likewise.
22430         * math/s_csinhf.c: Likewise.
22431         * math/s_csinhl.c: Likewise.
22432         * math/libm-test.inc (ccos_test): Add more tests.
22433         (ccosh_test): Likewise.
22434         (csin_test): Likewise.
22435         (csinh_test): Likewise.
22436         * sysdeps/i386/fpu/libm-test-ulps: Update.
22437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22439 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22441         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22442         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22444         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22446 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22448         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22449         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22450         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22451         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22452         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22453         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22454         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22455         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22456         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22457         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22458         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22459         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22460         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22461         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22462         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22463         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22464         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22465         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22466         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22467         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22468         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22469         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22470         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22471         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22472         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22473         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22474         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22475         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22476         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22477         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22478         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22480 2012-05-18  Andreas Jaeger  <aj@suse.de>
22482         * csu/.gitignore: Delete.
22484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22486         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22487         (timex): Use __syscall_slong_t.
22489 2012-05-18  Andreas Jaeger  <aj@suse.de>
22490             Carlos O'Donell  <carlos_odonell@mentor.com>
22492         * manual/install.texi (Configuring and compiling): Update
22493         description about files modified in the source directory.
22494         * INSTALL: Regenerated.
22496 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22498         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22499         value.  Use "or" to set return value to -1.
22500         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22501         negate return value.
22503 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22505         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22506         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22507         failure if the compiler has Graphite support disabled.
22508         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22509         Likewise.
22510         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22511         CFLAGS-memmove.c): Likewise.
22512         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22513         Likewise.
22515 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22517         * sysdeps/x86_64/x32/_itoa.h: New file.
22519         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22520         getdents system call only if kernel and user dirents have the
22521         same d_ino and d_off.
22523         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22524         LLONG_MAX != LONG_MAX.
22525         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22526         (_fitoa_word): Likewise.
22528         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22529         years.
22530         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22531         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22534         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22535         include <bits/wordsize.h>.  Check __x86_64__ instead of
22536         __WORDSIZE.
22537         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22538         if __x86_64__ is defined.  Use anonymous union on fpstate.
22540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22541         anonymous union.
22543 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22545         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22546         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22547         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22548         Refer to _rtld_local_ro instead of _rtld_global_ro.
22549         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22550         Likewise.
22551         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22552         Likewise.
22553         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22554         Likewise.
22555         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22556         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22557         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22559         * sysdeps/powerpc/powerpc32/dl-machine.c
22560         (__elf_machine_runtime_setup) [PROF]: Don't reference
22561         _dl_prof_resolve.
22563 2012-05-18  Andreas Jaeger  <aj@suse.de>
22565         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22566         function only available for GCCs before 3.4 since GCC 3.4
22567         introduced a builtin.
22568         (lrint): Likewise.
22569         (llrintf): Likewise.
22570         (llrint): Likewise.
22571         (fmaxf): Likewise.
22572         (fmax): Likewise.
22573         (fminf): Likewise.
22574         (fmin): Likewise.
22575         (rint): Likewise.
22576         (rintf): Likewise.
22577         (nearbyint): Likewise.
22578         (nearbyintf): Likewise.
22579         (ceil): Likewise.
22580         (ceilf): Likewise.
22581         (floor): Likewise.
22582         (floorf): Likewise.
22584 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22586         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22587         on both fields and cast pointer to __syscall_ulong_t.
22589         * bits/types.h (__fsword_t): New type.
22590         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22591         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22592         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22593         (__FSWORD_T_TYPE): Likewise.
22594         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22595         (__FSWORD_T_TYPE): Likewise.
22596         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22597         (__FSWORD_T_TYPE): Likewise.
22598         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22599         (__FSWORD_T_TYPE): Likewise.
22600         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22601         __SWORD_TYPE with __fsword_t.
22602         (statfs64): Likewise.
22604 2012-05-17  David S. Miller  <davem@davemloft.net>
22606         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22608 2012-05-17  Andreas Jaeger  <aj@suse.de>
22610         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22611         warning.
22613 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22615         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22617 2012-05-17  Andreas Jaeger  <aj@suse.de>
22619         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22620         when it is used.
22622 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22624         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22626 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22628         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22629         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22631 2012-05-17  Andreas Jaeger  <aj@suse.de>
22632             Carlos O'Donell  <carlos_odonell@mentor.com>
22634         [BZ #14059]
22635         * sysdeps/x86_64/multiarch/init-arch.h
22636         (bit_YMM_Usable): Rename to...
22637         (bit_AVX_Usable): ... this.
22638         (bit_FMA4_Usable): New macro.
22639         (bit_XMM_state): New macro.
22640         (bit_YMM_state): New macro.
22641         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22642         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22643         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22644         (CPUID_OSXSAVE): New macro.
22645         (CPUID_AVX): New macro.
22646         (CPUID_FMA4): New macro.
22647         (index_YMM_Usable): Rename to...
22648         (index_AVX_Usable): ... this.
22649         (HAS_AVX): Use HAS_ARCH_FEATURE.
22650         (HAS_FMA4): Likewise.
22651         (HAS_YMM_USABLE): Remove.
22652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22653         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22654         are present.
22655         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22656         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22657         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22658         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22659         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22661 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22663         * math/libm-test.c: Support platforms without multiple rounding modes.
22664         * math/bug-nextafter.c: Support platforms without FP exceptions.
22665         * math/bug-nexttoward.c: Likewise.
22666         * math/test-fenv.c: Likewise.
22667         * math/test-misc.c: Likewise.
22668         * stdlib/bug-getcontext.c: Likewise.
22670 2012-05-17  Andreas Jaeger  <aj@suse.de>
22672         * manual/examples/search.c (critter_cmp): Change signature to
22673         avoid warnings.
22674         * manual/string.texi (Collation Functions): Likewise.
22676 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22678         * bits/types.h: Fold copyright years.
22679         * bits/typesizes.h: Likewise.
22680         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22684         * time/time.h: Likewise.
22686 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22688         [BZ #208]
22689         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22690         in instead of returning them.  Return void.
22691         (__libc_mallinfo): Accumulate over all arenas.
22692         (__malloc_stats): Adjust for change in int_mallinfo interface.
22694 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22696         [BZ #10375]
22697         * configure.in (NM): Add AC_CHECK_TOOL for it.
22698         (libc_extra_cflags): New substituted variable.
22699         Check for -fstack-protector being used implicitly.
22700         * configure: Regenerated.
22701         * config.make.in (config-extra-cflags): New variable,
22702         gets @libc_extra_cflags@.
22703         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22705         [BZ #10375]
22706         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22707         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22708         * configure: Regenerated.
22709         * config.make.in (CPPUNDEFS): New substituted variable.
22710         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22711         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22712         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22716         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22717         (mq_attr): Use __syscall_slong_t.
22719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22721         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22722         Check __x86_64__ instead of __WORDSIZE.
22723         (_STAT_VER_LINUX): Likewise.
22724         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22725         __syscall_ulong_t and __syscall_slong_t.
22726         (stat64): Likewise.
22728 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22730         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22732 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22734         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22738         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22739         __syscall_ulong_t.
22741         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22742         include <bits/wordsize.h>.  Check __x86_64__ instead of
22743         __WORDSIZE.
22744         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22745         defined.
22746         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22749         include <bits/wordsize.h>.  Check __x86_64__ instead of
22750         __WORDSIZE.
22751         (user_regs_struct): Use "__extension__ unsigned long long"
22752         instead of "unsigned long" if __x86_64__ is defined.
22753         (user): Likewise.  Pad after pointer field if __ILP32__ is
22754         defined.
22756 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22758         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22759         versions 5 to 9.
22760         * configure: Regenerated.
22761         * manual/install.texi (texinfo): Increase version requirement to
22762         4.5 or later.
22763         * INSTALL: Regenerated.
22765         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22767 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22769         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22771         * sysdeps/x86_64/x32/ffs.c: New file.
22773         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22774         __syscall_ulong_t.
22775         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22776         defined.  Use __syscall_ulong_t.
22777         (shminfo): Use __syscall_ulong_t.
22778         (shm_info): Likewise.
22780         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22781         __syscall_ulong_t.
22783         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22784         <bits/wordsize.h>.
22785         (msgqnum_t): Use __syscall_ulong_t.
22786         (msglen_t): Likewise.
22787         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22788         __syscall_ulong_t.
22790         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22791         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22793         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22795         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22796         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22798         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22799         __syscall_slong_t.
22801         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22802         include <bits/wordsize.h>.  Check __x86_64__ instead of
22803         __WORDSIZE.
22805         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22806         "unsigned long long int" if __x86_64__ is defined.
22807         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22809         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22810         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22811         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22813         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22814         <stdint.h>.
22815         (GET_PC): Cast to uintptr_t first.
22816         (GET_FRAME): Likewise.
22817         (GET_STACK): Likewise.
22819         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22820         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22821         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22822         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22823         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22824         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22825         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22826         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22827         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22828         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22829         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22830         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22831         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22832         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22833         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22834         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22835         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22836         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22837         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22838         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22839         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22840         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22841         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22842         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22843         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22844         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22845         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22846         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22847         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22849 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22851         * Makerules (+depfiles): Also collect depfiles from .oS in
22852         $(extra-objs).
22853         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22854         .oS, $(libnldbl-routines)).
22856         * Makerules (native-compile-mkdep-flags): Define.
22857         * sunrpc/Makefile (extra-objs): Add $(addprefix
22858         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22859         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22860         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22861         calling $(make-target-directory).
22863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22865         * bits/types.h (__snseconds_t): Removed.
22866         * time/time.h (struct timespec): Replace __snseconds_t with
22867         __syscall_slong_t.
22868         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22869         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22870         Likewise.
22871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22872         (__SNSECONDS_T_TYPE): Likewise.
22873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22874         (__SNSECONDS_T_TYPE): Likewise.
22875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22876         (__SNSECONDS_T_TYPE): Likewise.
22878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22880         * sysdeps/mach/hurd/bits/typesizes.h
22881         (__SYSCALL_SLONG_TYPE): New macro.
22882         (__SYSCALL_ULONG_TYPE): Likewise.
22884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22886         * bits/types.h (__syscall_slong_t): New type.
22887         (__syscall_ulong_t): Likewise.
22889         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22890         (__SYSCALL_ULONG_TYPE): Likewise.
22891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22892         (__SYSCALL_SLONG_TYPE): Likewise.
22893         (__SYSCALL_ULONG_TYPE): Likewise.
22894         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22895         (__SYSCALL_SLONG_TYPE): Likewise.
22896         (__SYSCALL_ULONG_TYPE): Likewise.
22897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22898         (__SYSCALL_SLONG_TYPE): Likewise.
22899         (__SYSCALL_ULONG_TYPE): Likewise.
22901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22903         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22904         Add sigaltstack-offsets.sym.
22905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22906         <sigaltstack-offsets.h>.
22907         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22908         longjmp_msg pointer.
22909         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22910         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22911         signal stack.
22912         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22914 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22916         * elf/stackguard-macros.h: Remove file.
22917         * sysdeps/generic/stackguard-macros.h: New file.
22918         * sysdeps/i386/stackguard-macros.h: Likewise.
22919         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22920         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22921         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22922         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22923         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22924         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22925         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22926         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22927         <elf/stackguard-macros.h>.
22929         [BZ #14109]
22930         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22931         __aligned__ in attribute.
22932         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22933         (gregset_t): Likewise.
22935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22937         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22938         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22939         * sysdeps/x86_64/x32/Implies-after: New file.
22941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22943         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22944         and access return value for _dl_profile_fixup.  Use R10_LP to
22945         load frame size.
22947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22949         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22953         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22954         * sysdeps/x86_64/x32/sysdep.h: New file.
22956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22958         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22959         * sysdeps/x86_64/setjmp.S: Likewise.
22961 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22963         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22964         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22965         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22966         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22967         remove unused global constant.
22969 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22971         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22972         include of <not-cancel.h>.
22974 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22976         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22978 2012-05-15  Jeff Law  <law@redhat.com>
22979             Andreas Jaeger  <aj@suse.de>
22981         [BZ #13594]
22982         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22983         out from...
22984         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22985         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22986         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22987         code changing __hst_map_handle.map.
22989 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22991         * configure.in (sysnames): Look for Implies-before and Implies-after
22992         files.
22993         * configure: Regenerated.
22995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22997         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22998         8-byte data alignment with LP_SIZE alignment.
23000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23002         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23003         into R10_LP.
23005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23007         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23011         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23012         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23013         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23014         Likewise.
23015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23019         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23020         (stackinfo_sub_sp): Likewise.
23022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23025         RAX_LP.
23027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23029         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23030         into R*_LP.
23032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23034         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23035         sizes into R*_LP.
23037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23039         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23041 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23043         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23044         into R11_LP and load __x86_64_shared_cache_size_half into
23045         R8_LP.
23047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23049         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23050         R8_LP.
23052 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23055         logb for POWER7.
23056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23057         logbf for POWER7.
23058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23059         logbl for POWER7.
23060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23061         powerpc32/power7/fpu/s_logb.c via #include.
23062         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23063         powerpc32/power7/fpu/s_logbf.c via #include.
23064         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23065         powerpc32/power7/fpu/s_logbl.c via #include.
23067 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23069         * README.libm: Remove file.
23071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23073         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23074         count for x32.  Use R*_LP and omit operand-size suffix.
23076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23078         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23079         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23080         * sysdeps/x86_64/x32/shlib-versions: New file.
23082 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23084         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23085         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23086         Use _dl_fatal_printf instead.
23088 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23090         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23091         set if not set by the user.  Do not allow for being unset.
23092         * sysdeps/unix/sysv/linux/configure: Regenerated.
23094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23096         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23097         the `q' suffix from lea and replace .quad with ASM_ADDR.
23099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23102         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23103         instead of $17.
23104         (PTR_DEMANGLE): Likewise.
23106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23108         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23109         (LP_OP): Likewise.
23110         (ASM_ADDR): Likewise.
23111         (RAX_LP): Likewise.
23112         (RBP_LP): Likewise.
23113         (RBX_LP): Likewise.
23114         (RCX_LP): Likewise.
23115         (RDI_LP): Likewise.
23116         (RSI_LP): Likewise.
23117         (RSP_LP): Likewise.
23118         (R8_LP): Likewise.
23119         (R9_LP): Likewise.
23120         (R10_LP): Likewise.
23121         (R10_LP): Likewise.
23122         (R11_LP): Likewise.
23123         (R12_LP): Likewise.
23124         (R13_LP): Likewise.
23125         (R14_LP): Likewise.
23126         (R15_LP): Likewise.
23128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23130         * sysdeps/x86_64/x32/dl-machine.h: New file.
23132 2012-05-14  Andreas Jaeger  <aj@suse.de>
23134         * manual/Makefile (subdir): Remove export of subdir.
23135         (all): Remove target.
23136         (.PHONY): Remove all from list.
23137         (mkinstalldirs): Remove.
23138         (.PHONY): Remove installdirs from list.
23139         ($(inst_infodir)/libc.info): Use make-target-directory.
23140         (installdirs): Remove.
23141         (subdir_%): Remove.
23142         (glibc-targets): Remove.
23143         (lib): Remove.
23144         (stubs): Remove.
23145         ($(objpfx)stubs ../po/manual.pot): Remove.
23146         ($(objpfx)stamp%): Remove.
23147         (make-target-directory): Remove.
23148         (subdir_install): Remove.
23149         (routines): Remove.
23150         (aux): Remove.
23151         (sources): Remove.
23152         (objects): Remove.
23153         (headers): Remove.
23155         [BZ #13750]
23156         * manual/.gitignore: Remove, it's not needed anymore.
23157         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23158         all files in it.
23159         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23160         directory.
23161         (texis): Renamed to $(objpfx)texis.
23162         (texis-path): New, contains path to generated files.
23163         (chapters.%): Use texis-path for complete path, add extra argument
23164         libc-texinfo.sh.
23165         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23166         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23167         (summary,texi, stamp-summary): Use complete path of
23168         files. Generate files in build dir.
23169         (dir-add.texi): Build in build dir.
23170         (libm-err.texi,stamp-libm-err): Likewise.
23171         (version.texi, stamp-version): Likewise.
23172         (.%c.texi): Likewise.
23173         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23174         (mostlyclean): Remove target.
23175         (realclean): Remove target.
23176         (generated): Add new variable with contents from mostlyclean and
23177         realclean, remove entries duplicated in common-mostlyclean, add
23178         stamp-libm-err and stamp-version.
23179         (generated-dirs): Add libc directory.
23180         ($(inst_infodir)/libc.info): Install files from build dir.
23182         * manual/install.texi (Configuring and compiling): Adjust since
23183         the info files are not part of the tar ball anymore.
23185 2012-05-14  Andreas Jaeger  <aj@suse.de>
23187         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23188         variable.
23190 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23192         [BZ #13717]
23193         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23194         to 2.2.0 where earlier.
23195         * sysdeps/unix/sysv/linux/configure: Regenerated.
23196         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23197         Remove conditional code.
23198         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23199         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23200         Remove conditional code.
23201         [!__NR_lchown]: Likewise.
23202         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23203         [__NR_lchown]: Likewise.
23204         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23205         comment referencing __ASSUME_LCHOWN_SYSCALL.
23206         * sysdeps/unix/sysv/linux/i386/sigaction.c
23207         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23208         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23209         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23210         Remove conditional code.
23211         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23212         (__protocol_available): Remove #if 0 code.
23213         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23214         conditional code.
23215         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23216         * sysdeps/unix/sysv/linux/kernel-features.h
23217         (__ASSUME_GETCWD_SYSCALL): Don't define.
23218         (__ASSUME_REALTIME_SIGNALS): Likewise.
23219         (__ASSUME_PREAD_SYSCALL): Likewise.
23220         (__ASSUME_PWRITE_SYSCALL): Likewise.
23221         (__ASSUME_POLL_SYSCALL): Likewise.
23222         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23223         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23224         non-SPARC.
23225         (__ASSUME_SIOCGIFNAME): Don't define.
23226         (__ASSUME_MSG_NOSIGNAL): Likewise.
23227         (__ASSUME_SENDFILE): Define unconditionally.
23228         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23229         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23230         conditional code.
23231         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23232         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23233         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23234         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23235         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23236         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23237         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23239         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23240         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23245         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23262         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23263         Remove conditional code.
23264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23265         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23266         Remove conditional code.
23267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23268         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23269         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23270         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23271         Remove conditional code.
23272         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23273         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23274         Remove conditional code.
23275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23276         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23277         Remove conditional code.
23278         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23279         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23280         Remove conditional code.
23281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23282         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23283         Remove conditional code.
23284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23285         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23286         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23288         * sysdeps/unix/sysv/linux/sigaction.c
23289         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23290         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23291         * sysdeps/unix/sysv/linux/sigpending.c
23292         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23293         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23294         * sysdeps/unix/sysv/linux/sigprocmask.c
23295         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23296         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23297         * sysdeps/unix/sysv/linux/sigsuspend.c
23298         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23299         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23301         (__libc_missing_rt_sigs): Remove.
23302         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23303         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23304         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23305         Remove conditional code.
23306         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23307         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23308         return 1.
23309         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23310         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23311         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23312         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23314 2012-05-14  Andreas Jaeger  <aj@suse.de>
23316         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23317         it's not used in glibc.
23318         (__coshm1): Likewise.
23319         (__acosh1p): Likewise.
23320         (__sgn): Likewise.
23322         * manual/string.texi (Copying and Concatenation): Add missing
23323         variable in concat example.
23324         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23328         [BZ #14103]
23329         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23330         __builtin_clzl with __builtin_clzll.
23332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23334         [BZ #14104]
23335         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23336         libc_freeres_ptr.
23338 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23340         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23341         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23342         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23343         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23345 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23347         * NEWS: Update ia64 info.
23349 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23351         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23352         used as bcopy.
23354 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23356         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23357         * sysdeps/unix/syscalls.list (dup3): Likewise.
23358         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23359         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23361 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23363         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23364         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23366 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23368         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23369         thread pointer.
23370         (TLS_IE): Use mov/add instead of movq/addq to load thread
23371         pointer.
23372         (TLS_GD_PREFIX): New.
23373         (TLS_GD): Use it.
23375 2012-05-11  David S. Miller  <davem@davemloft.net>
23377         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23378         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23379         (_FPU_SETCW): Likewise.
23381 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23383         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23384         is 32-byte aligned.
23386 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23388         [BZ #11837]
23389         * iconvdata/gb18030.c: Update tables.
23390         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23391         characters specially.
23392         (BODY for TO_LOOP): Add encoding of missing ranges.
23394 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23396         [BZ #13673]
23397         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23398         * sysdeps/mach/hurd/dup3.c: Likewise.
23399         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23400         * sysdeps/powerpc/memmove.c:: Likewise.
23402 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23404         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23405         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23407 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23409         * elf/elf.h (R_X86_64_RELATIVE64): New.
23410         (R_X86_64_NUM): Updated.
23411         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23412         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23413         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23414         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23415         tst-quad1pie tst-quad2pie
23416         (modules-names): Add tst-quadmod1 tst-quadmod2.
23417         ($(objpfx)tst-quad1): New dependency.
23418         ($(objpfx)tst-quad2): Likewise.
23419         ($(objpfx)tst-quad1pie): Likewise.
23420         ($(objpfx)tst-quad2pie): Likewise.
23421         * sysdeps/x86_64/tst-quad1.c: New file.
23422         * sysdeps/x86_64/tst-quad1pie.c: New file.
23423         * sysdeps/x86_64/tst-quad2.c: Likewise.
23424         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23425         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23426         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23427         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23428         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23432         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23433         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23434         * streams/stropts.h (t_scalar_t): Define type.
23436         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23437         (_PATH_PRESERVE): Set to "/var/lib".
23438         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23440         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23441         instead of int.
23443         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23444         if __dir_mkfile succeeded.
23446         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23447         checking for _hurd_dtablesize.  Unlock it right after having
23448         finished _hurd_dtable allocation.
23450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23452         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23453         * sysdeps/mach/hurd/configure: Regenerated.
23454         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23455         special-casing to...
23456         * sysdeps/gnu/configure.in: ... this new file.
23457         * sysdeps/unix/sysv/linux/configure: Regenerated.
23458         * sysdeps/gnu/configure: New generated file.
23460         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23461         for Linux: use nsec instead of usec, as well as:
23462         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23463         members of type struct timespec.
23464         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23465         New macros.
23466         (struct stat64): Likewise.
23467         (_STATBUF_ST_NSEC): New macro.
23468         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23470         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23471         __strtoul_internal rather than strtoul.
23473 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23475         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23476         and reject them.
23478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23480         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23481         which preserves existing values.
23482         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23484 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23486         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23487         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23488         greater than FD_SETSIZE.
23490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23492         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23493         allocated, call __vm_protect to finish enabling the existing space, and
23494         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23495         allocate the remainder.
23497 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23499         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23500         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23504         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23505         sysdeps/mach/hurd/readlink.c.
23507         * posix/tst-sysconf.c (posix_options): Only use
23508         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23509         _POSIX_SYNCHRONIZED_IO when they are defined
23510         * sysdeps/mach/hurd/bits/posix_opt.h:
23511         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23512         (_XOPEN_REALTIME): Undefine macro.
23513         (_XOPEN_REALTIME_THREADS): Undefine macro.
23514         (_XOPEN_SHM): Undefine macro.
23515         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23516         macro to -1.
23517         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23518         macro to -1.
23519         (_POSIX_ASYNC_IO): Undefine macro.
23520         (_POSIX_PRIORITIZED_IO): Undefine macro.
23521         (_POSIX_SPIN_LOCKS): Define macro to -1.
23523         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23524         SA_NODEFER, SA_RESETHAND.
23525         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23526         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23527         F_DUPFD_CLOEXEC.
23529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23531         * elf/Makefile (pldd-modules): Define unconditionally.
23533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23535         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23539         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23540         Return ENOENT when name is empty.
23541         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23545         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23547         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23551         Fix mlock in all cases except non-readable pages.
23552         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23553         instead of VM_PROT_ALL as parameter to __vm_wire function.
23555         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23556         (__mkdir): When path is `/', just fail with EEXIST.
23557         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23561         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23562         <sys/uio.h> (for writev).
23563         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23564         and <sys/param.h> (for MIN).
23566 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23568         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23569         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23570         if interrupted.
23572 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23574         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23575         Depend on against $(link-rpcuserlibs).
23577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23579         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23580         (__libc_stack_end): Do not use attribute_relro.
23581         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23582         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23583         to libthread-provided value.
23584         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23585         attribute_relro.
23587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23589         [BZ #3748]
23590         * bits/libc-lock.h (__libc_once_get): New macro.
23591         * sysdeps/mach/bits/libc-lock.h: Likewise.
23592         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23594         instead of using implementation details.
23596         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23597         * libio/freopen.c: Likewise.
23598         * libio/freopen64.c: Likewise.
23599         * misc/syslog.c: Likewise.
23600         * nscd/connections.c: Likewise.
23601         * nscd/netgroupcache.c: Likewise.
23602         * sysdeps/posix/getcwd.c: Likewise.
23604 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23606         * math/w_ilogbf.c: Add #include <limits.h>.
23608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23610         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23611         path instead of returning without unlocking.
23613         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23614         immediate-write ioctls.
23615         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23619         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23620         __builtin_frame_address instead of making assumptions about the
23621         location of the return address relative to DATA.  Force early load of
23622         the return address.
23623         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23624         __builtin_frame_address.
23626         dup3 for GNU Hurd.
23627         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23628         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23629         implement dup3 and do some further code clean-ups.
23630         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23631         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23635         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23637         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23638         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23639         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23640         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23641         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23642         d->port.lock.
23644         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23645         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23646         when handler == SIG_ERR, not when handler != SIG_ERR.
23648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23650         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23651         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23652         definitions.
23654         accept4 for GNU Hurd.
23655         * include/sys/socket.h (__libc_accept4): New prototype.
23656         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23657         to implement __libc_accept4.
23658         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23659         __libc_accept4.
23660         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23662         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23663         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23664         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23665         signal-defines.sym.
23667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23669         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23673         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23674         assertion on O_CLOEXEC flag.
23675         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23676         * hurd/intern-fd.c: Likewise.
23677         * hurd/port2fd.c: Likewise.
23679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23681         [BZ #3906]
23682         * bits/in.h (IPV6_PKTINFO): Define new macro.
23683         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23685 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23687         [BZ #13954]
23688         [BZ #13955]
23689         [BZ #13956]
23690         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23691         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23692         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23693         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23695         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23696         * math/libm-test.inc (logb_test) : Additional logb tests.
23698 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23699             Andreas Jaeger  <aj@suse.de>
23701         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23702         * configure: Regenerated.
23703         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23704         * config.make.in (link-obsolete-rpc): New substituted variable.
23705         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23706         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23707         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23708         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23709         so that libc.a contains the symbols.
23710         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23711         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23712         * sunrpc/auth_none.c: Likewise.
23713         * sunrpc/auth_unix.c: Likewise.
23714         * sunrpc/authdes_prot.c: Likewise.
23715         * sunrpc/authuxprot.c: Likewise.
23716         * sunrpc/clnt_gen.c: Likewise.
23717         * sunrpc/clnt_perr.c: Likewise.
23718         * sunrpc/clnt_raw.c: Likewise.
23719         * sunrpc/clnt_simp.c: Likewise.
23720         * sunrpc/clnt_tcp.c: Likewise.
23721         * sunrpc/clnt_udp.c: Likewise.
23722         * sunrpc/clnt_unix.c: Likewise.
23723         * sunrpc/des_crypt.c: Likewise.
23724         * sunrpc/des_soft.c: Likewise.
23725         * sunrpc/get_myaddr.c: Likewise.
23726         * sunrpc/key_call.c: Likewise.
23727         * sunrpc/key_prot.c: Likewise.
23728         * sunrpc/netname.c: Likewise.
23729         * sunrpc/pm_getmaps.c: Likewise.
23730         * sunrpc/pm_getport.c: Likewise.
23731         * sunrpc/pmap_clnt.c: Likewise.
23732         * sunrpc/pmap_prot.c: Likewise.
23733         * sunrpc/pmap_prot2.c: Likewise.
23734         * sunrpc/pmap_rmt.c: Likewise.
23735         * sunrpc/publickey.c: Likewise.
23736         * sunrpc/rpc_cmsg.c: Likewise.
23737         * sunrpc/rpc_common.c: Likewise.
23738         * sunrpc/rpc_dtable.c: Likewise.
23739         * sunrpc/rpc_prot.c: Likewise.
23740         * sunrpc/rpc_thread.c: Likewise.
23741         * sunrpc/rtime.c: Likewise.
23742         * sunrpc/svc.c: Likewise.
23743         * sunrpc/svc_auth.c: Likewise.
23744         * sunrpc/svc_raw.c: Likewise.
23745         * sunrpc/svc_run.c: Likewise.
23746         * sunrpc/svc_tcp.c: Likewise.
23747         * sunrpc/svc_udp.c: Likewise.
23748         * sunrpc/svc_unix.c: Likewise.
23749         * sunrpc/svcauth_des.c: Likewise.
23750         * sunrpc/xcrypt.c: Likewise.
23751         * sunrpc/xdr.c: Likewise.
23752         * sunrpc/xdr_array.c: Likewise.
23753         * sunrpc/xdr_float.c: Likewise.
23754         * sunrpc/xdr_intXX_t.c: Likewise.
23755         * sunrpc/xdr_mem.c: Likewise.
23756         * sunrpc/xdr_rec.c: Likewise.
23757         * sunrpc/xdr_ref.c: Likewise.
23758         * sunrpc/xdr_sizeof.c: Likewise.
23759         * sunrpc/xdr_stdio.c: Likewise.
23761 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23764         change.  Update copyright years.
23766 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23768         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23770 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23771             Joseph Myers  <joseph@codesourcery.com>
23772             Paul Pluzhnikov  <ppluzhnikov@google.com>
23774         [BZ #14012]
23775         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23776         requiring rpcgen.
23777         [cross-compiling] (extra-libs): Likewise.
23778         [cross-compiling] (extra-libs-others): Likewise.
23779         [cross-compiling] (librpcsvc-routines): Likewise.
23780         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23781         [cross-compiling] (omit-deps): Likewise.
23782         (sunrpc-CPPFLAGS): New variable.
23783         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23784         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23785         (cross-rpcgen-objs): New variable.
23786         (extra-objs): Append $(cross-rpcgen-objs).
23787         ($(cross-rpcgen-objs)): New rule.
23788         ($(objpfx)cross-rpcgen): Likewise.
23789         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23790         comment.
23791         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23792         ($(objpfx)x%.stmp): Likewise.
23793         * sunrpc/proto.h [IS_IN_build] (_): Define.
23794         [IS_IN_build] (_libc_intl_domainname): Likewise.
23796 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23798         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23799         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23800         and R_X86_64_TPOFF64.
23802 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23804         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23805         sysdeps/unix/sysv/syscalls.list.
23806         (stime): Likewise.
23807         (utime): Likewise.
23808         * sysdeps/unix/sysv/syscalls.list: Remove file.
23810 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23812         [BZ #3440]
23813         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23814         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23815         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23816         (__LC_IDENTIFICATION): Make these macros useful in #if
23817         expressions, as required by C99.
23819 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23821         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23822         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23823         after this.
23825 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23827         * stdlib/longlong.h: Updated from GCC.
23829 2012-05-09  Andreas Jaeger  <aj@suse.de>
23831         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23832         default is first entry.
23833         (run_mode): Set type.
23834         (main): Remove informal message about syslog.
23835         (options): Fix typo.
23837         [BZ #14053]
23838         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23839         to asm.
23840         (lrint): Likewise.
23841         (llrintf): Likewise.
23842         (llrint): Likewise.
23843         (rint): Likewise.
23844         (rintf): Likewise.
23845         (nearbyint): Likewise.
23846         (nearbyintf): Likewise.
23848 2012-05-09  Andreas Jaeger  <aj@suse.de>
23849             Pedro Alves  <palves@redhat.com>
23851         * nscd/nscd.c (run_mode): Use enum.
23852         (main): Cleanup coding style issue.
23854 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23855             Andreas Jaeger  <aj@suse.de>
23857         * nscd/nscd.c (go_background): Replaced with...
23858         (run_mode): ... this.
23859         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23860         (options): Add -F --foreground.
23861         (main): Implement it.
23862         (parse_opt): Parse it.
23864 2012-05-09  Andreas Jaeger  <aj@suse.de>
23866         [BZ #14083]
23867         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23868         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23869         -Wconversion warning.
23870         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23871         Likewise.
23873 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23875         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23876         == 0.
23877         (LC_ALL): Use macro-int-constant.
23878         (LC_COLLATE): Likewise.
23879         (LC_CTYPE): Likewise.
23880         (LC_MESSAGES): Likewise.
23881         (LC_MONETARY): Likewise.
23882         (LC_NUMERIC): Likewise.
23883         (LC_TIME): Likewise.
23884         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23885         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23886         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23887         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23888         Specify type.
23889         [C99-based standards] (float_t): Expect type.
23890         [C99-based standards] (double_t): Expect type.
23891         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23892         type.
23893         [C99-based standards] (HUGE_VALL): Likewise.
23894         [C99-based standards] (INFINITY): Likewise.
23895         [C99-based standards] (NAN): Likewise.
23896         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23897         [C99-based standards] (FP_NAN): Likewise.
23898         [C99-based standards] (FP_NORMAL): Likewise.
23899         [C99-based standards] (FP_SUBNORMAL): Likewise.
23900         [C99-based standards] (FP_ZERO): Likewise.
23901         [C99-based standards] (FP_FAST_FMA): Use
23902         optional-macro-int-constant.  Specify type.  Require == 1.
23903         [C99-based standards] (FP_FAST_FMAF): Likewise.
23904         [C99-based standards] (FP_FAST_FMAL): Likewise.
23905         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23906         [C99-based standards] (FP_ILOGBNAN): Likewise.
23907         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23908         Specify type.
23909         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23910         [C99-based standards] (math_errhandling): Specify type.
23911         [ISO99 || ISO11] (signgam): Do not allow.
23912         [non-C99-based standards] (copysignf): Do not allow.
23913         [non-C99-based standards] (exp2f): Likewise.
23914         [non-C99-based standards] (log2f): Likewise.
23915         [non-C99-based standards] (modff): Allow.
23916         [non-C99-based standards] (erff): Do not allow.
23917         [non-C99-based standards] (erfcf): Likewise.
23918         [non-C99-based standards] (gammaf): Likewise.
23919         [non-C99-based standards] (hypotf): Likewise.
23920         [non-C99-based standards] (j0f): Likewise.
23921         [non-C99-based standards] (j1f): Likewise.
23922         [non-C99-based standards] (jnf): Likewise.
23923         [non-C99-based standards] (lgammaf): Likewise.
23924         [non-C99-based standards] (tgammaf): Likewise.
23925         [non-C99-based standards] (y0f): Likewise.
23926         [non-C99-based standards] (y1f): Likewise.
23927         [non-C99-based standards] (ynf): Likewise.
23928         [non-C99-based standards] (isnanf): Likewise.
23929         [non-C99-based standards] (acoshf): Likewise.
23930         [non-C99-based standards] (asinhf): Likewise.
23931         [non-C99-based standards] (atanhf): Likewise.
23932         [non-C99-based standards] (cbrtf): Likewise.
23933         [non-C99-based standards] (expm1f): Likewise.
23934         [non-C99-based standards] (ilogbf): Likewise.
23935         [non-C99-based standards] (log1pf): Likewise.
23936         [non-C99-based standards] (logbf): Likewise.
23937         [non-C99-based standards] (nextafterf): Likewise.
23938         [non-C99-based standards] (remainderf): Likewise.
23939         [non-C99-based standards] (rintf): Likewise.
23940         [non-C99-based standards] (scalbf): Likewise.
23941         [non-C99-based standards] (copysignl): Likewise.
23942         [non-C99-based standards] (exp2l): Likewise.
23943         [non-C99-based standards] (log2l): Likewise.
23944         [non-C99-based standards] (modfl): Allow.
23945         [non-C99-based standards] (erfl): Do not allow.
23946         [non-C99-based standards] (erfcl): Likewise.
23947         [non-C99-based standards] (gammal): Likewise.
23948         [non-C99-based standards] (hypotl): Likewise.
23949         [non-C99-based standards] (j0l): Likewise.
23950         [non-C99-based standards] (j1l): Likewise.
23951         [non-C99-based standards] (jnl): Likewise.
23952         [non-C99-based standards] (lgammal): Likewise.
23953         [non-C99-based standards] (tgammal): Likewise.
23954         [non-C99-based standards] (y0l): Likewise.
23955         [non-C99-based standards] (y1l): Likewise.
23956         [non-C99-based standards] (ynl): Likewise.
23957         [non-C99-based standards] (isnanl): Likewise.
23958         [non-C99-based standards] (acoshl): Likewise.
23959         [non-C99-based standards] (asinhl): Likewise.
23960         [non-C99-based standards] (atanhl): Likewise.
23961         [non-C99-based standards] (cbrtl): Likewise.
23962         [non-C99-based standards] (expm1l): Likewise.
23963         [non-C99-based standards] (ilogbl): Likewise.
23964         [non-C99-based standards] (log1pl): Likewise.
23965         [non-C99-based standards] (logbl): Likewise.
23966         [non-C99-based standards] (nextafterl): Likewise.
23967         [non-C99-based standards] (remainderl): Likewise.
23968         [non-C99-based standards] (rintl): Likewise.
23969         [non-C99-based standards] (scalbl): Likewise.
23970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23971         [non-C99-based standards] (FP_*): Do not allow.
23972         [C99-based standards] (FP_*): Change to
23973         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23974         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23975         allow.
23976         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23977         (SIG_ERR): Likewise.
23978         [X/Open-based standards] (SIG_HOLD): Likewise.
23979         (SIG_IGN): Likewise.
23980         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23981         positive value.
23982         (SIGFPE): Likewise.
23983         (SIGILL): Likewise.
23984         (SIGINT): Likewise.
23985         (SIGSEGV): Likewise.
23986         (SIGTER): Likewise.
23987         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23988         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23989         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23990         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23991         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23992         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23993         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23994         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23995         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23996         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23997         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23998         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23999         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24000         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24001         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24002         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24003         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24004         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24005         [X/Open-based standards] (SIGTRAP): Likewise.
24006         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24007         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24008         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24009         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24010         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24011         allow.
24013 2012-05-08  Ian Wienand  <ianw@vmware.com>
24015         [BZ #14080]
24016         * time/tzset.c (__tzset_parse_tz): Update default rules for
24017         daylight time changes in the Energy Policy Act of 2005.
24019 2012-05-09  Andreas Jaeger  <aj@suse.de>
24021         [BZ #13983]
24022         * elf/ldconfig.c (parse_conf): Change string to make clear that
24023         ldconfig only issued a warning if ld.so.conf does not exist.
24025 2012-05-08  David S. Miller  <davem@davemloft.net>
24027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24028         movxtod instead of popping the value on the stack.
24030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24032 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24034         * config.h.in: Add HAVE_ARM_PCS_VFP.
24036 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24038         [BZ #13979]
24039         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24040         checking but the checks are disabled for any reason.
24042 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24044         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24045         and ELF64_R_TYPE with ELFW(R_TYPE).
24047 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24049         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24050         (ulimit): Likewise.
24052         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24053         (settimeofday): Likewise.
24055 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24057         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24058         a struct th_u2 inside the union, and move tu_block/tu_code into
24059         a new th_u3 union of tu_block/tu_code inside of that.  Move
24060         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24061         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24062         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24063         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24064         (th_stuff): Change to th_u1.tu_stuff.
24065         (th_data): Define.
24066         (th_msg): Change to th_u1.th_u2.tu_data.
24068 2012-05-07  David S. Miller  <davem@davemloft.net>
24070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24072         [BZ #14074]
24073         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24074         (SETUP_PIC_REG): Use it.
24075         (SETUP_PIC_REG_LEAF): Use it.
24077 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24079         [BZ #13885]
24080         [BZ #13923]
24081         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24082         USE_AS_EXPM1L.
24083         (EXPL_FINITE): Likewise.
24084         (FLDLOG): Likewise.
24085         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24086         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24087         e_expl.S.
24088         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24089         USE_AS_EXPM1L.
24090         (EXPL_FINITE): Likewise.
24091         (FLDLOG): Likewise.
24092         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24093         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24094         e_expl.S.
24095         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24096         test of -max_value argument for long double.
24097         * sysdeps/i386/fpu/libm-test-ulps: Update.
24098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24100 2012-05-06  David S. Miller  <davem@davemloft.net>
24102         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24103         quad soft-float symbols whose references which are compiler
24104         generated.
24105         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24107 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24109         [BZ #13884]
24110         [BZ #13914]
24111         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24112         USE_AS_EXP10L.
24113         (EXPL_FINITE): Likewise.
24114         (FLDLOG): Likewise.
24115         (c0): Likewise.
24116         (c1): Likewise.
24117         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24118         Adjust comments for base varying.
24119         (__expl_finite): Change alias to EXPL_FINITE.
24120         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24121         e_expl.S.
24122         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24123         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24124         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24125         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24126         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24127         USE_AS_EXP10L.
24128         (EXPL_FINITE): Likewise.
24129         (FLDLOG): Likewise.
24130         (c0): Likewise.
24131         (c1): Likewise.
24132         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24133         Adjust comments for base varying.
24134         (__expl_finite): Change alias to EXPL_FINITE.
24135         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24136         tests for bugs.
24137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24139         [BZ #14064]
24140         * math/libm-test.inc (check_float_internal): Correct ulp
24141         calculation for subnormal expected results.
24143 2012-05-06  Andreas Jaeger  <aj@suse.de>
24145         * Makeconfig (+math-flags): New, set to -frounding-math.
24146         (+cflags): Add +math-flags so that all of glibc gets compiled with
24147         it.
24149         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24151 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24153         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24154         Disable one test.
24156         [BZ #13787]
24157         [BZ #13922]
24158         [BZ #14036]
24159         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24160         (__ieee754_expl): Allow for and saturate large arguments.
24161         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24162         (u_threshold): Likewise.
24163         (__exp): Call __ieee754_exp before checking for overflow and
24164         underflow.
24165         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24166         (u_threshold): Likewise.
24167         (__expf): Call __ieee754_expf before checking for overflow and
24168         underflow.
24169         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24170         (u_threshold): Likewise.
24171         (__expl): Call __ieee754_expl before checking for overflow and
24172         underflow.
24173         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24174         (__ieee754_expl): Allow for and saturate large arguments.
24175         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24176         missing overflow exception on overflow.
24177         (expm1_test): Do not allow missing overflow exception on overflow.
24179         * sysdeps/i386/fpu/e_expl.c: Move to ...
24180         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24181         rather than using inline asm.
24182         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24183         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24184         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24186         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24187         (nice): Likewise.
24188         (poll): Likewise.
24189         (signal): Likewise.
24190         (time): Likewise.
24191         (times): Likewise.
24193 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24195         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24196         sysdeps/unix/common/syscalls.list.
24197         (fchmod): Likewise.
24198         (fchown): Likewise.
24199         (ftruncate): Likewise.
24200         (getrusage): Likewise.
24201         (gettimeofday): Likewise.
24202         (setpgid): Likewise.
24203         (setregid): Likewise.
24204         (setreuid): Likewise.
24205         (sigaction): Likewise.
24206         (truncate): Likewise.
24207         (vhangup): Likewise.
24208         * sysdeps/unix/common/syscalls.list: Remove file.
24209         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24210         * sysdeps/unix/sysv/linux/Implies: Likewise.
24212 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24214         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24216         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24217         Moved to ...
24218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24219         Here.
24220         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24221         to ...
24222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24223         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24224         to ...
24225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24226         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24227         to ...
24228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24229         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24230         to ...
24231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24232         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24233         to ...
24234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24235         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24236         to ...
24237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24238         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24239         to ...
24240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24241         Here.
24242         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24243         to ...
24244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24245         Here.
24246         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24247         to ...
24248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24249         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24250         Moved to ...
24251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24252         Here.
24253         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24254         to ...
24255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24257 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/unix/common/bits/dirent.h: Remove file.
24260         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24262         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24263         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24264         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24265         * sysdeps/unix/bsd/isatty.c: Likewise.
24266         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24267         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24268         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24270 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24272         [BZ #13563]
24273         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24274         long double comparison inaccuracies.
24275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24278 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24280         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24281         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24283 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24285         [BZ #14049]
24286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24287         nonzero digits before rounding a hex value.
24288         * stdlib/tst-strtod.c (tests): Add another test.
24290 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24292         * sysdeps/s390/fpu/libm-test-ulps: Update.
24294 2012-05-03  Andreas Jaeger  <aj@suse.de>
24296         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24297         does not get optimized out.
24298         (malloc_opt_barrier): New.
24300 2012-05-03  Andreas Jaeger  <aj@suse.de>
24301             Roland McGrath  <roland@hack.frob.com>
24303         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24304         intermediate file deletion.
24305         (generated): Add .symlist files.
24307 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24309         [BZ #13775]
24310         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24311         Redirect under this condition.
24312         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24313         [__USE_GNU] (__dprintf_chk): Not under this condition.
24314         [__USE_GNU] (__vdprintf_chk): Likewise.
24315         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24316         under this condition.
24317         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24318         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24319         [__USE_XOPEN2K8] (vdprintf): Likewise.
24320         [__USE_GNU] (__dprintf_chk): Not under this condition.
24321         [__USE_GNU] (__vdprintf_chk): Likewise.
24322         [__USE_GNU] (dprintf): Likewise.
24323         [__USE_GNU] (vdprintf): Likewise.
24325 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24327         * elf/Makefile (common-generated): Set this instead of generated for
24328         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24329         $(all-built-dso)-derived lists.
24331 2012-05-03  Andreas Jaeger  <aj@suse.de>
24333         * sysdeps/i386/fpu/libm-test-ulps: Update.
24335         * FAQ: Removed.
24336         * FAQ.in: Likewise.
24337         * scripts/gen-FAQ.pl: Likewise.
24338         * manual/install.texi (Installation): Point to online location of
24339         FAQ.
24340         * Makefile (files-for-dist): Remove FAQ.
24341         (FAQ): Remove.
24343 2012-05-02  Allan McRae  <allan@archlinux.org>
24345         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24346         (LDFLAGS-reldepmod5.so): Likewise.
24347         (LDFLAGS-reldep6mod1.so): Likewise.
24348         (LDFLAGS-reldep6mod4.so): Likewise.
24349         (LDFLAGS-reldep8mod3.so): Likewise.
24350         (LDFLAGS-unload4mod1.so): Likewise.
24351         (LDFLAGS-unload4mod2.so): Likewise.
24352         (LDFLAGS-tst-initorder): Likewise.
24353         (LDFLAGS-tst-initordera2.so): Likewise.
24354         (LDFLAGS-tst-initordera3.so): Likewise.
24355         (LDFLAGS-tst-initordera4.so): Likewise.
24356         (LDFLAGS-tst-initorderb2.so): Likewise.
24357         (LDFLAGS-noload): Likewise.
24358         (LDFLAGS-next): Likewise.
24359         (LDFLAGS-order2mod1.so): Likewise.
24360         (LDFLAGS-order2mod2.so): Likewise.
24361         (LDFLAGS-tst-initorder2): Likewise.
24362         (LDFLAGS-tst-initorder2a.so): Likewise.
24363         (LDFLAGS-tst-initorder2b.so): Likewise.
24364         (LDFLAGS-tst-initorder2c.so): Likewise.
24365         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24367 2012-05-02  David S. Miller  <davem@davemloft.net>
24369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24371 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24373         [BZ #14055]
24374         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24376 2012-05-02  Andreas Jaeger  <aj@suse.de>
24378         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24379         since we manipulate rounding mode.
24380         (CPPFLAGS-test-idouble.c): Likewise.
24381         (CPPFLAGS-test-ifloat.c): Likewise.
24382         (CFLAGS-test-ldouble.c): Likewise.
24383         (CFLAGS-test-double.c): Likewise.
24384         (CFLAGS-test-float.c): Likewise.
24385         (CFLAGS-test-misc.c): Likewise.
24386         (CFLAGS-test-test-fenv.c): Likewise.
24388 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         [BZ #2550]
24391         [BZ #2570]
24392         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24393         comparisons to determine direction to adjust input.
24395 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24397         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24398         output to the target.
24400         * scripts/localplt.awk: New file.
24401         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24402         (check-localplt-CFLAGS): Variable removed.
24403         ($(all-built-dso:=.jmprel)): New static pattern rule.
24404         (generated): Add those targets.
24405         (localplt-built-dso): New variable.
24406         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24408         * elf/check-localplt.c: File removed.
24410         * scripts/check-execstack.awk: New file.
24411         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24412         (check-execstack-CFLAGS): Variable removed.
24413         ($(objpfx)check-execstack.h): Target removed.
24414         ($(objpfx)execstack-default): New target.
24415         (generated): Add that instead of check-execstack.h.
24416         ($(all-built-dso:=.phdr)): New static pattern rule.
24417         (generated): Add those targets.
24418         * elf/check-execstack.c: File removed.
24420         * scripts/check-textrel.awk: New file.
24421         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24422         (check-textrel-CFLAGS): Variable removed.
24423         (all-built-dso): Use := to define.o
24424         ($(all-built-dso:=.dyn)): New static pattern rule.
24425         (generated): Add those targets.
24426         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24427         * config.make.in (READELF): New substituted variable.
24428         * elf/check-textrel.c: File removed.
24430 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24432         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24433         allow.
24434         * conform/data/ctype.h-data [C99-based standards] (isblank):
24435         Expect function.
24436         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24437         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24439         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24440         Specify type.  Require positive value.
24441         (EILSEQ): Likewise.
24442         (ERANGE): Likewise.
24443         [ISO || POSIX] (EILSEQ): Do not expect.
24444         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24445         Specify type.  Require positive value.
24446         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24447         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24448         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24449         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24450         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24451         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24452         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24453         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24454         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24455         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24456         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24457         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24458         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24459         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24460         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24461         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24462         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24463         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24464         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24465         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24466         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24467         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24468         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24469         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24470         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24471         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24472         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24473         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24474         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24475         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24476         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24477         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24478         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24479         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24480         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24481         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24482         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24483         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24484         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24485         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24486         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24487         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24488         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24489         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24490         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24491         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24492         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24493         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24494         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24495         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24496         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24497         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24498         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24499         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24500         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24501         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24502         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24503         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24504         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24505         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24506         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24507         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24508         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24509         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24510         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24511         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24512         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24513         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24514         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24515         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24516         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24517         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24518         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24519         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24520         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24521         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24522         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24523         Require >= 2.
24524         (FLT_ROUNDS): Expect as macro, not constant.
24525         (FLT_MANT_DIG): Use macro-int-constant.
24526         (DBL_MANT_DIG): Likewise.
24527         (LDBL_MANT_DIG): Likewise.
24528         (FLT_DIG): Likewise.
24529         (DBL_DIG): Likewise.
24530         (LDBL_DIG): Likewise.
24531         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24532         (DBL_MIN_EXP): Likewise.
24533         (LDBL_MIN_EXP): Likewise.
24534         (FLT_MAX_EXP): Use macro-int-constant.
24535         (DBL_MAX_EXP): Likewise.
24536         (LDBL_MAX_EXP): Likewise.
24537         (FLT_MAX_10_EXP): Likewise.
24538         (DBL_MAX_10_EXP): Likewise.
24539         (LDBL_MAX_10_EXP): Likewise.
24540         (FLT_MAX): Use macro-constant.
24541         (DBL_MAX): Likewise.
24542         (LDBL_MAX): Likewise.
24543         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24544         (DBL_EPSILON): Likewise.
24545         (LDBL_EPSILON): Likewise.
24546         (FLT_MIN): Likewise.
24547         (DBL_MIN): Likewise.
24548         (LDBL_MIN): Likewise.
24549         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24550         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24551         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24552         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24553         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24554         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24555         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24556         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24557         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24558         [ISO11] (FLT_TRUE_MIN): Likewise.
24559         [ISO11] (LDBL_TRUE_MIN): Likewise.
24560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24561         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24562         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24563         (SCHAR_MAX): Likewise.
24564         (UCHAR_MAX): Likewise.
24565         (CHAR_MIN): Likewise.
24566         (CHAR_MAX): Likewise.
24567         (MB_LEN_MAX): Use macro-int-constant.
24568         (SHRT_MIN): Use macro-int-constant.  Specify type.
24569         (SHRT_MAX): Likewise.
24570         (USHRT_MAX): Likewise.
24571         (INT_MAX): Likewise.
24572         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24573         bound negative.
24574         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24575         bound with "U".
24576         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24577         bound with "L".
24578         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24579         bound negative.  Suffix upper bound with "L".
24580         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24581         bound with "UL".
24582         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24583         Specify type.
24584         [C99-based standards] (LLONG_MAX): Likewise.
24585         [C99-based standards] (ULLONG_MAX): Likewise.
24586         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24587         == 0.
24588         [ISO11] (max_align_t): Require type.
24589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24591         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24592         from $CFLAGS, without defining away __attribute__ calls.
24593         (checknamespace): Use $CFLAGS_namespace.
24595         * conform/conformtest.pl (@keywords): Only include C99 keywords
24596         for standards based on C99 or C11.
24598         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24599         Disable tests.
24600         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24601         UNIX98]: Likewise.
24603         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24604         usability of symbols in #if.
24606         * conform/conformtest.pl: If macro or constant types start
24607         "promoted:", expect the symbol to be of the following type
24608         promoted by the integer promotions.
24610         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24611         in one place.  Also handle "macro-constant".
24613         * conform/conformtest.pl: Only accept expected macro values with
24614         "==".  Parse all "macro" lines in one place.
24615         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24617         * conform/conformtest.pl: Handle braced types on "constant" lines
24618         instead of handling "typed-constant".
24619         * conform/data/signal.h-data: Use "constant" instead of
24620         "typed-constant".
24622         * conform/conformtest.pl: Handle "optional-" at start of lines in
24623         one place rather than duplicating several cases.  Handle each
24624         format of "macro" line with initial "optional-".
24626         * conform/conformtest.pl: Only accept expected constant or
24627         optional-constant values with "==".  Parse all "constant" lines in
24628         one place.  Parse all "optional-constant" lines in one place.
24629         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24630         * conform/data/fmtmsg.h-data: Likewise.
24631         * conform/data/netinet/in.h-data: Likewise.
24632         * conform/data/tar.h-data: Likewise.
24633         * conform/data/limits.h-data: Use "==" form on "constant" and
24634         "optional-constant" lines.
24636         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24637         Use -std=c99 for XOPEN2K.
24638         (@knownproblems): Remove.
24639         (newtoken): Don't check %isknown.
24641         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24642         Do not expect macro.
24643         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24644         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24645         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24646         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24647         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24648         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24649         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24650         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24651         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24652         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24653         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24654         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24655         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24656         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24657         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24658         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24659         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24660         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24661         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24662         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24663         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24664         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24665         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24666         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24667         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24668         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24669         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24670         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24671         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24672         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24673         [XPG3] (acosh): Likewise.
24674         [XPG3] (asinh): Likewise.
24675         [XPG3] (atanh): Likewise.
24676         [XPG3] (cbrt): Likewise.
24677         [XPG3] (expm1): Likewise.
24678         [XPG3] (ilogb): Likewise.
24679         [XPG3] (log1p): Likewise.
24680         [XPG3] (logb): Likewise.
24681         [XPG3] (nextafter): Likewise.
24682         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24683         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24684         [XPG3] (remainder): Likewise.
24685         [XPG3] (rint): Likewise.
24686         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24687         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24688         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24689         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24690         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24691         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24692         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24693         [UNIX98 || XOPEN2K] (scalb): Expect.
24694         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24695         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24696         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24697         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24698         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24699         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24700         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24701         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24702         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24703         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24704         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24705         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24706         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24707         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24708         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24709         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24710         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24711         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24712         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24713         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24714         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24715         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24716         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24717         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24718         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24719         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24720         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24721         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24722         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24723         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24724         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24725         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24726         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24727         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24728         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24729         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24730         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24731         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24732         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24733         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24734         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24735         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24736         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24737         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24738         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24739         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24740         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24741         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24742         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24743         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24744         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24745         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24746         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24747         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24748         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24749         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24750         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24751         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24752         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24753         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24754         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24755         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24756         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24757         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24758         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24759         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24760         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24761         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24762         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24763         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24764         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24765         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24766         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24767         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24768         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24769         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24770         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24771         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24772         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24773         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24774         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24775         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24776         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24777         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24778         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24779         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24780         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24781         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24782         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24783         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24784         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24785         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24786         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24787         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24788         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24789         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24790         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24791         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24792         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24793         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24794         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24795         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24796         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24797         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24798         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24799         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24800         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24801         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24802         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24803         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24804         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24805         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24806         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24807         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24808         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24809         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24810         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24811         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24812         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24813         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24814         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24815         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24816         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24817         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24818         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24819         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24820         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24821         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24822         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24823         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24824         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24825         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24826         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24827         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24828         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24829         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24830         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24832         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24833         _XOPEN_SOURCE_EXTENDED for XPG4.
24835         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24837         * Makeconfig (localtime): Remove variable.
24838         (inst_localtime-file): Likewise.
24840 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24843         Update.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24845         Update.
24846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24847         Update.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24849         Update.
24850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24851         Update.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24853         Update.
24854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24855         Update.
24856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24857         Update.
24858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24859         Update.
24861 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24863         [BZ #2550]
24864         [BZ #2570]
24865         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24866         comparisons to determine direction to adjust input.
24867         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24868         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24869         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24870         Likewise.
24871         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24872         Likewise.
24873         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24874         Likewise.
24875         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24876         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24877         Likewise.
24878         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24879         Likewise.
24880         * math/libm-test.inc (nexttoward_test): Add more tests.
24882 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24884         [BZ #14040]
24885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24886         in version GLIBC_2.1, not GLIBC_2.0.
24887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24888         Likewise.
24890 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24892         [BZ #13942]
24893         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24894         (1 - x) * (1 + x).
24895         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24896         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24897         * math/libm-test.inc (acos_test): Add more tests.
24898         (asin_test): Likewise.
24899         * sysdeps/i386/fpu/libm-test-ulps: Update.
24900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24902         [BZ #14034]
24903         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24904         of square root.
24905         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24906         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24907         * math/libm-test.inc (acos_test_tonearest): New function.
24908         (acos_test_towardzero): Likewise.
24909         (acos_test_downward): Likewise.
24910         (acos_test_upward): Likewise.
24911         (asin_test_tonearest): Likewise.
24912         (asin_test_towardzero): Likewise.
24913         (asin_test_downward): Likewise.
24914         (asin_test_upward): Likewise.
24915         (main): Call the new functions.
24916         * sysdeps/i386/fpu/libm-test-ulps: Update.
24917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24919         [BZ #13884]
24920         [BZ #13924]
24921         * math/e_exp10.c: Include <float.h>.
24922         (__ieee754_exp10): Handle underflow here rather than multiplying
24923         large negative argument by M_LN10.
24924         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24925         of __ieee754_expf.
24926         * math/e_exp10l.c: Include <float.h>.
24927         (__ieee754_exp10l): Handle underflow here rather than multiplying
24928         large negative argument by M_LN10l.
24929         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24930         spurious overflow exception on underflow.
24932 2012-04-29  Marek Polacek  <polacek@redhat.com>
24934         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24935         (__fortify_function): New macro.
24936         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24937         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24938         __extern_always_inline.
24939         * libio/bits/stdio2.h: Likewise.
24940         * libio/bits/stdio.h: Likewise.
24941         * string/string.h: Likewise.
24942         * string/bits/string3.h: Likewise.
24943         * include/stdio.h: Likewise.
24944         * stdlib/bits/stdlib.h: Likewise.
24945         * stdlib/stdlib.h: Likewise.
24946         * rt/bits/mqueue2.h: Likewise.
24947         * rt/mqueue.h: Likewise.
24948         * posix/bits/unistd.h: Likewise.
24949         * posix/unistd.h: Likewise.
24950         * io/bits/poll2.h: Likewise.
24951         * io/bits/fcntl2.h: Likewise.
24952         * io/fcntl.h: Likewise.
24953         * io/sys/poll.h: Likewise.
24954         * misc/bits/syslog.h: Likewise.
24955         * misc/bits/syslog-ldbl.h: Likewise.
24956         * misc/sys/syslog.h: Likewise.
24957         * socket/bits/socket2.h: Likewise.
24958         * socket/sys/socket.h: Likewise.
24959         * debug/tst-chk1.c: Likewise.
24960         * wcsmbs/bits/wchar2.h: Likewise.
24961         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24962         * wcsmbs/wchar.h: Likewise.
24964 2012-04-29  Andreas Jaeger  <aj@suse.de>
24966         * Makerules (tests): Remove enable-check-abi protection.
24967         (check-abi-warn): Remove.
24968         (check-abi-%): Remove check-abi-warn usage.
24970         * configure.in: Remove check-abi configure option.
24971         * configure: Regenerated.
24972         * config.make.in (enable-check-abi): Remove.
24974 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24976         [BZ #14033]
24977         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24978         double functions to double *_finite functions.
24980         [BZ #13941]
24981         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24982         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24983         LDBL_MIN_EXP.
24984         * stdio-common/Makefile (tests): Add tst-sprintf3.
24985         * stdio-common/tst-sprintf3.c: New file.
24987         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24988         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24990 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24992         * conform/conformtest.pl: Remove duplicate typed-constant
24993         handling.
24995 2012-04-28  David S. Miller  <davem@davemloft.net>
24997         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24998         (check-abi-%): Remove AWK script prerequisite and explicit
24999         abilist directory.
25000         (check-abi): Rewrite to just diff the symlist with the abilist.
25001         (config-tls, config-abi-config): Delete, no longer used.
25002         (update-abi-%): Remove AWK script and explicit abilist directory.
25003         (update-abi): Rewrite to simply compare and conditionally copy the
25004         symlist and the sysdep abilist file.  Remove update-abi-config
25005         checks.
25006         * abilist/ld.abilist: Remove.
25007         * abilist/libBrokenLocale.abilist: Remove.
25008         * abilist/libanl.abilist: Remove.
25009         * abilist/libcrypt.abilist: Remove.
25010         * abilist/libdl.abilist: Remove.
25011         * abilist/librt.abilist: Remove.
25012         * abilist/libthread_db.abilist: Remove.
25013         * abilist/libutil.abilist: Remove.
25014         * scripts/extract-abilist.awk: Remove.
25015         * scripts/merge-abilist.awk: Remove.
25016         * sysdeps/generic/libcidn.abilist: New file.
25017         * sysdeps/generic/libnss_compat.abilist: New file.
25018         * sysdeps/generic/libnss_db.abilist: New file.
25019         * sysdeps/generic/libnss_dns.abilist: New file.
25020         * sysdeps/generic/libnss_files.abilist: New file.
25021         * sysdeps/generic/libnss_hesiod.abilist: New file.
25022         * sysdeps/generic/libnss_nis.abilist: New file.
25023         * sysdeps/generic/libnss_nisplus.abilist: New file.
25024         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25025         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25026         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25027         file.
25028         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25029         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25030         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25031         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25032         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25033         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25034         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25035         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25036         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25037         file.
25038         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25039         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25040         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25041         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25042         file.
25043         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25044         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25045         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25046         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25047         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25048         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25049         file.
25050         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25051         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25052         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25053         file.
25054         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25056         New file.
25057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25058         New file.
25059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25060         New file.
25061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25062         New file.
25063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25064         New file.
25065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25066         New file.
25067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25068         New file.
25069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25070         New file.
25071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25072         New file.
25073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25074         New file.
25075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25076         New file.
25077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25078         New file.
25079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25080         New file.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25082         file.
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25084         New file.
25085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25086         New file.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25088         file.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25090         New file.
25091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25092         New file.
25093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25094         file.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25096         New file.
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25098         New file.
25099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25100         New file.
25101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25102         New file.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25104         New file.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25106         New file.
25107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25109         file.
25110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25111         New file.
25112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25113         file.
25114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25115         file.
25116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25117         file.
25118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25119         file.
25120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25121         file.
25122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25123         New file.
25124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25125         file.
25126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25127         file.
25128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25129         New file.
25130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25131         file.
25132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25134         file.
25135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25136         New file.
25137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25138         file.
25139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25140         file.
25141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25142         file.
25143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25144         file.
25145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25146         file.
25147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25148         New file.
25149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25150         file.
25151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25152         file.
25153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25154         New file.
25155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25156         file.
25157         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25158         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25159         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25160         file.
25161         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25162         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25163         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25164         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25165         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25166         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25167         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25168         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25169         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25170         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25173         file.
25174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25175         New file.
25176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25177         file.
25178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25179         file.
25180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25181         file.
25182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25183         file.
25184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25185         file.
25186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25187         New file.
25188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25189         New file.
25190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25191         file.
25192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25193         New file.
25194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25195         file.
25196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25198         file.
25199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25200         New file.
25201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25202         file.
25203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25204         file.
25205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25206         file.
25207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25208         file.
25209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25210         file.
25211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25212         New file.
25213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25214         New file.
25215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25216         file.
25217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25218         New file.
25219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25220         file.
25222 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25224         * conform/conformtest.pl: Fix typo in handling typed-constant from
25225         allow-header.
25227 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25229         * README: Cut down references to pre-2.6 Linux kernels and
25230         Linuxthreads.  Update lists of configurations in libc and ports
25231         and sort alphabetically.  Say "or newer" with Linux kernel version
25232         requirements.
25234         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25236 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25238         [BZ #887]
25239         * math/libm-test.inc (logb_test_downward): New test to expose
25240         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25241         rounding mode.
25243 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25245         [BZ #14027]
25246         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25247         to be done.
25248         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25249         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25251 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25253         * sysdeps/unix/i386/brk.S: Remove file.
25254         * sysdeps/unix/i386/dl-brk.S: Likewise.
25255         * sysdeps/unix/i386/pipe.S: Likewise.
25256         * sysdeps/unix/i386/sigreturn.S: Likewise.
25257         * sysdeps/unix/i386/syscall.S: Likewise.
25258         * sysdeps/unix/i386/vfork.S: Likewise.
25259         * sysdeps/unix/i386/wait.S: Likewise.
25261         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25262         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25264         * configure.in (arm*-none*): Do not allow without
25265         --enable-hacker-mode.
25266         (netbsd*): Remove case setting base_os.
25267         (386bsd*): Likewise.
25268         (freebsd*): Likewise.
25269         (bsdi*): Likewise.
25270         (osf*): Likewise.
25271         (sunos*): Likewise.
25272         (ultrix*): Likewise.
25273         (newsos*): Likewise.
25274         (dynix*): Likewise.
25275         (*bsd*): Likewise.
25276         (sysv*): Likewise.
25277         (isc*): Likewise.
25278         (esix*): Likewise.
25279         (sco*): Likewise.
25280         (minix*): Likewise.
25281         (irix4*): Likewise.
25282         (irix6*): Likewise.
25283         (solaris[2-9]*): Likewise.
25284         (none): Likewise.
25285         * configure: Regenerated.
25287 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25289         [BZ #11521]
25290         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25291         overflow or cancellation in calculating denominator.
25292         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25293         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25294         down expression to avoid unexpected rounding in newer GCCs.
25295         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25297 2012-04-26  David S. Miller  <davem@davemloft.net>
25299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25300         long-double compat symbols.
25301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25315 2012-04-25  David S. Miller  <davem@davemloft.net>
25317         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25318         HWCAP_* values only after the memory barriers have been defined.
25319         (atomic_full_barrier): Define.
25320         (atomic_read_barrier): Define.
25321         (atomic_write_barrier): Define.
25323 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25325         * shlib-versions: Add libgcc_s version information.
25326         * sysdeps/generic/libgcc_s.h: Remove.
25327         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25328         libgcc_s.h.
25329         * sysdeps/gnu/unwind-resume.c: Likewise.
25330         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25332 2012-04-25  David S. Miller  <davem@davemloft.net>
25334         * sysdeps/unix/sparc/brk.S: Delete.
25335         * sysdeps/unix/sparc/dl-brk.S: Delete.
25336         * sysdeps/unix/sparc/pipe.S: Delete.
25337         * sysdeps/unix/sparc/sysdep.S: Delete.
25338         * sysdeps/unix/sparc/sysdep.h: Delete.
25339         * sysdeps/unix/sparc/vfork.S: Delete.
25340         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25341         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25343         ret_ERRVAL, r0, r1, MOVE): Define.
25344         (JUMPTARGET): Remove.
25345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25346         sysdeps/unix/sparc/sysdep.h
25347         (ENTRY, END): Remove.
25348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25350 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25352         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25353         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25354         -DIS_IN_build.
25356         * timezone/README: Update upstream location and email address for
25357         tzcode and tzdata.
25358         * timezone/zdump.c: Update from tzcode 2012b.
25359         * timezone/zic.c: Likewise.
25361         * configure.in (libc_cv_as_needed): Remove test.
25362         * configure: Regenerated.
25363         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25364         conditional definition.
25365         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25366         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25367         * config.make.in (have-as-needed): Remove variable.
25369 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25370             Paul Pluzhnikov  <ppluzhnikov@google.com>
25372         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25373         strings correctly.
25375 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25377         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25378         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25379         * sysdeps/sh/strlen.S: Likewise.
25381 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25383         * sysdeps/unix/fork.S: Remove file.
25384         * sysdeps/unix/i386/fork.S: Likewise.
25385         * sysdeps/unix/sparc/fork.S: Likewise.
25387         * sysdeps/unix/system.c: Remove file.
25388         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25390         * sysdeps/unix/getegid.S: Remove file.
25391         * sysdeps/unix/geteuid.S: Likewise.
25393 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25395         * scripts/check-localplt.awk: New file.
25396         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25397         of diff.
25398         * scripts/data/localplt-generic.data: Add a comment.
25400         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25401         NODE when __dir_mkfile failed.
25402         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25403         Reported by Ludovic Courtès <ludo@gnu.org>.
25405 2012-04-24  Andreas Jaeger  <aj@suse.de>
25407         * Makerules (common-clean): Also remove gen-as-const-headers
25408         files.
25410 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25412         * Makerules (native-compile): Do not change working directory for
25413         build.  Use $(OUTPUT_OPTION) in command.
25414         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25416 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25418         [BZ #13886]
25419         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25420         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25421         * math/libm-test.inc (floor_test): Add more tests.
25422         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25424 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25426         * sysdeps/unix/getdents.c: Remove file.
25427         * sysdeps/unix/sysv/getdents.c: Likewise.
25428         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25430         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25431         sysdeps/unix/mman/syscalls.list.
25432         (mmap): Likewise.
25433         (mprotect): Likewise.
25434         (msync): Likewise.
25435         (munmap): Likewise.
25436         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25437         * sysdeps/unix/mman/syscalls.list: Remove.
25438         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25440         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25441         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25442         * configure: Regenerated.
25443         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25444         $(libgcc_s_suffix).
25445         * config.make.in (libgcc_s_suffix): Remove variable.
25447 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25449         * sysdeps/unix/sysv/gethostname.c: Move to ...
25450         * sysdeps/posix/gethostname.c: ... here.
25452         * sysdeps/unix/execve.S: Remove file.
25454         * sysdeps/unix/_exit.S: Remove file.
25456 2012-04-23  Andreas Jaeger  <aj@suse.de>
25458         [BZ #13739]
25459         * manual/Makefile: Remove make dist support, there's no
25460         need for a stand-alone documentation tar ball.
25461         (TEXI2DVI): Define always, it's not in Makeconfig.
25462         (dist): Removed.
25463         (tar-it): Removed.
25464         (edition): Removed.
25465         (glibc-doc-$(edition).tar): Removed
25466         (%.Z): Removed.
25467         (%.gz): Removed.
25468         (%.uu): Removed.
25469         (ETAGS): Remove, it's in Makeconfig.
25470         (move-if-change): Remove, it's in Makeconfig.
25472 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25474         [BZ #13970]
25475         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25476         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25477         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25478         (strtod_l, strtof_l, strtold_l): Remove __wur.
25479         It is not necessarily an error to ignore strtol's return value.
25480         One can reliably look at the stored endptr to decide whether
25481         the number had valid syntax.
25483 2012-04-21  Andreas Jaeger  <aj@suse.de>
25485         [BZ #13739]
25486         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25488 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25490         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25491         * sysdeps/unix/sysv/Versions: Remove file.
25493 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25495         [BZ #13927]
25496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25498 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25500         [BZ #7064]
25501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25502         version from __vm86.
25504 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25506         * sysdeps/unix/common/lxstat.c: Remove file.
25507         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25509         * sysdeps/unix/sysv/Makefile: Remove file.
25511         * sysdeps/unix/sysv/direct.h: Remove file.
25513         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25514         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25515         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25516         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25517         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25518         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25519         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25521         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25523         * sysdeps/unix/xmknod.c: Remove file.
25524         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25526         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25528         * sysdeps/unix/sysv/i386/time.S: Remove file.
25530         * sysdeps/unix/fxstat.c: Remove file.
25531         * sysdeps/unix/xstat.c: Likewise.
25532         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25534         * sysdeps/unix/sysv/sigaction.c: Remove file.
25536         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25537         (sysdep_headers): Remove variable.
25538         [termio.h not in sysdep_headers] (generated): Likewise.
25539         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25540         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25541         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25542         * sysdeps/unix/sysv/tcflow.c: Likewise.
25543         * sysdeps/unix/sysv/tcflush.c: Likewise.
25544         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25545         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25546         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25547         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25548         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25550         * sysdeps/unix/siglist.c: Remove file.
25552         * sysdeps/unix/getppid.S: Remove file.
25554         * sysdeps/unix/mkdir.c: Remove file.
25555         * sysdeps/unix/rmdir.c: Likewise.
25557 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25559         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25560         ERR_MAX value.
25561         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25562         errlist-compat value.
25564 2012-04-18  David S. Miller  <davem@davemloft.net>
25566         * sysdeps/generic/memcopy.h (reg_char): Delete.
25567         * debug/strcat_chk.c: Use char, not reg_char.
25568         * debug/strcpy_chk.c: Likewise.
25569         * debug/strncat_chk.c: Likewise.
25570         * debug/strncpy_chk.c: Likewise.
25571         * string/memchr.c: Likewise.
25572         * string/memrchr.c: Likewise.
25573         * string/rawmemchr.c: Likewise.
25574         * string/strcat.c: Likewise.
25575         * string/strchr.c: Likewise.
25576         * string/strchrnul.c: Likewise.
25577         * string/strcmp.c: Likewise.
25578         * string/strcpy.c: Likewise.
25579         * string/strncat.c: Likewise.
25580         * string/strncmp.c: Likewise.
25581         * string/strncpy.c: Likewise.
25583 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25585         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25586         __builtin_memcopy is called when src and dest ranges are known to not
25587         overlap.
25589 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25591         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25592         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25593         fwd_align_merge macro call.
25594         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25595         bwd_align_merge macro call.
25596         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25598 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25600         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25601         bwd_align_merge macros.
25602         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25603         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25604         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25606 2012-04-18  David S. Miller  <davem@davemloft.net>
25608         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25610 2012-04-18  Andreas Jaeger  <aj@suse.de>
25612         [BZ# 6794]
25613         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25614         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25615         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25617         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25618         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25619         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25621         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25622         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25623         Adjust for changed ldbl-128 files.
25625         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25626         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25627         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25629 2012-04-17  David S. Miller  <davem@davemloft.net>
25631         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25633 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25635         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25636         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25637         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25638         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25639         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25640         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25642 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25644         [BZ #6794]
25645         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25646         * math/libm-test.inc: Add ilogb errno and exception tests.
25647         * math/w_ilogb.c: New file: ilogb wrapper.
25648         * math/w_ilogbf.c: New file: ilogbf wrapper.
25649         * math/w_ilogbl.c: New file: ilogbl wrapper.
25650         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25651         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25652         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25653         exception being thrown with 0.0 as argument.
25654         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25655         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25656         exception being thrown with 0.0 as argument.
25657         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25658         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25659         exception being thrown with 0.0 as argument.
25660         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25661         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25662         exception being thrown with 0.0 as argument.
25663         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25664         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25665         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25666         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25667         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25668         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25669         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25670         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25671         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25673 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25675         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25676         with altivec.
25678 2012-04-16  Marek Polacek  <polacek@redhat.com>
25680         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25682 2012-04-16  Marek Polacek  <polacek@redhat.com>
25684         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25685         operands of fdivp instruction.
25687 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25689         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25690         * elf/tst-auditmod3b.c: Likewise.
25691         * elf/tst-auditmod4b.c: Likewise.
25692         * elf/tst-auditmod5b.c: Likewise.
25693         * elf/tst-auditmod6b.c: Likewise.
25694         * elf/tst-auditmod6c.c: Likewise.
25695         * elf/tst-auditmod7b.c: Likewise.
25696         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25697         * sysdeps/x86_64/preconfigure.in: Likewise.
25698         * sysdeps/x86_64/preconfigure: Regenerated.
25700 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25702         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25703         __ILP32__.
25705 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25708         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25710 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25712         [BZ #13973]
25713         * locale/iso-639.def: Fix gl language name. Spotted by
25714         Yaron Shahrabani.
25716 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25718         [BZ #2074]
25719         * libio/libio.h (__io_write_fn): Update comment.
25721 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25723         [BZ #2074]
25724         * stdio.texi (Hook Functions): The user provided writer function
25725         is not allowed to return -1.
25727 2012-04-11  David S. Miller  <davem@davemloft.net>
25729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25731 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25733         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25734         Add a leading slash to rtkaio.
25736 2012-04-11  Jim Meyering  <meyering@redhat.com>
25738         [BZ #11959]
25739         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25740         It is not necessarily an error to ignore fwrite's return
25741         value.  One can reliably use ferror to test for errors after
25742         the fact.
25744 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25746         * bits/types.h (__snseconds_t): New type.
25747         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25749         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25751         (__SNSECONDS_T_TYPE): Likewise.
25752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25753         (__SNSECONDS_T_TYPE): Likewise.
25754         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25755         (__SNSECONDS_T_TYPE): Likewise.
25757 2012-04-10  Andreas Jaeger  <aj@suse.de>
25759         [BZ #2636]
25760         * manual/time.texi (Processor Time): Return type of times is
25761         elapsed real time since an arbitrary point in the past.
25762         (CPU Time): Move CLK_TCK from here...
25763         (Processor Time): ...to here.  Correct description.
25764         * manual/conf.texi (Constants for Sysconf): Correct description of
25765         _SC_CLK_TCK.
25767 2012-04-10  David S. Miller  <davem@davemloft.net>
25769         [BZ #13967]
25770         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25771         where the is a gap between DT_REL(A) and DT_JMPREL.
25773 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25775         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25776         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25777         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25779 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25781         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25782         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25783         (dl_main): Handle --inhibit-cache.
25784         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25785         _dl_inhibit_cache.
25786         * elf/dl-load.c (_dl_map_object): Use it.
25787         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25789 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25791         [BZ #13872]
25792         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25793         (__ieee754_powl): Saturate large exponents rather than testing for
25794         overflow of y*log2(x).
25795         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25796         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25797         exceptions.
25799         [BZ #11521]
25800         * math/s_ctan.c: Include <float.h>.
25801         (__ctan): Avoid internal overflow or cancellation in calculating
25802         denominator.
25803         * math/s_ctanf.c: Likewise.
25804         * math/s_ctanl.c: Likewise.
25805         * math/s_ctanh.c: Likewise.
25806         * math/s_ctanhf.c: Likewise.
25807         * math/s_ctanhl.c: Likewise.
25808         * math/libm-test.inc (ctan_test): Add more tests.
25809         (ctanh_test): Likewise.
25810         * sysdeps/i386/fpu/libm-test-ulps: Update.
25811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25813 2012-04-09  Andreas Jaeger  <aj@suse.de>
25815         [BZ #6894]
25816         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25817         is an optional BSD extension.
25819         [BZ #10254]
25820         * manual/stdio.texi (Opening Streams): Document additional fopen
25821         parameters.
25823 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25825         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25826         %eax without telling the compiler.
25828 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25830         [BZ # 13963]
25831         * manual/install.texi: Use sourceware.org.
25833 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25835         [BZ #13873]
25836         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25837         (__ieee754_pow): Generate overflow and underflow using huge*huge
25838         and tiny*tiny rather than just returning constant infinity or zero
25839         for large exponents.
25840         * math/libm-test.inc (pow_test): Require overflow exceptions for
25841         applicable cases of large exponents.
25843         [BZ #706]
25844         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25845         (__ieee754_pow): Use iterative multiplication algorithm only for
25846         integer exponents with absolute value below 1024.  Check for odd
25847         integer exponents when using algorithm for real exponents.
25848         * math/libm-test.inc (pow_test): Add more tests.
25849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25851 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25853         [BZ #13705]
25854         * math/libm-test.inc (exp_test): Do not allow overflow exception
25855         on underflow test.
25857 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25859         [BZ #13705]
25860         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25861         instead of __kernel_standard_f.
25863 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25865         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25866         * sysdeps/x86_64/memset_chk.S: Likewise.
25868 2012-04-08  Andreas Jaeger  <aj@suse.de>
25870         [BZ #10153]
25871         * manual/startup.texi (Environment Access): Describe return value
25872         for putenv and setenv.
25874         [BZ #6895]
25875         * manual/filesys.texi (Directory Entries): Add description for
25876         DT_LNK.
25878         [BZ #6890]
25879         * manual/filesys.texi (Directory Entries): Clarify that it's file
25880         system not operating system in the description of DT_UNKNOWN.
25882         [BZ #6578]
25883         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25885 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25887         [BZ #6649]
25888         * manual/llio.texi (Opening and Closing Files): Add cross
25889         reference to explain mode argument.
25891 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25893         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25894         * sysdeps/x86_64/memset_chk.S: Likewise.
25896 2012-04-07  David S. Miller  <davem@davemloft.net>
25898         * elf/elf.h (R_SPARC_WDISP10): Define.
25899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25900         R_SPARC_SIZE32.
25901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25902         R_SPARC_SIZE64 and R_SPARC_H34.
25904 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25907         conditions and remove no longer applicable assertion.
25909 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25911         * bits/byteswap.h: Include <features.h>.
25912         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25913         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25915 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25917         * bits/byteswap.h (__bswap_16): Removed.
25918         Include <bits/byteswap-16.h> to get __bswap_16.
25919         * sysdeps/i386/bits/byteswap.h: Likewise.
25920         * sysdeps/s390/bits/byteswap.h: Likewise.
25921         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25922         * bits/byteswap-16.h: New file.
25923         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25924         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25925         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25926         * string/Makefile (headers): Add bits/byteswap-16.h.
25928 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25930         [BZ #13895]
25931         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25932         extra indirection.
25933         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25934         * nss/tst-nss-static.c: New.
25936 2012-04-06  Robert Millan  <rmh@gnu.org>
25938         [BZ #6486]
25939         * manual/llio.texi (File Position Primitive): lseek
25940         refers to WHENCE when it really means OFFSET.
25942 2012-04-06  Andreas Jaeger  <aj@suse.de>
25944         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25945         strncmp declarations.
25947         * abilist/libc.abilist: Add __poll and __ppoll.
25949 2012-04-05  David S. Miller  <davem@davemloft.net>
25951         * scripts/check-local-headers.sh: Accept a host triplet in the
25952         path matched by the exclude regexp.
25954         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25955         definition.
25956         * sysdeps/powerpc/powerpc32/dl-machine.h
25957         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25958         * sysdeps/s390/s390-32/dl-machine.h
25959         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25960         * sysdeps/sparc/sparc32/dl-machine.h
25961         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25962         * sysdeps/sparc/sparc64/dl-machine.h
25963         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25965         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25966         lazy binding.
25967         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25968         undefined symbol errors.
25970         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25971         DT_NEEDED entries.
25973 2012-04-05  Michael Matz  <matz@suse.de>
25975         [BZ #13592]
25976         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25978 2012-04-05  Andreas Jaeger  <aj@suse.de>
25980         [BZ #13908]
25981         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25982         comment.
25984 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25986         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25987         which ROUND is no valid rounding mode.
25989 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25991         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25992         read again.
25993         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25995 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25997         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25998         an exception using FPU order intentionally.
26000 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26002         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26003         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26004         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26005         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26007 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26009         [BZ #12340]
26010         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26011         EINVAL when BUFLEN is too smal.
26013 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26015         [BZ #13553]
26016         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26017         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26019 2012-04-03  Andreas Jaeger  <aj@suse.de>
26021         [BZ #13938]
26022         * manual/setjmp.texi (System V contexts): Fix sentence.
26024         [BZ #13926]
26025         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26026         New macro for this case.
26027         [!__GNUC__] (__bswap_64): New inline function for this case.
26028         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26029         * bits/byteswap.h: Likewise.
26030         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26031         ull, guard with __GLIBC_HAVE_LONG_LONG.
26033         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26034         __GLIBC_HAVE_LONG_LONG.
26036         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26037         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26039 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26041         [BZ #13691]
26042         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26043         inptr and inend, rather than using last_ch.
26045 2012-04-02  David S. Miller  <davem@davemloft.net>
26047         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26048         * stdio-common/printf-parse.h (read_int): Change return type to
26049         'int', return -1 on INT_MAX overflow.
26050         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26051         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26052         overflows INT_MAX.  Check for overflow of in-format-string precision
26053         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26054         SIZE_MAX not INT_MAX for integer overflow test.
26055         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26056         skip the construct in the format string but do not record anything.
26057         * stdio-common/bug22.c: Adjust to test both width/prevision
26058         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26059         explicitly for proper errno values.
26061 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26063         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26064         CHAR_MAX.
26065         * string/test-strcmp.c [! WIDE]: Likewise.
26066         * time/tst-mktime2.c: Likewise for INT_MAX.
26067         * string/test-string.h: #include <sys/param.h> for MIN.
26069         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26070         * sysdeps/i386/init-first.c (init): Likewise.
26071         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26072         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26073         * sysdeps/sh/init-first.c (init): Likewise.
26075 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26077         * po/ru.po: Update from translation team.
26078         * po/vi.po: Likewise.
26080 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26082         * resolv/nss_dns/dns-host.c: Merge copyright years.
26084 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26086         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26087         Optimize memcpy with prefetch if
26088         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26089         src, dst pointers have unequal 16 byte alignments.
26091 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26093         [BZ #13928]
26094         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26095         from a CNAME entry and return the minimum ttl for the query.
26096         (gaih_getanswer_slice): Likewise.
26098 2012-03-30  Jeff Law  <law@redhat.com>
26100         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26101         due to long keys.
26102         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26103         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26105         * resolv/nss_dns/dns-host.c: Update copyright year.
26107 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26109         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26110         requests to save a system call.  Fix check that all bytes are sent.
26112         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26113         comments for sendmmsg.
26115 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26117         [BZ #13691]
26118         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26119         with only 1 character between 0x0041 and 0x01b0.
26120         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26121         * wcsmbs/tst-mbsnrtowcs.c: New file.
26123 2012-03-29  David S. Miller  <davem@davemloft.net>
26125         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26126         small copies by hand.
26128 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26130         [BZ #13761]
26131         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26132         _nss_compat_initgroups_dyn): Fall back to malloc/free
26133         for large group memberships.
26135 2012-03-28  David S. Miller  <davem@davemloft.net>
26137         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26138         that branches into memcpy.
26139         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26142         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26144         bits.
26145         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26146         implementation too.
26147         * sysdeps/sparc/mempcpy.S: New file.
26149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26150         the IFUNC routine in the libc case.
26151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26153         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26154         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26155         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26156         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26157         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26158         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26159         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26160         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26162         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26163         loop to 256 bytes instead of 64 bytes and fix test signedness.
26165         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26166         * sysdeps/sparc/sparc32/Makefile: rather than here...
26167         * sysdeps/sparc/sparc64/Makefile: and here.
26169 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26171         * malloc/mallocbug.c: Avoid warnings about unused variables.
26173 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26175         [BZ #13760]
26176         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26177         in the right place. Discard and retry query if response is
26178         larger than input buffer size.
26180 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26182         [BZ #369]
26183         [BZ #2678]
26184         [BZ #3866]
26185         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26186         x for large integer exponent.
26187         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26188         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26189         sign of result as needed afterwards.
26190         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26191         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26192         result for underflowing pow the same as for overflow.
26193         (__kernel_standard_l): Handle powl overflow and underflow here
26194         rather than calling __kernel_standard.
26195         * math/libm-test.inc (pow_test): Add more tests.
26197         [BZ #3868]
26198         [BZ #13879]
26199         [BZ #13910]
26200         [BZ #13911]
26201         [BZ #13912]
26202         [BZ #13913]
26203         [BZ #13915]
26204         [BZ #13916]
26205         [BZ #13917]
26206         [BZ #13918]
26207         [BZ #13919]
26208         [BZ #13920]
26209         [BZ #13921]
26210         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26211         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26212         (__kernel_standard_l): New function.
26213         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26214         __kernel_standard.
26215         * math/w_acosl.c (__acosl): Likewise.
26216         * math/w_asinl.c (__asinl): Likewise.
26217         * math/w_atan2l.c (__atan2l): Likewise.
26218         * math/w_atanhl.c (__atanhl): Likewise.
26219         * math/w_coshl.c (__coshl): Likewise.
26220         * math/w_exp10l.c (__exp10l): Likewise.
26221         * math/w_exp2l.c (__exp2l): Likewise.
26222         * math/w_fmodl.c (__fmodl): Likewise.
26223         * math/w_hypotl.c (__hypotl): Likewise.
26224         * math/w_j0l.c (__j0l, __y0l): Likewise.
26225         * math/w_j1l.c (__j1l, __y1l): Likewise.
26226         * math/w_jnl.c (__jnl, __ynl): Likewise.
26227         * math/w_lgammal.c (__lgammal): Likewise.
26228         * math/w_log10l.c (__log10l): Likewise.
26229         * math/w_log2l.c (__log2l): Likewise.
26230         * math/w_logl.c (__logl): Likewise.
26231         * math/w_powl.c (__powl): Likewise.
26232         * math/w_remainderl.c (__remainderl): Likewise.
26233         * math/w_scalbl.c (sysv_scalbl): Likewise.
26234         * math/w_sinhl.c (__sinhl): Likewise.
26235         * math/w_sqrtl.c (__sqrtl): Likewise.
26236         * math/w_tgammal.c (__tgammal): Likewise.
26237         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26238         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26239         * math/libm-test.inc (acos_test): Add more tests.
26240         (acosh_test): Likewise.
26241         (asin_test): Likewise.
26242         (atanh_test): Likewise.
26243         (exp_test): Likewise.
26244         (exp10_test): Likewise.
26245         (exp2_test): Likewise.
26246         (expm1_test): Likewise.
26247         (lgamma_test): Likewise.
26248         (log_test): Likewise.
26249         (log10_test): Likewise.
26250         (log1p_test): Likewise.
26251         (log2_test): Likewise.
26252         (pow_test): Do not allow some spurious overflow exceptions.
26253         (sqrt_test): Add more tests.
26254         (tgamma_test): Likewise.
26255         (y0_test): Likewise.
26256         (y1_test): Likewise.
26257         (yn_test): Likewise.
26259 2012-03-27  Anton Blanchard  <anton@samba.org>
26261         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26262         MAP_HUGETLB.
26263         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26264         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26265         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26267 2012-03-27  David S. Miller  <davem@davemloft.net>
26269         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26271         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26272         have-as-vis3 check.
26274 2012-03-27  Andreas Jaeger  <aj@suse.de>
26276         * sysdeps/x86_64/elf/configure.in: Moved to ...
26277         * sysdeps/x86_64/configure.in: ... here.
26278         * sysdeps/x86_64/elf/start.S: Moved to ...
26279         * sysdeps/x86_64/start.S: ... here.
26280         * sysdeps/x86_64/elf/configure: Delete.
26282         * sysdeps/x86_64/configure.in: Merge contents from
26283         sysdeps/i386/configure.in (without i686 check).
26285         * sysdeps/i386/elf/Versions: Merge into ...
26286         * sysdeps/i386/Versions: ... this.
26287         * sysdeps/i386/elf/Versions: Delete file.
26288         * sysdeps/i386/elf/start.S: Moved to ...
26289         * sysdeps/i386/start.S: ...here.
26290         * sysdeps/i386/elf/configure.in: Merge into...
26291         * sysdeps/i386/configure.in: ...here.
26292         * sysdeps/i386/elf/configure.in: Delete file.
26293         * sysdeps/i386/elf/configure: Delete file.
26295         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26296         * debug/backtracesyms.c: ... here.
26297         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26298         * debug/backtracesymsfd.c: ... here.
26299         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26300         * sysdeps/generic/ifunc-sel.h: ... here.
26302         * sysdeps/unix/i386/start.c: Delete file.
26303         * sysdeps/unix/sparc/start.c: Delete file.
26304         * sysdeps/unix/start.c: Delete file.
26306         * sysdeps/sh/elf/configure.in: Moved to ...
26307         * sysdeps/sh/configure.in: ... here.
26308         * sysdeps/sh/elf/start.S: Moved to ...
26309         * sysdeps/sh/start.S: ... here.
26310         * sysdeps/sh/elf/configure: Delete file.
26312         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26313         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26314         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26315         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26316         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26317         * sysdeps/powerpc/powerpc64/start.S: here.
26318         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26319         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26320         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26321         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26322         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26324         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26325         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26326         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26327         * sysdeps/powerpc/powerpc32/start.S: ... here.
26328         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26329         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26330         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26332         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26333         * sysdeps/powerpc/ifunc-sel.h: ... here.
26334         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26335         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26337         * sysdeps/sparc/elf/configure.in: Moved to ...
26338         * sysdeps/sparc/configure.in: ... here.
26339         * sysdeps/sparc/elf/configure: Delete file.
26340         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26341         * sysdeps/sparc/sparc32/start.S: ... here.
26342         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26343         * sysdeps/sparc/sparc64/start.S: ... here.
26344         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26345         * sysdeps/sparc/sparc32/Makefile: ... this.
26346         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26347         * sysdeps/sparc/sparc64/Makefile: ... this.
26349         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26350         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26351         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26352         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26353         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26354         * sysdeps/s390/s390-32/setjmp.S: ... here.
26355         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26356         * sysdeps/s390/s390-32/configure.in: ... here.
26357         * sysdeps/s390/s390-32/elf/configure: Delete file.
26358         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26359         * sysdeps/s390/s390-32/start.S: ... here.
26361         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26362         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26363         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26364         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26365         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26366         * sysdeps/s390/s390-64/setjmp.S: ... here.
26367         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26368         * sysdeps/s390/s390-64/configure.in: ... here
26369         * sysdeps/s390/s390-64/elf/configure: Delete file.
26370         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26371         * sysdeps/s390/s390-64/start.S: ... here.
26372         * sysdeps/s390/s390-64/elf/configure: Delete.
26374         * configure.in: Remove support for elf directories in sysdeps.
26376         * configure: Regenerated.
26377         * sysdeps/i386/configure: Regenerated.
26378         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26379         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26380         * sysdeps/s390/s390-32/configure: Regenerated.
26381         * sysdeps/s390/s390-64/configure: Regenerated.
26382         * sysdeps/sh/configure: Regenerated.
26383         * sysdeps/sparc/configure: Regenerated.
26384         * sysdeps/x86_64/configure: Regenerated.
26386 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26391         denormal result into account.
26393 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26395         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26396         Reported by Allan McRae <allan@archlinux.org>.
26398 2012-03-23  Jeff Law  <law@redhat.com>
26400         * nss/getnssent.c (__nss_getent): Fix typo.
26402 2012-03-23  David S. Miller  <davem@davemloft.net>
26404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26406 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26408         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26409         to pad to uint64_t for each field.
26410         (dl_tls_index): Replace unsigned long with uint64_t.
26412 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26413         Paul Pluzhnikov  <ppluzhnikov@google.com>
26415         [BZ #6528]
26416         * grp/Makefile (otherlibs): Don't set it.
26417         * inet/Makefile (otherlibs): Likewise.
26418         * login/Makefile (otherlibs): Likewise.
26419         * nscd/Makefile (otherlibs): Likewise.
26420         * posix/Makefile (otherlibs): Likewise.
26421         * pwd/Makefile (otherlibs): Likewise.
26422         * rt/Makefile (otherlibs): Likewise.
26423         * sunrpc/Makefile (otherlibs): Likewise.
26424         * nss/Makefile (otherlibs): Likewise.
26425         Add libnss_files to routines and static-only-routines.
26426         ($(objpfx)getent): Remove rule.
26427         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26428         static-only-routines.
26430 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26432         [BZ #13892]
26433         * math/s_cexp.c: Include <float.h>.
26434         (__cexp): Handle exp result overflowing not necessarily
26435         overflowing both real and imaginary parts of result.
26436         * math/s_cexpf.c: Likewise.
26437         * math/s_cexpl.c: Likewise.
26438         * math/libm-test.inc (cexp_test): Add more tests.
26439         * sysdeps/i386/fpu/libm-test-ulps: Update.
26440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26442 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26444         * include/link.h (ELFW): New macro.
26445         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26446         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26448 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26450         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26451         with uint64_t.
26453 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26455         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26456         declaration.
26457         (struct La_x32_retval): Likewise.
26459 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26461         * sysdeps/x86_64/preconfigure.in: New file.
26462         * sysdeps/x86_64/preconfigure: New generated file.
26464 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26466         [BZ #13824]
26467         * math/e_exp2l.c: Include <float.h>.
26468         (__ieee754_exp2l): Handle overflow and underflow cases
26469         separately.  Only pass fractional part of argument to
26470         __ieee754_expl.
26471         * math/libm-test.inc (exp2_test): Add more tests.
26473         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26474         negating x to take absolute value.
26475         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26476         Likewise.
26477         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26478         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26479         Likewise.
26480         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26481         computing low part if x was negated.
26482         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26484 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26486         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26487         la_x32_gnu_pltexit.
26488         (pltexit): Cast int_retval to ptrdiff_t.
26489         * elf/tst-auditmod3b.c: Likewise.
26490         * elf/tst-auditmod4b.c: Likewise.
26491         * elf/tst-auditmod5b.c: Likewise.
26492         * elf/tst-auditmod6b.c: Likewise.
26493         * elf/tst-auditmod6c.c: Likewise.
26494         * elf/tst-auditmod7b.c: Likewise.
26496         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26497         and x32_gnu_pltexit.
26499         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26500         __ELF_NATIVE_CLASS.
26501         (La_x32_regs): New macro.
26502         (La_x32_retval): Likewise.
26503         (la_x32_gnu_pltenter): New function prototype.
26504         (la_x32_gnu_pltexit): Likewise.
26506 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26508         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26509         exponent.
26511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26513         * configure.in (libc_cv_cc_nofma): Check for option to disable
26514         generation of FMA instructions.
26515         * configure: Regenerate.
26516         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26517         * sysdeps/ieee754/dbl-64/Makefile: New file.
26518         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26519         Remove brandred-fma4.
26520         (CFLAGS-brandred-fma4.c): Remove.
26521         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26522         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26523         define.
26524         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26525         define.
26527 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26529         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26530         LLONG_MAX != LONG_MAX.
26531         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26532         (_fitoa_word): Likewise.
26533         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26534         LLONG_MAX != LONG_MAX.
26535         * stdio-common/_itowa.h: Include <_itoa.h>.
26536         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26537         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26538         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26539         only if not defined.
26540         (_ITOA_WORD_TYPE): Likewise.
26541         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26542         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26544 2012-03-21  David S. Miller  <davem@davemloft.net>
26546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26548 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26550         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26551         of x86_64 when setting libc_cv_slibdir, libdir and
26552         libc_cv_localedir.
26553         * sysdeps/unix/sysv/linux/configure: Regenerated.
26555 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26557         * manual/lang.texi (Old Varargs): Remove section.
26558         (How Variadic): Update menu.
26559         (va_start): Do not mention varargs.h.
26561 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26562             Joseph Myers  <joseph@codesourcery.com>
26564         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26565         link test.
26566         * configure: Regenerated.
26568 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26570         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26571         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26572         conformtest.pl
26574 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26576         * NOTES: Remove.
26577         * Makefile (files-for-dist): Remove NOTES.
26578         (NOTES): Remove rule.
26579         * README: Don't refer to NOTES.
26580         * manual/creature.texi: Don't include macros.texi.
26581         * manual/intro.texi (creature.texi): Remove comment referring to
26582         NOTES.
26584         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26585         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26586         * configure: Regenerated.
26587         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26588         LIBC_TRY_CC_OPTION.
26589         (libc_cv_as_i686): Likewise.
26590         (libc_cv_cc_avx): Likewise.
26591         (libc_cv_cc_sse2avx): Likewise.
26592         (libc_cv_cc_fma4): Likewise.
26593         (libc_cv_cc_novzeroupper): Likewise.
26594         * sysdeps/i386/configure: Regenerated.
26596         [BZ #13883]
26597         * sysdeps/i386/fpu/s_cexp.S: Remove.
26598         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26599         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26600         * math/libm-test.inc (cexp_test): Add more tests.
26601         * sysdeps/i386/fpu/libm-test-ulps: Update.
26602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26604 2012-03-21  Allan McRae  <allan@archlinux.org>
26606         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26608 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26610         [BZ #13871]
26611         * math/w_exp2.c: Do not include <float.h>.
26612         (o_threshold, u_threshold): Remove.
26613         (__exp2): Calculate result before checking finiteness and calling
26614         __kernel_standard.
26615         * math/w_exp2f.c: Likewise.
26616         * math/w_exp2l.c: Likewise.
26617         * math/libm-test.inc (exp2_test): Require overflow exception for
26618         1e6 input.
26620         [BZ #3866]
26621         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26622         range of signed 64-bit integers before using fistpll.  Remove
26623         checks for whether integers fit in mantissa bits.
26624         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26625         the range of signed 32-bit integers before using fistpl.  Remove
26626         checks for whether integers fit in mantissa bits.
26627         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26628         (__ieee754_powl): Test for y outside the range of signed 64-bit
26629         integers before using fistpll.  Reduce 64-bit values to 63-bit
26630         ones as needed.
26631         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26632         divide-by-zero is raised for zero to large negative powers.
26633         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26634         (__ieee754_powl): Test for y outside the range of signed 64-bit
26635         integers before using fistpll.  Reduce 64-bit values to 63-bit
26636         ones as needed.
26637         * math/libm-test.inc (pow_test): Add more tests.
26639 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26641         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26642         <stdio-common/_itoa.h>.
26643         * debug/segfault.c: Likewise.
26644         * elf/dl-cache.c: Likewise.
26645         * elf/dl-minimal.c: Likewise.
26646         * elf/dl-misc.c: Likewise.
26647         * elf/dl-sysdep.c: Likewise.
26648         * elf/dl-version.c: Likewise.
26649         * elf/rtld.c: Likewise.
26650         * hurd/hurdsock.c: Likewise.
26651         * hurd/lookup-retry.c: Likewise.
26652         * malloc/malloc.c: Likewise.
26653         * malloc/mtrace.c: Likewise.
26654         * nscd/nscd_getgr_r.c: Likewise.
26655         * nscd/nscd_getpw_r.c: Likewise.
26656         * nscd/nscd_getserv_r.c: Likewise.
26657         * posix/getopt_init.c: Likewise.
26658         * posix/wordexp.c: Likewise.
26659         * stdio-common/_itoa.c: Likewise.
26660         * stdio-common/printf_fphex.c: Likewise.
26661         * stdio-common/vfprintf.c: Likewise.
26662         * string/_strerror.c: Likewise.
26663         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26664         * sysdeps/i386/i686/hp-timing.h: Likewise.
26665         * sysdeps/mach/_strerror.c: Likewise.
26666         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26667         * sysdeps/mach/hurd/sethostid.c: Likewise.
26668         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26669         * sysdeps/mach/xpg-strerror.c: Likewise.
26670         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26671         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26672         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26673         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26674         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26675         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26676         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26677         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26678         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26679         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26680         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26681         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26682         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26683         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26684         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26685         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26686         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26688         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26689         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26690         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26692         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26694         * stdio-common/_itoa.h: Moved to ...
26695         * sysdeps/generic/_itoa.h: Here.
26697         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26699         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26700         instead of "_itoa.h" and "_itowa.h".
26701         * stdio-common/vfprintf.: Likewise.
26703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26705         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26706         <bits/wordsize.h>.
26707         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26708         (__signbit): Likwise.
26709         (llrintf): Likwise.
26710         (llrint): Likwise.
26712 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26714         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26715         __WORDSIZE != 64.
26717 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26719         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26720         OVERFLOW_EXCEPTION_OK.
26721         * math/libm-test.inc ("Philosophy"): Update comment about
26722         exception testing.
26723         (OVERFLOW_EXCEPTION): Define.
26724         (OVERFLOW_EXCEPTION_OK): Likewise.
26725         (INVALID_EXCEPTION_OK): Renumber.
26726         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26727         (IGNORE_ZERO_INF_SIGN): Likewise.
26728         (test_exceptions): Handle FE_OVERFLOW.
26729         (exp10_test): Expect overflow exceptions.
26730         (exp2_test): Likewise.
26731         (expm1_test): Likewise.
26732         (nextafter_test): Likewise.
26733         (pow_test): Likewise.
26734         (scalbn_test): Likewise.
26735         (scalbln_test): Likewise.
26737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26739         * sysdeps/x86_64/bits/atomic.h
26740         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26741         64bit integer.
26742         (atomic_exchange_acq): Likewise.
26743         (__arch_exchange_and_add_body): Likewise.
26744         (__arch_add_body): Likewise.
26745         (atomic_add_negative): Likewise.
26746         (atomic_add_zero): Likewise.
26748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26750         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26751         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26755         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26756         Check __x86_64__ instead of __WORDSIZE.
26758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26760         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26762 2012-03-19  David S. Miller  <davem@davemloft.net>
26764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26766         * sysdeps/sparc/fpu/fenv_private.h: New file.
26767         * sysdeps/sparc/fpu/math_private.h: Use it.
26768         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26769         Remove.
26770         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26771         (libc_feholdexcept_setroundl): Remove.
26772         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26773         Remove.
26774         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26775         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26777 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26779         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26780         int64_t instead of long int.
26781         (INSERT_WORDS64): Likwise.
26783 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26785         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26786         _Unwind_GetCFA return to _Unwind_Ptr first.
26788 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26790         [BZ #13629]
26791         * math/s_clog.c: Include <float.h>.
26792         (__clog): Scale large or subnormal inputs.
26793         * math/s_clogf.c: Likewise.
26794         * math/s_clogl.c: Likewise.
26795         * math/s_clog10.c: Include <float.h>.
26796         (M_LOG10_2): Define.
26797         (__clog10): Scale large or subnormal inputs.
26798         * math/s_clog10f.c: Likewise.
26799         * math/s_clog10l.c: Likewise.
26800         * math/libm-test.inc (clog_test): Add more tests.
26801         (clog10_test): Likewise.
26802         * sysdeps/i386/fpu/libm-test-ulps: Update.
26803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26805         [BZ #11451]
26806         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26807         x and y.
26808         * math/libm-test.inc (atan2_test): Add another test.
26810         * Makerules (common-objdir-compile): Remove.
26811         * sysdeps/unix/Makefile (config-generated): Do not add
26812         $(unix-generated) to variable.
26813         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26814         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26815         Remove rule.
26816         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26817         Likewise.
26818         [generic bits/local_lim.h] (before-compile): Do not append to
26819         variable.
26820         [generic bits/local_lim.h] (common-generated): Likewise.
26821         [generic sys/param.h] (before-compile): Do not append to variable.
26822         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26823         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26824         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26825         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26826         include.
26827         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26828         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26829         [generic sys/param.h] ($(addprefix
26830         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26831         [generic sys/param.h] (common-generated): Do not append to
26832         variable.
26833         [generic sys/param.h] (sysdep_headers): Likewise.
26834         [generic bits/errno.h] (before-compile): Do not append to
26835         variable.
26836         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26837         rule.
26838         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26839         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26840         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26841         [generic bits/errno.h] (common-generated): Do not append to
26842         variable.
26843         [generic bits/ioctls.h] (before-compile): Do not append to
26844         variable.
26845         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26846         rule.
26847         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26848         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26849         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26850         rule.
26851         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26852         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26853         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26854         [generic bits/ioctls.h] (common-generated): Do not append to
26855         variable.
26856         [generic sys/syscall.h] (syscall.h): Remove variable.
26857         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26858         rule.
26859         [generic sys/syscall.h] (before-compile): Do not append to
26860         variable.
26861         [generic sys/syscall.h] (common-generated): Likewise.
26862         * sysdeps/unix/errnos-tmpl.c: Remove file.
26863         * sysdeps/unix/errnos.awk: Likewise.
26864         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26865         * sysdeps/unix/ioctls.awk: Likewise.
26866         * sysdeps/unix/mk-local_lim.c: Likewise.
26867         * sysdeps/unix/snarf-ioctls: Likewise.
26869 2012-03-19  Richard Henderson  <rth@twiddle.net>
26871         * sysdeps/i386/fpu/fenv_private.h: New file.
26872         * sysdeps/i386/fpu/math_private.h: Use it.
26873         (math_opt_barrier, math_force_eval): Remove.
26874         (libc_feholdexcept_setround_53bit): Remove.
26875         (libc_feupdateenv_53bit): Remove.
26876         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26877         (math_opt_barrier, math_force_eval): Remove.
26878         (libc_feholdexcept): Remove.
26879         (libc_feholdexcept_setround): Remove.
26880         (libc_fetestexcept, libc_fesetenv): Remove.
26881         (libc_feupdateenv_test): Remove.
26882         (libc_feupdateenv, libc_feholdsetround): Remove.
26883         (libc_feresetround): Remove.
26885         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26886         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26888         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26889         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26890         (libc_feupdateenv_testl): New.
26891         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26892         (libc_feupdateenv_testf): New.
26893         (libc_feupdateenv): Use libc_feupdateenv_test.
26894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26897         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26898         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26899         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26900         (libc_feresetround_noex): New.
26901         (libc_feresetround_noexf): New.
26902         (libc_feresetround_noexl): New.
26903         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26904         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26905         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26906         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26907         SET_RESTORE_ROUND.
26908         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26910         (__cos): Likewise.
26911         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26912         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26913         SET_RESTORE_ROUND_NOEX.
26914         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26915         SET_RESTORE_ROUND_NOEXF.
26916         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26917         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26918         (libc_feholdsetroundf): New.
26919         (libc_feresetround, libc_feresetroundf): New.
26921         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26922         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26923         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26925         * sysdeps/generic/math_private.h: Include <fenv.h>.
26926         (default_libc_feholdexcept): New.
26927         (default_libc_feholdexcept_setround): New.
26928         (default_libc_fesetenv, default_libc_feupdateenv): New.
26929         (libc_feholdexcept): Only define if undefined.
26930         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26931         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26932         (libc_feholdexcept_setroundl): Likewise.
26933         (libc_feholdexcept_setround_53bit): Likewise.
26934         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26935         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26936         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26937         (libc_feupdateenv_53bit): Likewise.
26938         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26939         (libc_feholdexcept): Convert from macro to inline function.
26940         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26941         (libc_fesetenv, libc_feupdateenv): Likewise.
26943         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26944         not previously defined.
26945         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26946         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26947         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26948         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26949         * sysdeps/ieee754/flt-32/math_private.h: New file.
26950         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26951         math_private.h below SET_FLOAT_WORD.
26952         (__isnan, __isinf_ns, __finite): Remove.
26953         (__isnanf, __isinf_nsf, __finitef): Remove.
26955 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26959 2012-03-17  David S. Miller  <davem@davemloft.net>
26961         [BZ #6471]
26962         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26963         for 2.16.
26965 2012-03-16  David S. Miller  <davem@davemloft.net>
26967         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26968         warnings.
26970         [BZ #6471]
26971         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26972         properly.
26973         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26974         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26975         sysdep_routines when subdir is sysvipc.
26976         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26977         __getshmlba helper.
26979         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26983         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26984         [__LP64__].
26986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26988         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26989         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26990         (__lround): Renamed to ...
26991         (__llround): This.  Replace long int with long long int.
26992         Define lround functions as aliases of llround functions.
26993         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26995 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26997         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26998         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26999         adresses to uintptr_t.  Replace "long int" and "unsigned long
27000         int" with "greg_t" on va_arg.
27002 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27004         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27005         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27007         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27008         Move e_machine check before EI_CLASS check.  Handle x32
27009         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27010         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27011         SKIP_EM_IA_64 and include
27012         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27014         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27015         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27016         (add_system_dir): New macro.
27018         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27019         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27021 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27023         [BZ #2551]
27024         [BZ #2552]
27025         [BZ #2553]
27026         [BZ #2554]
27027         [BZ #2562]
27028         [BZ #2563]
27029         [BZ #2565]
27030         [BZ #2566]
27031         [BZ #2576]
27032         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27033         (y0): Likewise.
27034         * math/w_j0f.c (j0f): Likewise.
27035         (y0f): Likewise.
27036         * math/w_j0l.c (__j0l): Likewise.
27037         (__y0l): Likewise.
27038         * math/w_j1.c (j1): Likewise.
27039         (y1): Likewise.
27040         * math/w_j1f.c (j1f): Likewise.
27041         (y1f): Likewise.
27042         * math/w_j1l.c (__j1l): Likewise.
27043         (__y1l): Likewise.
27044         * math/w_jn.c (jn): Likewise.
27045         (yn): Likewise.
27046         * math/w_jnf.c (jnf): Likewise.
27047         (ynf): Likewise.
27048         * math/w_jnl.c (__jnl): Likewise.
27049         (__ynl): Likewise.
27050         * math/libm-test.inc (j0_test): Add more tests.
27051         (j1_test): Likewise.
27052         (jn_test): Likewise.  Add trailing semicolon to existing test.
27053         (y0_test): Likewise.
27054         (y1_test): Likewise.
27055         * sysdeps/i386/fpu/libm-test-ulps: Update.
27056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27058         [BZ #13851]
27059         [BZ #13854]
27060         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27061         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27062         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27063         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27064         (__tanl): Set errno for infinite argument.
27065         * sysdeps/i386/fpu/mptan.c: Remove.
27066         * sysdeps/i386/fpu/s_tan.S: Likewise.
27067         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27068         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27069         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27070         * math/libm-test.inc (tan_test): Add more tests and enable more
27071         tests for double and long double.
27072         * sysdeps/i386/fpu/libm-test-ulps: Update.
27073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27075 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27077         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27078         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27080 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27082         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27083         * configure.in: Use it for both main tree and add-ons.
27084         * configure: Regenerated.
27086 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27088         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27090 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27092         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27093         in comment.
27095         [BZ #13851]
27096         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27097         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27099         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27100         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27101         infinite argument.
27102         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27103         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27104         != 0 for prec == 2.
27105         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27106         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27107         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27108         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27109         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27110         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27111         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27112         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27113         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27114         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27115         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27116         * math/libm-test.inc (cos_test): Add more tests and enable more
27117         tests for long double.
27118         (sin_test): Likewise.
27119         (sincos_test): Likewise.
27120         * sysdeps/i386/fpu/libm-test-ulps: Update.
27121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27123 2012-03-16  David S. Miller  <davem@davemloft.net>
27125         * sysdeps/sparc/fpu/math_private.h: New file.
27127 2012-03-15  David S. Miller  <davem@davemloft.net>
27129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27130         file.
27131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27133         file.
27134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27140         sysdep routines.
27141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27143         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27144         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27146         * sysdeps/sparc/sparc-ifunc.h: New file.
27147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27148         sparc-ifunc.h
27149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27151         Likewise.
27152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27153         Likewise.
27154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27158         Likewise.
27159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27164         Likewise.
27165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27166         Likewise.
27167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27173         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27174         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27185         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27186         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27187         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27188         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27189         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27190         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27192 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27194         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27195         scaling.
27196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27198 2012-03-15  Andreas Jaeger  <aj@suse.de>
27200         [BZ #13852]
27201         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27202         ieee754/flt-32 implementation for sin, cos and sincos.
27203         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27204         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27205         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27206         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27207         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27208         ieee754/flt-32 implementation for tan.
27210         * math/libm-test.inc (cos_test): Enable some large input tests for
27211         float as well
27212         (sin_test): Likewise.
27213         (sincos_test): Likewise.
27214         (tan_test): Add tests for large input.
27216         * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 2012-03-15  Andreas Jaeger  <aj@suse.de>
27220         [BZ #13658]
27221         * math/libm-test.inc (cos_test): Add more test cases.
27222         (sin_test): Likewise.
27223         (sincos_test): Likewise.
27225 2012-03-15  Andreas Jaeger  <aj@suse.de>
27227         [BZ #13837]
27228         * math/libm-test.inc (cos_test): Add a test case for large input
27229         value.
27230         (sin_test): Likewise.
27231         (sincos_test): Likewise.
27233 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27234         Joseph Myers  <joseph@codesourcery.com>
27236         [BZ #13658]
27237         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27238         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27239         * sysdeps/i386/fpu/branred.c: Likewise.
27240         * sysdeps/i386/fpu/dosincos.c: Likewise.
27241         * sysdeps/i386/fpu/mpa.c: Likewise.
27242         * sysdeps/i386/fpu/s_cos.S: Likewise.
27243         * sysdeps/i386/fpu/s_sin.S: Likewise.
27244         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27245         * sysdeps/i386/fpu/sincos32.c: Likewise.
27247         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27248         Define.
27249         (libc_feupdateenv_53bit): Define.
27250         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27251         Define.
27252         (libc_feupdateenv_53bit): Define.
27254         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27255         53 bit (without extend i386 double precision).
27257         * math/libm-test.inc (sincos_test): Add tests for large input.
27258         (sin): Likewise.
27259         (cos): Likewise.
27261         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27263 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27267 2012-03-15  David S. Miller  <davem@davemloft.net>
27269         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27270         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27271         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27272         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27285         file.
27286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27288         file.
27289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27291         file.
27292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27294         file.
27295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27296         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27297         fmin/fmax sysdep routines.
27298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27300 2012-03-14  David S. Miller  <davem@davemloft.net>
27302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27306         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27307         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27308         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27309         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27329         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27331         routines.
27332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27333         file.
27334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27336         file.
27337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27339         file.
27340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27342         file.
27343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27345         file.
27346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27348         file.
27349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27350         file.
27351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27352         file.
27353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27354         file.
27355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27356         New file.
27357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27358         file.
27359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27360         file.
27361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27363         file.
27364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27366         file.
27367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27369         file.
27370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27372         VIS3 routines.
27374         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27375         New file.
27377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27379         * sysdeps/sparc/configure.in: New file.
27380         * sysdeps/sparc/configure: Generate.
27381         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27382         * configure: Regenerate.
27383         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27384         * config.make.in (have-as-vis3): New.
27385         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27386         available use -Av9d instead of -Av9a.
27387         * sysdeps/sparc/sparc64/Makefile: Likewise.
27388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27390         New file.
27391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27392         file.
27393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27394         New file.
27395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27396         file.
27397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27399         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27400         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27401         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27403         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27404         fzeros/fnegs to load 0x80000000 into a float register instead of
27405         using the stack.
27406         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27408 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27411         bits/syscall.h.
27412         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27413         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27414         ($(inst_includedir)/bits/syscall.h): Remove rule.
27415         ($(objpfx)bits/syscall.d): Include instead of
27416         $(objpfx)syscall-list.d.
27417         (generated): Change syscall-list.h and syscall-list.d to
27418         bits/syscall.h and bits/syscall.d.
27420 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27422         [BZ #13846]
27423         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27425 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27427         [BZ #13841]
27428         * math/s_csqrt.c: Include <float.h>.
27429         (__csqrt): Scale large or subnormal inputs.
27430         * math/s_csqrtf.c: Likewise.
27431         * math/s_csqrtl.c: Likewise.
27432         * math/libm-test.inc (csqrt_test): Add more tests.
27433         * sysdeps/i386/fpu/libm-test-ulps: Update.
27434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436         [BZ #13840]
27437         * math/libm-test.inc (hypot_test): Add more tests.
27439 2012-03-13  David S. Miller  <davem@davemloft.net>
27441         [BZ #13840]
27442         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27443         double-precision for the calculation instead of scaling.
27445 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27447         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27448         manipulate bits before adding and subtracting TWO52[sx].
27449         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27450         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27451         Likewise.
27452         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27454 2012-03-13  David S. Miller  <davem@davemloft.net>
27456         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27457         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27459         rtld-global-offsets.h
27460         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27462         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27463         large parameters.
27465         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27467         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27468         'err' in the ifdef scope in which it is actually used.
27470         * nss/nss_db/db-init.c: Include string.h
27472 2012-03-12  David S. Miller  <davem@davemloft.net>
27474         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27475         masking out of the most significant byte of random value used.
27476         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27477         Fix coding style in previous change.
27479         * sysdeps/unix/sysv/linux/kernel-features.h
27480         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27481         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27482         expression.
27483         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27484         later.
27486 2012-03-11  David S. Miller  <davem@davemloft.net>
27488         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27489         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27490         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27491         for 'resultvar' otherwise things get truncated on 64-bit.
27493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27494         Fix masking out of the most significant byte of random value used.
27496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27498 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27502 2012-03-09  David S. Miller  <davem@davemloft.net>
27504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27505         variables with appropriate CPP guards.
27506         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27507         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27508         on resulting framesize and the management of the outregs buffer for pltexit.
27509         Preserve floating point return values across _dl_call_pltexit call.
27510         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27511         framesize and the management of the outregs buffer for pltexit.
27512         Preserve floating point return values across _dl_call_pltexit
27513         call.
27514         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27515         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27516         (print_exit): Fix format string for return register value.
27518 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27520         * sunrpc/Makefile (others): Add rpcgen.
27521         ($(objpfx)rpcgen): Remove special build rule and dependency on
27522         libc.
27523         * sunrpc/rpcgen.c: New file.
27525 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27527         [BZ #13673]
27528         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27529         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27530         * sysdeps/i386/crti.S: Likewise.
27531         * sysdeps/i386/crtn.S: Likewise.
27532         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27533         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27534         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27535         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27536         * sysdeps/sh/crti.S: Likewise.
27537         * sysdeps/sh/crtn.S: Likewise.
27538         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27540         [BZ #13673]
27541         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27542         with URL.
27543         * locale/programs/locfile-kw.gperf: Likewise.
27544         * locale/programs/charmap-kw.h: Regenerated.
27545         * locale/programs/locfile-kw.h: Likewise.
27547         [BZ #13673]
27548         * intl/plural.y: Replace FSF snail mail address with URL.
27549         * intl/plural.c: Regenerated.
27551 2012-03-09  Richard Henderson  <rth@twiddle.net>
27553         * include/math_private.h: Remove file.
27554         * math/math_private.h: Move file ...
27555         * sysdeps/generic/math_private.h: ... here.
27557         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27558         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27559         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27561         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27562         and <math_private.h>.
27563         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27564         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27565         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27566         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27567         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27568         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27569         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27570         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27571         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27572         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27574         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27575         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27576         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27577         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27578         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27579         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27580         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27581         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27582         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27584         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27585         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27587         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27589         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27590         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27594         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27598         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27600         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27601         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27602         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27603         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27604         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27605         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27606         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27607         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27608         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27609         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27610         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27611         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27612         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27621         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27622         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27623         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27624         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27626         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27627         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27628         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27629         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27630         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27631         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27632         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27633         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27634         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27635         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27636         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27637         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27640         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27641         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27642         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27643         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27644         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27646         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27647         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27648         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27650         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27651         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27652         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27653         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27654         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27655         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27656         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27657         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27658         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27659         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27660         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27661         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27662         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27663         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27664         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27665         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27666         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27667         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27668         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27669         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27670         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27671         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27672         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27673         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27674         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27675         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27676         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27677         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27678         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27679         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27680         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27681         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27682         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27683         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27684         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27685         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27686         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27687         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27688         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27689         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27690         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27691         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27692         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27693         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27694         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27695         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27696         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27697         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27698         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27699         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27700         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27701         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27702         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27703         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27704         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27705         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27706         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27707         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27708         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27709         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27710         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27711         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27712         * sysdeps/ieee754/k_standard.c: Likewise.
27713         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27714         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27715         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27716         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27717         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27718         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27719         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27720         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27721         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27722         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27723         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27724         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27725         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27726         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27727         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27728         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27729         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27730         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27731         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27732         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27733         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27734         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27736         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27737         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27738         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27739         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27740         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27741         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27742         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27743         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27744         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27745         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27746         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27747         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27748         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27749         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27750         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27751         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27752         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27753         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27754         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27755         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27756         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27757         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27758         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27759         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27760         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27761         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27762         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27764         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27765         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27766         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27767         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27768         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27769         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27770         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27771         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27772         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27773         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27774         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27775         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27780         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27781         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27782         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27783         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27785         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27786         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27787         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27789         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27790         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27791         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27792         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27793         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27794         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27795         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27796         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27797         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27798         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27799         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27800         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27801         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27803         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27804         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27805         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27806         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27807         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27808         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27810         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27811         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27812         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27814         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27816         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27817         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27820         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27821         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27824         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27825         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27826         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27828         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27831         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27832         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27833         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27835         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27840         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27845         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27847         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27849         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27850         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27851         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27852         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27853         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27855         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27856         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27857         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27858         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27859         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27860         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27861         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27862         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27863         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27864         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27865         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27866         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27867         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27868         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27869         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27870         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27871         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27872         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27873         * sysdeps/ieee754/s_lib_version.c: Likewise.
27874         * sysdeps/ieee754/s_matherr.c: Likewise.
27875         * sysdeps/ieee754/s_signgam.c: Likewise.
27876         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27877         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27878         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27879         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27880         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27881         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27882         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27883         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27884         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27885         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27886         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27887         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27888         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27889         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27890         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27891         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27893         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27894         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27898 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27900         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27901         * sunrpc/rpc_main.c: Likewise.
27902         * sunrpc/rpc_svcout.c: Likewise.
27904 2012-03-09  David S. Miller  <davem@davemloft.net>
27906         * include/math_private.h: New file.
27908 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27910         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27911         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27912         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27913         from <bits/socket_type.h>.
27914         (enum __socket_type): Don't define here.
27915         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27917         bits/socket_type.h.
27919         [BZ #13566]
27920         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27921         checking __USE_GNU.
27923         * Makerules ($(inst_includedir)/%.h): New rule.
27924         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27925         (install-others): Remove variable setting.
27926         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27928 2012-03-08  Richard Henderson  <rth@twiddle.net>
27930         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27931         from macro to inline function; merge with the
27932         !__LIBC_INTERNAL_MATH_INLINES version.
27933         (__ieee754_sqrtf): Likewise.
27935         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27936         to inline function.
27937         (__rintf, __floor, __floorf): Likewise.
27939         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27940         macro to inline function.
27941         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27943         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27944         not <math/math_private.h>.
27946 2012-03-08  David S. Miller  <davem@davemloft.net>
27948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27949         copyright year.
27950         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27952 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27954         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27955         normalization.
27956         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27957         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27959 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27961         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27962         be defined individually, they must be defined as a block.  Define
27963         S for printing a string instead of hidint the different by using a
27964         macro for adding the 'l'.
27965         * stdio-common/tst-fphex-wide.c: Adjust.
27967 2012-03-07  Marek Polacek  <polacek@redhat.com>
27969         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27971 2012-03-08  Marek Polacek  <polacek@redhat.com>
27973         [BZ #13806]
27974         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27975         * stdio-common/tst-fphex.c: Define a few macros to make the
27976         test reusable.  Use them.
27977         * stdio-common/tst-fphex-wide.c: New file.
27979 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27981         [BZ #6911]
27982         * manual/macros.texi (gnusystems): New macro.
27983         (nongnusystems): Likewise.
27984         (gnulinuxhurdsystems): Likewise.
27985         (gnuhurdsystems): Likewise..
27986         (gnulinuxsystems): Likewise.
27987         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27988         variants of the GNU system, not "GNU system".
27989         * manual/conf.texi: Likewise.
27990         * manual/errno.texi: Likewise.  Update example of errno macro
27991         expansion.
27992         * manual/filesys.texi: Likewise.
27993         (getumask): Document as specific to GNU/Hurd.
27994         * manual/install.texi: Likewise.  Reword some references to
27995         GNU/Linux.
27996         * manual/intro.texi: Likewise.
27997         * manual/io.texi: Likewise.
27998         (File Name Portability): Detail which constraints are inapplicable
27999         to all GNU systems and which are only inapplicable to GNU/Hurd.
28000         * manual/job.texi: Likewise.
28001         * manual/llio.texi: Likewise.
28002         (O_NOCTTY): Document as present on GNU/Linux.
28003         * manual/maint.texi: Likewise.
28004         * manual/memory.texi: Likewise.
28005         * manual/pattern.texi: Likewise.
28006         * manual/pipe.texi: Likewise.
28007         * manual/process.texi: Likewise.
28008         * manual/resource.texi: Likewise.
28009         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28010         child on GNU/Hurd.
28011         * manual/setjmp.texi: Likewise.
28012         * manual/signal.texi: Likewise.
28013         * manual/startup.texi: Likewise.
28014         * manual/stdio.texi: Likewise.
28015         * manual/terminal.texi: Likewise.
28016         (ONLCR): Document as POSIX.
28017         (OXTABS): Document availability on GNU/Linux as XTABS.
28018         (ONOEOT): Document availability separately from other bits.
28019         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28020         * manual/time.texi: Likewise.
28021         * manual/users.texi: Likewise.
28022         * INSTALL: Regenerated.
28023         * sysdeps/gnu/errlist.c: Regenerated.
28025         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28026         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28027         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28028         puts.
28029         * configure: Regenerated.
28031 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28033         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28034         default includes instead of AC_HEADER_CHECK.
28035         * sysdeps/i386/configure: Regenerated.
28037         [BZ #10716]
28038         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28039         * math/s_cacoshf.c (__cacoshf): Likewise.
28040         * math/s_cacoshl.c (__cacoshl): Likewise.
28041         * math/s_casinh.c (__casinh): Set signs of result from argument.
28042         * math/s_casinhf.c (__casinhf): Likewise.
28043         * math/s_casinhl.c (__casinhl): Likewise.
28044         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28045         (casinh_test): Add more tests.
28046         * sysdeps/i386/fpu/libm-test-ulps: Update.
28047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28051         * po/zh_TW.po: Update from translation team.
28053         * login/Makefile (distribute): Remove variable.
28054         * catgets/Makefile: Likewise.
28055         * mach/Makefile: Likewise.
28056         * malloc/Makefile: Likewise.
28057         * misc/Makefile: Likewise.
28058         * iconv/Makefile: Likewise.
28059         * nscd/Makefile: Likewise.
28060         * hurd/Makefile: Likewise.
28061         * manual/Makefile: Likewise.
28062         * locale/Makefile: Likewise.
28063         * intl/Makefile: Likewise.
28064         * conform/Makefile: Likewise.
28065         * nss/Makefile: Likewise.
28066         * time/Makefile: Likewise.
28067         * soft-fp/Makefile: Likewise.
28068         * dirent/Makefile: Likewise.
28069         * gmon/Makefile: Likewise.
28070         * po/Makefile: Likewise.
28071         * rt/Makefile: Likewise.
28072         * socket/Makefile: Likewise.
28073         * math/Makefile: Likewise.
28074         * signal/Makefile: Likewise.
28075         * debug/Makefile: Likewise.
28076         * elf/Makefile: Likewise.
28077         * timezone/Makefile: Likewise.
28078         * stdlib/Makefile: Likewise.
28079         * iconvdata/Makefile: Likewise.
28080         * sunrpc/Makefile: Likewise.
28081         * io/Makefile: Likewise.
28082         * argp/Makefile: Likewise.
28083         * inet/Makefile: Likewise.
28084         * hesiod/Makefile: Likewise.
28085         * grp/Makefile: Likewise.
28086         * csu/Makefile: Likewise.
28087         * wctype/Makefile: Likewise.
28088         * crypt/Makefile: Likewise.
28089         * libio/Makefile: Likewise.
28090         * string/Makefile: Likewise.
28091         * nis/Makefile: Likewise.
28092         * resolv/Makefile: Likewise.
28093         * stdio-common/Makefile: Likewise.
28094         * wcsmbs/Makefile: Likewise.
28095         * dlfcn/Makefile: Likewise.
28096         * posix/Makefile: Likewise.
28098         [BZ #6959]
28099         * timezone/Makefile: Don't install timezone files, just the programs
28100         and scripts.
28102 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28104         * nss/databases.def: Add missing gshadow entry.
28106         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28108 2012-03-06  Marek Polacek  <polacek@redhat.com>
28110         [BZ #13726]
28111         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28112         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28113         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28114         * stdio-common/tst-long-dbl-fphex.c: New file.
28116 2012-03-06  David S. Miller  <davem@davemloft.net>
28118         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28119         (set_obp_int): New function.
28120         (get_obp_int): New function.
28121         (__get_clockfreq_via_dev_openprom): Likewise.
28122         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28123         Avoid unused variable warnings on 'val' and use builtin_expect.
28124         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28125         __builtin_expect.
28126         (INLINE_CLONE_SYSCALL): Likewise.
28128 2012-03-05  David S. Miller  <davem@davemloft.net>
28130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28132 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28136         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28137         only for |x| >= 40.
28138         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28140 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28143         Replace gettimeofday with __vdso_gettimeofday.
28145         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28146         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28147         __vdso_clock_gettime and __vdso_getcpu.
28149         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28150         time with __vdso_time.
28152 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28154         * manual/lang.texi (size_t): Note types to which size_t may be
28155         equivalent with the GNU C Library, but do not describe when
28156         differences between them are significant.
28158 2012-03-05  Andreas Jaeger  <aj@suse.de>
28160         * sysdeps/i386/fpu/libm-test-ulps: Update.
28162 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28164         [BZ #3976]
28165         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28166         (__ieee754_pow): Save and restore rounding mode and use
28167         round-to-nearest for main computations.
28168         * math/libm-test.inc (pow_test_tonearest): New function.
28169         (pow_test_towardzero): Likewise.
28170         (pow_test_downward): Likewise.
28171         (pow_test_upward): Likewise.
28172         (main): Call the new functions.
28173         * sysdeps/i386/fpu/libm-test-ulps: Update.
28174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28176         [BZ #3976]
28177         * math/libm-test.inc (cosh_test_tonearest): New function.
28178         (cosh_test_towardzero): Likewise.
28179         (cosh_test_downward): Likewise.
28180         (cosh_test_upward): Likewise.
28181         (sinh_test_tonearest): Likewise.
28182         (sinh_test_towardzero): Likewise.
28183         (sinh_test_downward): Likewise.
28184         (sinh_test_upward): Likewise.
28185         (main): Call the new functions.
28186         * sysdeps/i386/fpu/libm-test-ulps: Update.
28187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28189 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28191         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28192         default stack guard is set in last bytes.
28193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28195 2012-03-05  Kees Cook  <keescook@chromium.org>
28197         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28199         [BZ #13656]
28200         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28201         possibly allocate from heap instead of stack.
28202         * stdio-common/bug-vfprintf-nargs.c: New file.
28203         * stdio-common/Makefile (tests): Add nargs overflow test.
28205 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28209 2012-03-03  Marek Polacek  <polacek@redhat.com>
28211         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28212         * math/math_private.h: Likewise.
28213         * stdlib/tst-strtod.c: Likewise.
28214         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28215         * sysdeps/x86_64/bits/atomic.h: Likewise.
28217 2012-03-02  David S. Miller  <davem@davemloft.net>
28219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28223         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28224         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28225         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28226         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28228 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28230         [BZ #13792]
28231         * manual/examples/README: New file, says the example source files
28232         can be used under GPL>=2.
28233         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28234         line containing just "*/".
28235         * manual/examples/add.c: Add copyright header (GPL>=2).
28236         * manual/examples/argp-ex1.c: Likewise.
28237         * manual/examples/argp-ex2.c: Likewise.
28238         * manual/examples/argp-ex3.c: Likewise.
28239         * manual/examples/argp-ex4.c: Likewise.
28240         * manual/examples/atexit.c: Likewise.
28241         * manual/examples/db.c: Likewise.
28242         * manual/examples/dir.c: Likewise.
28243         * manual/examples/dir2.c: Likewise.
28244         * manual/examples/execinfo.c: Likewise.
28245         * manual/examples/filecli.c: Likewise.
28246         * manual/examples/filesrv.c: Likewise.
28247         * manual/examples/fmtmsgexpl.c: Likewise.
28248         * manual/examples/genpass.c: Likewise.
28249         * manual/examples/inetcli.c: Likewise.
28250         * manual/examples/inetsrv.c: Likewise.
28251         * manual/examples/isockad.c: Likewise.
28252         * manual/examples/longopt.c: Likewise.
28253         * manual/examples/memopen.c: Likewise.
28254         * manual/examples/memstrm.c: Likewise.
28255         * manual/examples/mkfsock.c: Likewise.
28256         * manual/examples/mkisock.c: Likewise.
28257         * manual/examples/mygetpass.c: Likewise.
28258         * manual/examples/pipe.c: Likewise.
28259         * manual/examples/popen.c: Likewise.
28260         * manual/examples/rprintf.c: Likewise.
28261         * manual/examples/search.c: Likewise.
28262         * manual/examples/select.c: Likewise.
28263         * manual/examples/setjmp.c: Likewise.
28264         * manual/examples/sigh1.c: Likewise.
28265         * manual/examples/sigusr.c: Likewise.
28266         * manual/examples/stpcpy.c: Likewise.
28267         * manual/examples/strdupa.c: Likewise.
28268         * manual/examples/strftim.c: Likewise.
28269         * manual/examples/strncat.c: Likewise.
28270         * manual/examples/subopt.c: Likewise.
28271         * manual/examples/swapcontext.c: Likewise.
28272         * manual/examples/termios.c: Likewise.
28273         * manual/examples/testopt.c: Likewise.
28274         * manual/examples/testpass.c: Likewise.
28275         * manual/examples/timeval_subtract.c: Likewise.
28277         [BZ #13792]
28278         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28279         function to ...
28280         * manual/timeval_subtract.c.texi: ... here, new file.
28282 2012-03-02  David S. Miller  <davem@davemloft.net>
28284         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28286 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28288         [BZ #3976]
28289         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28290         (__sin): Save and restore rounding mode and use round-to-nearest
28291         for all computations.
28292         (__cos): Save and restore rounding mode and use round-to-nearest
28293         for all computations.
28294         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28295         <fenv.h>.
28296         (tan): Save and restore rounding mode and use round-to-nearest for
28297         all computations.
28298         * math/libm-test.inc (cos_test_tonearest): New function.
28299         (cos_test_towardzero): Likewise.
28300         (cos_test_downward): Likewise.
28301         (cos_test_upward): Likewise.
28302         (sin_test_tonearest): Likewise.
28303         (sin_test_towardzero): Likewise.
28304         (sin_test_downward): Likewise.
28305         (sin_test_upward): Likewise.
28306         (tan_test_tonearest): Likewise.
28307         (tan_test_towardzero): Likewise.
28308         (tan_test_downward): Likewise.
28309         (tan_test_upward): Likewise.
28310         (main): Call the new functions.
28311         * sysdeps/i386/fpu/libm-test-ulps: Update.
28312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28314         [BZ #10135]
28315         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28316         small n, then large n, before computing and testing k+n.
28317         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28319         Likewise.
28320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28321         Likewise.
28322         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28323         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28324         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28325         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28326         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28327         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28328         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28329         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28330         * math/libm-test.inc (scalbn_test): Add more tests.
28331         (scalbln_test): Likewise.
28333         * manual/filesys.texi (mode_t): Describe constraints on size and
28334         signedness, not exact equivalence to a particular type.
28335         (ino_t): Likewise.
28336         (ino64_t): Likewise.
28337         (dev_t): Likewise.
28338         (nlink_t): Likewise.
28339         (blkcnt_t): Likewise.
28340         (blkcnt64_t): Likewise.
28341         * manual/llio.texi (off_t): Likewise.
28343         [BZ #3976]
28344         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28345         (__ieee754_exp): Save and restore rounding mode and use
28346         round-to-nearest for all computations.
28347         * math/libm-test.inc (exp_test_tonearest): New function.
28348         (exp_test_towardzero): Likewise.
28349         (exp_test_downward): Likewise.
28350         (exp_test_upward): Likewise.
28351         (main): Call the new functions.
28352         * sysdeps/i386/fpu/libm-test-ulps: Update.
28353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28355 2012-03-01  Chris Demetriou  <cgd@google.com>
28357         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28358         have predictable order.
28360 2012-03-01  David S. Miller  <davem@davemloft.net>
28362         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28364         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28365         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28366         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28367         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28369         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28370         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28371         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28373         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28374         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28375         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28376         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28377         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28381         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28382         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28383         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28385         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28386         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28387         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28388         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28389         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28390         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28391         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28392         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28393         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28394         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28395         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28396         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28398         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28399         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28401         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28402         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28403         * sysdeps/sparc/elf/configure: Regenerated.
28405 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28407         * configure.in (AS, LD): Require binutils 2.20 or later.
28408         * configure: Regenerated.
28409         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28410         as required minimum version.
28411         * INSTALL: Regenerated.
28413         [BZ #2541]
28414         [BZ #4108]
28415         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28416         before squaring exponent.
28417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28418         bottom long double and 27 bits of top long double before squaring
28419         exponent.
28420         * math/libm-test.inc (erfc_test): Add more tests.
28421         * sysdeps/i386/fpu/libm-test-ulps: Update.
28422         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28425 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28427         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28428         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28429         containing bit-fields.
28430         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28431         * soft-fp/single.h (_FP_UNION_S): Likewise.
28432         * soft-fp/double.h (_FP_UNION_D): Likewise.
28434 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28436         [BZ #13786]
28437         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28438         not include ../strcmp.S.
28439         [USE_AS_STRNCASECMP_L]: Likewise.
28440         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28441         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28442         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28443         (__strncasecmp_l_ia32): Define as alias to
28444         __strncasecmp_l_nonascii.
28446         [BZ #5794]
28447         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28448         * sysdeps/i386/fpu/libm-test-ulps: Update.
28449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28451         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28454 2012-02-29  Jeff Law  <law@redhat.com>
28456         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28457         out of bounds read.
28459 2012-02-29  Marek Polacek  <polacek@redhat.com>
28461         [BZ #13706]
28462         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28463         * elf/Makefile: Add rules to run tst-unused-dep.out.
28465 2012-02-28  David S. Miller  <davem@davemloft.net>
28467         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28468         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28469         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28470         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28471         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28472         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28474 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28476         * math/libm-test.inc (llround_test): Move one test from
28477         lround_test.  Use TEST_f_L in moved test.
28478         (lround_test): Move misplaced test to llround_test.  Add testcase
28479         from bug 2561.
28481 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28483         * sysdeps/x86_64/fpu/e_expf.S: New file.
28484         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28486 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28488         [BZ #13637]
28489         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28490         of remain_len that may cause incomplete multi-byte character and
28491         false match.
28492         * posix/bug-regex33.c: New file.
28493         * posix/Makefile (tests): Add bug-regex33.
28495 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28497         * manual/macros.texi: New file.
28498         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28499         * manual/libc.texinfo: Include macros.texi.
28500         * manual/creatute.texi: Likewise.
28501         * manual/install.texi: Likewise.
28502         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28503         @glibcadj{} in references to the GNU C Library.
28504         * manual/charset.texi: Likewise.
28505         * manual/conf.texi: Likewise.
28506         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28507         when not using those macros.
28508         * manual/creature.texi: Likewise.
28509         * manual/crypt.texi: Likewise.
28510         * manual/errno.texi: Likewise.
28511         * manual/filesys.texi: Likewise.
28512         * manual/header.texi: Likewise.
28513         * manual/install.texi: Likewise.
28514         * manual/intro.texi: Likewise.
28515         * manual/io.texi: Likewise.
28516         * manual/job.texi: Likewise.
28517         * manual/lang.texi: Likewise.
28518         * manual/libc.texiinfo: Likewise.
28519         * manual/llio.texi: Likewise.
28520         * manual/locale.texi: Likewise.
28521         * manual/maint.texi: Likewise.
28522         * manual/math.texi: Likewise.
28523         * manual/memory.texi: Likewise.
28524         * manual/message.texi: Likewise.
28525         * manual/nss.texi: Likewise.
28526         * manual/pattern.texi: Likewise.
28527         * manual/process.texi: Likewise.
28528         * manual/resource.texi: Likewise.
28529         * manual/search.texi: Likewise.
28530         * manual/setjmp.texi: Likewise.
28531         * manual/signal.texi: Likewise.
28532         * manual/socket.texi: Likewise.
28533         * manual/startup.texi: Likewise.
28534         * manual/stdio.texi: Likewise.
28535         * manual/string.texi: Likewise.
28536         * manual/sysinfo.texi: Likewise.
28537         * manual/syslog.texi: Likewise.
28538         * manual/terminal.texi: Likewise.
28539         * manual/time.texi: Likewise.
28540         * manual/users.texi: Likewise.
28541         * INSTALL: Regenerated.
28542         * NOTES: Regenerated.
28543         * sysdeps/gnu/errlist.c: Regenerated.
28545 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28547         * include/dirent.h: Include <dirstream.h> before
28548         <dirent/dirent.h>.
28550 2012-02-28  David S. Miller  <davem@davemloft.net>
28552         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28553         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28554         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28555         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28557 2012-02-27  David S. Miller  <davem@davemloft.net>
28559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28561         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28562         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28565         frame pointer instead of stack pointer relative arg slot.
28566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28570 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28572         [BZ #3992]
28573         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28575 2012-02-27  David S. Miller  <davem@davemloft.net>
28577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28583         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28584         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28586 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28588         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28589         later.  Allow versions 5-9.
28590         * configure: Regenerated.
28591         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28592         required minimum version and 4.6 as recommended version.  Do not
28593         mention bugs in GCC 2.7 and 2.8.
28594         * INSTALL: Regenerated.
28596 2012-02-27  David S. Miller  <davem@davemloft.net>
28598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28602         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28603         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28604         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28605         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28607         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28608         manipulate bits before adding and subtracting TWO112[sx].
28609         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28611 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28613         [BZ #13775]
28614         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28615         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28616         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28617         being in POSIX, because they are in 1003.1-2008.
28619         * rt/tst-aio.c: Include <fcntl.h>.
28620         * rt/tst-aio7.c: Likewise.
28621         * rt/tst-aio64.c: Likewise.
28623         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28625 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28627         * manual/install.texi (--with-headers): Describe headers as
28628         interface headers, not private headers.
28629         (Specific advice for GNU/Linux systems): Describe use of headers
28630         from "make headers_install", not private headers from older
28631         kernels.
28632         * INSTALL: Regenerated.
28633         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28634         Change to 2.6.19.
28635         * sysdeps/unix/sysv/linux/configure: Regenerated.
28637         * manual/llio.texi (fclean): Remove documentation.
28639         * manual/Makefile (libc-texi-generated): New variable.  Include
28640         version.texi.
28641         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28642         $(libc-texi-generated), not duplicated list of files.
28643         (version.texi, stamp-version): New rules.
28644         (realclean): Remove $(libc-texi-generated), not individual files
28645         from that list.  Do not remove dir-add.texinfo.
28646         * manual/libc.texinfo: Comment out uses of edition numbers and
28647         references to printed manual.  Remove last-updated dates.
28648         (EDITION): Comment out.
28649         (ISBN): Likewise.
28650         (VERSION, UPDATED): Remove.
28651         (version.texi): Include.
28653 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28655         * sysdeps/posix/spawni.c: Include <signal.h>.
28656         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28657         * sysdeps/pthread/aio_fsync.c: Likewise.
28659 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28661         * conform/Makefile (tests): Run only when not cross-compiling and
28662         when fast-check is not defined.
28664         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28665         * conform/data/limits.h-data: Fixes for POSIX2008.
28666         * conform/run-conformtest.sh: Run all tests.
28667         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28668         headers.
28669         * include/bits/dlfcn.h: Likewise.
28670         * include/langinfo.h: Likewise.
28671         * include/monetary.h: Likewise.
28672         * include/sys/poll.h: Likewise.
28674         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28675         for __USE_GNU.
28676         * posix/spawn.h: Define __need_sigset_t.
28677         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28678         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28679         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28680         to get sigevent_t only.
28681         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28682         only for __USE_GNU.
28683         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28684         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28685         process_vm_writev only for __USE_GNU.
28686         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28688         * conform/Makefile: For now ignore errors from run-conformtest.
28689         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28690         POSIX to avoid namespace pollution.  Don't prepend headers.
28691         * conform/data/aio.h-data: Fixes for POSIX testing.
28692         * conform/data/fcntl.h-data: Likewise.
28693         * conform/data/glob.h-data: Likewise.
28694         * conform/data/grp.h-data: Likewise.
28695         * conform/data/pthread.h-data: Likewise.
28696         * conform/data/pwd.h-data: Likewise.
28697         * conform/data/signal.h-data: Likewise.
28698         * conform/data/spawn.h-data: Likewise.
28699         * conform/data/stdio.h-data: Likewise.
28700         * conform/data/stdlib.h-data: Likewise.
28701         * conform/data/stropts.h-data: Likewise.
28702         * conform/data/sys/mman.h-data: Likewise.
28703         * conform/data/sys/stat.h-data: Likewise.
28704         * conform/data/sys/types.h-data: Likewise.
28705         * conform/data/sys/wait.h-data: Likewise.
28706         * conform/data/time.h-data: Likewise.
28707         * conform/data/unistd.h-data: Likewise.
28708         * conform/data/utime.h-data: Likewise.
28710         * io/sys/stat.h: fchmod was always in POSIX.
28711         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28712         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28713         * rt/aio.h: Define __need_timespec before including <time.h>.
28714         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28715         struct.  Add forward declaration of pthread_attr_t and use it in
28716         sigevent.
28717         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28718         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28719         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28720         always remove CLK_TCK definition.
28722 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28724         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28726 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28728         * conform/run-conformtest.sh: New file.
28729         * conform/Makefile: Run run-conformtest for tests.
28730         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28731         support.
28733         * conform/data/uchar.h-data: New file.
28734         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28735         * conform/data/arpa/inet.h-data: Likewise.
28736         * conform/data/assert.h-data: Likewise.
28737         * conform/data/complex.h-data: Likewise.
28738         * conform/data/cpio.h-data: Likewise.
28739         * conform/data/ctype.h-data: Likewise.
28740         * conform/data/dirent.h-data: Likewise.
28741         * conform/data/dlfcn.h-data: Likewise.
28742         * conform/data/errno.h-data: Likewise.
28743         * conform/data/fcntl.h-data: Likewise.
28744         * conform/data/float.h-data: Likewise.
28745         * conform/data/fmtmsg.h-data: Likewise.
28746         * conform/data/fnmatch.h-data: Likewise.
28747         * conform/data/ftw.h-data: Likewise.
28748         * conform/data/glob.h-data: Likewise.
28749         * conform/data/grp.h-data: Likewise.
28750         * conform/data/iconv.h-data: Likewise.
28751         * conform/data/inttypes.h-data: Likewise.
28752         * conform/data/langinfo.h-data: Likewise.
28753         * conform/data/libgen.h-data: Likewise.
28754         * conform/data/limits.h-data: Likewise.
28755         * conform/data/locale.h-data: Likewise.
28756         * conform/data/math.h-data: Likewise.
28757         * conform/data/monetary.h-data: Likewise.
28758         * conform/data/mqueue.h-data: Likewise.
28759         * conform/data/ndbm.h-data: Likewise.
28760         * conform/data/net/if.h-data: Likewise.
28761         * conform/data/netdb.h-data: Likewise.
28762         * conform/data/netinet/in.h-data: Likewise.
28763         * conform/data/nl_types.h-data: Likewise.
28764         * conform/data/poll.h-data: Likewise.
28765         * conform/data/pthread.h-data: Likewise.
28766         * conform/data/pwd.h-data: Likewise.
28767         * conform/data/regex.h-data: Likewise.
28768         * conform/data/sched.h-data: Likewise.
28769         * conform/data/search.h-data: Likewise.
28770         * conform/data/semaphore.h-data: Likewise.
28771         * conform/data/setjmp.h-data: Likewise.
28772         * conform/data/signal.h-data: Likewise.
28773         * conform/data/spawn.h-data: Likewise.
28774         * conform/data/stdarg.h-data: Likewise.
28775         * conform/data/stdio.h-data: Likewise.
28776         * conform/data/stdlib.h-data: Likewise.
28777         * conform/data/string.h-data: Likewise.
28778         * conform/data/strings.h-data: Likewise.
28779         * conform/data/stropts.h-data: Likewise.
28780         * conform/data/sys/ipc.h-data: Likewise.
28781         * conform/data/sys/mman.h-data: Likewise.
28782         * conform/data/sys/msg.h-data: Likewise.
28783         * conform/data/sys/resource.h-data: Likewise.
28784         * conform/data/sys/select.h-data: Likewise.
28785         * conform/data/sys/sem.h-data: Likewise.
28786         * conform/data/sys/shm.h-data: Likewise.
28787         * conform/data/sys/socket.h-data: Likewise.
28788         * conform/data/sys/stat.h-data: Likewise.
28789         * conform/data/sys/statvfs.h-data: Likewise.
28790         * conform/data/sys/time.h-data: Likewise.
28791         * conform/data/sys/timeb.h-data: Likewise.
28792         * conform/data/sys/times.h-data: Likewise.
28793         * conform/data/sys/types.h-data: Likewise.
28794         * conform/data/sys/uio.h-data: Likewise.
28795         * conform/data/sys/un.h-data: Likewise.
28796         * conform/data/sys/utsname.h-data: Likewise.
28797         * conform/data/sys/wait.h-data: Likewise.
28798         * conform/data/syslog.h-data: Likewise.
28799         * conform/data/tar.h-data: Likewise.
28800         * conform/data/termios.h-data: Likewise.
28801         * conform/data/utime.h-data: Likewise.
28802         * conform/data/utmpx.h-data: Likewise.
28803         * conform/data/varargs.h-data: Likewise.
28804         * conform/data/wchar.h-data: Likewise.
28805         * conform/data/wctype.h-data: Likewise.
28806         * conform/data/wordexp.h-data: Likewise.
28808         * include/stropts.h: New file.
28809         * include/uchar.h: New file.
28810         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28811         * include/assert.h: Likewise.
28812         * include/ctype.h: Likewise.
28813         * include/dirent.h: Likewise.
28814         * include/dlfcn.h: Likewise.
28815         * include/fcntl.h: Likewise.
28816         * include/fnmatch.h: Likewise.
28817         * include/glob.h: Likewise.
28818         * include/grp.h: Likewise.
28819         * include/libio.h: Likewise.
28820         * include/locale.h: Likewise.
28821         * include/math.h: Likewise.
28822         * include/net/if.h: Likewise.
28823         * include/netdb.h: Likewise.
28824         * include/netinet/in.h: Likewise.
28825         * include/pthread.h: Likewise.
28826         * include/pwd.h: Likewise.
28827         * include/regex.h: Likewise.
28828         * include/sched.h: Likewise.
28829         * include/search.h: Likewise.
28830         * include/setjmp.h: Likewise.
28831         * include/signal.h: Likewise.
28832         * include/stdio.h: Likewise.
28833         * include/stdlib.h: Likewise.
28834         * include/string.h: Likewise.
28835         * include/sys/cdefs.h: Likewise.
28836         * include/sys/mman.h: Likewise.
28837         * include/sys/msg.h: Likewise.
28838         * include/sys/resource.h: Likewise.
28839         * include/sys/select.h: Likewise.
28840         * include/sys/socket.h: Likewise.
28841         * include/sys/stat.h: Likewise.
28842         * include/sys/statvfs.h: Likewise.
28843         * include/sys/time.h: Likewise.
28844         * include/sys/times.h: Likewise.
28845         * include/sys/uio.h: Likewise.
28846         * include/sys/utsname.h: Likewise.
28847         * include/sys/wait.h: Likewise.
28848         * include/termios.h: Likewise.
28849         * include/time.h: Likewise.
28850         * include/ulimit.h: Likewise.
28851         * include/unistd.h: Likewise.
28852         * include/utime.h: Likewise.
28853         * include/wchar.h: Likewise.
28854         * include/wctype.h: Likewise.
28855         * include/wordexp.h: Likewise.
28857         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28859         * time/time.h: TIME_UTC must be a macro.
28860         Make timespec_get available for ISO C11 only as well.
28862 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28864         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28865         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28867 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28869         * configure.in: Use -o not -a in test for unsupported multi-arch.
28871 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28873         * manual/texinfo.tex: Update to version 2012-01-19.16.
28875 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28877         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28879 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28881         [BZ #13738]
28882         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28883         * manual/fdl-1.3.texi: New file.
28884         * manual/fdl-1.1.texi: File removed.
28886         [BZ #13738]
28887         * manual/libc.texinfo (FDL_VERSION): New @set.
28888         Use it for mention of FDL in cover text.
28889         (Documentation License): Use it in @include file name.
28891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28892             Roland McGrath  <roland@hack.frob.com>
28894         [BZ #5461]
28895         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28896         not LONG_LONG_MAX and LONG_LONG_MIN.
28897         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28898         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28899         name.
28900         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28904         [BZ #2547]
28905         [BZ #11365]
28906         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28907         manipulate bits before adding and subtracting TWO23[sx].
28908         * math/libm-test.inc (nearbyint_test): Add more tests.
28910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28912         [BZ #2548]
28913         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28914         bits before adding and subtracting TWO23[sx].
28915         * math/libm-test.inc (rint_test): Add more tests.
28916         (rint_test_tonearest): Likewise.
28917         (rint_test_towardzero): Likewise.
28918         (rint_test_downward): Likewise.
28919         (rint_test_upward: Likewise.
28921 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28923         [BZ #10110]
28924         * include/stdc-predef.h: New file.  Extracted from features.h.
28925         * include/features.h: Include stdc-predef.h.
28926         * Makefile (headers): Add stdc-predef.h.
28927         * CONFORMANCE (Compiler limitations): Update.
28929 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28931         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28933 2012-02-21  David S. Miller  <davem@davemloft.net>
28935         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28936         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28938 2012-02-20  David S. Miller  <davem@davemloft.net>
28940         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28941         using a normal save/restore sequence, rather than allocating a
28942         dummy stack frame just to store a frame pointer and restore.
28943         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28945 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28947         * manual/install.texi: Fix stray word in line-wrapped comment.
28949 2012-02-20  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28952         both binutils and gcc support GOTDATA.
28954         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28955         "rd %pc" in the PIC register setup sequences.
28957         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28958         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28959         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28960         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28961         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28962         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28964         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28965         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28966         (SYSCALL_ERROR_HANDLER): Likewise.
28967         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28968         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28970         (SYSCALL_ERROR_HANDLER): Likewise.
28972         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28973         (HAVE_GCC_GOTDATA): New.
28974         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28975         relocation support in both binutils and gcc.
28976         * sysdeps/sparc/elf/configure: Regenerate.
28978         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28979         * sysdeps/sparc/sparc32/elf/configure: Delete.
28980         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28981         * sysdeps/sparc/sparc64/elf/configure: Delete.
28982         * sysdeps/sparc/elf/configure.in: New file.
28983         * sysdeps/sparc/elf/configure: Generate.
28985         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28986         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28987         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28988         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28989         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28991 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28993         * manual/install.texi: Do not mention specific glibc version
28994         numbers.
28995         * manual/libc.texinfo (VERSION, UPDATED): Update.
28996         (@copying): Use @copyright{} and range of years.
28998 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29000         [BZ #13695]
29001         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29002         [crti.S not in sysdirs] (generated): Do not append.
29003         [crti.S not in sysdirs] (omit-deps): Likewise.
29004         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29005         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29006         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29007         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29008         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29009         Likewise.
29010         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29011         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29012         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29013         * csu/defs.awk: Remove file.
29014         * sysdeps/generic/initfini.c: Likewise.
29015         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29016         variable.
29017         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29018         Likewise.
29020 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29022         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29023         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29024         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29025         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29026         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29027         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29028         <bits/epoll.h>.
29029         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29030         (__EPOLL_PACKED): Define to empty if not defined by
29031         <bits/epoll.h>.
29032         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29034         bits/epoll.h.
29036 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29038         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29039         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29040         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29041         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29042         <bits/timerfd.h>.
29043         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29045         bits/timerfd.h.
29047 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29049         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29050         in C locale.
29051         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29052         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29053         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29056 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29058         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29059         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29061 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29063         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29064         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29065         defined.
29066         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29067         Likewise.
29068         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29069         entry for 2.16.
29071 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29073         * math/w_acos.c: Use non-signaling floating-point comparisons.
29074         * math/w_acosf.c: Likewise.
29075         * math/w_acosh.c: Likewise.
29076         * math/w_acoshf.c: Likewise.
29077         * math/w_acoshl.c: Likewise.
29078         * math/w_acosl.c: Likewise.
29079         * math/w_asin.c: Likewise.
29080         * math/w_asinf.c: Likewise.
29081         * math/w_asinl.c: Likewise.
29082         * math/w_atanh.c: Likewise.
29083         * math/w_atanhf.c: Likewise.
29084         * math/w_atanhl.c: Likewise.
29085         * math/w_exp2.c: Likewise.
29086         * math/w_exp2f.c: Likewise.
29087         * math/w_exp2l.c: Likewise.
29088         * math/w_j0.c: Likewise.
29089         * math/w_j0f.c: Likewise.
29090         * math/w_j0l.c: Likewise.
29091         * math/w_j1.c: Likewise.
29092         * math/w_j1f.c: Likewise.
29093         * math/w_j1l.c: Likewise.
29094         * math/w_jn.c: Likewise.
29095         * math/w_jnf.c: Likewise.
29096         * math/w_log.c: Likewise.
29097         * math/w_log10.c: Likewise.
29098         * math/w_log10f.c: Likewise.
29099         * math/w_log10l.c: Likewise.
29100         * math/w_log2.c: Likewise.
29101         * math/w_log2f.c: Likewise.
29102         * math/w_log2l.c: Likewise.
29103         * math/w_logf.c: Likewise.
29104         * math/w_logl.c: Likewise.
29105         * math/w_sqrt.c: Likewise.
29106         * math/w_sqrtf.c: Likewise.
29107         * math/w_sqrtl.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29110         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29111         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29112         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29114 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29116         [BZ #9739]
29117         * manual/string.texi (strnlen): Use correct parameter name in
29118         equivalent expression.
29120 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29122         [BZ #11174]
29123         * manual/users.texi (seteuid): Consistently use neweuid for
29124         argument name.
29126 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29128         [BZ #13704]
29129         * manual/nss.texi (Services in the NSS configuration): Correct
29130         list of services in example configuration file.
29132 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29134         [BZ #11322]
29135         * manual/arith.texi: Remove statements about negative zero
29136         behaving identically to zero.
29138 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29140         [BZ #5993]
29141         * manual/install.texi: Do not document upgrading from libc5.
29143 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29145         [BZ #4596]
29146         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29148 2012-02-18  David S. Miller  <davem@davemloft.net>
29150         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29151         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29152         %o7 across the call.
29153         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29154         instead.
29155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29156         SETUP_PIC_REG_LEAF.
29157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29158         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29159         * sysdeps/sparc/crtn.S: Likewise.
29161 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29163         * aout/Makefile: Remove.
29165 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29167         [BZ #13058]
29168         * manual/examples/argp-ex1.c (main): Format definition in GNU
29169         style.
29170         * manual/examples/argp-ex2.c (main): Likewise.
29171         * manual/examples/argp-ex3.c (main): Likewise.
29172         * manual/examples/argp-ex4.c (main): Likewise.
29173         * manual/examples/longopt.c (main): Use new-style prototype
29174         definition.
29175         * manual/examples/strncat.c (main): Specify return type and use
29176         (void) for arguments.
29177         * manual/examples/subopt.c (main): Use char **argv argument.
29179 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29181         [BZ #5077]
29182         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29183         rounding modes.
29185 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29187         [BZ #6907]
29188         * manual/string.texi (strchr): Change when strchrnul is
29189         recommended.
29191 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29193         [BZ #174]
29194         * manual/locale.texi (setlocale): Document LOCPATH.
29196 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29198         [BZ #10210]
29199         * manual/process.texi (execle): Move @dots{} before last argument.
29201 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29203         [BZ #12047]
29204         * manual/charset.texi (Generic Charset Conversion): Fix typo
29205         (LC_TYPE -> LC_CTYPE).
29207 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29209         [BZ #5805]
29210         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29211         (scalbnf): Likewise.
29212         (scalbnl): Likewise.
29213         (scalbln): Likewise.
29214         (scalblnf): Likewise.
29215         (scalblnl): Likewise.
29216         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29217         (vwarnx): Likewise.
29218         (verr): Likewise.
29219         (verrx): Likewise.
29220         * manual/filesys.texi (telldir): Use braces around return type.
29221         * manual/llio.texi (mmap): Add space after comma.
29222         (mmap64): Likewise.
29223         * manual/math.texi (jn): Use @var{} on parameter names.
29224         (jnf): Likewise.
29225         (jnl): Likewise.
29226         (yn): Likewise.
29227         (ynf): Likewise.
29228         (ynl): Likewise.
29229         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29230         line.
29231         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29232         "...".
29233         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29234         (sched_get_priority_max): Likewise.
29235         * manual/signal.texi (sigvec): Add space after comma.
29236         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29237         names.
29238         (if_indextoname): Likewise.
29239         (if_freenameindex): Likewise.
29240         (sendto): Use ',' instead of '.' in prototype.
29241         * manual/startup.texi (syscall): Use @dots{} instead of literal
29242         "...".
29243         * manual/stdio.texi (__fpending): Separate initial words of
29244         paragraph from @deftypefun line.
29245         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29246         "...".
29247         (vsyslog): Use @var{} on parameter names.
29248         * manual/terminal.texi (stty): Use @var{} on parameter names.
29249         * manual/users.texi (getutmp): Use @var{} on parameter names.
29250         (getutmpx): Likewise.
29252 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29254         [BZ #6884]
29255         * manual/stdio.texi (fopen): Fix typos in description of
29256         ",ccs=STRING".
29258 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29260         [BZ #4026]
29261         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29262         get clock_id definition.
29264 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29266         [BZ #4822]
29267         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29268         (madvise): Cast every argument to void on its own.
29270 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29272         [BZ #9902]
29273         * manual/startup.texi (Exit Status): Fix typo.
29275 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29277         [BZ #10140]
29278         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29279         * manual/examples/argp-ex2.c: Likewise.
29280         * manual/examples/argp-ex3.c: Likewise.
29282 2012-02-16  Richard Henderson  <rth@redhat.com>
29284         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29285         * sysdeps/s390/s390-32/initfini.c: Remove.
29286         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29287         * sysdeps/s390/s390-64/initfini.c: Remove.
29289 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29291         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29292         compiler output for sysdeps/generic/initfini.c.
29293         * sysdeps/sh/elf/initfini.c: Remove file.
29295 2012-02-16  David S. Miller  <davem@davemloft.net>
29297         [BZ #11494]
29298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29300         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29301         * sysdeps/sparc/crti.S: New file.
29302         * sysdeps/sparc/crtn.S: New file.
29303         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29304         * sysdeps/sparc/sparc64/Makefile: Likewise.
29306 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29308         [BZ #3335]
29309         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29311 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29313         [BZ #4822]
29314         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29316         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29317         (write, read, close): Likewise.
29318         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29320 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29322         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29323         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29324         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29325         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29326         <bits/signalfd.h>.
29327         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29329         bits/signalfd.h.
29331 2012-02-14  Marek Polacek  <polacek@redhat.com>
29333         * sysdeps/x86_64/crti.S: New file.
29334         * sysdeps/x86_64/crtn.S: New file.
29335         * sysdeps/x86_64/elf/initfini.c: Remove file.
29337 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29339         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29340         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29341         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29342         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29343         <bits/inotify.h>.
29344         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29346         bits/inotify.h.
29348 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29350         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29351         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29352         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29353         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29354         <bits/eventfd.h>.
29355         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29357         bits/eventfd.h.
29359 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29361         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29362         __feraiseexcept instead of feraiseexcept.
29364         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29365         nanosleep invocations.
29366         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29367         strings, and add error checking for a nanosleep invocations.
29369 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29371         Replace FSF snail mail address with URLs, as per GNU coding standards.
29372         Most of the snail mail addresses were wrong anyway, and omitting
29373         them makes the source code easier to maintain.  Almost all of the
29374         changes are to license notices and to locale LC_IDENTIFICATION
29375         addresses, except for this one:
29376         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29377         not its snail mail address.
29379 2012-02-09  Richard Henderson  <rth@twiddle.net>
29381         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29382         of kernel-features.h.
29384         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29386 2012-02-08  Marek Polacek  <polacek@redhat.com>
29388         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29389         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29390         * sysdeps/gnu/_G_config.h: Likewise.
29391         * sysdeps/generic/_G_config.h: Likewise.
29393 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29395         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29396         tests.
29397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399         * sysdeps/powerpc/powerpc32/crti.S: New file.
29400         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29401         * sysdeps/powerpc/powerpc64/crti.S: New file.
29402         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29404         * Makeconfig (have-initfini): Don't set.
29405         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29406         * configure.in (nopic_initfini): Don't substitute.
29407         * config.h.in (HAVE_INITFINI): Don't #undef.
29408         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29409         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29411 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29413         Support crti.S and crtn.S provided directly by architectures.
29414         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29415         [crti.S in sysdirs] (omit-deps): Likewise.
29416         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29417         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29418         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29419         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29420         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29421         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29422         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29423         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29424         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29425         compiler output for sysdeps/generic/initfini.c.
29426         * sysdeps/i386/elf/Makefile: Remove file.
29427         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29429 2012-02-07  Marek Polacek  <polacek@redhat.com>
29431         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29432         * sysdeps/gnu/_G_config.h: Likewise.
29433         * sysdeps/mach/hurd/_G_config.h: Likewise.
29435 2012-02-07  Marek Polacek  <polacek@redhat.com>
29437         * math/Makefile (tests): Add tst-CMPLX2.
29438         * math/tst-CMPLX2.c: New file.
29440 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29442         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29444         * math/libm-test.inc (jn_test): Add missing L suffix.
29446 2012-02-06  Marek Polacek  <polacek@redhat.com>
29448         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29449         * sysdeps/i386/fpu/e_powf.S: Likewise.
29450         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29451         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29452         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29453         * sysdeps/i386/fpu/e_pow.S: Likewise.
29454         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29455         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29456         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29457         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29458         * sysdeps/i386/fpu/e_log2.S: Likewise.
29459         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29460         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29461         * sysdeps/i386/fpu/e_powl.S: Likewise.
29462         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29463         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29464         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29465         * sysdeps/i386/fpu/e_logl.S: Likewise.
29466         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29467         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29468         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29469         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29470         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29471         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29472         * sysdeps/i386/fpu/e_log.S: Likewise.
29473         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29474         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29475         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29476         * sysdeps/i386/fpu/e_logf.S: Likewise.
29477         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29478         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29479         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29480         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29481         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29482         * sysdeps/i386/fpu/e_log10.S: Likewise.
29483         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29484         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29485         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29486         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29487         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29488         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29489         * sysdeps/i386/asm-syntax.h: Likewise.
29490         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29491         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29492         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29493         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29494         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29495         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29496         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29497         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29498         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29499         * sysdeps/powerpc/sysdep.h: Likewise.
29500         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29501         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29503 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29505         [BZ #411]
29506         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29508 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29510         * sysdeps/i386/sysdep.h: Include <features.h>.
29511         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29512         version.
29514 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29516         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29517         Define.
29518         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29519         LOAD_PIC_REG_STR.
29521 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29523         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29524         (SETUP_PIC_REG): Use GET_PC_THUNK.
29525         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29526         macro.
29528 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29530         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29531         for non-PIC compilation.
29532         (SETUP_PIC_REG): Add .p2align directive.
29533         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29534         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29535         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29536         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29537         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29538         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29539         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29540         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29543         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29544         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29545         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29546         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29547         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29548         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29549         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29550         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29551         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29552         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29553         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29554         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29555         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29556         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29558         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29559         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29560         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29561         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29562         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29563         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29565         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29566         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29567         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29568         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29569         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29570         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29571         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29572         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29573         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29575 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29577         * math/tst-CMPLX.c: Include <stdio.h>.
29579 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29581         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29582         float.
29583         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29584         * sysdeps/sparc/bits/mathdef.h: Likewise.
29586 2012-01-31  Marek Polacek  <polacek@redhat.com>
29588         * libio/libio.h: Don't define _PARAMS.
29589         * locale/programs/config.h: Don't define PARAMS.
29590         * stdlib/strtol_l.c: Likewise.
29591         (__strtol_l): Remove PARAMS from the prototype.
29593 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29595         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29596         names.  Just use the correct names.  Remove unnecessary wrapper
29597         functions.
29598         * malloc/arena.c: Likewise.
29599         * malloc/hooks.c: Likewise.
29601         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29602         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29603         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29605 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29607         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29608         into tail calls.
29609         (update_get_addr): New function.
29610         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29611         GET_ADDR_MODULE parameter.
29613 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29615         * crypt/cert.c: Remove __STDC__ conditionals.
29616         * crypt/crypt-entry.c: Likewise.
29617         * crypt/crypt_util.c: Likewise.
29618         * libio/filedoalloc.c: Likewise.
29619         * libio/fileops.c: Likewise.
29620         * libio/genops.c: Likewise.
29621         * libio/iofclose.c: Likewise.
29622         * libio/iofdopen.c: Likewise.
29623         * libio/iofopen.c: Likewise.
29624         * libio/iofopen64.c: Likewise.
29625         * libio/iogetdelim.c: Likewise.
29626         * libio/iopopen.c: Likewise.
29627         * libio/obprintf.c: Likewise.
29628         * libio/oldfileops.c: Likewise.
29629         * libio/oldiofclose.c: Likewise.
29630         * libio/oldiofdopen.c: Likewise.
29631         * libio/oldiofopen.c: Likewise.
29632         * libio/oldiopopen.c: Likewise.
29633         * libio/wfiledoalloc.c: Likewise.
29634         * libio/wgenops.c: Likewise.
29635         * locale/programs/xmalloc.c: Likewise.
29636         * misc/syslog.c: Likewise.
29637         * stdio-common/xbug.c: Likewise.
29638         * string/memchr.c: Likewise.
29639         * string/memcmp.c: Likewise.
29640         * string/memrchr.c: Likewise.
29641         * string/rawmemchr.c: Likewise.
29642         * sysdeps/posix/getcwd.c: Likewise.
29643         * time/strftime_l.c: Likewise.
29645 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29647         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29648         * config.make.in (config-cflags-sse2avx): Define.
29649         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29650         Fix typo.
29652 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29654         * scripts/config.guess: Update from upstream config git repository.
29655         * scripts/config.sub: Likewise.
29657 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29659         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29660         (EM_NUM): Update.
29661         (R_TILEPRO_*, R_TILEGX_*): New macros.
29663         * scripts/firstversions.awk: Fix bug in version range handling.
29665         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29667         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29669         * include/sys/epoll.h: New file.
29670         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29671         libc_hidden_def.
29673 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29675         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29676         Avoid unnecessary __WORDSIZE == 64 test.
29677         (fmaxf): Use VEX format if possible.
29678         (fmax): Likewise.
29679         (fminf): Likewise.
29680         (fmin): Likewise.
29682         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29683         * math/math_private.h: Remove libc_fegetround* and
29684         libc_fesetround*.
29685         * sysdeps/i386/configure.in: Check for -msse2avx.
29686         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29687         also if SSE2AVX is defined.
29688         Remove libc_fegetround* and libc_fesetround*.
29689         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29690         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29692         of HAS_YMM_USABLE.
29693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29694         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29699         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29701 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29703         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29704         size is not set.
29705         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29707 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29709         [BZ #13618]
29710         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29711         relocation.
29712         * Makeconfig (libm): Define.
29713         * elf/Makefile: Add rules to build and run tst-relsort1.
29714         * elf/tst-relsort1.c: New file.
29715         * elf/tst-relsort1mod1.c: New file.
29716         * elf/tst-relsort1mod2.c: New file.
29718 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29720         * math/s_ldexp.c: Remove __STDC__ conditionals.
29721         * math/s_ldexpf.c: Likewise.
29722         * math/s_ldexpl.c: Likewise.
29723         * math/s_nextafter.c: Likewise.
29724         * math/s_nexttowardf.c: Likewise.
29725         * math/s_significand.c: Likewise.
29726         * math/s_significandf.c: Likewise.
29727         * math/s_significandl.c: Likewise.
29728         * math/w_jnl.c: Likewise.
29729         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29730         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29731         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29732         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29733         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29734         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29735         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29736         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29737         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29738         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29739         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29741         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29742         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29743         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29744         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29745         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29746         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29748         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29749         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29750         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29751         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29752         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29753         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29754         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29755         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29756         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29757         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29758         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29759         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29760         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29761         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29762         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29763         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29764         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29765         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29766         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29767         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29768         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29769         * sysdeps/ieee754/k_standard.c: Likewise.
29770         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29771         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29772         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29773         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29774         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29775         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29776         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29777         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29778         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29779         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29780         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29781         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29782         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29783         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29784         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29785         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29786         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29788         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29789         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29790         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29791         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29792         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29795         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29799         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29800         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29801         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29802         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29803         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29804         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29805         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29806         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29807         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29808         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29811         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29818         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29819         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29820         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29821         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29822         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29823         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29824         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29825         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29826         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29827         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29828         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29830         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29831         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29832         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29833         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29834         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29835         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29836         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29837         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29838         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29839         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29840         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29841         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29842         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29843         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29844         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29845         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29846         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29847         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29848         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29849         * sysdeps/ieee754/s_matherr.c: Likewise.
29850         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29851         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29852         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29855 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29857         * crypt/md5.h: Remove __STDC__ conditionals.
29858         * libio/libioP.h: Likewise.
29859         * locale/programs/config.h: Likewise.
29860         * sysdeps/generic/sysdep.h: Likewise.
29861         * sysdeps/i386/asm-syntax.h: Likewise.
29862         * sysdeps/s390/asm-syntax.h: Likewise.
29863         * sysdeps/unix/sysdep.h: Likewise.
29864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29867 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29869         * libio/libio.h: Remove __STDC__ conditionals.
29870         * malloc/obstack.h: Likewise.
29871         * math/complex.h: Likewise.
29872         * math/math.h: Likewise.
29873         * sysdeps/generic/_G_config.h: Likewise.
29874         * sysdeps/gnu/_G_config.h: Likewise.
29875         * sysdeps/mach/hurd/_G_config.h: Likewise.
29876         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29877         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29878         * sysdeps/sparc/bits/mathdef.h: Likewise.
29880 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29882         [BZ #13583]
29883         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29884         Clean up HAS_* macros.
29885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29886         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29887         possible.
29888         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29889         HAS_AVX.
29890         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29891         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29892         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29893         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29894         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29896 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29898         * elf/tst-unique3.cc (gets): Remove declaration.
29899         * elf/tst-unique3lib.cc (gets): Likewise.
29900         * elf/tst-unique3lib2.cc (gets): Likewise.
29901         * elf/tst-unique4.cc (gets): Likewise.
29903 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29905         * include/stdio.h: Add C++ protection.  Add gets declarations and
29906         definitions.
29907         * debug/tst-chk1.c: Don't declare gets here.
29908         * stdio-common/tst-gets.c: Likewise.
29910 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29912         * posix/glob: Remove directory.
29914 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29916         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29918 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29920         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29921         of the non-standard EPFNOSUPPORT.
29923 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29925         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29926         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29927         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29929 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29931         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29933 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29935         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29936         transient errors.
29937         * nscd/grpcache.c (cache_addgr): Likewise.
29938         * nscd/hstcache.c (cache_addhst): Likewise.
29939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29940         * nscd/pwdcache.c (cache_addpw): Likewise.
29941         * nscd/servicescache.c (cache_addserv): Likewise.
29943 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29945         * malloc/malloc.c: Various cleanups.
29946         * malloc/hooks.c: Likewise.
29948         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29949         * stdlib/bug-fmtmsg1.c: New file.
29951         * stdlib/fmtmsg.c (init): Add missing unlock.
29952         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29954 2012-01-12  Marek Polacek  <polacek@redhat.com>
29956         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29957         and _GNU_SOURCE.
29959 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29961         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29962         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29963         macro to ensure uniqueness of label name.
29964         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29965         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29967 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29969         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29971         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29972         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29973         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29974         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29976 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29978         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29980         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29981         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29982         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29984         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29986         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29987         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29988         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29989         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29991         * math/bits/math-finite.h: Add ldexp support.
29993 2012-01-10  Marek Polacek  <polacek@redhat.com>
29995         * locale/programs/localedef.h (show_archive_content): Add noreturn
29996         attribute.
29998 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30000         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30002 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30004         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30006         * io/Makefile (headers): Add bits/poll2.h.
30008 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30011         typo #include statement.
30013 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30015         * include/sys/cdefs.h: Define __attribute_alloc_size.
30016         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30017         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30018         * elf/pldd.c: Likewise.
30019         * iconv/iconv_charmap.c: Likewise.
30020         * iconv/iconvconfig.c: Likewise.
30021         * iconv/strtab.c: Likewise.
30022         * locale/programs/locale.c: Likewise.
30023         * locale/programs/localedef.h: Likewise.
30024         * locale/programs/simple-hash.c: Likewise.
30025         * nscd/nscd.h: Likewise.
30026         * nss/makedb.c: Likewise.
30027         * sysdeps/generic/ldconfig.h: Likewise.
30028         * locale/programs/localedef.c: Remove xmalloc prototype.
30029         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30031 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30033         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30034         appropriate.
30036 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30038         * math/Makefile (tests): Add tst-CMPLX.
30039         * math/tst-CMPLX.c: New file.
30041         * math/complex.h (CMPLXL): Fix typo.
30043         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30044         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30045         GLIBC_2.16.
30046         * debug/tst-chk1.c: Add poll and ppoll tests.
30047         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30048         * include/sys/poll.h: Add hidden proto for ppoll.
30049         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30050         * sysdeps/mach/hurd/ppoll.c: Likewise.
30051         * io/ppoll.c: Likewise.
30052         * debug/poll_chk.c: New file.
30053         * debug/ppoll_chk.c: New file.
30054         * include/bits/poll2.h: New file.
30055         * io/bits/poll2.h: New file.
30057         [BZ #1350]
30058         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30060         * configure.in: static is always set to yes.  Remove.
30061         * config.make.in: Don't set build-static.
30062         * Makeconfig: Remove use of build-static.
30063         * dlfcn/Makefile: Likewise.
30064         * elf/Makefile: Likewise.
30065         * math/Makefile: Likewise.
30066         * misc/Makefile: Likewise.
30067         * nptl/Makefile: Likewise.
30068         * sysdeps/mach/hurd/Makefile: Likewise.
30070         * configure.in: PWD_P is not used anymore.
30071         * config.make.in: Remove PWD_P entry.
30073         * configure.in: Remove last remnants of RANLIB.
30074         No need to check for signed size_t anymore.
30075         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30076         and IA-64.
30077         Remove __builtin_expect test because we require at least gcc 3.4.
30078         * aclocal.m4: Likewise.
30080         * wcsmbs/mbrtoc16.c: Implement using towc function.
30081         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30082         * wcsmbs/wcsmbsload.c: Likewise.
30083         * iconv/gconv_simple.c: Likewise.
30084         * iconv/gconv_int.h: Likewise.
30085         * iconv/gconv_builtin.h: Likewise.
30086         * iconv/iconv_prog.c: Remove CHAR16 handling.
30088         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30090         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30092         * configure.in: Remove --with-elf and --enable-bounded options.
30093         Dont set base_machine for ia64.  More non-ELF conditions removed.
30094         Remove testing and setting of leading underscore information.
30095         * config.make.in (build-bounded): Set to no.
30096         * config.h.in: Remove NO_UNDERSCORES entry.
30097         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30098         them.
30099         * csu/start.c: Remove !NO_UNDERSCORE code.
30100         * locale/localeinfo.h: Likewise.
30101         * sysdeps/generic/machine-gmon.h: Likewise.
30102         * sysdeps/generic/sysdep.h: Likewise.
30103         * sysdeps/i386/sysdep.h: Likewise.
30104         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30105         * sysdeps/mach/sysdep.h: Likewise.
30106         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30107         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30108         * sysdeps/sh/sysdep.h: Likewise.
30109         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30110         * sysdeps/unix/i386/sysdep.S: Likewise.
30111         * sysdeps/unix/sparc/start.c: Likewise.
30112         * sysdeps/unix/sparc/sysdep.S: Likewise.
30113         * sysdeps/unix/sparc/sysdep.h: Likewise.
30114         * sysdeps/unix/start.c: Likewise.
30115         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30116         * sysdeps/x86_64/sysdep.h: Likewise.
30118 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30120         [BZ #13553]
30121         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30122         for non-gcc.
30123         * argp/argp-fmtstream.h: Use const instead __const.
30124         * argp/argp.h: Likewise.
30125         * assert/assert.h: Likewise.
30126         * bits/fenv.h: Likewise.
30127         * bits/sched.h: Likewise.
30128         * bits/sigset.h: Likewise.
30129         * bits/sigthread.h: Likewise.
30130         * catgets/nl_types.h: Likewise.
30131         * conform/data/pthread.h-data: Likewise.
30132         * crypt/crypt-private.h: Likewise.
30133         * crypt/crypt.h: Likewise.
30134         * crypt/crypt_util.c: Likewise.
30135         * ctype/ctype.h: Likewise.
30136         * debug/execinfo.h: Likewise.
30137         * debug/mbsnrtowcs_chk.c: Likewise.
30138         * debug/mbsrtowcs_chk.c: Likewise.
30139         * debug/wcsnrtombs_chk.c: Likewise.
30140         * debug/wcsrtombs_chk.c: Likewise.
30141         * debug/wcstombs_chk.c: Likewise.
30142         * dirent/dirent.h: Likewise.
30143         * dlfcn/dlfcn.h: Likewise.
30144         * elf/neededtest4.c: Likewise.
30145         * grp/grp.h: Likewise.
30146         * gshadow/gshadow.h: Likewise.
30147         * iconv/gconv.h: Likewise.
30148         * iconv/gconv_int.h: Likewise.
30149         * iconv/gconv_simple.c: Likewise.
30150         * iconv/iconv.h: Likewise.
30151         * iconv/loop.c: Likewise.
30152         * iconv/skeleton.c: Likewise.
30153         * include/aio.h: Likewise.
30154         * include/aliases.h: Likewise.
30155         * include/argz.h: Likewise.
30156         * include/arpa/inet.h: Likewise.
30157         * include/assert.h: Likewise.
30158         * include/dirent.h: Likewise.
30159         * include/dlfcn.h: Likewise.
30160         * include/execinfo.h: Likewise.
30161         * include/fcntl.h: Likewise.
30162         * include/fenv.h: Likewise.
30163         * include/glob.h: Likewise.
30164         * include/grp.h: Likewise.
30165         * include/libintl.h: Likewise.
30166         * include/mntent.h: Likewise.
30167         * include/netdb.h: Likewise.
30168         * include/pwd.h: Likewise.
30169         * include/rpc/netdb.h: Likewise.
30170         * include/sched.h: Likewise.
30171         * include/search.h: Likewise.
30172         * include/shadow.h: Likewise.
30173         * include/signal.h: Likewise.
30174         * include/stdio.h: Likewise.
30175         * include/stdlib.h: Likewise.
30176         * include/string.h: Likewise.
30177         * include/sys/socket.h: Likewise.
30178         * include/sys/stat.h: Likewise.
30179         * include/sys/statfs.h: Likewise.
30180         * include/sys/statvfs.h: Likewise.
30181         * include/sys/syslog.h: Likewise.
30182         * include/sys/time.h: Likewise.
30183         * include/sys/uio.h: Likewise.
30184         * include/time.h: Likewise.
30185         * include/unistd.h: Likewise.
30186         * include/utmp.h: Likewise.
30187         * include/wchar.h: Likewise.
30188         * include/wctype.h: Likewise.
30189         * inet/aliases.h: Likewise.
30190         * inet/arpa/inet.h: Likewise.
30191         * inet/netinet/ether.h: Likewise.
30192         * inet/netinet/in.h: Likewise.
30193         * intl/libintl.h: Likewise.
30194         * io/bits/fcntl2.h: Likewise.
30195         * io/fcntl.h: Likewise.
30196         * io/ftw.h: Likewise.
30197         * io/sys/poll.h: Likewise.
30198         * io/sys/stat.h: Likewise.
30199         * io/sys/statfs.h: Likewise.
30200         * io/sys/statvfs.h: Likewise.
30201         * io/utime.h: Likewise.
30202         * libio/bits/stdio.h: Likewise.
30203         * libio/bits/stdio2.h: Likewise.
30204         * libio/libio.h: Likewise.
30205         * libio/libioP.h: Likewise.
30206         * libio/stdio.h: Likewise.
30207         * locale/lc-ctype.c: Likewise.
30208         * locale/locale.h: Likewise.
30209         * login/utmp.h: Likewise.
30210         * malloc/arena.c: Likewise.
30211         * malloc/malloc.c: Likewise.
30212         * malloc/malloc.h: Likewise.
30213         * malloc/mcheck.c: Likewise.
30214         * malloc/mtrace.c: Likewise.
30215         * math/bits/mathcalls.h: Likewise.
30216         * math/fenv.h: Likewise.
30217         * math/math_private.h: Likewise.
30218         * misc/bits/error.h: Likewise.
30219         * misc/bits/syslog.h: Likewise.
30220         * misc/err.h: Likewise.
30221         * misc/error.h: Likewise.
30222         * misc/fstab.h: Likewise.
30223         * misc/mntent.h: Likewise.
30224         * misc/regexp.h: Likewise.
30225         * misc/search.h: Likewise.
30226         * misc/sgtty.h: Likewise.
30227         * misc/sys/mman.h: Likewise.
30228         * misc/sys/syslog.h: Likewise.
30229         * misc/sys/uio.h: Likewise.
30230         * misc/sys/xattr.h: Likewise.
30231         * misc/ttyent.h: Likewise.
30232         * nis/rpcsvc/ypclnt.h: Likewise.
30233         * nss/nss.h: Likewise.
30234         * posix/bits/unistd.h: Likewise.
30235         * posix/fnmatch.h: Likewise.
30236         * posix/glob.h: Likewise.
30237         * posix/sched.h: Likewise.
30238         * posix/spawn.h: Likewise.
30239         * posix/sys/wait.h: Likewise.
30240         * posix/unistd.h: Likewise.
30241         * posix/wordexp.h: Likewise.
30242         * pwd/pwd.h: Likewise.
30243         * resolv/netdb.h: Likewise.
30244         * resource/sys/resource.h: Likewise.
30245         * rt/aio.h: Likewise.
30246         * rt/bits/mqueue2.h: Likewise.
30247         * rt/mqueue.h: Likewise.
30248         * shadow/shadow.h: Likewise.
30249         * signal/signal.h: Likewise.
30250         * socket/send.c: Likewise.
30251         * socket/sendto.c: Likewise.
30252         * socket/sys/socket.h: Likewise.
30253         * stdio-common/printf.h: Likewise.
30254         * stdlib/bits/stdlib.h: Likewise.
30255         * stdlib/fmtmsg.h: Likewise.
30256         * stdlib/monetary.h: Likewise.
30257         * stdlib/stdlib.h: Likewise.
30258         * stdlib/ucontext.h: Likewise.
30259         * streams/stropts.h: Likewise.
30260         * string/argz.h: Likewise.
30261         * string/bits/string2.h: Likewise.
30262         * string/string.h: Likewise.
30263         * string/strings.h: Likewise.
30264         * sunrpc/rpc/auth.h: Likewise.
30265         * sunrpc/rpc/auth_des.h: Likewise.
30266         * sunrpc/rpc/clnt.h: Likewise.
30267         * sunrpc/rpc/netdb.h: Likewise.
30268         * sunrpc/rpc/pmap_clnt.h: Likewise.
30269         * sunrpc/rpc/xdr.h: Likewise.
30270         * sysdeps/generic/inttypes.h: Likewise.
30271         * sysdeps/generic/net/if.h: Likewise.
30272         * sysdeps/generic/sys/swap.h: Likewise.
30273         * sysdeps/gnu/net/if.h: Likewise.
30274         * sysdeps/gnu/utmpx.h: Likewise.
30275         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30276         * sysdeps/i386/i486/bits/string.h: Likewise.
30277         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30278         * sysdeps/s390/bits/string.h: Likewise.
30279         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30280         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30281         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30282         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30283         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30284         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30285         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30286         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30287         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30288         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30289         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30290         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30291         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30292         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30293         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30294         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30295         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30296         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30297         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30298         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30299         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30300         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30301         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30302         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30303         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30304         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30305         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30306         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30307         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30308         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30309         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30310         * sysvipc/sys/ipc.h: Likewise.
30311         * sysvipc/sys/msg.h: Likewise.
30312         * sysvipc/sys/sem.h: Likewise.
30313         * sysvipc/sys/shm.h: Likewise.
30314         * termios/termios.h: Likewise.
30315         * time/sys/time.h: Likewise.
30316         * time/time.h: Likewise.
30317         * wcsmbs/bits/wchar2.h: Likewise.
30318         * wcsmbs/uchar.h: Likewise.
30319         * wcsmbs/wchar.h: Likewise.
30320         * wctype/wctype.h: Likewise.
30322         [BZ #13551]
30323         * Makeconfig: Remove all but ELF support including AIX support.
30324         * Makerules: Likewise.
30325         * config.h.in: Likewise.
30326         * config.make.in: Likewise.
30327         * configure: Likewise.
30328         * configure.in: Likewise.
30329         * csu/Makefile: Likewise.
30330         * csu/version.c: Likewise.
30331         * debug/Makefile: Likewise.
30332         * dlfcn/Makefile: Likewise.
30333         * elf/Makefile: Likewise.
30334         * extra-lib.mk: Likewise.
30335         * iconv/Makefile: Likewise.
30336         * include/libc-symbols.h: Likewise.
30337         * include/shlib-compat.h: Likewise.
30338         * resolv/Makefile: Likewise.
30339         * resolv/res_libc.c: Likewise.
30340         * rt/Makefile: Likewise.
30341         * sysdeps/i386/asm-syntax.h: Likewise.
30342         * sysdeps/i386/sysdep.h: Likewise.
30343         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30344         * sysdeps/mach/sysdep.h: Likewise.
30345         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30346         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30347         * sysdeps/s390/asm-syntax.h: Likewise.
30348         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30349         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30350         * sysdeps/sh/sysdep.h: Likewise.
30351         * sysdeps/unix/sparc/sysdep.h: Likewise.
30352         * sysdeps/wordsize-32/divdi3.c: Likewise.
30353         * sysdeps/x86_64/sysdep.h: Likewise.
30355         * argp/Versions: Remove _argp_unlock_xxx.
30357         [BZ #13559]
30358         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30359         * abilist/libBrokenLocale.abilist: Likewise.
30360         * abilist/libanl.abilist: Likewise.
30361         * abilist/libc.abilist: Likewise.
30362         * abilist/libcrypt.abilist: Likewise.
30363         * abilist/libdl.abilist: Likewise.
30364         * abilist/libm.abilist: Likewise.
30365         * abilist/libnsl.abilist: Likewise.
30366         * abilist/libpthread.abilist: Likewise.
30367         * abilist/libresolv.abilist: Likewise.
30368         * abilist/librt.abilist: Likewise.
30369         * abilist/libthread_db.abilist: Likewise.
30370         * abilist/libutil.abilist: Likewise.
30371         * abilist/libnss_db.abilist: New file.
30373         * scripts/abilist.awk: Add support for indirect functions.
30375         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30377         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30379         * shlib-versions: Remove entries for ports architectures.
30381         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30382         files in ports.
30383         * elf/stackguard-macros.h: Remove support for IA-64.
30384         * elf/tst-auditmod1.c: Likewise.
30385         * sysdeps/generic/ldsodefs.h: Likewise.
30387         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30388         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30389         configure files.
30391         [BZ #13552]
30392         * configure.in: Remove --enable-omitfp support.
30393         * FAQ.in: Adjust.
30394         * config.make.in: Likewise.
30395         * Makeconfig: Likewise.
30396         * manual/install.texi: Likewise.
30398         In case anyone cares, the IA-64 architecture could move to ports.
30399         * sysdeps/ia64/*: Removed.
30400         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30401         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30403         [BZ #13555]
30404         * configure.in: Remove entries for unsupported architectures.
30406         [BZ #13533]
30407         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30408         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30409         routines.
30410         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30411         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30412         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30413         fall back to using wcrtomb.
30414         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30415         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30416         renaming.
30417         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30418         * wcsmbs/tst-c16c32-1.c: New file.
30420         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30421         local variable.
30423         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30425         * elf/tst-unique3.cc: Add explicit declaration of gets.
30426         * elf/tst-unique3lib.cc: Likewise.
30427         * elf/tst-unique3lib2.cc: Likewise.
30428         * elf/tst-unique4.cc: Likewise.
30430         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30432 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30434         [BZ #13566]
30435         * assert/assert.h (static_assert): Don't define for C++.
30436         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30437         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30439 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30441         * iconv/loop.c (single loop): Fix assertion in storing of
30442         remaining bytes.
30444         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30446 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30448         * posix/getconf.c: Update copyright year.
30449         * nss/getent.c: Likewise.
30450         * nss/makedb.c: Likewise.
30451         * iconv/iconvconfig.c: Likewise.
30452         * iconv/iconv_prog.c: Likewise.
30453         * elf/ldconfig.c: Likewise.
30454         * elf/pldd.c: Likewise.
30455         * elf/sotruss.ksh: Likewise.
30456         * catgets/gencat.c: Likewise.
30457         * csu/version.c: Likewise.
30458         * elf/ldd.bash.in: Likewise.
30459         * elf/sprof.c (print_version): Likewise.
30460         * locale/programs/locale.c: Likewise.
30461         * locale/programs/localedef.c: Likewise.
30462         * login/programs/pt_chown.c: Likewise.
30463         * nscd/nscd.c (print_version): Likewise.
30464         * debug/xtrace.sh: Likewise.
30465         * malloc/memusage.sh: Likewise.
30466         * malloc/mtrace.pl: Likewise.
30467         * debug/catchsegv.sh: Likewise.
30469 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30471         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30472         pure attribute.
30474 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30476         [BZ #13533]
30477         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30478         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30479         transformations.
30480         * iconv/gconv_int.h: Likewise.
30481         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30482         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30483         from libc for GLIBC_2.16.
30484         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30485         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30486         * wcsmbs/uchar.h: Really define mbstate_t.
30487         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30488         * wcsmbs/c16rtomb.c: New file.
30489         * wcsmbs/mbrtoc16.c: New file.
30490         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30491         for C/POSIX locale.
30492         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30493         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30495         * wcsmbs/wchar.h: Add missing __restrict.
30497 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30499         [BZ #13532]
30500         * time/Makefile (routines): Add timespec_get.
30501         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30502         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30503         timespec for ISO C11.
30504         * time/timespec_get.c: New file.
30505         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30506         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30508         [BZ #13531]
30509         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30510         * stdlib/stdlib.h: Declare aligned_alloc.
30511         * Versions.def: Add GLIBC_2.16 for libc.
30512         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30514         [BZ 13527]
30515         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30516         ISO C11.
30518         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30519         code.
30521         [BZ #13528]
30522         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30524         [BZ #13529]
30525         * assert/assert.h (static_assert): Define.
30527         * version.h: Update for 2.16 development version.
30529         [BZ #13526]
30530         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30531         _ISOC11_SOURCE.
30533         * version.h (RELEASE): Bump for 2.15 release.
30534         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30536         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30537         Patch by Marek Polacek <mpolacek@redhat.com>.
30539         * bits/byteswap.h: Protect long long constants with __extension__.
30540         * sysdeps/i386/bits/byteswap.h: Likewise.
30541         * sysdeps/ia64/bits/byteswap.h: Likewise.
30542         * sysdeps/s390/bits/byteswap.h: Likewise.
30543         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30545 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30547         [BZ #13540]
30548         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30549         destination buffer.
30550         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30552 2011-12-23  Marek Polacek  <polacek@redhat.com>
30554         * elf/dl-addr.c (determine_info): Add inline keyword.
30555         * elf/tst-auditmod4b.c (check_avx): Likewise.
30556         * elf/tst-auditmod6b.c (check_avx): Likewise.
30557         * elf/tst-auditmod6c.c (check_avx): Likewise.
30558         * elf/tst-auditmod7b.c (check_avx): Likewise.
30560 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30562         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30563         !__SSE_MATH__.
30565 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30567         [BZ #13540]
30568         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30569         processing for last bytes.
30571 2011-08-06  Bruno Haible  <bruno@clisp.org>
30573         [BZ #13061]
30574         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30575         U+0385, not to U+1FEE.
30577         [BZ #13062]
30578         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30579         entry for U+00A5 U+0301.
30581 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30583         [BZ #13166]
30584         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30585         buffer for the output is too small.
30587         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30588         optimization.
30590         [BZ #13185]
30591         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30592         SSE flags if possible.
30594 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30596         [BZ #13540]
30597         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30598         processing for last bytes.
30600 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30602         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30603         (syscall-list-default-options, syscall-list-default-condition)
30604         (syscall-list-includes): Define.
30605         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30606         list of ABIs and options and #if conditions for each ABI.  Do not
30607         handle common syscalls between ABIs specially.
30608         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30609         Remove.
30610         (syscall-list-variants, syscall-list-32bit-options)
30611         (syscall-list-32bit-condition, syscall-list-64bit-options)
30612         (syscall-list-64bit-condition): Define.
30613         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30614         (syscall-list-variants, syscall-list-32bit-options)
30615         (syscall-list-32bit-condition, syscall-list-64bit-options)
30616         (syscall-list-64bit-condition): Define.
30617         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30618         Remove.
30619         (syscall-list-variants, syscall-list-32bit-options)
30620         (syscall-list-32bit-condition, syscall-list-64bit-options)
30621         (syscall-list-64bit-condition): Define.
30622         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30623         Remove.
30624         (syscall-list-variants, syscall-list-32bit-options)
30625         (syscall-list-32bit-condition, syscall-list-64bit-options)
30626         (syscall-list-64bit-condition): Define.
30628 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30630         * locale/iso-639.def: Add brx entry.
30632         [BZ #13328]
30633         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30634         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30636         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30637         __feraiseexcept_renamed.
30639 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30641         [BZ #13538]
30642         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30643         EPOLLET with unsigned values.
30644         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30645         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30647         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30648         to large cancellation.
30649         * math/s_cacoshf.c: Likewise.
30650         * math/s_cacoshl.c: Likewise.
30652 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30654         [BZ #13305]
30655         [BZ #12786]
30656         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30657         * math/s_cacoshf.c: Likewise.
30658         * math/s_cacoshl.c: Likewise.
30660 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30662         [BZ #13439]
30663         * iconv/gconv.h: Define __GCONV_SWAP.
30664         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30665         * iconvdata/utf-16.c: Likewise.
30666         * iconvdata/utf-32.c: Likewise.
30668 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30670         [BZ #13524]
30671         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30672         numerator after shifting it by one limb.
30674 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30676         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30677         under [__USE_EXTERN_INLINES].
30679 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30681         [BZ #13446]
30682         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30684 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30686         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30687         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30688         optimized code.
30689         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30690         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30691         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30692         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30693         for strncasecmp/strncasecmp_l compilation.
30694         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30695         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30697 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30699         [BZ #13484]
30700         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30701         of __asm__.
30703 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30705         [BZ #13506]
30706         * time/tzfile.c (__tzfile_read): Check values from file header.
30708 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30710         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30711         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30712         * powerpc/powerpc32/dl-start.S: Likewise.
30713         * powerpc/powerpc32/elf/start.S: Likewise.
30714         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30715         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30716         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30717         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30718         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30719         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30720         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30721         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30722         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30723         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30724         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30725         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30726         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30727         * powerpc/powerpc32/memset.S: Likewise.
30728         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30729         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30730         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30731         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30732         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30733         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30734         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30735         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30736         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30737         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30738         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30739         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30740         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30742 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30744         * math/libm-test.inc: Added more nearbyint tests.
30745         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30746         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30750 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30752         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30753         FD_CLOEXEC.
30755 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30757         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30758         Add wcscpy-ssse3 wcscpy-c.
30759         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30760         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30761         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30762         * sysdeps/x86_64/wcschr.S: New file.
30763         * sysdeps/x86_64/wcsrchr.S: New file.
30764         * string/test-strcmp.c: Remove checking of wcscmp function for
30765         wrong alignments.
30766         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30767         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30768         wcsrchr-sse2 wcsrchr-c.
30769         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30770         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30771         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30772         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30773         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30774         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30775         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30776         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30777         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30778         * wcsmbc/wcschr.c (WCSCHR): New macro.
30780 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30782         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30783         * wcsmbs/test-wcsrchr.c: New file.
30784         * string/test-strrchr.c: Add wcsrchr support.
30785         (WIDE): New macro.
30786         * wcsmbs/test-wcscpy.c: New file.
30787         * string/test-strcpy.c: Add wcscpy support.
30788         (WIDE): New macro.
30790 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30792         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30793         the inner loop.
30795 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30797         [BZ #13472]
30798         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30800 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30802         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30803         Minor optimizations.
30805         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30806         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30807         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30809 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30811         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30812         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30813         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30814         for gcc to avoid warnings.
30815         * inet/Makefile (tests): Add tst-checks.
30816         * inet/tst-checks.c: New file.
30818         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30819         warning.
30821         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30822         __wmemcmp_sse2.
30824         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30825         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30827         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30829 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30831         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30832         problem.
30834         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30836 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30838         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30839         conditional on GCC version.
30840         (__arch_compare_and_exchange_val_8_acq)
30841         (__arch_compare_and_exchange_val_16_acq)
30842         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30843         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30844         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30846 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30848         * sysdeps/sh/backtrace.c: New file.
30850 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30852         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30853         parenthesis.
30855 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30857         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30858         falling back to utime.
30860 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30862         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30863         expectations for float.
30865 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30867         * locale/weight.h (findidx): Add parameter len.
30868         * locale/weightwc.h (findidx): Likewise.
30869         * posix/fnmatch_loop.c (FCT): Adjust caller.
30870         * posix/regcomp.c (build_equiv_class): Likewise.
30871         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30872         * posix/regexec.c (check_node_accept_bytes): Likewise.
30873         * string/strcoll_l.c (STRCOLL): Likewise.
30874         * string/strxfrm_l.c (STRXFRM): Likewise.
30876 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30878         * Makefile.in: Remove CVSOPT handling.
30879         * configure.in: Remove use of AC_REVISION.
30880         * iconvdata/Makefile (distribute): No need to filter out CVS.
30881         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30882         handling.
30884 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30887         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30888         [USE_AS_STRNCASECMP_L]: Likewise.
30889         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30890         NO_TLS_DIRECT_SEG_REFS.
30891         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30892         Fix argument offsets for non-PIC.
30893         [USE_AS_STRNCASECMP_L]: Likewise.
30894         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30895         NO_TLS_DIRECT_SEG_REFS.
30897 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30899         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30900         O_CLOEXEC.
30901         * locale/loadlocale.c (_nl_load_locale): Likewise.
30903 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30906         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30907         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30908         (SYSCALL_GETTIME): Set errno on error.
30910         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30911         count references to noai6ai_cached.
30913 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30915         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30917         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30918         FD_CLOEXEC for /proc/self/maps.
30920         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30921         FD_CLOEXEC for /proc/meminfo.
30923         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30924         gai.conf.
30926         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30927         FD_CLOEXEC for given file.
30929         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30931         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30932         FD_CLOEXEC for /etc/hosts.
30933         (_gethtent): Likewise.
30935         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30937         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30938         cancellation and set FD_CLOEXEC for /etc/netgroup.
30940         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30941         reading /etc/publickey.
30943         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30944         allow cancellation when reading /etc/group.
30946         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30947         cancellation.
30948         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30950         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30951         when using data file.
30953         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30955         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30956         (write_nis_obj): Use "c" and "e" in fopen.
30958         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30960         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30962         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30964         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30966         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30967         locale.alias.
30969         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30971         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30973         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30975         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30976         file parsing and set FD_CLOEXEC.
30978 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30980         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30982 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30984         * malloc/arena.c (arena_get2): Don't call reused_arena when
30985         _int_new_arena failed.
30987 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30989         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30990         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30991         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30992         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30993         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30994         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30995         to compile strcasecmp and strncasecmp.
30996         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30997         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31001 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31003         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31004         locale-defines.sym to gen-as-const-headers.
31005         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31006         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31007         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31008         to compile strcasecmp and strncasecmp.
31009         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31010         strcasecmp_l and strncasecmp_l.
31011         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31012         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31013         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31014         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31015         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31016         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31017         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31018         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31019         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31020         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31021         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31023 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31025         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31026         result of SYSDEP_GETTIME_CPU to retval.
31027         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31028         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31030         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31031         variable.
31033         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31034         mantissa words.
31035         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31037         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31038         from unused variable.
31040         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31041         DWARF definitions.
31042         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31043         for assembling.
31045         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31046         over namespaces.
31048         * sunrpc/rpc_prot.c (rejected): Fix case value.
31050         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31051         unsigned long long int to avoid warnings in shift.
31053         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31054         of use of trans.
31055         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31056         variable tmp.
31058         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31059         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31062         * nis/nis_table.c (nis_list): Use variable of correct type for
31063         result of __follow_path call.
31065 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31067         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31068         of math functions ceil, trunc, floor, round, and sqrt, when
31069         avaliable on the platform.
31070         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31071         name clash.
31072         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31073         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31074         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31076 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31078         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31079         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31081 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31083         * include/unistd.h: Fix __readlink return type.
31084         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31086 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31088         * stdlib/ucontext.h: Undo last change for makecontext.
31090 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31092         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31094         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31095         * setjmp/setjmp.h: Mark functions as non-leaf.
31096         * setjmp/bits/setjmp2.h: Likewise.
31097         * stdlib/ucontext.h: Likewise.
31099 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31101         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31102         (reused_arena): Don't check arena limit.
31103         (arena_get2): Atomically check arena limit.
31105 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31107         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31108         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31111         instructions.
31113 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31115         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31116         handler when locking.
31118         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31119         Fix size of allocated buffer.
31121 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31123         [BZ #10103]
31124         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31125         declarations for long double functions.
31126         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31128         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31130 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31132         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31133         installed.
31135         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31136         is disabled.
31138 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31140         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31142 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31144         * include/alloca.h (stackinfo_alloca_round): Define.
31145         (extend_alloca): Use it.
31146         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31147         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31148         here.
31150         * scripts/check-local-headers.sh: Ignore libaudit.h.
31152         * nscd/Makefile (extra-objs): Make recursively expanded.
31154 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31156         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31157         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31159         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31160         * posix/tst-rfc3484-2.c: Likewise.
31161         * posix/tst-rfc3484-3.c: Likewise.
31163         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31164         process_vm_writev.
31165         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31166         process_vm_writev.
31167         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31168         process_vm_writev from libc using GLIBC_2.15 version.
31170         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31172 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31174         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31175         stack usage.
31177 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31179         [BZ #13367]
31180         * nss/getent.c (initgroups_keys): Show error message in case no group
31181         names are given.
31183         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31184         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31185         __bump_nl_timestamp.
31186         * nscd/connections (nscd_init): When host database is served open
31187         netlink socket and request notification about configuration changes.
31188         (main_loop_poll): Track netlink file descriptor and bump timestamp
31189         in case data becomes available.
31190         (main_loop_epoll): Likewise.
31191         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31192         (database_pers_head): Add extra_data fileds.
31193         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31194         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31195         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31196         Adjust caller.
31197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31198         in6ai data, call __free_in6ai.
31199         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31200         Add -DHAVE_NETLINK.
31201         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31202         interface information.  Reuse previous data if netlink timestamp
31203         is not changed.
31204         (__bump_nl_timestamp): New function.
31205         (__free_in6ai): New function.
31207 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31209         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31210         close_not_cancel_no_status here.
31211         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31213 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31215         [BZ #13276]
31216         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31217         return value.
31219         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31220         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31221         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31223 2011-07-03  Andreas Jaeger  <aj@suse.de>
31225         [BZ #10709]
31226         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31227         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31228         * math/libm-test.inc (sin_test): Add test case.
31230 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31232         [BZ #13337]
31233         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31234         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31236         * elf/chroot_canon.c (chroot_canon): Cleanups.
31238         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31240         [BZ #13335]
31241         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31242         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31244         * string/test-strchr.c: Make usable for strchrnul testing.
31245         * string/test-strchrnul.c: New file.
31246         * string/Makefile (strop-tests): Add strchrnul.
31248         * po/it.po: Update from translation team.
31249         * po/es.po: Likewise.
31251 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31253         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31254         the three constants needed as parameters.  Drop the others.
31255         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31256         __m128i_strloadu_tolower.
31257         Create and initialize variable zero and use it in all the places
31258         where _mm_setzero_si128 was used.
31260         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31261         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31262         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31263         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31264         anymore.
31265         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31266         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31267         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31268         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31269         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31270         __mpranred, __mptan.
31271         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31272         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31273         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31274         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31275         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31276         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31277         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31278         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31279         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31281 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31283         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31284         redefine if SHARED.
31285         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31288         wide char related routines to wcsmbs subdir.
31290 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31292         [BZ #13344]
31293         * misc/sys/cdefs.h (__THROWNL): Define.
31294         * posix/unistd.h: Use __THREADNL instead of __THREAD
31295         for memory synchronization functions.
31297 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31299         [BZ #13349]
31300         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31301         doesn't exist.
31302         * manual/stdio.texi (Obstack Streams): Node removed.
31304 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31306         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31307         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31308         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31310         * math/math_private.h (math_force_eval): Allow non-addressable
31311         arguments.
31312         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31314 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31316         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31317         file is not needed.
31319         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31320         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31321         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31322         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31323         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31324         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31325         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31326         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31327         Add AVX variants.
31328         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31329         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31330         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31331         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31332         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31333         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31334         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31335         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31336         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31337         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31338         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31339         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31340         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31341         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31342         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31343         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31344         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31345         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31346         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31348         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31349         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31351         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31352         place.  Use VEX encoding when compiling for AVX.
31354 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31356         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31357         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31359         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31361 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31363         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31364         useless if() expression.
31365         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31366         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31367         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31368         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31370         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31371         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31372         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31373         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31374         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31375         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31376         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31377         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31378         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31379         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31380         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31381         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31382         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31383         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31385         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31387 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31389         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31390         condition.
31391         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31393 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31395         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31396         .text section.  Avoid duplicate constants.
31397         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31398         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31399         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31401         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31405         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31406         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31407         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31408         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31409         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31410         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31411         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31412         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31413         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31414         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31415         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31417         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31418         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31419         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31420         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31421         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31422         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31423         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31424         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31425         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31426         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31427         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31428         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31429         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31430         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31431         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31432         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31433         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31434         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31435         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31436         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31437         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31438         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31439         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31440         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31441         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31443 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31445         * sysdeps/x86_64/dla.h: Move to ...
31446         * sysdeps/x86_64/fpu/dla.h: ...here.
31447         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31448         situations.  Use __builtin_fma only for gcc 4.6 and up.
31450         * config.make.in: Add have-mfma4 entry.
31451         * configure.in: Substitute libc_cv_cc_fma4.
31452         * math/Makefile (dbl-only-routines): Add sincostab.
31453         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31454         Use __sincostab not sincos.
31455         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31456         name is a macro.
31457         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31461         using __copysign.
31462         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31463         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31464         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31465         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31466         and __inv.
31467         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31468         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31469         __copysign.
31470         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31471         define aliases when function name is a macro.
31472         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31473         sysdeps/ieee754/dbl-64/sincos.tbl.
31474         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31475         fma4-enabled routines.
31476         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31477         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31478         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31479         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31480         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31481         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31482         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31483         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31484         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31485         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31486         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31487         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31488         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31489         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31490         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31491         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31492         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31493         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31494         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31495         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31496         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31497         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31498         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31499         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31500         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31501         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31502         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31503         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31504         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31505         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31507         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31508         rename.
31509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31513         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31514         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31515         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31516         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31518 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31520         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31522 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31524         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31526         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31527         prediction.
31528         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31530         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31531         Remove unused variable magic_bits.
31532         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31534         * string/strnlen.c: Define and use STRNLEN macro.
31535         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31536         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31537         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31538         * wcsmbs/wcslen.c: Define and use WCSLEN.
31539         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31540         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31541         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31542         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31543         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31544         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31545         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31547 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31550         strnlen-sse2-no-bsf.
31551         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31552         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31553         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31554         Add strnlen support.
31555         (USE_AS_STRNLEN): New macro.
31556         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31557         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31558         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31559         * sysdeps/x86_64/wcslen.S: New file.
31561 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31563         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31564         XMM-moves are used for copying on small sizes.
31566 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31568         * wcsmbs/Makefile (strop-tests): Add wcschr.
31569         * wcsmbs/test-wcschr.c: New file.
31570         * string/test-strchr.c: Update.
31571         Add wcschr support.
31572         (WIDE): New macro.
31574 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31576         * wcsmbs/Makefile (strop-tests): Add wcslen.
31577         * wcsmbs/test-wcslen.c: New file.
31578         * string/test-strlen.c: Update.
31579         Add wcslen support.
31580         (WIDE): New macro.
31582 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31584         * po/it.po: Update from translation team.
31586 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31588         * sysdeps/x86_64/wcscmp.S: Update.
31589         Fix wrong comparison semantics.
31590         wcscmp shall use signed comparison not unsigned.
31591         Don't use substraction to avoid overflow bug.
31592         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31593         * wcsmbc/wcscmp.c: Likewise.
31594         * string/test-strcmp.c: Likewise.
31595         Add new tests to check cases with negative values.
31597 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31599         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31600         * sysdeps/x86_64/dla.h: ...here.  New file.
31601         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31602         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31603         * sysdeps/ieee754/dbl-64/e_atan2.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/e_sqrt.c: Likewise.
31607         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31609         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31611 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31614         __ynl_finite aliases.
31616 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31620         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31621         define DLA_FMA.
31622         [DLA_FMA] (EMULV): Use DLA_FMA.
31623         [DLA_FMA] (MUL12): Use EMULV.
31624         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31625         that are not needed.
31626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31629         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31631         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31632         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31634 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31636         * math/s_nan.c: Undef __nan.
31637         * math/s_nanf.c: Undef __nanf.
31638         * math/s_nanl.c: Undef __nanl.
31639         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31640         "math_private.h".
31642 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31644         * math/s_catan.c: Add branch predictions.
31645         * math/s_catanf.c: Likewise.
31646         * math/s_catanh.c: Likewise.
31647         * math/s_catanhf.c: Likewise.
31648         * math/s_catanhl.c: Likewise.
31649         * math/s_catanl.c: Likewise.
31650         * math/s_cexp.c: Likewise.
31651         * math/s_cexpf.c: Likewise.
31652         * math/s_cexpl.c: Likewise.
31653         * math/s_clog.c: Likewise.
31654         * math/s_clog10.c: Likewise.
31655         * math/s_clog10f.c: Likewise.
31656         * math/s_clog10l.c: Likewise.
31657         * math/s_clogf.c: Likewise.
31658         * math/s_clogl.c: Likewise.
31659         * math/s_csqrt.c: Likewise.
31660         * math/s_csqrtf.c: Likewise.
31661         * math/s_csqrtl.c: Likewise.
31662         * math/s_ctanf.c: Likewise.
31663         * math/s_ctanh.c: Likewise.
31664         * math/s_ctanhf.c: Likewise.
31665         * math/s_ctanhl.c: Likewise.
31666         * math/s_ctanl.c: Likewise.
31668         * math/math_private.h: Define __nan, __nanf, __nanl.
31669         * math/s_cacosh.c: Include <math_private.h>.
31670         * math/s_cacoshl.c: Likewise.
31671         * math/s_casinh.c: Likewise.
31672         * math/s_casinhf.c: Likewise.
31673         * math/s_casinhl.c: Likewise.
31674         * math/s_ccos.c: Rely entire on ccosh.
31675         * math/s_ccosf.c: Rely entire on ccoshf.
31676         * math/s_ccosl.c: Rely entirely on ccoshl.
31677         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31678         Remove tests for FE_INVALID.
31679         * math/s_ccoshf.c: Likewise.
31680         * math/s_ccoshl.c: Likewise.
31681         * math/s_csin.c: Likewise.
31682         * math/s_csinf.c: Likewise.
31683         * math/s_csinh.c Likewise.
31684         * math/s_csinhf.c: Likewise.
31685         * math/s_csinhl.c: Likewise.
31686         * math/s_csinl.c: Likewise.
31687         * math/s_ctan.c: Likewise.
31688         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31689         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31690         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31692 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31695         compilation problems.
31697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31698         __builtin_expect.
31700 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31702         * sysdeps/i386/configure.in: Test for -mfma4 option.
31703         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31704         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31705         COMMON_CPUID_INDEX_80000001.
31706         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31707         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31708         use it if FMA3 is not supported.
31709         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31711         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31712         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31714 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31716         [BZ #12892]
31717         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31718         it would create a cycle with a link time dependency.
31720 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31722         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31723         instruction.
31724         * string/Makefile (strop-tests): Add rawmemchr.
31725         * string/test-rawmemchr.c: New file.
31727         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31728         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31729         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31730         when compiling str{,n}casecmp and when AVX is available.  Hook up
31731         new optimized code in initializers.
31733 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31735         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31736         __feraiseexcept instead of feraiseexcept.
31738 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31740         * math/math_private.h: Define defaults for libc_fetestexcept and
31741         libc_feupdateenv.
31742         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31743         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31744         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31745         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31746         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31747         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31748         libc_fetestexcept and libc_feupdateenv.
31750         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31751         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31752         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31753         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31754         libc_feholdexcept_setround.
31756         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31757         Add s_nearbyint-c and s_nearbyintf-c.
31758         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31759         nearbyintf inlines.
31760         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31761         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31762         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31763         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31765         * math/math_private.h: Define defaults for libc_fegetround,
31766         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31767         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31768         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31769         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31770         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31771         standard functions.
31772         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31773         Remove comments and hacks for old compiler versions.
31774         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31775         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31776         libc_feholdexceptl.
31778 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31780         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31781         (__feraiseexcept_renamed): Add __NTH.
31782         (feraiseexcept): Add __NTH.  Rename local variables to fix
31783         namespace violations.
31785 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31787         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31789         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31791         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31792         recently added interfaces.
31793         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31795         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31796         about macro parameter expansion.
31798         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31799         __NO_MATH_INLINES is defined.  Cleanups.
31801         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31802         and __floorf is target has SSE4.1.
31803         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31804         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31805         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31806         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31808         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31809         name.
31810         (floorf): Likewise.
31812         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31814 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31816         * misc/sys/cdefs.h: Fix last change.
31818         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31819         database lookup.
31821 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31823         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31825         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31826         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31827         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31828         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31829         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31830         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31831         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31832         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31833         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31834         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31835         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31836         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31837         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31838         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31839         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31840         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31841         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31842         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31843         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31844         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31845         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31846         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31848         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31849         ceil, ceilf, floor, floorf.
31851         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31852         Perform IRELATIVE relocations last.
31854         * elf/do-rel.h: Add another parameter nrelative, replacing the
31855         local variable with the same name.  Change name of the function
31856         to end in Rel or Rela (uppercase).
31857         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31858         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31859         elf_dynamic_do_##reloc function.
31861 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31863         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31864         is sufficient, at least on modern CPUs.
31866         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31868         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31869         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31871         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31872         __expl_finite.
31873         * math/bits/math-finite.h: Add entries for exp.
31874         * math/e_expl.c: Add __*_finite alias.
31875         * sysdeps/i386/fpu/e_exp.S: Likewise.
31876         * sysdeps/i386/fpu/e_expf.S: Likewise.
31877         * sysdeps/i386/fpu/e_expl.c: Likewise.
31878         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31879         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31880         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31881         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31882         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31883         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31884         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31886         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31887         is sufficient, at least on modern CPUs.
31889         * ctype/ctype-info.c (__ctype_init): Define.
31890         * include/ctype.h (__ctype_init): Declare.
31891         (__ctype_b_loc): The variable is always initialized.
31892         (__ctype_toupper_loc): Likewise.
31893         (__ctype_tolower_loc): Likewise.
31894         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31895         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31897 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31899         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31901         * configure.in: Also look in $cxxmachine/include for C++ system
31902         headers.
31904 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31906         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31907         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31908         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31909         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31910         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31911         (USE_AS_WMEMCMP): New macro.
31912         Fixing indents.
31913         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31914         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31915         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31916         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31917         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31918         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31919         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31920         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31921         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31922         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31923         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31924         (USE_AS_WMEMCMP): New macro.
31925         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31926         * sysdeps/string/test-memcmp.c: Update.
31927         Fix simple_wmemcmp.
31928         Add new tests.
31929         * wcsmbs/wmemcmp.c: Update.
31930         (WMEMCMP): New macro.
31931         Fix overflow bug.
31933 2011-10-12  Andreas Jaeger  <aj@suse.de>
31935         [BZ #13268]
31936         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31938 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31940         * libio/iofwide.c (do_length): Avoid warning.
31942         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31944 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31946         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31948         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31949         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31950         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31951         * sysdeps/i386/i686/fpu/e_log.S: New file.
31952         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31953         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31955         * ctype/ctype.h: Add support for inlined isXXX functions when
31956         compiling C++ code.
31958 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31960         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31962         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31964 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31966         [BZ #13291]
31967         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31969 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31971         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31972         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31973         feraiseexcept.
31975         * sysdeps/x86_64/memrchr.S: Check for zero size.
31977         * string/stratcliff.c: Add memrchr tests.
31979 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31982         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31983         rawmemchr-sse2 rawmemchr-sse2-bsf.
31984         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31985         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31986         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31987         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31988         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31989         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31990         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31991         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31992         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31993         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31994         * string/memrchr.c (MEMRCHR): New macro.
31996 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31998         Add integration with gcc's -ffinite-math-only and optimize wrapper
31999         functions in libm.
32000         * Versions.def: Define GLIBC_2.15 version for libm.
32001         * math/Makefile (headers): Add bits/math-finite.h.
32002         * math/bits/math-finite.h: New file.
32003         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32004         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32005         * math/e_acoshl.c: Add __*_finite alias.
32006         * math/e_acosl.c: Likewise.
32007         * math/e_asinl.c: Likewise.
32008         * math/e_atan2l.c: Likewise.
32009         * math/e_atanhl.c: Likewise.
32010         * math/e_coshl.c: Likewise.
32011         * math/e_exp10.c: Likewise.
32012         * math/e_exp10f.c: Likewise.
32013         * math/e_exp10l.c: Likewise.
32014         * math/e_exp2l.c: Likewise.
32015         * math/e_fmodl.c: Likewise.
32016         * math/e_gammal_r.c: Likewise.
32017         * math/e_hypotl.c: Likewise.
32018         * math/e_j0l.c: Likewise.
32019         * math/e_j1l.c: Likewise.
32020         * math/e_jnl.c: Likewise.
32021         * math/e_lgammal_r.c: Likewise.
32022         * math/e_log10l.c: Likewise.
32023         * math/e_log2l.c: Likewise.
32024         * math/e_logl.c: Likewise.
32025         * math/e_powl.c: Likewise.
32026         * math/e_sinhl.c: Likewise.
32027         * math/e_sqrtl.c: Likewise.
32028         * math/e_scalb.c: Completely rewritten and optimized.
32029         * math/e_scalbf.c: Likewise.
32030         * math/e_scalbl.c: Likewise.
32031         * math/w_acos.c: Likewise.
32032         * math/w_acosf.c: Likewise.
32033         * math/w_acosl.c: Likewise.
32034         * math/w_acosh.c: Likewise.
32035         * math/w_acoshf.c: Likewise.
32036         * math/w_acoshl.c: Likewise.
32037         * math/w_asin.c: Likewise.
32038         * math/w_asinf.c: Likewise.
32039         * math/w_asinl.c: Likewise.
32040         * math/w_atan2.c: Likewise.
32041         * math/w_atan2f.c: Likewise.
32042         * math/w_atan2l.c: Likewise.
32043         * math/w_atanh.c: Likewise.
32044         * math/w_atanhf.c: Likewise.
32045         * math/w_atanhl.c: Likewise.
32046         * math/w_exp10.c: Likewise.
32047         * math/w_exp10f.c: Likewise.
32048         * math/w_exp10l.c: Likewise.
32049         * math/w_fmod.c: Likewise.
32050         * math/w_fmodf.c: Likewise.
32051         * math/w_fmodl.c: Likewise.
32052         * math/w_j0.c: Likewise.
32053         * math/w_j0f.c: Likewise.
32054         * math/w_j0l.c: Likewise.
32055         * math/w_j1.c: Likewise.
32056         * math/w_j1f.c: Likewise.
32057         * math/w_j1l.c: Likewise.
32058         * math/w_jn.c: Likewise.
32059         * math/w_jnf.c: Likewise.
32060         * math/w_log.c: Likewise.
32061         * math/w_logf.c: Likewise.
32062         * math/w_logl.c: Likewise.
32063         * math/w_log10.c: Likewise.
32064         * math/w_log10f.c: Likewise.
32065         * math/w_log10l.c: Likewise.
32066         * math/w_log2.c: Likewise.
32067         * math/w_log2f.c: Likewise.
32068         * math/w_log2l.c: Likewise.
32069         * math/w_pow.c: Likewise.
32070         * math/w_powf.c: Likewise.
32071         * math/w_powl.c: Likewise.
32072         * math/w_remainder.c: Likewise.
32073         * math/w_remainderf.c: Likewise.
32074         * math/w_remainderl.c: Likewise.
32075         * math/w_scalb.c: Likewise.
32076         * math/w_scalbf.c: Likewise.
32077         * math/w_scalbl.c: Likewise.
32078         * math/w_sqrt.c: Likewise.
32079         * math/w_sqrtf.c: Likewise.
32080         * math/w_sqrtl.c: Likewise.
32081         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32082         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32083         used.
32084         * math/math_private.h: Declare __kernel_standard_f.
32085         * math/w_cosh.c: Remove cruft and optimize a bit.
32086         * math/w_coshf.c: Likewise.
32087         * math/w_coshl.c: Likewise.
32088         * math/w_exp2.c: Likewise.
32089         * math/w_exp2f.c: Likewise.
32090         * math/w_exp2l.c: Likewise.
32091         * math/w_hypot.c: Likewise.
32092         * math/w_hypotf.c: Likewise.
32093         * math/w_hypotl.c: Likewise.
32094         * math/w_lgamma.c: Likewise.
32095         * math/w_lgamma_r.c: Likewise.
32096         * math/w_lgammaf.c: Likewise.
32097         * math/w_lgammaf_r.c: Likewise.
32098         * math/w_lgammal.c: Likewise.
32099         * math/w_lgammal_r.c: Likewise.
32100         * math/w_sinh.c: Likewise.
32101         * math/w_sinhf.c: Likewise.
32102         * math/w_sinhl.c: Likewise.
32103         * math/w_tgamma.c: Likewise.
32104         * math/w_tgammaf.c: Likewise.
32105         * math/w_tgammal.c: Likewise.
32106         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32108         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32109         Minor optimizations.  Pretty printing.  Remove cruft.
32110         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32111         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32112         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32113         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32114         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32115         * sysdeps/i386/fpu/e_asin.S: Likewise.
32116         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32117         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32118         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32119         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32120         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32121         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32122         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32123         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32124         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32125         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32126         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32127         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32128         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32129         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32130         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32131         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32132         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32133         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32134         * sysdeps/i386/fpu/e_log.S: Likewise.
32135         * sysdeps/i386/fpu/e_log10.S: Likewise.
32136         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32137         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32138         * sysdeps/i386/fpu/e_log2.S: Likewise.
32139         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32140         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32141         * sysdeps/i386/fpu/e_logf.S: Likewise.
32142         * sysdeps/i386/fpu/e_logl.S: Likewise.
32143         * sysdeps/i386/fpu/e_pow.S: Likewise.
32144         * sysdeps/i386/fpu/e_powf.S: Likewise.
32145         * sysdeps/i386/fpu/e_powl.S: Likewise.
32146         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32147         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32148         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32149         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32150         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32151         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32152         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32153         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32154         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32155         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32158         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32159         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32160         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32161         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32162         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32163         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32164         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32165         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32166         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32168         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32169         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32171         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32172         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32173         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32175         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32176         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32177         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32178         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32179         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32180         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32181         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32182         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32183         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32184         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32185         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32186         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32187         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32188         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32189         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32190         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32191         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32192         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32193         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32194         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32195         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32196         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32197         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32198         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32199         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32200         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32201         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32202         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32203         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32205         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32206         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32207         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32208         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32209         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32210         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32211         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32212         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32213         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32214         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32215         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32216         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32217         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32218         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32219         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32220         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32221         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32222         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32223         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32224         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32225         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32226         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32227         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32228         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32229         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32230         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32232         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32233         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32234         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32235         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32236         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32237         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32238         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32239         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32240         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32241         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32242         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32243         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32244         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32245         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32246         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32247         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32248         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32249         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32250         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32251         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32252         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32253         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32254         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32255         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32256         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32257         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32258         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32259         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32260         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32261         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32262         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32263         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32264         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32265         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32266         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32267         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32268         (__isnanf): Likewise.
32269         (__isinf_ns): Likewise.
32270         (__isinf_nsf): Likewise.
32271         (__finite): Likewise.
32272         (__finitef): Likewise.
32273         (__ieee754_sqrt): Define as macro.
32274         (__ieee754_sqrtf): Define as macro.
32275         (__ieee754_sqrtl): Define as macro.
32276         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32277         inlined copy.
32278         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32279         __FINITE_MATH_ONLY__ consistent.
32280         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32282 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32284         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32285         of rawmemchr.
32287         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32289 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32291         * po/ja.po: Update from translation team.
32293 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32295         * locale/programs/locarchive.c (prepare_address_space): New function.
32296         (create_archive, enlarge_archive, open_archive): Use it.
32298         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32299         inside [SHARED], where it is used.
32301         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32303         * nss/getent.c (netgroup_keys): Remove unused variable.
32304         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32306 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32308         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32309         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32311         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32312         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32314         * math/Makefile (libm-calls): Add s_isinf_ns.
32315         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32316         * math/multc3.c: Likewise.
32317         * math/s_casin.c: Likewise.
32318         * math/s_casinf.c: Likewise.
32319         * math/s_casinl.c: Likewise.
32320         * math/s_ccos.c: Likewise.
32321         * math/s_ccosf.c: Likewise.
32322         * math/s_ccosl.c: Likewise.
32323         * math/s_ctan.c: Likewise.
32324         * math/s_ctanf.c: Likewise.
32325         * math/s_ctanh.c: Likewise.
32326         * math/s_ctanhf.c: Likewise.
32327         * math/s_ctanhl.c: Likewise.
32328         * math/s_ctanl.c: Likewise.
32329         * math/w_fmod.c: Likewise.
32330         * math/w_fmodf.c: Likewise.
32331         * math/w_fmodl.c: Likewise.
32332         * math/w_remainder.c: Likewise.
32333         * math/w_remainderf.c: Likewise.
32334         * math/w_remainderl.c: Likewise.
32335         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32336         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32337         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32338         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32339         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32340         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32341         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32342         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32344         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32345         of the number.
32346         * stdio-common/printf_fphex.c: Likewise.
32347         * stdio-common/printf_size.c: Likewise.
32349         * math/e_exp10.c: Include math_private.h using <...> not "...".
32350         * math/e_exp10f.c: Likewise.
32351         * math/e_exp10l.c: Likewise.
32352         * math/e_exp2l.c: Likewise.
32353         * math/e_j0l.c: Likewise.
32354         * math/e_j1l.c: Likewise.
32355         * math/e_jnl.c: Likewise.
32356         * math/e_lgammal_r.c: Likewise.
32357         * math/e_rem_pio2l.c: Likewise.
32358         * math/e_scalb.c: Likewise.
32359         * math/e_scalbf.c: Likewise.
32360         * math/e_scalbl.c: Likewise.
32361         * math/k_cosl.c: Likewise.
32362         * math/k_sinl.c: Likewise.
32363         * math/k_tanl.c: Likewise.
32364         * math/s_cacoshf.c: Likewise.
32365         * math/s_catan.c: Likewise.
32366         * math/s_catanf.c: Likewise.
32367         * math/s_catanh.c: Likewise.
32368         * math/s_catanhf.c: Likewise.
32369         * math/s_catanhl.c: Likewise.
32370         * math/s_catanl.c: Likewise.
32371         * math/s_ccosh.c: Likewise.
32372         * math/s_ccoshf.c: Likewise.
32373         * math/s_ccoshl.c: Likewise.
32374         * math/s_cexp.c: Likewise.
32375         * math/s_cexpf.c: Likewise.
32376         * math/s_cexpl.c: Likewise.
32377         * math/s_clog.c: Likewise.
32378         * math/s_clog10.c: Likewise.
32379         * math/s_clog10f.c: Likewise.
32380         * math/s_clog10l.c: Likewise.
32381         * math/s_clogf.c: Likewise.
32382         * math/s_clogl.c: Likewise.
32383         * math/s_csin.c: Likewise.
32384         * math/s_csinf.c: Likewise.
32385         * math/s_csinh.c: Likewise.
32386         * math/s_csinhf.c: Likewise.
32387         * math/s_csinhl.c: Likewise.
32388         * math/s_csinl.c: Likewise.
32389         * math/s_csqrt.c: Likewise.
32390         * math/s_csqrtf.c: Likewise.
32391         * math/s_csqrtl.c: Likewise.
32392         * math/s_ctan.c: Likewise.
32393         * math/s_ctanf.c: Likewise.
32394         * math/s_ctanh.c: Likewise.
32395         * math/s_ctanhf.c: Likewise.
32396         * math/s_ctanhl.c: Likewise.
32397         * math/s_ctanl.c: Likewise.
32398         * math/s_ldexp.c: Likewise.
32399         * math/s_ldexpf.c: Likewise.
32400         * math/s_ldexpl.c: Likewise.
32401         * math/s_significand.c: Likewise.
32402         * math/s_significandf.c: Likewise.
32403         * math/s_significandl.c: Likewise.
32404         * math/w_acos.c: Likewise.
32405         * math/w_acosf.c: Likewise.
32406         * math/w_acosh.c: Likewise.
32407         * math/w_acoshf.c: Likewise.
32408         * math/w_acoshl.c: Likewise.
32409         * math/w_acosl.c: Likewise.
32410         * math/w_asin.c: Likewise.
32411         * math/w_asinf.c: Likewise.
32412         * math/w_asinl.c: Likewise.
32413         * math/w_atan2.c: Likewise.
32414         * math/w_atan2f.c: Likewise.
32415         * math/w_atan2l.c: Likewise.
32416         * math/w_atanh.c: Likewise.
32417         * math/w_atanhf.c: Likewise.
32418         * math/w_atanhl.c: Likewise.
32419         * math/w_cosh.c: Likewise.
32420         * math/w_coshf.c: Likewise.
32421         * math/w_coshl.c: Likewise.
32422         * math/w_dremf.c: Likewise.
32423         * math/w_exp10.c: Likewise.
32424         * math/w_exp10f.c: Likewise.
32425         * math/w_exp10l.c: Likewise.
32426         * math/w_exp2.c: Likewise.
32427         * math/w_exp2f.c: Likewise.
32428         * math/w_fmod.c: Likewise.
32429         * math/w_fmodf.c: Likewise.
32430         * math/w_fmodl.c: Likewise.
32431         * math/w_hypot.c: Likewise.
32432         * math/w_hypotf.c: Likewise.
32433         * math/w_hypotl.c: Likewise.
32434         * math/w_j0.c: Likewise.
32435         * math/w_j0f.c: Likewise.
32436         * math/w_j0l.c: Likewise.
32437         * math/w_j1.c: Likewise.
32438         * math/w_j1f.c: Likewise.
32439         * math/w_j1l.c: Likewise.
32440         * math/w_jn.c: Likewise.
32441         * math/w_jnf.c: Likewise.
32442         * math/w_jnl.c: Likewise.
32443         * math/w_lgamma.c: Likewise.
32444         * math/w_lgamma_r.c: Likewise.
32445         * math/w_lgammaf.c: Likewise.
32446         * math/w_lgammaf_r.c: Likewise.
32447         * math/w_lgammal.c: Likewise.
32448         * math/w_lgammal_r.c: Likewise.
32449         * math/w_log.c: Likewise.
32450         * math/w_log10.c: Likewise.
32451         * math/w_log10f.c: Likewise.
32452         * math/w_log10l.c: Likewise.
32453         * math/w_log2.c: Likewise.
32454         * math/w_log2f.c: Likewise.
32455         * math/w_log2l.c: Likewise.
32456         * math/w_logf.c: Likewise.
32457         * math/w_logl.c: Likewise.
32458         * math/w_pow.c: Likewise.
32459         * math/w_powf.c: Likewise.
32460         * math/w_powl.c: Likewise.
32461         * math/w_remainder.c: Likewise.
32462         * math/w_remainderf.c: Likewise.
32463         * math/w_remainderl.c: Likewise.
32464         * math/w_scalb.c: Likewise.
32465         * math/w_scalbf.c: Likewise.
32466         * math/w_scalbl.c: Likewise.
32467         * math/w_sinh.c: Likewise.
32468         * math/w_sinhf.c: Likewise.
32469         * math/w_sinhl.c: Likewise.
32470         * math/w_sqrt.c: Likewise.
32471         * math/w_sqrtf.c: Likewise.
32472         * math/w_sqrtl.c: Likewise.
32473         * math/w_tgamma.c: Likewise.
32474         * math/w_tgammaf.c: Likewise.
32475         * math/w_tgammal.c: Likewise.
32477         * po/ja.po: Update from translation team.
32479 2011-09-29  Andreas Jaeger  <aj@suse.de>
32481         [BZ #13179]
32482         * sunrpc/netname.c (netname2host): Fix logic.
32484         [BZ #6779]
32485         [BZ #6783]
32486         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32487         correctly.
32488         * math/w_remainder.c (__remainder): Likewise.
32489         * math/w_remainderf.c (__remainderf): Likewise.
32490         * math/libm-test.inc (remainder_test): Add test cases.
32492 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32494         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32495         sdiv_qrnnd.
32497 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32499         * string/test-memcmp.c: Avoid unncessary #defines.
32500         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32502 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32504         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32505         Use new sse2 version for core i3 - i7 as it's faster
32506         than sse42 version.
32507         (bit_Prefer_PMINUB_for_stringop): New.
32508         * sysdeps/x86_64/rawmemchr.S: Update.
32509         Replace with faster SSE2 version.
32510         * sysdeps/x86_64/memrchr.S: New file.
32511         * sysdeps/x86_64/memchr.S: Update.
32512         Replace with faster SSE2 version.
32514 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32516         * elf/dl-load.c (lose): Add cast to avoid warning.
32518 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32520         * po/ca.po: Update from translation team.
32522         * inet/getnetgrent_r.c: Hook up nscd.
32523         * nscd/Makefile (routines): Add nscd_netgroup.
32524         (nscd-modules): Add netgroupcache.
32525         (CFLAGS-netgroupcache.c): Define.
32526         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32527         (cache_search): Add const to second parameter.
32528         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32529         INNETGR.
32530         (dbs): Add netgrdb entry.
32531         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32532         (verify_persistent_db): Handle netgrdb.
32533         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32534         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32535         GETFDNETGR.
32536         (netgroup_response_header): Define.
32537         (innetgroup_response_header): Define.
32538         (datahead): Add netgroup_response_header and innetgroup_response_header
32539         elements.
32540         * nscd/nscd.conf: Add entries for netgroup cache.
32541         * nscd/nscd.h (dbtype): Add netgrdb.
32542         (_PATH_NSCD_NETGROUP_DB): Define.
32543         (netgroup_iov_disabled): Declare.
32544         (xmalloc, xcalloc, xrealloc): Move declarations here.
32545         (cache_search): Adjust prototype.
32546         Add netgroup-related prototypes.
32547         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32548         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32549         (__nscd_innetgr): Declare.
32550         * nscd/selinux.c (perms): Use access_vector_t as element type and
32551         add netgroup-related initializers.
32552         * nscd/netgroupcache.c: New file.
32553         * nscd/nscd_netgroup.c: New file.
32554         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32555         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32556         For four parameters use innetgr.
32557         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32558         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32559         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32560         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32562         * nscd/connections.c (register_traced_file): Don't register file
32563         for disabled databases.
32565 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32567         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32569         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32570         from tree and freeing node.
32572 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32574         * nss/nsswitch.c (__nss_database_lookup): Handle
32575         nss_parse_service_list out of memory case.
32577 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32579         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32580         out of memory case.
32582 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32584         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32585         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32586         pass it down.
32587         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32588         elf_machine_rela, elf_machine_lazy_rel.
32589         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32590         (ELF_DYNAMIC_DO_REL): Likewise.
32591         (ELF_DYNAMIC_DO_RELA): Likewise.
32592         (ELF_DYNAMIC_RELOCATE): Likewise.
32593         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32594         to ELF_DYNAMIC_DO_REL.
32595         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32596         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32597         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32598         elf_machine_rela.
32599         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32600         skip_ifunc, don't call ifunc function if non-zero.
32601         (elf_machine_rela): Likewise.
32602         (elf_machine_lazy_rel): Likewise.
32603         (elf_machine_lazy_rela): Likewise.
32604         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32605         (elf_machine_lazy_rel): Likewise.
32606         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32607         Likewise.
32608         (elf_machine_lazy_rel): Likewise.
32609         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32610         Likewise.
32611         (elf_machine_lazy_rel): Likewise.
32612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32613         (elf_machine_lazy_rel): Likewise.
32614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32615         (elf_machine_lazy_rel): Likewise.
32616         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32617         (elf_machine_lazy_rel): Likewise.
32618         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32619         (elf_machine_lazy_rel): Likewise.
32620         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32621         (elf_machine_lazy_rel): Likewise.
32622         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32623         (elf_machine_lazy_rel): Likewise.
32625 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32627         * nss/nss_files/files-init.c (_nss_files_init): Use static
32628         initialization for all the *_traced_file variables.
32630 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32632         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32634 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32636         [BZ #13226]
32637         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32639 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32642         Reread the line before reparsing it.
32644 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32646         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32648 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32649             Maxim Kuvyrkov  <maxim@codesourcery.com>
32650             Joseph Myers  <joseph@codesourcery.com>
32652         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32653         if needed for __stack_chk_guard.
32655 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32657         * sysdeps/posix/spawni.c (script_execute): Always define it.
32658         It will be optimized away if unused.
32659         (maybe_script_execute): New function.
32660         (__spawni): Call it.
32662         * Makerules: Don't include tls.make.
32663         (config-tls): Always set to thread.
32664         * tls.make.c: File removed.
32666 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32668         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32669         * config.make.in (CPPFLAGS-config): New substituted variable.
32671 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32673         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32675         [BZ #13192]
32676         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32677         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32679 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32681         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32682         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32684         (CALL_FAIL): Likewise.
32685         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32686         (CALL_FAIL): Macro removed.
32687         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32689 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32691         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32692         for __FINITE_MATH_ONLY__ == 1.
32694 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32696         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32697         __ieee754_sqrt instead of sqrt.
32698         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32699         __ieee754_sqrtf instead of sqrtf.
32700         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32701         __floorf instead of floorf.
32702         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32703         __floorf, __truncf instead of floorf, truncf.
32705 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32707         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32709         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32710         __extern_always_inline.
32711         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32712         32-bit.
32714 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32716         * elf/rtld.c (dl_main): Also relocate in dependency order when
32717         doing symbol dependency testing.
32719 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32722         Always define `refsym'.
32724 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32726         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32727         (__FD_ELT): Renamed from __FDELT.
32728         * misc/bits/select2.h (__FD_ELT): Likewise.
32729         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32730         __FD_MASK instead of __FDELT, __FDMASK.
32731         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32732         Likewise.
32733         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32734         Likewise.
32736         * elf/Makefile (gen-ldd): Fix pattern.
32738         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32739         (init_tls): Likewise.
32741 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32743         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32745 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32747         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32748         `struct cmsghdr *' instead of `void *'.
32749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32750         Likewise.
32752 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32754         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32755         if non-absolute.
32756         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32757         ldd_rewrite_script.
32759 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32761         * configure.in: Remove --with-tls option.
32762         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32763         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32764         out in case it is missing.
32765         * sysdeps/ia64/elf/configure.in: Likewise.
32766         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32767         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32768         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32769         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32770         * sysdeps/sh/elf/configure.in: Likewise.
32771         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32772         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32773         * sysdeps/x86_64/elf/configure.in: Likewise.
32774         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32775         * sysdeps/mach/hurd/tls.h: Likewise.
32777         [BZ #13067]
32778         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32780         [BZ #13090]
32781         * configure.in: Fix use of AC_INIT.
32783         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32785 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32787         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32788         __set_errno.
32789         * malloc/hooks.c: Likewise.
32791         [BZ #11929]
32792         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32793         variables statically.
32794         (narenas): Initialize.
32795         (list_lock): Initialize.
32796         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32797         initializtion of main_arena and list_lock.  Small cleanups.
32798         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32799         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32800         Add initializers to main_arena and mp_.
32801         (malloc_state): Remove pagesize member.  Change all users to use
32802         GLRO(dl_pagesize).
32804         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32805         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32806         is always initialized.
32808         * malloc/malloc.c: Removed unused configurations and dead code.
32809         * malloc/arena.c: Likewise.
32810         * malloc/hooks.c: Likewise.
32811         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32813         * include/tls.h: Removed.  USE___THREAD must always be defined.
32814         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32815         * elf/dl-libc.c: Likewise.
32816         * elf/dl-tsd.c: Likewise.
32817         * include/errno.h: Likewise.
32818         * include/netdb.h: Likewise.
32819         * include/resolv.h: Likewise.
32820         * inet/herrno-loc.c: Likewise.
32821         * inet/herrno.c: Likewise.
32822         * malloc/arena.c: Likewise.
32823         * malloc/hooks.c: Likewise.
32824         * malloc/malloc.c: Likewise.
32825         * resolv/res-state.c: Likewise.
32826         * resolv/res_libc.c: Likewise.
32827         * sysdeps/i386/dl-machine.h: Likewise.
32828         * sysdeps/ia64/dl-machine.h: Likewise.
32829         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32830         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32831         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32832         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32833         * sysdeps/sh/dl-machine.h: Likewise.
32834         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32835         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32836         * sysdeps/unix/i386/sysdep.S: Likewise.
32837         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32838         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32843         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32845         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32847         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32848         * sysdeps/x86_64/dl-machine.h: Likewise.
32849         * tls.make.c: Likewise.
32851         * configure.in: Remove --with-__thread option.  Make tests for
32852         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32853         tls_model attribute fail if no support is available.  Remove
32854         USE_IN_LIBIO.
32855         * Makeconfig: Adjust for dropped configure option.  All features are
32856         now mandatory.
32857         * Makerules: Likewise.
32858         * Versions.def: Likewise.
32859         * argp/argp-fmtstream.c: Likewise.
32860         * argp/argp-fmtstream.h: Likewise.
32861         * argp/argp-help.c: Likewise.
32862         * assert/assert.c: Likewise.
32863         * config.h.in: Likewise.
32864         * config.make.in: Likewise.
32865         * configure: Likewise.
32866         * configure.in: Likewise.
32867         * csu/Versions: Likewise.
32868         * csu/init.c: Likewise.
32869         * elf/tst-audit2.c: Likewise.
32870         * elf/tst-tls10.c: Likewise.
32871         * elf/tst-tls10.h: Likewise.
32872         * elf/tst-tls11.c: Likewise.
32873         * elf/tst-tls12.c: Likewise.
32874         * elf/tst-tls14.c: Likewise.
32875         * elf/tst-tlsmod11.c: Likewise.
32876         * elf/tst-tlsmod12.c: Likewise.
32877         * elf/tst-tlsmod13.c: Likewise.
32878         * elf/tst-tlsmod13a.c: Likewise.
32879         * elf/tst-tlsmod14a.c: Likewise.
32880         * elf/tst-tlsmod15b.c: Likewise.
32881         * elf/tst-tlsmod16a.c: Likewise.
32882         * elf/tst-tlsmod16b.c: Likewise.
32883         * elf/tst-tlsmod7.c: Likewise.
32884         * elf/tst-tlsmod8.c: Likewise.
32885         * elf/tst-tlsmod9.c: Likewise.
32886         * gmon/gmon.c: Likewise.
32887         * grp/fgetgrent_r.c: Likewise.
32888         * grp/putgrent.c: Likewise.
32889         * hurd/fopenport.c: Likewise.
32890         * include/libc-symbols.h: Likewise.
32891         * include/tls.h: Likewise.
32892         * intl/gettextP.h: Likewise.
32893         * intl/loadinfo.h: Likewise.
32894         * locale/global-locale.c: Likewise.
32895         * locale/localeinfo.h: Likewise.
32896         * mach/devstream.c: Likewise.
32897         * malloc/arena.c: Likewise.
32898         * malloc/set-freeres.c: Likewise.
32899         * misc/err.c: Likewise.
32900         * misc/getttyent.c: Likewise.
32901         * misc/mntent_r.c: Likewise.
32902         * posix/getopt.c: Likewise.
32903         * posix/wordexp.c: Likewise.
32904         * pwd/fgetpwent_r.c: Likewise.
32905         * resolv/Versions: Likewise.
32906         * resolv/res_hconf.c: Likewise.
32907         * shadow/fgetspent_r.c: Likewise.
32908         * shadow/putspent.c: Likewise.
32909         * stdio-common/printf_fphex.c: Likewise.
32910         * stdio-common/tmpfile.c: Likewise.
32911         * stdlib/abort.c: Likewise.
32912         * stdlib/fmtmsg.c: Likewise.
32913         * sunrpc/auth_unix.c: Likewise.
32914         * sunrpc/clnt_perr.c: Likewise.
32915         * sunrpc/clnt_tcp.c: Likewise.
32916         * sunrpc/clnt_udp.c: Likewise.
32917         * sunrpc/clnt_unix.c: Likewise.
32918         * sunrpc/openchild.c: Likewise.
32919         * sunrpc/svc_simple.c: Likewise.
32920         * sunrpc/svc_tcp.c: Likewise.
32921         * sunrpc/svc_udp.c: Likewise.
32922         * sunrpc/svc_unix.c: Likewise.
32923         * sunrpc/xdr.c: Likewise.
32924         * sunrpc/xdr_array.c: Likewise.
32925         * sunrpc/xdr_rec.c: Likewise.
32926         * sunrpc/xdr_ref.c: Likewise.
32927         * sunrpc/xdr_stdio.c: Likewise.
32929 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32931         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32933 2011-07-03  Andreas Jaeger  <aj@suse.de>
32935         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32936         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32937         regenerate with gen-libm-tests.pl.
32939 2010-05-12  Petr Baudis  <pasky@suse.cz>
32941         [BZ #11589]
32942         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32943         around j0() zero points by switching to j1().
32944         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32947         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32949 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32951         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32952         instead of 0.
32953         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32954         instead of 0.
32955         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32956         Patch in part by Pavel Roskin <proski@gnu.org>.
32958         [BZ #13138]
32959         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32960         realloc.
32961         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32962         Free memory block if necessary.
32964         [BZ #12847]
32965         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32966         be NULL.  Don't lock in this case.
32968 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32970         * elf/elf.h (ELFOSABI_GNU): New macro.
32971         (ELFOSABI_LINUX): Define to that.
32973 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32975         * string/strncat.c (strncat): Undef the symbol in case it has been
32976         defined in bits/string.h.
32978 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32980         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32982         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32983         link map.
32985 2011-08-17  Andreas Jaeger  <aj@suse.de>
32987         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32989 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32990             Ian Lance Taylor  <iant@google.com>
32992         * math/libm-test.inc (lround_test): New testcase.
32993         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32995 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32997         * Makefile: Remove support for automatic cvs check-ins.
32998         * Makerules: Likewise.
32999         * config.make.in: Likewise.
33000         * configure.in: Likewise.
33001         * intl/Makefile: Likewise.
33002         * locale/Makefile: Likewise.
33003         * po/Makefile: Likewise.
33004         * posix/Makefile: Likewise.
33005         * sysdeps/gnu/Makefile: Likewise.
33006         * sysdeps/mach/hurd/Makefile: Likewise.
33007         * sysdeps/sparc/sparc32/Makefile: Likewise.
33009         [BZ #13118]
33010         * posix/Makefile (bug-regex32-ENV): Define.
33011         Patch by John Stanley <jpsinthemix@verizon.net>.
33013         * misc/Makefile (headers): Add bits/select2.h.
33014         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33015         * misc/bits/select2.h: New file.
33016         * include/bits/select2.h: New file.
33017         * debug/Makefile (routines): Add fdelt_chk.
33018         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33019         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33020         FD_ISSET.
33021         * debug/fdelt_chk.c: New file.
33023         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33024         * wcsmbs/test-wmemcmp.c: Likewise.
33025         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33026         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33028 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33030         * string/Makefile (strop-tests): Add memcmp.
33031         * string/test-wmemcmp.c: New file.
33032         * string/test-memcmp.c: Add wmemcmp support.
33034 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33036         [BZ #13153]
33037         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33038         2011-07-19 change.
33040         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33041         garbage value in a __mach_port_mod_refs call in the cases of the
33042         task-self and thread-self ports.
33044 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33046         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33048 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33050         * elf/dl-load.c (lose): Check for non-null L.
33052 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33054         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33056         * elf/dl-libc.c (dlerror_run): Pass back error code from
33057         dl_catch_error.
33059         [BZ #13123]
33060         * elf/dl-load.c (lose): Free l_origin if it is valid.
33062         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33063         names.
33064         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33065         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33066         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33067         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33068         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33069         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33071 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33073         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33074         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33075         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33076         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33077         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33078         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33079         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33080         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33081         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33082         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33084 2011-08-15  Alan Modra  <amodra@gmail.com>
33086         [BZ #13092]
33087         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33088         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33089         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33090         ppc_mcount to static-only-routines.
33091         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33092         __mcount_internal.
33093         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33094         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33096 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33098         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33099         for finite and infinity parameters.
33101 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33103         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33104         and add nop instructions for throughput optimization.
33105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33107 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33109         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33110         aligned copy for power7 with vector-scalar instructions.
33111         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33113 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33115         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33116         AVX check.
33118 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33120         [BZ #13144]
33121         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33122         last change.
33124 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33126         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33127         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33128         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33129         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33130         clock_gettime.
33132 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33134         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33135         Forgot to demangle the pointer.
33137         * sysdeps/i386/sysdep.h: Define atom_text_section.
33138         * sysdeps/x86_64/sysdep.h: Likewise.
33139         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33140         section with atom_text_section.
33141         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33142         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33143         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33144         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33145         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33147         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33148         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33149         already be defined.  Change to take two parameters and don't assign
33150         result to variable.  Adjust all users.
33151         Define INTERNAL_GETTIME if not already defined.
33152         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33153         call.
33154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33155         HAVE_CLOCK_GETTIME_VSYSCALL.
33156         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33158         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33159         gettimeofday vsyscall, just use time.
33161 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33164         <errno.h>.
33166 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33168         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33169         syscall on x86-64.
33170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33171         syscall.
33172         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33174         syscall if possible.
33176 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33178         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33179         e_ident.  Don't pass to find_mapsXX.
33180         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33182 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33185         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33186         * sysdeps/x86_64/multiarch/strchr.S: Update.
33187         Check bit_slow_BSF bit.
33188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33189         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33190         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33192 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33194         [BZ #13134]
33195         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33196         before glibc 2.15.
33197         (tryshell): Define.
33198         (__spawni): Change last parameter to be flag.  Test
33199         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33200         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33201         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33202         * posix/spawni.c: Likewise.
33203         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33204         * posix/spawnp.c: Likewise.  Change normal version to use
33205         SPAWN_XFLAGS_USE_PATH.
33206         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33207         SPAWN_XFLAGS_TRY_SHELL.
33209         [BZ #13150]
33210         * posix/glob.h: Remove gcc 1.x support.
33212         [BZ #13068]
33213         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33215 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33218         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33219         strrchr-sse2-bsf
33220         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33221         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33222         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33223         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33224         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33225         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33227 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33229         * sysdeps/x86_64/wcscmp.S: New file.
33231         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33232         wcscmp-c wcscmp-sse2
33233         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33234         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33235         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33236         * wcsmbs/wcscmp.c: Allow renaming.
33238 2011-09-05  David S. Miller  <davem@davemloft.net>
33240         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33241         stack slot, rather than the struct return pointer slot.
33242         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33243         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33245         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33247 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33249         * po/ja.po: Update from translation team.
33251         [BZ #13144]
33252         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33253         kernel in 64-bit binaries.
33255 2011-09-01  David S. Miller  <davem@davemloft.net>
33257         * elf/elf.h (HWCAP_SPARC_*): Move to..
33258         * sysdeps/sparc/sysdep.h: this new file and add new values.
33259         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33260         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33261         _DL_HWCAP_COUNT to 24.
33262         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33263         entries.
33264         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33265         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33266         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33268         instead of magic constants.
33269         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33271 2011-08-31  David S. Miller  <davem@davemloft.net>
33273         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33275         Reimplement to do errno handling inline.
33276         (SYSCALL_ERROR_HANDLER): New macro.
33277         (__SYSCALL_STRING): Do not do errno handling in asm.
33278         (__CLONE_SYSCALL_STRING): Delete.
33279         (__INTERNAL_SYSCALL_STRING): Delete.
33280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33281         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33282         (PSEUDO): Reimplement to do errno handling inline.
33283         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33284         (SYSCALL_ERROR_HANDLER): New macro.
33285         (__SYSCALL_STRING): Do not do errno handling in asm.
33286         (__CLONE_SYSCALL_STRING): Delete.
33287         (__INTERNAL_SYSCALL_STRING): Delete.
33288         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33289         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33290         i386.
33291         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33292         (inline_syscall*): Add 'err' argument.
33293         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33294         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33295         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33296         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33298         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33299         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33301 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33303         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33305 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33307         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33308         directive.
33310 2011-08-24  David S. Miller  <davem@davemloft.net>
33312         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33314 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33316         * elf/Makefile: Add rules to build and run unload8 test.
33317         * elf/unload8.c: New file.
33318         * elf/unload8mod1.c: New file.
33319         * elf/unload8mod1x.c: New file.
33320         * elf/unload8mod2.c: New file.
33321         * elf/unload8mod3.c: New file.
33323         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33324         it wasn't used.
33326 2011-08-23  David S. Miller  <davem@davemloft.net>
33328         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33329         subtract stack bias.
33330         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33331         %sp not %fp in calculations.
33332         (_JMPBUF_UNWINDS_ADJ): Likewise.
33334         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33335         (aio_suspend): Call it to force an exception region around the
33336         AIO_MISC_WAIT() invocation.
33338 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33340         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33341         backslash.
33343 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33345         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33346         protection macro.
33347         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33348         and <dl-machine.h>.
33349         (Elf64_FuncDesc): Remove.
33351 2011-08-22  David S. Miller  <davem@davemloft.net>
33353         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33354         sigaltstack check, add missing cfi directives.
33355         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33356         missing cfi directives, and sigaltstack handling.
33358 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33360         [BZ #11724]
33361         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33362         object is seen twice.
33363         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33365         * elf/Makefile (distribute): Add tst-initorder2.c.
33366         (tests): Add tst-initorder2.
33367         (modules-names): Add tst-initorder2a tst-initorder2b
33368         tst-initorder2c tst-initorder2d.  Add rules to build them.
33369         ($(objpfx)tst-initorder2.out): New rule.
33370         * elf/tst-initorder2.c: New file.
33371         * elf/tst-initorder2.exp: New file.
33373 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33377         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33378         dependencies back to end of function.
33380         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33381         $(elfobjdir)/ld.so.
33383 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33386         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33387         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33388         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33389         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33390         of __vdso_gettimeofday.
33391         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33392         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33393         attribute_hidden.
33394         (_libc_vdso_platform_setup): Remove initialization of
33395         __vdso_gettimeofday and __vdso_time.
33397 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33399         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33400         and fgetc_unlocked.
33401         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33402         getc_unlocked.
33404         * elf/dl-open.c (add_to_global): Report additions to the global scope
33405         for LD_DEBUG=scopes.
33406         (dl_open_worker): Also print scope of newly loaded dependencies.
33407         (_dl_show_scope): Indicate if there is no scope.
33409         [BZ #13114]
33410         * stdio-common/Makefile (tests): Add bug24.
33411         * stdio-common/bug24.c: New file.
33413 2011-08-19  Andreas Jaeger  <aj@suse.de>
33415         [BZ #13114]
33416         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33417         non-existant file when using close-on-exec mode.
33419 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33422         the very first instruction.
33424         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33425         the CFI state in the end.
33426         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33427         inclusion of dl-trampoline.h.
33428         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33430 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33432         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33433         expectations for long double.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33436         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33438 2011-08-14  David S. Miller  <davem@davemloft.net>
33440         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33441         artificual limit depends upon the system page size.
33443 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33445         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33446         * resolv/Makefile: Define CFLAGS-libresolv.
33448 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33450         * nss/makedb.c (compute_tables): Make variables used in nested
33451         function static.
33453 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33455         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33456         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33457         if buffer was too small.
33459         * elf/pldd.c (main): Attach to all threads in the process.
33460         Rewrite /proc handling to use *at functions.
33462 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33464         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33465         specifies first scope to show.
33466         (dl_open_worker): Update callers.  Move printing scope of new
33467         object to before the relocation.
33468         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33469         * sysdeps/generic/ldsodefs.h: Update declaration.
33471         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33472         string for the scope number.
33474 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33476         * nscd/servicescache.c (cache_addserv): Make sure written is always
33477         initialized.
33479 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33481         * sysdeps/i386/i486/bits/atomic.h
33482         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33483         statement expression, so as to suppress "set but not used" warning.
33484         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33486         * string/strncat.c (STRNCAT): Use prototype definition.
33488         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33489         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33490         -Iprograms here.
33491         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33492         (localedef-modules): Add localedef.
33493         (locale-modules): Add locale.
33495         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33496         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33497         to avoid a warning.
33499 2011-08-14  David S. Miller  <davem@davemloft.net>
33501         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33502         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33504 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33506         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33507         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33508         * elf/rtld.c (dl_main): Set l_name of vDSO.
33509         Call _dl_show_scope when DL_DEBUG_SCOPES.
33510         (process_dl_debug): Recognize scopes flag and also set it for all.
33511         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33512         Declare _dl_show_scope.
33514         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33515         (do_dlopen): Pass caller_dlopen to dl_open.
33516         (__libc_dlopen_mode): Initialize caller_dlopen.
33518         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33519         of libc.  Make tolower call locale-independent.  Optimize a bit by
33520         using isdigit instead of isalnum.
33521         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33523 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33525         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33526         was a dependency or dynamically loaded.
33528 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33530         * intl/l10nflist.c: Allow architecture-specific pop function.
33531         * sysdeps/x86_64/l10nflist.c: New file.
33533         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33534         classification.
33536 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33538         * include/dirent.h: Add libc_hidden_proto for scandirat and
33539         scandirat64.  Don't declare __scandirat64.
33540         * dirent/scandirat.c: Add libc_hidden_def.
33541         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33542         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33544 2011-08-10  David S. Miller  <davem@davemloft.net>
33546         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33547         enum.
33548         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33550         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33552 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33554         * Versions.def [libc]: Add GLIBC_2.15.
33555         * dirent/Makefile (routines): Add scandirat and scandirat64.
33556         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33557         GLIBC_2.15.
33558         * dirent/dirent.h: Declare scandirat and scandirat64.
33559         * dirent/scandirat.c: New file.
33560         * dirent/scandirat64.c: New file.
33561         * sysdeps/wordsize-64/scandirat.c: New file.
33562         * sysdeps/wordsize-64/scandirat64.c: New file.
33563         * dirent/opendir.c: Define opendirat.
33564         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33565         using scandirat.
33566         * dirent/scandir64.c: Adjust for scandir.c change.
33567         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33568         __scandirat64, and __scandir_cancel_handler.
33569         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33570         additional parameter and use openat instead of open (outside of ld.so).
33571         Add new __opendir as wrapper around __opendirat.
33572         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33573         here without requiring old scandirat implementation.
33575 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33577         * dirent/scandir.c (cancel_handler): Renamed to
33578         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33579         defined.  Adjust users.
33580         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33581         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33583 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33585         * string/test-string.h (IMPL): Use __STRING to expand name and then
33586         stringify it.
33588         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33589         of cleanups.
33591 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33593         * string/Makefile: Update.
33594         (strop-tests): Append strncat.
33595         * string/test-wcscmp.c: New file.
33596         New comprehensive test for wcscmp.
33597         * string/test-strcmp.c: Update.
33598         (WIDE): New define.
33600 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33602         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33603         line.
33605 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33608         encoding to ACE if AI_IDN.
33610 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33613         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33615 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33617         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33618         Fix overflow bug in strncat.
33619         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33621         * string/test-strncat.c: Update.
33622         Add new tests for checking overflow bugs.
33624 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33627         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33628         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33629         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33630         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33631         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33632         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33633         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33634         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33636         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33637         (USE_AS_STRCAT): Define.
33638         Add strcat and strncat support.
33639         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33641 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33643         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33644         __n bigger than INT_MAX+1.
33645         (__strncmp_g): Likewise.
33647 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33649         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33650         * libio/stido.h: Likewise.
33652         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33653         (AF_NFC): Define.
33654         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33655         (AF_NFC): Define.
33657         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33658         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33660         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33663         [BZ #13021]
33664         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33665         installed.
33667         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33668         typo.
33669         (_dl_x86_64_save_sse): Likewise.
33671 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33674         OSXSAVE.
33675         (_dl_x86_64_save_sse): Likewise.
33677         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33679         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33681 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33684         change.
33685         (_dl_x86_64_save_sse): Use correct AVX check.
33687 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33689         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33690         bug in strncpy/strncat.
33691         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33693 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33695         * string/tester.c (test_strcat): Add tests for different alignments
33696         of source and destination.
33697         (test_strncat): Likewise.
33699 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33701         [BZ #12852]
33702         * posix/glob.c (glob): Check passed in values before using them in
33703         expressions to avoid some overflows.
33704         (glob_in_dir): Likewise.
33706         [BZ #13007]
33707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33708         check for AVX enablement so that we don't crash with old kernels and
33709         new hardware.
33710         * elf/tst-audit4.c: Add same checks here.
33711         * elf/tst-audit6.c: Likewise.
33713         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33715 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33717         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33719 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33721         * po/cs.po: Update from translation team.
33722         * po/bg.po: Likewise.
33724 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33726         * misc/sys/cdefs.h: Add support for const attribute.
33727         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33728         to gnu_dev_{major,minor,makedev} functions.
33730 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33732         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33734 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33736         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33737         strlen results.
33739 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33741         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33742         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33743         register in order to avoid conflicts with the soft frame pointer
33744         being held in r11 when necessary.
33745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33746         (INTERNAL_VSYSCALL_NCS): Likewise.
33748 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33750         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33751         * elf/dl-fini.c (_dl_fini): Adjust caller.
33752         * elf/dl-close.c (_dl_close_worker): Likewise.
33753         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33755 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33757         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33758         "aux_cache->nlibs < 0".
33760         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33761         in the reload-count case.
33763 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33766         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33767         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33768         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33769         * sysdeps/x86_64/multiarch/strcat.S: New file.
33770         * sysdeps/x86_64/multiarch/strncat.S: New file.
33771         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33772         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33773         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33774         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33775         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33776         (USE_AS_STRCAT): Define.
33777         Add strcat and strncat support.
33778         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33779         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33780         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33781         * string/strncat.c: Update.
33782         (USE_AS_STRNCAT): Define.
33783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33784         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33785         and i7.
33786         * sysdeps/x86_64/multiarch/init-arch.h
33787         (bit_Prefer_PMINUB_for_stringop): New.
33788         (index_Prefer_PMINUB_for_stringop): Likewise.
33789         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33790         bit_Prefer_PMINUB_for_stringop.
33792 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33794         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33795         buffer64.
33796         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33797         of casting of buffer.
33798         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33799         buffer32 and buffer64.
33800         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33801         writes instead of casting of buffer.
33802         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33803         buffer32.
33804         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33805         casting of buffer.
33807 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33809         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33811 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33813         * nscd/nscd.c (termination_handler): Don't do anything for a database
33814         if it has not yet been initialized.
33816 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33818         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33820 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33822         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33824 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33826         * po/nl.po: Update from translation team.
33827         * po/sv.po: Likewise.
33829 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33831         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33832         now disallowed by GCC.
33834         * configure.in (use-default-link): Default to yes if a test -shared
33835         link meets our qualifications.
33836         * configure: Regenerated.
33838         * config.make.in (output-format): New variable.
33839         * configure.in: Check for ld --print-output-format support.
33840         * configure: Regenerated.
33841         * Makerules ($(common-objpfx)format.lds)
33842         [$(output-format) != unknown]: Just use $(output-format),
33843         instead of the linker-script munging.
33845 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33847         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33848         of $(common-objpfx)shlib.lds.
33849         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33851         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33852         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33854         * configure.in (-z relro check): Adjust test code to add a large
33855         writable data section after it.
33856         * configure: Regenerated.
33858 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33860         * configure.in (-z relro check): Fix test code to make the variable
33861         truly const.
33862         * configure: Regenerated.
33864 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33866         * nscd/nscd.h (struct traced_file): Define.
33867         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33868         elements.  Add traced_files.
33869         (inotify_fd): Declare.
33870         (register_traced_file): Declare.
33871         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33872         (inotify_fd): Export.
33873         (resolv_conf_descr): Remove.
33874         (nscd_init): Move inotify descriptor creation to main.
33875         Don't register files for notification here.
33876         (register_traced_file): New function.
33877         (invalidate_cache): Don't use reset_res to determine whether to call
33878         res_init, go through the list of registered files.
33879         (main_loop_poll): The inotify descriptors are now stored in the
33880         structures for the traced files.
33881         (main_loop_epoll): Likewise
33882         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33883         to __nss_disable_nscd.
33884         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33885         for a database anymore.  Check the records for all the registered
33886         files instead.
33887         * nss/Makefile (libnss_files-routines): Add files-init.
33888         (libnss_db-routines): Add db-init.
33889         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33890         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33891         * nss/nss_db/db-init.c: New file.
33892         * nss/nss_files/files-init.c: New file.
33893         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33894         __nss_lookup_function.
33895         (__nss_lookup_function): Call nss_load_library.
33896         (nss_load_all_libraries): New function.
33897         (__nss_disable_nscd): Take parameter with callback function for files
33898         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33899         used for the cached services.
33900         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33901         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33902         options for features to all the files in nscd.
33904         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33906 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33908         * csu/elf-init.c (__libc_csu_init): Comment typo.
33910 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33912         * po/pl.po: Update from translation team.
33913         * po/ja.po: Likewise.
33914         * po/ru.po: Likewise.
33915         * po/ko.po: Likewise.
33916         * po/fr.po: Likewise.
33918 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33920         * configure.in (.ctors/.dtors header and trailer check):
33921         Use an empirical test on a built program.
33922         * configure: Regenerated.
33924         * configure.in (-z relro check): Use an empirical test on a built DSO.
33925         Detect, but do not require, on ia64.
33926         * configure: Regenerated.
33928         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33929         Update tests that use readelf to use $READELF instead.
33930         * configure: Regenerated.
33932 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33934         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33935         if the result is not used.
33937 2011-07-05  Andreas Jaeger  <aj@suse.de>
33939         [BZ#9696]
33940         * stdlib/tst-strtod.c: Add testcase.
33942 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33944         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33945         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33946         The latter has a higher limit.  Take additional parameter to pass to
33947         the new function.
33948         (__pathconf): Pass file to __statfs_link_max.
33949         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33950         __statfs_link_max.
33951         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33952         __statfs_link_max.
33954         [BZ #12868]
33955         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33956         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33957         Handle Lustre.
33958         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33959         (__statfs_filesize_max): Likewise.
33960         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33962 2011-07-05  Andreas Jaeger  <aj@suse.de>
33964         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33966 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33968         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33969         `status' variable.
33970         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33971         Likewise.
33973 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33975         * Makefile (strop-tests): Add strncat.
33976         * string/test-strncat.c: New file.
33978 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33980         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33982 2011-06-21  Andreas Jaeger  <aj@suse.de>
33984         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33985         Copy rule from iconvdata/Makefile.
33987 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33989         [BZ #12922]
33990         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33991         but no long options are defined, just return 'W'.
33993 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33995         [BZ #9696]
33996         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33998 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34000         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34001         netgroups to read.
34002         (innetgr): Likewise.
34004 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34006         * config.make.in (install_root): Default to $(DESTDIR).
34008 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34010         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34012 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34014         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34016         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34017         containing directory rather than embedding absolute directory names.
34019         * scripts/check-local-headers.sh: Rewritten using awk.
34020         Match by word, not by line.  Print error messages for matches.
34021         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34023         * Makerules [shlib-lds-flags empty]:
34024         ($(common-objpfx)libc_pic.opts): New target.
34025         ($(common-objpfx)libc_pic.os.clean): New target.
34026         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34028         * config.make.in (OBJCOPY): New variable.
34029         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34030         * configure: Regenerated.
34032         * config.make.in (use-default-link): New variable.
34033         * configure.in (use_default_link): Grok --with-default-link to set it.
34034         * configure: Regenerated.
34035         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34036         (shlib-lds, shlib-lds-flags): Define to empty.
34038         * Makerules (shlib-lds): New variable.
34039         (shlib-lds-flags): New variable.
34040         (build-shlib, build-moduile, build-module-asneeded): Use it.
34041         ($(common-objpfx)libc.so): Use $(shlib-lds).
34042         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34043         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34045         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34046         DT_FLAGS/DT_FLAGS_1 with zero flags.
34048         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34049         linker script munging.
34051 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34053         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34054         as 128-bit value.
34055         * crypt/sha512.c (sha512_process_block): Perform total addition using
34056         128-bit if possible.
34057         (__sha512_finish_ctx): Likewise.
34058         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34059         as 64-bit value.
34060         * crypt/sha256.c (SWAP64): Define.
34061         (sha256_process_block): Perform total addition using 64-bit if
34062         possible.
34063         (__sha256_finish_ctx): Likewise.
34065 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34067         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34068         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34069         * nscd/hstcache.c (cache_addhst): Likewise.
34070         * nscd/grpcache.c (cache_addgr): Likewise.
34071         * nscd/aicache.c (addhstaiX): Likewise
34072         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34074 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34076         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34077         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34078         * nscd/hstcache.c (cache_addhst): Likewise.
34079         * nscd/grpcache.c (cache_addgr): Likewise.
34080         * nscd/aicache.c (addhstaiX): Likewise
34082 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34084         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34085         domain only when needed.
34087 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34090         is always restored.
34092 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34094         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34095         are re-adding the entry.
34096         * nscd/servicescache.c (cache_addserv): Likewise.
34098 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34100         * sysdeps/generic/dl-irel.h: fix protection against multiple
34101         inclusions.
34102         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34104 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34106         [BZ #12935]
34107         * malloc/memusage.sh: Fix quoting in message.
34108         * debug/xtrace.sh: Likewise.
34110         * configure.in: Remove support for --experimental-malloc option, make
34111         it the default.
34112         * config.make.in: Likewise.
34113         * malloc/Makefile: Likewise.
34115 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34117         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34118         two-byte characters.
34120 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34122         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34123         AC_CACHE_CHECK invocation.
34124         * configure: Regenerated.
34126         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34128 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34130         [BZ #12350]
34131         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34132         bit from old_res_options.
34134         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34136         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34137         value type for setfct.
34139 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34141         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34142         __gettimeofday instead of gettimeofday.
34144 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34146         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34148 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34150         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34152         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34153         info.
34155 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34158         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34159         strcpy-sse2-unaligned strncpy-sse2-unaligned
34160         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34161         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34162         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34163         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34164         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34165         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34166         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34167         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34168         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34169         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34170         (STRCPY): Support SSE2 and SSSE3 versions.
34172 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34174         [BZ #12874]
34175         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34176         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34177         kernels which artificially limit size of requests.
34179 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34182         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34183         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34184         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34185         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34186         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34187         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34188         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34189         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34190         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34191         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34192         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34193         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34194         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34195         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34197         Enable unaligned load optimization for Intel Core i3, i5 and i7
34198         processors.
34199         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34200         Define.
34201         (index_Fast_Unaligned_Load): Define.
34202         (HAS_FAST_UNALIGNED_LOAD): Define.
34204 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34206         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34208 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34210         [BZ #12907]
34211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34212         until it is clear that the information is realy needed.
34213         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34215 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34219 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34221         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34222         /sys/devices/system/cpu/online if it is usable.
34224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34225         reading the information from the /proc filesystem to once a second.
34227 2011-06-21  Andreas Jaeger  <aj@suse.de>
34229         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34230         NULL after inclusion of kernel headers.
34232 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34234         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34235         calls to internal_setent.
34237         [BZ #12885]
34238         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34239         addresses using gethostbyname4_r ignore IPv4 addresses.
34241         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34242         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34244         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34246 2011-06-20  David S. Miller  <davem@davemloft.net>
34248         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34249         inclusions.
34250         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34252         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34253         (elf_irel): Use it.
34254         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34255         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34256         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34257         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34258         * sysdeps/x86_64/dl-irel.h: Likewise.
34260         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34261         * elf/dl-sym.c: Likewise.
34263 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34265         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34266         need to dereference resplen2.
34268 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34270         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34272 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34274         * Makeconfig: Define vardbdir and inst_vardbdir.
34275         * nss/Makefile: Add rules to install db-Makefile.
34277         * nss/nss_db/db-XXX.c: Cleanup.
34279         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34280         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34281         GLIBC_PRIVATE.
34282         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34283         * nss/makedb.c: Implement -g option to specify that value strings
34284         are generated and should not be added to table iterated over for
34285         get*ent calls.
34286         * nss/nss_db/db-initgroups.c: New file.
34288         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34289         interface.
34291         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34292         (internal_getgrouplist): Adjust to name change.
34293         Update use_initgroups_entry if this is not the first call.
34294         * nss/databases.def: Add initgroups entry.
34296         * nss/makedb.c (compute_tables): Check result of multiple hash table
34297         sizes to minimize maximum chain length.
34299 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34301         * Versions.def: Add entry for libnss_db.
34302         * shlib-versions: Likewise.
34303         * nss/Makefile: Add rules to build libnss_db.
34304         * nss/Versions: Add libnss_db information.  Organize libnss_files
34305         entries better.
34306         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34307         makedb progra.  Some minor improvements to generate smaller files.
34308         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34309         here from...
34310         * nss/makedb.c: ...here.
34311         Improve database format to be smaller and require less memory at
34312         runtime.
34313         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34314         db anymore.
34315         * nss/nss_db/db-netgrp.c: Likewise.
34316         * nss/nss_db/db-open.c: Likewise.
34317         * nss/nss_files/flies-XXX.x: Adjust comments.
34318         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34319         * nss/nss_files/files-grp.c: Likewise.
34320         * nss/nss_files/files-hosts.c: Likewise.
34321         * nss/nss_files/files-network.c: Likewise.
34322         * nss/nss_files/files-proto.c: Likewise.
34323         * nss/nss_files/files-pwd.c: Likewise.
34324         * nss/nss_files/files-rpc.c: Likewise.
34325         * nss/nss_files/files-service.c: Likewise.
34326         * nss/nss_files/files-sgrp.c: Likewise.
34327         * nss/nss_files/files-spwd.c: Likewise.
34328         * nss/nss_db/db-alias.c: Removed.
34329         * nss/nss_db/dummy-db.h: Removed.
34331 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34333         * nss/makedb.c: Rewritten to not use database library.
34334         * nss/Makefile: Update to build new makedb program.
34336 2011-06-14  Andreas Jaeger  <aj@suse.de>
34338         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34339         memset declaration.
34341 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34344         tmpbuf.
34346 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34348         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34349         * elf/Makefile ($(objpfx)ld.so): Likewise.
34351         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34352         Don't list ld.so twice in dependencies.
34354         * posix/bug-regex31.c: Include <stdlib.h>.
34356         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34358         * nis/nss_compat/compat-spwd.c
34359         (getspent_next_nss_netgr): Remove unused variable.
34360         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34362         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34363         nonmembers" output to use the right array.
34365         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34367         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34369         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34370         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34371         * catgets/gencat.c (read_input_file): Likewise.
34372         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34374         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34375         variable definition inside #if's controlling its use.
34377         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34379         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34381         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34383         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34384         unreachable code.
34386         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34388         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34389         * configure: Regenerated.
34391         * Makerules: Revert last change.
34392         * elf/Makefile: Likewise.
34394 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34396         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34397         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34398         (reloc-link): Likewise.
34400 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34402         * elf/Makefile: Add rules to build pldd.
34403         * elf/pldd.c: New file.
34404         * elf/pldd-xx.c: New file.
34406 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34408         * version.h: Update for 2.15 development version.
34410 2011-06-07  David S. Miller  <davem@davemloft.net>
34412         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34413         ifuncs.
34414         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34415         elf_machine_lazy_rel): Likewise.
34416         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34418         elf_machine_lazy_rel): Likewise.
34419         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34420         dl_hwcap via passed in argument.
34421         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34422         Likewise.
34424 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34426         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34428 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34430         [BZ #12849]
34431         * manual/fdl-1.1.texi: New file, verbatim from:
34432         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34433         * manual/lgpl-2.1.texi: New file, verbatim from:
34434         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34435         * manual/Makefile (licenses): New variable, list those new file names.
34436         (texis): Use it.
34437         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34439         * manual/fdl.texi: File removed.
34440         * manual/lesser.texi: File removed.
34441         * manual/libc.texinfo (Copying, Documentation License):
34442         Use new @include file names, put @appendix directive before @include.
34444 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34446         [BZ #12841]
34447         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34448         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34449         (mq_open): Add __NTH.
34451 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34454         Assume Intel Core i3/i5/i7 processor if AVX is available.
34456 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34459         typo.
34461 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34463         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34464         memory.  Use alloca_account.  Fix memory leak when retrying.
34466 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34468         * version.h (RELEASE): Bump for 2.14 release.
34469         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34471         * config.make.in (RANLIB): Remove entry.
34473 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34475         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34476         (libc.pot): Work around missing support for .ksh extension in xgettext.
34478         [BZ #12684]
34479         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34480         if both request failed.
34481         (send_dg): In case of server errors clear resplen or *resplen2.
34483         [BZ #12454]
34484         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34485         when there are multiple maps.
34486         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34487         (_dl_fini): Remove test here.
34489         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34491 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34493         [BZ #12350]
34494         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34495         bit from old_res_options.
34496         (gaih_inet): Likewise.
34498         [BZ #11099]
34499         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34500         as signed.
34502         * resolv/res_init.c (res_setoptions): Make the code more compact.
34504         [BZ #11558]
34505         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34506         set RES_USEVC.
34508         [BZ #11634]
34509         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34511         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34513         [BZ #11781]
34514         * malloc/malloc.h: Declare malloc hook variables as volatile.
34516         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34517         in last patch.
34519         [BZ #11799]
34520         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34521         raise in the comment.
34522         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34523         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34524         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34526 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34528         [BZ #12811]
34529         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34530         grow the buffers more if it already has to be sufficient.
34531         (build_wcs_upper_buffer): Likewise.
34532         * posix/regexec.c (check_matching): Likewise.
34533         (clean_state_log_if_needed): Likewise.
34534         (extend_buffers): Don't enlarge buffers beyond size of the input
34535         buffer.
34536         Patches mostly by Emil Wojak <emil@wojak.eu>.
34537         * posix/bug-regex32.c: New file.
34538         * posix/Makefile (tests): Add bug-regex32.
34540         * locale/findlocale.c (_nl_find_locale): Return right away if
34541         _nl_explode_name failed.
34542         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34544         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34546         * debug/xtrace.sh: Unify messages.
34547         * malloc/memusage.sh: Likewise.
34549         [BZ #12813]
34550         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34551         time symbol from vDSO.  Substitute with vsyscall if not available.
34552         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34553         __vdso_time.
34555         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34556         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34557         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34558         Add sendmmsg and internal_sendmmsg.
34559         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34560         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34561         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34563         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34564         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34565         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34567 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34569         [BZ #12813]
34570         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34571         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34572         available.
34573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34574         __vdso_getcpu.
34576         [BZ #12814]
34577         * iconvdata/Makefile (tests): Add bug-iconv9.
34578         * iconvdata/bug-iconv9.c: New file.
34580 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34582         [BZ #12814]
34583         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34585 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34587         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34588         (struct user_regs_struct): Change intcs field back to cs.
34590 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34592         * po/ja.po: Update from translation team.
34594 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34596         [BZ #12795]
34597         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34598         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34600 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34602         * stdlib/longlong.h: Update from GCC.
34604 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34606         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34607         parameter name.
34608         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34609         Add parameter name.
34610         (__sysconf): Pass it down.
34612 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34614         [BZ #12671]
34615         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34616         some situations.
34617         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34618         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34619         add in in __libc_use_alloca calls.  Adjust callers.
34620         (glob): Use malloc in some situations.
34622         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34623         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34624         pltexit.
34626 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34628         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34629         and CLOCK_BOOTTIME_ALARM.
34631         [BZ #12782]
34632         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34633         is returned.
34635         * string/_strerror.c (__strerror_r): Print negative errors as signed
34636         numbers.
34638         [BZ #12777]
34639         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34640         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34641         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34643         * configure.in: Fix typo in redirection and correct removal of test
34644         files in two cases.
34646         [BZ #12788]
34647         * locale/setlocale.c (new_composite_name): Fix test to check for
34648         identical name of all categories.
34650         [BZ #12792]
34651         * libio/filedoalloc.c (local_isatty): New function.
34652         (_IO_file_doallocate): Use local_isatty.
34653         * stdio-common/perror.c (perror): In case a new stream is used
34654         forward the stream error.
34655         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34656         error flag.
34658 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34660         [BZ #11869]
34661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34662         alloca.
34663         * include/alloca.h (extend_alloca_account): Define.
34665         [BZ #11857]
34666         * posix/regex.h: Fix comments with documentation of user-accessible
34667         fields after compilation and describe correct free'ing of pattern
34668         after re_compile_pattern.
34669         Patch by Reuben Thomas <rrt@sc3d.org>.
34671 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34673         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34674         and -mno-altivec to prevent the compiler from using Altivec and/or
34675         VSX instructions when the corresponding registers are not available.
34677 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34679         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34681 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34683         * libio/freopen.c (freopen): Use __dup2, not dup2.
34684         * libio/freopen64.c (freopen64): Likewise.
34686 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34688         [BZ #12775]
34689         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34690         * math/Makefile (tests): Add test-powl.
34691         (CFLAGS-test-powl.c): Define.
34692         * math/test-powl.c: New file.
34694 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34696         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34698 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34700         [BZ #11837]
34701         * iconvdata/gb18030.c: Update to GB18020-2005.
34703 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34705         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34706         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34707         Patch by Aharon Robbins <arnold@skeeve.com>.
34709         [BZ #11892]
34710         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34711         on the stack.
34713         [BZ #11895]
34714         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34715         through underflows.
34717         [BZ #12766]
34718         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34719         point to strings before performing equality test for error_one_per_line
34720         mode.
34722         [BZ #11697]
34723         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34725         [BZ #11820]
34726         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34727         (struct user_fpregs_struct): Avoid __uint*_t types.
34729         [BZ #6420]
34730         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34731         symbol info.  Use it instead of calling _dl_addr locally.
34732         (lock_and_info): New function.
34733         (tr_freehook): Call lock_and_info and pass symbol info as additional
34734         parameter to tr_where.
34735         (tr_mallochook): Likewise.
34736         (tr_reallochook): Likewise.
34737         (tr_memalignhook): Likewise.
34739         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34740         used and couldn't be at all thread-safe.
34742 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34744         * libio/freopen.c (freopen): Don't close old file descriptor
34745         before the new one is opened.  Instead dup the new file descriptor
34746         to the old one after the new stream is created.
34747         * libio/freopen64.c (freopen64): Likewise.
34748         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34749         * libio/fileops.c (_IO_new_file_close_it): Handle new
34750         _IO_FLAGS2_NOCLOSE flag.
34751         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34752         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34753         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34754         _IO_FLAGS2_NOCLOSE flag.
34755         * include/unistd.h: Add hidden_proto for dup3.
34756         Define __have_dup3.
34757         * io/dup3.c: Define hidden symbol.
34758         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34760         [BZ #7101]
34761         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34762         when an incomplete long option is used.
34763         * posix/tst-getopt_long1.c: New file.
34764         * posix/Makefile (tests): Add tst-getopt_long1.
34766         [BZ #10138]
34767         * scripts/config.guess: Update from autoconf-2.68.
34768         * scripts/config.sub: Likewise.
34770         [BZ #10157]
34771         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34772         tests into ...
34773         (has_cpuclock): ...this.  New function.
34774         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34775         macro here based on has_cpuclock code.
34777         [BZ #10149]
34778         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34779         First byte (not low byte) is now always NUL.
34780         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34783         Use non-cancelable interfaces.
34785         [BZ #9809]
34786         * locale/iso-639.def: Add entry for Sorani.
34788         [BZ #11901]
34789         * include/stdlib.h: Move include protection to the right place.
34790         Define abort_msg_s.  Declare __abort_msg with it.
34791         * stdlib/abort.c (__abort_msg): Adjust type.
34792         * assert/assert.c (__assert_fail_base): New function.  Majority
34793         of code from __assert_fail.  Allocate memory for __abort_msg with
34794         mmap.
34795         (__assert_fail): Now call __assert_fail_base.
34796         * assert/assert-perr.c: Remove bulk of implementation.  Use
34797         __assert_fail_base.
34798         * include/assert.hL Declare __assert_fail_base.
34799         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34800         mmap.
34801         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34803 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34805         [BZ #11952]
34806         [BZ #12453]
34807         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34808         until all modules are registered in the DTV.
34809         * elf/Makefile: Add rules to build and run tst-tls19.
34810         * elf/tst-tls19.c: New file.
34811         * elf/tst-tls19mod1.c: New file.
34812         * elf/tst-tls19mod2.c: New file.
34813         * elf/tst-tls19mod3.c: New file.
34814         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34816         [BZ #12083]
34817         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34818         correctly.
34820         [BZ #12601]
34821         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34822         two-byte sequence errors.
34823         * iconvdata/Makefile (tests): Add bug-iconv8.
34824         * iconvdata/bug-iconv8.c: New file.
34826         [BZ #12626]
34827         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34828         buf2 definition.
34830         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34832         [BZ #12432]
34833         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34834         (dummy_getcfa): New function.
34835         (init): Get _Unwind_GetCFA address, use dummy if not found.
34836         (backtrace_helper): In recursion check, also check whether CFA changes.
34837         (__backtrace): Completely initialize arg.
34839         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34840         storing incomplete byte sequence in state object.  Avoid testing for
34841         guaranteed too small input if we know there is enough data available.
34843 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34845         * Makeconfig (+link-pie): Indent.
34846         * Rules (binaries-pie): Define if $(have-fpie) and
34847         $(build-shared).
34848         (binaries-shared): Also filter out $(binaries-pie).
34849         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34850         * nscd/Makefile (others-pie): Add nscd.
34851         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34852         ($(objpfx)nscd): Remove command override.
34853         * login/Makefile (others-pie): Add pt_chown.
34854         ($(objpfx)pt_chown): Remove command override.
34855         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34856         remove command overrides.
34858 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34860         * libio/tst_putwc.c: Fix error messages.
34862         [BZ #12724]
34863         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34864         currently writing and seek to current position when not.
34865         * libio/Makefile (tests): Add bug-fclose1.
34866         * libio/bug-fclose1.c: New file.
34868 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34870         [BZ #12511]
34871         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34872         don't set DF_1_NODELETE here.
34873         (do_lookup_x): When entering new entry test for copy relocation
34874         and if necessary set DF_1_NODELETE flag.
34875         * elf/tst-unique4.cc: New file.
34876         * elf/tst-unique4.h: New file.
34877         * elf/tst-unique4lib.cc: New file.
34878         * elf/Makefile: Add rules to build and run tst-unique4.
34879         Patch by Piotr Bury <pbury@goahead.com>.
34881 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34883         [BZ #12052]
34884         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34886         [BZ #12625]
34887         * misc/mntent_r.c (addmntent): Flush the stream after the output
34889         [BZ #12393]
34890         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34891         (is_trusted_path_normalize): Skip initial colon.  Append slash
34892         to empty buffer.  Duplicate is_trusted_path code but allow
34893         constructed patch to be prefix.
34894         (is_dst): Allow $ORIGIN followed by /.
34895         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34896         Correct testing of result of is_trusted_path_normalize
34897         (decompose_rpath): Fix warning.
34899 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34901         [BZ #11257]
34902         * grp/initgroups.c (internal_getgrouplist): When we found the service
34903         list through the initgroups entry in nsswitch.conf do not always
34904         continue on a successful lookup.  Don't always use the
34905         __nss_group_database value if it is set.
34906         * nss/nsswitch.conf (initgroups): Change action for successful db
34907         lookup to continue for compatibility.
34909 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34911         [BZ #11532]
34912         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34913         and CP774 modules.
34914         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34915         and CP774 modules.
34916         * iconvdata/tst-tables.sh: Likewise.
34917         * iconvdata/cp770.c: New file.
34918         * iconvdata/cp771.c: New file.
34919         * iconvdata/cp772.c: New file.
34920         * iconvdata/cp773.c: New file.
34921         * iconvdata/cp774.c: New file.
34922         * iconvdata/testdata/CP770: New file.
34923         * iconvdata/testdata/CP770..UTF8: New file.
34924         * iconvdata/testdata/CP771: New file.
34925         * iconvdata/testdata/CP771..UTF8: New file.
34926         * iconvdata/testdata/CP772: New file.
34927         * iconvdata/testdata/CP772..UTF8: New file.
34928         * iconvdata/testdata/CP773: New file.
34929         * iconvdata/testdata/CP773..UTF8: New file.
34930         * iconvdata/testdata/CP774: New file.
34931         * iconvdata/testdata/CP774..UTF8: New file.
34933         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34934         END CHARMAP line.
34935         * iconvdata/gen-8bit-gap.sh: Likewise.
34936         * iconvdata/gen-8bit.sh: Likewise.
34938         * locale/iso-639.def: Add ary entry.
34940         [BZ #11258]
34941         * locale/C-translit.h.in: Add U20A1 transliteration.
34943         [BZ #12178]
34944         * locale/iso-639.def: Add wae entry.
34945         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34947         [BZ #12545]
34948         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34949         for n.
34951         [BZ #12711]
34952         * locale/C-translit.h.in: Add entry for U20B9.
34953         Patch by pravin.d.s@gmail.com.
34955 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34957         [BZ #12713]
34958         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34959         ENAMETOOLONG use generic getcwd.
34960         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34961         in rtld.  Use *stat64.
34962         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34963         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34964         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34965         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34966         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34967         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34968         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34969         __fstatat64 macros.
34970         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34971         * dirent/rewinddir.c: Add libc_hidden_def.
34972         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34973         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34975         * include/dirent.h (__alloc_dir): Add flags parameter.
34976         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34977         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34978         __alloc_dir.
34979         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34980         from fdopendir if O_CLOEXEC is already set.
34982 2011-03-15  Alan Modra  <amodra@gmail.com>
34984         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34985         l_tls_firstbyte_offset non-zero.  Save padding offset in
34986         l_tls_firstbyte_offset for later use.
34987         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34988         freeing static tls block.
34990 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34992         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34993         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34994         being defined by the kernel headers.
34996 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34998         [BZ #12734]
34999         * resolv/resolv.h: Define RES_NOTLDQUERY.
35000         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35001         no-tld-query and set RES_NOTLDQUERY.
35002         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35003         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35004         modern BIND to search name as TLD unless forbidden.
35006 2011-05-07  Petr Baudis  <pasky@suse.cz>
35007             Ulrich Drepper  <drepper@gmail.com>
35009         [BZ #12393]
35010         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35011         (is_trusted_path): ...to here.
35012         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35013         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35014         using is_trusted_path_normalize() in setuid scripts.
35016 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35018         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35019         __BEGIN/__END_DECLS.
35021 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35023         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35024         NSS_STATUS_NOTFOUND if no record was found.
35026 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35028         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35029         (headers-not-in-tirpc): Remove rpc/netdb.h
35030         * resolv/netdb.h: Revert last change.
35032 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35034         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35035         circular dependency between libgcc.a and libc.a.
35037 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35039         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35040         * nis/Makefile: Don't install rpcsvc/*.
35041         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35042         instead of <rpc/types.h>.
35043         (MAXHOSTNAMELEN): Define.
35045 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35047         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35049 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35051         [BZ #12714]
35052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35053         gethostbyname4_r when IPv6 results are possible.
35055 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35057         [BZ #12723]
35058         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35059         _PC_PIPE_BUF handling.
35061 2011-04-30  Bruno Haible  <bruno@clisp.org>
35063         [BZ #12717]
35064         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35065         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35066         to 'int'.
35067         * inet/getnameinfo.c (getnameinfo): Likewise.
35069 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35071         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35072         to groups setting in database lookup.
35073         * nss/nsswitch.conf: Add initgroups entry.
35075 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35077         [BZ #12685]
35078         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35079         mode string.
35080         Patch by Eric Blake <eblake@redhat.com>.
35082 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35084         * sunrpc/Makefile (need-export-routines): Add svc_run.
35085         (routines): Remove svc_run.
35086         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35087         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35088         * sunrpc/svc_run.c (svc_run): Likewise.
35089         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35091 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35093         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35094         problem in reallocation in last patch.
35096 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35098         * sunrpc/Makefile: Move inclusion of Rules.
35100 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35102         * nss/nss_files/files-initgroups.c: New file.
35103         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35104         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35105         _nss_files_initgroups_dyn.
35107 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35109         * elf/elf.h (R_ARM_IRELATIVE): Define.
35111 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35113         * po/ru.po: Update from translation team.
35115 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35117         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35118         dependencies.
35120 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35122         [BZ #12653]
35123         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35124         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35125         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35129 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35131         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35132         differing bytes.
35133         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35134         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35135         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35137 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35139         [BZ #12420]
35140         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35141         storing it.
35142         * stdlib/bug-getcontext.c: New file.
35143         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35145 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35147         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35148         instructions into .machine "z9-109".
35149         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35150         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35152 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35154         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35155         between environment variables and auxiliary vector.
35157 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35159         * Makefile: Add rules to build linkobj/libc.so.
35160         * include/libc-symbols.h: Define libc_hidden_nolink.
35161         * include/rpc/auth.h: Mark functions which are to be hidden.
35162         * include/rpc/auth_des.h: Likewise.
35163         * include/rpc/auth_unix.h: Likewise.
35164         * include/rpc/clnt.h: Likewise.
35165         * include/rpc/des_crypt.h: Likewise.
35166         * include/rpc/key_prot.h: Likewise.
35167         * include/rpc/pmap_clnt.h: Likewise.
35168         * include/rpc/pmap_prot.h: Likewise.
35169         * include/rpc/pmap_rmt.h: Likewise.
35170         * include/rpc/rpc_msg.h: Likewise.
35171         * include/rpc/svc.h: Likewise.
35172         * include/rpc/svc_auth.h: Likewise.
35173         * include/rpc/xdr.h: Likewise.
35174         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35175         * nss/Makefile: Likewise.
35176         * sunrpc/Makefile: Don't install headers.  Build library with normal
35177         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35178         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35179         for the compat linking library.  Remove use of INTDEF/INTUSE.
35180         * sunrpc/auth_none.c: Likewise.
35181         * sunrpc/auth_unix.c: Likewise.
35182         * sunrpc/authdes_prot.c: Likewise.
35183         * sunrpc/authuxprot.c: Likewise.
35184         * sunrpc/clnt_gen.c: Likewise.
35185         * sunrpc/clnt_perr.c: Likewise.
35186         * sunrpc/clnt_raw.c: Likewise.
35187         * sunrpc/clnt_simp.c: Likewise.
35188         * sunrpc/clnt_tcp.c: Likewise.
35189         * sunrpc/clnt_udp.c: Likewise.
35190         * sunrpc/clnt_unix.c: Likewise.
35191         * sunrpc/des_crypt.c: Likewise.
35192         * sunrpc/des_soft.c: Likewise.
35193         * sunrpc/get_myaddr.c: Likewise.
35194         * sunrpc/key_call.c: Likewise.
35195         * sunrpc/key_prot.c: Likewise.
35196         * sunrpc/netname.c: Likewise.
35197         * sunrpc/pm_getmaps.c: Likewise.
35198         * sunrpc/pm_getport.c: Likewise.
35199         * sunrpc/pmap_clnt.c: Likewise.
35200         * sunrpc/pmap_prot.c: Likewise.
35201         * sunrpc/pmap_prot2.c: Likewise.
35202         * sunrpc/pmap_rmt.c: Likewise.
35203         * sunrpc/publickey.c: Likewise.
35204         * sunrpc/rpc_cmsg.c: Likewise.
35205         * sunrpc/rpc_common.c: Likewise.
35206         * sunrpc/rpc_dtable.c: Likewise.
35207         * sunrpc/rpc_prot.c: Likewise.
35208         * sunrpc/rpc_thread.c: Likewise.
35209         * sunrpc/rtime.c: Likewise.
35210         * sunrpc/svc.c: Likewise.
35211         * sunrpc/svc_auth.c: Likewise.
35212         * sunrpc/svc_authux.c: Likewise.
35213         * sunrpc/svc_raw.c: Likewise.
35214         * sunrpc/svc_run.c: Likewise.
35215         * sunrpc/svc_simple.c: Likewise.
35216         * sunrpc/svc_tcp.c: Likewise.
35217         * sunrpc/svc_udp.c: Likewise.
35218         * sunrpc/svc_unix.c: Likewise.
35219         * sunrpc/svcauth_des.c: Likewise.
35220         * sunrpc/xcrypt.c: Likewise.
35221         * sunrpc/xdr.c: Likewise.
35222         * sunrpc/xdr_array.c: Likewise.
35223         * sunrpc/xdr_float.c: Likewise.
35224         * sunrpc/xdr_intXX_t.c: Likewise.
35225         * sunrpc/xdr_mem.c: Likewise.
35226         * sunrpc/xdr_rec.c: Likewise.
35227         * sunrpc/xdr_ref.c: Likewise.
35228         * sunrpc/xdr_sizeof.c: Likewise.
35229         * sunrpc/xdr_stdio.c: Likewise.
35231 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35233         [BZ #12650]
35234         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35235         * sysdeps/ia64/dl-tls.h: Likewise.
35236         * sysdeps/powerpc/dl-tls.h: Likewise.
35237         * sysdeps/s390/dl-tls.h: Likewise.
35238         * sysdeps/sh/dl-tls.h: Likewise.
35239         * sysdeps/sparc/dl-tls.h: Likewise.
35240         * sysdeps/x86_64/dl-tls.h: Likewise.
35241         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35243 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35245         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35246         rpath element also skip the following colon.
35247         (expand_dynamic_string_token): Add is_path parameter and pass
35248         down to DL_DST_REQUIRED and _dl_dst_substitute.
35249         (decompose_rpath): Call expand_dynamic_string_token with
35250         non-zero is_path.  Ignore empty rpaths.
35251         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35252         with zero is_path.
35254 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35257         Make cancelable.
35259 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35261         [BZ #12655]
35262         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35263         Patch by Filipe David Manana <fdmanana@apache.org>.
35265 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35267         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35268         Maintain aligned stack.
35269         (CHECK_RSP): Remove unused macro.
35271 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35273         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35274         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35276 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35278         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35280         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35282 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35284         [BZ #12518]
35285         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35286         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35287         * sysdeps/x86_64/memmove.c: New file.
35288         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35289         (memcpy): Renamed to ...
35290         (__new_memcpy): This.
35291         (memcpy): Provide GLIBC_2_14 memcpy.
35292         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35293         (memcpy): Provide GLIBC_2_2_5 memcpy.
35295 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35297         [BZ #12631]
35298         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35300 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35302         * misc/syncfs.c: New file.
35303         * misc/Makefile (routines): Add syncfs.
35304         * posix/unistd.h: Declare syncfs.
35305         * sysdeps/unix/syscalls.list: Add syncfs.
35307 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35309         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35310         open_by_handle_at.
35311         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35312         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35314         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35316         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35319 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35323         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35325         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35329         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35330         sync_file_range.c with -fexceptions.
35331         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35332         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35333         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35334         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35335         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35336         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35337         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35338         sync_file_range as cancellation point
35339         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35340         now a wrapper around __call_sync_file_range with cancellation handling.
35341         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35342         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35343         function name to __call_sync_file_range.
35344         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35345         Add call_sync_file_range.
35347 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35350         bits/timex.h.
35352 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35354         * iconv/iconv.h: Fix typo in comment.
35355         * io/fcntl.h: Likewise.
35356         * libio/stdio.h: Likewise.
35357         * posix/spawn.h: Likewise.
35358         * posix/unistd.h: Likewise.
35359         * stdlib/stdlib.h: Likewise.
35360         * time/time.h: Likewise.
35361         * wcsmbs/wchar.h: Likewise.
35363         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35364         open_by_handle): Add.
35365         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35366         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35367         Augment a few comments.
35368         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35370         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35372         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35373         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35374         open_by_handle.
35376         * io/fcntl.h (AT_EMPTY_PATH): Define.
35378 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35380         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35381         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35382         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35383         to...
35384         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35385         * Versions.def: Add GLIBC_2.14.
35386         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35387         Export.
35389 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35391         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35392         round counter.
35393         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35395 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35397         [BZ #12597]
35398         * string/test-strncmp.c (do_page_test): New function.
35399         (check2): Likewise.
35400         (test_main): Call check2.
35401         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35403 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35405         [BZ #12587]
35406         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35407         Handle cache information in CPU leaf 4.
35408         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35410 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35412         [BZ #12583]
35413         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35414         character representation.
35415         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35417 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35419         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35420         END(__isnan) to END(__isnanf) to match function entry point/label
35421         EALIGN(__isnanf,...).
35423 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35425         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35427 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35429         [BZ #12510]
35430         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35431         copy from the symbol referenced in the relocation to initialize the
35432         used variable.
35433         Patch by Piotr Bury <pbury@goahead.com>.
35434         * elf/Makefile: Add rules to build and tst-unique3.
35435         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35436         * elf/tst-unique3.cc: New file.
35437         * elf/tst-unique3.h: New file.
35438         * elf/tst-unique3lib.cc: New file.
35439         * elf/tst-unique3lib2.cc: New file.
35441         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35443 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35445         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35446         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35447         to _start.
35449 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35451         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35452         to-be-loaded object along a path to loader is ld.so.
35454 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35455             Ulrich Drepper  <drepper@gmail.com>
35457         * sysdeps/x86_64/memset.S: After aligning destination, code
35458         branches to different locations depending on the value of
35459         misalignment, when multiarch is enabled. Fix this.
35461 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35463         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35464         Set _x86_64_preferred_memory_instruction for AMD processsors.
35465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35466         Set bit_Prefer_SSE_for_memop for AMD processors.
35468 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35470         * libio/fmemopen.c (fmemopen): Optimize a bit.
35472 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35474         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35476 2011-03-03  Roland McGrath  <roland@redhat.com>
35478         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35480 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35482         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35483         __bzero_ultra1 instead of __memset_ultra1.
35485 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35486             Ulrich Drepper  <drepper@gmail.com>
35488         [BZ #12509]
35489         * include/link.h (struct link_map): Add l_orig_initfini.
35490         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35491         returning unsuccessfully.
35492         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35493         close of a file loaded at startup, restore the original l_initfini
35494         list.
35495         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35496         list, store the pointer.
35497         * elf/Makefile ($(objpfx)noload-mem): New rule.
35498         (noload-ENV): Define.
35499         (tests): Add $(objpfx)noload-mem.
35500         * elf/noload.c: Include <memcheck.h>.
35501         (main): Call mtrace.  Close all opened handles.
35503 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35505         [BZ #12454]
35506         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35507         dependencies are missing.
35509 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35511         Fix __if_freereq crash: Unlike the generic version which uses free,
35512         Hurd needs munmap.
35513         * sysdeps/mach/hurd/ifreq.h: New file.
35515 2011-01-27  Petr Baudis  <pasky@suse.cz>
35516             Ulrich Drepper  <drepper@gmail.com>
35518         [BZ 12445]#
35519         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35520         to extend_alloca().
35521         * stdio-common/bug23.c: New file.
35522         * stdio-common/Makefile (tests): Add bug23.
35524 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35525             Ulrich Drepper  <drepper@gmail.com>
35527         [BZ #12489]
35528         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35529         before performing relro protection.  At old place add assertion
35530         to make sure nothing changed.
35532 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35533             Glauber de Oliveira Costa  <glommer@gmail.com>
35535         * elf/elf.h: Add new ARM TLS relocs.
35537 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35540         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35541         cast from r3.
35542         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35543         'tests' variable.
35544         * sysdeps/wordsize-64/tst-writev.c: New file.
35546 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35548         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35549         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35550         insns in _dl_start to prevent a TOC reference before relocs are
35551         resolved.
35553 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35555         [BZ #12469]
35556         * Makeconfig: Remove RANLIB definition.
35557         * Makerules: Don't use RANLIB.
35558         * aclocal.m4: Remove ranlib test.
35559         * configure.in: No need to check for ranlib.
35560         * elf/rtld-Rules: Don't use RANLIB.
35562 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35564         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35565         protection macro.
35566         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35567         inclusion protection macro.
35569         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35570         SIGRTMIN and SIGRTMAX and print information in that case only when
35571         SIGRTMIN is defined.
35573 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35575         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35576         arginfo fn returning -1.
35578         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35579         and thousands string is zero terminated.
35581 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35584         sysdeps/unix/sysv/linux/bits/socket.h.
35586 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35588         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35589         (__CPU_COUNT): Remove old macros.
35590         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35591         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35592         (__CPU_ALLOC, __CPU_FREE): Add macros.
35593         (__sched_cpualloc, __sched_cpufree): Add declarations.
35595 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35597         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35598         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35599         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35600         (readdhstai): Return value of addhstaiX call.
35601         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35602         (addgrbyX): Return value returned by cache_addgr.
35603         (readdgrbyname): Return value returned by addgrbyX.
35604         (readdgrbygid): Likewise.
35605         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35606         (addpwbyX): Return value returned by cache_addpw.
35607         (readdpwbyname): Return value returned by addhstbyX.
35608         (readdpwbyuid): Likewise.
35609         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35610         (addservbyX): Return value returned by cache_addserv.
35611         (readdservbyname): Return value returned by addservbyX:
35612         (readdservbyport): Likewise.
35613         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35614         (addhstbyX): Return value returned by cache_addhst.
35615         (readdhstbyname): Return value returned by addhstbyX.
35616         (readdhstbyaddr): Likewise.
35617         (readdhstbynamev6): Likewise.
35618         (readdhstbyaddrv6): Likewise.
35619         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35620         (readdinitgroups): Return value returned by addinitgroupsX.
35621         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35622         (prune_cache): Keep track of timeout value of re-added entries.
35623         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35624         * nscd/nscd.h: Adjust prototypes of readd* functions.
35626 2011-02-04  Roland McGrath  <roland@redhat.com>
35628         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35629         (nis_stats): Likewise.
35630         * nis/nis_modify.c (nis_modify): Likewise.
35631         * nis/nis_remove.c (nis_remove): Likewise.
35632         * nis/nis_add.c (nis_add): Likewise.
35634         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35636         * posix/fnmatch_loop.c: Add some consts.
35638         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35640 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35642         [BZ #12460]
35643         * config.make.in (config-cflags-novzeroupper): Define.
35644         * configure.in: Substitute libc_cv_cc_novzeroupper.
35645         * elf/Makefile (AVX-CFLAGS): Define.
35646         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35647         (CFLAGS-tst-auditmod4a.c): Likewise.
35648         (CFLAGS-tst-auditmod4b.c): Likewise.
35649         (CFLAGS-tst-auditmod6b.c): Likewise.
35650         (CFLAGS-tst-auditmod6c.c): Likewise.
35651         (CFLAGS-tst-auditmod7b.c): Likewise.
35652         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35654 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35656         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35657         function to the callback.
35658         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35660 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35662         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35663         of errno.
35665 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35667         [BZ #11724]
35668         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35669         of constructors.
35670         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35671         of destructors.
35672         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35674         [BZ #11724]
35675         * elf/Makefile: Add rules to build and run new test.
35676         * elf/tst-initorder.c: New file.
35677         * elf/tst-initorder.exp: New file.
35678         * elf/tst-initordera1.c: New file.
35679         * elf/tst-initordera2.c: New file.
35680         * elf/tst-initordera3.c: New file.
35681         * elf/tst-initordera4.c: New file.
35682         * elf/tst-initorderb1.c: New file.
35683         * elf/tst-initorderb2.c: New file.
35684         * elf/tst-order-a1.c: New file.
35685         * elf/tst-order-a2.c: New file.
35686         * elf/tst-order-a3.c: New file.
35687         * elf/tst-order-a4.c: New file.
35688         * elf/tst-order-b1.c: New file.
35689         * elf/tst-order-b2.c: New file.
35690         * elf/tst-order-main.c: New file.
35691         New test case by George Gensure <werkt0@gmail.com>.
35693 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35696         decoding ACE if AI_CANONIDN.
35698 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35700         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35702 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35704         * version.h (RELEASE): Bump for 2.13 release.
35705         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35707         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35709         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35710         MADV_NOHUGEPAGE.
35711         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35712         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35713         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35714         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35715         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35718         * posix/getconf.c: Update copyright year.
35719         * catgets/gencat.c: Likewise.
35720         * csu/version.c: Likewise.
35721         * debug/catchsegv.sh: Likewise.
35722         * debug/xtrace.sh: Likewise.
35723         * elf/ldconfig.c: Likewise.
35724         * elf/ldd.bash.in: Likewise.
35725         * elf/sprof.c (print_version): Likewise.
35726         * iconv/iconv_prog.c: Likewise.
35727         * iconv/iconvconfig.c: Likewise.
35728         * locale/programs/locale.c: Likewise.
35729         * locale/programs/localedef.c: Likewise.
35730         * malloc/memusage.sh: Likewise.
35731         * malloc/mtrace.pl: Likewise.
35732         * nscd/nscd.c (print_version): Likewise.
35733         * nss/getent.c: Likewise.
35735         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35736         PF_CAIF, and PF_ALG.
35737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35739 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35741         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35742         (modules-names): Use them.
35743         (ifunc-test-modules, ifunc-pie-tests): Define.
35744         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35745         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35746         (test-extras): Likewise.
35747         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35748         $(compile-command.c).
35749         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35750         (all-built-dso): Define.
35751         (check-textrel.out, check-execstack.out): Depend on it.
35753         * configure.in: Don't override --enable-multi-arch.
35755 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35757         [BZ #6812]
35758         * nscd/hstcache.c (tryagain): Define.
35759         (cache_addhst): Return tryagain not notfound for temporary errors.
35760         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35761         failed.
35763 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35765         [BZ #10563]
35766         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35767         to make the syscall.
35768         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35770         [BZ #12378]
35771         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35772         and fall back to matching as normal character if the string ends before
35773         the matching ']' is found.  This is what POSIX requires.
35774         * posix/testfnm.c: Adjust test result.
35775         * posix/globtest.sh: Adjust test result.  Add new test.
35776         * posix/tst-fnmatch.input: Likewise.
35777         * posix/tst-fnmatch2.c: Add new test.
35779 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35781         * elf/Makefile (check-execstack): Revert last change.  Depend on
35782         check-execstack.h.
35783         (check-execstack.h): New target.
35784         (generated): Add check-execstack.h.
35785         * elf/check-execstack.c: Include "check-execstack.h".
35786         (main): Revert last change.
35787         (handle_file): Return zero if GNU_STACK is absent and
35788         DEFAULT_STACK_PERMS doesn't include PF_X.
35790 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35792         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35793         in child fails because the descriptor is already closed.
35794         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35795         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35796         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35798         [BZ #12397]
35799         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35800         syscall.
35802         [BZ #10484]
35803         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35804         temporary buffer used to handle multi lookups locally.
35805         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35807 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35809         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35810         loader is ld.so.
35812 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35814         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35815         alignment for SSE2.
35817 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35819         [BZ #12394]
35820         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35821         characters.  When rounding increased number of integer digits recompute
35822         number of groups.
35823         * stdio-common/tst-grouping.c: New file.
35824         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35826 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35828         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35829         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35831         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35832         void.
35833         * bits/select.h: Likewise.
35835 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35837         * po/ja.po: Update from translation team.
35839 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35841         [BZ #11155]
35842         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35843         implementation just like for lxstat, fxstatat, et al.
35845 2010-12-27  Jim Meyering  <meyering@redhat.com>
35847         [BZ #12348]
35848         * posix/regexec.c (build_trtable): Return failure indication upon
35849         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35851 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35853         [BZ #12201]
35854         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35855         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35856         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35857         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35859         [BZ #12207]
35860         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35862         [BZ #12204]
35863         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35864         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35866 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35868         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35869         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35870         script has SORT_BY_INIT_PRIORITY.
35871         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35872         NO_CTORS_DTORS_SECTIONS is defined.
35873         * elf/soinit.c: Likewise.
35874         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35875         NO_CTORS_DTORS_SECTIONS is defined.
35876         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35877         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35878         * sysdeps/sh/init-first.c: Likewise.
35879         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35881 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35883         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35884         always use the slow path.
35886 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35888         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35889         similar rule which adds the sysdep directories to the header search in
35890         order to pick up the correct platform stackinfo.h.
35891         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35892         perform test if it is, otherwise return successfully without testing.
35893         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35894         DEFAULT_STACK_PERMS define in stackinfo.h.
35895         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35896         defined in stackinfo.h.
35897         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35898         DEFAULT_STACK_PERMS defined in stackinfo.h.
35899         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35900         * sysdeps/ia64/stackinfo.h: Likewise.
35901         * sysdeps/s390/stackinfo.h: Likewise.
35902         * sysdeps/sh/stackinfo.h: Likewise.
35903         * sysdeps/sparc/stackinfo.h: Likewise.
35904         * sysdeps/x86_64/stackinfo.h: Likewise.
35905         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35906         PF_X for powerpc64.  Retain PF_X for powerpc32.
35908 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35910         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35911         accurately.
35912         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35913         GETDENTS_64BIT_ALIGNED.
35915 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35917         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35919 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35921         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35922         _GNU_SOURCE.
35924         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35925         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35926         Remove __restrict.
35927         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35928         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35930 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35932         [BZ #11655]
35933         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35934         are initialized.
35936 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35938         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35940 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35942         * po/it.po: Update from translation team.
35944 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35947         unused codes.
35949 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35951         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35953 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35955         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35956         specially.
35957         (gaih_getanswer_slice): Likewise.
35959 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35963 2010-05-31  Petr Baudis  <pasky@suse.cz>
35965         [BZ #11149]
35966         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35967         silently even in the chroot mode.
35969 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35971         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35972         last patch a bit.  Pretty printing
35974 2010-05-31  Petr Baudis <pasky@suse.cz>
35976         [BZ #10085]
35977         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35978         initialization of skip_initgroups_dyn.
35980 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35982         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35983         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35985 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35987         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35989 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35991         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35992         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35993         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35994         ($(objpfx)tst-fnmatch-mem): New rule.
35995         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35996         * posix/tst-fnmatch.c (main): Call mtrace.
35998 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36001         Support Intel processor model 6 and model 0x2c.
36003 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36005         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36006           signed comparison.
36008 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36010         [BZ #12205]
36011         * string/test-strncasecmp.c (check_result): New function.
36012         (do_one_test): Use it.
36013         (check1): New function.
36014         (test_main): Use it.
36015         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36016         Support strcasecmp and strncasecmp.
36018 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36020         [BZ #12194]
36021         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36022         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36024 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36026         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36027         IFUNC support.
36028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36029         memset-x86-64.
36030         * sysdeps/x86_64/multiarch/bzero.S: New file.
36031         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36032         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36033         * sysdeps/x86_64/multiarch/memset.S: New file.
36034         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36036         Set bit_Prefer_SSE_for_memop for Intel processors.
36037         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36038         Define.
36039         (index_Prefer_SSE_for_memop): Define.
36040         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36042 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36044         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36045         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36047 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36049         [BZ #12191]
36050         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36051         (__x86_64_raw_data_cache_size_half): Likewise.
36052         (__x86_64_raw_shared_cache_size): Likewise.
36053         (__x86_64_raw_shared_cache_size_half): Likewise.
36055         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36056         (__x86_64_raw_data_cache_size_half): Likewise.
36057         (__x86_64_raw_shared_cache_size): Likewise.
36058         (__x86_64_raw_shared_cache_size_half): Likewise.
36059         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36060         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36061         and __x86_64_raw_shared_cache_size_half.  Round
36062         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36063         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36064         to multiple of 256 bytes.
36066 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36068         [BZ #12167]
36069         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36070         of inacessible symlinks.  Verify result of symlink before returning it.
36071         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36072         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36074 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36076         * math/math.h (isinf): Fix typo in comment.
36078 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36080         * po/da.po: Update from translation team.
36082 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36084         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36085         is added to the list.
36087 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36088             Ulrich Drepper  <drepper@gmail.com>
36090         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36091         the global list here.  Move code to...
36092         (_dl_add_to_namespace_list): ...here.  New function.
36093         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36094         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36095         * elf/dl-load.c (lose): Don't remove the element from the list.
36096         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36097         (_dl_map_object): Likewise.
36099 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36101         [BZ #12159]
36102         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36103         into all bytes of SSE register.
36104         Patch by Richard Li <richardpku@gmail.com>.
36106 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36108         [BZ #12140]
36109         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36110         perturbing.
36112 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36114         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36115         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36116         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36117         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36119         submachine.
36120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36122 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36124         * include/dlfcn.h (__RTLD_SECURE): Define.
36125         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36126         mode & __RTLD_SECURE instead.
36127         (open_path): Rename preloaded parameter to secure.
36128         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36129         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36130         * elf/dl-deps.c (openaux): Likewise.
36131         * elf/rtld.c (struct map_args): Remove is_preloaded.
36132         (map_doit): Don't use it.
36133         (dl_main): Likewise.
36134         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36135         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36137 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36139         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36140         (sysd-rules-targets): Remove duplicates.
36141         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36142         rtld-%.$o dependency.
36144 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36146         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36147         _dl_map_object do it.
36149 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36151         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36152         fast fma builtins, define the macros in the C99 standard.
36153         (FP_FAST_FMAF): Likewise.
36154         (FP_FAST_FMAL): Likewise.
36155         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36157         * bits/mathdef.h: Update copyright year.
36158         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36160 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36162         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36163         builtins, define the macros in the C99 standard.
36164         (FP_FAST_FMAF): Likewise.
36165         (FP_FAST_FMAL): Likewise.
36166         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36167         multiply/add.
36168         (FP_FAST_FMAF): Likewise.
36170 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36172         [BZ #3268]
36173         * math/libm-test.inc (fma_test): Some new testcases.
36174         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36175         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36176         y and infinite z.  Do multiplication by C already in long double.
36177         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36179         y and infinite z.  Do bitwise or of inexact bit into u.d.
36180         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36181         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36182         * sysdeps/i386/fpu/s_fma.S: Removed.
36183         * sysdeps/i386/fpu/s_fmal.S: Removed.
36185 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36187         [BZ #3268]
36188         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36190         computation is not scheduled after fetestexcept.  Fix value
36191         of minimum denormal long double.
36193 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36195         [BZ #3268]
36196         * math/libm-test.inc (fma_test): Add some more tests.
36197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36198         correctly.
36200 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36202         * scripts/data/localplt-s390-linux-gnu.data: New file.
36203         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36205 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36207         [BZ #3268]
36208         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36209         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36210         instead of dbl-64.
36211         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36212         inlines.
36213         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36215         if one of x and y is very large and the other is subnormal.
36216         * sysdeps/s390/fpu/s_fmaf.c: New file.
36217         * sysdeps/s390/fpu/s_fma.c: New file.
36218         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36219         * sysdeps/powerpc/fpu/s_fma.S: New file.
36220         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36221         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36222         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36224 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36226         [BZ #3268]
36227         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36228         fma tests.
36229         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36230         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36231         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36232         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36233         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36234         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36235         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36237 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36239         [BZ #12078]
36240         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36241         * posix/bug-regex31.input: Add test case.
36243 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36245         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36246         * posix/bug-regex31.input: New file.
36248         [BZ #12078]
36249         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36250         (parse_sub_exp): Fix last change, use postorder.
36252         * posix/bug-regex31.c: New file.
36253         * posix/Makefile: Add rules to build and run bug-regex31.
36255         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36257         [BZ #12078]
36258         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36260         [BZ #12108]
36261         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36262         to have entries in sys_siglist.
36264         [BZ #12093]
36265         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36266         be NULL.
36268 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36270         [BZ #3268]
36271         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36272         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36273         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36274         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36275         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36276         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36277         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36278         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36279         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36280         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36281         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36282         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36283         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36284         * math/ftestexcept.c (fetestexcept): Likewise.
36285         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36286         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36287         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36288         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36289         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36290         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36291         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36293 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36295         [BZ #12107]
36296         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36297         newline.
36299 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36301         * string/bug-strstr1.c: New file.
36302         * string/Makefile: Add rules to build and run bug-strstr1.
36304 2010-10-05  Eric Blake  <eblake@redhat.com>
36306         [BZ #12092]
36307         * string/str-two-way.h (two_way_long_needle): Always clear memory
36308         when skipping input due to the shift table.
36310 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36312         [BZ #12005]
36313         * malloc/mcheck.c: Handle large requests.
36315         [BZ #12077]
36316         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36317         for strncmp and strncasecmp.
36318         * string/stratcliff.c: Add tests for strcmp and strncmp.
36319         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36321 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36323         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36324         __set_fpscr.
36326 2010-09-30  Andreas Jaeger  <aj@suse.de>
36328         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36329         (CGROUP_SUPER_MAGIC): Define.
36330         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36331         Handle btrfs and cgroup file systems.
36332         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36333         Likewise.
36335 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36337         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36338         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36340 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36342         [BZ #12067]
36343         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36344         trying to locate the ELF header.
36346 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36348         [BZ #11611]
36349         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36350         Mask out sign-bit copies when constructing f_fsid.
36352 2010-09-24  Petr Baudis <pasky@suse.cz>
36354         * debug/stack_chk_fail_local.c: Add missing licence exception.
36355         * debug/warning-nop.c: Likewise.
36357 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36359         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36360         implementing getdents64 using getdents syscall, set d_type if
36361         __ASSUME_GETDENTS32_D_TYPE.
36363 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36365         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36366         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36368 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36370         [BZ #12037]
36371         * posix/unistd.h: Undo change of feature selection for ftruncate from
36372         2010-01-11.
36374 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36376         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36377         detection.
36379 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36381         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36382         fanotify_mark.
36383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36385 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36387         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36388         variables after CHECK_SP call.
36389         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36391 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36392             Ulrich Drepper  <drepper@redhat.com>
36394         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36395         re-relocationg ld.so.
36396         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36397         _dl_init_paths call.
36398         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36399         here anymore.
36401 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36403         * resolv/res_init.c (__res_vinit): Count the default server we added.
36405 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36406             Ulrich Drepper  <drepper@redhat.com>
36408         [BZ #11968]
36409         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36410         (____longjmp_chk): Use %ebx for saving value across system call.
36411         Add unwind info.
36413 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36415         * manual/Makefile: Don't mix pattern rules with normal rules.
36417 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36419         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36420         operation.
36421         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36422         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36423         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36424         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36425         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36426         Likewise.
36428 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36430         [BZ #11979]
36431         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36432         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36434 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36436         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36437         * sysdeps/x86_64/addmul_1.S: Likewise.
36438         * sysdeps/x86_64/lshift.S: Likewise.
36439         * sysdeps/x86_64/mul_1.S: Likewise.
36440         * sysdeps/x86_64/rshift.S: Likewise.
36441         * sysdeps/x86_64/sub_n.S: Likewise.
36442         * sysdeps/x86_64/submul_1.S: Likewise.
36444 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36446         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36447         Define __sched_param instead of SCHED_* and sched_param when
36448         <bits/sched.h> is included with __need_schedparam defined.
36449         * bits/sched.h [__need_schedparam]
36450         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36451         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36452         (__defined_schedparam): Define to 1.
36453         (__sched_param): New structure, identical to sched_param.
36454         (__need_schedparam): Undefine.
36456 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36458         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36459         (epoll_create1): Declare.
36461         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36463 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36465         [BZ #7066]
36466         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36467         shifting retval into place.
36469 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36471         * nis/rpcsvc/nis.h: Update copyright notice.
36472         * nis/rpcsvc/nis.x: Likewise.
36473         * nis/rpcsvc/nis_callback.h: Likewise.
36474         * nis/rpcsvc/nis_callback.x: Likewise.
36475         * nis/rpcsvc/nis_object.x: Likewise.
36476         * nis/rpcsvc/nis_tags.h: Likewise.
36477         * nis/rpcsvc/yp.h: Likewise.
36478         * nis/rpcsvc/yp.x: Likewise.
36479         * nis/rpcsvc/ypupd.h: Likewise.
36480         * nis/yp_xdr.c: Likewise.
36481         * nis/ypupdate_xdr.c: Likewise.
36483         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36484         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36485         (pmap_getport): Use __libc_rpc_getport.
36486         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36487         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36488         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36490 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36493         fanotify_mark.
36495 2010-08-27  Roland McGrath  <roland@redhat.com>
36497         * sysdeps/i386/i686/multiarch/Makefile
36498         (CFLAGS-varshift.c): New variable.
36500 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36502         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36503         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36505         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36507         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36509 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36511         * sysdeps/x86_64/strlen.S: Unroll the loop.
36512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36513         strlen-sse2 strlen-sse2-bsf.
36514         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36515         __strlen_no_bsf if bit_Slow_BSF is set.
36516         (__strlen_sse42): Removed.
36517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36518         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36520 2010-08-25  Roland McGrath  <roland@redhat.com>
36522         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36523         * sysdeps/x86_64/multiarch/varshift.c: New file.
36524         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36525         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36526         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36527         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36529 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36532         strlen-sse2 strlen-sse2-bsf.
36533         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36534         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36535         (__strlen_sse2): Removed.
36536         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36537         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36539         bit_Slow_BSF for Atom.
36540         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36541         (index_Slow_BSF): Define.
36542         (HAS_SLOW_BSF): Define.
36544 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36546         [BZ #10851]
36547         * resolv/res_init.c (__res_vinit): When no server address at all
36548         is given default to loopback.
36550 2010-08-24  Roland McGrath  <roland@redhat.com>
36552         * configure.in: Remove config-name.h generation.
36553         * configure: Regenerated.
36554         * config-name.in: File removed.
36555         * scripts/config-uname.sh: New file.
36556         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36557         ($(objdir)config-name.h): New target.
36559         * sunrpc/rpc_parse.h: Avoid nested comment.
36561 2010-08-24  Richard Henderson  <rth@redhat.com>
36562             Ulrich Drepper  <drepper@redhat.com>
36563             H.J. Lu  <hongjiu.lu@intel.com>
36565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36567         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36568         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36569         _mm_alignr_epi8 with _mm_loadu_si128.
36570         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36571         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36572         (__m128i_shift_right): Removed.
36573         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36574         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36575         * sysdeps/x86_64/multiarch/varshift.h: New file.
36576         * sysdeps/x86_64/multiarch/varshift.S: New file.
36578 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36580         * configure.in: Move assembler checks to before sysdep dir checking.
36582 2010-08-20  Petr Baudis  <pasky@suse.cz>
36584         * LICENSES: Sync the sunrpc license.
36586 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36588         * sunrpc/auth_des.c: Update copyright notice once again.
36589         * sunrpc/auth_none.c: Likewise.
36590         * sunrpc/auth_unix.c: Likewise.
36591         * sunrpc/authdes_prot.c: Likewise.
36592         * sunrpc/authuxprot.c: Likewise.
36593         * sunrpc/bindrsvprt.c: Likewise.
36594         * sunrpc/clnt_gen.c: Likewise.
36595         * sunrpc/clnt_perr.c: Likewise.
36596         * sunrpc/clnt_raw.c: Likewise.
36597         * sunrpc/clnt_simp.c: Likewise.
36598         * sunrpc/clnt_tcp.c: Likewise.
36599         * sunrpc/clnt_udp.c: Likewise.
36600         * sunrpc/clnt_unix.c: Likewise.
36601         * sunrpc/des_crypt.c: Likewise.
36602         * sunrpc/des_soft.c: Likewise.
36603         * sunrpc/get_myaddr.c: Likewise.
36604         * sunrpc/getrpcport.c: Likewise.
36605         * sunrpc/key_call.c: Likewise.
36606         * sunrpc/key_prot.c: Likewise.
36607         * sunrpc/openchild.c: Likewise.
36608         * sunrpc/pm_getmaps.c: Likewise.
36609         * sunrpc/pm_getport.c: Likewise.
36610         * sunrpc/pmap_clnt.c: Likewise.
36611         * sunrpc/pmap_prot.c: Likewise.
36612         * sunrpc/pmap_prot2.c: Likewise.
36613         * sunrpc/pmap_rmt.c: Likewise.
36614         * sunrpc/rpc/auth.h: Likewise.
36615         * sunrpc/rpc/auth_unix.h: Likewise.
36616         * sunrpc/rpc/clnt.h: Likewise.
36617         * sunrpc/rpc/des_crypt.h: Likewise.
36618         * sunrpc/rpc/key_prot.h: Likewise.
36619         * sunrpc/rpc/netdb.h: Likewise.
36620         * sunrpc/rpc/pmap_clnt.h: Likewise.
36621         * sunrpc/rpc/pmap_prot.h: Likewise.
36622         * sunrpc/rpc/pmap_rmt.h: Likewise.
36623         * sunrpc/rpc/rpc.h: Likewise.
36624         * sunrpc/rpc/rpc_des.h: Likewise.
36625         * sunrpc/rpc/rpc_msg.h: Likewise.
36626         * sunrpc/rpc/svc.h: Likewise.
36627         * sunrpc/rpc/svc_auth.h: Likewise.
36628         * sunrpc/rpc/types.h: Likewise.
36629         * sunrpc/rpc/xdr.h: Likewise.
36630         * sunrpc/rpc_clntout.c: Likewise.
36631         * sunrpc/rpc_cmsg.c: Likewise.
36632         * sunrpc/rpc_common.c: Likewise.
36633         * sunrpc/rpc_cout.c: Likewise.
36634         * sunrpc/rpc_dtable.c: Likewise.
36635         * sunrpc/rpc_hout.c: Likewise.
36636         * sunrpc/rpc_main.c: Likewise.
36637         * sunrpc/rpc_parse.c: Likewise.
36638         * sunrpc/rpc_parse.h: Likewise.
36639         * sunrpc/rpc_prot.c: Likewise.
36640         * sunrpc/rpc_sample.c: Likewise.
36641         * sunrpc/rpc_scan.c: Likewise.
36642         * sunrpc/rpc_scan.h: Likewise.
36643         * sunrpc/rpc_svcout.c: Likewise.
36644         * sunrpc/rpc_tblout.c: Likewise.
36645         * sunrpc/rpc_util.c: Likewise.
36646         * sunrpc/rpc_util.h: Likewise.
36647         * sunrpc/rpcinfo.c: Likewise.
36648         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36649         * sunrpc/rpcsvc/key_prot.x: Likewise.
36650         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36651         * sunrpc/rpcsvc/mount.x: Likewise.
36652         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36653         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36654         * sunrpc/rpcsvc/rex.x: Likewise.
36655         * sunrpc/rpcsvc/rstat.x: Likewise.
36656         * sunrpc/rpcsvc/rusers.x: Likewise.
36657         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36658         * sunrpc/rpcsvc/spray.x: Likewise.
36659         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36660         * sunrpc/rtime.c: Likewise.
36661         * sunrpc/svc.c: Likewise.
36662         * sunrpc/svc_auth.c: Likewise.
36663         * sunrpc/svc_authux.c: Likewise.
36664         * sunrpc/svc_raw.c: Likewise.
36665         * sunrpc/svc_run.c: Likewise.
36666         * sunrpc/svc_simple.c: Likewise.
36667         * sunrpc/svc_tcp.c: Likewise.
36668         * sunrpc/svc_udp.c: Likewise.
36669         * sunrpc/svc_unix.c: Likewise.
36670         * sunrpc/svcauth_des.c: Likewise.
36671         * sunrpc/xcrypt.c: Likewise.
36672         * sunrpc/xdr.c: Likewise.
36673         * sunrpc/xdr_array.c: Likewise.
36674         * sunrpc/xdr_float.c: Likewise.
36675         * sunrpc/xdr_mem.c: Likewise.
36676         * sunrpc/xdr_rec.c: Likewise.
36677         * sunrpc/xdr_ref.c: Likewise.
36678         * sunrpc/xdr_sizeof.c: Likewise.
36679         * sunrpc/xdr_stdio.c: Likewise.
36681         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36682         handling.
36684 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36686         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36688 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36690         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36691         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36692         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36693         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36694         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36695         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36696         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36697         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36698         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36699         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36700         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36701         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36702         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36703         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36705 2010-07-26  Anton Blanchard  <anton@samba.org>
36707         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36708         * malloc/arena.c (heap_trim): Likewise.
36710 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36712         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36713         here.  Not...
36714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36715         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36717 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36719         * sysdeps/i386/elf/Makefile: New file.
36721 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36723         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36724         from fanotify_init.
36725         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36728 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36730         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36731         of strncasecmp_l.
36732         * sysdeps/multiarch/strcmp.S: Likewise.
36734 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36736         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36737         strncase_l-nonascii.
36738         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36739         Add strncase_l-ssse3.
36740         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36741         * sysdeps/x86_64/strcmp.S: Likewise.
36742         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36743         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36744         * sysdeps/x86_64/strncase.S: New file.
36745         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36746         * sysdeps/x86_64/strncase_l.S: New file.
36747         * string/Makefile (strop-tests): Add strncasecmp.
36748         * string/test-strncasecmp.c: New file.
36750         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36751         warning.
36753         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36754         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36756 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36758         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36760 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36762         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36764         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36766 2010-05-01  Alan Modra  <amodra@gmail.com>
36768         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36769         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36770         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36771         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36772         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36773         tidying.  Don't tail-call __sigjmp_save for static lib.
36774         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36775         save location.
36776         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36777         (CALL_MCOUNT): Add eh info, and nop after bl.
36778         (TAIL_CALL_SYSCALL_ERROR): New macro.
36779         (PSEUDO_RET): Use it.
36780         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36781         Correct save location of integer regs and cr.
36782         (_dl_profile_resolve): Correct cr save location.  Delete nops
36783         after bl when SHARED.  Reduce cfi size a little by better
36784         placement of cfi directives.
36785         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36786         make a stack frame.  Instead use parm save area as a temp.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36788         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36790         Don't make a stack frame for parent, use parm save area.
36791         Increase child stack frame to 112 bytes.  Don't save unused reg,
36792         and adjust reg usage.  Set up cfi on error recovery and
36793         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36795         (__makecontext): Add dummy nop after jump to exit.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36797         Use correct parm save area and cr save, reduce stack frame.
36798         Correct cfi for possible PSEUDO_RET frame setup.
36799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36800         Branch to local label emitted by PSEUDO_RET rather than
36801         __syscall_error.
36803 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36805         [BZ #11904]
36806         * locale/programs/locale.c (print_assignment): New function.
36807         (show_locale_vars): Use it.
36809 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36811         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36812         field.
36813         (struct statfs64): Likewise.
36814         (_STATFS_F_FLAGS): Define.
36815         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36816         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36817         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36818         (ST_VALID): Define locally.
36819         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36820         __statvfs_getflags, use the provided value.
36821         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36822         __ASSUME_STATFS_F_FLAGS.
36824         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36826         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36827         Add sys/fanotify.h.
36828         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36829         fanotify_mask for GLIBC_2.13.
36830         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36831         fanotify_init and fanotify_mark.
36832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36833         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36835         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36836         Add prlimit.
36837         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36838         prlimit64 for GLIBC_2.13.
36839         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36840         prlimit64.
36841         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36842         syscall.
36843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36845         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36846         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36847         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36848         add prlimit alias.
36849         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36851         [BZ #11903]
36852         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36853         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36855         * nss/Makefile: Add rules to build and run tst-nss-test1.
36856         * shlib-versions: Add entry for libnss_test1.
36857         * nss/nss_test1.c: New file.
36858         * nss/tst-nss-test1.c: New file.
36860         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36861         (__nss_configure_lookup): Set appropriate entry in
36862         __nss_configure_lookup to true.
36863         * nss/nsswitch.h: Define enum with indeces of databases in
36864         databases and __nss_database_custom arrays.  Declare
36865         __nss_database_custom.
36866         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36867         to avoid using nscd when custom rules are installed.
36868         * nss/getXXbyYY_r.c: Likewise.
36869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36871         * nss/nss_files/files-parse.c: Whitespace fixes.
36873 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36875         [BZ #11883]
36876         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36877         * posix/fnmatch_loop.c: Likewise.
36879 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36881         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36882         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36883         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36884         * Versions.def [GLIBC_2.13]: Add.
36886 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36888         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36889         Also fail if tpwd after pwuid call is NULL.
36891 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36893         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36894         when converting to ms.
36896 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36898         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36899         EOPNOTSUPP errors with ENOTTY.
36900         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36901         EOPNOTSUPP errors with ENOTTY.
36903 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36905         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36906         Add strcasecmp_l-ssse3.
36907         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36908         strcasecmp.
36909         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36910         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36911         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36913 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36915         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36917         * string/Makefile (strop-tests): Add strcasecmp.
36918         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36919         strcasecmp_l-nonascii.
36920         (gen-as-const-headers): Add locale-defines.sym.
36921         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36922         * sysdeps/x86_64/strcasecmp.S: New file.
36923         * sysdeps/x86_64/strcasecmp_l.S: New file.
36924         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36925         * sysdeps/x86_64/locale-defines.sym: New file.
36926         * string/test-strcasecmp.c: New file.
36928         * string/test-strcasestr.c: Test both ends of the range of characters.
36929         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36931 2010-07-29  Roland McGrath  <roland@redhat.com>
36933         [BZ #11856]
36934         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36936 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36938         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36939         for ld.so.
36941 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36943         * manual/memory.texi (Malloc Tunable Parameters): Document
36944         M_PERTURB.
36946 2010-07-26  Roland McGrath  <roland@redhat.com>
36948         [BZ #11840]
36949         * configure.in (-fgnu89-inline check): Set and substitute
36950         gnu89_inline, not libc_cv_gnu89_inline.
36951         * configure: Regenerated.
36952         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36954 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36956         * string/test-strnlen.c: New file.
36957         * string/Makefile (strop-tests): Add strnlen.
36958         * string/tester.c (test_strnlen): Add a few more test cases.
36959         * string/tst-strlen.c: Better error reporting.
36961         * sysdeps/x86_64/strnlen.S: New file.
36963 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36965         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36966         lower-latency instructions.
36968 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36970         * string/test-strcasestr.c: New file.
36971         * string/test-strstr.c: New file.
36972         * string/Makefile (strop-tests): Add strstr and strcasestr.
36973         * string/str-two-way.h: Don't undefine MAX.
36974         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36976 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36979         strcasestr-nonascii.
36980         (CFLAGS-strcasestr-nonascii.c): Define.
36981         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36982         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36983         Remove unused attribute.
36985 2010-07-20  Roland McGrath  <roland@redhat.com>
36987         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36988         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36989         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36990         like LD_HWCAP_MASK can disable hwcaps.
36992 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36994         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36996 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36998         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36999         call in strcasestr.
37000         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37001         __strcasestr_sse42_nonascii.
37002         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37003         strcasestr-nonascii.c.
37004         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37006 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37008         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37009         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37010         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37011         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37013 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37016         fcntl.
37018 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37020         [BZ #11577]
37021         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37022         dl_signal_cerror.
37024 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37026         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37027         _PC_PIPE_BUF using F_GETPIPE_SZ.
37029 2010-07-05  Roland McGrath  <roland@redhat.com>
37031         * manual/arith.texi (Rounding Functions): Fix rint description
37032         implicit in round description.
37034 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37036         * elf/Makefile: Fix linking for a few tests to make recent linker
37037         happy.
37039 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37041         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37042         $(common-objpfx)libc_nonshared.a.
37044 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37046         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37047         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37048         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37049         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37050         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37051         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37052         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37053         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37068         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37069         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37070         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37071         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37072         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37073         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37074         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37075         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37076         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37077         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37078         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37079         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37095 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37097         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37098         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37099         * string/memmove.c (memmove): Renamed to ...
37100         (MEMMOVE): ...this.  Default to memmove.
37101         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37102         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37103         (END_CHK): Define.
37104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37105         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37106         mempcpy-ssse3-back memmove-ssse3-back.
37107         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37109         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37110         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37111         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37112         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37113         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37114         * sysdeps/x86_64/multiarch/memmove.c: New file.
37115         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37116         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37117         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37118         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37119         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37120         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37121         Define.
37122         (index_Fast_Copy_Backward): Define.
37123         (HAS_ARCH_FEATURE): Define.
37124         (HAS_FAST_REP_STRING): Define.
37125         (HAS_FAST_COPY_BACKWARD): Define.
37127 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37129         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37130         Restore proper fallback handling.
37132 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37134         [BZ #11701]
37135         * posix/group_member.c (__group_member): Correct checking loop.
37137         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37138         OOM in getpwuid_r correctly.  Return error number when the caller
37139         should return, otherwise -1.
37140         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37141         call returning > 0 value.
37142         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37144 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37146         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37147         libc_nonshared.a from targets in modules-names.
37149 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37151         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37152         requires it.
37154 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37156         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37157         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37158         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37159         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37161 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37163         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37165 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37167         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37168         and F_GETPIPE_SZ.
37169         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37170         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37173         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37174         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37176 2010-06-14  Roland McGrath  <roland@redhat.com>
37178         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37180 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37182         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37183         __REDIRECT followed by __THROW.
37184         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37185         * posix/getopt.h (getopt): Likewise.
37187 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37189         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37190         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37191         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37192         in AT_FLAGS.
37193         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37194         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37196 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37198         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37200 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37202         [BZ #11640]
37203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37204         Properly check family and model.
37206 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37208         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37210 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37212         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37214 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37216         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37217         symbol reference.
37219 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37221         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37222         symbol reference.
37224 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37226         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37227         and internal_recvmmsg.
37228         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37229         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37230         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37231         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37233         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37234         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37235         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37237 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37239         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37241 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37243         POWER7 optimizations.
37244         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37245         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37247 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37249         * version.h: Update for 2.13 development version.
37251 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37253         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37254         exceptions.  Return 0.
37256 2010-05-07  Roland McGrath  <roland@redhat.com>
37258         * elf/ldconfig.c (main): Add a const.
37260 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37262         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37263         (args_options): Add no-idn option.
37264         (ahosts_keys_int): Add idn_flags to ai_flags.
37265         (parse_option): Handle 'i' option to clear idn_flags.
37267         * malloc/malloc.c (_int_free): Possible race in the most recently
37268         added check.  Only act on the data if no current modification
37269         happened.
37271 See ChangeLog.17 for earlier changes.